.astar-user-nav {
    display: none !important;
}

.astar-v2-field-multiselect select {
    min-height: 180px;
}

.astar-v2-filter-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.astar-v2-filter-check input {
    width: auto;
    margin: 0;
}

.astar-v2-pagination-gate {
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    border-radius: 999px;
    background: #1f3c88;
    color: #fff;
    text-decoration: none;
}

.astar-v2-pagination-gate-inline {
    margin-left: 8px;
    background: #2859a8;
}

.astar-v2-pagination-gate-soft {
    width: 100%;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    margin: 0 0 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, #143b7a 0%, #1f5fbf 100%);
    box-shadow: 0 16px 40px rgba(20, 59, 122, 0.18);
}

.astar-v2-pagination-gate-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.astar-v2-pagination-gate-copy strong {
    color: #fff;
}

.astar-v2-pagination-gate-copy span {
    color: rgba(255, 255, 255, 0.88);
}

.astar-v2-pagination-gate-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.astar-v2-pagination-gate-dismiss {
    border: 0;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    border-radius: 999px;
    padding: 10px 14px;
    cursor: pointer;
}

@media (max-width: 767px) {
    .astar-v2-pagination-gate-soft {
        flex-direction: column;
        align-items: flex-start;
    }

    .astar-v2-pagination-gate-actions {
        width: 100%;
    }
}

