/*
 * About School page in the home page (home v2) design language.
 * Loaded after home-v2.css, which provides the shell, header, CTA banner, footer,
 * scroll reveals and handwritten-note animations used here.
 */

#home-v2.hv2-as {
    --as-ink: #061743;
    --as-ink-2: #13376B;
    --as-text: #5D6B82;
    --as-muted: #8C97A8;
    --as-blue: #1E6FD0;
    --as-line: #E1ECF8;
    --as-accent: linear-gradient(90deg, #2566EC 0%, #2F86F1 60%, #3A9CF3 100%);
    --as-head-font: "Plus Jakarta Sans", Inter, Cairo, Tajawal, system-ui, sans-serif;
    --as-body-font: Inter, Cairo, Tajawal, system-ui, sans-serif;
    --as-gap: clamp(16px, 2vw, 24px);
    background: #FBFDFF;
    color: var(--as-ink);
    font-family: var(--as-body-font);
}

#home-v2.hv2-as *,
#home-v2.hv2-as *::before,
#home-v2.hv2-as *::after {
    box-sizing: border-box;
}

#home-v2.hv2-as img {
    max-width: 100%;
}

/* app.css forces `p { font-family: Tajawal !important }`; home-v2.css overrides it the same way. */
#home-v2 :where(.hv2-as-hero, .hv2-as-sec) p {
    font-family: var(--as-body-font) !important;
}

/* :where() keeps this cap weaker than each block's own max-width. */
#home-v2 :where(.hv2-as-hero__grid, .hv2-as-hero__stats, .hv2-as-sec > .home-v2-shell > *) {
    max-width: 1320px;
    margin-inline: auto;
}

/* ---------- Shared pieces ---------- */

#home-v2 .hv2-as-sec {
    position: relative;
    padding: clamp(44px, 5.5vw, 76px) 0;
    background: #FBFDFF;
}

#home-v2 .hv2-as-head {
    position: relative;
    max-width: 760px;
    margin: 0 auto clamp(28px, 3.6vw, 44px);
    text-align: center;
}

#home-v2 .hv2-as-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px 7px 12px;
    border: 1px solid var(--as-line);
    border-radius: 9999px;
    background: rgba(255, 255, 255, .8);
    color: #4F86CC;
    font-family: var(--as-head-font);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

#home-v2 .hv2-as-pill i {
    width: 6px;
    height: 6px;
    border-radius: 9999px;
    background: #2F74D0;
    box-shadow: 0 0 0 3px rgba(47, 116, 208, .16);
}

#home-v2 .hv2-as-pill--solid {
    border-color: transparent;
    background: #E6F1FE;
    color: #1E5FB8;
}

#home-v2 .hv2-as-kicker {
    display: block;
    color: #8397B3;
    font-family: var(--as-head-font);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .2em;
    text-transform: uppercase;
}

#home-v2 .hv2-as-title {
    margin: 14px 0 0;
    color: var(--as-ink);
    font-family: var(--as-head-font);
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.01em;
}

#home-v2 .hv2-as-title > span {
    margin-block: -.2em;
    padding-block: .2em;
    background: var(--as-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

#home-v2 .hv2-as-title--start {
    text-align: start;
}

#home-v2 .hv2-as-title--stack > span {
    display: block;
}

#home-v2 .hv2-as-title--stack > span:first-child {
    margin-block: 0;
    padding-block: 0;
    background: none;
    color: var(--as-ink-2);
    -webkit-text-fill-color: currentColor;
}

#home-v2 .hv2-as-desc {
    margin: 12px auto 0;
    color: var(--as-muted);
    font-size: clamp(15px, 1.25vw, 17px);
    font-weight: 400;
    line-height: 1.6;
}

#home-v2 .hv2-as-desc--start {
    margin-inline: 0;
    text-align: start;
}

[dir="rtl"] #home-v2 .hv2-as-kicker {
    letter-spacing: 0;
    font-size: 14px;
}

[dir="rtl"] #home-v2 .hv2-as-title {
    line-height: 1.3;
    letter-spacing: 0;
}

/* Blue gradient icon tile, as on the home app-feature cards. */
#home-v2 .hv2-as-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(180deg, #3D8BFD 0%, #1C6FF0 100%);
    box-shadow: 0 10px 18px -10px rgba(28, 111, 240, .8), inset 0 1px 0 rgba(255, 255, 255, .3);
    color: #fff;
}

#home-v2 .hv2-as-icon svg {
    width: 22px;
    height: 22px;
}

/* Rounded light-blue panel with soft rings, as in the home stories section. */
#home-v2 .hv2-as-panel {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: clamp(24px, 4vw, 56px);
    border-radius: clamp(22px, 2.6vw, 32px);
    background:
        radial-gradient(60% 50% at 100% 0%, rgba(203, 223, 250, .95) 0%, rgba(203, 223, 250, 0) 72%),
        radial-gradient(45% 38% at 0% 100%, rgba(205, 224, 251, .95) 0%, rgba(205, 224, 251, 0) 100%),
        linear-gradient(180deg, #EAF2FC 0%, #F2F8FE 40%, #F1F8FD 72%, #E5EFFD 100%);
    box-shadow: 0 22px 48px -28px rgba(38, 98, 196, .35);
}

#home-v2 .hv2-as-panel__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

#home-v2 .hv2-as-panel__bg::before,
#home-v2 .hv2-as-panel__bg::after {
    content: "";
    position: absolute;
    border-radius: 50%;
}

