:root {
    --aat-gold:#c89b3c;
    --aat-gold-dark:#9b7125;
    --aat-black:#101010;
    --aat-charcoal:#1c1c1c;
    --aat-paper:#f4f1ea;
    --aat-white:#fff;
    --aat-muted:#b8b1a6;
    --aat-line:rgba(200,155,60,.26);
    --aat-radius:22px;
    --aat-shadow:0 22px 70px rgba(0,0,0,.22)
}

* {
    box-sizing:border-box
}

.aat-official-home {
    margin:0;
    background:var(--aat-paper);
    color:#28241f;
    font-family:Tahoma,Arial,sans-serif
}

.aat-official-home a {
    text-decoration:none
}

.aat-shell {
    width:min(1180px,calc(100% - 36px));
    margin-inline:auto
}

.aat-skip-link {
    position:absolute;
    top:-100px;
    right:20px;
    z-index:99999;
    background:#fff;
    color:#000;
    padding:10px 14px
}

.aat-skip-link:focus {
    top:15px
}

.aat-topbar {
    background:#090909;
    color:#e8e1d5;
    border-bottom:1px solid var(--aat-line);
    font-size:13px
}

.aat-topbar__inner,.aat-topbar__contact,.aat-topbar__tools {
    display:flex;
    align-items:center
}

.aat-topbar__inner {
    min-height:42px;
    justify-content:space-between;
    gap:20px
}

.aat-topbar__contact,.aat-topbar__tools {
    gap:12px
}

.aat-topbar a {
    color:#e8e1d5
}

.aat-topbar a:hover {
    color:var(--aat-gold)
}

.aat-translate select,.aat-footer__translate select {
    height:31px;
    min-width:145px;
    border:1px solid rgba(255,255,255,.2);
    background:#171717;
    color:#fff;
    border-radius:7px;
    padding-inline:9px
}

.aat-brandbar {
    background:#fff;
    box-shadow:0 8px 30px rgba(0,0,0,.06);
    position:relative;
    z-index:30
}

.aat-brandbar__inner {
    min-height:92px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px
}

.aat-brand {
    display:flex;
    align-items:center;
    gap:13px;
    color:#151515
}

.aat-brand img {
    width:72px;
    height:72px;
    object-fit:contain
}

.aat-brand__text {
    display:flex;
    flex-direction:column;
    line-height:1.35
}

.aat-brand__text strong {
    font-size:20px
}

.aat-brand__text small {
    color:var(--aat-gold-dark);
    font-size:12px;
    margin-top:3px
}

.aat-nav {
    margin-right:auto
}

.aat-menu {
    display:flex;
    align-items:center;
    gap:5px;
    list-style:none;
    margin:0;
    padding:0
}

.aat-menu li {
    position:relative
}

.aat-menu a {
    display:block;
    color:#26231f;
    padding:12px 11px;
    border-radius:9px;
    font-size:14px
}

.aat-menu a:hover,.aat-menu .current-menu-item>a {
    background:#f4efe4;
    color:#8a621e
}

.aat-menu-toggle {
    display:none;
    background:none;
    border:0;
    padding:8px;
    color:#111
}

.aat-menu-toggle span {
    display:block;
    width:25px;
    height:2px;
    background:#111;
    margin:5px 0
}

.aat-menu-toggle b {
    font-size:11px;
    font-weight:normal
}

.aat-hero {
    position:relative;
    overflow:hidden;
    background:radial-gradient(circle at 18% 20%,rgba(200,155,60,.18),transparent 32%),linear-gradient(135deg,#090909,#1c1b18 58%,#111);
    color:#fff
}

.aat-hero:after {
    content:"";
    position:absolute;
    inset:0;
    background-image:linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);
    background-size:34px 34px;
    pointer-events:none
}

.aat-hero__grid {
    min-height:600px;
    display:grid;
    grid-template-columns:1.08fr .92fr;
    align-items:center;
    gap:66px;
    position:relative;
    z-index:2;
    padding-block:72px
}

.aat-eyebrow,.aat-kicker {
    color:var(--aat-gold);
    font-weight:700;
    letter-spacing:.04em
}

.aat-eyebrow {
    display:inline-flex;
    align-items:center;
    gap:10px;
    margin:0 0 15px
}

.aat-eyebrow:before {
    content:"";
    width:35px;
    height:1px;
    background:var(--aat-gold)
}

.aat-hero h1 {
    font-size:clamp(38px,5vw,68px);
    line-height:1.18;
    margin:0 0 16px;
    font-weight:800
}

.aat-hero__role {
    font-size:clamp(18px,2.1vw,25px);
    line-height:1.75;
    color:#e3d7c2;
    margin:0 0 15px;
    max-width:670px
}

.aat-hero__intro {
    font-size:16px;
    line-height:2;
    color:#c4beb4;
    max-width:660px
}

.aat-hero__actions {
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:30px
}

.aat-btn {
    min-height:48px;
    padding:12px 22px;
    border-radius:999px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-weight:700
}

.aat-btn--gold {
    background:linear-gradient(135deg,var(--aat-gold),#e4bd68);
    color:#15110b
}

.aat-btn--gold:hover {
    transform:translateY(-2px)
}

.aat-btn--outline {
    border:1px solid rgba(255,255,255,.35);
    color:#fff
}

.aat-btn--outline:hover {
    border-color:var(--aat-gold);
    color:var(--aat-gold)
}

.aat-btn--text {
    color:#e7c978
}

.aat-hero__topics {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:30px
}

.aat-hero__topics span {
    border:1px solid rgba(200,155,60,.28);
    background:rgba(255,255,255,.04);
    color:#ddd3c2;
    padding:7px 11px;
    border-radius:999px;
    font-size:12px
}

.aat-hero__visual {
    display:flex;
    justify-content:center
}

.aat-portrait-frame {
    width:min(440px,100%);
    aspect-ratio:4/5;
    position:relative;
    border-radius:34px;
    overflow:hidden;
    border:1px solid rgba(224,184,100,.55);
    box-shadow:var(--aat-shadow);
    background:#25231f
}

.aat-portrait-frame:before {
    content:"";
    position:absolute;
    inset:12px;
    border:1px solid rgba(255,255,255,.18);
    border-radius:25px;
    z-index:2;
    pointer-events:none
}

.aat-portrait-frame img {
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center top;
    filter:saturate(.9) contrast(1.03)
}

.aat-portrait-frame__label {
    position:absolute;
    right:24px;
    left:24px;
    bottom:24px;
    background:rgba(7,7,7,.82);
    backdrop-filter:blur(10px);
    border:1px solid rgba(200,155,60,.32);
    border-radius:17px;
    padding:15px 17px;
    display:flex;
    flex-direction:column
}

.aat-portrait-frame__label strong {
    font-size:18px;
    color:#fff
}

.aat-portrait-frame__label span {
    font-size:12px;
    color:#d2c6b4;
    margin-top:4px
}

.aat-section {
    padding:86px 0
}

.aat-section__head {
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:25px;
    margin-bottom:30px
}

.aat-section__head h2 {
    font-size:clamp(28px,3.2vw,42px);
    margin:5px 0 0
}

.aat-section__head>a {
    color:#7e5a1e;
    font-weight:700
}

.aat-kicker {
    margin:0
}

.aat-post-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:22px
}

.aat-card {
    background:#fff;
    border-radius:var(--aat-radius);
    overflow:hidden;
    box-shadow:0 14px 45px rgba(36,28,13,.08);
    border:1px solid rgba(120,90,35,.08)
}

.aat-card__image {
    display:block;
    aspect-ratio:16/10;
    background:#171717;
    overflow:hidden
}

.aat-card__image img {
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .35s ease
}

.aat-card:hover .aat-card__image img {
    transform:scale(1.04)
}

.aat-card__placeholder {
    width:100%;
    height:100%;
    display:grid;
    place-items:center;
    color:var(--aat-gold);
    font-size:55px;
    font-family:Georgia,serif
}

.aat-card__body {
    padding:20px
}

.aat-card__meta {
    font-size:12px;
    color:#887c69
}

.aat-card h3 {
    font-size:19px;
    line-height:1.55;
    margin:8px 0
}

.aat-card h3 a {
    color:#211d17
}

.aat-card p {
    font-size:14px;
    line-height:1.8;
    color:#6d6458;
    margin:0
}

.aat-empty {
    grid-column:1/-1;
    padding:40px;
    background:#fff;
    border-radius:18px;
    text-align:center
}

.aat-footer {
    background:#101010;
    color:#cfc7b9;
    padding-top:65px
}

.aat-footer__grid {
    display:grid;
    grid-template-columns:1.4fr .8fr 1fr;
    gap:60px;
    padding-bottom:45px
}

.aat-footer__logo {
    width:120px;
    max-height:90px;
    object-fit:contain;
    object-position:right center;
    margin-bottom:15px
}

.aat-footer p {
    line-height:1.9;
    max-width:520px
}

.aat-footer h2 {
    color:#dfba68;
    font-size:17px;
    margin:0 0 16px
}

.aat-footer__grid>div {
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:10px
}

.aat-footer a,.aat-footer span {
    color:#cfc7b9
}

.aat-footer a:hover {
    color:var(--aat-gold)
}

.aat-footer__bottom {
    text-align:center;
    border-top:1px solid rgba(255,255,255,.08);
    padding:18px;
    font-size:13px;
    color:#8f887d
}

