/* ==============================================================
   YES Digital — Reference Merge v1.5
   Inspired by the supplied header / hero / quick services / content
   hub / footer reference patches while preserving the current
   Laravel + Livewire architecture.
   ============================================================== */

:root {
    --yes-ref-navy-950: #041a2b;
    --yes-ref-navy-900: #062941;
    --yes-ref-navy-800: #083b5b;
    --yes-ref-blue-700: #0b6390;
    --yes-ref-blue-600: #1178aa;
    --yes-ref-blue-100: #eaf5fa;
    --yes-ref-gold-500: #dca63b;
    --yes-ref-gold-100: #fff6df;
    --yes-ref-ink: #102f43;
    --yes-ref-muted: #6d8291;
    --yes-ref-line: #dbe6ec;
    --yes-ref-soft: #f5f8fa;
    --yes-ref-white: #ffffff;
    --yes-ref-shadow-sm: 0 10px 28px rgba(8, 42, 62, .06);
    --yes-ref-shadow-md: 0 18px 42px rgba(8, 42, 62, .10);
    --yes-ref-shadow-lg: 0 30px 70px rgba(5, 31, 48, .16);
}

.yes-ref-shell {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    background: #fff;
    color: var(--yes-ref-ink);
}
.yes-ref-shell > main { flex: 1 0 auto; }