body.astar-v2-page {
    background: linear-gradient(180deg, #f7fafc 0%, #eff5fb 100%);
}

body.astar-v2-modal-open {
    overflow: hidden;
}

#profileTip,
.tip#profileTip,
a.astar-user-profile {
    display: none !important;
}

body.astar-v2-page .site-content {
    padding-top: 12px;
    padding-bottom: 24px;
}

body.astar-v2-page.astar-v2-auth-shell .site-content,
body.astar-v2-page.astar-v2-member-shell .site-content,
body.astar-v2-page.astar-v2-communication-shell .site-content {
    padding-bottom: 8px;
}

body.astar-v2-page .entry-header {
    display: none !important;
}

body.astar-v2-page .site-main {
    padding-top: 0 !important;
}

body.astar-v2-page.astar-v2-auth-shell .site-primary-footer-wrap,
body.astar-v2-page.astar-v2-auth-shell .footer-widget-area,
body.astar-v2-page.astar-v2-member-shell .site-primary-footer-wrap,
body.astar-v2-page.astar-v2-member-shell .footer-widget-area,
body.astar-v2-page.astar-v2-communication-shell .site-primary-footer-wrap,
body.astar-v2-page.astar-v2-communication-shell .footer-widget-area {
    display: none !important;
}

body.astar-v2-page.astar-v2-auth-shell .site-below-footer-wrap,
body.astar-v2-page.astar-v2-member-shell .site-below-footer-wrap,
body.astar-v2-page.astar-v2-communication-shell .site-below-footer-wrap {
    margin-top: 8px;
}

body.astar-v2-page.astar-v2-auth-shell.astar-v2-join-picker-page .site-primary-footer-wrap {
    display: grid !important;
}

body.astar-v2-page.astar-v2-auth-shell.astar-v2-join-picker-page .footer-widget-area {
    display: block !important;
}

.astar-v2-page.astar-v2-clean-mode .astar-v2-shell > .astar-v2-card > .astar-v2-highlight-grid {
    display: none !important;
}

.astar-v2-shell {
    max-width: 1100px;
    margin: 32px auto;
    padding: 0 20px 40px;
    color: #163049;
}

body.astar-v2-page.astar-v2-auth-shell .astar-v2-shell,
body.astar-v2-page.astar-v2-member-shell .astar-v2-shell {
    max-width: 960px;
    margin: 24px auto;
    padding-bottom: 20px;
}

body.astar-v2-page.astar-v2-communication-shell .astar-v2-shell {
    max-width: 1080px;
    margin: 24px auto;
    padding-bottom: 20px;
}

.astar-v2-shell h1,
.astar-v2-shell h2,
.astar-v2-shell p,
.astar-v2-shell li,
.astar-v2-shell span,
.astar-v2-shell strong,
.astar-v2-shell label,
.astar-v2-shell input,
.astar-v2-shell textarea,
.astar-v2-shell select,
.astar-v2-shell button {
    line-height: 1.55;
}

.astar-v2-shell h1 {
    margin: 0 0 10px;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.astar-v2-shell h2 {
    margin: 0 0 12px;
    font-size: clamp(18px, 2.6vw, 24px);
}

.astar-v2-card {
    background: #ffffff;
    border: 1px solid #d9e1ea;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(24, 54, 84, 0.08);
    padding: 28px;
}

.astar-v2-card-wide {
    padding: 36px;
}

.astar-v2-auth-card {
    max-width: 560px;
    margin: 0 auto;
}

.astar-v2-eyebrow {
    color: #1f6aa5;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.astar-v2-lead,
.astar-v2-muted {
    color: #546679;
}

.astar-v2-language-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid #d8e4ef;
    border-radius: 16px;
    background: linear-gradient(135deg, #eff8ff 0%, #f8fbfe 100%);
}

.astar-v2-language-copy strong {
    display: block;
    margin-bottom: 4px;
    color: #163049;
}

.astar-v2-language-copy span {
    display: block;
    color: #546679;
    font-size: 14px;
}

.astar-v2-language-slot {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 180px;
}

.astar-v2-language-slot .gtranslate_wrapper {
    width: 100%;
    max-width: 220px;
}

.astar-v2-nav-links {
    display: flex !important;
    align-items: center;
    margin-left: 18px;
}

.astar-v2-nav-linkset {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.astar-v2-nav-linkset .menu-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid #d7e2ec;
    border-radius: 999px;
    background: #f8fbfe;
    color: #1f5e96;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.astar-v2-nav-linkset .menu-link:hover {
    background: #edf5fc;
    border-color: #b8d2ea;
    transform: translateY(-1px);
}

.gtranslate_wrapper.astar-language-localized,
.gtranslate_wrapper.astar-language-localized .gt_selector,
.gtranslate_wrapper.astar-language-localized select {
    min-width: 0 !important;
    max-width: 100%;
}

.gtranslate_wrapper.astar-language-localized select,
.gtranslate_wrapper.astar-language-localized .gt_selector,
.gtranslate_wrapper .astar-language-chip {
    white-space: nowrap;
}

.astar-v2-menu-root > .ast-menu-toggle {
    position: relative;
    z-index: 2;
}

.ast-main-header-bar-alignment .main-header-menu .menu-item-has-children > a[href="#"],
.ast-main-header-bar-alignment .main-header-menu .astar-v2-menu-root > a {
    cursor: pointer;
}

.main-header-menu .sub-menu a,
.main-header-menu .sub-menu .menu-link,
.main-header-menu .sub-menu li a {
    white-space: normal;
    line-height: 1.35;
    word-break: break-word;
}

@media (max-width: 921px) {
    .ast-header-break-point .main-header-menu .menu-item-has-children > .sub-menu,
    .astar-v2-menu-root > .sub-menu {
        display: none;
    }

    .ast-header-break-point .main-header-menu .menu-item-has-children.is-open > .sub-menu,
    .ast-header-break-point .main-header-menu .menu-item-has-children.focus > .sub-menu,
    .astar-v2-menu-root.is-open > .sub-menu {
        display: block !important;
    }
}

.astar-v2-choice-grid,
.astar-v2-highlight-grid,
.astar-v2-status-grid,
.astar-v2-form-grid,
.astar-v2-photo-grid {
    display: grid;
    gap: 16px;
}

.astar-v2-choice-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    margin: 24px 0;
}

.astar-v2-highlight-grid,
.astar-v2-status-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    margin: 20px 0;
}

.astar-v2-form-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.astar-v2-choice-card,
.astar-v2-status-card {
    display: block;
    border: 1px solid #d8e4ef;
    border-radius: 16px;
    padding: 18px;
    background: #f8fbfe;
    color: #17334d;
    text-decoration: none;
}

.astar-v2-choice-card {
    position: relative;
    z-index: 1;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(31, 95, 191, 0.16);
}

.astar-v2-choice-card strong,
.astar-v2-status-card strong {
    display: block;
    margin-bottom: 6px;
}

.astar-v2-form label {
    display: block;
    margin-bottom: 16px;
}

.astar-v2-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.astar-v2-form label > span {
    display: block;
    margin-bottom: 6px;
    color: #1f3040;
    font-weight: 600;
}

.astar-v2-form input[type="text"],
.astar-v2-form input[type="email"],
.astar-v2-form input[type="password"],
.astar-v2-form input[type="file"],
.astar-v2-form select,
.astar-v2-form textarea {
    width: 100%;
    border: 1px solid #c7d3de;
    border-radius: 12px;
    padding: 12px 14px;
    background: #fff;
    box-sizing: border-box;
    font-size: 16px;
    line-height: 1.38;
}

.astar-v2-form input[type="text"],
.astar-v2-form input[type="email"],
.astar-v2-form input[type="password"],
.astar-v2-form select {
    min-height: 58px;
    height: auto;
    padding-top: 15px;
    padding-bottom: 15px;
    line-height: 1.35;
}

.astar-v2-form select {
    padding-right: 46px;
}

.astar-v2-form input[type="file"] {
    padding: 10px 12px;
}

.astar-v2-form textarea {
    min-height: 130px;
    resize: vertical;
}

.astar-v2-button {
    appearance: none;
    border: 1px solid #244e73;
    background: #ffffff;
    color: #244e73;
    border-radius: 999px;
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.astar-v2-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(24, 54, 84, 0.12);
}

.astar-v2-button-primary {
    background: #244e73;
    color: #fff;
}

.astar-v2-button-secondary {
    background: #eef5fb;
    color: #244e73;
}

.astar-v2-button-danger {
    border-color: #9a2e2e;
    color: #9a2e2e;
}

.astar-v2-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.astar-v2-inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.astar-v2-notice {
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 18px;
    background: #edf7ff;
    color: #144a74;
}

.astar-v2-notice--media-fallback {
    margin-top: 12px;
    margin-bottom: 0;
    background: linear-gradient(180deg, #f4f9ff 0%, #edf7ff 100%);
    border: 1px solid #d6e9fb;
    box-shadow: 0 10px 24px rgba(20, 74, 116, 0.06);
}

.astar-v2-notice-error {
    background: #fff1f1;
    color: #8d1f1f;
}

.astar-v2-payment-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.92fr) minmax(340px, 1.08fr);
    gap: 20px;
    margin-top: 22px;
}

.astar-v2-payment-card {
    border: 1px solid #d8e4ef;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfe 100%);
    padding: 20px;
    box-shadow: 0 14px 30px rgba(24, 54, 84, 0.06);
}

.astar-v2-payment-card h2 {
    margin-bottom: 10px;
}

.astar-v2-payment-qr {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    border: 1px solid #d7e2ec;
    border-radius: 18px;
    background: #ffffff;
    margin-bottom: 16px;
}

.astar-v2-payment-qr img {
    display: block;
    width: min(100%, 320px);
    height: auto;
    border-radius: 12px;
}

.astar-v2-payment-qr-actions {
    margin-bottom: 16px;
}

.astar-v2-payment-qr-actions .astar-v2-button {
    min-width: 140px;
}