@media(max-width:980px) {
    .aat-brandbar__inner {
        min-height:78px
    }
    .aat-brand img {
        width:60px;
        height:60px
    }
    .aat-nav {
        display:none;
        position:absolute;
        top:100%;
        right:18px;
        left:18px;
        background:#fff;
        border-radius:16px;
        box-shadow:0 20px 50px rgba(0,0,0,.15);
        padding:12px
    }
    .aat-nav.is-open {
        display:block
    }
    .aat-menu {
        display:block
    }
    .aat-menu a {
        padding:12px 14px
    }
    .aat-menu-toggle {
        display:block;
        margin-right:auto
    }
    .aat-hero__grid {
        grid-template-columns:1fr;
        min-height:auto;
        gap:42px;
        padding-block:58px
    }
    .aat-hero__content {
        text-align:center
    }
    .aat-eyebrow {
        justify-content:center
    }
    .aat-hero__role,.aat-hero__intro {
        margin-inline:auto
    }
    .aat-hero__actions,.aat-hero__topics {
        justify-content:center
    }
    .aat-portrait-frame {
        max-width:420px
    }
    .aat-post-grid {
        grid-template-columns:repeat(2,1fr)
    }
    .aat-footer__grid {
        grid-template-columns:1fr 1fr
    }
    .aat-footer__grid>div:first-child {
        grid-column:1/-1
    }
}

@media(max-width:650px) {
    .aat-shell {
        width:min(100% - 24px,1180px)
    }
    .aat-topbar__inner {
        align-items:flex-start;
        padding-block:9px
    }
    .aat-topbar__contact {
        display:none
    }
    .aat-topbar__tools {
        width:100%;
        justify-content:space-between
    }
    .aat-brand__text strong {
        font-size:16px
    }
    .aat-brand__text small {
        font-size:11px
    }
    .aat-brand img {
        width:53px;
        height:53px
    }
    .aat-hero__grid {
        padding-block:42px
    }
    .aat-hero h1 {
        font-size:37px
    }
    .aat-hero__role {
        font-size:18px
    }
    .aat-hero__intro {
        font-size:14px
    }
    .aat-hero__actions {
        flex-direction:column
    }
    .aat-btn {
        width:100%
    }
    .aat-portrait-frame {
        border-radius:25px
    }
    .aat-section {
        padding:58px 0
    }
    .aat-section__head {
        align-items:flex-start;
        flex-direction:column
    }
    .aat-post-grid {
        grid-template-columns:1fr
    }
    .aat-footer__grid {
        grid-template-columns:1fr;
        gap:35px
    }
    .aat-footer__grid>div:first-child {
        grid-column:auto
    }
}

/* ========================================================= AAT Header — Phase 1 ========================================================= */
:root {
    --aat-gold: #c89b3c;
    --aat-gold-dark: #a87c24;
    --aat-black: #0b0b0b;
    --aat-charcoal: #171717;
    --aat-white: #ffffff;
    --aat-muted: #b8b8b8;
    --aat-border: rgba(200, 155, 60, 0.24);
    --aat-container: 1320px;
}

.aat-container {
    width: min(100% - 32px, var(--aat-container));
    margin-inline: auto;
}

.aat-site-header {
    position: relative;
    z-index: 1000;
    background: var(--aat-black);
    color: var(--aat-white);
    border-bottom: 1px solid var(--aat-border);
}

.aat-topbar {
    background: #050505;
    border-bottom: 1px solid var(--aat-border);
    font-size: 13px;
}

.aat-topbar__inner, .aat-brandbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.aat-topbar__inner {
    min-height: 40px;
}

.aat-topbar__meta, .aat-topbar__tools {
    display: flex;
    align-items: center;
    gap: 18px;
}

.aat-topbar a {
    color: #e8e8e8;
    text-decoration: none;
}

.aat-topbar a:hover {
    color: var(--aat-gold);
}

.aat-topbar__date {
    color: var(--aat-muted);
}

.aat-brandbar {
    background: linear-gradient(90deg, rgba(200,155,60,.04), transparent 30%), var(--aat-black);
}

.aat-brandbar__inner {
    min-height: 98px;
}

.aat-brand {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    color: var(--aat-white);
    text-decoration: none;
    min-width: 280px;
}

.aat-brand__logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
    flex: 0 0 auto;
}

.aat-brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

.aat-brand__text strong {
    font-size: 22px;
    font-weight: 800;
    color: var(--aat-white);
}

.aat-brand__text small {
    margin-top: 4px;
    font-size: 12px;
    color: var(--aat-gold);
}

.aat-primary-nav {
    flex: 1 1 auto;
}

.aat-primary-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.aat-primary-menu > li {
    position: relative;
}

.aat-primary-menu a {
    display: block;
    padding: 14px 12px;
    color: #f0f0f0;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
}

.aat-primary-menu a:hover, .aat-primary-menu .current-menu-item > a, .aat-primary-menu .current-menu-ancestor > a {
    color: var(--aat-gold);
}

.aat-primary-menu .sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 220px;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: #101010;
    border: 1px solid var(--aat-border);
    box-shadow: 0 18px 40px rgba(0,0,0,.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .2s ease;
}

.aat-primary-menu li:hover > .sub-menu, .aat-primary-menu li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.aat-primary-menu .sub-menu a {
    padding: 10px 12px;
    font-size: 14px;
}

.aat-contact-button {
    flex: 0 0 auto;
    padding: 12px 18px;
    border: 1px solid var(--aat-gold);
    color: var(--aat-black);
    background: var(--aat-gold);
    text-decoration: none;
    font-weight: 800;
    border-radius: 4px;
}

.aat-contact-button:hover {
    background: transparent;
    color: var(--aat-gold);
}

.aat-search-toggle, .aat-menu-toggle {
    border: 0;
    background: transparent;
    color: var(--aat-white);
    cursor: pointer;
}

.aat-search-toggle {
    font-size: 22px;
    line-height: 1;
}

.aat-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 8px;
}

.aat-menu-toggle__line {
    display: block;
    height: 2px;
    margin: 6px 0;
    background: var(--aat-gold);
}

.aat-language-switcher select {
    min-width: 120px;
    height: 30px;
    border: 1px solid var(--aat-border);
    background: #111;
    color: #fff;
}

.aat-header-search {
    padding: 14px 0;
    background: #101010;
    border-top: 1px solid var(--aat-border);
}

.aat-header-search form {
    display: flex;
    gap: 8px;
    max-width: 720px;
    margin-inline: auto;
}

.aat-header-search input[type="search"] {
    flex: 1 1 auto;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--aat-border);
    background: #fff;
    color: #111;
}

.aat-header-search input[type="submit"] {
    min-height: 44px;
    padding: 0 22px;
    border: 1px solid var(--aat-gold);
    background: var(--aat-gold);
    color: #111;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 1080px) {
    .aat-brandbar__inner {
        flex-wrap: wrap;
        padding-block: 14px;
    }
    .aat-menu-toggle {
        display: block;
        margin-inline-start: auto;
    }
    .aat-contact-button {
        display: none;
    }
    .aat-primary-nav {
        display: none;
        flex-basis: 100%;
        order: 4;
    }
    .aat-primary-nav.is-open {
        display: block;
    }
    .aat-primary-menu {
        align-items: stretch;
        flex-direction: column;
    }
    .aat-primary-menu a {
        border-top: 1px solid rgba(255,255,255,.08);
    }
    .aat-primary-menu .sub-menu {
        position: static;
        display: block;
        min-width: 0;
        padding: 0 18px;
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
    }
}

@media (max-width: 720px) {
    .aat-container {
        width: min(100% - 22px, var(--aat-container));
    }
    .aat-topbar__inner {
        align-items: flex-start;
        flex-direction: column;
        padding-block: 10px;
        gap: 10px;
    }
    .aat-topbar__meta {
        flex-wrap: wrap;
        gap: 8px 14px;
    }
    .aat-topbar__tools {
        width: 100%;
        justify-content: space-between;
    }
    .aat-brand {
        min-width: 0;
    }
    .aat-brand__logo {
        width: 56px;
        height: 56px;
    }
    .aat-brand__text strong {
        font-size: 18px;
    }
    .aat-brand__text small {
        display: none;
    }
}

/* ========================================================= AAT Phase 2 — Header refinement + Hero + Latest posts ألصق هذا الجزء في آخر assets/css/main.css ========================================================= */
.aat-brand__text small {
    font-size: 13px;
    letter-spacing: 0;
}

.aat-hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 18% 35%, rgba(200,155,60,.12), transparent 34%), linear-gradient(135deg, #070707 0%, #111 58%, #17120a 100%);
    color: #fff;
}

.aat-hero__backdrop {
    position: absolute;
    inset: 0;
    opacity: .16;
    background-image: linear-gradient(rgba(200,155,60,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(200,155,60,.18) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to left, #000, transparent 80%);
}

.aat-hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
    align-items: center;
    gap: 72px;
    min-height: 630px;
    padding-block: 72px;
}

.aat-hero__content {
    max-width: 760px;
}

.aat-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: var(--aat-gold);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .04em;
}

.aat-hero__eyebrow::before {
    content: "";
    width: 34px;
    height: 1px;
    background: currentColor;
}

.aat-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(42px, 5vw, 74px);
    line-height: 1.12;
    font-weight: 900;
}

.aat-hero__tagline {
    margin: 18px 0 0;
    color: var(--aat-gold);
    font-size: clamp(20px, 2.4vw, 30px);
    font-weight: 800;
}

.aat-hero__profession {
    margin: 22px 0 0;
    color: #fff;
    font-size: clamp(17px, 1.6vw, 22px);
    line-height: 1.8;
    font-weight: 700;
}

.aat-hero__intro {
    max-width: 680px;
    margin: 16px 0 0;
    color: #c9c9c9;
    font-size: 16px;
    line-height: 2;
}

.aat-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
}

.aat-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 800;
}

.aat-button--gold {
    background: var(--aat-gold);
    border: 1px solid var(--aat-gold);
    color: #111;
}

.aat-button--gold:hover {
    background: var(--aat-gold-dark);
    border-color: var(--aat-gold-dark);
    color: #111;
}

.aat-button--outline {
    border: 1px solid rgba(255,255,255,.38);
    color: #fff;
}

.aat-button--outline:hover {
    border-color: var(--aat-gold);
    color: var(--aat-gold);
}

.aat-button--text {
    color: #ddd;
}

.aat-button--text:hover {
    color: var(--aat-gold);
}