#home-v2 .hv2-as-panel__bg::before {
    top: -380px;
    inset-inline-end: -420px;
    width: 1000px;
    height: 560px;
    border: 18px solid rgba(255, 255, 255, .55);
    box-shadow: 0 0 36px rgba(255, 255, 255, .4);
}

#home-v2 .hv2-as-panel__bg::after {
    bottom: -300px;
    inset-inline-start: -380px;
    width: 660px;
    height: 390px;
    border: 26px solid rgba(196, 218, 250, .45);
}

/* Buttons */
#home-v2 .hv2-as-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 54px;
    padding: 0 26px;
    border-radius: 9999px;
    font-family: var(--as-head-font);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

#home-v2 .hv2-as-btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

#home-v2 .hv2-as-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

[dir="rtl"] #home-v2 .hv2-as-btn--primary svg {
    transform: scaleX(-1);
}

#home-v2 .hv2-as-btn--primary {
    background: linear-gradient(180deg, #0AA0FB 0%, #0A7DF9 100%);
    box-shadow: 0 12px 24px -10px rgba(7, 127, 255, .65), inset 0 1px 0 rgba(255, 255, 255, .25);
    color: #fff;
}

#home-v2 .hv2-as-btn--primary:hover {
    color: #fff;
    box-shadow: 0 16px 28px -10px rgba(7, 127, 255, .75), inset 0 1px 0 rgba(255, 255, 255, .25);
}

#home-v2 .hv2-as-btn--ghost {
    padding-inline: 30px 12px;
    border: 1.5px solid #CFE0F5;
    background: rgba(255, 255, 255, .85);
    color: var(--as-ink-2);
}

#home-v2 .hv2-as-btn--ghost:hover {
    color: var(--as-ink-2);
    background: #fff;
    box-shadow: 0 10px 22px -14px rgba(30, 111, 208, .6);
}

#home-v2 .hv2-as-btn--ghost i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 9999px;
    background: linear-gradient(180deg, #2B8CF8 0%, #0A6CF3 100%);
    color: #fff;
}

#home-v2 .hv2-as-btn--ghost i svg {
    width: 15px;
    height: 15px;
}

/* Handwritten notes (Caveat, as on the home page; Cairo in Arabic). */
#home-v2 .hv2-as-hero__note,
#home-v2 .hv2-as-gallery__note {
    color: var(--as-blue);
    font-family: Caveat, cursive;
    font-weight: 500;
    white-space: nowrap;
    pointer-events: none;
}

#home-v2 .hv2-as-hero__note > span,
#home-v2 .hv2-as-gallery__note > span {
    display: block;
}

[dir="rtl"] #home-v2 .hv2-as-hero__note,
[dir="rtl"] #home-v2 .hv2-as-gallery__note {
    font-family: Cairo, Tajawal, sans-serif;
    font-weight: 700;
}

/* ---------- Hero ---------- */

#home-v2 .hv2-as-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: clamp(28px, 4vw, 56px) 0 clamp(36px, 4.5vw, 64px);
    background: linear-gradient(135deg, #E3F3FF 0%, #F1F9FF 55%, #E9F4FF 100%);
}

#home-v2 .hv2-as-hero__glow {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(38% 46% at 8% 12%, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, 0) 100%),
        radial-gradient(30% 40% at 96% 92%, rgba(190, 222, 252, .7) 0%, rgba(190, 222, 252, 0) 100%);
}

#home-v2 .hv2-as-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

#home-v2 .hv2-as-hero__text > * {
    animation: hv2RevealIn 1s cubic-bezier(.22, 1, .36, 1) backwards;
}

#home-v2 .hv2-as-hero__text > :nth-child(1) { animation-delay: .05s; }
#home-v2 .hv2-as-hero__text > :nth-child(2) { animation-delay: .17s; }
#home-v2 .hv2-as-hero__text > :nth-child(3) { animation-delay: .29s; }
#home-v2 .hv2-as-hero__text > :nth-child(4) { animation-delay: .41s; }

#home-v2 .hv2-as-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 8px 12px;
    border-radius: 9999px;
    background: #D9EDFE;
    color: #1559B0;
    font-family: var(--as-head-font);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

#home-v2 .hv2-as-hero__eyebrow svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

#home-v2 .hv2-as-hero__title {
    margin: 20px 0 0;
    color: #0B1F44;
    font-family: Inter, Cairo, Tajawal, system-ui, sans-serif;
    font-size: clamp(34px, 4.4vw, 60px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.025em;
}

#home-v2 .hv2-as-hero__title span {
    padding-block: .2em;
    background: linear-gradient(90deg, #0A6CF3 0%, #1B84F2 55%, #2598EE 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

[dir="rtl"] #home-v2 .hv2-as-hero__title {
    line-height: 1.3;
    letter-spacing: 0;
}

#home-v2 .hv2-as-hero__lead {
    max-width: 540px;
    margin: 20px 0 0;
    color: #55657C;
    font-size: clamp(16px, 1.35vw, 18px);
    line-height: 1.6;
}

#home-v2 .hv2-as-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

#home-v2 .hv2-as-hero__media {
    position: relative;
    padding: 0 0 26px;
}