.astar-v2-payment-proof-preview {
    margin-bottom: 16px;
    padding: 14px;
    border: 1px solid #d8e4ef;
    border-radius: 16px;
    background: #f8fbfe;
}

.astar-v2-payment-proof-preview strong {
    display: block;
    margin-bottom: 10px;
    color: #163049;
}

.astar-v2-payment-proof-preview a {
    display: inline-block;
    max-width: min(100%, 320px);
}

.astar-v2-payment-proof-preview img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid #d7e2ec;
    background: #ffffff;
}

.astar-v2-collab-note {
    margin: 14px 0 18px;
    padding: 14px 16px;
    border: 1px solid #f3a8cc;
    border-left: 5px solid #ec4899;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff2f8 0%, #ffe7f2 100%);
    color: #8f1d57;
    font-size: 14px;
    line-height: 1.65;
    box-shadow: 0 10px 24px rgba(236, 72, 153, 0.10);
}

.astar-v2-collab-note strong {
    display: block;
    margin-bottom: 4px;
    color: #7b1349;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.astar-v2-collab-note + .astar-v2-collab-note {
    margin-top: -6px;
}

.astar-v2-collab-note.is-inline {
    margin-top: 10px;
    margin-bottom: 0;
}

.astar-v2-profile-header,
.astar-v2-subnav,
.astar-v2-auth-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.astar-v2-subnav,
.astar-v2-auth-links {
    justify-content: flex-start;
    margin: 18px 0;
}

.astar-v2-subnav a,
.astar-v2-auth-links a {
    color: #1f6aa5;
    text-decoration: none;
}

.astar-v2-link-button {
    appearance: none;
    background: transparent;
    border: 0;
    padding: 0;
    color: #1f6aa5;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.astar-v2-status-pill {
    background: #17334d;
    color: #fff;
    border-radius: 999px;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.astar-v2-section {
    margin-top: 28px;
}

.astar-v2-photo-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 16px 0;
}

.astar-v2-photo-card {
    position: relative;
    display: block;
    border: 1px solid #d8e4ef;
    border-radius: 14px;
    padding: 10px;
    background: #f8fbfe;
    width: min(220px, 100%);
    flex: 0 0 220px;
}

.astar-v2-photo-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center center;
    border-radius: 10px;
    display: block;
    margin-bottom: 0;
}

.astar-v2-remove-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.astar-v2-remove-chip {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    min-height: 34px;
    padding: 6px 12px;
    border: 0;
    border-radius: 999px;
    background: rgba(132, 30, 56, 0.92);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(20, 28, 38, 0.16);
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.astar-v2-remove-chip:hover {
    background: rgba(110, 24, 46, 0.96);
}

.astar-v2-field-textarea,
.astar-v2-field-help,
.astar-v2-document-list {
    grid-column: 1 / -1;
}

.astar-v2-field-language-skills {
    grid-column: 1 / -1;
    width: min(100%, 760px);
    justify-self: start;
}

.astar-v2-ai-draft-panel {
    border: 1px solid #d8e4ef;
    border-radius: 18px;
    padding: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    box-shadow: 0 14px 30px rgba(24, 54, 84, 0.05);
}

.astar-v2-ai-draft-panel h2 {
    margin-bottom: 10px;
}

.astar-v2-ai-upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.astar-v2-ai-upload-grid label {
    display: grid;
    gap: 8px;
}

.astar-v2-ai-job-history {
    margin-top: 18px;
    display: grid;
    gap: 12px;
}

.astar-v2-ai-job-list {
    display: grid;
    gap: 10px;
}

.astar-v2-ai-job-item {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border: 1px solid #d8e4ef;
    border-radius: 14px;
    background: #f8fbfe;
}

.astar-v2-ai-job-item strong {
    color: #163049;
}

.astar-v2-ai-job-item span,
.astar-v2-ai-job-item small {
    color: #5b6f83;
}

.astar-v2-language-skill-grid {
    display: grid;
    gap: 12px;
    margin-top: 10px;
}

.astar-v2-language-skill-row {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(180px, 1fr);
    gap: 12px;
}

.astar-v2-language-skill-row label {
    display: grid;
    gap: 8px;
}

.astar-v2-language-skill-row span {
    font-size: 13px;
    font-weight: 600;
    color: #35506a;
}

.astar-v2-field-help {
    display: block;
    margin-top: 8px;
    color: #617386;
    font-size: 13px;
}

.astar-v2-document-list {
    display: grid;
    gap: 10px;
    margin: 14px 0 16px;
}

@media (max-width: 720px) {
    .astar-v2-language-skill-row {
        grid-template-columns: 1fr;
    }
}

.astar-v2-document-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #d8e4ef;
    border-radius: 12px;
    background: #f8fbfe;
}

