/*
Theme Name: International Robotics Competition
Theme URI: https://internationalroboticscompetition.org/
Author: SEPA
Description: Official event website theme for International Robotics Competition – Vietnam Open 2026–2027.
Version: 1.0.0
Text Domain: international-robotics-competition
License: GNU General Public License v2 or later
*/

.recfvn {
    --recfvn-navy: #15365f;
    --recfvn-navy-2: #0b2647;
    --recfvn-teal: #25b8c4;
    --recfvn-teal-dark: #0e8e9b;
    --recfvn-cyan: #dff7fa;
    --recfvn-yellow: #ffd54a;
    --recfvn-ink: #10243e;
    --recfvn-muted: #587088;
    --recfvn-line: #dce8f0;
    --recfvn-bg: #f4f8fb;
    --recfvn-white: #ffffff;
    --recfvn-shadow: 0 18px 48px rgba(15, 43, 75, .12);
    color: var(--recfvn-ink);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.72;
    background: var(--recfvn-white);
    overflow: hidden;
  }

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

  .recfvn a { color: inherit; text-decoration: none; }
  .recfvn img { display: block; max-width: 100%; }
  .recfvn p { margin: 0 0 1rem; }
  .recfvn ul { margin: .8rem 0 1.25rem; padding-left: 1.2rem; }
  .recfvn li { margin: .3rem 0; }
  .recfvn h1,
  .recfvn h2,
  .recfvn h3,
  .recfvn h4 { color: var(--recfvn-navy); line-height: 1.14; margin: 0; }
  .recfvn h2 { font-size: clamp(2rem, 4vw, 3.6rem); letter-spacing: -.045em; }
  .recfvn h3 { font-size: clamp(1.35rem, 2.2vw, 2rem); letter-spacing: -.025em; }
  .recfvn h4 { font-size: 1.08rem; }

  .recfvn-container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
  }

  .recfvn-section { padding: 84px 0; position: relative; }
  .recfvn-section--soft { background: var(--recfvn-bg); }
  .recfvn-section--navy {
    color: rgba(255,255,255,.88);
    background:
      radial-gradient(circle at 12% 16%, rgba(37,184,196,.25), transparent 30%),
      radial-gradient(circle at 88% 78%, rgba(255,213,74,.16), transparent 24%),
      linear-gradient(135deg, var(--recfvn-navy-2), var(--recfvn-navy));
  }
  .recfvn-section--navy h2,
  .recfvn-section--navy h3,
  .recfvn-section--navy h4 { color: #fff; }

  .recfvn-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
    color: var(--recfvn-teal-dark);
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .14em;
    text-transform: uppercase;
  }
  .recfvn-eyebrow::before {
    content: "";
    width: 28px;
    height: 4px;
    border-radius: 999px;
    background: var(--recfvn-yellow);
  }
  .recfvn-section--navy .recfvn-eyebrow { color: var(--recfvn-cyan); }

  .recfvn-lead {
    max-width: 820px;
    margin-top: 18px;
    color: var(--recfvn-muted);
    font-size: clamp(1.05rem, 1.6vw, 1.24rem);
  }
  .recfvn-section--navy .recfvn-lead { color: rgba(255,255,255,.78); }

  .recfvn-topnav {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(8, 31, 58, .94);
    border-bottom: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(14px);
  }
  .recfvn-topnav__inner {
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
  .recfvn-topnav__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff !important;
    font-weight: 900;
    letter-spacing: .02em;
    white-space: nowrap;
  }
  .recfvn-topnav__brand span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--recfvn-teal);
    box-shadow: 18px 0 0 var(--recfvn-yellow);
    margin-right: 20px;
  }
  .recfvn-topnav__links {
    display: flex;
    align-items: center;
    gap: 7px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .recfvn-topnav__links::-webkit-scrollbar { display: none; }
  .recfvn-topnav__links a {
    color: rgba(255,255,255,.78);
    font-size: .88rem;
    font-weight: 750;
    padding: 9px 12px;
    border-radius: 999px;
    white-space: nowrap;
    transition: .2s ease;
  }
  .recfvn-topnav__links a:hover,
  .recfvn-topnav__links a.is-active {
    color: #fff;
    background: rgba(255,255,255,.1);
  }
  .recfvn-topnav__cta {
    color: var(--recfvn-navy-2) !important;
    background: var(--recfvn-yellow) !important;
  }

  .recfvn-hero {
    min-height: 740px;
    display: grid;
    align-items: end;
    position: relative;
    color: #fff;
    background-image:
      linear-gradient(90deg, rgba(7,29,55,.96) 0%, rgba(7,29,55,.80) 45%, rgba(7,29,55,.25) 100%),
      linear-gradient(0deg, rgba(7,29,55,.92), transparent 52%),
      url("https://sepa.org.vn/wp-content/uploads/2026/07/World-Championship.jpg");
    background-size: cover;
    background-position: center;
  }
  .recfvn-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 11px;
    background: linear-gradient(90deg, var(--recfvn-teal) 0 58%, var(--recfvn-yellow) 58%);
  }
  .recfvn-hero__content {
    position: relative;
    z-index: 2;
    padding: 110px 0 84px;
  }
  .recfvn-hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 13px;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 999px;
    background: rgba(255,255,255,.09);
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
  }
  .recfvn-hero__title {
    max-width: 920px;
    color: #fff !important;
    font-size: clamp(3rem, 8vw, 6.8rem);
    font-weight: 950;
    letter-spacing: -.065em;
    line-height: .92 !important;
    text-transform: uppercase;
  }
  .recfvn-hero__title span {
    display: block;
    margin-top: 13px;
    color: var(--recfvn-yellow);
    font-size: .58em;
    letter-spacing: -.035em;
  }
  .recfvn-hero__subtitle {
    max-width: 790px;
    margin: 24px 0 0;
    color: rgba(255,255,255,.88);
    font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  }
  .recfvn-hero__programs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
  }
  .recfvn-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 11px;
    border-radius: 999px;
    color: #fff;
    background: rgba(37,184,196,.20);
    border: 1px solid rgba(104,226,234,.32);
    font-size: .82rem;
    font-weight: 800;
  }
  .recfvn-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
  }
  .recfvn-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 12px 19px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-weight: 850;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  }
  .recfvn-btn:hover { transform: translateY(-2px); }
  .recfvn-btn--yellow {
    color: var(--recfvn-navy-2);
    background: var(--recfvn-yellow);
    box-shadow: 0 12px 28px rgba(255,213,74,.22);
  }
  .recfvn-btn--teal {
    color: #fff;
    background: var(--recfvn-teal-dark);
  }
  .recfvn-btn--ghost {
    color: #fff;
    border-color: rgba(255,255,255,.32);
    background: rgba(255,255,255,.08);
  }
  .recfvn-btn--outline {
    color: var(--recfvn-navy);
    border-color: var(--recfvn-line);
    background: #fff;
  }

  .recfvn-statbar {
    position: relative;
    z-index: 3;
    margin-top: -34px;
  }
  .recfvn-statbar__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
    border: 1px solid var(--recfvn-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--recfvn-shadow);
  }
  .recfvn-stat {
    padding: 22px 24px;
    border-right: 1px solid var(--recfvn-line);
  }
  .recfvn-stat:last-child { border-right: 0; }
  .recfvn-stat strong {
    display: block;
    color: var(--recfvn-navy);
    font-size: clamp(1.35rem, 2.4vw, 2.2rem);
    letter-spacing: -.035em;
  }
  .recfvn-stat span { color: var(--recfvn-muted); font-size: .9rem; font-weight: 700; }

  .recfvn-world-highlight {
    position: relative;
    z-index: 4;
    padding: 34px 0 0;
  }
  .recfvn-world-highlight__card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
    padding: 24px 28px;
    overflow: hidden;
    color: #fff;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 22px;
    background:
      radial-gradient(circle at 90% 10%, rgba(255,213,74,.22), transparent 28%),
      radial-gradient(circle at 12% 90%, rgba(37,184,196,.25), transparent 30%),
      linear-gradient(135deg, var(--recfvn-navy-2), var(--recfvn-navy));
    box-shadow: var(--recfvn-shadow);
  }
  .recfvn-world-highlight__mark {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    border-radius: 18px;
    color: var(--recfvn-navy-2);
    background: var(--recfvn-yellow);
    font-size: 1.65rem;
    font-weight: 950;
  }
  .recfvn-world-highlight__label {
    display: block;
    margin-bottom: 4px;
    color: var(--recfvn-cyan);
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
  }
  .recfvn-world-highlight__title {
    color: #fff !important;
    font-size: clamp(1.35rem, 2.3vw, 2.05rem) !important;
    letter-spacing: -.03em;
  }
  .recfvn-world-highlight__meta {
    margin-top: 7px;
    color: rgba(255,255,255,.82);
    font-weight: 750;
  }
  .recfvn-world-highlight__date {
    min-width: 230px;
    padding: 14px 16px;
    text-align: center;
    color: var(--recfvn-navy-2);
    border-radius: 14px;
    background: #fff;
    font-weight: 950;
  }
  .recfvn-world-highlight__date small {
    display: block;
    margin-top: 3px;
    color: var(--recfvn-muted);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
  }

  .recfvn-two-col {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(34px, 6vw, 76px);
    align-items: center;
  }
  .recfvn-copy-card {
    padding: clamp(24px, 4vw, 40px);
    border: 1px solid var(--recfvn-line);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(17,55,92,.08);
  }
  .recfvn-photo {
    min-height: 430px;
    overflow: hidden;
    border-radius: 26px;
    box-shadow: var(--recfvn-shadow);
    position: relative;
  }
  .recfvn-photo img {
    width: 100%;
    height: 100%;
    min-height: 430px;
    object-fit: cover;
  }
  .recfvn-photo__caption {
    position: absolute;
    inset: auto 18px 18px;
    padding: 12px 14px;
    color: #fff;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 14px;
    background: rgba(8,31,58,.78);
    backdrop-filter: blur(10px);
    font-size: .9rem;
    font-weight: 750;
  }

  .recfvn-program-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 36px;
  }
  .recfvn-program-card {
    min-height: 100%;
    overflow: hidden;
    border: 1px solid var(--recfvn-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(17,55,92,.08);
    transition: transform .25s ease, box-shadow .25s ease;
  }
  .recfvn-program-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 52px rgba(17,55,92,.14);
  }
  .recfvn-program-card__logo {
    height: 130px;
    display: grid;
    place-items: center;
    padding: 22px;
    background: linear-gradient(135deg, #edf9fb, #fff);
  }
  .recfvn-program-card__logo img { max-height: 84px; width: auto; }
  .recfvn-program-card__body { padding: 24px; }
  .recfvn-program-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 14px 0;
  }
  .recfvn-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    color: var(--recfvn-navy);
    border-radius: 999px;
    background: var(--recfvn-cyan);
    font-size: .78rem;
    font-weight: 850;
  }
  .recfvn-text-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--recfvn-teal-dark);
    font-weight: 850;
  }

  .recfvn-pathway {
    margin-top: 34px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 24px;
    background: rgba(255,255,255,.06);
    overflow: hidden;
  }
  .recfvn-pathway__row {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 22px;
    padding: 24px;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .recfvn-pathway__row:last-child { border-bottom: 0; }
  .recfvn-pathway__name {
    font-weight: 900;
    color: var(--recfvn-yellow);
  }
  .recfvn-connection {
    margin-top: 24px;
    padding: 20px 22px;
    border-left: 5px solid var(--recfvn-yellow);
    border-radius: 0 16px 16px 0;
    color: #fff;
    background: rgba(255,213,74,.10);
  }

  .recfvn-icon-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 30px;
  }
  .recfvn-icon-card {
    padding: 22px;
    border: 1px solid var(--recfvn-line);
    border-radius: 18px;
    background: #fff;
  }
  .recfvn-icon-card__num {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 13px;
    color: var(--recfvn-navy);
    border-radius: 12px;
    background: var(--recfvn-yellow);
    font-size: .82rem;
    font-weight: 950;
  }

  .recfvn-timeline {
    position: relative;
    margin-top: 40px;
  }
  .recfvn-timeline::before {
    content: "";
    position: absolute;
    left: 23px;
    top: 10px;
    bottom: 10px;
    width: 3px;
    border-radius: 99px;
    background: linear-gradient(var(--recfvn-teal), var(--recfvn-yellow));
  }
  .recfvn-timeline__item {
    position: relative;
    padding: 0 0 28px 72px;
  }
  .recfvn-timeline__item:last-child { padding-bottom: 0; }
  .recfvn-timeline__dot {
    position: absolute;
    left: 10px;
    top: 2px;
    width: 29px;
    height: 29px;
    border: 7px solid #fff;
    border-radius: 50%;
    background: var(--recfvn-teal);
    box-shadow: 0 0 0 2px var(--recfvn-teal);
  }
  .recfvn-timeline__item:nth-child(4) .recfvn-timeline__dot {
    background: var(--recfvn-yellow);
    box-shadow: 0 0 0 2px var(--recfvn-yellow);
  }
  .recfvn-timeline__date {
    color: var(--recfvn-teal-dark);
    font-size: .8rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .recfvn-timeline__card {
    margin-top: 6px;
    padding: 20px 22px;
    border: 1px solid var(--recfvn-line);
    border-radius: 18px;
    background: #fff;
  }

  .recfvn-scale-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-top: 30px;
  }
  .recfvn-scale {
    padding: 22px 18px;
    text-align: center;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 18px;
    background: rgba(255,255,255,.06);
  }
  .recfvn-scale strong {
    display: block;
    color: var(--recfvn-yellow);
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    line-height: 1;
  }
  .recfvn-scale span {
    display: block;
    margin-top: 8px;
    color: rgba(255,255,255,.78);
    font-size: .86rem;
    font-weight: 700;
  }

  .recfvn-event-panel {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 22px;
    margin-top: 34px;
  }
  .recfvn-event-card {
    padding: clamp(25px, 4vw, 42px);
    border-radius: 24px;
    color: #fff;
    background:
      radial-gradient(circle at 90% 5%, rgba(37,184,196,.35), transparent 30%),
      linear-gradient(135deg, var(--recfvn-navy-2), var(--recfvn-navy));
    box-shadow: var(--recfvn-shadow);
  }
  .recfvn-event-card h3 { color: #fff; }
  .recfvn-event-card__date {
    display: inline-block;
    margin-bottom: 16px;
    color: var(--recfvn-navy-2);
    padding: 8px 12px;
    border-radius: 10px;
    background: var(--recfvn-yellow);
    font-weight: 950;
  }
  .recfvn-event-side {
    display: grid;
    gap: 14px;
  }
  .recfvn-info-box {
    padding: 21px;
    border: 1px solid var(--recfvn-line);
    border-radius: 18px;
    background: #fff;
  }
  .recfvn-info-box strong {
    display: block;
    color: var(--recfvn-navy);
    font-size: 1.1rem;
  }

  .recfvn-host {
    margin-top: 36px;
    padding: clamp(26px, 5vw, 48px);
    border: 1px solid #cbe8ec;
    border-radius: 24px;
    background:
      linear-gradient(135deg, rgba(37,184,196,.12), rgba(255,213,74,.13)),
      #fff;
  }
  .recfvn-host__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .recfvn-detail {
    border-bottom: 1px solid var(--recfvn-line);
  }
  .recfvn-detail:last-of-type { border-bottom: 0; }
  .recfvn-detail__hero {
    display: grid;
    grid-template-columns: .82fr 1.18fr;
    min-height: 430px;
    overflow: hidden;
    border: 1px solid var(--recfvn-line);
    border-radius: 26px;
    background: #fff;
    box-shadow: var(--recfvn-shadow);
  }
  .recfvn-detail__visual {
    position: relative;
    min-height: 400px;
    background: #eaf7f9;
  }
  .recfvn-detail__visual > img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
  }
  .recfvn-detail__logo {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 10px 30px rgba(15,43,75,.16);
  }
  .recfvn-detail__logo img { max-height: 64px; width: auto; }
  .recfvn-detail__intro {
    padding: clamp(28px, 5vw, 54px);
  }
  .recfvn-game-name {
    display: inline-flex;
    padding: 7px 11px;
    margin: 14px 0 20px;
    color: #fff;
    border-radius: 8px;
    background: var(--recfvn-navy);
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
  }
  .recfvn-detail__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 24px;
  }
  .recfvn-content-card {
    padding: 25px;
    border: 1px solid var(--recfvn-line);
    border-radius: 20px;
    background: #fff;
  }
  .recfvn-content-card--wide { grid-column: 1 / -1; }
  .recfvn-content-card h3 { margin-bottom: 14px; }
  .recfvn-content-card h4 { margin: 18px 0 8px; }

  .recfvn-manuals {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 22px;
    align-items: stretch;
  }
  .recfvn-manual-cover {
    min-height: 400px;
    overflow: hidden;
    border-radius: 20px;
    background: #eef7f8;
  }
  .recfvn-manual-cover img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: contain;
    padding: 18px;
  }
  .recfvn-note {
    padding: 17px 19px;
    border-left: 5px solid var(--recfvn-yellow);
    border-radius: 0 14px 14px 0;
    background: #fff8d9;
  }

  .recfvn-registration {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 24px;
    margin-top: 34px;
  }
  .recfvn-fee {
    padding: 28px;
    border-radius: 22px;
    color: #fff;
    background: linear-gradient(135deg, var(--recfvn-teal-dark), var(--recfvn-navy));
  }
  .recfvn-fee__price {
    display: block;
    margin: 12px 0 5px;
    color: var(--recfvn-yellow);
    font-size: clamp(2.1rem, 4.5vw, 3.6rem);
    font-weight: 950;
    letter-spacing: -.05em;
    line-height: 1;
  }
  .recfvn-contact-card {
    display: grid;
    gap: 12px;
    padding: 28px;
    border: 1px solid var(--recfvn-line);
    border-radius: 22px;
    background: #fff;
  }
  .recfvn-contact-row {
    padding: 13px 0;
    border-bottom: 1px solid var(--recfvn-line);
  }
  .recfvn-contact-row:last-child { border-bottom: 0; }
  .recfvn-contact-row span {
    display: block;
    color: var(--recfvn-muted);
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .recfvn-contact-row a,
  .recfvn-contact-row strong {
    color: var(--recfvn-navy);
    font-weight: 850;
    overflow-wrap: anywhere;
  }

  .recfvn-footer-cta {
    padding: 74px 0;
    text-align: center;
    color: #fff;
    background:
      linear-gradient(rgba(8,31,58,.88), rgba(8,31,58,.94)),
      url("https://sepa.org.vn/wp-content/uploads/2026/07/vex-iq-1-scaled.jpg") center / cover;
  }
  .recfvn-footer-cta h2 { color: #fff; }
  .recfvn-footer-cta p {
    max-width: 760px;
    margin: 18px auto 0;
    color: rgba(255,255,255,.82);
  }
  .recfvn-footer-cta .recfvn-actions { justify-content: center; }

  .recfvn-backtop {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 45;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: #fff;
    border-radius: 50%;
    background: var(--recfvn-navy);
    box-shadow: 0 10px 28px rgba(15,43,75,.25);
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: .2s ease;
  }
  .recfvn-backtop.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  @media (max-width: 980px) {
    .recfvn-topnav__brand { display: none; }
    .recfvn-topnav__links { width: 100%; }
    .recfvn-statbar__grid { grid-template-columns: 1fr 1fr; }
    .recfvn-stat:nth-child(2) { border-right: 0; }
    .recfvn-stat:nth-child(-n+2) { border-bottom: 1px solid var(--recfvn-line); }
    .recfvn-world-highlight__card {
      grid-template-columns: auto 1fr;
    }
    .recfvn-world-highlight__date {
      grid-column: 1 / -1;
      width: 100%;
    }
    .recfvn-two-col,
    .recfvn-event-panel,
    .recfvn-detail__hero,
    .recfvn-registration,
    .recfvn-manuals { grid-template-columns: 1fr; }
    .recfvn-program-grid { grid-template-columns: 1fr 1fr; }
    .recfvn-icon-grid { grid-template-columns: 1fr 1fr; }
    .recfvn-scale-grid { grid-template-columns: repeat(3, 1fr); }
    .recfvn-host__grid { grid-template-columns: 1fr; }
    .recfvn-detail__content { grid-template-columns: 1fr; }
    .recfvn-content-card--wide { grid-column: auto; }
  }

  @media (max-width: 680px) {
    .recfvn { font-size: 15px; }
    .recfvn-container { width: min(100% - 24px, 1180px); }
    .recfvn-section { padding: 62px 0; }
    .recfvn-hero { min-height: 680px; background-position: 58% center; }
    .recfvn-hero__content { padding: 90px 0 72px; }
    .recfvn-statbar { margin-top: 0; }
    .recfvn-statbar__grid { border-radius: 0; }
    .recfvn-world-highlight { padding-top: 22px; }
    .recfvn-world-highlight__card {
      grid-template-columns: 1fr;
      gap: 15px;
      padding: 22px;
      text-align: left;
    }
    .recfvn-world-highlight__mark {
      width: 54px;
      height: 54px;
      border-radius: 15px;
      font-size: 1.35rem;
    }
    .recfvn-world-highlight__date {
      grid-column: auto;
      min-width: 0;
    }
    .recfvn-program-grid,
    .recfvn-icon-grid,
    .recfvn-scale-grid { grid-template-columns: 1fr; }
    .recfvn-pathway__row { grid-template-columns: 1fr; gap: 8px; }
    .recfvn-detail__visual,
    .recfvn-detail__visual > img { min-height: 310px; }
    .recfvn-manual-cover,
    .recfvn-manual-cover img { min-height: 320px; }
    .recfvn-actions .recfvn-btn { width: 100%; }
    .recfvn-topnav__links a { padding-inline: 10px; }
  }

  @media (prefers-reduced-motion: reduce) {
    .recfvn *,
    .recfvn *::before,
    .recfvn *::after {
      scroll-behavior: auto !important;
      transition: none !important;
      animation: none !important;
    }
  }

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #fff;
}
body.admin-bar .irc-site-header { top: 32px; }
.irc-site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  color: #fff;
  background: rgba(8,31,58,.96);
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(14px);
}
.irc-header-inner {
  width: min(1240px, calc(100% - 36px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.irc-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 950;
  letter-spacing: .025em;
  line-height: 1.05;
}
.irc-brand-mark {
  position: relative;
  width: 37px;
  height: 37px;
  flex: 0 0 37px;
}
.irc-brand-mark::before,
.irc-brand-mark::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.irc-brand-mark::before {
  width: 24px; height: 24px;
  left: 0; top: 0;
  background: #25b8c4;
}
.irc-brand-mark::after {
  width: 15px; height: 15px;
  right: 0; bottom: 0;
  background: #ffd54a;
}
.irc-brand small {
  display: block;
  color: rgba(255,255,255,.62);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.irc-menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  padding: 0;
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 10px;
  background: transparent;
  font-size: 1.35rem;
}
.irc-primary-nav ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.irc-primary-nav li { position: relative; margin: 0; }
.irc-primary-nav a {
  display: block;
  padding: 10px 11px;
  color: rgba(255,255,255,.82);
  border-radius: 999px;
  text-decoration: none;
  font-size: .85rem;
  font-weight: 820;
  white-space: nowrap;
}
.irc-primary-nav a:hover,
.irc-primary-nav .current-menu-item > a {
  color: #fff;
  background: rgba(255,255,255,.10);
}
.irc-primary-nav .menu-item-has-children > a::after {
  content: " ▾";
  font-size: .72em;
}
.irc-primary-nav .sub-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  min-width: 220px;
  display: none;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  background: #0b2647;
  box-shadow: 0 18px 46px rgba(0,0,0,.24);
}
.irc-primary-nav .sub-menu li { width: 100%; }
.irc-primary-nav .sub-menu a {
  border-radius: 9px;
  white-space: normal;
}
.irc-primary-nav li:hover > .sub-menu,
.irc-primary-nav li:focus-within > .sub-menu { display: block; }
.irc-menu-cta > a {
  color: #0b2647 !important;
  background: #ffd54a !important;
}
.irc-site-footer {
  padding: 34px 0;
  color: rgba(255,255,255,.78);
  background: #071d37;
}
.irc-footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}
.irc-footer-inner strong { color: #fff; }
.irc-footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.irc-footer-links a { color: #dff7fa; text-decoration: none; }
.irc-page-main { min-height: 60vh; }
.irc-skip-link {
  position: absolute;
  left: -9999px;
}
.irc-skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 9999;
  padding: 10px 14px;
  color: #071d37;
  background: #fff;
}
@media (max-width: 1080px) {
  .irc-menu-toggle { display: inline-grid; place-items: center; }
  .irc-primary-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: calc(100% + 8px);
    display: none;
    padding: 12px;
    border-radius: 16px;
    background: #0b2647;
    box-shadow: 0 20px 50px rgba(0,0,0,.28);
  }
  .irc-primary-nav.is-open { display: block; }
  .irc-primary-nav ul { display: block; }
  .irc-primary-nav a { border-radius: 10px; }
  .irc-primary-nav .sub-menu {
    position: static;
    display: block;
    min-width: 0;
    padding: 3px 0 3px 14px;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
}
@media (max-width: 782px) {
  body.admin-bar .irc-site-header { top: 46px; }
}
@media (max-width: 680px) {
  .irc-brand-text { font-size: .84rem; }
  .irc-header-inner { min-height: 66px; width: calc(100% - 24px); }
  .irc-footer-inner { flex-direction: column; align-items: flex-start; }
}