#home-v2 .hv2-as-hero__card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 11;
    border: 6px solid rgba(255, 255, 255, .85);
    border-radius: 26px;
    background: #DCEBFA;
    box-shadow: 0 30px 60px -30px rgba(17, 60, 130, .45), 0 0 0 1px rgba(196, 222, 248, .6);
    animation: hv2RevealInScale 1.2s cubic-bezier(.16, 1, .3, 1) .2s backwards;
}

#home-v2 .hv2-as-hero__card > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#home-v2 .hv2-as-hero__logo {
    position: absolute;
    top: 16px;
    inset-inline-start: 16px;
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 10px 24px -14px rgba(10, 40, 90, .5);
    backdrop-filter: blur(6px);
}

#home-v2 .hv2-as-hero__logo img {
    display: block;
    width: auto;
    max-width: 180px;
    height: 72px;
    object-fit: contain;
}

#home-v2 .hv2-as-hero__rating {
    position: absolute;
    bottom: 0;
    inset-inline-end: clamp(12px, 3vw, 32px);
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    column-gap: 10px;
    padding: 14px 20px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 20px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 20px 40px -20px rgba(17, 60, 130, .5);
    backdrop-filter: blur(8px);
    animation: hv2RevealIn 1s cubic-bezier(.22, 1, .36, 1) .6s backwards;
}

#home-v2 .hv2-as-hero__stars {
    grid-column: 1 / -1;
    color: #F5B301;
    font-size: 13px;
    letter-spacing: 2px;
    line-height: 1;
}

#home-v2 .hv2-as-hero__rating b {
    margin-top: 6px;
    color: #0A6CF3;
    font-family: var(--as-head-font);
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
}

#home-v2 .hv2-as-hero__rating small {
    margin-top: 6px;
    max-width: 90px;
    color: var(--as-text);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}

#home-v2 .hv2-as-hero__note,
#home-v2 .hv2-as-hero__arrow {
    display: none;
}

#home-v2 .hv2-as-hero__stats {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    margin-top: clamp(28px, 3.5vw, 44px);
    padding: 10px 16px;
    border: 1px solid #DCEAF8;
    border-radius: 22px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 16px 36px -26px rgba(17, 60, 130, .45);
    list-style: none;
    backdrop-filter: blur(6px);
}

#home-v2 .hv2-as-hero__stat {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 8px;
    color: #1A3A66;
    font-family: var(--as-head-font);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    animation: hv2RevealIn .9s cubic-bezier(.22, 1, .36, 1) backwards;
}

#home-v2 .hv2-as-hero__stat:nth-child(1) { animation-delay: .5s; }
#home-v2 .hv2-as-hero__stat:nth-child(2) { animation-delay: .6s; }
#home-v2 .hv2-as-hero__stat:nth-child(3) { animation-delay: .7s; }
#home-v2 .hv2-as-hero__stat:nth-child(n + 4) { animation-delay: .8s; }

#home-v2 .hv2-as-hero__stat + .hv2-as-hero__stat {
    border-top: 1px solid #E3EDF8;
}

#home-v2 .hv2-as-hero__stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 9999px;
    background: #E8F2FE;
    color: #1F6FD6;
}

#home-v2 .hv2-as-hero__stat-icon svg {
    width: 24px;
    height: 24px;
}

@media (min-width: 640px) {
    #home-v2 .hv2-as-hero__stats {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    #home-v2 .hv2-as-hero__stat + .hv2-as-hero__stat {
        border-top: 0;
    }

    #home-v2 .hv2-as-hero__stat {
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    #home-v2 .hv2-as-hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
        gap: 56px;
    }

    #home-v2 .hv2-as-hero__media {
        padding: 74px 0 26px;
    }

    #home-v2 .hv2-as-hero__note,
    #home-v2 .hv2-as-hero__arrow {
        display: block;
        position: absolute;
        z-index: 2;
    }

    #home-v2 .hv2-as-hero__note {
        top: -6px;
        inset-inline-end: 64px;
        font-size: 27px;
        line-height: .95;
        transform: rotate(-6deg);
    }

    #home-v2 .hv2-as-hero__note > span {
        display: inline-block;
        margin-inline-end: 8px;
    }

    #home-v2 .hv2-as-hero__note > span:nth-child(3) {
        display: block;
        margin-inline-start: 58px;
    }

    #home-v2 .hv2-as-hero__arrow {
        top: 20px;
        inset-inline-end: 18px;
        width: 34px;
        height: 52px;
        color: var(--as-blue);
    }

    [dir="rtl"] #home-v2 .hv2-as-hero__note {
        font-size: 19px;
        line-height: 1.4;
        transform: rotate(6deg);
    }

    [dir="rtl"] #home-v2 .hv2-as-hero__arrow {
        transform: scaleX(-1);
    }

    #home-v2 .hv2-as-hero__stat + .hv2-as-hero__stat {
        border-inline-start: 1px solid #E3EDF8;
    }
}

/* ---------- Story ---------- */

#home-v2 .hv2-as-story__card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding: clamp(24px, 4.5vw, 64px);
    border: 1px solid #E4EEF9;
    border-radius: clamp(22px, 2.6vw, 32px);
    background: linear-gradient(160deg, #FFFFFF 0%, #F6FAFF 55%, #EAF4FE 100%);
    box-shadow: 0 30px 60px -36px rgba(28, 87, 170, .35);
}

#home-v2 .hv2-as-story__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(42% 52% at 88% 30%, rgba(207, 229, 252, .95) 0%, rgba(207, 229, 252, 0) 100%),
        radial-gradient(30% 40% at 0% 100%, rgba(184, 220, 251, .6) 0%, rgba(184, 220, 251, 0) 100%);
}

