/* =========================================================================
 * Gate NL – Landing Page styles
 * Visual source of truth: "Gate NL Landing.html" (Claude Design export).
 * All rules are scoped under .gnl-landing to avoid leaking into the theme,
 * Elementor, the footer, or other plugin frontends.
 *
 * Design tokens (from the reference):
 *   Orange   #F15A22
 *   Navy     #1B3880
 *   Gradient linear-gradient(200deg,#33549F 0%,#1B3880 55%,#142A63 100%)
 *   Ink      #1C1F2A / #20242f / #2a2e3a
 *   Body     #4a4f5c   Muted #6a6f7b   Faint #9aa0ac
 *   Font     Vazirmatn (bundled variable woff2, OFL license)
 * Breakpoints: mobile <768px; side labels visible >=1240px.
 * ========================================================================= */

/* Bundled Vazirmatn variable font (weights 100-900). Family is prefixed
   with "GNL" so it can never clash with a theme-registered Vazirmatn. */
@font-face {
    font-family: "GNL Vazirmatn";
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
    src: url("../fonts/landing/vazirmatn-arabic.woff2") format("woff2");
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
    font-family: "GNL Vazirmatn";
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
    src: url("../fonts/landing/vazirmatn-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "GNL Vazirmatn";
    font-style: normal;
    font-weight: 100 1000;
    font-display: swap;
    src: url("../fonts/landing/vazirmatn-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.gnl-landing {
    --gnl-orange: #F15A22;
    --gnl-navy: #1B3880;
    --gnl-grad: linear-gradient(200deg, #33549F 0%, #1B3880 55%, #142A63 100%);
    --gnl-ink: #1C1F2A;
    --gnl-ink-2: #20242f;
    --gnl-ink-3: #2a2e3a;
    --gnl-body: #4a4f5c;
    --gnl-muted: #6a6f7b;
    --gnl-faint: #9aa0ac;
    --gnl-card-bg: #f4f5f7;

    /* Section spacing tokens (~2x the reference's compressed rhythm). */
    --gnl-l-secgap: 112px;
    --gnl-l-secgap-half: 86px;

    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    color: var(--gnl-ink);
    /* Single canonical landing font stack — MUST stay byte-identical to the
       stack in gnl_landing_critical_css() (landing/gnl-landing.php), or the
       inline critical block (later in DOM, same specificity) wins and the
       page falls back to a different font. Prefers the site's registered
       Yekan Bakh (Elementor custom font); "GNL Vazirmatn" is the bundled
       OFL fallback so Persian text never degrades to a system font. */
    font-family: "Yekan Bakh", "YekanBakh", "IRANYekan", "GNL Vazirmatn", "Vazirmatn", Tahoma, Arial, sans-serif;
    background: #fff;
    -webkit-font-smoothing: antialiased;
    text-align: right;
    overflow-x: clip;
}

.gnl-landing *,
.gnl-landing *::before,
.gnl-landing *::after {
    box-sizing: border-box;
}

/* Form controls and links don't inherit font by default — force the
   landing stack onto every text-bearing element inside the wrapper. */
.gnl-landing button,
.gnl-landing input,
.gnl-landing textarea,
.gnl-landing select,
.gnl-landing a {
    font-family: inherit;
}

.gnl-landing img {
    max-width: 100%;
    height: auto;
    display: block;
    border: 0;
}

.gnl-landing a {
    text-decoration: none;
    color: inherit;
}

.gnl-landing h1,
.gnl-landing h2,
.gnl-landing p {
    margin: 0;
    padding: 0;
}

.gnl-landing :focus-visible {
    outline: 3px solid var(--gnl-orange);
    outline-offset: 2px;
    border-radius: 6px;
}

.gnl-l-t-orange { color: var(--gnl-orange); }
.gnl-l-t-navy   { color: var(--gnl-navy); }

/* =========================================================================
 * HEADER / NAVIGATION
 * ref: sticky; maxw 1120 + 0 46px; orange box radius 0 0 24 24;
 *      inner 0 38px, h 84; logo 52 white; links 14/500 gap 28.
 * ========================================================================= */
.gnl-l-header {
    position: sticky;
    top: 0;
    z-index: 100;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 46px;
    background: transparent;
}

.gnl-l-navbox {
    background: var(--gnl-orange);
    border-radius: 0 0 24px 24px;
    width: 100%;
}

.gnl-l-nav-inner {
    padding: 0 38px;
    height: 84px;
    display: flex;
    /* Desktop: logo LEFT, menu RIGHT. In an RTL flex row the first child
       lands right, so reverse the row; each child keeps its own RTL text
       direction, and the menu's internal order (خانه first from the right)
       is unchanged. */
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
}

.gnl-l-nav-brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.gnl-l-nav-brand img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.gnl-l-brand-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 14px;
}

.gnl-l-nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.gnl-l-nav-links a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.gnl-l-nav-links a.is-active {
    color: #fff;
    font-weight: 800;
}

.gnl-l-nav-links a:hover {
    color: #fff;
    transform: translateY(-1px);
}

/* Hamburger — hidden on desktop. */
.gnl-l-burger {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    transition: transform 0.2s ease;
}

.gnl-l-burger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: #fff;
    border-radius: 2px;
}

.gnl-l-burger span + span {
    margin-top: 6px;
}

.gnl-l-burger:hover {
    transform: scale(1.08);
}

/* Off-canvas mobile menu (items come from the WP "menu-Off-Canvas" menu). */
.gnl-l-offcanvas-backdrop {
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(17, 20, 30, 0.5);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.gnl-l-offcanvas-backdrop.is-open {
    opacity: 1;
}

.gnl-l-offcanvas {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    width: min(300px, 84vw);
    background: var(--gnl-orange);
    padding: 56px 26px 26px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    overflow-y: auto;
}

.gnl-l-offcanvas.is-open {
    transform: translateX(0);
}

.gnl-l-offcanvas a {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    transition: opacity 0.15s ease;
}

.gnl-l-offcanvas a:last-child {
    border-bottom: 0;
}

.gnl-l-offcanvas a:hover {
    opacity: 0.8;
}

.gnl-l-offcanvas-close {
    position: absolute;
    top: 12px;
    left: 14px;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

/* =========================================================================
 * HERO
 * ref: container 900px, pad 48 24 46; title 78/900/1.05 mb22;
 *      desc 14.5 lh2.05 maxw 420; media 48% minh 320; watermark 280 op .09;
 *      airplane 440.
 * ========================================================================= */
.gnl-l-hero {
    position: relative;
    overflow: hidden;
    background: #fff;
}

.gnl-l-hero-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 48px 24px 46px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.gnl-l-hero-text {
    flex: 1;
    order: 1;
    z-index: 2;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: right;
}

.gnl-l-hero-title {
    font-size: 78px;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 22px;
}

.gnl-l-hero-desc {
    color: var(--gnl-body);
    font-size: 14.5px;
    line-height: 2.05;
    max-width: 420px;
}

.gnl-l-hero-media {
    flex: 0 0 48%;
    position: relative;
    order: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
}

.gnl-l-hero-watermark {
    position: absolute;
    width: 280px;
    opacity: 0.09;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    filter: grayscale(1);
}

.gnl-l-hero-airplane {
    position: relative;
    z-index: 2;
    width: 440px;
    object-fit: contain;
}

span.gnl-l-hero-airplane.gnl-l-img-placeholder {
    display: block;
    height: 280px;
}

/* Edge-connected side labels — shown only >=1240px (design winWide). */
.gnl-l-hero-side {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.gnl-l-hero-side--right { right: 0; }
.gnl-l-hero-side--left  { left: 0; }

.gnl-l-hero-side-line {
    width: 48px;
    height: 2px;
    background: var(--gnl-orange);
    flex-shrink: 0;
}

.gnl-l-hero-side-text {
    font-size: 13px;
    font-weight: 700;
    color: var(--gnl-ink-2);
    line-height: 1.6;
    white-space: nowrap;
    text-align: right;
    transition: color 0.25s ease;
}

.gnl-l-hero-side:hover .gnl-l-hero-side-text {
    color: var(--gnl-orange);
}

@media (min-width: 1240px) {
    .gnl-l-hero-side {
        display: flex;
    }
}

/* =========================================================================
 * CTA BANNER
 * ref desktop: wrap maxw 1120 pad 0 46 56; banner navy radius 26,
 *      pad 34 44 36; title 27/800/1.55; assess = text 14 + 46x12 arrow;
 *      white box radius 16 pad 16 20 16 16; orange btn radius 9 pad 12 34.
 * ========================================================================= */
.gnl-l-cta-wrap {
    max-width: 1120px;
    margin: 0 auto;
    padding: var(--gnl-l-secgap-half) 46px calc(var(--gnl-l-secgap) * 0.8);
}

.gnl-l-cta-plane {
    display: none;
    justify-content: center;
    position: relative;
    z-index: 2;
    /* Top gap breathes; the -62px pull-down is the design's intentional
       image-over-banner overlap, not section compression. */
    margin: 24px 0 -62px;
}

.gnl-l-cta-plane img {
    width: 295px;
    object-fit: contain;
}

.gnl-l-cta {
    background: var(--gnl-navy);
    border-radius: 26px;
    padding: 34px 44px 36px;
}

.gnl-l-cta-top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 26px;
}

.gnl-l-cta-title {
    color: #fff;
    font-size: 27px;
    font-weight: 800;
    line-height: 1.55;
    white-space: nowrap;
    flex-shrink: 0;
    text-align: right;
}

.gnl-l-cta-assess {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.22s ease;
}

.gnl-l-cta-assess span {
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    font-weight: 400;
    white-space: nowrap;
    transition: color 0.22s ease;
}

.gnl-l-cta-assess-arrow {
    flex-shrink: 0;
    transition: transform 0.22s ease;
}

.gnl-l-cta-assess:hover span {
    color: #fff;
}

.gnl-l-cta-assess:hover .gnl-l-cta-assess-arrow {
    transform: translateX(-5px);
}

.gnl-l-cta-box {
    background: #fff;
    border-radius: 16px;
    padding: 16px 20px 16px 16px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.gnl-l-cta-box-text {
    color: var(--gnl-ink-2);
    font-size: 14.5px;
    flex: 1;
    text-align: right;
    line-height: 1.85;
    font-weight: 500;
}

.gnl-l-cta-box-text strong {
    font-weight: 800;
    color: var(--gnl-orange);
}

.gnl-l-btn-orange {
    display: inline-block;
    background: var(--gnl-orange);
	color: #fff!important;
    border: 0;
    border-radius: 9px;
    padding: 12px 34px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.22s ease;
    box-shadow: 0 4px 14px rgba(241, 90, 34, 0.28);
}

.gnl-l-btn-orange:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(241, 90, 34, 0.4);
    color: #fff;
}

/* =========================================================================
 * SHARED SECTION TITLES / ARROW LINKS
 * ref: title navy 30/800/1.55 mb12; desc #6a6f7b 13 lh1.95 maxw 320;
 *      arrow link 13.5/600, hover translateX(-5px), "ورود" orange 800.
 * ========================================================================= */
.gnl-l-section-title {
    color: var(--gnl-navy);
    font-size: 30px;
    font-weight: 800;
    line-height: 1.55;
    margin-bottom: 12px;
}

.gnl-l-section-desc {
    color: var(--gnl-muted);
    font-size: 13px;
    line-height: 1.95;
    max-width: 320px;
    margin: 0 0 18px;
}

.gnl-l-arrowlink {
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    display: block;
    margin-top: 4px;
    white-space: nowrap;
    transition: all 0.22s ease;
    color: #3a3f4c;
}

.gnl-l-arrowlink strong {
    color: var(--gnl-orange);
    font-weight: 800;
}

.gnl-l-arrowlink:hover {
    transform: translateX(-5px);
}

/* =========================================================================
 * PhD OPPORTUNITIES
 * ref: section maxw 1120 pad 70 46, flex row gap 54, text col 270px;
 *      grid 2x2 gap 14; card #f4f5f7 radius 14 pad 16 18, ltr, icon 42;
 *      hover lift + white + border #e6e8ee.
 * ========================================================================= */
.gnl-l-phd {
    max-width: 1120px;
    margin: 0 auto;
    padding: var(--gnl-l-secgap) 46px;
    display: flex;
    flex-direction: row;
    gap: 54px;
    align-items: center;
}

.gnl-l-phd-text {
    flex: 0 0 270px;
    text-align: right;
    order: 1;
}

.gnl-l-phd-main {
    flex: 1;
    order: 2;
    min-width: 0;
}

.gnl-l-phd-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.gnl-l-phd-slide {
    min-width: 0;
}

.gnl-l-phd-card {
    background: var(--gnl-card-bg);
    border-radius: 14px;
    padding: 16px 18px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    cursor: pointer;
    direction: ltr;
    transition: all 0.25s ease;
    border: 1px solid transparent;
    height: 100%;
}

.gnl-l-phd-card:hover {
    transform: translateY(-4px);
    background: #fff;
    border-color: #e6e8ee;
    box-shadow: 0 12px 28px rgba(20, 30, 60, 0.1);
}

.gnl-l-phd-card-logo {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 9px;
    overflow: hidden;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.gnl-l-phd-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gnl-l-phd-card-body {
    flex: 1;
    min-width: 0;
    display: block;
    text-align: left;
}

.gnl-l-phd-card-title {
    display: block;
    font-size: 12.5px;
    color: var(--gnl-ink-3);
    line-height: 1.55;
    margin-bottom: 7px;
    font-weight: 500;
    text-align: left;
}

.gnl-l-phd-card-uni {
    display: block;
    font-size: 11px;
    color: var(--gnl-faint);
    text-align: left;
}

/* Slider dots + mobile pill button — hidden on desktop. */
.gnl-l-phd-dots {
    display: none;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
}

.gnl-l-phd-dots span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #d9dce3;
    transition: all 0.35s ease;
}

.gnl-l-phd-dots span.is-active {
    width: 22px;
    background: var(--gnl-orange);
}

.gnl-l-phd-mobilebtn {
    display: none;
    width: fit-content;
    margin: 20px auto 0;
    background: #FDEDE5;
    color: #3a3f4c;
    border-radius: 999px;
    padding: 11px 24px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.22s ease;
    white-space: nowrap;
}

.gnl-l-phd-mobilebtn strong {
    color: var(--gnl-orange);
    font-weight: 800;
}

.gnl-l-phd-mobilebtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(241, 90, 34, 0.2);
}

/* =========================================================================
 * GNL MAG / MAGAZINE
 * ref: section pad 20 46 84; head flex gap 40 mb34; logo slot 210x120;
 *      cards grid 3 gap 22; card white radius 14 shadow, border #eef0f4,
 *      hover translateY(-6) deeper shadow; thumb h190; badge orange 10/700;
 *      title 15/700 lh1.75 pad 16 16 18.
 * ========================================================================= */
.gnl-l-mag {
    max-width: 1120px;
    margin: 0 auto;
    padding: var(--gnl-l-secgap-half) 46px var(--gnl-l-secgap);
}

.gnl-l-mag-head {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-bottom: 34px;
}

.gnl-l-mag-text {
    text-align: right;
    order: 1;
    flex: 1 1 0;
    min-width: 0;
}

.gnl-l-mag-logo {
    order: 2;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gnl-l-mag-logo img {
    max-height: 120px;
    width: auto;
    border-radius: 10px;
}

.gnl-l-mag-logo.is-placeholder {
    width: 210px;
    height: 120px;
    border-radius: 10px;
    border: 1.5px dashed #cfd3db;
    background: repeating-linear-gradient(135deg, #f6f7f9, #f6f7f9 9px, #f0f1f4 9px, #f0f1f4 18px);
}

.gnl-l-mag-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 22px;
}

.gnl-l-mag-card {
    display: block;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(20, 30, 60, 0.08);
    cursor: pointer;
    transition: all 0.28s ease;
    border: 1px solid #eef0f4;
}

.gnl-l-mag-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(20, 30, 60, 0.16);
}

.gnl-l-mag-card-media {
    position: relative;
    display: block;
    overflow: hidden;
    height: 190px;
}

.gnl-l-mag-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gnl-l-mag-card-thumbfallback {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(150deg, #16244a 0%, #1b3880 55%, #10182e 100%);
}

.gnl-l-mag-card-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--gnl-orange);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 5px 9px;
    border-radius: 5px;
    white-space: nowrap;
}

.gnl-l-mag-card-title {
    display: block;
    padding: 16px 16px 18px;
    text-align: right;
    font-size: 15px;
    font-weight: 700;
    color: var(--gnl-ink-2);
    line-height: 1.75;
    transition: color 0.22s ease;
}

/* Premium title hover: card lifts (above) + title tints navy.
   No borders, no underline, no layout shift, no crop. */
.gnl-l-mag-card:hover .gnl-l-mag-card-title {
    color: var(--gnl-navy);
}

.gnl-l-mag-mobilelink {
    display: none;
    text-align: center;
    margin-top: 22px;
    font-size: 13px;
    font-weight: 700;
}

/* =========================================================================
 * MOBILE SEARCH (navy gradient) — hidden on desktop
 * ref: pad 44 22 50; h2 20/800 white; p 12 lh1.95 rgba(255,255,255,.78);
 *      input pad 14 16 radius 12, 13px, rtl right, soft shadow.
 * ========================================================================= */
.gnl-l-search {
    display: none;
    background: var(--gnl-grad);
    padding: 130px 22px 130px;
}

.gnl-l-search-heading {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    text-align: right;
}

.gnl-l-search-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.95;
    margin-bottom: 22px;
    text-align: right;
}

