:root {
    --site-navy: #11233f;
    --site-navy-deep: #0a1730;
    --site-gold: #c9a86a;
    --site-line: rgba(17, 35, 63, 0.13);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1100;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--site-line);
    box-shadow: 0 8px 24px rgba(17, 35, 63, 0.06);
}

.site-header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 84px;
}

.site-logo,
.site-mobile-logo {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
}

.site-logo img {
    display: block;
    width: auto;
    height: 58px;
    max-width: 190px;
    object-fit: contain;
}

.site-nav {
    flex: 1 1 auto;
    min-width: 0;
}

.site-nav-list,
.site-nav-dropdown,
.site-mobile-nav-list,
.site-mobile-nav-list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    column-gap: clamp(8px, 1vw, 18px);
    row-gap: 1px;
}

.site-nav-list > li {
    position: relative;
    white-space: nowrap;
}

.site-nav-list a,
.site-nav-parent-label,
.site-nav-dropdown-toggle {
    color: var(--site-navy);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.2;
    text-decoration: none;
}

.site-nav-list > li > a,
.site-nav-link-group > a,
.site-nav-parent-label {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    padding: 12px 0;
    transition: color 180ms ease;
}

.site-nav-list > li > a::after,
.site-nav-link-group > a::after {
    display: block;
    position: absolute;
    right: 0;
    bottom: 5px;
    left: 0;
    height: 2px;
    background: var(--site-gold);
    content: '';
    opacity: 0;
    transform: scaleX(0.4);
    transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav-list > li > a:hover,
.site-nav-list > li > a.is-active,
.site-nav-link-group > a:hover,
.site-nav-link-group > a.is-active,
.site-nav-item-has-dropdown:hover .site-nav-link-group > a,
.site-nav-item-has-dropdown:focus-within .site-nav-link-group > a {
    color: var(--site-gold);
}

.site-nav-list > li > a:hover::after,
.site-nav-list > li > a.is-active::after,
.site-nav-link-group > a:hover::after,
.site-nav-link-group > a.is-active::after,
.site-nav-item-has-dropdown:hover .site-nav-link-group > a::after,
.site-nav-item-has-dropdown:focus-within .site-nav-link-group > a::after {
    opacity: 1;
    transform: scaleX(1);
}

.site-nav-link-group {
    display: flex;
    align-items: center;
}

.site-nav-link-group > a {
    position: relative;
}

.site-nav-parent-label {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 9px 0;
    color: #fff;
}

.site-nav-parent-label::after {
    position: absolute;
    right: 0;
    bottom: 3px;
    left: 0;
    height: 2px;
    background: var(--site-gold);
    content: '';
    opacity: 0;
    transform: scaleX(0);
    transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav-item-has-dropdown:hover .site-nav-parent-label,
.site-nav-item-has-dropdown:focus-within .site-nav-parent-label,
.site-nav-parent-label.is-active {
    color: #fff;
}

.site-nav-item-has-dropdown:hover .site-nav-parent-label::after,
.site-nav-item-has-dropdown:focus-within .site-nav-parent-label::after,
.site-nav-parent-label.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}

.site-nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.site-nav-dropdown-toggle i {
    font-size: 8px;
    transition: transform 180ms ease;
}

.site-nav-item-has-dropdown.is-open .site-nav-dropdown-toggle i {
    transform: rotate(180deg);
}

.site-nav-dropdown {
    position: absolute;
    top: calc(100% - 2px);
    left: -16px;
    z-index: 20;
    width: max-content;
    min-width: 220px;
    max-width: min(360px, calc(100vw - 48px));
    padding: 9px;
    border: 1px solid var(--site-line);
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 18px 36px rgba(17, 35, 63, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.site-nav-item-has-dropdown:hover .site-nav-dropdown,
.site-nav-item-has-dropdown:focus-within .site-nav-dropdown,
.site-nav-item-has-dropdown.is-open .site-nav-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.site-nav-dropdown a {
    display: block;
    padding: 11px 12px;
    border-radius: 3px;
    color: var(--site-navy);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.45;
    white-space: normal;
    transition: background-color 160ms ease, color 160ms ease, padding 160ms ease;
}

.site-nav-dropdown a:hover,
.site-nav-dropdown a:focus {
    padding-right: 16px;
    padding-left: 16px;
    background: rgba(201, 168, 106, 0.14);
    color: var(--site-navy-deep);
}

.site-language-switch {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 34px;
    border: 1px solid var(--site-navy);
    border-radius: 2px;
    color: var(--site-navy);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: background-color 180ms ease, color 180ms ease;
}

.site-language-switch:hover {
    background: var(--site-navy);
    color: #fff;
}

.site-language-menu {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 5px;
    border: 1px solid rgba(17, 35, 63, 0.08);
    border-radius: 20px;
    background: #dfba2f;
}

.site-language-label {
    padding: 0 4px 0 3px;
    color: var(--site-navy);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.02em;
}

.site-language-menu a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 28px;
    border-radius: 14px;
    color: var(--site-navy);
    line-height: 1;
    text-decoration: none;
    transition: background-color 160ms ease, transform 160ms ease;
}

.site-language-flag {
    font-size: 21px;
    line-height: 1;
}

.site-language-menu a:hover,
.site-language-menu a:focus,
.site-language-menu a.is-active {
    background: #fff;
    transform: translateY(-1px);
}

.site-language-menu a.is-active {
    box-shadow: 0 1px 3px rgba(17, 35, 64, 0.22);
}

.site-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 1px solid var(--site-line);
    border-radius: 2px;
    background: #fff;
    cursor: pointer;
}

.site-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    background: var(--site-navy);
}