#home-v2 .hv2-as-story__lead {
    margin: 22px 0 0;
    color: #2E4566;
    font-size: clamp(16px, 1.35vw, 18px);
    font-weight: 500;
    line-height: 1.65;
}

#home-v2 .hv2-as-story__text {
    margin: 14px 0 0;
    color: var(--as-text);
    font-size: 15.5px;
    line-height: 1.75;
}

#home-v2 .hv2-as-story__motto {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
    padding: 16px 20px;
    border: 1px solid #D6E7FA;
    border-radius: 18px;
    background: rgba(255, 255, 255, .8);
    box-shadow: 0 14px 30px -24px rgba(30, 111, 208, .6);
}

#home-v2 .hv2-as-story__motto-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 9999px;
    background: #FFF4D6;
    color: #E19A00;
}

#home-v2 .hv2-as-story__motto-icon svg {
    width: 22px;
    height: 22px;
}

#home-v2 .hv2-as-story__motto-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#home-v2 .hv2-as-story__motto small {
    color: var(--as-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

#home-v2 .hv2-as-story__motto strong {
    font-family: var(--as-head-font);
    font-size: clamp(18px, 1.7vw, 22px);
    font-weight: 800;
    letter-spacing: .02em;
    margin-block: -.2em;
    padding-block: .2em;
    background: var(--as-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

[dir="rtl"] #home-v2 .hv2-as-story__motto small {
    letter-spacing: 0;
}

#home-v2 .hv2-as-story__art {
    position: relative;
    align-self: center;
    width: min(100%, 440px);
    margin-inline: auto;
    padding: 12px 12px 34px;
}

#home-v2 .hv2-as-story__photo {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    margin: 0;
    border: 8px solid #fff;
    border-radius: 28px;
    background: #DCEBFA;
    box-shadow: 0 34px 60px -30px rgba(17, 60, 130, .55);
    transform: rotate(3deg);
}

[dir="rtl"] #home-v2 .hv2-as-story__photo {
    transform: rotate(-3deg);
}

#home-v2 .hv2-as-story__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#home-v2 .hv2-as-story__art::before {
    content: "";
    position: absolute;
    inset: 0 22px 20px 0;
    z-index: -1;
    border-radius: 30px;
    background: linear-gradient(160deg, #CFE6FD 0%, #A9D1F8 100%);
    transform: rotate(-4deg);
}

[dir="rtl"] #home-v2 .hv2-as-story__art::before {
    transform: rotate(4deg);
}

#home-v2 .hv2-as-story__badge {
    position: absolute;
    bottom: 0;
    inset-inline-start: -6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 128px;
    padding: 16px 18px;
    border: 4px solid #fff;
    border-radius: 22px;
    background: linear-gradient(160deg, #1B84F2 0%, #0A5BD1 100%);
    box-shadow: 0 22px 40px -18px rgba(10, 91, 209, .65);
    color: #fff;
    text-align: center;
}

#home-v2 .hv2-as-story__badge b {
    font-family: var(--as-head-font);
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
}

#home-v2 .hv2-as-story__badge b span {
    color: #FFD34D;
    font-size: .8em;
}

#home-v2 .hv2-as-story__badge small {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 600;
    opacity: .9;
}

@media (min-width: 1024px) {
    #home-v2 .hv2-as-story__card {
        grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
        gap: 64px;
        align-items: center;
    }
}

/* ---------- Mission & vision ---------- */

#home-v2 .hv2-as-mv {
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(45% 38% at 50% 0%, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, 0) 100%),
        radial-gradient(55% 40% at 0% 100%, #E4EDFB 0%, rgba(228, 237, 251, 0) 100%),
        radial-gradient(55% 40% at 100% 100%, #E4EDFB 0%, rgba(228, 237, 251, 0) 100%),
        linear-gradient(180deg, #F6F9FE 0%, #EFF4FC 100%);
}

/* Soft white orb in the top corner, as in the home sessions section. */
#home-v2 .hv2-as-mv::before {
    content: "";
    position: absolute;
    top: -40px;
    inset-inline-end: clamp(-40px, 2vw, 48px);
    z-index: -1;
    width: clamp(150px, 19vw, 300px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, #FFFFFF 0%, #FFFFFF 52%, rgba(255, 255, 255, .85) 62%, rgba(255, 255, 255, 0) 71%);
    box-shadow: 18px 22px 40px -18px rgba(150, 185, 235, .45);
    pointer-events: none;
}

#home-v2 .hv2-as-mv__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--as-gap);
}

#home-v2 .hv2-as-mv__card {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    gap: 22px;
    padding: clamp(22px, 2.6vw, 34px);
    border: 1px solid #D8E6F7;
    border-radius: 22px;
    background: linear-gradient(110deg, #FFFFFF 0%, #F5F9FF 50%, #DCEBFF 100%);
    box-shadow: 0 18px 36px -28px rgba(30, 90, 170, .45);
}

#home-v2 .hv2-as-mv__card--violet {
    border-color: #E4DCF7;
    background: linear-gradient(110deg, #FFFFFF 0%, #F8F5FF 50%, #EBE2FD 100%);
}

#home-v2 .hv2-as-mv__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 66px;
    height: 66px;
    border-radius: 9999px;
    background: #E3F0FF;
    color: #1F66B8;
}

