/* ResetElsewhere mobile design system. Desktop declarations are intentionally absent. */
@media (max-width: 767px) {
  :root {
    --rem-space: 18px;
    --rem-radius: 16px;
    --rem-ink: #292d32;
    --rem-muted: #59616c;
    --rem-blue: #4278ee;
    --rem-border: #e5e8ef;
  }

  html { font-size: 16px !important; overflow-x: hidden; }
  body { overflow-x: hidden; color: var(--rem-ink); }
  body p, body li { font-size: 16px; line-height: 1.62; }
  body h1 { font-size: clamp(34px, 10vw, 42px) !important; line-height: 1.08 !important; letter-spacing: -.035em !important; }
  body h2 { font-size: clamp(26px, 7.4vw, 32px) !important; line-height: 1.16 !important; letter-spacing: -.022em; }
  body h3 { font-size: 21px !important; line-height: 1.24 !important; }
  img { max-width: 100%; height: auto; }

  /* Header: compact, readable, and isolated from the oversized desktop logo treatment. */
  #header_section,
  #header_section .elementor-element-8899178,
  #header_section .elementor-element-9236dcb {
    min-height: 76px !important;
    height: 76px !important;
    max-height: 76px !important;
    overflow: visible !important;
  }
  #header_section .elementor-element-9236dcb > .elementor-container {
    min-height: 76px !important;
    align-items: center !important;
    padding: 0 16px !important;
  }
  #header_section .elementor-element-381478c { width: 30% !important; }
  #header_section .elementor-element-ca11192 { width: 70% !important; }
  html body #header_section .elementor-element-f11befd {
    position: relative !important;
    height: 72px !important;
    min-height: 72px !important;
    overflow: visible !important;
  }
  html body #header_section .elementor-element-f11befd .elementor-widget-container { overflow: visible !important; }
  html body #header_section .elementor-element-f11befd img.wp-image-444 {
    position: absolute !important;
    width: 106px !important;
    max-width: 106px !important;
    height: auto !important;
    left: 0 !important;
    top: 7px !important;
    scale: 1 !important;
    transform: none !important;
    transform-origin: left top !important;
    clip-path: inset(0 0 15px 0) !important;
  }
  #header_section .eael-simple-menu-toggle {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    padding: 12px !important;
    margin-left: auto !important;
    border-radius: 12px !important;
  }
  #header_section .eael-simple-menu-toggle svg { width: 22px !important; height: 22px !important; }

  /* Hard reset for legacy inline logo rules loaded after the plugin stylesheet. */
  html body #header_section#header_section.elementor-section {
    position: relative !important;
    min-height: 76px !important;
    height: 76px !important;
    max-height: 76px !important;
    padding: 0 !important;
    overflow: visible !important;
    background: #fff !important;
    z-index: 1000 !important;
  }
  html body #header_section#header_section .elementor-element-8899178,
  html body #header_section#header_section .elementor-element-9236dcb,
  html body #header_section#header_section .elementor-element-9236dcb > .elementor-container {
    min-height: 76px !important;
    height: 76px !important;
    max-height: 76px !important;
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    overflow: visible !important;
  }
  html body #header_section#header_section .elementor-element-f11befd,
  html body #header_section#header_section .elementor-element-f11befd .elementor-widget-container,
  html body #header_section#header_section .elementor-element-f11befd a {
    position: relative !important;
    min-height: 76px !important;
    height: 76px !important;
    max-height: 76px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    overflow: visible !important;
    transform: none !important;
    scale: 1 !important;
  }
  html body #header_section#header_section .elementor-element-f11befd img.wp-image-444 {
    position: static !important;
    display: block !important;
    width: 108px !important;
    max-width: 108px !important;
    height: auto !important;
    margin: 0 !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    transform-origin: center !important;
    scale: 1 !important;
    clip-path: none !important;
  }
  html body #header_section#header_section .elementor-element-381478c {
    position: absolute !important;
    left: 12px !important;
    top: 0 !important;
    width: 116px !important;
    max-width: 116px !important;
    height: 76px !important;
    z-index: 1001 !important;
  }
  html body #header_section#header_section .elementor-element-ca11192 {
    position: absolute !important;
    right: 16px !important;
    left: auto !important;
    top: 14px !important;
    width: 48px !important;
    max-width: 48px !important;
    height: 48px !important;
    z-index: 1020 !important;
  }
  html body #header_section#header_section .elementor-element-ca11192 > .elementor-widget-wrap,
  html body #header_section#header_section .elementor-element-df0cfb8,
  html body #header_section#header_section .eael-simple-menu-container {
    position: relative !important;
    width: 48px !important;
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    pointer-events: auto !important;
    z-index: 1020 !important;
  }
  html body #header_section#header_section .elementor-element-df0cfb8 {
    margin: 0 !important;
    transform: none !important;
  }
  html body #header_section#header_section .eael-simple-menu-toggle {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1022 !important;
    margin: 0 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    touch-action: manipulation !important;
  }
  html body #header_section#header_section .re-lang {
    position: absolute !important;
    top: 19px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    width: auto !important;
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    gap: 1px !important;
    padding: 3px 5px !important;
    overflow: visible !important;
    z-index: 1010 !important;
  }
  html body #header_section#header_section .re-lang a,
  html body #header_section#header_section .re-lang button {
    width: 24px !important;
    min-width: 24px !important;
    height: 30px !important;
    min-height: 30px !important;
    padding: 0 !important;
    font-size: 16px !important;
    line-height: 1 !important;
  }
  html body #header_section#header_section .elementor-element-ca11192 { display: none !important; }
  html body #header_section#header_section .re-mobile-menu-button {
    position: absolute !important;
    top: 14px !important;
    right: 16px !important;
    z-index: 1050 !important;
    display: flex !important;
    width: 48px !important;
    height: 48px !important;
    padding: 12px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: center !important;
    gap: 5px !important;
    border: 0 !important;
    border-radius: 13px !important;
    background: #477cf0 !important;
    box-shadow: none !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent;
  }
  html body #header_section#header_section .re-mobile-menu-button span {
    display: block !important;
    width: 100% !important;
    height: 3px !important;
    border-radius: 2px !important;
    background: #fff !important;
    pointer-events: none !important;
  }
  html body #header_section#header_section .re-mobile-navigation {
    position: fixed !important;
    top: 84px !important;
    left: 16px !important;
    right: 16px !important;
    z-index: 1060 !important;
    max-height: calc(100vh - 100px) !important;
    overflow-y: auto !important;
    padding: 8px !important;
    border: 1px solid var(--rem-border) !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 16px 40px rgba(29, 40, 62, .18) !important;
  }
  html body #header_section#header_section .re-mobile-navigation[hidden] { display: none !important; }
  html body #header_section#header_section .re-mobile-navigation ul { margin: 0 !important; padding: 0 !important; list-style: none !important; }
  html body #header_section#header_section .re-mobile-navigation li { margin: 0 !important; border-bottom: 1px solid var(--rem-border) !important; }
  html body #header_section#header_section .re-mobile-navigation li:last-child { border-bottom: 0 !important; }
  html body #header_section#header_section .re-mobile-navigation a {
    display: flex !important;
    min-height: 50px !important;
    padding: 12px 16px !important;
    align-items: center !important;
    color: var(--rem-ink) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-align: left !important;
    text-decoration: none !important;
  }
  #header_section .eael-simple-menu-container .eael-simple-menu {
    position: fixed !important;
    top: 84px !important;
    left: 16px !important;
    right: 16px !important;
    width: auto !important;
    padding: 8px !important;
    border: 1px solid var(--rem-border) !important;
    border-radius: 16px !important;
    box-shadow: 0 16px 40px rgba(29, 40, 62, .14) !important;
    max-height: calc(100vh - 100px) !important;
    overflow-y: auto !important;
    z-index: 1030 !important;
  }
  html body #header_section#header_section .eael-simple-menu-container.re-mobile-open > .eael-simple-menu {
    display: flex !important;
    flex-direction: column !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    background: #fff !important;
  }
  html body #header_section#header_section .eael-simple-menu-container.re-mobile-open > .eael-simple-menu > li {
    display: block !important;
    float: none !important;
    width: 100% !important;
    border-bottom: 1px solid var(--rem-border) !important;
  }
  html body #header_section#header_section .eael-simple-menu-container.re-mobile-open > .eael-simple-menu > li:last-child { border-bottom: 0 !important; }
  html body #header_section#header_section .eael-simple-menu-container.re-mobile-open > .eael-simple-menu > li > a {
    display: flex !important;
    width: 100% !important;
    min-height: 50px !important;
    align-items: center !important;
    padding: 12px 16px !important;
    color: var(--rem-ink) !important;
    background: #fff !important;
    text-align: left !important;
  }
  html body #header_section#header_section .eael-simple-menu-container.re-mobile-open .sub-menu,
  html body #header_section#header_section .eael-simple-menu-container.re-mobile-open .eael-simple-menu-indicator { display: none !important; }
  #header_section .eael-simple-menu li a {
    min-height: 44px !important;
    padding: 11px 13px !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
  }
  .re-lang-status {
    gap: 3px !important;
    padding: 4px 7px !important;
    overflow: visible !important;
    white-space: nowrap;
    scrollbar-width: none;
  }
  .re-lang-status::-webkit-scrollbar { display: none; }
  .re-lang-status a, .re-lang-status button { min-width: 30px !important; min-height: 30px !important; padding: 4px !important; font-size: 17px !important; }

  /* Universal touch targets and button proportions. */
  .elementor-button,
  .ra-btn, .ra-submit, .rel-open, .rel-clear, .rel-type,
  .ragbtn, .raabout-btn, .rhiw-btn, .red-btn {
    min-height: 46px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 18px !important;
    border-radius: 999px !important;
    font-size: 15px !important;
    line-height: 1.25 !important;
    font-weight: 750 !important;
    text-align: center;
  }
  .ra-actions, .ragactions, .raabout-actions, .red-actions { gap: 10px !important; }
  .ra-actions > *, .ragactions > *, .raabout-actions > *, .red-actions > * { flex: 1 1 100%; width: 100%; }

  /* Home page: content first, controlled image height, compact cards. */
  .ra-home .ra-wrap { width: min(100% - 32px, 1180px) !important; }
  .ra-home .ra-hero { margin-top: 0 !important; padding: 42px 0 44px !important; }
  .ra-home .ra-hero-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  .ra-home .ra-hero h1 { margin-bottom: 16px !important; }
  .ra-home .ra-hero .ra-lead { font-size: 17px !important; line-height: 1.58 !important; }
  .ra-home .ra-proof { font-size: 13px !important; line-height: 1.5 !important; }
  .ra-home .ra-hero-art { min-height: 200px !important; height: 210px !important; margin: 4px 0 0 !important; overflow: visible !important; }
  html body .ra-home .ra-hero-art:after {
    inset: 0 !important;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    transform: none !important;
    -webkit-mask-size: 100% 100% !important;
    mask-size: 100% 100% !important;
  }
  .ra-home .ra-section { padding: 48px 0 !important; }
  .ra-home .ra-section-head { margin-bottom: 22px !important; }
  .ra-home .ra-title { margin-bottom: 10px !important; }
  .ra-home .ra-scroll { gap: 14px !important; padding-bottom: 8px; }
  .ra-home .ra-destination { min-width: 74vw !important; height: 200px !important; border-radius: var(--rem-radius) !important; }
  .ra-home .ra-service-grid, .ra-home .ra-program-grid { grid-template-columns: 1fr !important; gap: 18px !important; }
  .ra-home .ra-service { padding: 22px !important; border-radius: var(--rem-radius) !important; }
  .ra-home .ra-program-image { height: 210px !important; border-radius: var(--rem-radius) !important; }
  .ra-home .ra-program-body { padding: 17px 2px 4px !important; }
  .ra-home .ra-program h3 { margin: 8px 0 !important; }
  .ra-home .ra-program p { font-size: 15px !important; line-height: 1.55 !important; }
  .ra-home .ra-final { padding: 48px 0 !important; }
  .ra-home .ra-final-box { padding: 28px 20px !important; border-radius: 20px !important; }

  /* Programme and destination catalogues. */
  .raprog, .radest { overflow-x: hidden; }
  .raprog .raprog-hero, .radest .radest-hero { padding: 46px 0 34px !important; }
  .raprog .raprog-wrap, .radest .radest-wrap { width: min(100% - 32px, 1180px) !important; }
  .raprog .raprog-lead, .radest .radest-lead { font-size: 17px !important; line-height: 1.58 !important; }
  .raprog .raprog-toolbar, .radest .radest-toolbar { padding: 18px !important; border-radius: var(--rem-radius) !important; }
  .raprog input, .raprog select, .radest input, .radest select { min-height: 46px !important; font-size: 16px !important; padding: 10px 12px !important; }
  .raprog .raprog-grid, .radest .radest-grid, .rdgrid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .raprog .raprog-card, .radest .radest-card, .rdcard { border-radius: var(--rem-radius) !important; overflow: hidden; }
  .raprog .raprog-card img, .radest .radest-card img, .rdcard img { height: 190px !important; object-fit: cover !important; }
  .raprog .raprog-card-body, .radest .radest-card-body, .rdcard .rdbody { padding: 18px !important; }
  .re-catalogue-paged-out { display: none !important; }
  .re-catalogue-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; }
  .re-catalogue-show-more {
    width: auto !important;
    min-height: 44px !important;
    padding: 11px 18px !important;
    border: 1px solid var(--rem-blue) !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: var(--rem-blue) !important;
    font: inherit;
    font-weight: 750 !important;
    cursor: pointer;
  }
  .re-catalogue-show-more:focus-visible { outline: 3px solid #875f00; outline-offset: 3px; }
  .re-catalogue-show-more[hidden] { display: none !important; }
  .re-catalogue-show-more:disabled { border-color: var(--rem-border) !important; color: var(--rem-muted) !important; cursor: default; }
  .re-catalogue-status { color: var(--rem-muted); font-size: 14px !important; line-height: 1.4 !important; }

  /* Finder: single-column, readable controls, compact results. */
  body.page-id-260 main#content { padding: 38px 16px 56px !important; }
  body.page-id-260 main#content .entry-title { font-size: 36px !important; }
  body.page-id-260 .ra-matcher { padding: 20px !important; border-radius: var(--rem-radius) !important; box-shadow: none !important; }
  .ra-matcher .ra-form { grid-template-columns: 1fr !important; gap: 14px !important; }
  .ra-matcher .ra-field label { font-size: 14px !important; margin-bottom: 7px !important; }
  .ra-matcher input, .ra-matcher select { min-height: 48px !important; padding: 11px 12px !important; font-size: 16px !important; border-radius: 11px !important; }
  .ra-matcher .ra-help, .ra-matcher .ra-mode { font-size: 14px !important; line-height: 1.5 !important; }
  .ra-matcher .ra-mode { align-items: flex-start !important; }
  .ra-matcher .ra-mode input { min-height: 20px !important; margin-top: 1px; }
  .ra-matcher .ra-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
  .ra-matcher .ra-card { padding: 18px !important; border-radius: var(--rem-radius) !important; }
  .ra-matcher .ra-card p, .ra-matcher .ra-card li { font-size: 14px !important; line-height: 1.5 !important; }
  .ra-matcher .ra-state-incomplete { margin-top: 12px !important; padding: 12px 13px !important; }
  .ra-matcher .ra-state-incomplete p { font-size: 13px !important; line-height: 1.45 !important; }
  .ra-matcher .ra-zero { padding: 21px 18px !important; }
  .ra-matcher .ra-zero h2 { font-size: 24px !important; }
  .ra-matcher .ra-zero-intro, .ra-matcher .ra-zero-next { font-size: 15px !important; line-height: 1.55 !important; }
  .ra-matcher .ra-zero-actions, .ra-matcher .ra-zero-link { box-sizing: border-box; width: 100%; }

  /* Resources library: horizontal filter chips, one simple card column. */
  .rel .rel-wrap { width: min(100% - 32px, 1120px) !important; }
  .rel .rel-hero { padding: 46px 0 34px !important; }
  .rel .rel-lead { font-size: 17px !important; line-height: 1.58 !important; }
  .rel .rel-main { padding: 28px 0 56px !important; }
  .rel .rel-tools { padding: 18px !important; border-radius: var(--rem-radius) !important; }
  .rel .rel-search-row { display: grid !important; grid-template-columns: 1fr !important; gap: 10px !important; }
  .rel .rel-search, .rel select { min-height: 48px !important; padding: 11px 12px !important; font-size: 16px !important; border-radius: 11px !important; }
  .rel .rel-types { display: flex !important; flex-wrap: nowrap !important; gap: 8px !important; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .rel .rel-types::-webkit-scrollbar { display: none; }
  .rel .rel-type { flex: 0 0 auto !important; width: auto !important; min-height: 42px !important; padding: 10px 14px !important; white-space: nowrap; }
  .rel .rel-filters { grid-template-columns: 1fr !important; gap: 12px !important; }
  .rel .rel-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
  .rel .rel-card { padding: 20px !important; border-radius: var(--rem-radius) !important; min-height: 0 !important; }
  .rel .rel-card h2 { font-size: 22px !important; line-height: 1.23 !important; margin: 12px 0 9px !important; }
  .rel .rel-card p { font-size: 15px !important; line-height: 1.55 !important; }
  .rel .rel-meta { gap: 7px !important; font-size: 12px !important; }
  .rel .rel-open { width: 100%; margin-top: 16px !important; }

  /* Uniform guide and new programme templates. */
  .rag .ragw, .erap .erap-wrap { width: min(100% - 32px, 980px) !important; }
  .rag .raghero, .erap .erap-hero { padding: 46px 0 34px !important; }
  .rag .raglead, .erap .erap-lead { font-size: 17px !important; line-height: 1.58 !important; }
  .rag .ragfacts { gap: 7px !important; margin-top: 20px !important; }
  .rag .ragfacts span { font-size: 12px !important; padding: 7px 10px !important; }
  .rag .ragmain, .erap .erap-main { padding: 24px 0 56px !important; }
  .rag .ragsection, .erap .erap-sec { padding: 23px 0 !important; }
  .rag .ragsection p, .rag .ragsection li, .erap .erap-sec p, .erap .erap-sec li { font-size: 16px !important; line-height: 1.62 !important; }
  .rag .ragnote, .erap .erap-note { margin: 26px 0 0 !important; padding: 18px !important; }
  .rag .ragsources { padding: 19px !important; border-radius: var(--rem-radius) !important; }
  .erap .erap-facts { grid-template-columns: 1fr !important; gap: 9px !important; margin: 22px 0 0 !important; }
  .erap .erap-fact { padding: 15px !important; border-radius: 13px !important; }

  /* About and other custom editorial layouts. */
  .raabout .raabout-wrap { width: min(100% - 32px, 1120px) !important; }
  .raabout .raabout-hero { padding: 44px 0 36px !important; }
  .raabout .raabout-hero-grid, .raabout .raabout-intro, .raabout .raabout-founder, .raabout .raabout-company { grid-template-columns: 1fr !important; gap: 22px !important; }
  .raabout .raabout-lead { font-size: 17px !important; line-height: 1.58 !important; }
  .raabout .raabout-visual { min-height: 260px !important; }
  .raabout .raabout-play { width: 240px !important; height: 240px !important; }
  .raabout .raabout-section { padding: 46px 0 !important; }
  .raabout .raabout-pillars, .raabout .raabout-audiences, .raabout .raabout-values, .raabout .raabout-principles { grid-template-columns: 1fr !important; gap: 14px !important; }
  .raabout .raabout-pillars > *, .raabout .raabout-audiences > *, .raabout .raabout-values > *, .raabout .raabout-principles > * { padding: 20px !important; border-radius: var(--rem-radius) !important; }

  /* How it works: linear reading order and restrained decorative media. */
  .rhiw { overflow-x: hidden; }
  .rhiw .rhiw-wrap { width: min(100% - 32px, 1180px) !important; }
  .rhiw .rhiw-hero, .rhiw .rhiw-section { padding: 42px 0 !important; }
  .rhiw .rhiw-hero-grid, .rhiw .rhiw-steps, .rhiw .rhiw-paths,
  .rhiw .rhiw-pricing, .rhiw .rhiw-checks, .rhiw .rhiw-faq {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .rhiw .rhiw-hero-visual { min-height: 0 !important; height: 260px !important; }
  .rhiw .rhiw-route-card, .rhiw .rhiw-path, .rhiw .rhiw-price,
  .rhiw .rhiw-assess, .rhiw .rhiw-transparency {
    padding: 20px !important;
    border-radius: var(--rem-radius) !important;
  }
  .rhiw .rhiw-actions { display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 10px !important; }
  .rhiw .rhiw-actions .rhiw-btn { width: 100% !important; justify-content: center !important; }

  /* Footer: remove oversized logo/text rhythm and keep columns scannable. */
  .elementor-81 { padding: 14px 0 !important; }
  .elementor-81 .elementor-element-857fad8 > .elementor-container { display: flex !important; flex-wrap: wrap !important; gap: 8px 14px !important; }
  .elementor-81 .elementor-element-857fad8 > .elementor-container > .elementor-column { width: calc(50% - 7px) !important; flex: 1 1 calc(50% - 7px) !important; }
  .elementor-81 .elementor-widget-wrap { padding-top: 6px !important; padding-bottom: 6px !important; }
  .elementor-81 .elementor-widget { margin-bottom: 8px !important; }
  .elementor-81 img.wp-image-444 { width: 78px !important; max-width: 78px !important; position: static !important; transform: none !important; scale: 1 !important; clip-path: none !important; }
  .elementor-81 h2, .elementor-81 h3 { font-size: 17px !important; margin-bottom: 7px !important; }
  .elementor-81 p, .elementor-81 a { font-size: 14px !important; line-height: 1.45 !important; }
}

/* Canonical programme detail layout. Programme posts must use raprog; resource
   pages must use their separate guide renderer. */
.raprog {
  --blue: #315fc8;
  --ink: #292c31;
  --yellow: #875f00;
  --cream: #fff9df;
  color: var(--ink);
  font-family: inherit;
  overflow-x: hidden;
}
.raprog *, .raprog *::before, .raprog *::after { box-sizing: border-box; }
.raprog-wrap { width: min(1180px, calc(100% - 40px)); margin: auto; }
.raprog-hero { padding: 90px 0; text-align: center; background: linear-gradient(135deg, #fff9df, #fff); }
.raprog-hero > .raprog-wrap > span { color: var(--blue); font-size: 14px; font-weight: 800; letter-spacing: 1px; }
.raprog-hero h1 { max-width: 1050px; margin: 24px auto 8px; font-size: clamp(46px, 6vw, 78px); line-height: 1.02; letter-spacing: -2.5px; }
.raprog-hero .raprog-display-title { max-width: 1050px; margin: 24px auto 8px; font-size: clamp(46px, 6vw, 78px); font-weight: 700; line-height: 1.02; letter-spacing: -2.5px; }
body.resetelsewhere-ofqj-raprog main#content > .page-header { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; margin: -1px !important; padding: 0 !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; }
.raprog-hero p { max-width: 900px; margin: 0 auto 34px; font-size: clamp(21px, 2.5vw, 34px); line-height: 1.2; }
.raprog-hero a, .raprog-cta { display: inline-flex; padding: 16px 28px; border-radius: 999px; background: var(--blue); color: #fff !important; font-weight: 700; text-decoration: none !important; text-transform: uppercase; }
.raprog-main { padding: 12px 0 95px; }
.raprog-visuals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0 0 45px; }
.raprog-visuals div { position: relative; display: flex; height: 175px; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 24px; border-radius: 22px; background: linear-gradient(145deg, #315fc8, #5479d6); color: #fff; }
.raprog-visuals div:nth-child(2), .raprog-visuals div:nth-child(4) { background: linear-gradient(145deg, #ffd85a, #ffeb9c); color: var(--ink); }
.raprog-visuals div::after { position: absolute; top: -35px; right: -35px; width: 120px; height: 120px; border: 22px solid rgba(255,255,255,.18); border-radius: 50%; content: ""; }
.raprog-visuals i { font-style: normal; font-weight: 900; opacity: .7; }
.raprog-visuals strong { font-size: 18px; letter-spacing: 1px; }
.raprog-main h2 { margin: 30px 0; font-size: 32px; line-height: 1.15; }
.raprog-main .raprog-label { margin-bottom: 20px; font-size: 25px; }
.raprog-essentials { margin: 38px 0 42px; }
.raprog-essentials h2, .raprog-eligibility h2, .raprog-important h2 { margin: 0 0 18px; }
.raprog-essentials-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.raprog-essential { min-height: 92px; padding: 17px 18px; border: 1px solid #dfe6f1; border-radius: 16px; background: #fff; }
.raprog-essential span { display: block; margin-bottom: 8px; color: #2563eb; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.raprog-essential strong { display: block; color: #252932; font-size: 15px; line-height: 1.45; }
.raprog-essential a { color: #2563eb; text-decoration: none; }
.raprog-highlights { display: flex; flex-wrap: wrap; gap: 30px; margin-bottom: 34px; }
.raprog-highlights span { font-size: 16px; }
.raprog-copy { max-width: 1060px; }
.raprog-copy p { max-width: 920px; font-size: 17px; line-height: 1.75; }
.raprog-eligibility { margin: 34px 0; }
.raprog-eligibility ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; margin: 0; padding: 0; list-style: none; }
.raprog-eligibility li { position: relative; margin: 0; padding: 13px 16px 13px 39px; border: 1px solid #e4e9f2; border-radius: 13px; background: #fff; color: #343943; line-height: 1.45; }
.raprog-eligibility li::before { position: absolute; top: 9px; left: 17px; color: #2563eb; content: "•"; font-size: 24px; font-weight: 900; }
.raprog-eligibility li strong { display: block; margin-bottom: 4px; color: #252932; font-size: 14px; }
.raprog-eligibility li span { display: block; color: #505764; font-size: 14px; }
.raprog-important { margin: 30px 0; padding: 22px 24px; border-left: 5px solid #ffd13d; border-radius: 12px; background: #fff9df; }
.raprog-important h2 { font-size: 20px; }
.raprog-important p { max-width: 850px; margin: 0; line-height: 1.65; }
.raprog-links { display: flex; flex-wrap: wrap; gap: 24px; margin: 28px 0; }
.raprog-links a { padding: 14px 26px; border-radius: 999px; background: #f2f3f7; color: var(--ink) !important; font-weight: 700; text-decoration: none !important; }
.raprog-checked { color: #777; font-size: 15px; }
.raprog-cta { margin-top: 6px; }
.raprog a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

@media (max-width: 850px) {
  .raprog-essentials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .raprog-wrap { width: min(100% - 28px, 1180px); }
  .raprog-hero { padding: 65px 0; }
  .raprog-hero h1 { font-size: 45px; }
  .raprog-hero .raprog-display-title { font-size: 45px; }
  .raprog-visuals { grid-template-columns: 1fr 1fr; }
  .raprog-visuals div { height: 125px; }
  .raprog-main { padding-bottom: 70px; }
  .raprog-hero a, .raprog-links a, .raprog-cta { width: 100%; justify-content: center; text-align: center; }
}
@media (max-width: 620px) {
  .raprog-visuals, .raprog-essentials-grid, .raprog-eligibility ul { grid-template-columns: 1fr; }
  .raprog-essential { min-height: auto; }
}

/* OC-018/022/023: source-grounded resource pages. */
.rev4 {
  --blue: #315fc8;
  --ink: #292d32;
  --yellow: #fed437;
  color: var(--ink);
  font-family: inherit;
}
.rev4 *, .rev4 *::before, .rev4 *::after { box-sizing: border-box; }
.rev4-wrap { width: min(980px, calc(100% - 44px)); margin: auto; }
.rev4-hero { padding: 88px 0 56px; background: linear-gradient(180deg, #fff7d4, #fff); }
.rev4-kicker { color: var(--blue); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; }
.rev4 h1 { font-size: 50px; line-height: 1.08; margin: 0 0 18px; }
.rev4-lead { font-size: 19px; line-height: 1.65; color: #565c65; max-width: 840px; margin: 0; }
.rev4-facts { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 26px; }
.rev4-facts span { background: #fff; border: 1px solid #e5e7ed; border-radius: 18px; padding: 8px 12px; font-size: 12px; font-weight: 700; }
.rev4-jump-nav { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.rev4-jump-nav a { display: inline-flex; min-height: 44px; align-items: center; padding: 10px 15px; border: 1px solid #cad5ec; border-radius: 999px; background: #fff; color: var(--blue); font-weight: 700; line-height: 1.35; text-decoration: none; }
.rev4-main { padding: 42px 0 82px; }
.rev4-section { padding: 27px 0; border-bottom: 1px solid #e8eaf0; }
.rev4-section h2 { font-size: 27px; margin: 0 0 11px; }
.rev4-section p, .rev4-section li { font-size: 16px; line-height: 1.72; color: #555c66; }
.rev4-section p { margin: 0; }
.rev4-section ul, .rev4-section ol { margin: 12px 0 0; padding-left: 22px; }
.rev4-note { margin: 30px 0 0; padding: 20px 23px; border-left: 4px solid var(--yellow); background: #fff9df; color: #555c66; line-height: 1.65; }
.rev4-sources { margin-top: 32px; padding: 24px; border: 1px solid #e5e7ed; border-radius: 18px; background: #f8f9fb; }
.rev4-sources h2 { font-size: 22px; margin: 0 0 12px; }
.rev4-sources a { display: block; margin: 9px 0; color: var(--blue); font-weight: 700; overflow-wrap: anywhere; }
.rev4-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.rev4-button { display: inline-flex; min-height: 44px; align-items: center; padding: 13px 22px; border-radius: 25px; background: var(--blue); color: #fff !important; text-decoration: none !important; font-weight: 700; }
.rev4-button-secondary { background: #f1f3f7; color: var(--ink) !important; }
.rev4 a:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

@media (max-width: 600px) {
  .rev4-wrap { width: min(100% - 28px, 980px); }
  .rev4-hero { padding: 56px 0 38px; }
  .rev4 h1 { font-size: 34px; overflow-wrap: anywhere; }
  .rev4-lead { font-size: 16px; }
  .rev4-main { padding: 24px 0 58px; }
  .rev4-section h2 { font-size: 24px; }
  .rev4-actions, .rev4-button { width: 100%; }
  .rev4-button { justify-content: center; text-align: center; }
}

@media (max-width: 390px) {
  body h1 { font-size: 33px !important; }
  body h2 { font-size: 26px !important; }
  html body #header_section#header_section .elementor-element-381478c { left: 10px !important; width: 108px !important; max-width: 108px !important; }
  html body #header_section#header_section .elementor-element-f11befd img.wp-image-444 { width: 102px !important; max-width: 102px !important; left: auto !important; }
  html body #header_section#header_section .elementor-element-ca11192 { right: 12px !important; }
  html body #header_section#header_section .re-lang { left: 52% !important; right: auto !important; padding-inline: 4px !important; }
  html body #header_section#header_section .re-lang a,
  html body #header_section#header_section .re-lang button { width: 22px !important; min-width: 22px !important; }
  .ra-home .ra-hero-art { min-height: 180px !important; height: 190px !important; }
  .ra-home .ra-destination { min-width: 80vw !important; height: 190px !important; }
  .elementor-81 .elementor-element-857fad8 > .elementor-container > .elementor-column { width: 100% !important; flex-basis: 100% !important; }
}

/* Production-safe interaction harness: active only with ?re-mobile-menu-test=1. */
html:not(.re-mobile-menu-test) .re-mobile-menu-button,
html:not(.re-mobile-menu-test) .re-mobile-navigation { display: none; }

@media (max-width: 767px) {
  html:not(.re-mobile-menu-test) .re-mobile-menu-button { display: flex; }
  html:not(.re-mobile-menu-test) .re-mobile-navigation:not([hidden]) { display: block; }
}

html.re-mobile-menu-test #header_section {
  position: relative !important;
  min-height: 76px !important;
  overflow: visible !important;
  background: #fff !important;
}
html.re-mobile-menu-test #header_section .re-mobile-menu-button {
  position: absolute !important;
  top: 14px !important;
  right: 16px !important;
  z-index: 1050 !important;
  display: flex !important;
  width: 48px !important;
  height: 48px !important;
  padding: 12px !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 5px !important;
  border: 0 !important;
  border-radius: 13px !important;
  background: #477cf0 !important;
  cursor: pointer !important;
}
html.re-mobile-menu-test #header_section .re-mobile-menu-button span {
  display: block !important;
  width: 100% !important;
  height: 3px !important;
  border-radius: 2px !important;
  background: #fff !important;
}
html.re-mobile-menu-test #header_section .re-mobile-navigation {
  position: fixed !important;
  top: 84px !important;
  left: 16px !important;
  right: 16px !important;
  z-index: 1060 !important;
  padding: 8px !important;
  border: 1px solid #e2e5ec !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 16px 40px rgba(29, 40, 62, .18) !important;
}
html.re-mobile-menu-test #header_section .re-mobile-navigation[hidden] { display: none !important; }
html.re-mobile-menu-test #header_section .re-mobile-navigation:not([hidden] ) { display: block !important; }
html.re-mobile-menu-test #header_section .re-mobile-navigation ul { margin: 0 !important; padding: 0 !important; list-style: none !important; }
html.re-mobile-menu-test #header_section .re-mobile-navigation li { border-bottom: 1px solid #e2e5ec !important; }
html.re-mobile-menu-test #header_section .re-mobile-navigation a { display: block !important; padding: 14px 16px !important; color: #292d32 !important; font-weight: 700 !important; text-decoration: none !important; }

/* OC-016: reliable, compact eligibility context on catalogue cards. */
.rpcard .rpdest {
  line-height: 1.45;
}
.rpcard .re-eligibility {
  margin: 14px 0 16px;
  padding-top: 13px;
  border-top: 1px solid #e4e8ef;
}
.rpcard .re-eligibility-title {
  display: block;
  margin-bottom: 8px;
  color: #56606d;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.3;
  text-transform: uppercase;
}
.rpcard .re-eligibility-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
}
.rpcard .re-eligibility-badge {
  box-sizing: border-box;
  display: inline-flex;
  max-width: 100%;
  min-width: 0;
  padding: 6px 9px;
  border-radius: 999px;
  background: #eef3ff;
  color: #294f9f;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

@media (max-width: 560px) {
  .rpcard .re-eligibility-badges {
    align-items: flex-start;
    flex-direction: column;
  }
  .rpcard .re-eligibility-badge {
    border-radius: 12px;
  }
}

@media (max-width: 767px) {
  /* Secondary actions stay compact while preserving a 44px touch target. */
  .rev4-button-secondary,
  .ragback,
  .raprog-links a,
  .ra-pathway-secondary,
  .rel-clear {
    width: auto !important;
    min-height: 44px !important;
    flex: 0 0 auto !important;
    padding: 11px 18px !important;
  }
}