.site-mobile-menu,
.site-mobile-menu-backdrop {
    display: none;
}

.carousel-img-wrapper {
    position: relative;
    min-height: clamp(440px, 58vw, 720px);
    overflow: hidden;
    background: var(--site-navy-deep);
}

.carousel-img-wrapper::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 23, 48, 0.78) 0%, rgba(10, 23, 48, 0.4) 42%, rgba(10, 23, 48, 0.04) 76%);
    content: '';
    pointer-events: none;
}

.carousel-img {
    display: block;
    width: 100%;
    min-height: clamp(440px, 58vw, 720px);
    object-fit: cover;
    object-position: center;
}

.home-slide-caption {
    position: absolute;
    top: 50%;
    left: max(6vw, calc((100vw - 1180px) / 2));
    z-index: 2;
    width: min(600px, 78vw);
    color: #fff;
    transform: translateY(-50%);
}

.home-slide-caption h2 {
    margin: 0 0 18px;
    color: #fff;
    font-family: var(--font-heading);
    font-size: clamp(30px, 4vw, 60px);
    font-weight: 600;
    letter-spacing: 0.025em;
    line-height: 1.12;
}

.home-slide-title,
.home-slide-title p {
    margin: 0;
    color: rgba(255, 255, 255, 0.96);
    font-family: var(--font-body);
    font-size: clamp(14px, 1.35vw, 19px);
    font-weight: 400;
    line-height: 1.7;
}

.home-slide-title p + p {
    margin-top: 4px;
}

html[dir="rtl"] .site-nav-dropdown {
    right: -16px;
    left: auto;
}

html[dir="rtl"] .site-nav-dropdown a:hover,
html[dir="rtl"] .site-nav-dropdown a:focus {
    padding-right: 16px;
    padding-left: 16px;
}

html[dir="rtl"] .home-slide-caption {
    right: max(6vw, calc((100vw - 1180px) / 2));
    left: auto;
    text-align: right;
}

html[dir="rtl"] .home-slide-caption h2,
html[dir="rtl"] .home-slide-title,
html[dir="rtl"] .home-slide-title p {
    font-family: var(--font-arabic);
}