#home-v2 .hv2-as-mv__card--violet .hv2-as-mv__icon {
    background: #F1E8FE;
    color: #7C4DDB;
}

#home-v2 .hv2-as-mv__icon svg {
    width: 30px;
    height: 30px;
}

#home-v2 .hv2-as-mv__card h3,
#home-v2 .hv2-as-value h3,
#home-v2 .hv2-as-feat h3,
#home-v2 .hv2-as-program h3,
#home-v2 .hv2-as-visit__card h3 {
    margin: 0;
    color: var(--as-ink-2);
    font-family: var(--as-head-font);
    font-weight: 800;
    line-height: 1.25;
}

#home-v2 .hv2-as-mv__card h3 {
    font-size: clamp(20px, 1.8vw, 24px);
}

#home-v2 .hv2-as-mv__card p {
    margin: 10px 0 0;
    color: var(--as-text);
    font-size: 15.5px;
    line-height: 1.75;
}

@media (max-width: 639px) {
    #home-v2 .hv2-as-mv__card {
        flex-direction: column;
        gap: 16px;
    }

    #home-v2 .hv2-as-mv__icon {
        width: 56px;
        height: 56px;
    }
}

@media (min-width: 900px) {
    #home-v2 .hv2-as-mv__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ---------- Core values ---------- */

#home-v2 .hv2-as-values__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--as-gap);
}

#home-v2 .hv2-as-value {
    position: relative;
    padding: 28px 24px 26px;
    border: 1px solid #E3ECF7;
    border-radius: 22px;
    background: linear-gradient(180deg, #FFFFFF 0%, #F7FAFF 100%);
    box-shadow: 0 18px 36px -30px rgba(30, 90, 170, .5);
}

#home-v2 .hv2-as-value:hover {
    box-shadow: 0 24px 44px -26px rgba(30, 90, 170, .55);
    transform: translateY(-3px);
}

#home-v2 .hv2-as-value__step {
    position: absolute;
    top: 16px;
    inset-inline-end: 20px;
    color: #E4EDF8;
    font-family: var(--as-head-font);
    font-size: 44px;
    font-weight: 800;
    line-height: 1;
}

#home-v2 .hv2-as-value h3 {
    margin-top: 22px;
    font-size: 19px;
}

#home-v2 .hv2-as-value p {
    margin: 10px 0 0;
    color: var(--as-text);
    font-size: 14.5px;
    line-height: 1.65;
}

@media (min-width: 640px) {
    #home-v2 .hv2-as-values__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    #home-v2 .hv2-as-values__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ---------- Gallery ---------- */

#home-v2 .hv2-as-gallery__head {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: clamp(24px, 3vw, 36px);
}

#home-v2 .hv2-as-gallery__head .hv2-as-title {
    margin-top: 12px;
}

#home-v2 .hv2-as-gallery__note {
    display: none;
}

#home-v2 .hv2-as-gallery__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 150px;
    grid-auto-flow: dense;
    gap: 12px;
}

#home-v2 .hv2-as-gallery__tile {
    position: relative;
    overflow: hidden;
    margin: 0;
    border-radius: 18px;
    background: #DCEBFA;
    box-shadow: 0 16px 34px -24px rgba(17, 60, 130, .6);
}

#home-v2 .hv2-as-gallery__tile:nth-child(6n + 1) {
    grid-column: span 2;
    grid-row: span 2;
}

#home-v2 .hv2-as-gallery__tile:nth-child(6n + 4) {
    grid-column: span 2;
}

#home-v2 .hv2-as-gallery__tile img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}

#home-v2 .hv2-as-gallery__tile:hover img {
    transform: scale(1.05);
}

#home-v2 .hv2-as-gallery__tile::after {
    content: "";
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(180deg, rgba(10, 45, 110, 0) 0%, rgba(10, 45, 110, .72) 100%);
    pointer-events: none;
}

#home-v2 .hv2-as-gallery__tile figcaption {
    position: absolute;
    bottom: 14px;
    inset-inline-start: 14px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-family: var(--as-head-font);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

#home-v2 .hv2-as-gallery__tile figcaption svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    #home-v2 .hv2-as-gallery__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-auto-rows: clamp(170px, 17vw, 230px);
        gap: 16px;
    }

    #home-v2 .hv2-as-gallery__head .hv2-as-kicker {
        display: none;
    }

    #home-v2 .hv2-as-gallery__head .hv2-as-title {
        margin-top: 0;
    }

    #home-v2 .hv2-as-gallery__note {
        display: block;
        position: relative;
        flex-shrink: 0;
        margin-inline-end: 24px;
        padding-bottom: 30px;
        font-size: 30px;
        line-height: 1;
        transform: rotate(-7deg);
    }

    #home-v2 .hv2-as-gallery__note > span:nth-child(2) { margin-inline-start: 24px; }

    #home-v2 .hv2-as-gallery__note svg {
        position: absolute;
        bottom: 0;
        inset-inline-start: 10px;
        width: 110px;
        height: 34px;
    }

    [dir="rtl"] #home-v2 .hv2-as-gallery__note {
        font-size: 22px;
        transform: rotate(7deg);
    }

    [dir="rtl"] #home-v2 .hv2-as-gallery__note svg {
        transform: scaleX(-1);
    }
}

/* ---------- Campus ---------- */