.aat-hero__visual {
    position: relative;
    display: flex;
    align-items: end;
    justify-content: center;
    min-height: 500px;
}

.aat-hero__portrait-frame {
    position: relative;
    z-index: 2;
    width: min(100%, 430px);
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border: 1px solid rgba(200,155,60,.55);
    border-radius: 180px 180px 18px 18px;
    box-shadow: 0 30px 80px rgba(0,0,0,.5);
    background: #181818;
}

.aat-hero__portrait-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.42), transparent 45%);
    pointer-events: none;
}

.aat-hero__portrait-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 24%;
}

.aat-hero__mark {
    position: absolute;
    z-index: 1;
    width: 220px;
    inset-inline-start: -28px;
    top: 34px;
    opacity: .18;
    filter: grayscale(1) sepia(1);
}

.aat-hero__values {
    position: relative;
    z-index: 3;
    border-top: 1px solid rgba(200,155,60,.32);
    background: rgba(0,0,0,.35);
}

.aat-hero__values .aat-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    min-height: 58px;
    color: #eee;
    font-weight: 800;
}

.aat-hero__values i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--aat-gold);
}

.aat-home-intro {
    padding: 76px 0 96px;
    background: #f6f4ef;
}

.aat-section-heading {
    margin-bottom: 28px;
}

.aat-section-heading span {
    color: var(--aat-gold-dark);
    font-size: 14px;
    font-weight: 900;
}

.aat-section-heading h2 {
    margin: 6px 0 0;
    color: #171717;
    font-size: clamp(30px, 4vw, 46px);
}

.aat-latest-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.aat-post-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 12px 35px rgba(0,0,0,.06);
}

.aat-post-card__image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #222;
}

.aat-post-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.aat-post-card:hover .aat-post-card__image img {
    transform: scale(1.04);
}

.aat-post-card__body {
    padding: 22px;
}

.aat-post-card__meta {
    margin-bottom: 8px;
    color: #8b6a25;
    font-size: 13px;
    font-weight: 700;
}

.aat-post-card h3 {
    margin: 0;
    font-size: 21px;
    line-height: 1.55;
}

.aat-post-card h3 a {
    color: #171717;
    text-decoration: none;
}

.aat-post-card h3 a:hover {
    color: var(--aat-gold-dark);
}

.aat-post-card p {
    margin: 12px 0 0;
    color: #666;
    line-height: 1.8;
}

@media (max-width: 1080px) {
    .aat-hero__inner {
        grid-template-columns: 1fr;
        gap: 36px;
        padding-block: 56px;
    }
    .aat-hero__content {
        max-width: none;
    }
    .aat-hero__visual {
        min-height: 420px;
    }
    .aat-hero__portrait-frame {
        width: min(100%, 360px);
    }
    .aat-latest-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .aat-hero__inner {
        min-height: 0;
        padding-block: 44px;
    }
    .aat-hero h1 {
        font-size: 42px;
    }
    .aat-hero__tagline {
        font-size: 21px;
        line-height: 1.7;
    }
    .aat-hero__visual {
        min-height: 360px;
    }
    .aat-hero__portrait-frame {
        width: min(100%, 310px);
    }
    .aat-hero__values .aat-container {
        flex-wrap: wrap;
        gap: 10px 16px;
        padding-block: 14px;
        font-size: 14px;
    }
    .aat-latest-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================================= AAT Smart Slider Engine ألصق هذا الجزء في آخر assets/css/main.css ========================================================= */
.aat-content-section {
    padding: 78px 0 92px;
    overflow: hidden;
}

.aat-content-section--light {
    background: #f7f5f0;
}

.aat-content-section--soft {
    background: #ece7dc;
}

.aat-section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 28px;
}

.aat-section-header > div:first-child {
    max-width: 820px;
}

.aat-section-header__eyebrow {
    display: inline-block;
    margin-bottom: 7px;
    color: var(--aat-gold-dark);
    font-size: 14px;
    font-weight: 900;
}

.aat-section-header h2 {
    margin: 0;
    color: #171717;
    font-size: clamp(31px, 4vw, 48px);
    line-height: 1.25;
}

.aat-section-header p {
    margin: 12px 0 0;
    color: #666;
    font-size: 16px;
    line-height: 1.9;
}

.aat-slider-controls {
    display: flex;
    gap: 8px;
    flex: 0 0 auto;
}

.aat-slider-button {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(0,0,0,.14);
    background: #fff;
    color: #111;
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
    transition: .2s ease;
}

.aat-slider-button:hover {
    border-color: var(--aat-gold);
    background: var(--aat-gold);
}

.aat-slider {
    overflow: hidden;
}

.aat-slider__track {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    padding: 4px 2px 20px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--aat-gold) rgba(0,0,0,.08);
}

.aat-slider-card {
    flex: 0 0 calc((100% - 66px) / 4);
    min-width: 260px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 12px 34px rgba(0,0,0,.06);
    scroll-snap-align: start;
}

.aat-slider-card__image {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #171717, #312812);
}

.aat-slider-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.aat-slider-card:hover .aat-slider-card__image img {
    transform: scale(1.045);
}

.aat-slider-card__placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(200,155,60,.12), transparent), repeating-linear-gradient(45deg, rgba(255,255,255,.03), rgba(255,255,255,.03) 1px, transparent 1px, transparent 10px);
}

.aat-slider-card__badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    padding: 7px 10px;
    background: rgba(10,10,10,.86);
    color: var(--aat-gold);
    font-size: 12px;
    font-weight: 900;
}

.aat-slider-card__body {
    padding: 21px;
}

.aat-slider-card__meta {
    margin-bottom: 9px;
    color: #93702a;
    font-size: 12px;
    font-weight: 800;
}

.aat-slider-card h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.55;
}

.aat-slider-card h3 a {
    color: #191919;
    text-decoration: none;
}

.aat-slider-card h3 a:hover {
    color: var(--aat-gold-dark);
}

.aat-slider-card p {
    margin: 12px 0 0;
    color: #6b6b6b;
    line-height: 1.8;
}

.aat-slider-card__link {
    display: inline-block;
    margin-top: 16px;
    color: #171717;
    text-decoration: none;
    font-weight: 900;
    border-bottom: 1px solid var(--aat-gold);
}

.aat-section-footer {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.aat-section-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border: 1px solid #171717;
    color: #171717;
    text-decoration: none;
    font-weight: 900;
}

.aat-section-more:hover {
    background: #171717;
    color: #fff;
}

.aat-section-empty {
    padding: 28px;
    background: rgba(255,255,255,.7);
    border: 1px dashed rgba(0,0,0,.15);
    color: #555;
    text-align: center;
}

@media (max-width: 1120px) {
    .aat-slider-card {
        flex-basis: calc((100% - 44px) / 3);
    }
}

@media (max-width: 820px) {
    .aat-content-section {
        padding: 60px 0 72px;
    }
    .aat-section-header {
        align-items: flex-start;
        flex-direction: column;
    }
    .aat-slider-controls {
        align-self: flex-end;
    }
    .aat-slider-card {
        flex-basis: calc((100% - 22px) / 2);
    }
}

@media (max-width: 560px) {
    .aat-slider-card {
        flex-basis: 86%;
        min-width: 0;
    }
}

/* AAT Phase 4 — final visual fixes from review screenshots */
/* Header contact button */
.aat-contact-button {
    white-space: nowrap;
}

/* Hero proportions and typography */
.aat-hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    gap: clamp(36px, 5vw, 76px);
    min-height: clamp(540px, 68vh, 690px);
    padding-block: clamp(54px, 6vw, 78px);
}

.aat-hero__eyebrow {
    margin-bottom: 14px;
    font-size: clamp(13px, 1vw, 15px);
}

.aat-hero h1 {
    font-size: clamp(40px, 4.25vw, 64px);
    line-height: 1.16;
    letter-spacing: -.015em;
}

.aat-hero__tagline {
    font-size: clamp(19px, 2vw, 27px);
    line-height: 1.6;
}

.aat-hero__profession {
    font-size: clamp(17px, 1.45vw, 21px);
}

.aat-hero__actions {
    gap: 14px;
}

.aat-hero__actions .aat-button--gold {
    min-width: 148px;
}

/* Put the transparent golden mark across the portrait instead of hiding behind it */
.aat-hero__visual {
    isolation: isolate;
}

.aat-hero__portrait-frame {
    position: relative;
    z-index: 2;
}

.aat-hero__mark {
    z-index: 3;
    width: clamp(180px, 18vw, 260px);
    top: 17%;
    inset-inline-start: 50%;
    transform: translateX(-50%);
    opacity: .22;
    filter: sepia(1) saturate(1.15);
    pointer-events: none;
    mix-blend-mode: screen;
}

/* Slider headings */
.aat-content-section {
    padding: clamp(58px, 6vw, 78px) 0 clamp(64px, 7vw, 86px);
}

.aat-section-header {
    margin-bottom: 24px;
}

.aat-section-header h2 {
    font-family: inherit;
    font-size: clamp(29px, 3.25vw, 41px);
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: -.01em;
}

.aat-section-header p {
    margin-top: 9px;
    font-size: clamp(14px, 1.2vw, 16px);
    line-height: 1.8;
}

/* Cards stay content-height, with no large blank white areas */
.aat-slider__track {
    align-items: flex-start;
    padding-bottom: 12px;
}

.aat-slider-card {
    align-self: flex-start;
    height: auto;
}

.aat-slider-card__body {
    padding: 18px 19px 20px;
}

.aat-slider-card h3 {
    margin: 0;
    font-size: clamp(17px, 1.35vw, 19px);
    line-height: 1.75;
    font-weight: 700;
    text-wrap: pretty;
}

.aat-slider-card p {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.8;
}

/* Old elements are removed from PHP; hide them too in case of cache */
.aat-slider-card__link, .aat-section-footer, .aat-section-more {
    display: none !important;
}