@media (max-width: 1199px) and (min-width: 992px) {
    .site-header-inner {
        gap: 12px;
        min-height: 74px;
    }

    .site-logo img {
        height: 49px;
        max-width: 145px;
    }

    .site-nav-list {
        column-gap: 7px;
    }

    .site-nav-list a,
    .site-nav-dropdown-toggle {
        font-size: 9px;
    }

    .site-nav-list > li > a,
    .site-nav-link-group > a {
        min-height: 34px;
        padding: 8px 0;
    }

    .site-nav-dropdown-toggle {
        width: 17px;
        height: 34px;
    }
}

@media (max-width: 1199px) {
    .site-header-inner {
        min-height: 68px;
        justify-content: space-between;
    }

    .site-logo img {
        height: 50px;
        max-width: 170px;
    }

    .site-nav {
        display: none;
    }

    .site-language-switch {
        margin-left: auto;
    }

    .site-language-label {
        display: none;
    }

    .site-menu-toggle {
        display: block;
    }

    .site-mobile-menu-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1198;
        background: rgba(7, 17, 35, 0.54);
        opacity: 0;
        pointer-events: none;
        transition: opacity 220ms ease;
    }

    .site-mobile-menu-backdrop.is-visible {
        opacity: 1;
        pointer-events: auto;
    }

    .site-mobile-menu {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        z-index: 1199;
        width: min(390px, 88vw);
        height: 100vh;
        overflow-y: auto;
        padding: 20px 22px 36px;
        background: #fff;
        box-shadow: -18px 0 48px rgba(7, 17, 35, 0.2);
        transform: translateX(104%);
        transition: transform 260ms ease;
    }

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

    .site-menu-open {
        overflow: hidden;
    }

    .site-mobile-menu-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 58px;
        margin-bottom: 20px;
        border-bottom: 1px solid var(--site-line);
    }

    .site-mobile-logo img {
        width: auto;
        height: 46px;
        max-width: 160px;
        object-fit: contain;
    }

    .site-mobile-menu-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        padding: 0;
        border: 1px solid var(--site-line);
        border-radius: 2px;
        background: #fff;
        color: var(--site-navy);
        cursor: pointer;
    }

    .site-mobile-nav-list > li {
        border-bottom: 1px solid var(--site-line);
    }

    .site-mobile-nav-list a,
    .site-mobile-submenu-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        min-height: 52px;
        padding: 13px 0;
        border: 0;
        background: transparent;
        color: var(--site-navy);
        font-family: var(--font-body);
        font-size: 15px;
        font-weight: 600;
        line-height: 1.35;
        text-align: left;
        text-decoration: none;
    }

    .site-mobile-submenu-toggle {
        cursor: pointer;
    }

    .site-mobile-submenu-toggle i {
        font-size: 10px;
        transition: transform 180ms ease;
    }

    .site-mobile-nav-list .has-submenu.is-open > .site-mobile-submenu-toggle i {
        transform: rotate(180deg);
    }

    .site-mobile-nav-list .has-submenu > ul {
        display: none;
        margin: 0 0 12px;
        padding: 0 0 4px 14px;
        border-left: 2px solid rgba(201, 168, 106, 0.65);
    }

    .site-mobile-nav-list .has-submenu.is-open > ul {
        display: block;
    }

    .site-mobile-nav-list .has-submenu > ul a {
        min-height: 38px;
        padding: 8px 0;
        color: rgba(17, 35, 63, 0.78);
        font-size: 15px;
        font-weight: 500;
    }

    .carousel-img-wrapper,
    .carousel-img {
        min-height: clamp(460px, 78vw, 600px);
    }

    .home-slide-caption {
        left: 8vw;
        width: min(620px, 82vw);
    }

    html[dir="rtl"] .site-mobile-menu {
        right: auto;
        left: 0;
        transform: translateX(-104%);
    }

    html[dir="rtl"] .site-mobile-menu.is-open {
        transform: translateX(0);
    }

    html[dir="rtl"] .site-mobile-nav-list a,
    html[dir="rtl"] .site-mobile-submenu-toggle {
        font-family: var(--font-arabic);
        text-align: right;
    }

    html[dir="rtl"] .site-mobile-nav-list .has-submenu > ul {
        padding: 0 14px 4px 0;
        border-right: 2px solid rgba(201, 168, 106, 0.65);
        border-left: 0;
    }

    html[dir="rtl"] .home-slide-caption {
        right: 8vw;
        left: auto;
    }
}

