/* Unity – main stylesheet */

/* =========================================
    FULL BLEED UTILITIES
    ========================================= */
.full-bleed {
    width: calc(100vw - var(--unity-scrollbar-width, 0px));
    max-width: calc(100vw - var(--unity-scrollbar-width, 0px));
    margin-left: calc(50% - 50vw + (var(--unity-scrollbar-width, 0px) / 2));
    margin-right: calc(50% - 50vw + (var(--unity-scrollbar-width, 0px) / 2));
}

.full-bleed-inner {
    max-width: var(--unity-content-width, 1280px);
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
}

/* =========================================
    HEADER
    ========================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    transition: background 0.3s ease, box-shadow 0.3s ease, top 0.1s ease;
}

/* Push header below WP admin bar */
.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

@media screen and (max-width: 782px) {
    .site-header.is-sticky,
    .admin-bar .site-header.is-sticky {
        top: 0;
    }
}

.site-header.is-sticky {
    background: #fff;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--unity-content-width, 1100px);
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    gap: 24px;
}

/* Logo */
.header-logo__text {
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
}

.is-sticky .header-logo__text {
    color: #0e1e3a;
}

.header-logo img {
    height: auto;
    width: 115px;
}

/* Nav */
.header-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    margin-right: 30px;
}

.header-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 32px;
    font-family: var(--unity-font-montserrat);
    justify-content: flex-end;
}

.header-nav__list a {
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #98221F;
    transition: color 0.3s ease;
    font-family: "Montserrat", sans-serif;
    text-transform: uppercase;
}

.is-sticky .header-nav__list a {
    color: #434343;
}

.header-nav__list a:hover {
    color: #DCA447;
}

.header-nav__list .current-menu-item a {
    color: #DCA447;
}

/* CTA */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 24px;
    border-radius: 100px;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
    font-family: var(--unity-font-montserrat);
}

.btn--primary {
    background: #B30000;
    color: #fff;
}

.btn--primary:hover {
    background: #98221F;
    color: #fff;
    opacity: 0.9;
}

/* Push page content below fixed header */
body {
    padding-top: 72px;
}

/* =========================================
   HERO CAROUSEL
   ========================================= */
.hero-carousel {
    position: relative;
    width: calc(100vw - var(--unity-scrollbar-width, 0px));
    max-width: calc(100vw - var(--unity-scrollbar-width, 0px));
    overflow: hidden;
    margin-left: calc(50% - 50vw + (var(--unity-scrollbar-width, 0px) / 2));
    margin-right: calc(50% - 50vw + (var(--unity-scrollbar-width, 0px) / 2));
    margin-top: -72px; /* bleed under fixed header */
}

.admin-bar .hero-carousel {
    margin-top: -104px; /* 72px header + 32px admin bar */
}

@media screen and (max-width: 782px) {
    .admin-bar .hero-carousel {
        margin-top: -118px;
    }
}

.hero-carousel__track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    will-change: transform;
}

.hero-carousel__slide {
    min-width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-carousel__slide.is-no-image {
    background-image: linear-gradient(135deg, #17366e 0%, #0e1e3a 100%);
}

.hero-carousel__slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.15) 50%, transparent 100%);
}

.hero-carousel__caption {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    padding: 0 24px 80px;
    max-width: 760px;
}