@media (max-width: 1080px) {
    .aat-hero__inner {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .aat-hero__content {
        max-width: 820px;
    }
    .aat-hero__visual {
        width: min(100%, 430px);
        margin-inline: auto;
    }
}

@media (max-width: 820px) {
    .aat-section-header {
        gap: 18px;
    }
    .aat-hero__actions .aat-button--gold {
        min-width: 140px;
    }
}

@media (max-width: 560px) {
    .aat-hero__inner {
        padding-block: 42px;
    }
    .aat-hero h1 {
        font-size: clamp(35px, 11vw, 46px);
    }
    .aat-hero__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }
    .aat-hero__actions .aat-button--gold {
        min-width: 0;
        padding-inline: 14px;
    }
    .aat-hero__mark {
        width: 180px;
        top: 18%;
    }
    .aat-section-header h2 {
        font-size: 29px;
    }
    .aat-slider-card h3 {
        font-size: 17px;
    }
}

/* AAT Phase 5 — contact-page link and equal slider cards */
/* Keep every visible slider card at the same external height. */
.aat-slider__track {
    align-items: stretch !important;
}

.aat-slider-card {
    display: flex;
    flex-direction: column;
    align-self: stretch !important;
    height: auto;
}

.aat-slider-card__image {
    flex: 0 0 auto;
}

.aat-slider-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 286px;
}

/* Reserve the same title area and prevent very long titles from enlarging one card. */
.aat-slider-card h3 {
    display: -webkit-box;
    min-height: 5.25em;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

/* Keep summaries visually balanced as well. */
.aat-slider-card p {
    display: -webkit-box;
    min-height: 5.4em;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
}

@media (max-width: 820px) {
    .aat-slider-card__body {
        min-height: 272px;
    }
}

@media (max-width: 560px) {
    .aat-slider-card__body {
        min-height: 250px;
    }
    .aat-slider-card h3 {
        min-height: 5.1em;
    }
}

/* ========================================================= AAT Phase 6 — final header and hero polish ========================================================= */
/* Give date, email and phone a clearer visual rhythm. */
.aat-topbar__meta {
    gap: 0;
}

.aat-topbar__meta > * {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding-inline: 18px;
    white-space: nowrap;
}

.aat-topbar__meta > *:first-child {
    padding-inline-start: 0;
}

.aat-topbar__meta > *:not(:last-child)::after {
    content: "";
    position: absolute;
    inset-inline-end: 0;
    top: 50%;
    width: 1px;
    height: 15px;
    background: rgba(200,155,60,.34);
    transform: translateY(-50%);
}

/* Elegant gold navigation accent without heavy boxes. */
.aat-primary-menu > li > a {
    position: relative;
    transition: color .22s ease, transform .22s ease;
}

.aat-primary-menu > li > a::after {
    content: "";
    position: absolute;
    inset-inline: 12px;
    bottom: 7px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--aat-gold), transparent);
    transform: scaleX(0);
    transform-origin: center;
    opacity: 0;
    transition: transform .24s ease, opacity .24s ease;
}

.aat-primary-menu > li > a:hover, .aat-primary-menu > li > a:focus-visible, .aat-primary-menu > .current-menu-item > a, .aat-primary-menu > .current-menu-ancestor > a, .aat-primary-menu > .current_page_item > a {
    color: var(--aat-gold);
    transform: translateY(-1px);
}

.aat-primary-menu > li > a:hover::after, .aat-primary-menu > li > a:focus-visible::after, .aat-primary-menu > .current-menu-item > a::after, .aat-primary-menu > .current-menu-ancestor > a::after, .aat-primary-menu > .current_page_item > a::after {
    transform: scaleX(1);
    opacity: 1;
}

/* Two balanced, soft lines in the hero introduction. */
.aat-hero__intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
    max-width: min(100%, 720px);
    font-size: clamp(14px, 1.12vw, 16px);
    line-height: 1.9;
}

.aat-hero__intro span {
    display: block;
    white-space: nowrap;
}

@media (max-width: 1120px) {
    .aat-topbar__meta > * {
        padding-inline: 13px;
    }
    .aat-primary-menu {
        gap: 3px;
    }
    .aat-primary-menu a {
        padding-inline: 9px;
    }
}

@media (max-width: 820px) {
    .aat-hero__intro {
        align-items: center;
        width: 100%;
        margin-inline: auto;
        text-align: center;
    }
    .aat-hero__intro span {
        white-space: normal;
    }
    .aat-topbar__meta > * {
        padding-inline: 10px;
    }
}

@media (max-width: 560px) {
    .aat-topbar__meta {
        gap: 8px;
        flex-wrap: wrap;
    }
    .aat-topbar__meta > * {
        padding-inline: 0;
    }
    .aat-topbar__meta > *::after {
        display: none;
    }
    .aat-hero__intro {
        font-size: 14px;
        line-height: 1.85;
    }
}

/* ========================================================= AAT Phase 7 — footer, global network and social profiles ========================================================= */
.aat-site-footer {
    background: #f6f3ed;
    color: #171717;
}

.aat-footer-promo {
    padding: 58px 0 34px;
    background: #f6f3ed;
}

.aat-footer-banner {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(184, 134, 35, .65);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(27, 23, 16, .08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.aat-footer-banner:hover, .aat-footer-banner:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(27, 23, 16, .13);
}

.aat-footer-banner img {
    display: block;
    width: 100%;
    height: auto;
}

.aat-footer-network {
    padding: 26px 0 52px;
    background: #f6f3ed;
}

.aat-footer-heading {
    margin-bottom: 20px;
}

.aat-footer-heading span {
    display: block;
    margin-bottom: 4px;
    color: var(--aat-gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.aat-footer-heading h2 {
    margin: 0;
    font-size: clamp(24px, 2.2vw, 34px);
    font-weight: 700;
}

.aat-network-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    padding-top: 18px;
    border-top: 1px solid rgba(184, 134, 35, .48);
}

.aat-network-card {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 104px;
    padding: 20px 18px;
    border: 1px solid rgba(20, 20, 20, .11);
    border-radius: 13px;
    background: #fff;
    color: #181818;
    box-shadow: 0 6px 18px rgba(20, 20, 20, .045);
    text-decoration: none;
    transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.aat-network-card:hover, .aat-network-card:focus-within, .aat-network-card:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(184, 134, 35, .72);
    box-shadow: 0 12px 26px rgba(20, 20, 20, .09);
}

.aat-network-card__icon {
    display: grid;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    place-items: center;
    margin-inline-end: 13px;
    border: 1px solid rgba(184, 134, 35, .28);
    border-radius: 50%;
    background: rgba(184, 134, 35, .075);
    color: #6f4d13;
}

.aat-network-card__icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.aat-network-card__copy {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 5px;
}

.aat-network-card__copy strong {
    font-size: 14px;
    line-height: 1.35;
}

.aat-network-card__copy small {
    color: #716b62;
    font-size: 11px;
    line-height: 1.45;
}

.aat-network-card__arrow {
    align-self: flex-start;
    margin-inline-start: 7px;
    color: var(--aat-gold);
    font-size: 16px;
}

.aat-network-card--support {
    flex-wrap: wrap;
}

.aat-paypal-form {
    width: 100%;
    margin: 13px 0 0;
    padding-inline-start: 57px;
}

.aat-paypal-button {
    min-width: 104px;
    padding: 8px 18px;
    border: 1px solid #c99524;
    border-radius: 999px;
    background: linear-gradient(135deg, #dcb449, #b98318);
    color: #111;
    font: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(184, 134, 35, .22);
    transition: transform .2s ease, filter .2s ease;
}

.aat-paypal-button:hover, .aat-paypal-button:focus-visible {
    transform: translateY(-1px);
    filter: brightness(1.06);
}

.aat-footer-bottom {
    padding: 35px 0 26px;
    background: #111;
    color: #d9d4ca;
}

.aat-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.aat-social a {
    position: relative;
    display: grid;
    width: 39px;
    height: 39px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .19);
    border-radius: 50%;
    background: rgba(255, 255, 255, .035);
    color: #fff;
    text-decoration: none;
    transition: transform .22s ease, color .22s ease, border-color .22s ease, background .22s ease;
}

.aat-social a:hover, .aat-social a:focus-visible {
    transform: translateY(-3px) scale(1.05);
    border-color: var(--aat-gold);
    background: rgba(184, 134, 35, .12);
    color: var(--aat-gold);
}

.aat-social__glyph {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
}

.aat-social a small {
    position: absolute;
    inset-inline-end: -3px;
    top: -4px;
    display: grid;
    width: 15px;
    height: 15px;
    place-items: center;
    border: 1px solid #111;
    border-radius: 50%;
    background: var(--aat-gold);
    color: #111;
    font-size: 8px;
    font-weight: 900;
}

.aat-footer-rule {
    width: min(780px, 88%);
    height: 1px;
    margin: 28px auto 21px;
    background: linear-gradient(90deg, transparent, rgba(184, 134, 35, .72), transparent);
}

.aat-footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 12px;
    line-height: 1.8;
    text-align: center;
}

.aat-footer-legal a {
    color: #d9d4ca;
    text-decoration: none;
    transition: color .2s ease;
}

.aat-footer-legal a:hover, .aat-footer-legal a:focus-visible {
    color: var(--aat-gold);
}

.aat-footer-legal i {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--aat-gold);
}

@media (max-width: 1080px) {
    .aat-network-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .aat-footer-promo {
        padding-top: 36px;
    }
    .aat-footer-banner {
        border-radius: 10px;
    }
    .aat-network-grid {
        grid-template-columns: 1fr;
    }
    .aat-network-card {
        min-height: 94px;
    }
    .aat-footer-legal {
        flex-direction: column;
        gap: 3px;
    }
    .aat-footer-legal i {
        display: none;
    }
}

@media (max-width: 430px) {
    .aat-social {
        gap: 8px;
    }
    .aat-social a {
        width: 36px;
        height: 36px;
    }
    .aat-paypal-form {
        padding-inline-start: 0;
        text-align: center;
    }
}