@media (max-width: 575px) {
    .site-header-inner {
        gap: 10px;
        min-height: 62px;
    }

    .site-logo img {
        height: 43px;
        max-width: 145px;
    }

    .site-language-switch {
        min-width: 34px;
        height: 32px;
        font-size: 10px;
    }

    .site-menu-toggle {
        width: 38px;
        height: 38px;
        padding: 8px;
    }

    .carousel-img-wrapper,
    .carousel-img {
        min-height: 470px;
    }

    .carousel-img-wrapper::after {
        background: linear-gradient(90deg, rgba(10, 23, 48, 0.8) 0%, rgba(10, 23, 48, 0.5) 70%, rgba(10, 23, 48, 0.25) 100%);
    }

    .home-slide-caption {
        top: auto;
        bottom: 62px;
        left: 7vw;
        width: 84vw;
        transform: none;
    }

    .home-slide-caption h2 {
        margin-bottom: 13px;
        font-size: 32px;
    }

    .home-slide-title,
    .home-slide-title p {
        font-size: 14px;
        line-height: 1.55;
    }

    html[dir="rtl"] .home-slide-caption {
        right: 7vw;
        left: auto;
    }
}

/* Homepage header and hero treatment. */
.site-header {
    position: relative;
    top: auto;
    z-index: auto;
    border: 0;
    box-shadow: none;
}

.site-header-top {
    background: #fff;
}

.site-header-inner {
    min-height: 96px;
}

.site-logo img {
    height: 74px;
    max-width: 240px;
}

.site-header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
}

.site-header-contact {
    align-items: center;
    gap: 15px;
}

.site-header-contact a {
    color: var(--site-navy);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.site-header-contact i {
    margin-right: 5px;
    font-size: 10px;
}

.site-language-switch {
    min-width: 50px;
    height: 25px;
    border: 0;
    border-radius: 14px;
    background: #dfba2f;
    color: var(--site-navy);
    font-size: 10px;
    line-height: 1;
}

.site-language-switch:hover {
    background: var(--site-navy);
    color: #fff;
}

.site-nav-bar {
    position: relative;
    z-index: 1100;
    background: var(--site-navy);
}

.site-nav-bar.is-fixed {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 8px 20px rgba(7, 17, 35, 0.22);
}

.site-nav-bar-placeholder {
    display: none;
}

.site-nav-bar-placeholder.is-active {
    display: block;
}

.site-nav {
    width: 100%;
}

.site-nav-list {
    justify-content: center;
    flex-wrap: nowrap;
    column-gap: clamp(8px, 1vw, 18px);
}

.site-nav-list a,
.site-nav-parent-label,
.site-nav-dropdown-toggle {
    color: #fff;
    font-size: clamp(12px, 0.75vw, 15px);
    font-weight: 400;
    letter-spacing: 0;
    text-transform: uppercase;
}

.site-nav-list > li > a,
.site-nav-link-group > a {
    min-height: 34px;
    padding: 9px 0;
}

.site-nav-list > li > a::after,
.site-nav-link-group > a::after {
    bottom: 3px;
    background: var(--site-gold);
}

.site-nav-list > li > a:hover,
.site-nav-list > li > a.is-active,
.site-nav-link-group > a:hover,
.site-nav-link-group > a.is-active,
.site-nav-item-has-dropdown:hover .site-nav-link-group > a,
.site-nav-item-has-dropdown:focus-within .site-nav-link-group > a {
    color: #fff;
}

.site-nav-dropdown-toggle {
    width: 15px;
    height: 34px;
    color: rgba(255, 255, 255, 0.75);
}

.site-nav-dropdown {
    top: calc(100% - 1px);
    left: -10px;
    min-width: 225px;
    border-color: rgba(17, 35, 63, 0.12);
}

.site-nav-dropdown a {
    color: var(--site-navy);
    font-size: 14px;
    text-transform: none;
}

.carousel-img-wrapper {
    height: clamp(500px, 41.5vw, 800px);
    min-height: 0;
    background: #fff;
}

.home-hero-slider {
    width: 100vw;
    max-width: 100vw;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding-right: 0 !important;
    padding-left: 0 !important;
    border-top: 2px solid var(--site-gold);
    border-bottom: 2px solid var(--site-gold);
    overflow: hidden;
}

.home-hero-slider > .row,
.home-hero-slider > .row > [class*="col-"] {
    margin: 0;
    padding: 0;
}

.home-hero-slider .carousel,
.home-hero-slider .carousel-inner,
.home-hero-slider .carousel-item {
    width: 100%;
}

@media (min-width: 992px) {
    .home-hero-slider .carousel-img-wrapper {
        height: auto;
        min-height: 0;
    }

    .home-hero-slider .carousel-img {
        display: block;
        width: 100%;
        height: auto;
        min-height: 0;
        object-fit: initial;
    }
}

.carousel-img-wrapper::after {
    display: none;
}

.carousel-img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: fill;
}