.astar-v2-document-item-main {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.astar-v2-document-item-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.astar-v2-document-item-main strong {
    font-size: 14px;
    line-height: 1.5;
    color: #163049;
    word-break: break-word;
}

.astar-v2-document-item-copy span {
    font-size: 12px;
    color: #617386;
}

.astar-v2-document-thumb {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    border-radius: 10px;
    object-fit: cover;
    object-position: center center;
    border: 1px solid #d7e2ec;
    background: #fff;
}

.astar-v2-document-item-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.astar-v2-remove-chip-inline {
    position: static;
    min-height: 32px;
    opacity: 1;
    transform: none;
    box-shadow: none;
}

.astar-v2-remove-state {
    display: none;
    margin-top: 10px;
    color: #8f1d57;
    font-size: 13px;
    font-weight: 600;
}

[data-astar-v2-removable-item="1"]:hover .astar-v2-remove-chip,
[data-astar-v2-removable-item="1"]:focus-within .astar-v2-remove-chip {
    opacity: 1;
    transform: translateY(0);
}

[data-astar-v2-removable-item="1"].is-pending-remove {
    border-color: #f1a4c9;
    background: #fff1f7;
}

[data-astar-v2-removable-item="1"].is-pending-remove img,
[data-astar-v2-removable-item="1"].is-pending-remove .astar-v2-document-thumb,
[data-astar-v2-removable-item="1"].is-pending-remove .astar-v2-document-item-main {
    opacity: 0.42;
}

[data-astar-v2-removable-item="1"].is-pending-remove .astar-v2-remove-state {
    display: block;
}

[data-astar-v2-removable-item="1"].is-pending-remove .astar-v2-remove-chip {
    opacity: 1;
    transform: translateY(0);
    background: rgba(34, 118, 74, 0.95);
}

.astar-v2-document-item a {
    color: #1f6aa5;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.astar-v2-autosave-status {
    margin-top: 14px;
    color: #546679;
    font-size: 13px;
}

.astar-v2-login-secondary-actions {
    margin-top: 14px;
    margin-bottom: 4px;
}

.astar-v2-delete-modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(20, 36, 52, 0.42);
    z-index: 9999;
}

.astar-v2-delete-modal[hidden] {
    display: none !important;
}

.astar-v2-delete-modal__dialog {
    width: min(560px, calc(100vw - 32px));
    background: #fff;
    border: 1px solid #d8e4ef;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(20, 36, 52, 0.22);
    padding: 24px;
}

.astar-v2-delete-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.astar-v2-delete-modal__close {
    appearance: none;
    border: 0;
    background: transparent;
    color: #607284;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.astar-v2-form-actions [value="request_delete"] {
    display: none !important;
}

.astar-v2-list {
    margin: 18px 0 0 18px;
}

.astar-v2-message-preview {
    display: grid;
    grid-template-columns: minmax(260px, 0.88fr) minmax(0, 1.38fr) minmax(240px, 0.74fr);
    gap: 20px;
    margin-top: 24px;
    overflow: hidden;
}

.astar-v2-message-preview.is-compact {
    grid-template-columns: minmax(260px, 0.86fr) minmax(0, 1.42fr);
}

.astar-v2-message-inbox,
.astar-v2-message-thread,
.astar-v2-message-sidebar {
    border: 1px solid #d8e4ef;
    border-radius: 18px;
    background: #f8fbfe;
    padding: 18px;
    min-width: 0;
    overflow: hidden;
}

.astar-v2-message-inbox {
    display: grid;
    gap: 12px;
    align-content: start;
}

.astar-v2-message-inbox-head,
.astar-v2-message-thread-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.astar-v2-message-inbox-head span,
.astar-v2-message-thread-head span {
    color: #5e7286;
    font-size: 13px;
}

.astar-v2-conversation-item {
    border: 1px solid #d8e4ef;
    border-radius: 16px;
    background: #ffffff;
    padding: 14px 15px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.astar-v2-conversation-item.is-active {
    border-color: #9fc2df;
    box-shadow: 0 14px 28px rgba(24, 54, 84, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #f4f9fd 100%);
}

.astar-v2-conversation-item p {
    margin: 10px 0 0;
    color: #28435d;
    font-size: 14px;
}

.astar-v2-conversation-meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.astar-v2-conversation-meta strong {
    display: block;
    color: #183654;
}

.astar-v2-message-thread {
    display: grid;
    gap: 14px;
    align-content: start;
}

.astar-v2-message-bubble {
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 12px;
}

.astar-v2-message-bubble p,
.astar-v2-message-bubble span {
    margin: 0;
}

.astar-v2-message-bubble strong {
    display: block;
    margin-bottom: 6px;
}

.astar-v2-message-bubble-out {
    background: #eaf4fb;
    border: 1px solid #c9dcec;
}

.astar-v2-message-bubble-note {
    background: #fff8ea;
    border: 1px solid #edd9a1;
}

.astar-v2-message-composer {
    border-top: 1px solid #dce7f0;
    margin-top: 4px;
    padding-top: 18px;
}

.astar-v2-message-composer textarea {
    width: 100%;
    min-height: 130px;
    border: 1px solid #c9d7e3;
    border-radius: 14px;
    padding: 14px 16px;
    background: #fff;
    color: #25425d;
    resize: vertical;
    box-sizing: border-box;
    line-height: 1.5;
}

.astar-v2-directory-layout {
    display: grid;
    grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.astar-v2-directory-sidebar {
    align-self: start;
    position: sticky;
    top: 24px;
}

.astar-v2-filter-form {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid #d8e4ef;
    border-radius: 18px;
    background: linear-gradient(180deg, #f8fbfe 0%, #f2f8fc 100%);
    position: relative;
    transition: opacity 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.astar-v2-filter-form h2 {
    margin-bottom: 2px;
}

.astar-v2-filter-form input[type="text"],
.astar-v2-filter-form select {
    min-height: 58px;
    height: auto;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-right: 46px;
    line-height: 1.35;
}

.astar-v2-filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 6px;
}

.astar-v2-filter-actions .astar-v2-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    line-height: 1.2;
}

.astar-v2-filter-form.is-submitting {
    opacity: 0.88;
    transform: translateY(1px);
    box-shadow: 0 12px 26px rgba(24, 54, 84, 0.12);
}

.astar-v2-filter-form.is-submitting::after {
    content: attr(data-loading-text);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 18px;
    background: rgba(248, 251, 254, 0.78);
    color: #163049;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
    backdrop-filter: blur(3px);
}

.astar-v2-filter-form .is-disabled {
    pointer-events: none;
}

.astar-v2-directory-main {
    min-width: 0;
    position: relative;
}

.astar-v2-directory-main.is-loading::after {
    content: attr(data-loading-text);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.24) 100%);
    color: #163049;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
    pointer-events: none;
    z-index: 3;
}

.astar-v2-directory-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    color: #546679;
}