#home-v2 .hv2-as-campus__panel {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    padding: clamp(24px, 4.5vw, 64px);
    border: 1px solid #E4EEF9;
    border-radius: clamp(22px, 2.6vw, 32px);
    background:
        radial-gradient(50% 60% at 85% 40%, rgba(206, 228, 252, .95) 0%, rgba(206, 228, 252, 0) 100%),
        linear-gradient(160deg, #F4F9FF 0%, #EAF3FE 60%, #E2EFFD 100%);
    box-shadow: 0 30px 60px -38px rgba(28, 87, 170, .4);
}

/* Soft white sweep across the panel, as in the home app section. */
#home-v2 .hv2-as-campus__swoosh {
    position: absolute;
    inset-inline-start: -20%;
    bottom: -62%;
    z-index: -1;
    width: 120%;
    aspect-ratio: 2.2;
    border: 48px solid rgba(255, 255, 255, .6);
    border-radius: 50%;
    pointer-events: none;
}

#home-v2 .hv2-as-campus__copy .hv2-as-title {
    margin-top: 16px;
}

#home-v2 .hv2-as-campus__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin-top: 28px;
}

#home-v2 .hv2-as-feat {
    padding: 20px;
    border: 1px solid #E1EBF7;
    border-radius: 18px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 14px 30px -24px rgba(30, 90, 170, .5);
}

#home-v2 .hv2-as-feat .hv2-as-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
}

#home-v2 .hv2-as-feat .hv2-as-icon svg {
    width: 20px;
    height: 20px;
}

#home-v2 .hv2-as-feat h3 {
    margin-top: 14px;
    font-size: 16.5px;
}

#home-v2 .hv2-as-feat p {
    margin: 6px 0 0;
    color: var(--as-text);
    font-size: 14px;
    line-height: 1.6;
}

#home-v2 .hv2-as-campus__visual {
    position: relative;
    align-self: center;
    padding: 18px;
}

#home-v2 .hv2-as-campus__ring {
    position: absolute;
    inset: -4% -6%;
    z-index: -1;
    border: 1.5px dashed rgba(30, 111, 208, .25);
    border-radius: 50%;
    pointer-events: none;
}

#home-v2 .hv2-as-campus__photo {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    margin: 0;
    border: 8px solid #fff;
    border-radius: 28px;
    background: linear-gradient(160deg, #DCEBFA 0%, #C6DFF8 100%);
    box-shadow: 0 34px 60px -30px rgba(17, 60, 130, .5);
    transform: rotate(-2.5deg);
}

[dir="rtl"] #home-v2 .hv2-as-campus__photo {
    transform: rotate(2.5deg);
}

#home-v2 .hv2-as-campus__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 640px) {
    #home-v2 .hv2-as-campus__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    #home-v2 .hv2-as-campus__panel {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
        gap: 56px;
    }
}

/* ---------- Programs ---------- */

#home-v2 .hv2-as-programs__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--as-gap);
}

#home-v2 .hv2-as-program {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 280px;
    border: 1px solid #DCE8F6;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 18px 40px -30px rgba(30, 90, 170, .55);
}

#home-v2 .hv2-as-program:hover {
    box-shadow: 0 26px 48px -28px rgba(30, 90, 170, .6);
    transform: translateY(-3px);
}

/* Photo fades in from the card's far side, like the landmark art on the home program cards. */
#home-v2 .hv2-as-program__art {
    position: absolute;
    inset-block: 0;
    inset-inline-end: 0;
    z-index: -1;
    width: 62%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 35%, #000 70%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .55) 35%, #000 70%);
}

[dir="rtl"] #home-v2 .hv2-as-program__art {
    -webkit-mask-image: linear-gradient(270deg, transparent 0%, rgba(0, 0, 0, .55) 35%, #000 70%);
    mask-image: linear-gradient(270deg, transparent 0%, rgba(0, 0, 0, .55) 35%, #000 70%);
}

#home-v2 .hv2-as-program__art img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#home-v2 .hv2-as-program__body {
    position: relative;
    max-width: 62%;
    padding: 28px;
}

#home-v2 .hv2-as-program__body::before {
    content: "";
    position: absolute;
    inset: 0 -40% 0 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(255, 255, 255, .96) 55%, rgba(255, 255, 255, 0) 100%);
}

[dir="rtl"] #home-v2 .hv2-as-program__body::before {
    inset: 0 0 0 -40%;
    background: linear-gradient(270deg, rgba(255, 255, 255, .96) 55%, rgba(255, 255, 255, 0) 100%);
}

#home-v2 .hv2-as-program__badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 9999px;
    background: #E6F1FE;
    color: #1559B0;
    font-family: var(--as-head-font);
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1;
}

#home-v2 .hv2-as-program--amber .hv2-as-program__badge {
    background: #FFF1D6;
    color: #B26A00;
}

#home-v2 .hv2-as-program h3 {
    margin-top: 16px;
    font-size: clamp(20px, 1.8vw, 24px);
}

#home-v2 .hv2-as-program__meta {
    display: block;
    margin-top: 6px;
    color: #2F6BB8;
    font-size: 14px;
    font-weight: 600;
}

#home-v2 .hv2-as-program--amber .hv2-as-program__meta {
    color: #B26A00;
}

#home-v2 .hv2-as-program p {
    margin: 14px 0 0;
    color: var(--as-text);
    font-size: 14.5px;
    line-height: 1.7;
}