/* ========================================================= AAT Phase 8 — corrected footer spacing, bilingual cards, official social logos and stable legal line direction ========================================================= */
.aat-footer-promo {
    padding: 34px 0 14px;
}

.aat-footer-network {
    padding: 0 0 40px;
}

.aat-footer-heading {
    display: none !important;
}

.aat-network-grid {
    gap: 16px;
    padding-top: 0;
    border-top: 0;
}

.aat-network-card {
    min-height: 178px;
    padding: 20px 16px;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.aat-network-card__icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    margin: 0 0 12px;
}

.aat-network-card__copy {
    width: 100%;
    align-items: center;
    gap: 3px;
}

.aat-network-card__copy strong {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
}

.aat-network-card__arabic {
    display: block;
    margin-top: 2px;
    color: #38342e;
    font-family: "IBM Plex Sans Arabic", "Noto Sans Arabic", Tahoma, Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.65;
    text-align: center;
}

.aat-network-card__copy small {
    margin-top: 8px;
    font-size: 11px;
    line-height: 1.45;
    text-align: center;
}

.aat-network-card__arabic-description {
    display: block;
    color: #777067;
    font-family: "IBM Plex Sans Arabic", "Noto Sans Arabic", Tahoma, Arial, sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.55;
    text-align: center;
}

.aat-network-card--support {
    flex-wrap: nowrap;
}

.aat-paypal-form {
    width: auto;
    margin: 12px 0 0;
    padding: 0;
    text-align: center;
}

.aat-social a {
    width: 42px;
    height: 42px;
}

.aat-social a img {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: contain;
    transition: transform .22s ease, opacity .22s ease;
}

.aat-social a:hover img, .aat-social a:focus-visible img {
    transform: scale(1.08);
    opacity: .95;
}

.aat-footer-legal {
    direction: ltr;
    unicode-bidi: isolate;
    font-variant-numeric: tabular-nums;
}

.aat-footer-legal span, .aat-footer-legal a {
    direction: ltr;
    unicode-bidi: isolate;
    white-space: nowrap;
}

.aat-footer-phone {
    letter-spacing: .015em;
}

@media (max-width: 700px) {
    .aat-footer-promo {
        padding: 24px 0 12px;
    }
    .aat-footer-network {
        padding-bottom: 28px;
    }
    .aat-network-card {
        min-height: 164px;
    }
    .aat-footer-legal span, .aat-footer-legal a {
        white-space: normal;
    }
}

/* ========================================================= AAT Phase 9 — two-image showcase and social icon fixes ========================================================= */
.aat-footer-showcase {
    padding: 22px 0 16px;
    background: var(--aat-paper, #f7f4ee);
}

.aat-footer-showcase__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.aat-footer-showcase__item {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin: 0;
    border: 1px solid rgba(184, 134, 35, .8);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(43, 31, 9, .13), 0 0 0 4px rgba(184, 134, 35, .07);
}

.aat-footer-showcase__item::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(120deg, transparent 32%, rgba(255,255,255,.22) 47%, transparent 62%);
    transform: translateX(-130%);
    animation: aat-showcase-shine 7s ease-in-out infinite;
}

.aat-footer-showcase__item::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    box-shadow: inset 0 0 38px rgba(218, 171, 68, .16);
}

.aat-footer-showcase__item:nth-child(2)::before {
    animation-delay: 1.2s;
}

.aat-footer-showcase__item img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    transition: filter .55s ease;
}

.aat-footer-showcase__item:hover img {
    filter: brightness(1.04) contrast(1.02);
}

@keyframes aat-showcase-shine {
    0%, 72%, 100% {
        transform: translateX(-130%);
    }
    86% {
        transform: translateX(130%);
    }
}

.aat-footer-showcase + .aat-footer-promo {
    padding-top: 12px;
}

.aat-social__svg {
    display: block;
    width: 20px;
    height: 20px;
    color: #fff;
    transition: transform .22s ease, color .22s ease;
}

.aat-social a:hover .aat-social__svg, .aat-social a:focus-visible .aat-social__svg {
    transform: scale(1.08);
    color: var(--aat-gold);
}