.astar-v2-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.astar-v2-profile-card {
    display: grid;
    grid-template-rows: 220px 1fr;
    border: 1px solid #d8e4ef;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    color: #163049;
    text-decoration: none;
    box-shadow: 0 14px 34px rgba(24, 54, 84, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    position: relative;
}

.astar-v2-profile-card,
.astar-v2-profile-card *,
.astar-v2-profile-card:hover,
.astar-v2-profile-card:focus-visible {
    text-decoration: none !important;
}

.astar-v2-profile-card:hover {
    transform: translateY(-2px);
    border-color: #b7cee2;
    box-shadow: 0 20px 40px rgba(24, 54, 84, 0.12);
}

.astar-v2-profile-card.is-opening {
    transform: scale(0.995);
    border-color: #9fc0da;
    box-shadow: 0 22px 42px rgba(24, 54, 84, 0.16);
}

.astar-v2-profile-card.is-opening::after {
    content: attr(data-loading-text);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(22, 48, 73, 0.22);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
    backdrop-filter: blur(2px);
    z-index: 4;
}

.astar-v2-profile-card-media {
    position: relative;
    background: linear-gradient(135deg, #dfeef8 0%, #eef7fb 100%);
}

.astar-v2-profile-card-badges {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: calc(100% - 24px);
}

.astar-v2-profile-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.astar-v2-profile-card.is-pending-review .astar-v2-profile-card-media img {
    filter: blur(10px);
    transform: scale(1.05);
}

.astar-v2-profile-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(16, 32, 53, 0.88);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.astar-v2-profile-card-badge.is-visibility {
    background: rgba(130, 37, 0, 0.92);
}

.astar-v2-profile-card-badge.is-exclusive {
    background: linear-gradient(135deg, rgba(10, 88, 74, 0.96) 0%, rgba(30, 128, 104, 0.96) 100%);
}

.astar-v2-term-lock {
    white-space: nowrap;
}

.astar-v2-detail-visibility-row {
    margin: 8px 0 0;
}

.astar-v2-badge-info {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    touch-action: manipulation;
}

.astar-v2-badge-tooltip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translateX(-50%);
    width: min(280px, 80vw);
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(16, 32, 53, 0.96);
    color: #fff;
    font-size: 12px;
    line-height: 1.45;
    box-shadow: 0 16px 30px rgba(16, 32, 53, 0.22);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, visibility 0.18s ease;
}

.astar-v2-badge-info:hover .astar-v2-badge-tooltip,
.astar-v2-badge-info:focus .astar-v2-badge-tooltip,
.astar-v2-badge-info:focus-visible .astar-v2-badge-tooltip {
    opacity: 1;
    visibility: visible;
}

.astar-v2-badge-info.is-open {
    background: rgba(255, 255, 255, 0.3);
}

body.astar-v2-has-floating-tooltips .astar-v2-badge-tooltip {
    display: none !important;
}

.astar-v2-floating-tooltip {
    position: fixed;
    left: 12px;
    top: 12px;
    z-index: 9999;
    width: min(320px, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(16, 32, 53, 0.97);
    color: #fff;
    font-size: 12px;
    line-height: 1.5;
    box-shadow: 0 18px 40px rgba(16, 32, 53, 0.28);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(4px);
    transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
}

.astar-v2-floating-tooltip.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.astar-v2-profile-card-body {
    display: grid;
    gap: 12px;
    padding: 18px;
}

.astar-v2-profile-card-body h3 {
    margin: 0;
    font-size: 24px;
}

.astar-v2-profile-card-lead {
    margin: 0;
    font-weight: 700;
    color: #244e73;
}

.astar-v2-profile-card-text {
    margin: 0;
    color: #586979;
}

.astar-v2-meta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.astar-v2-meta-list span {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #edf4f9;
    color: #244e73;
    font-size: 13px;
    font-weight: 600;
}

.astar-v2-profile-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1f6aa5;
    font-weight: 700;
}

.astar-v2-profile-card-admin-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid #244e73;
    border-radius: 999px;
    background: #244e73;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.astar-v2-profile-card-admin-action:hover,
.astar-v2-profile-card-admin-action:focus-visible {
    background: #173a57;
    box-shadow: 0 10px 20px rgba(24, 54, 84, 0.14);
    transform: translateY(-1px);
    outline: none;
}

.astar-v2-empty-state {
    padding: 28px;
    border: 1px dashed #c7d3de;
    border-radius: 18px;
    color: #546679;
    background: #f8fbfe;
    text-align: center;
}

.astar-v2-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.astar-v2-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid #d8e4ef;
    color: #163049;
    text-decoration: none;
    background: #fff;
}

.astar-v2-pagination a.is-active {
    background: #244e73;
    border-color: #244e73;
    color: #fff;
}

.astar-v2-pagination-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 42px;
    color: #51677b;
    font-weight: 700;
}

.astar-v2-detail-toolbar {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.astar-v2-detail-toolbar a {
    color: #1f6aa5;
    font-weight: 700;
    text-decoration: none;
}

.astar-v2-detail-header {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 26px;
    align-items: start;
}

.astar-v2-detail-gallery > img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center center;
    border-radius: 20px;
    display: block;
    background: #e8f1f7;
}

.astar-v2-detail-gallery-main {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 20px;
    overflow: hidden;
    background: transparent;
    text-align: left;
    cursor: zoom-in;
}