@media (max-width: 559px) {
    #home-v2 .hv2-as-program__art {
        position: relative;
        display: block;
        width: 100%;
        height: 180px;
        -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
        mask-image: linear-gradient(180deg, #000 60%, transparent 100%);
    }

    #home-v2 .hv2-as-program__body {
        max-width: none;
        margin-top: -36px;
        padding: 0 22px 24px;
    }

    #home-v2 .hv2-as-program__body::before {
        display: none;
    }
}

@media (min-width: 900px) {
    #home-v2 .hv2-as-programs__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ---------- Accreditation ---------- */

#home-v2 .hv2-as-accred {
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(180deg, #F8FBFF 0%, #F1F6FD 100%);
}

#home-v2 .hv2-as-accred::before {
    content: "";
    position: absolute;
    top: -40px;
    inset-inline-end: -120px;
    z-index: -1;
    width: min(1100px, 90vw);
    aspect-ratio: 1400 / 914;
    background: url("../../img/home-v2/partners/world-map-soft.png") no-repeat center / contain;
    opacity: .16;
    pointer-events: none;
}

#home-v2 .hv2-as-accred__head {
    max-width: 780px;
    margin: 0 auto clamp(28px, 3.6vw, 44px);
    text-align: center;
}

#home-v2 .hv2-as-accred__head .hv2-as-kicker {
    color: #1E3F6E;
}

#home-v2 .hv2-as-accred__title {
    margin: 16px 0 0;
    color: #0B1F44;
    font-family: Literata, Georgia, Cairo, serif;
    font-size: clamp(30px, 3.8vw, 46px);
    font-weight: 800;
    line-height: 1.15;
}

#home-v2 .hv2-as-accred__title span {
    color: #2A7BE4;
}

[dir="rtl"] #home-v2 .hv2-as-accred__title {
    font-family: Cairo, Tajawal, sans-serif;
    line-height: 1.35;
}

#home-v2 .hv2-as-accred__rule {
    display: block;
    width: 88px;
    height: 3px;
    margin: 18px auto 0;
    border-radius: 3px;
    background: linear-gradient(90deg, #1E6FD0 0%, #3A9CF3 100%);
}

#home-v2 .hv2-as-accred__group {
    overflow: hidden;
    border: 1px solid #DCE8F6;
    border-radius: 22px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 18px 40px -32px rgba(30, 90, 170, .55);
    backdrop-filter: blur(6px);
}

#home-v2 .hv2-as-accred__group-head {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px clamp(18px, 2.4vw, 28px);
    background: linear-gradient(90deg, #EAF3FE 0%, rgba(234, 243, 254, .4) 100%);
}

#home-v2 .hv2-as-accred__group-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 54px;
    height: 54px;
    border-radius: 9999px;
    background: linear-gradient(160deg, #4B9BFA 0%, #1C6FF0 100%);
    box-shadow: 0 12px 22px -10px rgba(28, 111, 240, .7);
    color: #fff;
}

#home-v2 .hv2-as-accred__group-icon svg {
    width: 24px;
    height: 24px;
}

#home-v2 .hv2-as-accred__checks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#home-v2 .hv2-as-accred__checks li {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #1A3A66;
    font-family: var(--as-head-font);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

#home-v2 .hv2-as-accred__checks svg {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    padding: 4px;
    border-radius: 9999px;
    background: #DDF4E6;
    color: #18A058;
}

@media (max-width: 639px) {
    #home-v2 .hv2-as-accred__group-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    #home-v2 .hv2-as-accred__checks {
        flex-direction: column;
    }
}

#home-v2 .hv2-as-accred__logos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: clamp(18px, 2.4vw, 28px);
}

#home-v2 .hv2-as-accred__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 112px;
    padding: 16px 20px;
    border: 1px solid #E6EEF8;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 26px -22px rgba(30, 90, 170, .6);
}

#home-v2 .hv2-as-accred__logo img {
    display: block;
    max-width: 100%;
    max-height: 76px;
    object-fit: contain;
}

#home-v2 .hv2-as-accred__cards {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--as-gap);
    margin-top: var(--as-gap);
}

/* Photo card with the text on a blue gradient, like the home student-story cards. */
#home-v2 .hv2-as-photo-card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: 340px;
    border-radius: 22px;
    background: #12407F;
    box-shadow: 0 24px 46px -30px rgba(17, 60, 130, .7);
}

#home-v2 .hv2-as-photo-card > img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}

#home-v2 .hv2-as-photo-card:hover > img {
    transform: scale(1.04);
}

#home-v2 .hv2-as-photo-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(14, 58, 130, 0) 20%, rgba(14, 58, 130, .78) 62%, rgba(10, 44, 104, .96) 100%);
}

#home-v2 .hv2-as-photo-card__text {
    padding: 26px;
    color: #fff;
}

#home-v2 .hv2-as-photo-card h3 {
    margin: 0;
    color: #fff;
    font-family: var(--as-head-font);
    font-size: clamp(20px, 1.8vw, 24px);
    font-weight: 800;
    line-height: 1.25;
}

#home-v2 .hv2-as-photo-card p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, .86);
    font-size: 14.5px;
    line-height: 1.65;
}

@media (min-width: 768px) {
    #home-v2 .hv2-as-accred__logos {
        grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    }

    #home-v2 .hv2-as-accred__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ---------- Leadership ---------- */

#home-v2 .hv2-as-leader__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

#home-v2 .hv2-as-leader__portrait {
    position: relative;
    overflow: hidden;
    width: min(100%, 460px);
    aspect-ratio: 4 / 5;
    margin: 0 auto;
    border: 6px solid rgba(255, 255, 255, .9);
    border-radius: 28px;
    background: #DCEBFA;
    box-shadow: 0 30px 60px -32px rgba(17, 60, 130, .6);
}

