@charset "utf-8";
/* CSS Document */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 15px;
    margin-left: 30px;
    font-family:
        Arial,
        Helvetica,
        sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1180px, 92%);
    margin: auto;
}


/* =========================
   HEADER
========================= */

.site-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #9b174c;
}

.brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f7e1e9;
    color: #a5164e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.brand strong {
    display: block;
    font-size: 21px;
    line-height: 1;
}

.brand small {
    display: block;
    font-size: 11px;
    color: #777;
    margin-top: 4px;
    letter-spacing: 1px;
}

.main-nav {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    gap: 14px;
    align-items: center;
    justify-content: flex-start;
    margin-left: 16px;
}

.main-nav a {
    white-space: nowrap;
    flex-shrink: 0;
}
.main-nav a:hover,
.main-nav a.active {
    color: #a5164e;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.login-link {
    color: #555;
    font-weight: 600;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    padding: 11px 21px;
    border: 1px solid transparent;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.btn-primary {
    background: #a5164e;
    color: #fff;
}

.btn-primary:hover {
    background: #86113f;
}

.btn-outline {
    border-color: #a5164e;
    color: #a5164e;
}

.btn-light {
    background: #fff;
    color: #9b174c;
}

.btn-large {
    padding: 14px 27px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    border: 0;
    background: transparent;
    font-size: 25px;
}


/* =========================
   HERO
========================= */

.hero {
    min-height: 600px;
    position: relative;
    background:
        linear-gradient(
            110deg,
            #681036,
            #a5164e 50%,
            #d26b88
        );
    color: #fff;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    right: -180px;
    top: -160px;
    background: rgba(255,255,255,0.08);
}

.hero-content {
    min-height: 600px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 70px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 8px 15px;
    border-radius: 30px;
    font-size: 13px;
    margin-bottom: 18px;
}

.hero-text h1 {
    font-family: Georgia, serif;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.1;
    margin: 0 0 20px;
}

.hero-text h1 span {
    color: #ffd7e5;
}

.hero-text p {
    font-size: 18px;
    max-width: 570px;
    opacity: 0.92;
}

.hero-buttons {
    display: flex;
    gap: 13px;
    margin-top: 28px;
}

.hero-search-card {
    background: #fff;
    color: #333;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.22);
}

.hero-search-card h2 {
    margin: 0;
    color: #7e103c;
    font-family: Georgia, serif;
    font-size: 27px;
}

.hero-search-card p {
    margin-top: 4px;
    color: #777;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #555;
}

.form-group select,
.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 7px;
    background: #fff;
    font-size: 14px;
    outline: none;
}

.form-group select:focus,
.form-group input:focus {
    border-color: #a5164e;
}


/* =========================
   SECTIONS
========================= */

.trust-section,
.how-section {
    padding: 80px 0;
}

.section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 45px;
}

.section-label {
    color: #a5164e;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.section-heading h2 {
    font-family: Georgia, serif;
    font-size: 36px;
    margin: 10px 0;
    color: #4b2635;
}

.section-heading p {
    color: #777;
}

.feature-grid {
    display: grid;
    grid-template-columns:
        repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    text-align: center;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 30px 20px;
    background: #fff;
    transition: 0.2s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.feature-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: #fae9ef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
}

.feature-card h3 {
    margin: 8px 0;
    color: #4b2635;
}

.feature-card p {
    color: #777;
    font-size: 14px;
}


/* =========================
   HOW IT WORKS
========================= */

.how-section {
    background: #fff8fa;
}

.steps-grid {
    display: grid;
    grid-template-columns:
        repeat(3, 1fr);
    gap: 30px;
}

.step {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #f1dfe6;
}

.step-number {
    color: #a5164e;
    font-size: 30px;
    font-weight: 700;
}

.step h3 {
    color: #4b2635;
}


/* =========================
   CTA
========================= */

.cta-section {
    padding: 30px 0 80px;
}