.astar-v2-detail-gallery-main--missing {
    position: relative;
    cursor: default;
    background: linear-gradient(180deg, #f7fbff 0%, #edf5fb 100%);
}

.astar-v2-detail-gallery-main.is-blurred {
    position: relative;
    cursor: default;
}

.astar-v2-detail-gallery-main img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center center;
    display: block;
    background: #e8f1f7;
    transition: transform 0.18s ease;
}

.astar-v2-detail-gallery-flag {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(18, 42, 65, 0.82);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    backdrop-filter: blur(6px);
}

.astar-v2-detail-gallery-main:hover img {
    transform: scale(1.015);
}

.astar-v2-detail-gallery-main:focus-visible {
    outline: 3px solid rgba(31, 106, 165, 0.3);
    outline-offset: 4px;
}

.astar-v2-detail-gallery-main.is-blurred img,
.astar-v2-detail-thumb.is-blurred img {
    filter: blur(16px);
    transform: scale(1.06);
}

.astar-v2-blur-overlay {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(18, 42, 65, 0.82);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.astar-v2-detail-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.astar-v2-detail-thumb {
    display: block;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 14px;
    background: transparent;
    cursor: pointer;
    overflow: hidden;
}

.astar-v2-detail-thumb.is-active {
    border-color: #244e73;
    box-shadow: 0 10px 18px rgba(24, 54, 84, 0.14);
}

.astar-v2-detail-thumb img {
    width: 100%;
    height: 88px;
    object-fit: cover;
    object-position: center center;
    border-radius: 12px;
    display: block;
}

.astar-v2-detail-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(16, 28, 41, 0.58);
}

.astar-v2-detail-lightbox[hidden] {
    display: none !important;
}

.astar-v2-detail-lightbox__dialog {
    position: relative;
    width: min(880px, calc(100vw - 32px));
    max-height: calc(100vh - 40px);
    padding: 18px;
    border-radius: 24px;
    border: 1px solid #d8e4ef;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.28);
}

.astar-v2-detail-lightbox__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(22, 58, 99, 0.08);
    color: #163a63;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.astar-v2-detail-lightbox__viewport {
    overflow: auto;
    border-radius: 18px;
    background: #f4f8fb;
}

.astar-v2-detail-lightbox__viewport img {
    display: block;
    width: 100%;
    max-height: 78vh;
    object-fit: contain;
    margin: 0 auto;
    background: #f4f8fb;
}

.astar-v2-detail-summary {
    display: grid;
    gap: 14px;
}

.astar-v2-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.astar-v2-detail-actions form {
    margin: 0;
}

.astar-v2-detail-inline-note {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 999px;
    background: #f0f5fa;
    color: #244e73;
    font-weight: 700;
}

.astar-v2-meta-list-large span {
    padding: 10px 14px;
}

.astar-v2-detail-section {
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid #e0e7ef;
}

.astar-v2-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.astar-v2-detail-item {
    padding: 14px 16px;
    border: 1px solid #d8e4ef;
    border-radius: 16px;
    background: #f8fbfe;
}

.astar-v2-detail-item strong {
    display: block;
    margin-bottom: 6px;
    color: #244e73;
}

.astar-v2-site-info-footer {
    margin: 40px auto 0;
    padding: 28px 24px;
    background: #f8fafc;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.astar-v2-site-info-grid {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}

.astar-v2-site-info-column h2 {
    margin: 0 0 10px;
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    line-height: 1.2;
    color: #163a63;
}

.astar-v2-site-info-kicker {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #476582;
}

.astar-v2-site-info-links {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.astar-v2-site-info-posts {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.astar-v2-site-info-links a,
.astar-v2-site-info-posts a,
.astar-v2-site-info-follow a {
    color: #1257b8;
    text-decoration: none;
    font-weight: 600;
}

.astar-v2-site-info-links a:hover,
.astar-v2-site-info-posts a:hover,
.astar-v2-site-info-follow a:hover {
    text-decoration: underline;
}

.astar-v2-site-info-quote {
    background: rgba(37, 99, 235, 0.05);
    padding: 24px;
    margin-bottom: 22px;
}

.astar-v2-site-info-quote p,
.astar-v2-site-info-column p {
    margin: 0;
    line-height: 1.6;
    color: #39526b;
}

.astar-v2-site-info-follow {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.98rem;
    line-height: 1.6;
}

.astar-v2-site-info-qrs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 112px));
    gap: 14px;
    margin-top: 16px;
}

.astar-v2-site-info-qrs figure {
    margin: 0;
    padding: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 12px 24px rgba(22, 58, 99, 0.08);
}

.astar-v2-site-info-qrs img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center center;
    border-radius: 12px;
    background: #ffffff;
}

.astar-v2-site-info-qrs figcaption {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    color: #39526b;
    text-align: center;
}