#home-v2 .hv2-as-leader__portrait img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

#home-v2 .hv2-as-leader__chip {
    position: absolute;
    inset-inline: 14px;
    bottom: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 18px;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(8px);
}

#home-v2 .hv2-as-leader__chip strong {
    color: var(--as-ink);
    font-family: var(--as-head-font);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
}

#home-v2 .hv2-as-leader__chip span {
    color: #1E6FD0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

#home-v2 .hv2-as-leader__copy .hv2-as-title {
    margin-top: 12px;
}

#home-v2 .hv2-as-leader__body {
    margin: 18px 0 0;
    color: var(--as-text);
    font-size: 16px;
    line-height: 1.75;
}

#home-v2 .hv2-as-leader__quote {
    position: relative;
    margin: 22px 0 0;
    padding: 20px 22px 20px 24px;
    border-inline-start: 4px solid #2A86E8;
    border-radius: 18px;
    background: rgba(255, 255, 255, .85);
    box-shadow: 0 16px 32px -26px rgba(30, 90, 170, .55);
}

#home-v2 .hv2-as-leader__quote svg {
    position: absolute;
    top: -12px;
    inset-inline-end: 18px;
    width: 38px;
    height: 28px;
    color: #BBD8F8;
}

#home-v2 .hv2-as-leader__quote p {
    margin: 0;
    color: var(--as-ink-2);
    font-family: var(--as-head-font) !important;
    font-size: clamp(16px, 1.4vw, 18px);
    font-weight: 700;
    line-height: 1.6;
}

#home-v2 .hv2-as-leader__facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
    gap: 10px;
    margin: 22px 0 0;
}

#home-v2 .hv2-as-leader__fact {
    padding: 14px 16px;
    border: 1px solid #DCE8F6;
    border-radius: 16px;
    background: rgba(255, 255, 255, .8);
}

#home-v2 .hv2-as-leader__fact dt {
    color: #1F6FD6;
    font-family: var(--as-head-font);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
}

#home-v2 .hv2-as-leader__fact dd {
    display: -webkit-box;
    overflow: hidden;
    margin: 4px 0 0;
    color: var(--as-text);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

#home-v2 .hv2-as-leader__gallery {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 32px;
}

#home-v2 .hv2-as-leader__shot {
    position: relative;
    overflow: hidden;
    height: 340px;
    margin: 0;
    border: 5px solid rgba(255, 255, 255, .9);
    border-radius: 24px;
    background: #DCEBFA;
    box-shadow: 0 24px 46px -30px rgba(17, 60, 130, .6);
}

#home-v2 .hv2-as-leader__shot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

#home-v2 .hv2-as-leader__shot figcaption {
    position: absolute;
    inset: auto 0 0;
    padding: 36px 18px 16px;
    background: linear-gradient(180deg, rgba(10, 44, 104, 0) 0%, rgba(10, 44, 104, .85) 100%);
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.45;
}

@media (min-width: 768px) {
    #home-v2 .hv2-as-leader__gallery {
        grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    }

    #home-v2 .hv2-as-leader__shot {
        height: 420px;
    }
}

@media (min-width: 1024px) {
    #home-v2 .hv2-as-leader__layout {
        grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
        gap: 56px;
    }
}

/* ---------- Visit ---------- */

#home-v2 .hv2-as-visit {
    padding-top: 0;
}

#home-v2 .hv2-as-visit__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--as-gap);
}

#home-v2 .hv2-as-visit__card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 24px;
    border: 1px solid #E1EBF7;
    border-radius: 22px;
    background: linear-gradient(110deg, #FFFFFF 0%, #F4F9FF 100%);
    box-shadow: 0 16px 34px -28px rgba(30, 90, 170, .55);
}

#home-v2 .hv2-as-visit__card h3 {
    font-size: 18px;
}

#home-v2 .hv2-as-visit__card p {
    margin: 8px 0 0;
    color: var(--as-text);
    font-size: 15px;
    line-height: 1.65;
}

#home-v2 .hv2-as-visit__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-top: 8px;
}

#home-v2 .hv2-as-visit__links a {
    color: #1E5FB8;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    overflow-wrap: anywhere;
}

#home-v2 .hv2-as-visit__links a:hover {
    color: #0A6CF3;
    text-decoration: underline;
}

@media (min-width: 768px) {
    #home-v2 .hv2-as-visit__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ---------- CTA (home banner + a second button) ---------- */

#home-v2 .hv2-as-cta .hv2-cta__desc {
    line-height: 1.5;
}

#home-v2 .hv2-as-cta__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 12px;
}

#home-v2 .hv2-as-cta__call {
    border: 1.5px solid #A9CEF5;
    background: rgba(255, 255, 255, .85);
    box-shadow: none;
    color: #0E62BE;
}

#home-v2 .hv2-as-cta__call:hover {
    color: #0A6CF3;
    background: #fff;
    box-shadow: 0 10px 20px -14px rgba(7, 127, 255, .6);
}

@media (prefers-reduced-motion: reduce) {
    #home-v2 .hv2-as-hero__text > *,
    #home-v2 .hv2-as-hero__card,
    #home-v2 .hv2-as-hero__rating,
    #home-v2 .hv2-as-hero__stat {
        animation: none;
    }
}