.cta-box {
    background: #a5164e;
    color: #fff;
    border-radius: 15px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cta-box span {
    font-size: 12px;
    letter-spacing: 2px;
}

.cta-box h2 {
    font-family: Georgia, serif;
    font-size: 30px;
    margin: 8px 0 0;
}


/* =========================
   FOOTER
========================= */

.site-footer {
    background: #321823;
    color: #ddd;
}

.footer-grid {
    padding: 55px 0;
    display: grid;
    grid-template-columns:
        1.5fr 1fr 1fr 1fr;
    gap: 35px;
}

.footer-brand {
    font-size: 19px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-about p {
    color: #b9aeb3;
    max-width: 340px;
}

.site-footer h4 {
    color: #fff;
    margin-top: 0;
}

.site-footer a {
    display: block;
    color: #b9aeb3;
    margin: 8px 0;
    font-size: 14px;
}

.site-footer a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #503943;
    padding: 18px 0;
    color: #a99ca1;
    font-size: 13px;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .main-nav,
    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content {
        grid-template-columns: 1fr;
        padding: 70px 0;
        gap: 40px;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        min-height: auto;
    }

    .feature-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .cta-box {
        flex-direction: column;
        align-items: flex-start;
    }
}


@media (max-width: 600px) {

    .navbar {
        min-height: 65px;
    }

    .hero-text h1 {
        font-size: 39px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .feature-grid,
    .steps-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .trust-section,
    .how-section {
        padding: 55px 0;
    }

    .section-heading h2 {
        font-size: 29px;
    }

    .hero-search-card {
        padding: 22px;
    }
}

.search-icon {
    display: inline-block;
    width: 13px;
    height: 13px;
    border: 2px solid currentColor;
    border-radius: 50%;
    position: relative;
    margin-right: 9px;
    vertical-align: -1px;
}

.search-icon::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 2px;
    background: currentColor;
    right: -5px;
    bottom: -3px;
    transform: rotate(45deg);
    border-radius: 2px;
}

.btn-full {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

/* ==================================
   Your Shadi AUTHENTICATION
================================== */

.auth-section {
    background: #fff8fa;
    padding: 55px 16px 75px;
    min-height: 65vh;
}

.auth-card {
    max-width: 760px;
    margin: 0 auto;
    padding: 35px;
    background: #fff;
    border: 1px solid #f0e1e7;
    border-radius: 15px;
    box-shadow: 0 12px 35px rgba(70, 20, 40, 0.08);
}

.auth-card-small {
    max-width: 500px;
}

.auth-card h1 {
    margin: 0 0 8px;
    color: #7e103c;
    font-family: Georgia, serif;
    font-size: 32px;
}

.auth-intro {
    margin: 0 0 25px;
    color: #777;
}

.auth-card .form-group {
    margin-bottom: 18px;
}

.auth-card .form-group label {
    display: block;
    margin-bottom: 7px;
    color: #4b2635;
    font-weight: 600;
}

.auth-card .form-group input:not([type="checkbox"]),
.auth-card .form-group select {
    display: block;
    width: 100%;
    min-height: 45px;
    padding: 11px 12px;
    border: 1px solid #ddd;
    border-radius: 7px;
    background: #fff;
    color: #333;
    font: inherit;
}

.auth-card .form-group input:focus,
.auth-card .form-group select:focus {
    outline: 2px solid #f0c6d6;
    border-color: #a5164e;
}

.auth-card .form-group small {
    display: block;
    margin-top: 5px;
    color: #777;
    font-size: 12px;
}

.auth-card .terms-check label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-weight: 400;
}

.auth-card .terms-check input {
    margin-top: 5px;
}

.auth-card .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.auth-switch {
    margin: 22px 0 0;
    text-align: center;
    color: #666;
}

.auth-switch a {
    color: #a5164e;
    font-weight: 700;
}

.alert {
    padding: 13px 15px;
    margin: 0 0 20px;
    border-radius: 7px;
    font-size: 14px;
    overflow-wrap: anywhere;
}

.alert ul {
    margin: 0;
    padding-left: 20px;
}

.alert-error {
    background: #fff0f0;
    border: 1px solid #f0c5c5;
    color: #8d2020;
}

.alert-success {
    background: #edf9f0;
    border: 1px solid #c7e8ce;
    color: #236b35;
}

.alert-info {
    background: #eef5ff;
    border: 1px solid #cbdcf5;
    color: #234e80;
}

.alert-warning {
    background: #fff8e7;
    border: 1px solid #f1dfae;
    color: #795b10;
}

.alert-pending {
    background: #fff8e7;
    border: 1px solid #f1dfae;
    color: #795b10;
}

.alert-error ul li + li {
    margin-top: 5px;
}

.dashboard-info {
    margin: 22px 0;
    padding: 15px;
    border-radius: 8px;
    background: #fff8fa;
    overflow-wrap: anywhere;
}

.dashboard-info p {
    margin: 8px 0;
}

@media (max-width: 600px) {
    .auth-section {
        padding: 30px 12px 45px;
    }

    .auth-card {
        padding: 23px 18px;
    }

    .auth-card h1 {
        font-size: 27px;
    }

    .auth-card .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* =========================================
   Your Shadi - LOGIN / REGISTER DESIGN
   ========================================= */

.auth-section {
    background: #fff7fa;
    min-height: 68vh;
    padding: 65px 20px 80px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.auth-card {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    padding: 42px 46px;
    background: #ffffff;
    border: 1px solid #f0dfe6;
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(92, 21, 51, 0.09);
}

.auth-card.auth-card-small {
    max-width: 510px;
    padding: 42px 40px;
}

.auth-card h1 {
    margin: 0 0 12px;
    color: #76113c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    line-height: 1.25;
    text-align: center;
}

.auth-intro {
    margin: 0 0 32px;
    color: #777078;
    font-size: 16px;
    line-height: 1.7;
    text-align: center;
}

.auth-card .form-group {
    margin-bottom: 23px;
}

.auth-card .form-group label {
    display: block;
    margin-bottom: 9px;
    color: #432532;
    font-size: 15px;
    font-weight: 600;
}

.auth-card .form-group input:not([type="checkbox"]),
.auth-card .form-group select {
    width: 100%;
    min-height: 49px;
    padding: 12px 15px;
    border: 1px solid #ded5da;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-card .form-group input:focus,
.auth-card .form-group select:focus {
    outline: none;
    border-color: #a5164e;
    box-shadow: 0 0 0 3px rgba(165, 22, 78, 0.10);
}

.auth-card .form-group input::placeholder {
    color: #a49aa0;
}

.auth-card .btn-full {
    width: 100%;
    min-height: 50px;
    margin-top: 5px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
}

.auth-switch {
    margin: 25px 0 0;
    color: #6f6870;
    font-size: 15px;
    line-height: 1.8;
    text-align: center;
}

.auth-switch a {
    color: #a5164e;
    font-weight: 700;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.auth-card .alert {
    padding: 14px 16px;
    margin-bottom: 23px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.auth-card .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.auth-card .terms-check label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}

.auth-card .terms-check input {
    flex-shrink: 0;
    margin-top: 5px;
}

.auth-card .form-group small {
    display: block;
    margin-top: 7px;
    color: #777078;
    font-size: 12px;
    line-height: 1.5;
}

/* Keep the existing footer visually consistent */
.site-footer {
    margin-top: 0;
}

@media (max-width: 600px) {
    .auth-section {
        padding: 32px 14px 45px;
    }

    .auth-card,
    .auth-card.auth-card-small {
        max-width: 100%;
        padding: 28px 20px;
        border-radius: 13px;
    }

    .auth-card h1 {
        font-size: 29px;
    }

    .auth-intro {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .auth-card .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .auth-card .form-group {
        margin-bottom: 19px;
    }
}

.dashboard-profile-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 20px 0;
}

.dashboard-profile-links a {
    text-decoration: none;
}

@media (max-width: 600px) {
    .dashboard-profile-links {
        flex-direction: column;
    }

    .dashboard-profile-links a {
        text-align: center;
    }
}


/* =====================================================
   YOUR SHADI TOP BANNER CAROUSEL - FIXED
   Added directly to style.css so the carousel styles load
   ===================================================== */
.ys-hero,
.ys-hero * {
    box-sizing: border-box;
}
.ys-hero {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto 24px !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #f8ead7;
    line-height: 1;
}
.ys-hero .ys-slides {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: clamp(220px, 37.12vw, 590px) !important;
    overflow: hidden !important;
}
.ys-hero .ys-slide {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    z-index: 0 !important;
    transition: opacity .6s ease;
}
.ys-hero .ys-slide.is-active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 1 !important;
}
.ys-hero .ys-slide img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center !important;
    border: 0 !important;
}
.ys-hero .ys-arrow {
    position: absolute !important;
    z-index: 5 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 42px !important;
    height: 42px !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: rgba(70, 20, 30, .76) !important;
    color: #fff !important;
    font-size: 22px !important;
    line-height: 1 !important;
    cursor: pointer !important;
}
.ys-hero .ys-prev { left: 14px !important; }
.ys-hero .ys-next { right: 14px !important; }
.ys-hero .ys-dots {
    position: absolute !important;
    z-index: 5 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 13px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 9px !important;
}
.ys-hero .ys-dot {
    display: inline-block !important;
    width: 12px !important;
    height: 12px !important;
    min-width: 12px !important;
    padding: 0 !important;
    border: 2px solid #fff !important;
    border-radius: 50% !important;
    background: rgba(80, 40, 40, .4) !important;
    cursor: pointer !important;
}
.ys-hero .ys-dot.is-active { background: #9d1836 !important; }
@media (max-width: 700px) {
    .ys-hero .ys-slides { height: clamp(200px, 58vw, 360px) !important; }
    .ys-hero .ys-arrow { width: 34px !important; height: 34px !important; font-size: 18px !important; }
    .ys-hero .ys-prev { left: 8px !important; }
    .ys-hero .ys-next { right: 8px !important; }
    .ys-hero .ys-dots { bottom: 8px !important; gap: 7px !important; }
    .ys-hero .ys-dot { width: 10px !important; height: 10px !important; min-width: 10px !important; }
}
@media (prefers-reduced-motion: reduce) {
    .ys-hero .ys-slide { transition: none !important; }
}

/* Adjust navbar content slightly to the right */
.site-header .navbar {
    padding-left: 30px;
    padding-right: 30px;
}


/* Your Shadi: desktop header layout correction */
@media (min-width: 901px) {
    .site-header .navbar {
        display: flex;
        justify-content: flex-start;
        gap: 18px;
    }

    .site-header .brand {
        flex: 0 0 auto;
        margin-right: 8px;
        white-space: nowrap;
    }

    .site-header .main-nav {
        display: flex;
        flex: 1 1 auto;
        justify-content: space-evenly;
        align-items: center;
        gap: 12px;
        min-width: 0;
        margin: 0;
    }

    .site-header .main-nav a {
        white-space: nowrap;
        font-size: 14px;
    }

    .site-header .nav-actions {
        flex: 0 0 auto;
        gap: 10px;
    }
}



/* Tighten spacing between header navigation options */
@media (min-width: 901px) {
    .site-header .navbar {
        gap: 12px;
    }

    .site-header .brand {
        margin-right: 0;
    }

    .site-header .main-nav {
        justify-content: flex-start;
        gap: 16px;
        margin-left: 8px;
    }

    .site-header .main-nav a {
        white-space: nowrap;
        font-size: 13px;
    }

    .site-header .nav-actions {
        gap: 8px;
    }
}

/* Final navbar spacing override */
@media (min-width: 901px) {
    .site-header .navbar {
        gap: 8px !important;
    }

    .site-header .main-nav {
        flex: 1 1 auto !important;
        justify-content: flex-start !important;
        gap: 8px !important;
        margin-left: 0 !important;
        min-width: 0 !important;
    }

    .site-header .main-nav a {
        font-size: 13px !important;
        white-space: nowrap !important;
    }

    .site-header .brand {
        flex-shrink: 0 !important;
        margin-right: 0 !important;
    }

    .site-header .nav-actions {
        flex-shrink: 0 !important;
        gap: 8px !important;
    }
}

/* Your Shadi mobile navigation: one consistent implementation */
@media screen and (max-width: 900px) {
    .site-header .container.navbar {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        position: relative !important;
        overflow: visible !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    .site-header .container.navbar > .mobile-menu-btn {
        display: block !important;
        margin-left: auto !important;
        position: relative !important;
        z-index: 1002 !important;
        cursor: pointer !important;
        color: #333 !important;
        font-size: 28px !important;
        line-height: 1.2 !important;
        padding: 5px 8px !important;
        background: #fff !important;
    }

    .site-header .container.navbar:not(.mobile-menu-open) > .main-nav,
    .site-header .container.navbar:not(.mobile-menu-open) > .nav-actions {
        display: none !important;
    }

    .site-header .container.navbar.mobile-menu-open > .main-nav {
        display: flex !important;
        flex: 0 0 100% !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        order: 10 !important;
        width: 100% !important;
        min-width: 0 !important;
        gap: 0 !important;
        margin: 0 !important;
        padding: 6px 0 !important;
        background: #fff !important;
        border-top: 1px solid #eee !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        max-height: 65vh !important;
        overflow-y: auto !important;
    }

    .site-header .container.navbar.mobile-menu-open > .main-nav a {
        display: block !important;
        width: 100% !important;
        padding: 13px 16px !important;
        margin: 0 !important;
        color: #444 !important;
        background: #fff !important;
        border-bottom: 1px solid #eee !important;
        white-space: normal !important;
        text-align: left !important;
    }

    .site-header .container.navbar.mobile-menu-open > .nav-actions {
        display: flex !important;
        flex: 0 0 100% !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        order: 11 !important;
        width: 100% !important;
        gap: 10px !important;
        margin: 0 !important;
        padding: 12px 8px !important;
        background: #fff !important;
        border-top: 1px solid #eee !important;
    }

    .site-header .container.navbar.mobile-menu-open > .nav-actions a,
    .site-header .container.navbar.mobile-menu-open > .nav-actions button {
        max-width: 100% !important;
    }
}


/* Your Shadi mobile menu: keep every navigation item reachable */
@media screen and (max-width: 900px) {
    .site-header .container.navbar.mobile-menu-open {
        max-height: calc(100vh - 12px) !important;
        max-height: calc(100dvh - 12px) !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        align-content: flex-start !important;
        -webkit-overflow-scrolling: touch;
    }

    .site-header .container.navbar.mobile-menu-open > .main-nav {
        max-height: none !important;
        overflow: visible !important;
        flex: 0 0 100% !important;
        height: auto !important;
    }

    .site-header .container.navbar.mobile-menu-open > .nav-actions {
        display: flex !important;
        flex: 0 0 100% !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        flex-wrap: wrap !important;
    }

    .site-header .container.navbar.mobile-menu-open > .ys-member-identity {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}