@media (max-width: 900px) {
    .astar-v2-message-preview {
        grid-template-columns: 1fr;
    }

    .astar-v2-message-preview.is-compact {
        grid-template-columns: 1fr;
    }

    .astar-v2-message-inbox-head,
    .astar-v2-message-thread-head {
        flex-direction: column;
        gap: 8px;
    }

    .astar-v2-directory-layout,
    .astar-v2-detail-header,
    .astar-v2-detail-grid {
        grid-template-columns: 1fr;
    }

    .astar-v2-payment-layout {
        grid-template-columns: 1fr;
    }

    .astar-v2-site-info-grid {
        grid-template-columns: 1fr;
    }

    .astar-v2-site-info-footer {
        padding: 24px 18px;
    }

    .astar-v2-site-info-qrs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 280px;
    }

    .astar-v2-directory-sidebar {
        position: static;
    }

    .astar-v2-card-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .astar-v2-shell {
        margin: 20px auto;
        padding: 0 14px 28px;
    }

    .astar-v2-card,
    .astar-v2-card-wide {
        padding: 18px;
        border-radius: 16px;
    }

    .astar-v2-language-bar,
    .astar-v2-profile-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .astar-v2-language-slot,
    .astar-v2-language-slot .gtranslate_wrapper {
        width: 100%;
        max-width: none;
    }

    .astar-v2-nav-links {
        display: none !important;
    }

    .astar-v2-choice-grid,
    .astar-v2-highlight-grid,
    .astar-v2-status-grid,
    .astar-v2-form-grid {
        grid-template-columns: 1fr;
    }

    .astar-v2-subnav,
    .astar-v2-auth-links {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .astar-v2-subnav a,
    .astar-v2-auth-links a {
        display: block;
        width: 100%;
        padding: 12px 14px;
        border: 1px solid #d8e4ef;
        border-radius: 12px;
        background: #f8fbfe;
    }

    .astar-v2-form-actions {
        flex-direction: column;
    }

    .astar-v2-form-actions .astar-v2-button {
        width: 100%;
    }

    .astar-v2-filter-actions {
        flex-direction: column;
    }

    .astar-v2-filter-actions .astar-v2-button {
        width: 100%;
        justify-content: center;
    }

    .astar-v2-photo-grid {
        gap: 12px;
    }

    .astar-v2-photo-card {
        padding: 8px;
        flex-basis: 100%;
        width: 100%;
    }

    .astar-v2-remove-chip {
        opacity: 1;
        transform: translateY(0);
    }

    .astar-v2-message-thread,
    .astar-v2-message-inbox,
    .astar-v2-message-sidebar {
        padding: 14px;
    }

    .astar-v2-directory-summary,
    .astar-v2-detail-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .astar-v2-profile-card {
        grid-template-rows: 200px 1fr;
    }

    .astar-v2-detail-gallery-main img {
        height: 280px;
    }

    .astar-v2-detail-thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .astar-v2-detail-thumb img {
        height: 76px;
    }

    .astar-v2-document-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .astar-v2-document-item-actions {
        width: 100%;
        justify-content: space-between;
    }

    .astar-v2-delete-modal {
        padding: 12px;
    }

    .astar-v2-delete-modal__dialog {
        width: 100%;
        padding: 18px;
    }
}