.home-slide-caption {
    top: 16%;
    left: 7vw;
    width: min(52vw, 850px);
    color: var(--site-navy);
    transform: none;
}

.home-slide-caption h2 {
    margin: 0 0 14px;
    color: var(--site-navy);
    font-size: clamp(31px, 3.45vw, 66px);
    font-weight: 500;
    letter-spacing: 0.035em;
    line-height: 0.98;
}

.slide-headline-primary,
.slide-headline-secondary {
    display: block;
}

.slide-headline-secondary {
    margin-top: 6px;
    color: var(--site-gold);
    white-space: nowrap;
}

.home-slide-title,
.home-slide-title p {
    color: var(--site-navy);
    font-size: clamp(14px, 0.95vw, 20px);
    line-height: 1.55;
}

.home-slide-title p {
    margin: 0 0 11px;
}

.home-slide-title p:first-child {
    display: table;
    padding: 7px 10px;
    width: 650px; 
    max-width: 100%;
    background: var(--site-navy);
    color: #e2bd3c;
    /* font-size: clamp(11px, 0.82vw, 16px); */
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 0.18em;
    line-height: 1.5;
}


.home-slide-title p:nth-child(2) {
    color: #b68d1a;
    /* font-size: clamp(11px, 0.7vw, 14px); */
    font-size: 16px;
    letter-spacing: 0.08em;
}

.home-slide-title p:nth-child(3) {
    margin-top: 26px;
    color: var(--site-navy);
    /* font-size: clamp(14px, 0.9vw, 18px); */
    font-size: 16px;
    font-weight: 300;
}

.home-slide-title p:nth-child(4) {
    color: rgba(17, 35, 63, 0.74);
    /* font-size: clamp(12px, 0.78vw, 16px); */
    font-size: 16px;
    font-style: italic;
    font-weight: 300;

}

html[lang="ar"] .site-header-contact a,
html[lang="ar"] .site-nav-list a,
html[lang="ar"] .site-nav-dropdown-toggle,
html[lang="ar"] .site-mobile-nav-list a,
html[lang="ar"] .site-mobile-submenu-toggle,
html[lang="ar"] .home-slide-caption h2,
html[lang="ar"] .home-slide-title,
html[lang="ar"] .home-slide-title p {
    font-family: var(--font-arabic);
}