.gnl-l-search-input {
    width: 100%;
    padding: 14px 16px;
    border: none;
    border-radius: 12px;
    font-size: 13px;
    text-align: right;
    direction: rtl;
    outline: none;
    background: #fff;
    color: var(--gnl-ink);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    font-family: inherit;
}

/* =========================================================================
 * Generic image placeholder block (missing assets)
 * ========================================================================= */
.gnl-l-img-placeholder {
    background: repeating-linear-gradient(135deg, #f6f7f9, #f6f7f9 9px, #f0f1f4 9px, #f0f1f4 18px);
    border-radius: 14px;
}

/* =========================================================================
 * RESPONSIVE — mobile <768px (design breakpoint)
 * ========================================================================= */
@media (max-width: 767px) {

    /* Tighter (but still airy) section rhythm on phones. */
    .gnl-landing {
        --gnl-l-secgap: 60px;
        --gnl-l-secgap-half: 28px;
    }

    /* Nav: full-width orange bar, h 60, logo 40, hamburger visible.
       Mobile keeps the reference order: hamburger right, logo left. */
    .gnl-l-header {
        max-width: none;
        padding: 0;
    }
    .gnl-l-navbox {
        border-radius: 0;
    }
    .gnl-l-nav-inner {
        flex-direction: row;
        padding: 0 16px;
        height: 60px;
    }
    .gnl-l-nav-brand img,
    .gnl-l-brand-fallback {
        width: 40px;
        height: 40px;
    }
    .gnl-l-nav-links {
        display: none;
    }
    .gnl-l-burger {
        display: flex;
    }

    /* Hero: stacked/centered, no media, title 48, desc 12.5 maxw 295. */
    .gnl-l-hero-inner {
        padding: 30px 20px 8px;
        flex-direction: column;
    }
    .gnl-l-hero-text {
        padding-left: 0;
        align-items: center;
        text-align: center;
    }
    .gnl-l-hero-title {
        font-size: 48px;
        margin-bottom: 14px;
    }
    .gnl-l-hero-desc {
        font-size: 12.5px;
        max-width: 295px;
        text-align: center;
    }
    .gnl-l-hero-media {
        display: none;
    }

    /* CTA: overlapping plane, gradient full-bleed banner, centered. */
    .gnl-l-cta-wrap {
        max-width: none;
        padding: 0;
    }
    .gnl-l-cta-plane {
        display: flex;
    }
    .gnl-l-cta {
        background: var(--gnl-grad);
        border-radius: 0;
        padding: 86px 22px 34px;
    }
    .gnl-l-cta-top {
        flex-direction: column;
        margin-bottom: 18px;
    }
    .gnl-l-cta-title {
        font-size: 21px;
        text-align: center;
    }
    /* Assessment link becomes the white pill button (design mobile). */
    .gnl-l-cta-assess {
        display: block;
        margin: 18px auto 0;
        background: #fff;
        border-radius: 10px;
        padding: 11px 20px;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
        white-space: nowrap;
        width: fit-content;
    }
    .gnl-l-cta-assess span {
        color: var(--gnl-navy);
        font-size: 12.5px;
        font-weight: 700;
    }
    .gnl-l-cta-assess:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
    }
    .gnl-l-cta-assess:hover span {
        color: var(--gnl-navy);
    }
    .gnl-l-cta-assess-arrow {
        display: none;
    }
    .gnl-l-cta-box {
        display: none;
    }

    /* PhD: stacked, centered text, slider + dots + pill button. */
    .gnl-l-phd {
        padding: var(--gnl-l-secgap) 20px;
        flex-direction: column;
        gap: 22px;
        align-items: stretch;
    }
    .gnl-l-phd-text {
        flex: none;
        text-align: center;
    }
    .gnl-l-section-title {
        font-size: 22px;
    }
    .gnl-l-section-desc {
        margin: 0 auto 6px;
    }
    .gnl-l-phd-desklink {
        display: none;
    }
    .gnl-l-phd-cards {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 0;
    }
    .gnl-l-phd-cards::-webkit-scrollbar {
        display: none;
    }
    .gnl-l-phd-slide {
        flex: 0 0 100%;
        scroll-snap-align: center;
        padding: 0 3px;
    }
    .gnl-l-phd-dots {
        display: flex;
    }
    .gnl-l-phd-mobilebtn {
        display: block;
    }

    /* MAG: compact head, single column, mobile arrow link. */
    .gnl-l-mag {
        padding: var(--gnl-l-secgap-half) 20px var(--gnl-l-secgap);
    }
    .gnl-l-mag-head {
        gap: 18px;
        margin-bottom: 22px;
    }
    .gnl-l-mag-text .gnl-l-section-title {
        font-size: 17px;
        line-height: 1.6;
        margin-bottom: 0;
    }
    .gnl-l-mag-desklink {
        display: none;
    }
    .gnl-l-mag-logo img {
        max-height: 62px;
    }
    .gnl-l-mag-logo.is-placeholder {
        width: 96px;
        height: 62px;
    }
    .gnl-l-mag-cards {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .gnl-l-mag-card-media {
        height: 175px;
    }
    .gnl-l-mag-mobilelink {
        display: block;
    }

    /* Mobile search visible. */
    .gnl-l-search {
        display: block;
    }
    @media (max-width: 767px) {
        .elementor-kit-2286 h1 {
            font-size: 55px;
            padding-bottom: 18px !important;
        }
    }

}


/* Between 768 and 1239 the side labels stay hidden (handled above);
   everything else uses the desktop layout. */

/* Reduced motion: no lifts/slides for users who opt out. */
@media (prefers-reduced-motion: reduce) {
    .gnl-landing *,
    .gnl-landing *::before,
    .gnl-landing *::after {
        transition: none !important;
        animation: none !important;
    }
}