.hero-carousel__caption h2 {
    margin: 0 0 12px;
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero-carousel__caption p {
    margin: 0;
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 0.9;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.hero-carousel__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
    backdrop-filter: blur(4px);
}

.hero-carousel__arrow:hover {
    background: rgba(255,255,255,0.3);
}

.hero-carousel__arrow--prev { left: 24px; }
.hero-carousel__arrow--next { right: 24px; }

.hero-carousel__dots {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.hero-carousel__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(203, 168, 76, 0.7);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.hero-carousel__dot.is-active {
    background: var(--unity-color-primary, #cba84c);
    border-color: var(--unity-color-primary, #cba84c);
}

/* =========================================
   HOME NEWS
   ========================================= */
.home-news-section {
    margin-top: 0;
    background: unset;
}

.home-news-card {
    min-height: 340px;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.home-news-card--cover {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 340px;
    display: flex;
    align-items: flex-end;
}

.home-news-card__cover-media {
    display: none;
}

.home-news-card--split {
    display: flex;
    min-height: 340px;
}

.home-news-card__half {
    width: 50%;
}

.home-news-card__half--image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.home-news-card__half--content {
    background: var(--unity-color-primary, #cba84c);
    display: flex;
}

/* =========================================
   FLOATING ACTIONS + FOOTER TEST MODAL
   ========================================= */
.unity-floating-actions {
    position: fixed;
    right: 16px;
    bottom: 150px;
    z-index: 1150;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.unity-floating-actions__btn {
    width: 50px;
    height: 50px;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    background: #FF9F00;
    box-shadow: 0 0 0 4px rgba(255, 159, 0, 0.15), 0 10px 22px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.unity-floating-actions__icon {
    width: 20px;
    height: 20px;
    display: block;
    object-fit: contain;
}

.unity-floating-actions__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.24);
}

.unity-floating-actions__btn.is-zalo {
    background: #FF9F00;
}

.unity-floating-actions__icon--zalo {
    width: 30px;
    height: 30px;
}

.unity-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
}

.unity-modal.is-open {
    display: block;
}

.unity-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.unity-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(560px, calc(100% - 32px));
    margin: 10vh auto 0;
    background: #fff;
    border-radius: 14px;
    --unity-modal-pad: 24px;
    padding: 24px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    max-height: 80vh;
    overflow: auto;
}

.unity-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-left: calc(var(--unity-modal-pad) * -1);
    margin-right: calc(var(--unity-modal-pad) * -1);
    padding-left: var(--unity-modal-pad);
    padding-right: var(--unity-modal-pad);
    padding-bottom: 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid #e4e7ec;
}

.unity-modal--no-separator .unity-modal__header {
    padding-bottom: 0;
    margin-bottom: 8px;
    border-bottom: 0;
}

.unity-modal__close {
    width: 32px;
    height: 32px;
    border: 0;
    background: transparent;
    color: #222;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    flex: 0 0 auto;
}

.unity-modal__title {
    margin: 0;
    font-size: 1.5rem;
    color: #0e1e3a;
}

.unity-modal__text {
    margin: 0;
    color: #444;
}

.unity-modal__subtitle {
    margin: 0;
    color: #475467;
    font-size: 0.95rem;
    line-height: 1.6;
}

.unity-modal__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
}

.unity-modal__action-btn {
    width: 100%;
    min-height: 44px;
    border-radius: 999px;
    border: 1px solid #181d27;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.unity-modal__action-btn.is-secondary {
    background: #fff;
    color: #252B37;
    border-color: #252B37;
}

.unity-modal__action-btn.is-primary {
    background: #98221F;
    border-color: #98221F;
    color: #fff;
}

.unity-modal .footer-contact-form .form-control {
    border: 1px solid #d7dce5;
    background: #fff;
}

.unity-modal .footer-contact-form .form-control:focus {
    border-color: #cba84c;
    box-shadow: 0 0 0 0.18rem rgba(203, 168, 76, 0.2);
}

@media (max-width: 767px) {
    .unity-floating-actions {
        right: 12px;
        bottom: 50px;
        gap: 15px;
    }

    .unity-floating-actions__btn {
        width: 50px;
        height: 50px;
    }

    .unity-modal__dialog {
        margin-top: 6vh;
        --unity-modal-pad: 18px;
        padding: 18px;
    }
}

.home-news-card__content {
    padding: 28px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
}

.home-news-card__content--dark {
    justify-content: center;
}

.home-news-card__content--separated {
    justify-content: space-between;
}

.home-news-card__meta {
    display: block;
}

.home-news-card__date {
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 10px;
}

.home-news-card__title {
    margin: 0 0 16px;
    font-size: clamp(1.05rem, 1.6vw, 1.45rem);
    line-height: 1.35;
}

.home-news-card__cta {
    display: inline-block;
    width: fit-content;
    padding: 0;
    border: 0;
    color: #fff;
    text-decoration: none;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.75);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.home-news-card__cta:hover {
    color: #cbd2e3;
    border-color: #cbd2e3;
}

@media (hover: hover) and (pointer: fine) {
    .home-news-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 36px rgba(14, 30, 58, 0.16);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-news-card {
        transition: none;
    }
}

@media (max-width: 600px) {
    .home-news-section {
        padding: 16px;
    }

    .home-news-section .row {
        gap: 16px;
    }

    .home-news-card,
    .home-news-card--cover,
    .home-news-card--split {
        min-height: 0;
        border-radius: 14px;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 8px 24px rgba(14, 30, 58, 0.08);
    }

    .home-news-card--split {
        flex-direction: column;
    }

    .home-news-card--cover {
        background-image: none !important;
        display: block;
    }

    .home-news-card__cover-media,
    .home-news-card__half--image {
        display: block;
        width: 100%;
        min-height: 220px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        order: 1;
    }

    .home-news-card--split .home-news-card__half--image {
        flex: 0 0 220px;
        min-height: 220px;
    }

    .home-news-card__half--content,
    .home-news-card__content {
        background: #fff;
    }

    .home-news-card__half--content {
        order: 2;
        width: 100%;
        min-height: 0;
    }

    .home-news-card__half {
        width: 100%;
        min-height: 0;
    }

    .home-news-card__content,
    .home-news-card__content--dark,
    .home-news-card__content--separated {
        justify-content: flex-start;
        gap: 12px;
        padding: 18px 16px;
        color: #0e1e3a;
    }

    .home-news-card__date {
        color: rgba(14, 30, 58, 0.65);
        margin-bottom: 0;
    }

    .home-news-card__title {
        margin: 0;
        color: #0e1e3a;
        font-size: 1.1rem;
    }

    .home-news-card__cta {
        color: var(--unity-color-primary, #cba84c);
        border-color: rgba(203, 168, 76, 0.6);
    }

    .home-news-card__cta:hover {
        color: var(--unity-color-secondary, #513711);
        border-color: var(--unity-color-secondary, #513711);
    }

    .hero-carousel__arrow {
        width: 38px;
        height: 38px;
    }

    .hero-carousel__arrow--prev { left: 12px; }
    .hero-carousel__arrow--next { right: 12px; }
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
    background-color: #F5F1E6;
    color: #5D5D5D;
}

.site-footer .container {
    max-width: 1200px;
}

.site-footer a {
    color: #434343;
    text-decoration: none;
}

.site-footer a:hover {
    color: #5D5D5D;
}

.footer-logo img,
.footer-logo .custom-logo,
.footer-logo-img {
    max-width: 300px;
    height: auto;
    margin-bottom: 15px;
}

.footer-logo-text {
    color: #fff;
}

.footer-site-name {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}

.footer-separator {
    width: 375px;
    border: 0;
    border-top: 2px solid #979797;
    margin: 14px 0 18px;
}

.footer-contact-list,
.footer-social-list,
.footer-links-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-contact-list li,
.footer-social-list li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.footer-links-list li {
    margin-bottom: 10px;
}

.footer-links-list a {
    color: #434343;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links-list a:hover {
    color: #5D5D5D;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact-list i {
    margin-top: 3px;
    font-size: 0.95rem;
}

.footer-title {
    color: #5D5D5D;
    font-size: 1.1rem;
    margin-bottom: 14px;
}

.footer-google-map {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.footer-google-map iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 260px;
    max-height: 260px;
    border: 0;
}

@media (max-width: 767px) {
    .footer-google-map iframe {
        height: 220px;
        max-height: 220px;
    }
}

.footer-contact-form .form-control,
.footer-form-wrap .wpcf7 input[type="text"],
.footer-form-wrap .wpcf7 input[type="email"],
.footer-form-wrap .wpcf7 input[type="tel"],
.footer-form-wrap .wpcf7 input[type="url"],
.footer-form-wrap .wpcf7 input[type="number"],
.footer-form-wrap .wpcf7 input[type="date"],
.footer-form-wrap .wpcf7 select,
.footer-form-wrap .wpcf7 textarea {
    background: #fff;
    border: 1px solid #fff;
    color: #23262d;
    width: 100%;
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
}

.footer-form-wrap .wpcf7 textarea {
    min-height: 182px;
    height: 182px;
    resize: none;
}

.footer-contact-form .form-control::placeholder,
.footer-form-wrap .wpcf7 input::placeholder,
.footer-form-wrap .wpcf7 textarea::placeholder {
    color: #6d7280;
}

.footer-contact-form .form-control:focus,
.footer-form-wrap .wpcf7 input[type="text"]:focus,
.footer-form-wrap .wpcf7 input[type="email"]:focus,
.footer-form-wrap .wpcf7 input[type="tel"]:focus,
.footer-form-wrap .wpcf7 input[type="url"]:focus,
.footer-form-wrap .wpcf7 input[type="number"]:focus,
.footer-form-wrap .wpcf7 input[type="date"]:focus,
.footer-form-wrap .wpcf7 select:focus,
.footer-form-wrap .wpcf7 textarea:focus {
    background: #fff;
    border-color: #fff;
    color: #23262d;
    box-shadow: none;
}

.footer-contact-form .form-label,
.footer-form-wrap .wpcf7 p {
    margin-bottom: 6px;
}

.footer-form-wrap .wpcf7 p {
    margin-top: 0;
}

.footer-form-wrap .wpcf7 form {
    margin: 0;
}

.footer-form-wrap .wpcf7 .wpcf7-form-control-wrap {
    display: block;
}

.footer-form-wrap .wpcf7 .wpcf7-not-valid-tip {
    margin-top: 6px;
    color: #ffb2b2;
    font-size: 0.875rem;
}

.footer-form-wrap .wpcf7-response-output {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 0.375rem;
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
}

.footer-submit-btn {
    min-width: 120px;
    font-weight: 600;
    background-color: #cba84c;
    border-radius: 6px;
}
.footer-form-wrap .wpcf7 .wpcf7-submit {
    min-width: 120px;
    font-weight: 600;
    background-color: #cba84c;
    color: #fff;
    border: 0;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.footer-submit-btn:hover {
    background-color: #513711;
    color: #fff;
}
.footer-form-wrap .wpcf7 .wpcf7-submit:hover {
    background-color: #513711;
    color: #fff;
}

/* Reusable CF7 style set (independent from footer). */
.unity-cf7-form input[type="text"],
.unity-cf7-form input[type="email"],
.unity-cf7-form input[type="tel"],
.unity-cf7-form input[type="url"],
.unity-cf7-form input[type="number"],
.unity-cf7-form input[type="date"],
.unity-cf7-form select,
.unity-cf7-form textarea {
    width: 100%;
    background: #F5F1E6;
    border: 1px solid #d9dee8;
    color: #23262d;
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
}

.unity-cf7-form textarea {
    min-height: 182px;
    height: 182px;
    resize: none;
}

.unity-cf7-form input::placeholder,
.unity-cf7-form textarea::placeholder {
    color: #6d7280;
}

.unity-cf7-form input[type="text"]:focus,
.unity-cf7-form input[type="email"]:focus,
.unity-cf7-form input[type="tel"]:focus,
.unity-cf7-form input[type="url"]:focus,
.unity-cf7-form input[type="number"]:focus,
.unity-cf7-form input[type="date"]:focus,
.unity-cf7-form select:focus,
.unity-cf7-form textarea:focus {
    border-color: #961609;
    background: #F5F1E6;
    box-shadow: none;
    outline: none;
}

.unity-cf7-form p {
    margin-top: 0;
    margin-bottom: 6px;
}

.unity-cf7-form .wpcf7-form-control-wrap {
    display: block;
}

.unity-cf7-form .wpcf7-not-valid-tip {
    margin-top: 6px;
    color: #c52f2f;
    font-size: 0.875rem;
}

.unity-cf7-form .wpcf7-response-output {
    margin: 12px 0 0;
    padding: 10px 12px;
    border-radius: 0.375rem;
}

.unity-cf7-form .wpcf7-submit,
.unity-cf7-form input[type="submit"] {
    min-width: 120px;
    font-weight: 600;
    background-color: #CE8904;
    color: #fff;
    border: 0;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.unity-cf7-form .wpcf7-submit:hover,
.unity-cf7-form input[type="submit"]:hover {
    background-color: #9c6803;
    color: #fff;
}

.footer-text {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

.footer-social-list a {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.footer-social-list {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-social-list li {
    margin-bottom: 0;
}

.footer-social-list a img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    display: block;
}

.footer-social-list a:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: #fff;
}

.footer-bottom {
    background: #fff;
    color: #0A3919;
    border-top: 1px solid #e8e8e8;
    text-align: center;
}

.footer-bottom small {
    font-size: 0.9rem;
}
.footer-muted {
    color: #BABABA;
}

.info-box {
    width: 100%;
}

@media (max-width: 1024px) {
    .info-box {
        width: unset;
    }
    .info-title {
        width: 100%;
        text-align: center;
        padding: 30px 0;
        background-color: #cba84c;
        border-radius: 30px 30px 0 0;
    }
}

@media (max-width: 767px) {
    .footer-bottom small {
        font-size: 11px;
    }
}

/* =========================================
   HAMBURGER BUTTON
   ========================================= */
.header-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    z-index: 1100;
}

.header-hamburger__bar {
    display: block;
    width: 24px;
    height: 2px;
    background: #cba84c;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
    transform-origin: center;
}

.is-sticky .header-hamburger__bar {
    background: #cba84c;
}

/* X state */
.header-hamburger.is-open .header-hamburger__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.header-hamburger.is-open .header-hamburger__bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.header-hamburger.is-open .header-hamburger__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 991px) {
    .header-hamburger {
        display: flex;
    }

    .header-nav,
    .header-cta {
        display: none;
    }
}

/* =========================================
   MOBILE DRAWER
   ========================================= */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100dvh;
    background: #fff;
    z-index: 1090;
    display: flex;
    flex-direction: column;
    padding: 0 0 40px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
    padding: 14px 20px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.mobile-drawer__logo img,
.mobile-drawer__logo .custom-logo {
    height: 36px;
    width: auto;
    display: block;
}

.mobile-drawer {
    padding-left: 28px;
    padding-right: 28px;
}
.mobile-drawer nav {
    padding-left: 0px;
    padding-right: 0px;
}
.mobile-drawer__search {
    padding-left: 0px;
    padding-right: 0px;    
}

.mobile-drawer nav {
    padding-top: 16px;
}

.mobile-drawer__close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border: 1px solid #e1e1e1;
    border-radius: 50%;
    color: #222222;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s ease;
    flex-shrink: 0;
}

/* =========================================
   RECRUITMENT LIST SHORTCODE
   ========================================= */
.unity-recruitment-list {
    width: 100%;
}

.unity-recruitment-list__items {
    display: grid;
    gap: 30px;
}

.unity-recruitment-item {
    width: 100%;
    background: #f5f1e6;
    padding: 18px 20px;
}

.unity-recruitment-item__row--head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #d9cfbe;
}

.unity-recruitment-item__title {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.4;
}

.unity-recruitment-item__title a {
    color: #333333;
    font-weight: 600;
    text-decoration: none;
    text-transform: capitalize;
}

.unity-recruitment-item__title a:hover {
    color: #98221f;
}

.unity-recruitment-item__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    line-height: 1;
}

.unity-recruitment-item__cta:hover {
    opacity: 0.8;
}

.unity-recruitment-item__cta-icon {
    display: block;
    width: 38px;
    height: auto;
}

.unity-recruitment-item__meta {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
    font-size: 0.95rem;
    color: #000000;
    justify-content: space-between;
    
}
@media (max-width: 767px) {
    .unity-recruitment-item__meta {
        flex-direction: column;
        gap: 6px;
    }
}

.unity-recruitment-list__empty {
    margin: 0;
}

/* =========================================
   RECRUITMENT SINGLE
   ========================================= */
.unity-recruitment-single {
    width: 100%;
}

.unity-recruitment-single .container {
    max-width: 1200px;
}

.unity-recruitment-single__back {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #98221f;
    font-weight: 600;
    margin-bottom: 20px;
}

.unity-recruitment-single__back:hover {
    color: #7f1b18;
}

.unity-recruitment-single__title {
    margin: 0 0 10px;
    color: #98221F;
    font-weight: 700;
    font-size: 46px;
    font-family: "Montserrat", sans-serif;
}

.unity-recruitment-single__date {
    margin: 0 0 20px;
    color: #555555;
}

.unity-recruitment-single__content {
    color: #1f1f1f;
}

.menu__search {
    margin: 14px 0 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menu__search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border-radius: 100px;
    background: #fff;
    border: 1px solid #CCCCCC;
}

.menu__search-icon {
    width: 18px;
    height: 18px;
    color: #666;
    flex: 0 0 18px;
    order: 1;
}

.menu__search-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.menu__search-box input {
    width: 100%;
    border: 0;
    background: transparent;
    color: #222222;
    outline: none;
    order: 2;
}

.menu__search-box input::placeholder {
    color: #8a8a8a;
}

@media (max-width: 767px) {
    /* .unity-recruitment-item__row--head {
        align-items: flex-start;
        flex-direction: column;
    } */
    .menu__search {
        display: none;
    }
}

.mobile-drawer__close:hover {
    background: #ececec;
}

.mobile-drawer.is-open {
    transform: translateX(0);
}

/* Offset for WordPress admin bar */
.admin-bar .mobile-drawer {
    top: 32px;
    height: calc(100dvh - 32px);
}

@media screen and (max-width: 782px) {
    .admin-bar .mobile-drawer {
        top: 46px;
        height: calc(100dvh - 46px);
    }
}

.mobile-drawer__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    font-family: var(--unity-font-montserrat);
}

.mobile-drawer__list .menu-item {
    border-bottom: 1px solid #ececec;
}

.mobile-drawer__list a {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
    font-weight: 500;
    color: #434343;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mobile-drawer__list a:hover {
    color: #434343;
}

.mobile-drawer__cta {
    margin-top: 28px;
}

.mobile-drawer__cta .btn {
    width: 100%;
    justify-content: center;
}

.mobile-drawer__search {
    margin: 14px 0 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-drawer__search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border-radius: 100px;
    background: #fff;
    border: 1px solid #CCCCCC;
}

.mobile-drawer__search-icon {
    width: 18px;
    height: 18px;
    color: #666;
    flex: 0 0 18px;
    order: 2;
}

.mobile-drawer__search-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.mobile-drawer__search-box input {
    width: 100%;
    border: 0;
    background: transparent;
    color: #222222;
    outline: none;
    order: 1;
}

.mobile-drawer__search-box input::placeholder {
    color: #8a8a8a;
}

/* Overlay */
.mobile-drawer__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1080;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.mobile-drawer__overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

/* =========================================
   LAYOUT UTILITIES
   ========================================= */
.u-reveal-up {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s ease, transform 0.55s ease;
    will-change: opacity, transform;
}

.u-reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .u-reveal-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.u-mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}

.u-container-1280 {
    width: 100%;
    max-width: 1280px;
    margin-left: auto !important;
    margin-right: auto !important;
}

.unity-desktop-only {
    display: block !important;
}

.unity-mobile-only {
    display: none !important;
}

.unity-blog-card {
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.unity-blog-card__image {
    transition: transform 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
    /* .unity-blog-card:hover {
        transform: translateY(-6px);
        border-color: #d7e0ee;
        box-shadow: 0 16px 34px rgba(14, 30, 58, 0.16);
    } */

    .unity-blog-card:hover .unity-blog-card__image {
        transform: scale(1.03);
    }
}

@media (prefers-reduced-motion: reduce) {
    .unity-blog-card,
    .unity-blog-card__image {
        transition: none;
    }
}

@media (max-width: 767.98px) {
    .unity-desktop-only {
        display: none !important;
    }

    .unity-mobile-only {
        display: block !important;
    }
}

.footer-contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.footer-contact-form__col p {
  margin: 0 0 12px;
}

.footer-contact-form__col--right textarea {
  min-height: 177px;
height: 177px;
}

@media (max-width: 991.98px) {
  .footer-contact-form__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
    .hero-carousel__slide {
        height: 500px;
    }

    .hero-banner__slide,
    .unity-news-hero .hero-banner__slide {
        min-height: 500px;
        height: 500px;
    }
}

/* =========================================
    SWIPER SLIDE OVERLAY
    ========================================= */

/* .property-slide .swiper-slide-active::after,
.property-slide .swiper-slide-prev::after,
.property-slide .swiper-slide-duplicate-active::after,
.property-slide .swiper-slide-duplicate-prev::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(220, 164, 71, 0.15);
    backdrop-filter: brightness(0.85);
    pointer-events: none;
    z-index: 1;
} */

.property-slide .swiper-slide-active,
.property-slide .swiper-slide-prev,
.property-slide .swiper-slide-duplicate-active,
.property-slide .swiper-slide-duplicate-prev {
	opacity: 0.2;
}
@media (max-width: 768px) {
	.property-slide .swiper-slide-active,
	.property-slide .swiper-slide-prev,
	.property-slide .swiper-slide-duplicate-active,
	.property-slide .swiper-slide-duplicate-prev {
		opacity: 1;
	}
}

.brand-logo-list > div > div:not(:nth-last-child(-n + 3))::before {
    content: "";
    position: absolute;
	top: unset;
    bottom: 0;
    left: 15px;
    width: calc(100% - 30px);
    height: 2px;
    background-color: #efefef;
    z-index: 2;
}

.brand-logo-list > div > div:not(:nth-child(3n))::after {
    content: "";
    position: absolute;
    top: 15px;
    right: 0;
    width: 2px;
    height: calc(100% - 30px);
    background-color: #efefef;
    z-index: 2;
}

/* =========================================
   SCROLL-DRIVEN LOGO BACKGROUND
   ========================================= */
.logo-background {
    will-change: transform;
    transform: translateX(0);
    pointer-events: none;
}

/* Progressive enhancement: move left only while element is in view */
@supports (animation-timeline: view()) {
    .logo-background {
        animation-name: logo-background-drift-left;
        animation-duration: 1ms;
        animation-timing-function: linear;
        animation-fill-mode: both;
        animation-timeline: view();
        animation-range: entry 0% cover 100%;
    }
}

@keyframes logo-background-drift-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-200px);
    }
}