@media (max-width: 700px) {
    .aat-footer-showcase {
        padding: 16px 0 10px;
    }
    .aat-footer-showcase__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .aat-footer-showcase__item {
        border-radius: 11px;
    }
    .aat-footer-showcase + .aat-footer-promo {
        padding-top: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .aat-footer-showcase__item::before {
        animation: none;
    }
}

/* ========================================================= AAT Phase 10 — show showcase images in full without cropping ========================================================= */
.aat-footer-showcase__item {
    aspect-ratio: auto;
}

.aat-footer-showcase__item img {
    height: auto;
    object-fit: contain;
}

/* ========================================================= AAT Mobile Stability Fix v1.3.0 Header menu + footer network/social icon dimensions ========================================================= */
@media (max-width:1080px) {
    .aat-brandbar__inner {
        position:relative;
        display:grid!important;
        grid-template-columns:minmax(0,1fr) 48px!important;
        align-items:center!important;
        gap:12px!important;
        flex-wrap:nowrap!important
    }
    .aat-brand {
        min-width:0!important;
        max-width:calc(100vw - 82px)!important;
        overflow:hidden
    }
    .aat-brand__text {
        min-width:0
    }
    .aat-brand__text strong {
        white-space:normal;
        line-height:1.45
    }
    .aat-menu-toggle {
        display:flex!important;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        width:46px!important;
        height:46px!important;
        margin:0!important;
        padding:8px!important;
        border:1px solid rgba(200,155,60,.55)!important;
        border-radius:5px;
        background:#151515!important;
        z-index:50
    }
    .aat-menu-toggle__line {
        display:block!important;
        width:25px!important;
        height:2px!important;
        margin:3px 0!important;
        background:var(--aat-gold,#c89b3c)!important
    }
    .aat-primary-nav {
        grid-column:1/-1!important;
        width:100%!important;
        order:initial!important
    }
    .aat-primary-nav.is-open {
        display:block!important
    }
}

@media (max-width:720px) {
    .aat-brandbar__inner {
        padding-block:13px!important
    }
    .aat-brand__logo {
        width:58px!important;
        height:58px!important
    }
    .aat-brand__text strong {
        font-size:17px!important
    }
}

.aat-network-card__icon {
    display:grid!important;
    place-items:center!important;
    overflow:hidden!important;
    flex:0 0 48px!important;
    width:48px!important;
    height:48px!important;
    min-width:48px!important;
    max-width:48px!important;
    min-height:48px!important;
    max-height:48px!important;
    border-radius:50%!important
}

.aat-network-card__icon svg {
    display:block!important;
    width:24px!important;
    height:24px!important;
    min-width:24px!important;
    max-width:24px!important;
    min-height:24px!important;
    max-height:24px!important;
    overflow:visible!important;
    fill:none!important;
    stroke:currentColor!important;
    stroke-width:1.7!important;
    vector-effect:non-scaling-stroke
}

.aat-social {
    align-items:center!important
}

.aat-social a {
    display:grid!important;
    place-items:center!important;
    overflow:hidden!important;
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    max-width:42px!important;
    min-height:42px!important;
    max-height:42px!important;
    padding:0!important;
    border-radius:50%!important
}

.aat-social a img,.aat-social a svg,.aat-social__svg {
    display:block!important;
    width:20px!important;
    height:20px!important;
    min-width:20px!important;
    max-width:20px!important;
    min-height:20px!important;
    max-height:20px!important;
    margin:0!important;
    padding:0!important;
    object-fit:contain!important
}

@media (max-width:430px) {
    .aat-social {
        display:grid!important;
        grid-template-columns:repeat(5,38px)!important;
        justify-content:center!important;
        gap:9px!important
    }
    .aat-social a {
        width:38px!important;
        height:38px!important;
        min-width:38px!important;
        max-width:38px!important;
        min-height:38px!important;
        max-height:38px!important
    }
    .aat-social a img,.aat-social a svg,.aat-social__svg {
        width:18px!important;
        height:18px!important;
        min-width:18px!important;
        max-width:18px!important;
        min-height:18px!important;
        max-height:18px!important
    }
}

/* ========================================================= AAT Version 0.3 — premium homepage section headers ========================================================= */
.aat-section-header--premium {
    position: relative;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 34px;
    text-align: center;
}

.aat-section-titlebox {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: fit-content;
    max-width: min(100%, 900px);
    padding: 18px 34px 20px;
    border: 1px solid rgba(200, 155, 60, .72);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(200,155,60,.10), transparent 35%), linear-gradient(145deg, #101010, #1a1814);
    box-shadow: 0 16px 42px rgba(0, 0, 0, .16), inset 0 0 0 1px rgba(255,255,255,.025);
    color: #fff;
}

.aat-section-titlebox::before, .aat-section-titlebox::after {
    content: "";
    position: absolute;
    width: 34px;
    height: 34px;
    pointer-events: none;
}

.aat-section-titlebox::before {
    top: 7px;
    inset-inline-start: 7px;
    border-top: 1px solid var(--aat-gold);
    border-inline-start: 1px solid var(--aat-gold);
}

.aat-section-titlebox::after {
    inset-inline-end: 7px;
    bottom: 7px;
    border-inline-end: 1px solid var(--aat-gold);
    border-bottom: 1px solid var(--aat-gold);
}

.aat-section-titlebox__icon {
    display: grid;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 1px solid rgba(200,155,60,.58);
    border-radius: 50%;
    background: rgba(200,155,60,.08);
    color: var(--aat-gold);
    box-shadow: inset 0 0 18px rgba(200,155,60,.06);
}

.aat-section-titlebox__icon svg {
    width: 29px;
    height: 29px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.aat-section-titlebox__icon .aat-flag-icon {
    width: 38px;
    height: 38px;
    stroke: rgba(200,155,60,.75);
    stroke-width: 1.25;
}

.aat-section-titlebox__copy {
    min-width: 0;
}

.aat-section-header--premium .aat-section-header__eyebrow {
    display: block;
    margin: 0 0 3px;
    color: #d8b35f;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.aat-section-header--premium h2 {
    margin: 0;
    color: #f0c970;
    font-size: clamp(28px, 3.3vw, 43px);
    line-height: 1.25;
    font-weight: 850;
    text-shadow: 0 2px 14px rgba(0,0,0,.3);
}

.aat-section-header--premium p {
    max-width: 690px;
    margin: 7px auto 0;
    color: #d2ccc0;
    font-size: clamp(13px, 1.1vw, 15px);
    line-height: 1.75;
}

.aat-section-header--premium .aat-slider-controls {
    align-self: center;
}

.aat-section-header--premium .aat-slider-button {
    border-color: rgba(200,155,60,.46);
    border-radius: 50%;
    background: #161616;
    color: var(--aat-gold);
    box-shadow: 0 7px 18px rgba(0,0,0,.13);
}

.aat-section-header--premium .aat-slider-button:hover, .aat-section-header--premium .aat-slider-button:focus-visible {
    border-color: var(--aat-gold);
    background: var(--aat-gold);
    color: #111;
}

.aat-content-section--ltr .aat-slider__track, .aat-content-section--ltr .aat-slider-card, .aat-content-section--ltr .aat-slider-card__body {
    direction: ltr;
    text-align: left;
}

.aat-content-section--ltr .aat-slider-card__badge {
    right: auto;
    left: 14px;
}

@supports (animation-timeline: view()) {
    .aat-section-titlebox {
        animation: aat-section-reveal both ease-out;
        animation-timeline: view();
        animation-range: entry 8% cover 28%;
    }
}

@keyframes aat-section-reveal {
    from {
        opacity: 0;
        transform: translateY(16px) scale(.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 700px) {
    .aat-section-header--premium {
        gap: 14px;
        margin-bottom: 26px;
    }
    .aat-section-titlebox {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        padding: 17px 18px 19px;
        border-radius: 12px;
    }
    .aat-section-titlebox__icon {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
    }
    .aat-section-titlebox__icon svg {
        width: 26px;
        height: 26px;
    }
    .aat-section-titlebox__icon .aat-flag-icon {
        width: 34px;
        height: 34px;
    }
    .aat-section-header--premium h2 {
        font-size: clamp(26px, 8vw, 34px);
    }
    .aat-section-header--premium p {
        font-size: 13px;
        line-height: 1.7;
    }
    .aat-section-titlebox::before, .aat-section-titlebox::after {
        width: 25px;
        height: 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .aat-section-titlebox {
        animation: none !important;
    }
}

/* ========================================================= AAT Version 0.4 — compact editorial section headings Fixes oversized title panels on desktop and mobile. ========================================================= */
.aat-section-header--premium {
    gap: 13px;
    margin-bottom: 28px;
}

.aat-section-titlebox {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    width: auto;
    max-width: min(100%, 760px);
    padding: 0 4px 15px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #171717;
}

.aat-section-titlebox::before {
    display: none;
}

.aat-section-titlebox::after {
    inset: auto 8% 0;
    width: auto;
    height: 1px;
    border: 0;
    background: linear-gradient(90deg, transparent, rgba(200,155,60,.92), transparent);
}

.aat-section-titlebox__icon {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(155,113,37,.34);
    background: rgba(200,155,60,.07);
    color: var(--aat-gold-dark);
    box-shadow: none;
}

.aat-section-titlebox__icon svg {
    width: 21px;
    height: 21px;
    stroke-width: 1.65;
}

.aat-section-titlebox__icon .aat-flag-icon {
    width: 30px;
    height: 30px;
}

.aat-section-titlebox__copy {
    text-align: center;
}

.aat-section-header--premium .aat-section-header__eyebrow {
    margin-bottom: 1px;
    color: #9b7125;
    font-size: 10px;
    letter-spacing: .10em;
}

.aat-section-header--premium h2 {
    color: #1a1815;
    font-family: "Noto Naskh Arabic", "Traditional Arabic", "Amiri", Georgia, serif;
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: 0;
    text-shadow: none;
}

.aat-content-section--ltr .aat-section-header--premium h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
}

.aat-section-header--premium p {
    max-width: 650px;
    margin-top: 4px;
    color: #6d665c;
    font-size: 14px;
    line-height: 1.65;
}

.aat-section-header--premium .aat-slider-controls {
    gap: 7px;
}

.aat-section-header--premium .aat-slider-button {
    width: 38px;
    height: 38px;
    border-color: rgba(155,113,37,.30);
    background: transparent;
    color: #7b571b;
    box-shadow: none;
    font-size: 23px;
}

.aat-section-header--premium .aat-slider-button:hover, .aat-section-header--premium .aat-slider-button:focus-visible {
    background: #171717;
    border-color: #171717;
    color: var(--aat-gold);
}

@media (max-width: 700px) {
    .aat-content-section {
        padding-top: 45px;
        padding-bottom: 55px;
    }
    .aat-section-header--premium {
        gap: 10px;
        margin-bottom: 21px;
    }
    .aat-section-titlebox {
        flex-direction: row;
        gap: 9px;
        width: auto;
        max-width: 100%;
        padding: 0 8px 12px;
    }
    .aat-section-titlebox__icon {
        flex-basis: 32px;
        width: 32px;
        height: 32px;
    }
    .aat-section-titlebox__icon svg {
        width: 18px;
        height: 18px;
    }
    .aat-section-titlebox__icon .aat-flag-icon {
        width: 25px;
        height: 25px;
    }
    .aat-section-header--premium .aat-section-header__eyebrow {
        font-size: 8.5px;
        line-height: 1.3;
    }
    .aat-section-header--premium h2 {
        font-size: clamp(26px, 7.5vw, 32px);
        line-height: 1.18;
    }
    .aat-section-header--premium p {
        max-width: 92vw;
        margin-top: 3px;
        font-size: 12px;
        line-height: 1.55;
    }
    .aat-section-header--premium .aat-slider-button {
        width: 34px;
        height: 34px;
        font-size: 21px;
    }
}

@media (max-width: 420px) {
    .aat-section-titlebox {
        gap: 7px;
        padding-inline: 2px;
    }
    .aat-section-titlebox__icon {
        flex-basis: 29px;
        width: 29px;
        height: 29px;
    }
    .aat-section-header--premium h2 {
        font-size: clamp(24px, 7.8vw, 29px);
    }
    .aat-section-header--premium p {
        font-size: 11.5px;
    }
}

/* ========================================================= AAT Version 0.5 — mobile header and section-title repair ========================================================= */
/* Hard size guard: prevents parent-theme SVG rules from enlarging icons. */
.aat-section-header--premium .aat-section-titlebox__icon {
    max-width: 38px !important;
    max-height: 38px !important;
    overflow: hidden !important;
}

.aat-section-header--premium .aat-section-titlebox__icon > svg, .aat-section-header--premium .aat-section-titlebox__icon svg.aat-flag-icon {
    display: block !important;
    width: 21px !important;
    height: 21px !important;
    max-width: 21px !important;
    max-height: 21px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
}

@media (max-width: 700px) {
    /* Top information becomes a clear, compact mobile information strip. */
    .aat-topbar {
        padding: 10px 0 11px;
    }
    .aat-topbar .aat-topbar__inner {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        padding-block: 0 !important;
    }
    .aat-topbar .aat-topbar__meta {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 7px !important;
        width: 100% !important;
    }
    .aat-topbar .aat-topbar__meta > * {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 0 !important;
        min-height: 36px !important;
        padding: 7px 9px !important;
        border: 1px solid rgba(200,155,60,.22) !important;
        border-radius: 7px !important;
        background: rgba(255,255,255,.035) !important;
        color: #e7e1d7 !important;
        font-size: 12px !important;
        line-height: 1.35 !important;
        text-align: center !important;
        white-space: normal !important;
        word-break: break-word !important;
    }
    .aat-topbar .aat-topbar__meta > *::after {
        display: none !important;
    }
    .aat-topbar .aat-topbar__date {
        grid-column: 1 / -1 !important;
        min-height: 30px !important;
        padding: 3px 8px !important;
        border: 0 !important;
        border-bottom: 1px solid rgba(200,155,60,.20) !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: #bdb6ab !important;
        font-size: 11.5px !important;
    }
    .aat-topbar .aat-topbar__meta a::before {
        content: "";
        flex: 0 0 5px;
        width: 5px;
        height: 5px;
        margin-inline-end: 7px;
        border-radius: 50%;
        background: var(--aat-gold);
        box-shadow: 0 0 0 3px rgba(200,155,60,.10);
    }
    .aat-topbar .aat-topbar__tools {
        display: grid !important;
        grid-template-columns: minmax(0,1fr) 43px !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100% !important;
    }
    .aat-topbar .aat-language-switcher {
        min-width: 0 !important;
    }
    .aat-topbar .aat-language-switcher select, .aat-topbar .aat-language-switcher .gt_selector {
        width: 100% !important;
        max-width: none !important;
        height: 40px !important;
        margin: 0 !important;
        border-color: rgba(200,155,60,.30) !important;
        border-radius: 7px !important;
        background: #111 !important;
        color: #f2ede5 !important;
        font-size: 13px !important;
    }
    .aat-topbar .aat-search-toggle {
        display: grid !important;
        width: 43px !important;
        height: 40px !important;
        place-items: center !important;
        padding: 0 !important;
        border: 1px solid rgba(200,155,60,.30) !important;
        border-radius: 7px !important;
        background: #111 !important;
        color: var(--aat-gold) !important;
        font-size: 22px !important;
    }
    /* Mobile section headers: typography and a tiny ornament, no large icons. */
    .aat-section-header--premium {
        align-items: center !important;
        gap: 9px !important;
        margin-bottom: 18px !important;
        text-align: center !important;
    }
    .aat-section-header--premium .aat-section-titlebox {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 8px 13px !important;
        text-align: center !important;
    }
    .aat-section-header--premium .aat-section-titlebox::before {
        content: "" !important;
        display: block !important;
        width: 7px !important;
        height: 7px !important;
        margin: 0 auto 8px !important;
        border: 1px solid var(--aat-gold-dark) !important;
        background: rgba(200,155,60,.10) !important;
        transform: rotate(45deg) !important;
    }
    .aat-section-header--premium .aat-section-titlebox::after {
        inset: auto 22% 0 !important;
    }
    .aat-section-header--premium .aat-section-titlebox__icon, .aat-section-header--premium .aat-section-titlebox__icon > svg, .aat-section-header--premium .aat-section-titlebox__icon svg.aat-flag-icon {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        max-width: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }
    .aat-section-header--premium .aat-section-titlebox__copy {
        width: 100% !important;
        text-align: center !important;
    }
    .aat-section-header--premium .aat-section-header__eyebrow {
        display: block !important;
        margin: 0 0 2px !important;
        font-size: 9px !important;
        letter-spacing: .08em !important;
    }
    .aat-section-header--premium h2 {
        margin: 0 !important;
        font-size: clamp(25px, 7.1vw, 30px) !important;
        line-height: 1.28 !important;
        font-weight: 700 !important;
    }
    .aat-section-header--premium p {
        max-width: 34em !important;
        margin: 5px auto 0 !important;
        font-size: 12px !important;
        line-height: 1.65 !important;
    }
    .aat-section-header--premium .aat-slider-controls {
        align-self: center !important;
        gap: 6px !important;
    }
    .aat-section-header--premium .aat-slider-button {
        width: 32px !important;
        height: 32px !important;
        font-size: 19px !important;
    }
}

@media (max-width: 390px) {
    .aat-topbar .aat-topbar__meta {
        grid-template-columns: 1fr !important;
    }
    .aat-topbar .aat-topbar__date {
        grid-column: auto !important;
    }
    .aat-section-header--premium h2 {
        font-size: 25px !important;
    }
}

/* ========================================================= AAT Theme 1.0 RC1 — definitive mobile/editorial header fix ========================================================= */
/* Retire the old premium box and every legacy icon, including cached markup. */
.aat-section-header--premium .aat-section-titlebox__icon, .aat-section-header--editorial .aat-section-titlebox__icon, .aat-section-titlebox__icon, .aat-section-titlebox__icon svg {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.aat-section-header--editorial, .aat-section-header--premium {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 22px !important;
    margin-bottom: 25px !important;
}

.aat-section-header--editorial .aat-section-titlebox, .aat-section-header--premium .aat-section-titlebox {
    display: block !important;
    width: min(100%, 880px) !important;
    max-width: 880px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #171717 !important;
}

.aat-section-ornament {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: min(100%, 440px) !important;
    margin: 0 0 11px !important;
    color: var(--aat-gold-dark) !important;
}

.aat-section-ornament i {
    display: block !important;
    flex: 1 1 auto !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, rgba(168,124,36,.72)) !important;
}

.aat-section-ornament i:last-child {
    background: linear-gradient(90deg, rgba(168,124,36,.72), transparent) !important;
}

.aat-section-ornament b {
    display: block !important;
    font-family: Georgia, serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
}

.aat-section-header--editorial .aat-section-header__eyebrow, .aat-section-header--premium .aat-section-header__eyebrow {
    display: block !important;
    margin: 0 0 3px !important;
    color: #92702c !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
}

.aat-section-header--editorial h2, .aat-section-header--premium h2 {
    margin: 0 !important;
    color: #181818 !important;
    font-family: Georgia, "Times New Roman", Tahoma, serif !important;
    font-size: clamp(30px, 3.1vw, 43px) !important;
    font-weight: 700 !important;
    line-height: 1.28 !important;
    letter-spacing: 0 !important;
}

.aat-section-header--editorial p, .aat-section-header--premium p {
    max-width: 760px !important;
    margin: 7px 0 0 !important;
    color: #655f56 !important;
    font-size: 14px !important;
    line-height: 1.8 !important;
}

/* Definitive mobile top strip. */
@media (max-width: 720px) {
    .aat-topbar {
        padding: 9px 0 10px !important;
        background: #050505 !important;
    }
    .aat-topbar .aat-topbar__inner {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        min-height: 0 !important;
        padding: 0 !important;
    }
    .aat-topbar .aat-topbar__meta {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 6px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .aat-topbar .aat-topbar__meta > * {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 0 !important;
        min-height: 35px !important;
        margin: 0 !important;
        padding: 7px 8px !important;
        border: 1px solid rgba(200,155,60,.24) !important;
        border-radius: 6px !important;
        background: rgba(255,255,255,.035) !important;
        color: #eee8de !important;
        font-size: 11.5px !important;
        line-height: 1.35 !important;
        text-align: center !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }
    .aat-topbar .aat-topbar__meta > *::after {
        display: none !important;
    }
    .aat-topbar .aat-topbar__date {
        grid-column: 1 / -1 !important;
        min-height: 24px !important;
        padding: 1px 6px 5px !important;
        border: 0 !important;
        border-bottom: 1px solid rgba(200,155,60,.22) !important;
        border-radius: 0 !important;
        background: transparent !important;
        color: #aaa39a !important;
        font-size: 10.5px !important;
    }
    .aat-topbar .aat-topbar__meta a::before {
        content: "" !important;
        display: block !important;
        flex: 0 0 4px !important;
        width: 4px !important;
        height: 4px !important;
        margin-inline-end: 6px !important;
        border-radius: 50% !important;
        background: var(--aat-gold) !important;
    }
    .aat-topbar .aat-topbar__tools {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 42px !important;
        align-items: center !important;
        gap: 6px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .aat-topbar .aat-language-switcher, .aat-topbar .aat-language-switcher > * {
        min-width: 0 !important;
        width: 100% !important;
    }
    .aat-topbar .aat-language-switcher select, .aat-topbar .aat-language-switcher .gt_selector {
        display: block !important;
        width: 100% !important;
        height: 38px !important;
        margin: 0 !important;
        padding: 0 9px !important;
        border: 1px solid rgba(200,155,60,.30) !important;
        border-radius: 6px !important;
        background: #111 !important;
        color: #f2ede5 !important;
        font-size: 12px !important;
    }
    .aat-topbar .aat-search-toggle {
        display: grid !important;
        width: 42px !important;
        height: 38px !important;
        min-width: 42px !important;
        max-width: 42px !important;
        place-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 1px solid rgba(200,155,60,.30) !important;
        border-radius: 6px !important;
        background: #111 !important;
        color: var(--aat-gold) !important;
        font-size: 20px !important;
        line-height: 1 !important;
    }
    .aat-content-section {
        padding: 48px 0 58px !important;
    }
    .aat-section-header--editorial, .aat-section-header--premium {
        align-items: center !important;
        flex-direction: column !important;
        gap: 12px !important;
        margin-bottom: 18px !important;
        text-align: center !important;
    }
    .aat-section-header--editorial .aat-section-titlebox, .aat-section-header--premium .aat-section-titlebox {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 3px !important;
        text-align: center !important;
    }
    .aat-section-ornament {
        width: min(78%, 270px) !important;
        margin: 0 auto 9px !important;
        gap: 8px !important;
    }
    .aat-section-ornament b {
        font-size: 11px !important;
    }
    .aat-section-header--editorial .aat-section-header__eyebrow, .aat-section-header--premium .aat-section-header__eyebrow {
        margin-bottom: 2px !important;
        font-size: 9px !important;
    }
    .aat-section-header--editorial h2, .aat-section-header--premium h2 {
        font-size: clamp(25px, 7.2vw, 30px) !important;
        line-height: 1.3 !important;
    }
    .aat-section-header--editorial p, .aat-section-header--premium p {
        max-width: 34em !important;
        margin: 5px auto 0 !important;
        font-size: 12px !important;
        line-height: 1.65 !important;
    }
    .aat-section-header--editorial .aat-slider-controls, .aat-section-header--premium .aat-slider-controls {
        align-self: center !important;
        gap: 6px !important;
    }
    .aat-section-header--editorial .aat-slider-button, .aat-section-header--premium .aat-slider-button {
        width: 31px !important;
        height: 31px !important;
        font-size: 18px !important;
    }
}

@media (max-width: 390px) {
    .aat-topbar .aat-topbar__meta {
        grid-template-columns: 1fr !important;
    }
    .aat-topbar .aat-topbar__date {
        grid-column: auto !important;
    }
}

/* ========================================================= AAT Theme 1.0 RC2 — centered editorial ornaments + mobile language switcher containment ========================================================= */
/* Desktop: center the editorial title and gold ornament across the full section width. Keep slider controls independent at the left edge. */
@media (min-width: 721px) {
    .aat-section-header--editorial, .aat-section-header--premium {
        position: relative !important;
        display: block !important;
        width: 100% !important;
        min-height: 104px !important;
        margin-bottom: 25px !important;
        text-align: center !important;
    }
    .aat-section-header--editorial .aat-section-titlebox, .aat-section-header--premium .aat-section-titlebox {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 auto !important;
        padding: 0 92px !important;
        text-align: center !important;
    }
    .aat-section-header--editorial .aat-section-titlebox__copy, .aat-section-header--premium .aat-section-titlebox__copy {
        width: 100% !important;
        max-width: 880px !important;
        margin: 0 auto !important;
        text-align: center !important;
    }
    .aat-section-ornament {
        width: min(100%, 440px) !important;
        margin: 0 auto 11px !important;
    }
    .aat-section-header--editorial p, .aat-section-header--premium p {
        margin: 7px auto 0 !important;
    }
    .aat-section-header--editorial .aat-slider-controls, .aat-section-header--premium .aat-slider-controls {
        position: absolute !important;
        left: 0 !important;
        bottom: 0 !important;
        z-index: 2 !important;
        margin: 0 !important;
    }
}

/* Mobile: prevent Google Translate or another language widget from escaping the topbar and forcing horizontal page overflow. */
@media (max-width: 720px) {
    .aat-topbar, .aat-topbar__inner, .aat-topbar__tools, .aat-language-switcher {
        max-width: 100% !important;
        overflow: visible !important;
    }
    .aat-topbar .aat-language-switcher, .aat-topbar .aat-language-switcher > div, .aat-topbar .aat-language-switcher .gtranslate_wrapper, .aat-topbar .aat-language-switcher .switcher, .aat-topbar .aat-language-switcher .switcher .selected, .aat-topbar .aat-language-switcher .switcher .option {
        position: static !important;
        inset: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        float: none !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    .aat-topbar .aat-language-switcher select, .aat-topbar .aat-language-switcher .gt_selector, .aat-topbar .aat-language-switcher .switcher .selected a {
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: 38px !important;
        margin: 0 !important;
        padding: 0 12px !important;
    }
    .aat-topbar .aat-language-switcher .switcher .option {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 9999 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    html, body {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
}

/* ========================================================= AAT Theme 1.0 RC3 — definitive mobile horizontal-shift fix ========================================================= */
@media (max-width: 720px) {
    html, body {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        overflow-x: clip !important;
    }
    #page, .site, .aat-site, .aat-official-home, .aat-site-header, .aat-main, main, .aat-site-footer {
        box-sizing: border-box !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
    }
    .aat-shell, .aat-container {
        box-sizing: border-box !important;
        width: calc(100% - 24px) !important;
        max-width: calc(100% - 24px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .aat-topbar, .aat-topbar__inner, .aat-topbar__tools {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }
    .aat-topbar .aat-language-switcher {
        direction: ltr !important;
        position: relative !important;
        display: block !important;
        box-sizing: border-box !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        float: none !important;
        overflow: visible !important;
    }
    .aat-topbar .aat-language-switcher .gtranslate_wrapper, .aat-topbar .aat-language-switcher .switcher, .aat-topbar .aat-language-switcher .switcher .selected, .aat-topbar .aat-language-switcher .switcher .selected a {
        box-sizing: border-box !important;
        position: relative !important;
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        float: none !important;
    }
    .aat-topbar .aat-language-switcher .switcher .selected a {
        height: 38px !important;
        padding: 8px 38px 8px 12px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .aat-topbar .aat-language-switcher .switcher .option {
        box-sizing: border-box !important;
        position: absolute !important;
        top: calc(100% + 2px) !important;
        left: 0 !important;
        right: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        margin: 0 !important;
        transform: none !important;
        z-index: 99999 !important;
    }
    /* Google Translate may inject inline offsets after the page loads. */
    body.translated-ltr, body.translated-rtl {
        top: 0 !important;
        left: auto !important;
        right: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        transform: none !important;
    }
    .goog-te-banner-frame, iframe.goog-te-banner-frame, .goog-te-balloon-frame, #goog-gt-tt {
        display: none !important;
    }
}

/* ========================================================= AAT Theme 1.0 RC4 — mobile hero final polish Portrait visible above content + stable gold action buttons ========================================================= */
@media (max-width: 720px) {
    .aat-hero {
        overflow: hidden !important;
    }
    .aat-hero__inner {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 28px !important;
        width: 100% !important;
        min-width: 0 !important;
        padding-top: 34px !important;
        padding-bottom: 42px !important;
    }
    /* Show the official portrait first on phones without stretching it. */
    .aat-hero__visual {
        order: -1 !important;
        display: flex !important;
        position: relative !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 0 !important;
        margin: 0 auto !important;
        padding: 0 !important;
        overflow: visible !important;
    }
    .aat-hero__portrait-frame {
        display: block !important;
        width: clamp(190px, 58vw, 270px) !important;
        max-width: calc(100vw - 56px) !important;
        height: auto !important;
        aspect-ratio: 4 / 5 !important;
        margin: 0 auto !important;
        border-radius: 110px 110px 16px 16px !important;
        overflow: hidden !important;
    }
    .aat-hero__portrait-frame img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        object-fit: cover !important;
        object-position: center 24% !important;
    }
    .aat-hero__mark {
        display: block !important;
        width: clamp(120px, 36vw, 170px) !important;
        top: 19% !important;
        inset-inline-start: 50% !important;
        transform: translateX(-50%) !important;
        opacity: .18 !important;
    }
    .aat-hero__content {
        order: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 auto !important;
        text-align: center !important;
    }
    /* Protect the CTA styling from generic mobile link rules. */
    .aat-hero__actions {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 11px !important;
        width: min(100%, 390px) !important;
        max-width: 390px !important;
        margin: 26px auto 0 !important;
    }
    .aat-hero__actions a.aat-button, .aat-hero__actions .aat-button, .aat-hero__actions a.aat-button--gold, .aat-hero__actions .aat-button--gold {
        box-sizing: border-box !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 46px !important;
        margin: 0 !important;
        padding: 10px 14px !important;
        border: 1px solid #d4aa4c !important;
        border-radius: 4px !important;
        background: linear-gradient(135deg, #dcb449, #bd861b) !important;
        box-shadow: 0 8px 22px rgba(0,0,0,.22) !important;
        color: #111 !important;
        font-size: 14px !important;
        font-weight: 800 !important;
        line-height: 1.35 !important;
        text-align: center !important;
        text-decoration: none !important;
        -webkit-text-fill-color: #111 !important;
    }
    .aat-hero__actions a.aat-button:hover, .aat-hero__actions a.aat-button:focus, .aat-hero__actions a.aat-button:active {
        background: linear-gradient(135deg, #e5c267, #c99327) !important;
        border-color: #e1bd62 !important;
        color: #111 !important;
        transform: none !important;
    }
}

@media (max-width: 390px) {
    .aat-hero__actions {
        grid-template-columns: 1fr !important;
        width: min(100%, 280px) !important;
    }
    .aat-hero__portrait-frame {
        width: clamp(184px, 62vw, 235px) !important;
    }
}

/* ========================================================= AAT Theme 1.0 RC5 — guaranteed mobile portrait + CTA buttons Uses dedicated mobile markup so desktop layout remains untouched. ========================================================= */
.aat-hero__mobile-visual {
    display: none;
}

@media (max-width: 720px) {
    .aat-hero__inner {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 24px !important;
    }
    /* Dedicated mobile portrait. */
    .aat-hero__mobile-visual {
        display: flex !important;
        order: 1 !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 !important;
    }
    .aat-hero__mobile-portrait-frame {
        display: block !important;
        position: relative !important;
        width: clamp(190px, 57vw, 255px) !important;
        max-width: calc(100vw - 64px) !important;
        aspect-ratio: 4 / 5 !important;
        margin: 0 auto !important;
        overflow: hidden !important;
        border: 1px solid rgba(224,184,100,.72) !important;
        border-radius: 110px 110px 18px 18px !important;
        background: #171613 !important;
        box-shadow: 0 18px 42px rgba(0,0,0,.35) !important;
    }
    .aat-hero__mobile-portrait-frame::after {
        content: "";
        position: absolute;
        inset: 9px;
        border: 1px solid rgba(255,255,255,.16);
        border-radius: 100px 100px 12px 12px;
        pointer-events: none;
    }
    .aat-hero__mobile-portrait-frame img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        object-fit: cover !important;
        object-position: center top !important;
    }
    /* Keep the original desktop visual hidden only on phones. */
    .aat-hero__visual {
        display: none !important;
    }
    .aat-hero__content {
        order: 2 !important;
    }
    .aat-hero__actions {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 11px !important;
        width: min(100%, 390px) !important;
        max-width: 390px !important;
        margin: 26px auto 0 !important;
    }
    .aat-hero__actions > a.aat-hero__button {
        box-sizing: border-box !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 48px !important;
        margin: 0 !important;
        padding: 11px 15px !important;
        border: 1px solid #dfb652 !important;
        border-radius: 5px !important;
        background: linear-gradient(135deg,#dfb84f,#bd861b) !important;
        box-shadow: 0 8px 22px rgba(0,0,0,.22) !important;
        color: #111 !important;
        font-size: 14px !important;
        font-weight: 800 !important;
        line-height: 1.35 !important;
        text-align: center !important;
        text-decoration: none !important;
        -webkit-text-fill-color: #111 !important;
    }
}

@media (max-width: 390px) {
    .aat-hero__actions {
        grid-template-columns: 1fr !important;
        width: min(100%, 285px) !important;
    }
}

/* =========================================================
   AAT Theme 1.0 — Final mobile slider cards
   Phone only. Desktop and tablet slider remain unchanged.
========================================================= */
.aat-mobile-post-separator {
    display: none;
}

@media (max-width: 720px) {
    .aat-content-section .aat-slider {
        overflow: visible !important;
    }
    .aat-content-section .aat-slider__track {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 26px !important;
        width: 100% !important;
        overflow: visible !important;
        padding: 6px 0 12px !important;
        scroll-snap-type: none !important;
    }
    .aat-content-section article.aat-slider-card {
        display: flex !important;
        flex: 0 0 auto !important;
        flex-direction: column !important;
        align-self: stretch !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        border: 1px solid rgba(184, 134, 35, 0.48) !important;
        border-radius: 15px !important;
        background: #ffffff !important;
        box-shadow: 0 10px 26px rgba(25, 20, 12, 0.11) !important;
        scroll-snap-align: none !important;
    }
    .aat-content-section article.aat-slider-card .aat-slider-card__image {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
    }
    .aat-content-section article.aat-slider-card .aat-slider-card__image img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        object-fit: cover !important;
    }
    .aat-content-section article.aat-slider-card .aat-slider-card__body {
        display: block !important;
        min-height: 0 !important;
        height: auto !important;
        padding: 20px 18px 24px !important;
        background: #ffffff !important;
    }
    .aat-content-section article.aat-slider-card h3, .aat-content-section article.aat-slider-card p {
        min-height: 0 !important;
        height: auto !important;
        overflow: visible !important;
        -webkit-line-clamp: unset !important;
        line-clamp: unset !important;
    }
}