/* ==============================================================
   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; }
}