.yes-ux-brand {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
}
.yes-ux-brand__mark {
    display: grid;
    width: 46px;
    height: 46px;
    min-width: 46px;
    overflow: hidden;
    place-items: center;
    border: 1px solid #dfe7ec;
    border-radius: 14px;
    background: #fff;
    padding: 2px;
}
.yes-ux-brand__mark img { display: block; width: 40px; height: 40px; object-fit: contain; }
.yes-ux-brand__copy { display: block; min-width: 0; }
.yes-ux-brand__copy strong,
.yes-ux-brand__copy small { display: block; white-space: nowrap; }
.yes-ux-brand__name--inverse { color: #fff !important; }
.yes-ux-brand__sub--inverse { color: #9db3c2 !important; }

.yes-svg-icon {
    display: block;
    flex: 0 0 auto;
}

/* ==============================================================
   Topbar + Header
   ============================================================== */
.yes-ref-topbar {
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: linear-gradient(90deg, var(--yes-ref-navy-950), var(--yes-ref-navy-900));
    color: #d8e7ef;
}

.yes-ref-topbar__inner {
    display: flex;
    min-height: 38px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    font-size: 11px;
    font-weight: 700;
}

.yes-ref-topbar__contact,
.yes-ref-topbar__side,
.yes-ref-topbar__social {
    display: flex;
    align-items: center;
}

.yes-ref-topbar__contact { gap: 16px; }
.yes-ref-topbar__side { gap: 14px; min-width: 0; }
.yes-ref-topbar__social { gap: 6px; }

.yes-ref-topbar__contact a {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    gap: 6px;
    color: #d8e7ef;
    text-decoration: none;
    transition: color .18s ease;
}
.yes-ref-topbar__contact a:hover { color: #fff; }
.yes-ref-topbar__tag {
    overflow: hidden;
    color: #9fb6c5;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.yes-ref-topbar__social a {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 8px;
    color: #d7e5ed;
    font-size: 9px;
    font-weight: 900;
    text-decoration: none;
    transition: .18s ease;
}
.yes-ref-topbar__social a:hover {
    border-color: rgba(255,255,255,.32);
    background: rgba(255,255,255,.09);
    color: #fff;
    transform: translateY(-1px);
}

.yes-ref-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(215,226,233,.92);
    background: rgba(255,255,255,.96);
    box-shadow: 0 8px 28px rgba(6, 40, 58, .055);
    backdrop-filter: blur(18px);
}
.yes-ref-header__inner {
    display: flex;
    min-height: 78px;
    align-items: center;
    gap: 16px;
}
.yes-ref-header .yes-ux-brand {
    flex: 0 0 auto;
}
.yes-ref-header .yes-ux-brand__mark {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 16px;
}
.yes-ref-header .yes-ux-brand__mark img {
    width: 44px;
    height: 44px;
}
.yes-ref-header .yes-ux-brand__copy strong {
    color: #0a2d43;
    font-size: 13px;
    font-weight: 900;
}
.yes-ref-header .yes-ux-brand__copy small {
    color: #8799a4;
    font-size: 8.5px;
}

.yes-ref-nav {
    display: flex;
    min-width: 0;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 3px;
}
.yes-ref-nav__group { position: relative; }
.yes-ref-nav__link {
    position: relative;
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 6px;
    border: 0;
    border-radius: 11px;
    background: transparent;
    padding: 0 10px;
    color: #294a5d;
    font-size: 10.5px;
    font-weight: 850;
    text-decoration: none;
    white-space: nowrap;
    transition: .18s ease;
}
.yes-ref-nav__link:hover,
.yes-ref-nav__link.is-active {
    background: #eff7fa;
    color: var(--yes-ref-blue-700);
}
.yes-ref-nav__link.is-active::after {
    position: absolute;
    inset-inline: 11px;
    bottom: -18px;
    height: 3px;
    content: "";
    border-radius: 999px;
    background: linear-gradient(90deg, var(--yes-ref-gold-500), var(--yes-ref-blue-600));
}
.yes-ref-nav__chevron {
    color: #8ba0ac;
    font-size: 10px;
}

.yes-ref-mega {
    position: absolute;
    top: calc(100% + 13px);
    z-index: 70;
    width: min(620px, 88vw);
    overflow: hidden;
    border: 1px solid var(--yes-ref-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 26px 66px rgba(4, 31, 48, .16);
}
.yes-ref-mega__head {
    border-bottom: 1px solid #eaf0f3;
    background: linear-gradient(135deg, #f7fbfd, #fff);
    padding: 14px 16px;
}
.yes-ref-mega__head strong,
.yes-ref-mega__head small { display: block; }
.yes-ref-mega__head strong { color: #12384d; font-size: 11px; font-weight: 900; }
.yes-ref-mega__head small { margin-top: 3px; color: #81939e; font-size: 8.5px; }
.yes-ref-mega__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
    padding: 8px;
}
.yes-ref-mega__grid a {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 10px;
    align-items: start;
    border-radius: 13px;
    padding: 10px;
    color: inherit;
    text-decoration: none;
    transition: .16s ease;
}
.yes-ref-mega__grid a:hover,
.yes-ref-mega__grid a[aria-current="page"] { background: #f2f8fb; }
.yes-ref-mega__mark {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 10px;
    background: #eaf5fa;
    color: var(--yes-ref-blue-700);
    font-size: 11px;
    font-weight: 900;
}
.yes-ref-mega__grid strong,
.yes-ref-mega__grid small { display: block; }
.yes-ref-mega__grid strong { color: #17394c; font-size: 10px; font-weight: 900; }
.yes-ref-mega__grid small { margin-top: 3px; color: #7e919d; font-size: 8.2px; line-height: 1.55; }

.yes-ref-header__actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 7px;
}
.yes-ref-header-btn,
.yes-ref-icon-btn {
    min-height: 42px;
    border-radius: 11px;
    font-size: 9.5px;
    font-weight: 900;
    transition: .18s ease;
}
.yes-ref-header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 12px;
    text-decoration: none;
    white-space: nowrap;
}
.yes-ref-header-btn--ghost {
    border: 1px solid #d8e5eb;
    background: #fff;
    color: #0c628b;
}
.yes-ref-header-btn--ghost:hover { background: #f3f8fa; border-color: #b9d5e2; }
.yes-ref-header-btn--gold {
    border: 1px solid #d5a23c;
    background: linear-gradient(135deg, #e1ad42, #f0c96c);
    color: #102c3c;
    box-shadow: 0 8px 18px rgba(220,166,59,.18);
}
.yes-ref-header-btn--gold:hover { filter: brightness(1.03); transform: translateY(-1px); }
.yes-ref-icon-btn {
    display: inline-flex;
    min-width: 42px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 1px solid #d8e5eb;
    background: #fff;
    color: #315466;
    padding: 0 8px;
}
.yes-ref-icon-btn:hover { background: #f4f8fa; color: var(--yes-ref-blue-700); }
.yes-ref-mobile-toggle { display: none; }

.yes-ref-mobile-menu {
    max-height: calc(100vh - 7.5rem);
    overflow-y: auto;
    border-top: 1px solid #e4edf1;
    background: #fff;
    box-shadow: 0 22px 46px rgba(7, 35, 52, .08);
}
.yes-ref-mobile-menu__nav { display: grid; gap: 8px; padding-block: 14px 18px; }
.yes-ref-mobile-link {
    display: flex;
    min-height: 44px;
    align-items: center;
    border-radius: 11px;
    padding: 8px 12px;
    color: #173b4f;
    font-size: 11px;
    font-weight: 850;
    text-decoration: none;
}
.yes-ref-mobile-link:hover { background: #f2f8fb; }
.yes-ref-mobile-group { overflow: hidden; border: 1px solid #dfe9ee; border-radius: 14px; background: #fff; }
.yes-ref-mobile-group summary {
    display: flex;
    min-height: 46px;
    cursor: pointer;
    list-style: none;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    color: #17384b;
    font-size: 11px;
    font-weight: 900;
}
.yes-ref-mobile-group > div { border-top: 1px solid #edf2f5; padding: 5px; }
.yes-ref-mobile-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; padding-top: 5px; }

/* ==============================================================
   Hero — professional split composition
   ============================================================== */
.yes-ref-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 590px;
    background:
        radial-gradient(circle at 15% 22%, rgba(29, 132, 180, .28), transparent 30%),
        radial-gradient(circle at 84% 80%, rgba(220, 166, 59, .13), transparent 30%),
        linear-gradient(135deg, #041a2b 0%, #062c48 48%, #084868 100%);
    color: #fff;
}
.yes-ref-hero__ambient { position: absolute; z-index: -1; border-radius: 50%; filter: blur(5px); pointer-events: none; }
.yes-ref-hero__ambient--one { width: 420px; height: 420px; inset-inline-start: -180px; top: -180px; background: rgba(20,130,180,.14); }
.yes-ref-hero__ambient--two { width: 360px; height: 360px; inset-inline-end: -180px; bottom: -190px; background: rgba(220,166,59,.10); }
.yes-ref-hero__grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .075;
    background-image: linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px), linear-gradient(90deg,rgba(255,255,255,.2) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(90deg, #000, transparent 74%);
}
[dir="ltr"] .yes-ref-hero__grid { mask-image: linear-gradient(270deg, #000, transparent 74%); }
.yes-ref-hero__slide { min-height: 590px; }
.yes-ref-hero__shell {
    display: grid;
    min-height: 590px;
    grid-template-columns: minmax(0, .98fr) minmax(420px, .9fr);
    align-items: center;
    gap: 54px;
    padding-block: 64px 88px;
}
.yes-ref-hero__content { position: relative; z-index: 4; max-width: 660px; }
.yes-ref-hero__eyebrow {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(229,184,89,.35);
    border-radius: 999px;
    background: rgba(4,26,43,.42);
    padding: 0 12px;
    color: #f0c96f;
    font-size: 10px;
    font-weight: 900;
    backdrop-filter: blur(10px);
}
.yes-ref-hero h1 {
    max-width: 650px;
    margin: 16px 0 0;
    color: #fff;
    font-size: clamp(34px, 4.2vw, 56px);
    line-height: 1.28;
    font-weight: 950;
    letter-spacing: -.02em;
    text-wrap: balance;
    text-shadow: 0 8px 30px rgba(0,0,0,.18);
}
.yes-ref-hero__description {
    max-width: 620px;
    margin-top: 15px;
    color: #d4e3eb;
    font-size: 14px;
    line-height: 2;
}
.yes-ref-hero__actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.yes-ref-hero-btn {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    padding: 0 17px;
    font-size: 10.5px;
    font-weight: 900;
    text-decoration: none;
    transition: .18s ease;
}
.yes-ref-hero-btn--primary {
    border: 1px solid #e2ad43;
    background: linear-gradient(135deg,#dfa83b,#f0cb72);
    color: #102b3a;
    box-shadow: 0 12px 28px rgba(220,166,59,.20);
}
.yes-ref-hero-btn--primary:hover { transform: translateY(-2px); filter: brightness(1.03); }
.yes-ref-hero-btn--secondary {
    border: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.08);
    color: #fff;
    backdrop-filter: blur(10px);
}
.yes-ref-hero-btn--secondary:hover { background: rgba(255,255,255,.14); }
.yes-ref-hero__assurance { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.yes-ref-hero__assurance span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #b9ced9;
    font-size: 9.5px;
    font-weight: 800;
}
.yes-ref-hero__assurance .yes-svg-icon { color: #e2b450; }

.yes-ref-hero__visual { position: relative; z-index: 3; min-width: 0; }
.yes-ref-hero__visual-frame {
    position: relative;
    min-height: 430px;
    overflow: visible;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 30px;
    background: linear-gradient(150deg, rgba(255,255,255,.10), rgba(255,255,255,.025));
    box-shadow: 0 34px 80px rgba(0,0,0,.24);
    backdrop-filter: blur(10px);
}
.yes-ref-hero__visual-frame::before {
    position: absolute;
    inset: 16px;
    content: "";
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 22px;
    pointer-events: none;
}
.yes-ref-hero__visual-frame img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    object-fit: cover;
    object-position: center;
}
.yes-ref-hero__visual-glow {
    position: absolute;
    z-index: -1;
    width: 70%;
    height: 70%;
    inset: 15% 15%;
    border-radius: 50%;
    background: rgba(20,138,190,.24);
    filter: blur(60px);
}
.yes-ref-hero__floating {
    position: absolute;
    z-index: 5;
    display: flex;
    min-width: 210px;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 16px;
    background: rgba(4,28,45,.80);
    padding: 10px 12px;
    box-shadow: 0 18px 38px rgba(0,0,0,.19);
    backdrop-filter: blur(14px);
}
.yes-ref-hero__floating > span {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 11px;
    background: #f0c66c;
    color: #0b3046;
}
.yes-ref-hero__floating small,
.yes-ref-hero__floating strong { display: block; }
.yes-ref-hero__floating small { color: #9fb6c4; font-size: 7.5px; }
.yes-ref-hero__floating strong { margin-top: 2px; color: #fff; font-size: 9.5px; font-weight: 900; }
.yes-ref-hero__floating--membership { inset-inline-start: -24px; top: 52px; }
.yes-ref-hero__floating--training { inset-inline-end: -18px; bottom: 54px; }
.yes-ref-hero__controls { position: absolute; z-index: 9; inset-inline: 0; bottom: 20px; }
.yes-ref-hero__controls-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.yes-ref-hero__dots,
.yes-ref-hero__arrows { display: flex; align-items: center; gap: 5px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(4,26,43,.55); padding: 5px; backdrop-filter: blur(12px); }
.yes-ref-hero__dot,
.yes-ref-hero__arrows button { display: grid; width: 32px; height: 32px; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.07); color: #fff; font-size: 12px; }
.yes-ref-hero__dot span { width: 6px; height: 6px; border-radius: 99px; background: rgba(255,255,255,.38); transition: .18s ease; }
.yes-ref-hero__dot[aria-current="true"] span { width: 14px; background: #e4b75e; }
.yes-ref-hero__arrows button:hover { background: rgba(255,255,255,.15); color: #f0c96e; }

/* ==============================================================
   News ticker pinned below hero
   ============================================================== */
.yes-home-section--news-ticker { position: relative; z-index: 10; }
.yes-ux-ticker {
    border: 0 !important;
    background: linear-gradient(90deg, #06243a, #0b527a 58%, #0a668b) !important;
    color: #fff;
    box-shadow: 0 10px 28px rgba(6, 40, 58, .11);
}
.yes-ux-ticker__inner { min-height: 52px !important; gap: 0 !important; }
.yes-ux-ticker__label {
    min-height: 52px !important;
    border-radius: 0 !important;
    background: linear-gradient(135deg,#dca63b,#efd079) !important;
    padding: 0 17px !important;
    color: #25303a !important;
    font-size: 9.5px !important;
}
.yes-ux-ticker__viewport { margin-inline-start: 8px; }
.yes-ux-ticker__item { color: #edf7fb !important; font-size: 9.5px !important; }
.yes-ux-ticker__dot { background: #edc15f !important; box-shadow: 0 0 0 4px rgba(237,193,95,.13) !important; }

/* ==============================================================
   Shared homepage section system
   ============================================================== */
.yes-ref-section { padding: 64px 0; background: #fff; }
.yes-ref-section--services { background: linear-gradient(180deg,#f7fafc 0%,#fff 100%); }
.yes-ref-section--news { background: #fff; }
.yes-ref-section--training { background: linear-gradient(180deg,#f5f8fa,#fff); }
.yes-ref-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 27px;
}
.yes-ref-section-head__eyebrow {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    gap: 7px;
    border-radius: 999px;
    background: #eaf5fa;
    padding: 0 10px;
    color: var(--yes-ref-blue-700);
    font-size: 9px;
    font-weight: 900;
}
.yes-ref-section-head__eyebrow .yes-svg-icon { color: var(--yes-ref-gold-500); }
.yes-ref-section-head h2 {
    margin: 7px 0 0;
    color: #0b2d42;
    font-size: clamp(24px,3vw,34px);
    line-height: 1.45;
    font-weight: 950;
}
.yes-ref-section-head p {
    max-width: 690px;
    margin: 7px 0 0;
    color: #728794;
    font-size: 11px;
    line-height: 1.9;
}
.yes-ref-viewall {
    display: inline-flex;
    min-height: 42px;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    border: 1px solid #d8e5eb;
    border-radius: 999px;
    background: #fff;
    padding: 0 13px;
    color: var(--yes-ref-blue-700);
    font-size: 9px;
    font-weight: 900;
    text-decoration: none;
    transition: .18s ease;
}
.yes-ref-viewall:hover { border-color: #abd0e1; background: #f3f9fb; transform: translateY(-1px); }

/* Quick services */
.yes-ref-services-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.yes-ref-service-card {
    --yes-card-accent: #0b6390;
    position: relative;
    display: flex;
    min-height: 190px;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid #dce7ed;
    border-radius: 20px;
    background: #fff;
    padding: 18px;
    color: inherit;
    box-shadow: var(--yes-ref-shadow-sm);
    text-decoration: none;
    transition: transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
.yes-ref-service-card::before {
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    width: 4px;
    height: 100%;
    content: "";
    background: var(--yes-card-accent);
}
.yes-ref-service-card::after {
    position: absolute;
    width: 110px;
    height: 110px;
    inset-inline-end: -55px;
    top: -50px;
    content: "";
    border-radius: 50%;
    background: color-mix(in srgb, var(--yes-card-accent) 8%, transparent);
}
.yes-ref-service-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb,var(--yes-card-accent) 28%,#dce7ed); box-shadow: var(--yes-ref-shadow-md); }
.yes-ref-service-card--emerald { --yes-card-accent:#168462; }
.yes-ref-service-card--violet { --yes-card-accent:#6e5bd0; }
.yes-ref-service-card--gold { --yes-card-accent:#c58e24; }
.yes-ref-service-card--rose { --yes-card-accent:#c5536b; }
.yes-ref-service-card--slate { --yes-card-accent:#526d7d; }
.yes-ref-service-card__badge {
    position: absolute;
    z-index: 2;
    top: 10px;
    inset-inline-end: 10px;
    border-radius: 999px;
    background: #fff1c8;
    padding: 5px 8px;
    color: #694f12;
    font-size: 7px;
    font-weight: 900;
}
.yes-ref-service-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.yes-ref-service-card__icon {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border-radius: 15px;
    background: color-mix(in srgb,var(--yes-card-accent) 10%,#fff);
    color: var(--yes-card-accent);
}
.yes-ref-service-card__number { color: #b6c3cb; font-size: 9px; font-weight: 900; letter-spacing: .08em; }
.yes-ref-service-card h3 { margin: 16px 0 0; color: #14364a; font-size: 13px; line-height: 1.6; font-weight: 950; }
.yes-ref-service-card p { margin: 6px 0 0; color: #778b97; font-size: 9.2px; line-height: 1.8; }
.yes-ref-service-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 16px; color: var(--yes-card-accent); font-size: 8.7px; font-weight: 900; }

/* News */
.yes-ref-news-layout { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(340px,.75fr); gap: 16px; }
.yes-ref-news-lead,
.yes-ref-news-card { color: inherit; text-decoration: none; }
.yes-ref-news-lead { min-height: 460px; }
.yes-ref-news-lead__media {
    position: relative;
    height: 100%;
    min-height: 460px;
    overflow: hidden;
    border-radius: 22px;
    background: #dce9ef;
    box-shadow: var(--yes-ref-shadow-md);
}
.yes-ref-news-lead__media > img,
.yes-ref-news-card__media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.yes-ref-news-lead:hover img,
.yes-ref-news-card:hover img { transform: scale(1.035); }
.yes-ref-news-lead__overlay { position: absolute; inset: 0; background: linear-gradient(180deg,rgba(3,20,33,.06),rgba(3,20,33,.22) 35%,rgba(3,20,33,.93)); }
.yes-ref-news-lead__body { position: absolute; z-index: 2; inset-inline: 24px; bottom: 23px; color: #fff; }
.yes-ref-content-badge { display: inline-flex; min-height: 28px; align-items: center; border-radius: 999px; background: #e4b650; padding: 0 9px; color: #20313a; font-size: 8px; font-weight: 900; }
.yes-ref-news-lead__body time,
.yes-ref-news-card__body time { display: inline-flex; align-items: center; gap: 5px; font-size: 8.2px; font-weight: 800; }
.yes-ref-news-lead__body time { margin-inline-start: 8px; color: #cedde5; }
.yes-ref-news-lead__body h3 { max-width: 760px; margin: 10px 0 0; color: #fff; font-size: clamp(19px,2.2vw,28px); line-height: 1.55; font-weight: 950; }
.yes-ref-news-lead__body p { max-width: 720px; margin: 8px 0 0; color: #d2e0e7; font-size: 10px; line-height: 1.8; }
.yes-ref-inline-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 8.8px; font-weight: 900; }
.yes-ref-news-side { display: grid; grid-template-rows: repeat(2,minmax(0,1fr)); gap: 14px; }
.yes-ref-news-card {
    display: grid;
    min-height: 220px;
    grid-template-columns: 145px minmax(0,1fr);
    overflow: hidden;
    border: 1px solid #dce7ed;
    border-radius: 19px;
    background: #fff;
    box-shadow: var(--yes-ref-shadow-sm);
    transition: .2s ease;
}
.yes-ref-news-card:hover { transform: translateY(-3px); border-color: #b8d6e4; box-shadow: var(--yes-ref-shadow-md); }
.yes-ref-news-card__media { min-height: 100%; overflow: hidden; background: #e8f0f4; }
.yes-ref-news-card__body { display: flex; min-width: 0; flex-direction: column; padding: 16px; }
.yes-ref-news-card__body time { color: #7b909d; }
.yes-ref-news-card__body h3 { margin: 8px 0 0; color: #17394c; font-size: 11.5px; line-height: 1.65; font-weight: 950; }
.yes-ref-news-card__body p { margin: 6px 0 0; color: #7a8d98; font-size: 8.7px; line-height: 1.7; }
.yes-ref-news-card__body .yes-ref-inline-link { margin-top: auto; padding-top: 9px; color: var(--yes-ref-blue-700); }
.yes-ref-media-placeholder { display: grid; width: 100%; height: 100%; place-items: center; background: linear-gradient(145deg,#0a3552,#0b6390); color: rgba(255,255,255,.78); }

/* Training */
.yes-ref-training-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.yes-ref-training-card {
    display: flex;
    min-height: 300px;
    flex-direction: column;
    border: 1px solid #dce7ed;
    border-radius: 20px;
    background: #fff;
    padding: 18px;
    color: inherit;
    box-shadow: var(--yes-ref-shadow-sm);
    text-decoration: none;
    transition: .2s ease;
}
.yes-ref-training-card:hover { transform: translateY(-4px); border-color: #b8d7e5; box-shadow: var(--yes-ref-shadow-md); }
.yes-ref-training-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.yes-ref-training-card__icon { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 15px; background: #eef4ff; color: #6754c8; }
.yes-ref-date-tile { display: grid; min-width: 54px; overflow: hidden; border: 1px solid #dfe8ed; border-radius: 12px; text-align: center; }
.yes-ref-date-tile strong { padding: 5px 9px 3px; color: #15374b; font-size: 18px; font-weight: 950; }
.yes-ref-date-tile small { background: #0b6390; padding: 4px 7px; color: #fff; font-size: 7px; font-weight: 900; }
.yes-ref-training-card__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.yes-ref-training-card__badges span { border-radius: 999px; background: #f0f5f8; padding: 5px 8px; color: #587181; font-size: 7.5px; font-weight: 900; }
.yes-ref-training-card h3 { margin: 12px 0 0; color: #14364a; font-size: 12.5px; line-height: 1.65; font-weight: 950; }
.yes-ref-training-card__meta { display: grid; gap: 7px; margin-top: 13px; color: #758995; }
.yes-ref-training-card__meta span { display: flex; align-items: center; gap: 7px; font-size: 8.5px; font-weight: 800; }
.yes-ref-training-card__meta .yes-svg-icon { color: #0b6390; }
.yes-ref-training-card__footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; border-top: 1px solid #edf2f4; padding-top: 13px; color: var(--yes-ref-blue-700); font-size: 8.8px; font-weight: 900; }

.yes-ref-empty { display: flex; min-height: 180px; align-items: center; justify-content: center; flex-direction: column; gap: 10px; border: 1px dashed #cbd9e1; border-radius: 18px; background: #fafcfd; color: #718692; text-align: center; font-size: 10px; font-weight: 900; }
.yes-ref-empty > span { display: grid; width: 54px; height: 54px; place-items: center; border-radius: 15px; background: #eaf5fa; color: #0b6390; }
.yes-ref-empty--wide { grid-column: 1/-1; }

/* ==============================================================
   Existing event/opportunity cards — upgraded without changing logic
   ============================================================== */
.yes-stream-section { padding-block: 26px !important; }
.yes-stream-shell { overflow: hidden; border: 1px solid #dbe6ec !important; border-radius: 24px !important; background: #fff !important; box-shadow: 0 14px 34px rgba(8,42,62,.05) !important; }
.yes-stream-inner { padding: 24px !important; }
.yes-stream-head { margin-bottom: 18px !important; }
.yes-stream-kicker { color: #0b6390 !important; font-weight: 900 !important; }
.yes-stream-kicker-dot { background: #dca63b !important; box-shadow: 0 0 0 5px rgba(220,166,59,.12) !important; }
.yes-stream-title { color: #0c3045 !important; font-size: 22px !important; font-weight: 950 !important; }
.yes-stream-viewall { min-height: 40px !important; border: 1px solid #d8e5eb !important; border-radius: 999px !important; background: #fff !important; padding-inline: 12px !important; }
.yes-cards-grid { gap: 14px !important; }
.yes-data-card {
    min-height: 260px !important;
    border: 1px solid #dce7ed !important;
    border-radius: 19px !important;
    background: #fff !important;
    padding: 18px !important;
    box-shadow: var(--yes-ref-shadow-sm) !important;
    transition: .2s ease !important;
}
.yes-data-card:hover { transform: translateY(-4px) !important; border-color: #b6d5e4 !important; box-shadow: var(--yes-ref-shadow-md) !important; }
.yes-data-card h3 { color: #14374a !important; font-size: 12px !important; line-height: 1.7 !important; font-weight: 950 !important; }
.yes-data-badge { background: #edf6fa !important; color: #0b6390 !important; border-radius: 999px !important; font-weight: 900 !important; }
.yes-date-tile { box-shadow: 0 8px 18px rgba(8,42,62,.05); }
.yes-data-card-footer { border-top-color: #edf2f4 !important; color: #0b6390 !important; }

/* Statistics */
.yes-ux-stats { gap: 10px !important; }
.yes-ux-stat {
    min-height: 150px;
    border-radius: 18px !important;
    background: linear-gradient(180deg,#fff,#f9fbfc) !important;
    box-shadow: var(--yes-ref-shadow-sm) !important;
}
.yes-ux-stat__icon { background: #eaf5fa !important; color: #0b6390 !important; }
.yes-ux-stat strong { color: #0b3045 !important; font-size: 24px !important; }

/* Sponsored content — subordinate but polished */
.yes-sponsored-section { padding: 34px 0 !important; background: #f7fafc !important; }
.yes-sponsored-shell { width: min(100%,1080px) !important; margin-inline: auto; overflow: hidden; border: 1px solid #dce7ed !important; border-radius: 22px !important; background: #fff !important; box-shadow: 0 12px 32px rgba(7,27,45,.05) !important; }
.yes-sponsored-head { border-bottom: 1px solid #edf2f4; padding: 17px 19px !important; }
.yes-sponsored-kicker { background: #fff5dd !important; color: #735818 !important; border-radius: 999px !important; padding: 5px 8px !important; }
.yes-sponsored-kicker-dot { background: #dca63b !important; }
.yes-sponsored-title { margin-top: 7px !important; color: #14374a !important; font-size: 18px !important; font-weight: 950 !important; }
.yes-sponsored-description { color: #788b96 !important; }
.yes-sponsored-grid { gap: 12px !important; padding: 12px !important; }
.yes-sponsored-card { overflow: hidden; border: 1px solid #e0e8ed !important; border-radius: 17px !important; box-shadow: none !important; }
.yes-sponsored-media { aspect-ratio: 16/7.2 !important; }
.yes-sponsored-label { border-radius: 999px !important; background: rgba(4,26,43,.84) !important; color: #fff !important; backdrop-filter: blur(8px); }
.yes-sponsored-body { padding: 12px 14px 14px !important; }
.yes-sponsored-body h3 { color: #17394c !important; font-size: 11.5px !important; font-weight: 950 !important; }
.yes-sponsored-body p { color: #7a8d98 !important; font-size: 8.7px !important; }
.yes-sponsored-action { color: #0b6390 !important; font-weight: 900 !important; }

/* ==============================================================
   Institutional Footer
   ============================================================== */
.yes-ref-footer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 8%, rgba(21,116,160,.22), transparent 28%),
        linear-gradient(135deg,#041a2b 0%,#062b44 55%,#083954 100%);
    color: #b8cbd7;
}
.yes-ref-footer::before {
    position: absolute;
    inset: 0;
    content: "";
    opacity: .04;
    pointer-events: none;
    background-image: linear-gradient(45deg,transparent 25%,#fff 25%,#fff 26%,transparent 26%,transparent 75%,#fff 75%,#fff 76%,transparent 76%);
    background-size: 64px 64px;
}
.yes-ref-footer > .yes-container { position: relative; z-index: 1; }
.yes-ref-footer__support {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    transform: translateY(0);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 20px;
    background: linear-gradient(135deg,#0d5f8a,#167ba7);
    padding: 20px 22px;
    box-shadow: 0 18px 46px rgba(0,0,0,.20);
}
.yes-ref-footer__support-copy { display: flex; min-width: 0; align-items: center; gap: 14px; }
.yes-ref-footer__support-icon { display: grid; width: 50px; height: 50px; flex: 0 0 50px; place-items: center; border-radius: 14px; background: #fff; color: #0b6390; }
.yes-ref-footer__support-copy strong { display: block; color: #fff; font-size: 12px; font-weight: 950; }
.yes-ref-footer__support-copy p { margin: 4px 0 0; color: rgba(255,255,255,.75); font-size: 9px; line-height: 1.7; }
.yes-ref-footer__support-actions { display: flex; flex: 0 0 auto; flex-wrap: wrap; gap: 8px; }
.yes-ref-footer__support-btn { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 7px; border-radius: 11px; padding: 0 13px; font-size: 9px; font-weight: 900; text-decoration: none; }
.yes-ref-footer__support-btn--light { background: #fff; color: #0b5e87; }
.yes-ref-footer__support-btn--outline { border: 1px solid rgba(255,255,255,.34); background: rgba(255,255,255,.08); color: #fff; }
.yes-ref-footer__grid {
    display: grid;
    grid-template-columns: 1.35fr .85fr .9fr 1.15fr;
    gap: 34px;
    padding: 46px 0 34px;
}
.yes-ref-footer__brand .yes-ux-brand { margin-bottom: 16px; }
.yes-ref-footer__brand .yes-ux-brand__mark { border-radius: 16px; }
.yes-ref-footer__brand p { max-width: 410px; margin: 0; color: #9fb4c0; font-size: 9.5px; line-height: 1.95; }
.yes-ref-footer__social { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.yes-ref-footer__social a { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(255,255,255,.14); border-radius: 11px; background: rgba(255,255,255,.06); color: #fff; font-size: 9px; font-weight: 900; text-decoration: none; transition: .18s ease; }
.yes-ref-footer__social a:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.12); }
.yes-ref-footer__title { position: relative; margin: 0 0 17px; padding-bottom: 10px; color: #fff; font-size: 10.5px; font-weight: 950; }
.yes-ref-footer__title::after { position: absolute; inset-inline-start: 0; bottom: 0; width: 34px; height: 3px; content: ""; border-radius: 999px; background: #dca63b; }
.yes-ref-footer__links { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.yes-ref-footer__links a { display: inline-flex; min-height: 34px; align-items: center; gap: 6px; color: #a8bdc8; font-size: 9px; text-decoration: none; transition: .18s ease; }
.yes-ref-footer__links a span { color: #dca63b; }
.yes-ref-footer__links a:hover { color: #fff; transform: translateX(-3px); }
[dir="ltr"] .yes-ref-footer__links a:hover { transform: translateX(3px); }
.yes-ref-footer__contact { display: grid; gap: 10px; }
.yes-ref-footer__contact > div { display: grid; grid-template-columns: 36px minmax(0,1fr); gap: 9px; align-items: start; }
.yes-ref-footer__contact > div > span { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(255,255,255,.12); border-radius: 10px; background: rgba(255,255,255,.07); color: #edc15f; }
.yes-ref-footer__contact p { min-width: 0; margin: 0; }
.yes-ref-footer__contact small,
.yes-ref-footer__contact strong,
.yes-ref-footer__contact a { display: block; overflow-wrap: anywhere; }
.yes-ref-footer__contact small { color: #7893a3; font-size: 7.5px; }
.yes-ref-footer__contact strong,
.yes-ref-footer__contact a { margin-top: 2px; color: #b8cbd6; font-size: 8.7px; font-weight: 700; text-decoration: none; }
.yes-ref-footer__contact a:hover { color: #fff; }
.yes-ref-footer__bottom { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 15px; border-top: 1px solid rgba(255,255,255,.09); color: #7892a2; font-size: 8.5px; }
.yes-ref-footer__bottom p { margin: 0; }
.yes-ref-footer__bottom > div { display: flex; flex-wrap: wrap; gap: 13px; }
.yes-ref-footer__bottom a { color: #8fa7b5; text-decoration: none; }
.yes-ref-footer__bottom a:hover { color: #fff; }

/* ==============================================================
   Accessibility / focus
   ============================================================== */
.yes-ref-shell a:focus-visible,
.yes-ref-shell button:focus-visible,
.yes-ref-shell summary:focus-visible {
    outline: 3px solid rgba(220,166,59,.58);
    outline-offset: 3px;
}

/* ==============================================================
   Responsive
   ============================================================== */
@media (max-width: 1180px) {
    .yes-ref-nav__link { padding-inline: 7px; font-size: 9.5px; }
    .yes-ref-header .yes-ux-brand__copy { display: none; }
    .yes-ref-header-btn--gold { display: none; }
}

@media (max-width: 1023px) {
    .yes-ref-nav { display: none; }
    .yes-ref-header__inner { min-height: 70px; }
    .yes-ref-header__actions { margin-inline-start: auto; }
    .yes-ref-header-btn--gold { display: inline-flex; }
    .yes-ref-mobile-toggle { display: inline-flex; }

    .yes-ref-hero,
    .yes-ref-hero__slide { min-height: 560px; }
    .yes-ref-hero__shell { min-height: 560px; grid-template-columns: 1fr .82fr; gap: 28px; padding-block: 54px 84px; }
    .yes-ref-hero__visual-frame { min-height: 360px; }
    .yes-ref-hero__floating { min-width: 175px; }
    .yes-ref-hero__floating--membership { inset-inline-start: -12px; top: 34px; }
    .yes-ref-hero__floating--training { inset-inline-end: -10px; bottom: 36px; }

    .yes-ref-services-grid,
    .yes-ref-training-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .yes-ref-news-layout { grid-template-columns: 1fr; }
    .yes-ref-news-side { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: none; }
    .yes-ref-news-card { grid-template-columns: 130px minmax(0,1fr); }

    .yes-ref-footer__grid { grid-template-columns: 1.2fr 1fr 1fr; }
    .yes-ref-footer__grid > section:last-child { grid-column: 1/-1; }
    .yes-ref-footer__contact { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 767px) {
    .yes-ref-topbar__tag,
    .yes-ref-topbar__social { display: none; }
    .yes-ref-topbar__inner { min-height: 34px; }
    .yes-ref-topbar__contact { width: 100%; justify-content: space-between; gap: 8px; }
    .yes-ref-topbar__contact a { font-size: 8.8px; }
    .yes-ref-header-btn--gold { display: none; }

    .yes-ref-hero { min-height: 0; }
    .yes-ref-hero__slide { min-height: 0; }
    .yes-ref-hero__shell { min-height: 0; grid-template-columns: 1fr; gap: 26px; padding-block: 46px 92px; }
    .yes-ref-hero h1 { font-size: 34px; }
    .yes-ref-hero__description { font-size: 11.5px; line-height: 1.9; }
    .yes-ref-hero__assurance { gap: 10px; }
    .yes-ref-hero__visual-frame { min-height: 340px; }
    .yes-ref-hero__floating { min-width: 165px; padding: 8px 9px; }
    .yes-ref-hero__floating--membership { inset-inline-start: 8px; top: 18px; }
    .yes-ref-hero__floating--training { inset-inline-end: 8px; bottom: 18px; }
    .yes-ref-hero__controls { bottom: 15px; }

    .yes-ux-ticker__label { min-height: 48px !important; padding-inline: 12px !important; font-size: 8px !important; }
    .yes-ux-ticker__inner { min-height: 48px !important; }

    .yes-ref-section { padding: 48px 0; }
    .yes-ref-section-head { align-items: flex-start; flex-direction: column; margin-bottom: 20px; }
    .yes-ref-section-head h2 { font-size: 24px; }
    .yes-ref-section-head p { font-size: 10px; }
    .yes-ref-services-grid,
    .yes-ref-training-grid { grid-template-columns: 1fr; }
    .yes-ref-service-card { min-height: 175px; }
    .yes-ref-news-lead,
    .yes-ref-news-lead__media { min-height: 390px; }
    .yes-ref-news-lead__body { inset-inline: 17px; bottom: 17px; }
    .yes-ref-news-lead__body h3 { font-size: 20px; }
    .yes-ref-news-lead__body p { font-size: 9px; }
    .yes-ref-news-side { grid-template-columns: 1fr; }
    .yes-ref-news-card { min-height: 190px; grid-template-columns: 115px minmax(0,1fr); }

    .yes-ref-footer__support { align-items: flex-start; flex-direction: column; }
    .yes-ref-footer__support-actions { width: 100%; }
    .yes-ref-footer__support-btn { flex: 1; }
    .yes-ref-footer__grid { grid-template-columns: 1fr 1fr; gap: 26px; padding-top: 36px; }
    .yes-ref-footer__grid > section:first-child,
    .yes-ref-footer__grid > section:last-child { grid-column: 1/-1; }
    .yes-ref-footer__contact { grid-template-columns: 1fr; }
    .yes-ref-footer__bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 13px; }
}

@media (max-width: 480px) {
    .yes-ref-topbar__contact a:first-child span { max-width: 170px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .yes-ref-header-btn--ghost { display: none; }
    .yes-ref-mobile-actions .yes-ref-header-btn--ghost { display: inline-flex; }
    .yes-ref-hero h1 { font-size: 30px; }
    .yes-ref-hero__visual-frame { min-height: 300px; border-radius: 22px; }
    .yes-ref-hero__visual-frame img { border-radius: 22px; }
    .yes-ref-hero__floating { min-width: 150px; }
    .yes-ref-hero__floating strong { font-size: 8.5px; }
    .yes-ref-hero__floating small { font-size: 7px; }
    .yes-ref-news-card { grid-template-columns: 100px minmax(0,1fr); }
    .yes-ref-footer__grid { grid-template-columns: 1fr; }
    .yes-ref-footer__grid > section:first-child,
    .yes-ref-footer__grid > section:last-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
    .yes-ref-shell *,
    .yes-ref-shell *::before,
    .yes-ref-shell *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
    .yes-ux-ticker__track { animation: none !important; }
}

/* ==============================================================
   YES Digital — Typography Refinement v1.6
   Arabic-first institutional type scale.
   Goals:
   - Eliminate undersized 7–10px UI text.
   - Improve Arabic legibility and visual hierarchy.
   - Keep header/hero compact enough on tablets and mobile.
   ============================================================== */

:root {
    --yes-ref-font-ar: "Noto Sans Arabic", "IBM Plex Sans Arabic", "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif;
    --yes-ref-font-latin: Inter, "Segoe UI", Arial, sans-serif;
    --yes-ref-text-xs: 0.75rem;      /* 12px */
    --yes-ref-text-sm: 0.8125rem;    /* 13px */
    --yes-ref-text-base: 0.9375rem;  /* 15px */
    --yes-ref-text-md: 1rem;         /* 16px */
    --yes-ref-text-lg: 1.125rem;     /* 18px */
    --yes-ref-leading-body: 1.85;
    --yes-ref-leading-tight: 1.45;
}

.yes-ref-shell {
    font-family: var(--yes-ref-font-ar);
    font-size: var(--yes-ref-text-base);
    line-height: var(--yes-ref-leading-body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

[dir="ltr"] .yes-ref-shell {
    font-family: var(--yes-ref-font-latin);
}

.yes-ref-shell button,
.yes-ref-shell input,
.yes-ref-shell select,
.yes-ref-shell textarea {
    font: inherit;
}

/* Top bar + brand */
.yes-ref-topbar__inner { font-size: 12.5px; line-height: 1.6; }
.yes-ref-topbar__social a { font-size: 11px; }
.yes-ref-header .yes-ux-brand__copy strong { font-size: 16px; line-height: 1.45; }
.yes-ref-header .yes-ux-brand__copy small { font-size: 11px; line-height: 1.45; }

/* Primary navigation */
.yes-ref-nav__link { font-size: 13.5px; line-height: 1.4; }
.yes-ref-nav__chevron { font-size: 12px; }
.yes-ref-mega__head strong { font-size: 15px; line-height: 1.45; }
.yes-ref-mega__head small { font-size: 12.5px; line-height: 1.65; }
.yes-ref-mega__grid strong { font-size: 14px; line-height: 1.55; }
.yes-ref-mega__grid small { font-size: 12.5px; line-height: 1.7; }
.yes-ref-mega__mark { font-size: 13px; }
.yes-ref-header-btn,
.yes-ref-icon-btn { font-size: 13px; line-height: 1.35; }
.yes-ref-mobile-link,
.yes-ref-mobile-group summary { font-size: 14px; line-height: 1.55; }

/* Hero */
.yes-ref-hero__eyebrow { font-size: 13px; line-height: 1.35; }
.yes-ref-hero h1 {
    font-size: clamp(38px, 4vw, 58px);
    line-height: 1.32;
}
[dir="rtl"] .yes-ref-hero h1 { letter-spacing: 0; }
.yes-ref-hero__description { font-size: 17px; line-height: 1.95; }
.yes-ref-hero-btn { font-size: 14px; line-height: 1.35; }
.yes-ref-hero__assurance span { font-size: 13px; line-height: 1.55; }
.yes-ref-hero__floating small { font-size: 11px; line-height: 1.45; }
.yes-ref-hero__floating strong { font-size: 13px; line-height: 1.5; }
.yes-ref-hero__arrows button { font-size: 14px; }

/* Ticker */
.yes-ux-ticker__label { font-size: 12.5px !important; line-height: 1.4 !important; }
.yes-ux-ticker__item { font-size: 13px !important; line-height: 1.6 !important; }

/* Section headings */
.yes-ref-section-head__eyebrow { font-size: 12.5px; line-height: 1.4; }
.yes-ref-section-head h2 {
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.4;
}
.yes-ref-section-head p { font-size: 15px; line-height: 1.9; }
.yes-ref-section-head__link { font-size: 13px; line-height: 1.45; }

/* Quick services */
.yes-ref-service-card__badge { font-size: 11px; line-height: 1.35; }
.yes-ref-service-card__number { font-size: 11px; line-height: 1.35; }
.yes-ref-service-card h3 { font-size: 17px; line-height: 1.55; }
.yes-ref-service-card p { font-size: 14px; line-height: 1.85; }
.yes-ref-service-card__footer { font-size: 13px; line-height: 1.45; }

/* News */
.yes-ref-content-badge { font-size: 12px; line-height: 1.35; }
.yes-ref-news-card__body time { font-size: 12.5px; line-height: 1.45; }
.yes-ref-news-lead__body h3 {
    font-size: clamp(24px, 2.2vw, 32px);
    line-height: 1.55;
}
.yes-ref-news-lead__body p { font-size: 15px; line-height: 1.85; }
.yes-ref-inline-link { font-size: 13px; line-height: 1.45; }
.yes-ref-news-card__body h3 { font-size: 16px; line-height: 1.65; }
.yes-ref-news-card__body p { font-size: 13.5px; line-height: 1.8; }

/* Training */
.yes-ref-date-tile strong { font-size: 22px; line-height: 1.15; }
.yes-ref-date-tile small { font-size: 11px; line-height: 1.35; }
.yes-ref-training-card__badges span { font-size: 11.5px; line-height: 1.35; }
.yes-ref-training-card h3 { font-size: 17px; line-height: 1.65; }
.yes-ref-training-card__meta span { font-size: 13px; line-height: 1.55; }
.yes-ref-training-card__footer { font-size: 13px; line-height: 1.45; }
.yes-ref-empty { font-size: 14px; line-height: 1.75; }

/* Other homepage cards / statistics / sponsored content */
.yes-stream-title { font-size: 28px !important; line-height: 1.4 !important; }
.yes-data-card h3 { font-size: 16px !important; line-height: 1.65 !important; }
.yes-ux-stat strong { font-size: 30px !important; line-height: 1.25 !important; }
.yes-sponsored-title { font-size: 24px !important; line-height: 1.45 !important; }
.yes-sponsored-body h3 { font-size: 16px !important; line-height: 1.65 !important; }
.yes-sponsored-body p { font-size: 14px !important; line-height: 1.8 !important; }

/* Footer */
.yes-ref-footer__support-copy strong { font-size: 17px; line-height: 1.45; }
.yes-ref-footer__support-copy p { font-size: 14px; line-height: 1.8; }
.yes-ref-footer__support-btn { font-size: 13.5px; line-height: 1.4; }
.yes-ref-footer__brand p { font-size: 14px; line-height: 1.95; }
.yes-ref-footer__social a { font-size: 12px; }
.yes-ref-footer__title { font-size: 15px; line-height: 1.45; }
.yes-ref-footer__links a { font-size: 13.5px; line-height: 1.6; }
.yes-ref-footer__contact small { font-size: 11.5px; line-height: 1.45; }
.yes-ref-footer__contact strong,
.yes-ref-footer__contact a { font-size: 13.5px; line-height: 1.65; }
.yes-ref-footer__bottom { font-size: 12.5px; line-height: 1.65; }

/* Laptop: keep the main navigation readable without crowding. */
@media (max-width: 1180px) and (min-width: 1024px) {
    .yes-ref-nav__link { padding-inline: 6px; font-size: 12px; }
    .yes-ref-header-btn,
    .yes-ref-icon-btn { font-size: 12px; }
}

/* Tablet and mobile typography */
@media (max-width: 767px) {
    .yes-ref-shell { font-size: 14px; }
    .yes-ref-topbar__contact a { font-size: 11.5px; }

    .yes-ref-hero__shell { padding-block: 42px 92px; }
    .yes-ref-hero__eyebrow { font-size: 12px; }
    .yes-ref-hero h1 { font-size: clamp(31px, 9vw, 39px); line-height: 1.35; }
    .yes-ref-hero__description { font-size: 15px; line-height: 1.9; }
    .yes-ref-hero-btn { min-height: 46px; font-size: 13.5px; }
    .yes-ref-hero__assurance span { font-size: 12px; }
    .yes-ref-hero__floating small { font-size: 10.5px; }
    .yes-ref-hero__floating strong { font-size: 12.5px; }

    .yes-ux-ticker__label { font-size: 11.5px !important; }
    .yes-ux-ticker__item { font-size: 12px !important; }

    .yes-ref-section-head h2 { font-size: 27px; }
    .yes-ref-section-head p { font-size: 14px; }

    .yes-ref-service-card h3 { font-size: 16px; }
    .yes-ref-service-card p { font-size: 13.5px; }

    .yes-ref-news-lead__body h3 { font-size: 22px; }
    .yes-ref-news-lead__body p { font-size: 14px; }
    .yes-ref-news-card__body h3 { font-size: 15px; }
    .yes-ref-news-card__body p { font-size: 13px; }

    .yes-ref-training-card h3 { font-size: 16px; }

    .yes-ref-footer__support-copy strong { font-size: 16px; }
    .yes-ref-footer__brand p { font-size: 13.5px; }
    .yes-ref-footer__title { font-size: 14.5px; }
    .yes-ref-footer__links a,
    .yes-ref-footer__contact strong,
    .yes-ref-footer__contact a { font-size: 13px; }
    .yes-ref-footer__bottom { font-size: 12px; }
}

@media (max-width: 480px) {
    .yes-ref-hero h1 { font-size: 30px; }
    .yes-ref-hero__description { font-size: 14.5px; }
    .yes-ref-section-head h2 { font-size: 25px; }
    .yes-stream-title { font-size: 24px !important; }
    .yes-sponsored-title { font-size: 21px !important; }
}

/* ======================================================================
   YES DIGITAL ECOSYSTEM v1.7
   UX upgrade: engineer-first homepage, compact header, quick access,
   categorized services, MyYEA, live statistics, content streams & branches.
   ====================================================================== */
:root{
  --yes17-navy:#082f49;--yes17-navy-2:#0b4668;--yes17-blue:#0f6f9e;--yes17-gold:#d8a52f;
  --yes17-gold-soft:#fff6dd;--yes17-ink:#102a43;--yes17-muted:#62788b;--yes17-line:#dfe8ef;
  --yes17-soft:#f5f9fc;--yes17-success:#15805e;--yes17-warning:#c67b1e;--yes17-danger:#b44b4b;
  --yes17-radius:18px;--yes17-shadow:0 14px 38px rgba(8,47,73,.09);--yes17-shadow-hover:0 20px 48px rgba(8,47,73,.14)
}
html{scroll-behavior:smooth}.yes17-shell,.yes17-home{font-family:"IBM Plex Sans Arabic","Cairo","Noto Sans Arabic",Tahoma,Arial,sans-serif}.yes17-shell *{box-sizing:border-box}.yes17-container{width:min(1180px,calc(100% - 32px));margin-inline:auto}.yes17-shell a,.yes17-shell button,.yes17-shell input{font:inherit}.yes17-shell a:focus-visible,.yes17-shell button:focus-visible,.yes17-shell input:focus-visible{outline:3px solid rgba(216,165,47,.45);outline-offset:3px}.yes17-shell img{max-width:100%}
.yes17-topbar__contacts a,.yes17-footer__contact a,.yes17-footer__contact span{display:inline-flex;align-items:center;gap:7px}.yes17-topbar__contacts svg{opacity:.9}.yes17-header__inner,.yes17-brand img{transition:.2s ease}.yes17-mobile-panel{z-index:70}

/* HERO */
.yes17-hero{position:relative;overflow:hidden;background:linear-gradient(120deg,#062c45 0%,#084466 48%,#0a5878 100%);color:#fff;min-height:430px}.yes17-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 18% 20%,rgba(216,165,47,.16),transparent 27%),radial-gradient(circle at 78% 82%,rgba(49,151,190,.17),transparent 32%);pointer-events:none}.yes17-hero__blueprint{position:absolute;inset:0;opacity:.12;background-image:linear-gradient(rgba(255,255,255,.16) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.16) 1px,transparent 1px);background-size:44px 44px;mask-image:linear-gradient(90deg,transparent,black 35%,black 80%,transparent)}.yes17-hero__slide{position:relative;z-index:1}.yes17-hero__grid{min-height:430px;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(350px,.95fr);align-items:center;gap:54px;padding-block:44px 48px}.yes17-hero__copy{max-width:640px}.yes17-hero__eyebrow{display:inline-flex;align-items:center;gap:8px;padding:7px 11px;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.08);border-radius:999px;font-size:13px;font-weight:800;color:#eaf6fc}.yes17-hero h1{margin:15px 0 12px;font-size:clamp(34px,4.2vw,56px);line-height:1.25;font-weight:800;letter-spacing:0;color:#fff;max-width:720px}.yes17-hero__copy>p{margin:0;max-width:620px;color:#d8e9f2;font-size:16px;line-height:1.95}.yes17-hero__actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:24px}.yes17-btn{display:inline-flex;min-height:46px;align-items:center;justify-content:center;gap:8px;padding:0 18px;border-radius:13px;font-weight:800;font-size:14px;text-decoration:none;border:1px solid transparent;transition:.2s ease}.yes17-btn:hover{transform:translateY(-2px)}.yes17-btn--gold{background:var(--yes17-gold);color:#172633;border-color:var(--yes17-gold)}.yes17-btn--light{background:#fff;color:#0a4667;border-color:#fff}.yes17-btn--outline-light{background:transparent;color:#fff;border-color:rgba(255,255,255,.38)}.yes17-hero__trust{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:20px;color:#c9dee8;font-size:12.5px;font-weight:700}.yes17-hero__trust span{display:inline-flex;align-items:center;gap:6px}.yes17-hero__visual{display:flex;justify-content:center}.yes17-hero__image-frame{position:relative;width:min(100%,480px);aspect-ratio:1.34/1;border-radius:26px;overflow:hidden;border:1px solid rgba(255,255,255,.18);box-shadow:0 24px 55px rgba(0,0,0,.22);background:#0b3f5d}.yes17-hero__image-frame:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 60%,rgba(5,35,52,.38));pointer-events:none}.yes17-hero__image-frame img{width:100%;height:100%;object-fit:cover}.yes17-hero__visual-badge{position:absolute;z-index:2;inset-inline:18px;bottom:16px;display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:13px;background:rgba(5,35,52,.82);backdrop-filter:blur(8px);font-size:12px;font-weight:800;color:#fff}.yes17-hero__controls{position:absolute;z-index:3;bottom:12px;inset-inline:0;display:flex;justify-content:center;gap:7px}.yes17-hero__controls button{width:24px;height:4px;padding:0;border:0;border-radius:999px;background:rgba(255,255,255,.32);cursor:pointer}.yes17-hero__controls button[aria-current=true]{width:42px;background:var(--yes17-gold)}

/* SHARED SECTION */
.yes17-section{padding:68px 0}.yes17-section:nth-of-type(even){background:var(--yes17-soft)}.yes17-section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:28px}.yes17-section-head--compact{margin-bottom:22px}.yes17-section-head--center{justify-content:center;text-align:center}.yes17-section-head--center>div{max-width:760px}.yes17-eyebrow{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border-radius:999px;background:#e9f4fa;color:#0c648f;font-size:12px;font-weight:800}.yes17-section-head h2,.yes17-service-categories__intro h2{margin:8px 0 6px;color:var(--yes17-navy);font-size:clamp(26px,3vw,36px);line-height:1.35;font-weight:800}.yes17-section-head p,.yes17-service-categories__intro p{margin:0;color:var(--yes17-muted);font-size:14px;line-height:1.85;max-width:720px}.yes17-text-link{display:inline-flex;align-items:center;gap:7px;color:#0b678f;font-weight:800;font-size:13px;text-decoration:none}.yes17-text-link:hover{color:var(--yes17-navy)}

/* QUICK ACCESS */
.yes17-section--quick{padding-top:42px;background:#fff}.yes17-quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.yes17-quick-card{--tone:#0d6d99;position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;min-height:112px;padding:17px;border:1px solid var(--yes17-line);border-radius:18px;background:#fff;text-decoration:none;color:var(--yes17-ink);box-shadow:0 8px 25px rgba(8,47,73,.06);transition:.2s ease;overflow:hidden}.yes17-quick-card:before{content:"";position:absolute;inset-block:0;inset-inline-start:0;width:3px;background:var(--tone)}.yes17-quick-card:hover{transform:translateY(-3px);box-shadow:var(--yes17-shadow)}.yes17-quick-card--green{--tone:#15805e}.yes17-quick-card--gold{--tone:#c88d22}.yes17-quick-card--violet{--tone:#6959bf}.yes17-quick-card__icon{width:45px;height:45px;border-radius:13px;display:grid;place-items:center;background:#edf5f9;color:var(--tone)}.yes17-quick-card__copy strong,.yes17-quick-card__copy small{display:block}.yes17-quick-card__copy strong{font-size:15px;color:var(--yes17-navy);font-weight:800}.yes17-quick-card__copy small{margin-top:4px;color:var(--yes17-muted);font-size:12px;line-height:1.55}.yes17-quick-card__arrow{color:#7890a1}
.yes17-service-categories{display:grid;grid-template-columns:1.15fr repeat(3,minmax(0,1fr));gap:14px;margin-top:34px}.yes17-service-categories__intro{padding:22px 4px}.yes17-service-group{padding:18px;border:1px solid var(--yes17-line);border-radius:18px;background:#fff}.yes17-service-group__head{display:flex;align-items:center;gap:10px;margin-bottom:12px}.yes17-service-group__head>span{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#edf6fb;color:#0c6791}.yes17-service-group__head h3{margin:0;font-size:16px;color:var(--yes17-navy)}.yes17-service-group ul{list-style:none;margin:0;padding:0;display:grid;gap:2px}.yes17-service-group li a{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 6px;border-radius:9px;color:#365368;text-decoration:none;font-size:12.5px;font-weight:700}.yes17-service-group li a:hover{background:#f4f8fb;color:#0b678f}
.yes17-verify-strip{margin-top:18px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;border:1px solid #efd896;background:linear-gradient(100deg,#fff9e9,#fff 55%);border-radius:18px}.yes17-verify-strip__copy{display:flex;align-items:center;gap:12px}.yes17-verify-strip__icon{width:44px;height:44px;display:grid;place-items:center;border-radius:13px;background:#fff0bc;color:#8a6114}.yes17-verify-strip__copy strong,.yes17-verify-strip__copy small{display:block}.yes17-verify-strip__copy strong{font-size:15px;color:#503c12}.yes17-verify-strip__copy small{margin-top:3px;color:#78683e;font-size:12px}.yes17-verify-form{display:flex;gap:8px;min-width:min(100%,390px)}.yes17-verify-form input{min-width:0;flex:1;height:43px;border:1px solid #dfca88;border-radius:11px;padding:0 12px;background:#fff;color:#233f52}.yes17-verify-form button{height:43px;border:0;border-radius:11px;background:var(--yes17-navy);color:#fff;padding:0 15px;display:inline-flex;align-items:center;gap:6px;font-weight:800;cursor:pointer}

/* MyYEA */
.yes17-section--myea{background:#f5f9fc}.yes17-myea{position:relative;overflow:hidden;display:grid;grid-template-columns:1.25fr .75fr;align-items:center;gap:36px;padding:38px 42px;border-radius:26px;background:linear-gradient(125deg,#062e48,#084e70 64%,#0b6584);color:#fff;box-shadow:var(--yes17-shadow)}.yes17-myea:after{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px);background-size:38px 38px;mask-image:linear-gradient(90deg,transparent,black);pointer-events:none}.yes17-myea__content,.yes17-myea__visual{position:relative;z-index:1}.yes17-myea__brand{display:inline-flex;padding:6px 10px;border:1px solid rgba(216,165,47,.5);border-radius:999px;color:#f4d67d;font-weight:900;letter-spacing:.5px}.yes17-myea h2{margin:10px 0 8px;font-size:clamp(28px,3.4vw,42px);line-height:1.25}.yes17-myea__content>p{margin:0;color:#d4e5ee;line-height:1.8;font-size:14px}.yes17-myea__features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:22px}.yes17-myea__features>div{display:flex;align-items:center;gap:10px;padding:11px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);border-radius:13px}.yes17-myea__features>div>span{width:36px;height:36px;display:grid;place-items:center;border-radius:10px;background:rgba(216,165,47,.16);color:#f2d176}.yes17-myea__features p{margin:0}.yes17-myea__features strong,.yes17-myea__features small{display:block}.yes17-myea__features strong{font-size:13px}.yes17-myea__features small{margin-top:2px;color:#bdd3df;font-size:11px}.yes17-myea__actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.yes17-myea__visual{display:flex;justify-content:center}.yes17-myea__card{width:min(100%,300px);aspect-ratio:1.58/1;padding:22px;border-radius:22px;border:1px solid rgba(255,255,255,.2);background:linear-gradient(145deg,rgba(255,255,255,.16),rgba(255,255,255,.05));box-shadow:0 24px 50px rgba(0,0,0,.18);backdrop-filter:blur(8px)}.yes17-myea__card-mark{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;background:#f0cc67;color:#173346;margin-bottom:18px}.yes17-myea__card small,.yes17-myea__card strong,.yes17-myea__card p{display:block}.yes17-myea__card small{font-size:10px;color:#c8dbe5}.yes17-myea__card strong{font-size:28px;margin-top:3px}.yes17-myea__card p{font-size:11px;color:#c8dbe5;margin:2px 0 0}.yes17-myea__card-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:20px}.yes17-myea__card-grid span{height:5px;border-radius:99px;background:rgba(255,255,255,.18)}.yes17-myea__card-grid span:first-child{background:#e2b747}

/* STATS */
.yes17-section--stats{background:#fff}.yes17-stats-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.yes17-stat-card{text-align:center;padding:22px 14px;border:1px solid var(--yes17-line);border-radius:18px;background:#fff;box-shadow:0 7px 22px rgba(8,47,73,.05)}.yes17-stat-card__icon{width:44px;height:44px;margin:0 auto 11px;display:grid;place-items:center;border-radius:13px;background:#ebf5fa;color:#0a6895}.yes17-stat-card strong{display:block;color:var(--yes17-navy);font-size:28px;line-height:1.1;font-weight:900}.yes17-stat-card>span:last-child{display:block;margin-top:6px;color:var(--yes17-muted);font-size:12px;font-weight:700}

/* NEWS */
.yes17-section--news{background:#f6f9fb}.yes17-news-grid{display:grid;grid-template-columns:1.4fr .9fr;gap:16px}.yes17-news-lead,.yes17-news-card{border:1px solid var(--yes17-line);border-radius:20px;background:#fff;text-decoration:none;color:var(--yes17-ink);overflow:hidden;transition:.2s;box-shadow:0 8px 24px rgba(8,47,73,.05)}.yes17-news-lead:hover,.yes17-news-card:hover{transform:translateY(-3px);box-shadow:var(--yes17-shadow)}.yes17-news-lead__media{height:285px;background:#eaf2f7}.yes17-news-lead__media img,.yes17-news-card__media img{width:100%;height:100%;object-fit:cover}.yes17-media-placeholder{width:100%;height:100%;display:grid;place-items:center;background:linear-gradient(145deg,#e9f3f8,#d9e8f0);color:#0c6791}.yes17-news-lead__body{padding:20px}.yes17-content-badge,.yes17-pill{display:inline-flex;padding:5px 8px;border-radius:999px;background:var(--yes17-gold-soft);color:#8b6416;font-size:10.5px;font-weight:900}.yes17-news-lead time,.yes17-news-card time{display:block;margin:8px 0;color:#7a8d9b;font-size:11px}.yes17-news-lead h3{margin:0;color:var(--yes17-navy);font-size:21px;line-height:1.55}.yes17-news-lead p{margin:9px 0 14px;color:var(--yes17-muted);font-size:13px;line-height:1.8}.yes17-news-side{display:grid;gap:12px}.yes17-news-card{display:grid;grid-template-columns:135px minmax(0,1fr);min-height:135px}.yes17-news-card__media{height:100%;min-height:135px;background:#edf4f7}.yes17-news-card__body{padding:14px}.yes17-news-card h3{margin:0;color:var(--yes17-navy);font-size:14px;line-height:1.55}.yes17-news-card p{margin:6px 0 10px;color:var(--yes17-muted);font-size:11.5px;line-height:1.65}.yes17-empty{display:grid;justify-items:center;gap:8px;padding:38px;border:1px dashed #cddbe4;border-radius:18px;background:#fff;color:#6a8293;text-align:center}.yes17-empty strong{color:var(--yes17-navy)}

/* STREAMS */
.yes17-section--streams{background:#fff}.yes17-stream-tabs{display:inline-flex;gap:7px;flex-wrap:wrap;padding:5px;margin-bottom:20px;border:1px solid var(--yes17-line);border-radius:14px;background:#fff}.yes17-stream-tabs button{display:inline-flex;align-items:center;gap:7px;min-height:38px;padding:0 13px;border:0;border-radius:10px;background:transparent;color:#50697b;font-weight:800;font-size:12px;cursor:pointer}.yes17-stream-tabs button span{min-width:22px;height:22px;display:grid;place-items:center;padding-inline:5px;border-radius:99px;background:#edf3f6;font-size:10px}.yes17-stream-tabs button.is-active{background:var(--yes17-navy);color:#fff}.yes17-stream-tabs button.is-active span{background:rgba(255,255,255,.15)}.yes17-stream-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.yes17-stream-card{display:flex;min-height:240px;flex-direction:column;padding:18px;border:1px solid var(--yes17-line);border-radius:18px;background:#fff;text-decoration:none;color:var(--yes17-ink);box-shadow:0 7px 22px rgba(8,47,73,.05);transition:.2s}.yes17-stream-card:hover{transform:translateY(-3px);box-shadow:var(--yes17-shadow)}.yes17-stream-card__top{display:flex;align-items:center;justify-content:space-between;gap:10px}.yes17-stream-card__icon{width:43px;height:43px;display:grid;place-items:center;border-radius:12px;background:#ebf5fa;color:#0c6791}.yes17-date{width:48px;text-align:center;border:1px solid #ead18a;border-radius:11px;overflow:hidden;background:#fff9e7}.yes17-date strong,.yes17-date small{display:block}.yes17-date strong{padding:5px 2px 2px;color:#6f5011;font-size:17px}.yes17-date small{padding:2px 3px 4px;color:#8a6a24;font-size:9px}.yes17-stream-card h3{margin:15px 0 8px;color:var(--yes17-navy);font-size:16px;line-height:1.55}.yes17-stream-card>p{margin:0 0 12px;color:var(--yes17-muted);font-size:12px;line-height:1.75}.yes17-stream-card__meta{display:grid;gap:6px;margin-bottom:14px;color:#667f91;font-size:11.5px}.yes17-stream-card__meta span{display:flex;align-items:center;gap:6px}.yes17-stream-card>.yes17-text-link{margin-top:auto}

/* BRANCHES */
.yes17-section--branches{background:#f5f9fc}.yes17-branches-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:20px}.yes17-yemen-visual{position:relative;min-height:380px;border-radius:24px;overflow:hidden;background:linear-gradient(145deg,#082f49,#0b5877);box-shadow:var(--yes17-shadow)}.yes17-yemen-visual__grid{position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.07) 1px,transparent 1px);background-size:32px 32px}.yes17-yemen-visual__mark{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;color:#fff}.yes17-yemen-visual__mark svg{color:#efc75e}.yes17-yemen-visual__mark strong{font-size:28px;margin-top:7px}.yes17-yemen-visual__mark small{color:#bed8e4}.yes17-node{position:absolute;width:13px;height:13px;border:3px solid #f5d372;background:#fff;border-radius:50%;box-shadow:0 0 0 8px rgba(245,211,114,.13)}.yes17-node--1{top:23%;right:25%}.yes17-node--2{top:40%;left:21%}.yes17-node--3{bottom:25%;right:32%}.yes17-node--4{bottom:18%;left:32%}.yes17-node--5{top:27%;left:45%}.yes17-branch-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.yes17-branch-card{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;padding:16px;border:1px solid var(--yes17-line);border-radius:17px;background:#fff}.yes17-branch-card__icon{width:40px;height:40px;display:grid;place-items:center;border-radius:11px;background:#edf6fb;color:#0c6791}.yes17-branch-card__title{display:flex;align-items:center;justify-content:space-between;gap:8px}.yes17-branch-card h3{margin:0;color:var(--yes17-navy);font-size:14px}.yes17-branch-card__title span{padding:3px 6px;border-radius:99px;background:var(--yes17-gold-soft);color:#7f5c18;font-size:9px;font-weight:900}.yes17-branch-card p{display:flex;align-items:flex-start;gap:6px;margin:7px 0;color:var(--yes17-muted);font-size:11px;line-height:1.55}.yes17-branch-card__contact{display:flex;gap:9px;flex-wrap:wrap}.yes17-branch-card__contact a{color:#0a678f;font-size:10.5px;text-decoration:none}

/* CTA + FOOTER */
.yes17-section--cta{padding:52px 0;background:#fff}.yes17-final-cta{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:30px 34px;border-radius:23px;background:linear-gradient(120deg,#062f49,#0a5877);color:#fff;box-shadow:var(--yes17-shadow)}.yes17-final-cta>div:first-child{max-width:680px}.yes17-final-cta>div:first-child>span{color:#f0cc69;font-size:11px;font-weight:900}.yes17-final-cta h2{margin:6px 0;font-size:28px}.yes17-final-cta p{margin:0;color:#d0e3ec;font-size:13px;line-height:1.75}.yes17-final-cta__actions{display:flex;gap:9px;flex-wrap:wrap}
.yes17-footer{background:#062a40;color:#c8dbe5;padding:52px 0 0}.yes17-footer__grid{display:grid;grid-template-columns:1.35fr repeat(4,minmax(0,1fr));gap:30px}.yes17-footer__brand p{margin:16px 0;max-width:330px;color:#a9c0cc;font-size:12.5px;line-height:1.85}.yes17-footer h2{margin:4px 0 14px;color:#fff;font-size:14px}.yes17-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}.yes17-footer li a,.yes17-footer__contact a,.yes17-footer__contact span{color:#bdd1dc;text-decoration:none;font-size:11.5px}.yes17-footer li a:hover,.yes17-footer__contact a:hover{color:#f0cc69}.yes17-footer__contact{display:flex;flex-direction:column;align-items:flex-start;gap:10px}.yes17-footer__social{display:flex;gap:7px}.yes17-footer__social a{width:34px;height:34px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.14);border-radius:10px;color:#fff;text-decoration:none;font-size:11px}.yes17-footer__social a:hover{background:#d8a52f;color:#172633}.yes17-footer__bottom{margin-top:34px;min-height:58px;border-top:1px solid rgba(255,255,255,.12);display:flex;align-items:center;justify-content:space-between;gap:18px;color:#91aab8;font-size:10.5px}.yes17-footer__bottom div{display:flex;gap:14px}.yes17-footer__bottom a{color:#b9ced9;text-decoration:none}

/* Existing dynamic sections retained from the CMS */
.yes17-home__ticker .yes-ux-ticker{margin:0;background:#fff;border-top:1px solid #e6edf2;border-bottom:1px solid #e6edf2}.yes17-home__ticker .yes-ux-ticker__inner{min-height:42px}.yes17-home__ticker .yes-ux-ticker__label{background:var(--yes17-navy);color:#fff;border-radius:9px;padding:5px 9px;font-size:10px}.yes17-home__ticker .yes-ux-ticker__item{font-size:11px;color:#3c596c}.yes17-home__editorial{background:#fff}.yes17-home [class*="yes-ux-magazine"]{font-family:inherit}.yes17-home .yes-ux-magazine{border-radius:22px}.yes17-home .yes-ux-section{padding-block:58px}.yes17-home .yes-ux-card{border-radius:18px}

/* RESPONSIVE */
@media(max-width:1100px){.yes17-quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.yes17-service-categories{grid-template-columns:repeat(3,minmax(0,1fr))}.yes17-service-categories__intro{grid-column:1/-1;padding-bottom:4px}.yes17-stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.yes17-footer__grid{grid-template-columns:1.4fr repeat(2,minmax(0,1fr))}.yes17-footer__contact{grid-column:auto}.yes17-hero__grid{gap:30px}}
@media(max-width:820px){.yes17-section{padding:54px 0}.yes17-section-head{align-items:flex-start;flex-direction:column;gap:13px}.yes17-hero{min-height:auto}.yes17-hero__grid{min-height:auto;grid-template-columns:1fr;gap:24px;padding-block:34px 38px}.yes17-hero h1{font-size:clamp(31px,8vw,42px)}.yes17-hero__copy>p{font-size:14px}.yes17-hero__visual{display:none}.yes17-hero__trust{gap:11px}.yes17-service-categories{grid-template-columns:1fr}.yes17-service-categories__intro{grid-column:auto}.yes17-verify-strip{align-items:stretch;flex-direction:column}.yes17-verify-form{min-width:0;width:100%}.yes17-myea{grid-template-columns:1fr;padding:30px 25px}.yes17-myea__visual{display:none}.yes17-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.yes17-news-grid{grid-template-columns:1fr}.yes17-news-side{grid-template-columns:repeat(2,minmax(0,1fr))}.yes17-news-card{grid-template-columns:1fr}.yes17-news-card__media{height:150px}.yes17-stream-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.yes17-branches-layout{grid-template-columns:1fr}.yes17-yemen-visual{min-height:240px}.yes17-footer__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.yes17-footer__brand{grid-column:1/-1}.yes17-final-cta{align-items:flex-start;flex-direction:column}}
@media(max-width:560px){.yes17-container{width:min(100% - 24px,1180px)}.yes17-topbar{font-size:10.5px}.yes17-topbar__contacts{gap:10px}.yes17-topbar__contacts a:first-child{display:none}.yes17-brand strong{max-width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.yes17-hero__grid{padding-block:28px 32px}.yes17-hero h1{font-size:30px;line-height:1.35}.yes17-hero__eyebrow{font-size:11px}.yes17-hero__actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.yes17-btn{min-height:43px;padding:0 11px;font-size:12px}.yes17-hero__trust{font-size:10.5px}.yes17-section{padding:46px 0}.yes17-section-head h2,.yes17-service-categories__intro h2{font-size:25px}.yes17-section-head p,.yes17-service-categories__intro p{font-size:12.5px}.yes17-quick-grid{grid-template-columns:1fr 1fr;gap:9px}.yes17-quick-card{grid-template-columns:auto minmax(0,1fr);min-height:118px;padding:13px}.yes17-quick-card__arrow{display:none}.yes17-quick-card__icon{width:39px;height:39px}.yes17-quick-card__copy strong{font-size:13px}.yes17-quick-card__copy small{font-size:10.5px}.yes17-service-group{padding:14px}.yes17-verify-form{display:grid;grid-template-columns:1fr auto}.yes17-myea{padding:25px 18px}.yes17-myea h2{font-size:29px}.yes17-myea__features{grid-template-columns:1fr}.yes17-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.yes17-stat-card{padding:17px 8px}.yes17-stat-card strong{font-size:24px}.yes17-news-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;padding-bottom:8px}.yes17-news-lead,.yes17-news-side{display:contents}.yes17-news-lead,.yes17-news-card{flex:0 0 86%;scroll-snap-align:start}.yes17-news-lead__media{height:190px}.yes17-news-lead h3{font-size:17px}.yes17-news-card{display:flex;flex-direction:column}.yes17-news-card__media{height:180px}.yes17-stream-tabs{display:flex;width:100%;overflow-x:auto;flex-wrap:nowrap}.yes17-stream-tabs button{white-space:nowrap}.yes17-stream-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px}.yes17-stream-card{flex:0 0 86%;scroll-snap-align:start;min-height:225px}.yes17-branch-list{grid-template-columns:1fr}.yes17-yemen-visual{min-height:210px}.yes17-final-cta{padding:24px 18px}.yes17-final-cta h2{font-size:24px}.yes17-footer{padding-top:40px}.yes17-footer__grid{grid-template-columns:1fr 1fr;gap:22px 16px}.yes17-footer__contact{grid-column:1/-1}.yes17-footer__bottom{padding-block:16px;align-items:flex-start;flex-direction:column}.yes17-footer__bottom div{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.yes17-btn,.yes17-quick-card,.yes17-news-lead,.yes17-news-card,.yes17-stream-card{transition:none!important}.yes17-btn:hover,.yes17-quick-card:hover,.yes17-news-lead:hover,.yes17-news-card:hover,.yes17-stream-card:hover{transform:none!important}}
.yes17-mobile-search{display:flex;align-items:center;gap:8px;margin:2px 0 10px;padding:0 11px;height:43px;border:1px solid var(--yes17-line);border-radius:12px;background:#f8fbfd;color:#668095}.yes17-mobile-search input{min-width:0;flex:1;border:0;outline:0;background:transparent;color:#17384f;font-size:13px}.yes17-mobile-search input::placeholder{color:#8799a7}