@media (max-width: 544px) {
    .astar-v2-detail-lightbox {
        padding: 12px;
    }

    .astar-v2-detail-lightbox__dialog {
        width: calc(100vw - 20px);
        padding: 14px;
        border-radius: 18px;
    }

    .astar-v2-detail-lightbox__viewport img {
        max-height: 72vh;
    }

    .ast-header-break-point .site-header-primary-section-left,
    .ast-header-break-point .site-header-primary-section-right {
        min-width: 0;
    }

    .ast-header-break-point .site-header-primary-section-left {
        flex: 1 1 auto;
    }

    .ast-header-break-point .site-branding {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
    }

    .ast-header-break-point .site-branding .ast-site-title-wrap,
    .ast-header-break-point .site-branding .site-title,
    .ast-header-break-point .site-branding .site-title a {
        min-width: 0;
    }

    .ast-header-break-point .site-branding .site-title a {
        display: block;
        font-size: clamp(20px, 5.2vw, 24px);
        line-height: 1.15;
        white-space: normal;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .ast-header-break-point .site-header-primary-section-right {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        flex-wrap: wrap;
        flex: 0 0 auto;
    }

    .ast-header-break-point .site-header-primary-section-right .header-widget-area[data-section="sidebar-widgets-header-widget-1"] {
        order: 2;
        flex: 0 0 100%;
        display: flex;
        justify-content: flex-end;
        margin-top: 6px;
        min-width: 0;
        max-width: none;
    }

    .ast-header-break-point .site-header-primary-section-right .header-widget-area[data-section="sidebar-widgets-header-widget-1"] .gtranslate_wrapper,
    .ast-header-break-point .site-header-primary-section-right .header-widget-area[data-section="sidebar-widgets-header-widget-1"] .gt_selector,
    .ast-header-break-point .site-header-primary-section-right .header-widget-area[data-section="sidebar-widgets-header-widget-1"] select {
        width: 132px !important;
        max-width: 132px !important;
        min-width: 0 !important;
        font-size: 13px !important;
        height: 36px;
        line-height: 36px !important;
        padding: 0 8px !important;
    }

    .ast-header-break-point button.menu-toggle.main-header-menu-toggle.ast-mobile-menu-trigger-minimal,
    .ast-header-break-point .ast-mobile-menu-buttons .menu-toggle,
    .ast-header-break-point .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: auto !important;
        min-width: 56px !important;
        white-space: nowrap;
        padding: 0 !important;
    }

    .ast-header-break-point button.menu-toggle.main-header-menu-toggle.ast-mobile-menu-trigger-minimal::after,
    .ast-header-break-point .ast-mobile-menu-buttons .menu-toggle::after,
    .ast-header-break-point button.menu-toggle.main-header-menu-toggle.ast-mobile-menu-trigger-minimal::before,
    .ast-header-break-point .ast-mobile-menu-buttons .menu-toggle::before,
    .ast-header-break-point .menu-toggle::before {
        content: none !important;
        display: none !important;
    }

    .ast-header-break-point button.menu-toggle.main-header-menu-toggle.ast-mobile-menu-trigger-minimal .mobile-menu-toggle-icon,
    .ast-header-break-point .ast-mobile-menu-buttons .menu-toggle .mobile-menu-toggle-icon,
    .ast-header-break-point .menu-toggle .mobile-menu-toggle-icon {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }

    .ast-header-break-point button.menu-toggle.main-header-menu-toggle.ast-mobile-menu-trigger-minimal .mobile-menu-toggle-icon svg,
    .ast-header-break-point .ast-mobile-menu-buttons .menu-toggle .mobile-menu-toggle-icon svg,
    .ast-header-break-point .menu-toggle .mobile-menu-toggle-icon svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 921px) {
    .ast-header-break-point #masthead,
    .ast-header-break-point #ast-mobile-header {
        position: relative;
    }

    .ast-header-break-point .site-header-primary-section-right {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        flex-wrap: wrap;
        padding-right: 56px;
    }

    .ast-header-break-point .site-header-primary-section-right .header-widget-area[data-section="sidebar-widgets-header-widget-1"] {
        order: 2;
        margin-left: auto;
        max-width: 140px;
    }

    .ast-header-break-point .site-header-primary-section-right .header-widget-area[data-section="sidebar-widgets-header-widget-1"] .gtranslate_wrapper,
    .ast-header-break-point .site-header-primary-section-right .header-widget-area[data-section="sidebar-widgets-header-widget-1"] .gt_selector,
    .ast-header-break-point .site-header-primary-section-right .header-widget-area[data-section="sidebar-widgets-header-widget-1"] select {
        max-width: 140px !important;
    }

    .ast-header-break-point button.menu-toggle.main-header-menu-toggle.ast-mobile-menu-trigger-minimal,
    .ast-header-break-point .ast-mobile-menu-buttons .menu-toggle,
    .ast-header-break-point .menu-toggle {
        width: 44px !important;
        min-width: 44px !important;
        height: 44px !important;
        padding: 0 !important;
    }

    .ast-header-break-point #masthead .ast-button-wrap,
    .ast-header-break-point #ast-mobile-header .ast-button-wrap {
        position: absolute !important;
        top: 12px !important;
        right: 12px !important;
        z-index: 40 !important;
    }

    .ast-header-break-point #masthead button.menu-toggle.main-header-menu-toggle.ast-mobile-menu-trigger-minimal,
    .ast-header-break-point #ast-mobile-header button.menu-toggle.main-header-menu-toggle.ast-mobile-menu-trigger-minimal {
        position: static !important;
    }

    .ast-header-break-point.ast-main-header-nav-open #masthead .site-primary-header-wrap .ast-builder-grid-row,
    .ast-header-break-point.ast-main-header-nav-open #ast-mobile-header .ast-builder-grid-row {
        align-items: flex-start;
    }

    .ast-header-break-point.ast-main-header-nav-open #masthead .site-header-primary-section-right .ast-builder-menu-1,
    .ast-header-break-point.ast-main-header-nav-open #ast-mobile-header .site-header-primary-section-right .ast-builder-menu-mobile {
        order: 3;
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }

    .ast-header-break-point.ast-main-header-nav-open #masthead .main-header-bar-navigation,
    .ast-header-break-point.ast-main-header-nav-open #masthead .site-navigation,
    .ast-header-break-point.ast-main-header-nav-open #masthead .main-navigation,
    .ast-header-break-point.ast-main-header-nav-open #ast-mobile-header .main-header-bar-navigation,
    .ast-header-break-point.ast-main-header-nav-open #ast-mobile-header .site-navigation,
    .ast-header-break-point.ast-main-header-nav-open #ast-mobile-header .main-navigation {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        margin-top: 10px;
        background: #fff;
        border: 1px solid #d9e6f2;
        border-radius: 16px;
        box-shadow: 0 12px 32px rgba(25, 56, 89, 0.10);
        overflow: hidden;
    }

    .ast-header-break-point.ast-main-header-nav-open #masthead .main-header-menu,
    .ast-header-break-point.ast-main-header-nav-open #ast-mobile-header .main-header-menu {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: none !important;
        gap: 0;
        background: #fff;
    }

    .ast-header-break-point.ast-main-header-nav-open #masthead .main-header-menu > .menu-item,
    .ast-header-break-point.ast-main-header-nav-open #ast-mobile-header .main-header-menu > .menu-item {
        width: 100%;
        border-top: 1px solid #edf3f8;
    }

    .ast-header-break-point.ast-main-header-nav-open #masthead .main-header-menu > .menu-item:first-child,
    .ast-header-break-point.ast-main-header-nav-open #ast-mobile-header .main-header-menu > .menu-item:first-child {
        border-top: 0;
    }

    .ast-header-break-point.ast-main-header-nav-open #masthead .main-header-menu > .menu-item > .menu-link,
    .ast-header-break-point.ast-main-header-nav-open #masthead .main-header-menu > .menu-item > a,
    .ast-header-break-point.ast-main-header-nav-open #ast-mobile-header .main-header-menu > .menu-item > .menu-link,
    .ast-header-break-point.ast-main-header-nav-open #ast-mobile-header .main-header-menu > .menu-item > a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 14px 16px;
        font-size: 16px;
        line-height: 1.35;
    }

    .ast-header-break-point #masthead .main-header-menu .sub-menu,
    .ast-header-break-point #ast-mobile-header .main-header-menu .sub-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        background: #f6fafe;
        border-top: 1px solid #e7eef5;
        padding: 8px 0;
    }

    .ast-header-break-point #masthead .main-header-menu .sub-menu li a,
    .ast-header-break-point #masthead .main-header-menu .sub-menu .menu-link,
    .ast-header-break-point #ast-mobile-header .main-header-menu .sub-menu li a,
    .ast-header-break-point #ast-mobile-header .main-header-menu .sub-menu .menu-link {
        display: block;
        padding: 10px 18px;
        font-size: 15px;
    }
}