@media (min-width: 1200px) {
    html[lang="ar"] .site-nav-list {
        column-gap: clamp(5px, 0.55vw, 11px);
    }

    html[lang="ar"] .site-nav-list a,
    html[lang="ar"] .site-nav-dropdown-toggle {
        font-size: clamp(13px, 0.82vw, 16px);
        font-weight: 500;
    }

    html[lang="th"] .site-nav-list {
        column-gap: clamp(7px, 0.75vw, 14px);
    }

    html[lang="th"] .site-nav-list a,
    html[lang="th"] .site-nav-parent-label,
    html[lang="th"] .site-nav-dropdown-toggle {
        font-size: clamp(13px, 0.8vw, 15px);
        font-weight: 500;
        letter-spacing: 0;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .site-nav-list {
        column-gap: 4px;
    }

    .site-nav-list a,
    .site-nav-parent-label,
    .site-nav-dropdown-toggle,
    html[lang="ar"] .site-nav-list a,
    html[lang="ar"] .site-nav-dropdown-toggle {
        font-size: 11px;
        font-weight: 600;
    }
}

@media (max-width: 991px) {
    html[lang="ar"] .site-mobile-nav-list a,
    html[lang="ar"] .site-mobile-submenu-toggle {
        font-size: 16px;
        font-weight: 500;
    }
}

html[dir="rtl"] .site-header-actions {
    margin-right: auto;
    margin-left: 0;
}

html[dir="rtl"] .site-header-contact a {
    font-family: var(--font-arabic);
}

html[dir="rtl"] .site-nav-list a,
html[dir="rtl"] .site-nav-dropdown-toggle {
    font-family: var(--font-arabic);
    text-transform: none;
}

html[dir="rtl"] .home-slide-caption {
    top: 16%;
    right: 7vw;
    left: auto;
}

html[dir="rtl"] .home-slide-title p:first-child {
    display: table;
    margin-right: auto;
}

@media (max-width: 1199px) and (min-width: 992px) {
    .site-header-inner {
        min-height: 78px;
    }

    .site-logo img {
        height: 60px;
        max-width: 190px;
    }

    .site-header-contact {
        gap: 8px;
    }

    .site-header-contact a {
        font-size: 9px;
    }

    .site-nav-list {
        column-gap: 7px;
    }

    .site-nav-list a,
    .site-nav-dropdown-toggle {
        font-size: 8px;
    }

    .site-nav-bar {
        display: none;
    }
}

@media (max-width: 991px) {
    .site-header-inner {
        min-height: 70px;
    }

    .site-logo img {
        height: 54px;
        max-width: 175px;
    }

    .site-nav-bar {
        display: none;
    }

    .site-header-actions {
        gap: 10px;
    }

    .site-language-switch {
        margin-left: 0;
    }

    .carousel-img-wrapper {
        height: clamp(460px, 66vw, 620px);
    }

    .carousel-img {
        object-fit: cover;
        object-position: 68% center;
    }

    .home-slide-caption {
        top: 13%;
        left: 7vw;
        width: min(53vw, 440px);
        z-index: 4;
        padding: 16px;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 12px 28px rgba(17, 35, 63, 0.16);
    }

    .home-slide-caption h2 {
        display: block !important;
        position: static;
        z-index: 5;
        margin: 0 0 12px;
        color: var(--site-navy) !important;
        font-size: clamp(26px, 4.1vw, 45px);
        line-height: 1.05;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .home-slide-title p:first-child {
        padding: 6px 8px;
        letter-spacing: 0.1em;
    }

    .home-slide-title p:nth-child(3) {
        margin-top: 16px;
    }

    html[dir="rtl"] .home-slide-caption {
        top: 13%;
        right: 7vw;
        left: auto;
    }
       .home-slide-title p:first-child {
        display: table;
        width: auto;
        max-width: 100%;
        padding: 5px 6px;
        font-size: clamp(7px, 2.1vw, 10px);
        font-weight: 300;
        letter-spacing: 0.08em;
        line-height: 1.2;
    }
}

@media (max-width: 575px) {
    .site-header-inner {
        min-height: 62px;
    }

    .site-logo img {
        height: 45px;
        max-width: 145px;
    }

    .site-language-menu {
        gap: 2px;
        padding: 3px 4px;
    }

    .site-language-menu a {
        width: 28px;
        height: 27px;
    }

    .site-language-flag {
        font-size: 18px;
    }

    .carousel-img-wrapper {
        height: 500px;
    }

    .carousel-img {
        object-position: 72% center;
    }

    .home-slide-caption {
        top: 24px;
        bottom: auto;
        left: 7vw;
        width: 83vw;
        padding: 14px;
    }

    .home-slide-caption h2 {
        font-size: 32px;
    }

    .slide-headline-secondary {
        white-space: normal;
    }

    .home-slide-title p:nth-child(3) {
        margin-top: 14px;
    }

    html[dir="rtl"] .home-slide-caption {
        right: 7vw;
        left: auto;
    }
}

/* Final hero alignment: match the logo edge in the header container. */
@media (min-width: 1400px) {
    .home-slide-caption { left: calc((100vw - 1320px) / 2 + 12px); }
    html[dir="rtl"] .home-slide-caption { right: calc((100vw - 1320px) / 2 + 12px); left: auto; }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .home-slide-caption { left: calc((100vw - 1140px) / 2 + 12px); }
    html[dir="rtl"] .home-slide-caption { right: calc((100vw - 1140px) / 2 + 12px); left: auto; }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .home-slide-caption { left: calc((100vw - 960px) / 2 + 12px); }
    html[dir="rtl"] .home-slide-caption { right: calc((100vw - 960px) / 2 + 12px); left: auto; }
}

@media (max-width: 991px) {
    .home-slide-caption { left: 12px; }
    html[dir="rtl"] .home-slide-caption { right: 12px; left: auto; }
}

/* Keep every homepage slide at the requested fixed height. */
.home-hero-slider .carousel-img-wrapper,
.home-hero-slider .carousel-img {
    height: 600px;
    min-height: 0;
}

@media (min-width: 992px) {
    .home-slide-caption {
        top: 50%;
        transform: translateY(-50%);
    }
}

@media (max-width: 991px) {
    .home-hero-slider .carousel-img-wrapper,
    .home-hero-slider .carousel-img {
        height: 300px;
    }

    .home-hero-slider .carousel-img {
        object-fit: fill;
        object-position: center;
    }

    .home-slide-caption {
        top: 50%;
        bottom: auto;
        left: 12px;
        width: 56%;
        padding: 0;
        background: transparent;
        box-shadow: none;
        transform: translateY(-50%);
    }

    .home-slide-caption h2 {
        margin-bottom: 9px;
        font-size: clamp(18px, 5.6vw, 28px);
        line-height: 1.05;
    }

    .home-slide-title p {
        margin-bottom: 7px;
    }

    .home-slide-title p:first-child {
        padding: 5px 6px;
        font-size: clamp(7px, 2.1vw, 10px);
        letter-spacing: 0.08em;
    }

    .home-slide-title p:nth-child(2) {
        font-size: clamp(7px, 2vw, 10px);
    }

    .home-slide-title p:nth-child(n+3) {
        display: none;
    }
}

@media (min-width: 992px) {
    .home-hero-slider .carousel-img {
        object-fit: cover;
        object-position: center;
    }

    .home-slide-caption {
        width: min(55vw, 900px);
    }
}

/* Desktop only: keep the location line below the blue title panel on one line. */
@media (min-width: 1200px) {
    .home-slide-caption {
        width: min(70vw, 980px);
    }

    .home-slide-title p:nth-child(2) {
        white-space: nowrap;
    }
}

/* Keep Arabic slide copy aligned to the right edge of the blue title panel. */
@media (min-width: 1200px) {
    html[lang="ar"] .home-slide-title {
        width: 650px;
        max-width: 650px;
    }

    html[lang="ar"] .home-slide-title p:nth-child(n+2) {
        width: 100%;
        max-width: 100%;
        direction: rtl;
        text-align: right;
    }
}
