body.rvm-design { margin: 0; }
body.rvm-design:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) #rvm-site .rvm-page-layout { grid-template-columns: minmax(0, 1fr); }
/* Respublikos vairavimo mokykla — reversible Astra child-theme surface.
   All presentation is scoped to #rvm-site; existing WooCommerce controls keep their own styles. */
#rvm-site {
  /* Seven approved brand colors; lighter surfaces below are derived neutral tints. */
  --rvm-black: #212325;
  --rvm-grey: #464A4F;
  --rvm-blue-dark: #00408F;
  --rvm-blue-light: #0167BB;
  --rvm-red-dark: #CF0A11;
  --rvm-red-medium: #E01117;
  --rvm-red-light: #FD1A1B;
  --rvm-paper: #f7f9fb;
  --rvm-white: #fff;
  --rvm-red: var(--rvm-red-medium);
  --rvm-blue: var(--rvm-blue-dark);
  --rvm-ink: var(--rvm-black);
  --rvm-muted: var(--rvm-grey);
  --rvm-line: #dce2e8;
  --rvm-soft: #eef2f6;
  --rvm-width: 1280px;
  color: var(--rvm-ink);
  background: var(--rvm-paper);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
}
#rvm-site *, #rvm-site *::before, #rvm-site *::after { box-sizing: border-box; }
#rvm-site [hidden] { display: none !important; }
#rvm-site :where(.rvm-header, .rvm-home, .rvm-footer, .rvm-page-top, .rvm-sidebar) a:not(:where(.woocommerce, .woocommerce *, .product, .product *, [class*="wc-block"], [class*="wc-block"] *)) { color: inherit; text-underline-offset: 4px; }
#rvm-site :where(.rvm-header, .rvm-home, .rvm-footer, .rvm-page-top, .rvm-sidebar) a:hover:not(:where(.woocommerce, .woocommerce *, .product, .product *, [class*="wc-block"], [class*="wc-block"] *)) { text-decoration-color: var(--rvm-red); }
#rvm-site :where(.rvm-header, .rvm-home, .rvm-footer, .rvm-page-top, .rvm-sidebar) img:not(:where(.woocommerce, .woocommerce *, .product, .product *, [class*="wc-block"], [class*="wc-block"] *)) { display: block; max-width: 100%; height: auto; }
#rvm-site :where(.rvm-header, .rvm-home, .rvm-footer, .rvm-page-top, .rvm-sidebar) :is(figure, blockquote):not(:where(.woocommerce, .woocommerce *, .product, .product *, [class*="wc-block"], [class*="wc-block"] *)) { margin: 0; }
#rvm-site :where(.rvm-header, .rvm-home, .rvm-footer, .rvm-page-top, .rvm-sidebar) :is(h1, h2, h3, h4, p):not(:where(.woocommerce, .woocommerce *, .product, .product *, [class*="wc-block"], [class*="wc-block"] *)) { margin: 0; }
#rvm-site :where(.rvm-header, .rvm-home, .rvm-footer, .rvm-page-top, .rvm-sidebar) :is(h1, h2, h3, h4):not(:where(.woocommerce, .woocommerce *, .product, .product *, [class*="wc-block"], [class*="wc-block"] *)) { font-family: inherit; color: inherit; font-weight: 700; line-height: 1.1; letter-spacing: -.045em; text-wrap: balance; text-transform: none; }
#rvm-site :where(.rvm-header, .rvm-home, .rvm-footer, .rvm-page-top, .rvm-sidebar) h1:not(:where(.woocommerce, .woocommerce *, .product, .product *, [class*="wc-block"], [class*="wc-block"] *)) { font-size: clamp(3rem, 6.2vw, 6rem); }
#rvm-site :where(.rvm-header, .rvm-home, .rvm-footer, .rvm-page-top, .rvm-sidebar) h2:not(:where(.woocommerce, .woocommerce *, .product, .product *, [class*="wc-block"], [class*="wc-block"] *)) { font-size: clamp(2.05rem, 3.7vw, 3.65rem); }
#rvm-site :where(.rvm-header, .rvm-home, .rvm-footer, .rvm-page-top, .rvm-sidebar) h3:not(:where(.woocommerce, .woocommerce *, .product, .product *, [class*="wc-block"], [class*="wc-block"] *)) { font-size: clamp(1.25rem, 1.65vw, 1.65rem); letter-spacing: -.025em; }
#rvm-site :where(.rvm-header, .rvm-home, .rvm-footer, .rvm-page-top, .rvm-sidebar) p + p:not(:where(.woocommerce, .woocommerce *, .product, .product *, [class*="wc-block"], [class*="wc-block"] *)) { margin-top: 1rem; }
#rvm-site :where(.rvm-header, .rvm-home, .rvm-footer, .rvm-page-top, .rvm-sidebar) button:not(:where(.woocommerce, .woocommerce *, .product, .product *, [class*="wc-block"], [class*="wc-block"] *)) { font-family: inherit; }
#rvm-site :is(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--rvm-blue-light); outline-offset: 5px; box-shadow: 0 0 0 7px var(--rvm-white); }
#rvm-site ::selection { background: var(--rvm-blue-dark); color: var(--rvm-white); }
#rvm-site .rvm-wrap { width: min(var(--rvm-width), calc(100% - 80px)); margin-inline: auto; }
#rvm-site .rvm-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 19px; color: var(--rvm-red); font-size: .69rem; font-weight: 800; line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; }
#rvm-site .rvm-eyebrow::before { content: ''; width: 26px; height: 2px; flex: 0 0 26px; background: currentColor; }
#rvm-site .rvm-lead { color: var(--rvm-muted); font-size: 1.05rem; line-height: 1.8; }
#rvm-site .rvm-label { display: inline-block; color: var(--rvm-red); font-size: .66rem; font-weight: 800; line-height: 1.5; letter-spacing: .09em; text-transform: uppercase; }
#rvm-site .rvm-small { color: var(--rvm-muted); font-size: .76rem; line-height: 1.8; }
#rvm-site .rvm-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
#rvm-site .rvm-skip { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 12px 18px; background: var(--rvm-white); color: var(--rvm-blue); transform: translateY(-160%); }
#rvm-site .rvm-skip:focus { transform: none; }

/* A quiet, open header keeps the original school logo prominent. */
#rvm-site .rvm-header { position: relative; z-index: 30; background: var(--rvm-white); }
#rvm-site .rvm-topbar { border-bottom: 1px solid #e7eae7; color: var(--rvm-muted); font-size: .68rem; line-height: 1.5; }
#rvm-site .rvm-topbar > .rvm-wrap { display: flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 35px; }
#rvm-site .rvm-topbar a { text-decoration: none; }
#rvm-site .rvm-topbar a:hover { color: var(--rvm-red); }
#rvm-site .rvm-topbar-contact, #rvm-site .rvm-utility { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; }
#rvm-site .rvm-utility { justify-content: flex-end; font-weight: 650; }
#rvm-site .rvm-utility a { display: inline-flex; align-items: center; min-height: 35px; white-space: nowrap; }
#rvm-site .rvm-header-main { display: flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 106px; }
#rvm-site .rvm-brand { display: block; flex: 0 0 auto; width: 247px; text-decoration: none; }
#rvm-site .rvm-brand img { width: 100%; height: 76px; object-fit: contain; object-position: left center; }
#rvm-site .rvm-nav { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 22px; margin-left: auto; font-size: .76rem; font-weight: 650; line-height: 1.5; }
#rvm-site .rvm-nav > a, #rvm-site .rvm-mega > summary { display: inline-flex; align-items: center; gap: 8px; padding: 13px 0; color: var(--rvm-blue); text-decoration: none; white-space: nowrap; }
#rvm-site .rvm-nav > a:hover, #rvm-site .rvm-mega > summary:hover { color: var(--rvm-red); }
#rvm-site .rvm-nav > a[aria-current='page'] { color: var(--rvm-red); }
#rvm-site .rvm-nav .rvm-btn { padding: 12px 20px; min-height: 46px; }
#rvm-site .rvm-language { display: flex; align-items: center; gap: 9px; color: var(--rvm-muted); font-size: .66rem; font-weight: 700; }
#rvm-site .rvm-language a { padding: 5px 0; text-decoration: none; }
#rvm-site .rvm-language a[aria-current='page'], #rvm-site .rvm-language a:hover { color: var(--rvm-red); }
#rvm-site [data-menu] { display: none; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--rvm-line); border-radius: 2px; background: transparent; color: var(--rvm-blue); cursor: pointer; }
#rvm-site [data-menu] span:not(.rvm-sr-only) { display: block; height: 2px; width: 21px; background: currentColor; margin: 5px 0; }
#rvm-site [data-menu] svg { width: 23px; height: 23px; }
#rvm-site .rvm-mega { position: static; }
#rvm-site .rvm-mega > summary { list-style: none; cursor: pointer; }
#rvm-site .rvm-mega > summary::-webkit-details-marker { display: none; }
#rvm-site .rvm-mega > summary::after { content: ''; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
#rvm-site .rvm-mega[open] > summary::after { transform: translateY(1px) rotate(225deg); }
#rvm-site .rvm-mega > :not(summary) { position: absolute; top: calc(100% + 4px); right: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; width: min(1080px, calc(100vw - 80px)); max-height: min(520px, calc(100dvh - 175px)); overflow-y: auto; padding: 24px; border: 1px solid var(--rvm-line); border-top: 3px solid var(--rvm-red); border-radius: 3px; background: var(--rvm-white); box-shadow: 0 18px 35px rgb(16 39 63 / 11%); }
#rvm-site .rvm-school-menu { position: relative; }
#rvm-site .rvm-school-menu > :not(summary) { left: 0; right: auto; width: 265px; grid-template-columns: 1fr; }
#rvm-site .rvm-mega-group h2 { margin: 4px 10px 13px; color: var(--rvm-red); font-size: .64rem; font-weight: 700; line-height: 1.6; letter-spacing: .075em; text-transform: uppercase; }
#rvm-site .rvm-mega a { display: block; padding: 9px 10px; color: var(--rvm-blue); font-size: .8rem; font-weight: 550; line-height: 1.5; text-decoration: none; }
#rvm-site .rvm-mega a:hover { background: var(--rvm-paper); color: var(--rvm-red); }
#rvm-site :is(.rvm-mega, .rvm-utility) a[aria-current='page'] { color: var(--rvm-red-dark); font-weight: 700; }

/* Primary actions */
#rvm-site .rvm-btn { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 54px; padding: 15px 25px; border: 1px solid transparent; border-radius: 3px; font-size: .83rem; font-weight: 700; line-height: 1.45; text-align: center; text-decoration: none; cursor: pointer; transition: background .18s ease, border-color .18s ease; }
#rvm-site .rvm-btn-red { background: var(--rvm-red); color: var(--rvm-white); }
#rvm-site .rvm-btn-red:hover { background: var(--rvm-red-dark); color: var(--rvm-white); }
#rvm-site .rvm-btn-white { background: var(--rvm-white); color: var(--rvm-blue); }
#rvm-site .rvm-btn-white:hover { background: #e9edf0; color: var(--rvm-blue); }
#rvm-site .rvm-btn-outline { border-color: #a8b3bc; background: transparent; color: var(--rvm-blue); }
#rvm-site .rvm-btn-outline:hover { background: var(--rvm-blue); border-color: var(--rvm-blue); color: var(--rvm-white); }
#rvm-site .rvm-link { display: inline-flex; align-items: center; gap: 13px; color: var(--rvm-blue); font-size: .83rem; font-weight: 700; line-height: 1.55; text-decoration: none; }
#rvm-site .rvm-link::after { content: '↗'; color: var(--rvm-red); font-size: 1.3em; font-weight: 500; }
#rvm-site .rvm-link:hover { color: var(--rvm-red); }
#rvm-site .rvm-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 31px; }

/* Wide, authentic photography carries the first impression. */
#rvm-site .rvm-hero { position: relative; isolation: isolate; min-height: 745px; overflow: hidden; color: var(--rvm-white); background: var(--rvm-blue); }
#rvm-site .rvm-hero-photo { position: absolute; z-index: -2; inset: 0; }
#rvm-site .rvm-hero-photo img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center 57%; }
#rvm-site .rvm-hero::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgb(8 23 37 / 85%) 0%, rgb(8 23 37 / 68%) 32%, rgb(8 23 37 / 15%) 73%), linear-gradient(0deg, rgb(8 23 37 / 40%), transparent 45%); }
#rvm-site .rvm-hero-copy { position: relative; padding-top: 92px; padding-bottom: 170px; }
#rvm-site .rvm-hero h1 { max-width: 790px; font-weight: 650; line-height: 1.035; letter-spacing: -.055em; }
#rvm-site .rvm-hero h1 em { font-style: normal; color: #fff; }
#rvm-site .rvm-hero .rvm-eyebrow { color: #fff; margin-bottom: 24px; }
#rvm-site .rvm-hero .rvm-eyebrow::before { background: #e74451; }
#rvm-site .rvm-hero .rvm-lead { max-width: 550px; margin-top: 24px; color: #e1e6e9; font-size: 1rem; line-height: 1.85; }
#rvm-site .rvm-hero .rvm-link { color: #fff; }
#rvm-site .rvm-hero .rvm-link::after { color: #fff; }
#rvm-site .rvm-hero .rvm-btn-outline { color: #fff; border-color: rgb(255 255 255 / 65%); }
#rvm-site .rvm-hero .rvm-btn-outline:hover { background: rgb(255 255 255 / 12%); }
#rvm-site .rvm-badge { display: inline-flex; align-items: center; gap: 10px; padding: 9px 13px; border: 1px solid rgb(255 255 255 / 32%); border-radius: 3px; background: rgb(8 23 37 / 30%); font-size: .68rem; font-weight: 600; line-height: 1.55; }
#rvm-site .rvm-hero .rvm-badge { margin-top: 26px; }

/* The course picker overlaps the photograph; course tiles stay open and image-led. */
#rvm-site .rvm-quick { position: relative; z-index: 5; margin-top: -66px; }
#rvm-site .rvm-quick > .rvm-wrap, #rvm-site .rvm-quick.rvm-wrap { padding: 35px 39px 40px; border-radius: 6px; background: var(--rvm-white); box-shadow: 0 18px 55px rgb(16 39 63 / 7%); }
#rvm-site .rvm-quick-header { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 29px; }
#rvm-site .rvm-quick-header h2 { font-size: clamp(1.7rem, 2.5vw, 2.25rem); }
#rvm-site .rvm-quick-header p { max-width: 410px; margin-top: 9px; color: var(--rvm-muted); font-size: .8rem; }
#rvm-site .rvm-course-tabs { display: none; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 4px; background: #f0f1ee; }
#rvm-site .rvm-course-tabs.is-ready { display: flex; }
#rvm-site .rvm-course-tabs button { display: block; padding: 10px 15px; border: 0; border-radius: 3px; background: transparent; color: var(--rvm-muted); font-size: .71rem; font-weight: 650; line-height: 1.45; cursor: pointer; }
#rvm-site .rvm-course-tabs button[aria-pressed='true'] { background: var(--rvm-blue); color: #fff; }
#rvm-site .rvm-course-tabs button:hover:not([aria-pressed='true']) { color: var(--rvm-blue); background: #e4e8e5; }
#rvm-site .rvm-course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 31px 24px; }
#rvm-site .rvm-course-card { min-width: 0; }
#rvm-site .rvm-course-card > a { display: block; position: relative; height: 100%; color: var(--rvm-blue); text-decoration: none; }
#rvm-site .rvm-course-card > a > img { width: 100%; aspect-ratio: 1.65; object-fit: cover; border-radius: 3px; }
#rvm-site .rvm-course-copy { position: relative; padding: 19px 33px 0 0; }
#rvm-site .rvm-course-copy h3 { margin-top: 8px; font-size: 1.36rem; line-height: 1.17; }
#rvm-site .rvm-course-copy p { margin-top: 10px; color: var(--rvm-muted); font-size: .79rem; line-height: 1.75; }
#rvm-site .rvm-arrow { position: absolute; top: 21px; right: 2px; color: var(--rvm-red); font-size: 1.6rem; font-weight: 400; line-height: 1; }
#rvm-site .rvm-course-card > a:hover h3 { color: var(--rvm-red); }
#rvm-site .rvm-course-card > a:hover .rvm-arrow { transform: translate(2px, -2px); }
#rvm-site .rvm-course-card .rvm-arrow { transition: transform .2s ease; }
#rvm-site .rvm-professional-group { margin-top: 39px; }
#rvm-site .rvm-professional-heading { margin-bottom: 20px; color: var(--rvm-blue); font-size: 1.35rem; }
#rvm-site .rvm-professional-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 33px; }
#rvm-site .rvm-course-row > a { display: grid; grid-template-columns: 28px minmax(0, 1fr) 22px; align-items: center; gap: 15px; padding: 20px 0; border-top: 1px solid var(--rvm-line); }
#rvm-site .rvm-course-row .rvm-course-copy { padding: 0; }
#rvm-site .rvm-course-row .rvm-course-copy h3 { margin: 0; font-size: 1.03rem; line-height: 1.35; }
#rvm-site .rvm-course-row .rvm-course-copy p { margin-top: 7px; font-size: .74rem; }
#rvm-site .rvm-row-index { align-self: start; padding-top: 3px; color: var(--rvm-red); font-size: .65rem; font-weight: 700; letter-spacing: .06em; }
#rvm-site .rvm-course-row .rvm-arrow { position: static; margin: 0; font-size: 1.35rem; }

/* Editorial sections: real photographs, generous space and simple rules. */
#rvm-site .rvm-section { padding: 105px 0; }
#rvm-site .rvm-section-soft { background: var(--rvm-soft); }
#rvm-site .rvm-section-dark { background: var(--rvm-blue); color: #fff; }
#rvm-site .rvm-section-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: end; margin-bottom: 44px; }
#rvm-site .rvm-section-head h2 { max-width: 740px; }
#rvm-site .rvm-section-head > p, #rvm-site .rvm-section-head .rvm-lead { max-width: 480px; padding-bottom: 4px; color: var(--rvm-muted); font-size: .94rem; }
#rvm-site .rvm-section-dark .rvm-eyebrow { color: var(--rvm-white); }
#rvm-site .rvm-section-dark .rvm-eyebrow::before { background: var(--rvm-red-light); }
#rvm-site .rvm-section-dark .rvm-section-head > p, #rvm-site .rvm-section-dark .rvm-lead { color: #bdcad4; }
#rvm-site .rvm-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; }
#rvm-site .rvm-photo { position: relative; min-width: 0; }
#rvm-site .rvm-photo img { width: 100%; min-height: 420px; aspect-ratio: 1.1; object-fit: cover; border-radius: 4px; }
#rvm-site .rvm-photo figcaption { max-width: 550px; margin-top: 13px; color: var(--rvm-muted); font-size: .69rem; line-height: 1.8; }
#rvm-site .rvm-copy h2 { margin-bottom: 25px; }
#rvm-site .rvm-copy > p:not(.rvm-eyebrow) { color: var(--rvm-muted); font-size: .93rem; line-height: 1.85; }
#rvm-site .rvm-copy > .rvm-link, #rvm-site .rvm-copy > .rvm-btn { margin-top: 29px; }
#rvm-site .rvm-copy ul { padding-left: 20px; margin: 25px 0 0; color: var(--rvm-muted); font-size: .9rem; }
#rvm-site .rvm-copy li + li { margin-top: 9px; }
#rvm-site .rvm-section-dark .rvm-copy > p:not(.rvm-eyebrow) { color: #c2cdd6; }
#rvm-site .rvm-section-dark .rvm-link { color: #fff; }
#rvm-site .rvm-section-dark .rvm-link::after { color: var(--rvm-white); }
#rvm-site .rvm-proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 35px; padding: 36px 0 0; border-top: 1px solid var(--rvm-line); }
#rvm-site .rvm-proof { padding-right: 20px; }
#rvm-site .rvm-proof strong { display: block; margin-bottom: 13px; color: var(--rvm-blue); font-size: clamp(1.65rem, 2.8vw, 2.65rem); line-height: 1.1; letter-spacing: -.04em; font-weight: 650; }
#rvm-site .rvm-proof h3 { margin-bottom: 12px; font-size: 1.16rem; }
#rvm-site .rvm-proof p { color: var(--rvm-muted); font-size: .8rem; line-height: 1.8; }
#rvm-site .rvm-section-dark .rvm-proof-grid { border-color: #43566a; }
#rvm-site .rvm-section-dark .rvm-proof strong { color: #fff; }
#rvm-site .rvm-section-dark .rvm-proof p { color: #c2cdd6; }

/* A named teacher and a precisely described award, presented without fabricated scores. */
#rvm-site .rvm-teacher { display: grid; grid-template-columns: 370px minmax(0, 1fr); gap: 90px; align-items: center; }
#rvm-site .rvm-teacher-portrait { position: relative; max-width: 370px; }
#rvm-site .rvm-teacher-portrait img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
#rvm-site .rvm-quote { max-width: 730px; }
#rvm-site .rvm-quote h2 { margin-bottom: 23px; }
#rvm-site .rvm-quote > p, #rvm-site .rvm-quote blockquote { color: var(--rvm-muted); font-size: 1.06rem; line-height: 1.8; }
#rvm-site .rvm-quote blockquote { position: relative; padding-left: 24px; border-left: 3px solid var(--rvm-red); }
#rvm-site .rvm-quote blockquote p { color: inherit; font-size: inherit; }
#rvm-site .rvm-quote cite { display: block; margin-top: 20px; color: var(--rvm-blue); font-size: .8rem; font-weight: 700; font-style: normal; }
#rvm-site .rvm-quote .rvm-link { margin-top: 25px; }
#rvm-site .rvm-award { display: flex; align-items: flex-start; gap: 16px; margin-top: 25px; padding: 22px 0 0; border-top: 1px solid var(--rvm-line); color: var(--rvm-blue); font-size: .79rem; line-height: 1.75; }
#rvm-site .rvm-award strong { display: block; font-weight: 700; }
#rvm-site .rvm-award-year { padding-top: 4px; color: var(--rvm-red); font-size: 1.35rem; font-weight: 700; letter-spacing: -.04em; line-height: 1.2; }
#rvm-site .rvm-award p { margin: 0; font-size: .79rem; }
#rvm-site .rvm-award svg { width: 28px; min-width: 28px; height: 28px; color: var(--rvm-red); }

/* A varied photographic strip conveys the school itself. */
#rvm-site .rvm-photo-strip { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 16px; }
#rvm-site .rvm-photo-item { position: relative; min-width: 0; }
#rvm-site .rvm-photo-item button { display: block; width: 100%; padding: 0; border: 0; border-radius: 3px; overflow: hidden; background: var(--rvm-blue); color: #fff; cursor: default; }
#rvm-site .rvm-photo-item button:disabled { opacity: 1; cursor: default; }
#rvm-site .rvm-photo-item img { width: 100%; height: 285px; object-fit: cover; transition: transform .6s cubic-bezier(.2,.6,.3,1); }
#rvm-site .rvm-photo-item figcaption, #rvm-site .rvm-photo-item > p { margin-top: 12px; color: var(--rvm-muted); font-size: .72rem; line-height: 1.8; }
#rvm-site .rvm-photo-item.is-ready button { cursor: zoom-in; }
#rvm-site .rvm-photo-item.is-ready button::after { content: '↗'; position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgb(16 39 63 / 70%); color: #fff; font-size: 1rem; }
#rvm-site #rvm-lightbox { position: fixed; inset: 0; width: fit-content; max-width: min(1160px, calc(100vw - 60px)); max-height: calc(100dvh - 60px); margin: auto; padding: 0; overflow: visible; border: 0; border-radius: 4px; background: transparent; color: #fff; }
#rvm-site #rvm-lightbox:not([open]) { display: none; }
#rvm-site #rvm-lightbox::backdrop { background: rgb(7 18 29 / 90%); }
#rvm-site #rvm-lightbox img { width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 75px); object-fit: contain; border-radius: 3px; }
#rvm-site [data-close-lightbox] { position: absolute; z-index: 2; top: 10px; right: 10px; display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 10px 14px; border: 1px solid #d2dbe4; border-radius: 3px; background: var(--rvm-blue); color: #fff; font-family: inherit; font-size: .9rem; line-height: 1; cursor: pointer; }

#rvm-site .rvm-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 35px; }
#rvm-site .rvm-step { position: relative; padding: 28px 0 0; border-top: 1px solid var(--rvm-line); }
#rvm-site .rvm-step > span { display: block; margin-bottom: 27px; color: var(--rvm-red); font-size: .74rem; font-weight: 700; line-height: 1.5; letter-spacing: .09em; }
#rvm-site .rvm-step h3 { margin-bottom: 17px; font-size: 1.35rem; }
#rvm-site .rvm-step p { color: var(--rvm-muted); font-size: .84rem; line-height: 1.85; }
#rvm-site .rvm-section-dark .rvm-step { border-color: #43566a; }
#rvm-site .rvm-section-dark .rvm-step > span { color: var(--rvm-white); }
#rvm-site .rvm-section-dark .rvm-step p { color: #c2cdd6; }
#rvm-site .rvm-faq { border-top: 1px solid var(--rvm-line); }
#rvm-site .rvm-faq details { border-bottom: 1px solid var(--rvm-line); }
#rvm-site .rvm-faq summary { position: relative; padding: 24px 50px 24px 0; color: var(--rvm-blue); list-style: none; font-size: .97rem; font-weight: 650; line-height: 1.6; cursor: pointer; }
#rvm-site .rvm-faq summary::-webkit-details-marker { display: none; }
#rvm-site .rvm-faq summary::after { content: '+'; position: absolute; top: 21px; right: 6px; color: var(--rvm-red); font-size: 1.65rem; font-weight: 400; line-height: 1.4; }
#rvm-site .rvm-faq details[open] summary::after { content: '−'; }
#rvm-site .rvm-faq details > :not(summary) { max-width: 960px; padding: 0 50px 25px 0; margin: 0; color: var(--rvm-muted); font-size: .88rem; line-height: 1.9; }
#rvm-site .rvm-faq details > div p + p { margin-top: 13px; }

/* Contacts and footer */
#rvm-site .rvm-cta { padding: 76px 0; background: var(--rvm-red); color: #fff; }
#rvm-site .rvm-cta > .rvm-wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 85px; align-items: center; }
#rvm-site .rvm-cta h2 { max-width: 700px; }
#rvm-site .rvm-cta p { max-width: 560px; margin-top: 21px; color: var(--rvm-white); font-size: .94rem; }
#rvm-site .rvm-cta .rvm-eyebrow { color: #fff; }
#rvm-site .rvm-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
#rvm-site .rvm-contact > a:not(.rvm-btn) { font-size: clamp(1.1rem, 2.1vw, 1.8rem); font-weight: 650; line-height: 1.5; text-decoration: none; overflow-wrap: anywhere; }
#rvm-site .rvm-contact > a:not(.rvm-btn):hover { text-decoration: underline; text-decoration-color: #fff; }
#rvm-site .rvm-contact .rvm-btn { margin-top: 9px; }
#rvm-site .rvm-footer { padding: 64px 0 0; background: var(--rvm-black); color: #fff; }
#rvm-site .rvm-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 55px; padding-bottom: 49px; }
#rvm-site .rvm-footer .rvm-brand { max-width: 240px; margin-bottom: 24px; }
#rvm-site .rvm-footer .rvm-brand img { background: #fff; border-radius: 3px; padding: 5px 10px; }
#rvm-site .rvm-footer h2, #rvm-site .rvm-footer h3, #rvm-site .rvm-footer h4 { margin: 7px 0 22px; font-size: .73rem; font-weight: 650; letter-spacing: .06em; line-height: 1.5; text-transform: uppercase; }
#rvm-site .rvm-footer p { max-width: 300px; color: #b3bfcb; font-size: .76rem; line-height: 1.9; }
#rvm-site .rvm-footer nav > a, #rvm-site .rvm-footer-grid > div > a:not(.rvm-brand) { display: block; width: fit-content; margin-top: 11px; color: #bac6d1; font-size: .76rem; line-height: 1.65; text-decoration: none; }
#rvm-site .rvm-footer a:not(.rvm-brand):hover { color: #fff; }
#rvm-site .rvm-footer ul { display: grid; gap: 11px; padding: 0; margin: 0; list-style: none; }
#rvm-site .rvm-footer li a { color: #bac6d1; font-size: .76rem; text-decoration: none; }
#rvm-site .rvm-footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding: 24px 0; border-top: 1px solid #2d4156; color: #9eafbe; font-size: .67rem; line-height: 1.8; }
#rvm-site .rvm-footer-bottom > div { display: flex; flex-wrap: wrap; gap: 20px; }
#rvm-site .rvm-footer-bottom a { color: inherit; text-decoration: none; }

/* Existing pages: typography and page geometry only. Commerce widgets keep their rules. */
#rvm-site .rvm-page-top { padding: 25px 0 56px; border-bottom: 1px solid var(--rvm-line); background: var(--rvm-soft); }
#rvm-site .rvm-breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 42px; color: var(--rvm-muted); font-size: .7rem; line-height: 1.7; }
#rvm-site .rvm-breadcrumbs a { text-decoration: none; }
#rvm-site .rvm-page-top h1 { max-width: 1100px; font-size: clamp(2.6rem, 5.2vw, 4.5rem); }
#rvm-site .rvm-page-top p:not(.rvm-eyebrow) { max-width: 790px; margin-top: 23px; color: var(--rvm-muted); font-size: .98rem; line-height: 1.9; }
#rvm-site .rvm-page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 70px; align-items: start; padding-top: 58px; padding-bottom: 90px; }
#rvm-site .rvm-content { min-width: 0; }
#rvm-site .rvm-content p { overflow-wrap: anywhere; }
#rvm-site .rvm-content .entry-content > h2 { margin: 43px 0 23px; font-size: clamp(1.8rem, 2.8vw, 2.6rem); }
#rvm-site .rvm-content .entry-content > h2:first-child { margin-top: 0; }
#rvm-site .rvm-content .entry-content > h3 { margin: 31px 0 19px; font-size: 1.45rem; }
#rvm-site .rvm-content .entry-content > p { margin: 0 0 19px; color: var(--rvm-ink); font-size: .97rem; line-height: 1.9; }
#rvm-site .rvm-content .entry-content > ul, #rvm-site .rvm-content .entry-content > ol { margin: 24px 0; padding-left: 22px; font-size: .94rem; }
#rvm-site .rvm-content .entry-content > :is(ul, ol) > li + li { margin-top: 10px; }
#rvm-site .rvm-content .entry-content > figure { margin: 30px 0; }
#rvm-site .rvm-content .entry-content > img { margin: 25px 0; }
#rvm-site .rvm-content .entry-content > blockquote { margin: 30px 0; padding: 7px 0 7px 23px; border-left: 3px solid var(--rvm-red); font-size: 1.1rem; }
#rvm-site .rvm-sidebar { position: sticky; top: 25px; padding: 27px; border: 1px solid var(--rvm-line); border-top: 3px solid var(--rvm-red); background: #fff; border-radius: 3px; }
#rvm-site .rvm-sidebar h2, #rvm-site .rvm-sidebar h3 { margin-bottom: 18px; font-size: 1.3rem; }
#rvm-site .rvm-sidebar p { color: var(--rvm-muted); font-size: .8rem; line-height: 1.8; }
#rvm-site .rvm-sidebar .rvm-btn { display: flex; margin-top: 23px; padding-inline: 15px; font-size: .75rem; }
#rvm-site .rvm-sidebar .rvm-link { margin-top: 18px; font-size: .77rem; }

@media (hover: hover) and (pointer: fine) {
  #rvm-site .rvm-photo-item.is-ready button:hover img { transform: scale(1.035); }
}
@media (min-width: 1500px) {
  #rvm-site .rvm-hero { min-height: 790px; }
  #rvm-site .rvm-hero-copy { padding-top: 108px; }
}
@media (max-width: 1180px) {
  #rvm-site .rvm-wrap { width: calc(100% - 64px); }
  #rvm-site .rvm-header-main { gap: 22px; }
  #rvm-site .rvm-brand { width: 213px; }
  #rvm-site .rvm-nav { gap: 19px; font-size: .73rem; }
  #rvm-site .rvm-nav .rvm-btn { padding-inline: 17px; font-size: .73rem; }
  #rvm-site .rvm-hero { min-height: 690px; }
  #rvm-site .rvm-hero h1 { max-width: 700px; }
  #rvm-site .rvm-hero-copy { padding-top: 78px; padding-bottom: 150px; }
  #rvm-site .rvm-quick > .rvm-wrap, #rvm-site .rvm-quick.rvm-wrap { padding: 30px; }
  #rvm-site .rvm-quick-header { align-items: flex-start; }
  #rvm-site .rvm-course-tabs button { padding: 10px 12px; font-size: .66rem; }
  #rvm-site .rvm-split { gap: 55px; }
  #rvm-site .rvm-section-head { gap: 55px; }
  #rvm-site .rvm-teacher { grid-template-columns: 320px minmax(0, 1fr); gap: 60px; }
  #rvm-site .rvm-proof-grid { gap: 25px; }
  #rvm-site .rvm-cta > .rvm-wrap { gap: 50px; }
  #rvm-site .rvm-footer-grid { gap: 35px; }
  #rvm-site .rvm-page-layout { gap: 40px; grid-template-columns: minmax(0, 1fr) 270px; }
}
@media (max-width: 1180px) {
  #rvm-site .rvm-header-main { flex-wrap: wrap; min-height: 94px; gap: 0; }
  #rvm-site .rvm-brand { margin-right: auto; width: 225px; }
  #rvm-site .rvm-brand img { height: 71px; }
  #rvm-site .rvm-language { margin-inline: 20px; }
  #rvm-site.rvm-js [data-menu] { display: block; }
  #rvm-site .rvm-nav { order: 5; display: flex; flex-direction: column; align-items: stretch; gap: 0; width: 100%; margin-left: 0; padding: 18px 0 25px; border-top: 1px solid var(--rvm-line); font-size: .85rem; }
  #rvm-site.rvm-js .rvm-nav { display: none; }
  #rvm-site .rvm-header[data-open] .rvm-nav { display: flex; }
  #rvm-site .rvm-nav > a, #rvm-site .rvm-mega > summary { display: flex; padding: 12px 0; }
  #rvm-site .rvm-nav .rvm-btn { align-self: flex-start; margin-top: 10px; padding: 13px 22px; font-size: .78rem; }
  #rvm-site .rvm-mega > :not(summary) { position: static; width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 10px; padding: 15px 13px; border: 0; border-left: 2px solid var(--rvm-red); border-radius: 0; background: var(--rvm-paper); box-shadow: none; }
  #rvm-site .rvm-school-menu > :not(summary) { grid-template-columns: 1fr; }
  #rvm-site .rvm-mega a { font-size: .8rem; }
  #rvm-site .rvm-hero { min-height: 665px; }
  #rvm-site .rvm-hero-photo img { object-position: 62% center; }
  #rvm-site .rvm-hero::after { background: linear-gradient(90deg, rgb(8 23 37 / 87%), rgb(8 23 37 / 60%) 50%, rgb(8 23 37 / 16%)); }
  #rvm-site .rvm-hero h1 { max-width: 650px; font-size: clamp(3.5rem, 7.8vw, 5rem); }
  #rvm-site .rvm-hero .rvm-lead { max-width: 510px; font-size: .94rem; }
  #rvm-site .rvm-quick-header { flex-direction: column; align-items: stretch; gap: 20px; }
  #rvm-site .rvm-course-tabs { align-self: flex-start; }
  #rvm-site .rvm-course-grid { gap: 28px 19px; }
  #rvm-site .rvm-course-copy h3 { font-size: 1.2rem; }
  #rvm-site .rvm-section { padding: 80px 0; }
  #rvm-site .rvm-section-head { gap: 35px; }
  #rvm-site .rvm-section-head > p, #rvm-site .rvm-section-head .rvm-lead { font-size: .86rem; }
  #rvm-site .rvm-split { gap: 40px; }
  #rvm-site .rvm-photo img { min-height: 380px; }
  #rvm-site .rvm-copy > p:not(.rvm-eyebrow) { font-size: .87rem; }
  #rvm-site .rvm-teacher { grid-template-columns: 275px minmax(0, 1fr); gap: 45px; }
  #rvm-site .rvm-quote > p, #rvm-site .rvm-quote blockquote { font-size: .96rem; }
  #rvm-site .rvm-photo-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
  #rvm-site .rvm-photo-item img { height: 225px; }
  #rvm-site .rvm-proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  #rvm-site .rvm-steps { gap: 28px; }
  #rvm-site .rvm-step h3 { font-size: 1.2rem; }
  #rvm-site .rvm-cta > .rvm-wrap { gap: 35px; }
  #rvm-site .rvm-footer-grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 34px; }
  #rvm-site .rvm-footer-grid > :first-child { grid-column: 1 / -1; }
  #rvm-site .rvm-page-layout { grid-template-columns: minmax(0, 1fr) 240px; gap: 29px; }
  #rvm-site .rvm-sidebar { padding: 23px; }
}
@media (max-width: 760px) {
  #rvm-site .rvm-wrap { width: calc(100% - 40px); }
  #rvm-site .rvm-topbar > .rvm-wrap { min-height: 32px; gap: 12px; }
  #rvm-site .rvm-topbar { font-size: .59rem; }
  #rvm-site .rvm-topbar > .rvm-wrap > :last-child { text-align: right; }
  #rvm-site .rvm-topbar > .rvm-wrap { flex-direction: column; align-items: stretch; gap: 0; }
  #rvm-site .rvm-topbar-contact { justify-content: space-between; gap: 10px; padding-block: 6px; }
  #rvm-site .rvm-utility { justify-content: flex-start; gap: 16px; border-top: 1px solid #e7eae7; }
  #rvm-site .rvm-utility a { min-height: 40px; }
  #rvm-site .rvm-header-main { min-height: 86px; }
  #rvm-site .rvm-brand { width: 202px; }
  #rvm-site .rvm-brand img { height: 65px; }
  #rvm-site .rvm-language { margin-inline: 15px; gap: 8px; font-size: .61rem; }
  #rvm-site .rvm-hero { min-height: 680px; }
  #rvm-site .rvm-hero-copy { padding-top: 67px; padding-bottom: 155px; }
  #rvm-site .rvm-hero h1 { max-width: 630px; font-size: clamp(3.2rem, 9.5vw, 4.8rem); }
  #rvm-site .rvm-hero-photo img { object-position: 65% center; }
  #rvm-site .rvm-hero::after { background: linear-gradient(90deg, rgb(8 23 37 / 80%), rgb(8 23 37 / 46%)), linear-gradient(0deg, rgb(8 23 37 / 22%), transparent 60%); }
  #rvm-site .rvm-hero .rvm-lead { max-width: 500px; margin-top: 22px; font-size: .91rem; }
  #rvm-site .rvm-hero .rvm-eyebrow { max-width: 470px; margin-bottom: 22px; }
  #rvm-site .rvm-quick { margin-top: -68px; }
  #rvm-site .rvm-quick > .rvm-wrap, #rvm-site .rvm-quick.rvm-wrap { padding: 27px; }
  #rvm-site .rvm-course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 19px; }
  #rvm-site .rvm-course-card > a > img { aspect-ratio: 1.4; }
  #rvm-site .rvm-course-copy { padding-top: 16px; }
  #rvm-site .rvm-course-copy h3 { font-size: 1.2rem; }
  #rvm-site .rvm-course-copy p { font-size: .75rem; }
  #rvm-site .rvm-professional-list { grid-template-columns: 1fr; }
  #rvm-site .rvm-course-tabs button { font-size: .69rem; padding-inline: 13px; }
  #rvm-site .rvm-section { padding: 64px 0; }
  #rvm-site .rvm-section-head { grid-template-columns: 1fr; gap: 22px; margin-bottom: 32px; }
  #rvm-site .rvm-section-head > p, #rvm-site .rvm-section-head .rvm-lead { max-width: 640px; font-size: .9rem; }
  #rvm-site .rvm-split { grid-template-columns: 1fr; gap: 34px; }
  #rvm-site .rvm-photo img { min-height: 280px; max-height: 520px; aspect-ratio: 1.5; }
  #rvm-site .rvm-copy h2 { max-width: 600px; margin-bottom: 22px; }
  #rvm-site .rvm-copy > p:not(.rvm-eyebrow) { font-size: .9rem; }
  #rvm-site .rvm-teacher { grid-template-columns: 230px minmax(0, 1fr); gap: 32px; align-items: start; }
  #rvm-site .rvm-quote h2 { font-size: 2rem; }
  #rvm-site .rvm-quote > p, #rvm-site .rvm-quote blockquote { font-size: .9rem; }
  #rvm-site .rvm-award { padding-top: 17px; margin-top: 20px; font-size: .74rem; }
  #rvm-site .rvm-photo-strip { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
  #rvm-site .rvm-photo-item:first-child { grid-column: 1 / -1; }
  #rvm-site .rvm-photo-item:first-child img { height: 330px; }
  #rvm-site .rvm-photo-item img { height: 225px; }
  #rvm-site .rvm-proof-grid { padding-top: 28px; gap: 29px; }
  #rvm-site .rvm-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 29px; }
  #rvm-site .rvm-step p { font-size: .8rem; }
  #rvm-site .rvm-step h3 { font-size: 1.14rem; }
  #rvm-site .rvm-cta { padding: 59px 0; }
  #rvm-site .rvm-cta > .rvm-wrap { grid-template-columns: 1fr; gap: 28px; }
  #rvm-site .rvm-cta h2 { max-width: 600px; }
  #rvm-site .rvm-cta p { font-size: .88rem; }
  #rvm-site .rvm-contact { gap: 12px; }
  #rvm-site .rvm-contact > a:not(.rvm-btn) { font-size: 1.5rem; }
  #rvm-site .rvm-footer { padding-top: 48px; }
  #rvm-site .rvm-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 31px; }
  #rvm-site .rvm-footer-grid > :first-child { grid-column: 1 / -1; }
  #rvm-site .rvm-footer h2, #rvm-site .rvm-footer h3 { font-size: .67rem; }
  #rvm-site .rvm-footer nav > a, #rvm-site .rvm-footer-grid > div > a:not(.rvm-brand), #rvm-site .rvm-footer li a { font-size: .72rem; }
  #rvm-site .rvm-page-top { padding-bottom: 43px; }
  #rvm-site .rvm-breadcrumbs { margin-bottom: 31px; font-size: .65rem; }
  #rvm-site .rvm-page-top h1 { font-size: clamp(2.4rem, 7.6vw, 3.6rem); }
  #rvm-site .rvm-page-top p:not(.rvm-eyebrow) { font-size: .91rem; }
  #rvm-site .rvm-page-layout { grid-template-columns: 1fr; gap: 37px; padding-top: 40px; padding-bottom: 65px; }
  #rvm-site .rvm-sidebar { position: static; max-width: 520px; }
}
@media (max-width: 480px) {
  #rvm-site .rvm-wrap { width: calc(100% - 36px); }
  #rvm-site .rvm-topbar { font-size: .57rem; }
  #rvm-site .rvm-topbar > .rvm-wrap > :first-child { max-width: none; }
  #rvm-site .rvm-header-main { min-height: 80px; }
  #rvm-site .rvm-brand { width: 176px; }
  #rvm-site .rvm-brand img { height: 61px; }
  #rvm-site .rvm-language { margin-inline: 10px; gap: 7px; font-size: .57rem; }
  #rvm-site [data-menu] { width: 40px; height: 40px; flex-basis: 40px; padding: 8px; }
  #rvm-site .rvm-eyebrow { gap: 9px; font-size: .62rem; letter-spacing: .12em; }
  #rvm-site .rvm-eyebrow::before { width: 20px; flex-basis: 20px; }
  #rvm-site .rvm-hero { min-height: 680px; }
  #rvm-site .rvm-hero-copy { padding-top: 56px; padding-bottom: 144px; }
  #rvm-site .rvm-hero h1 { font-size: clamp(2.95rem, 11.6vw, 3.8rem); line-height: 1.06; letter-spacing: -.05em; }
  #rvm-site .rvm-hero .rvm-eyebrow { font-size: .6rem; }
  #rvm-site .rvm-hero .rvm-lead { font-size: .86rem; line-height: 1.8; }
  #rvm-site .rvm-hero .rvm-actions { flex-direction: column; align-items: flex-start; gap: 20px; margin-top: 26px; }
  #rvm-site .rvm-hero .rvm-actions .rvm-btn { width: 100%; }
  #rvm-site .rvm-hero .rvm-badge { margin-top: 24px; font-size: .61rem; }
  #rvm-site .rvm-mega > :not(summary) { grid-template-columns: 1fr; gap: 16px; }
  #rvm-site .rvm-btn { min-height: 52px; padding: 14px 23px; font-size: .78rem; }
  #rvm-site .rvm-link { font-size: .77rem; }
  #rvm-site .rvm-quick { margin-top: -65px; }
  #rvm-site .rvm-quick > .rvm-wrap, #rvm-site .rvm-quick.rvm-wrap { padding: 25px 21px 29px; }
  #rvm-site .rvm-quick-header { gap: 19px; margin-bottom: 25px; }
  #rvm-site .rvm-quick-header h2 { font-size: 1.75rem; }
  #rvm-site .rvm-course-tabs { width: 100%; }
  #rvm-site .rvm-course-tabs button { flex: 1 1 auto; padding: 10px 9px; font-size: .64rem; }
  #rvm-site .rvm-course-grid { grid-template-columns: 1fr; gap: 23px; }
  #rvm-site .rvm-course-card > a { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 17px; align-items: center; }
  #rvm-site .rvm-course-card > a > img { width: 104px; height: 112px; aspect-ratio: auto; }
  #rvm-site .rvm-course-copy { padding: 0 0 0; }
  #rvm-site .rvm-course-copy .rvm-label { font-size: .57rem; letter-spacing: .05em; }
  #rvm-site .rvm-course-copy h3 { margin-top: 6px; padding-right: 0; font-size: 1.14rem; line-height: 1.2; }
  #rvm-site .rvm-course-copy p { margin-top: 7px; font-size: .72rem; line-height: 1.65; }
  #rvm-site .rvm-course-card .rvm-arrow { position: static; display: inline-block; margin-top: 8px; font-size: 1.15rem; }
  #rvm-site .rvm-course-row > a { grid-template-columns: 24px minmax(0, 1fr) 18px; gap: 11px; padding-block: 18px; }
  #rvm-site .rvm-course-row .rvm-course-copy h3 { font-size: 1rem; }
  #rvm-site .rvm-course-row .rvm-course-copy p { font-size: .73rem; }
  #rvm-site .rvm-course-row .rvm-arrow { margin: 0; }
  #rvm-site .rvm-section { padding: 54px 0; }
  #rvm-site :where(.rvm-home, .rvm-page-top, .rvm-sidebar) h2:not(:where(.woocommerce, .woocommerce *, .product, .product *, [class*="wc-block"], [class*="wc-block"] *)) { font-size: 2rem; }
  #rvm-site .rvm-professional-heading { font-size: 1.25rem; }
  #rvm-site .rvm-section-head { gap: 19px; margin-bottom: 29px; }
  #rvm-site .rvm-section-head > p, #rvm-site .rvm-section-head .rvm-lead { font-size: .85rem; }
  #rvm-site .rvm-photo img { min-height: 265px; aspect-ratio: 1.15; }
  #rvm-site .rvm-copy > p:not(.rvm-eyebrow) { font-size: .85rem; }
  #rvm-site .rvm-proof-grid { gap: 27px 19px; }
  #rvm-site .rvm-proof { padding-right: 0; }
  #rvm-site .rvm-proof strong { font-size: 1.8rem; }
  #rvm-site .rvm-proof h3 { font-size: 1.07rem; }
  #rvm-site .rvm-proof p { font-size: .75rem; }
  #rvm-site .rvm-teacher { grid-template-columns: 1fr; gap: 30px; }
  #rvm-site .rvm-teacher-portrait { width: 100%; max-width: 300px; }
  #rvm-site .rvm-quote h2 { font-size: 2.1rem; }
  #rvm-site .rvm-quote > p, #rvm-site .rvm-quote blockquote { font-size: .91rem; }
  #rvm-site .rvm-quote blockquote { padding-left: 19px; }
  #rvm-site .rvm-photo-strip { gap: 21px 13px; }
  #rvm-site .rvm-photo-item:first-child img { height: 270px; }
  #rvm-site .rvm-photo-item img { height: 165px; }
  #rvm-site .rvm-photo-item figcaption, #rvm-site .rvm-photo-item > p { font-size: .66rem; }
  #rvm-site #rvm-lightbox { max-width: calc(100vw - 26px); max-height: calc(100dvh - 40px); }
  #rvm-site #rvm-lightbox img { max-height: calc(100dvh - 40px); }
  #rvm-site [data-close-lightbox] { top: 6px; right: 6px; font-size: .75rem; }
  #rvm-site .rvm-steps { grid-template-columns: 1fr; gap: 28px; }
  #rvm-site .rvm-step { padding-top: 22px; padding-left: 45px; }
  #rvm-site .rvm-step > span { position: absolute; top: 22px; left: 0; }
  #rvm-site .rvm-step h3 { font-size: 1.28rem; }
  #rvm-site .rvm-step p { font-size: .83rem; }
  #rvm-site .rvm-faq summary { padding: 22px 37px 22px 0; font-size: .86rem; }
  #rvm-site .rvm-faq summary::after { right: 2px; font-size: 1.45rem; }
  #rvm-site .rvm-faq details > :not(summary) { padding-right: 20px; font-size: .82rem; }
  #rvm-site .rvm-cta { padding: 51px 0; }
  #rvm-site .rvm-cta p { font-size: .85rem; }
  #rvm-site .rvm-contact > a:not(.rvm-btn) { font-size: 1.3rem; }
  #rvm-site .rvm-contact .rvm-btn { width: 100%; }
  #rvm-site .rvm-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 26px; }
  #rvm-site .rvm-footer-grid > :last-child { grid-column: 1 / -1; }
  #rvm-site .rvm-footer p { font-size: .73rem; }
  #rvm-site .rvm-footer h2, #rvm-site .rvm-footer h3 { font-size: .65rem; }
  #rvm-site .rvm-footer-bottom { flex-direction: column; align-items: flex-start; gap: 13px; font-size: .62rem; }
  #rvm-site .rvm-footer-bottom > div { gap: 14px; }
  #rvm-site .rvm-page-top { padding-bottom: 36px; }
  #rvm-site .rvm-page-top h1 { font-size: 2.4rem; }
  #rvm-site .rvm-page-top p:not(.rvm-eyebrow) { font-size: .86rem; }
  #rvm-site .rvm-content .entry-content > p { font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  #rvm-site *, #rvm-site *::before, #rvm-site *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  #rvm-site .rvm-photo-item button:hover img, #rvm-site .rvm-course-card > a:hover .rvm-arrow { transform: none; }
}
@media print {
  #rvm-site { background: #fff; color: #000; }
  #rvm-site .rvm-header, #rvm-site .rvm-footer, #rvm-site .rvm-course-tabs, #rvm-site .rvm-cta, #rvm-site .rvm-actions, #rvm-site #rvm-lightbox { display: none !important; }
  #rvm-site .rvm-wrap { width: 100%; }
  #rvm-site .rvm-hero { min-height: 0; color: #000; background: #fff; }
  #rvm-site .rvm-hero-photo, #rvm-site .rvm-hero::after { display: none; }
  #rvm-site .rvm-hero-copy { padding: 25px 0; }
  #rvm-site .rvm-hero h1, #rvm-site .rvm-hero .rvm-lead { color: #000; }
  #rvm-site .rvm-quick { margin-top: 0; }
  #rvm-site .rvm-quick > .rvm-wrap { box-shadow: none; padding: 20px 0; }
  #rvm-site .rvm-section { padding: 30px 0; }
  #rvm-site .rvm-page-layout, #rvm-site .rvm-split { display: block; }
  #rvm-site .rvm-sidebar { position: static; }
  #rvm-site .rvm-course-card, #rvm-site .rvm-proof, #rvm-site .rvm-step { break-inside: avoid; }
}

/* Keep action contrast independent of Astra's menu link colour. */
#rvm-site .rvm-nav > a.rvm-btn-red, #rvm-site .rvm-nav > a.rvm-btn-red:hover { color: #fff; }

/* A service-specific introduction uses the school's own photographs. */
#rvm-site .rvm-page-intro { margin-top: 28px; }
#rvm-site .rvm-page-intro-photo { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 44px; }
#rvm-site .rvm-page-intro .rvm-lead { margin: 0; max-width: 620px; }
#rvm-site .rvm-page-intro .rvm-actions { margin-top: 24px; }
#rvm-site .rvm-page-intro figure { margin: 0; }
#rvm-site .rvm-page-intro img { width: 100%; height: 290px; object-fit: cover; border-radius: 4px; }
#rvm-site .rvm-related-links { display: flex; flex-wrap: wrap; gap: 16px 26px; margin: 28px 0; }
@media (max-width: 760px) {
  #rvm-site .rvm-page-intro-photo { grid-template-columns: 1fr; gap: 26px; }
  #rvm-site .rvm-page-intro img { height: 220px; }
}

/* The three teaching directions share one clear, reusable visual language. */
#rvm-site .rvm-home .rvm-hero { min-height: 690px; }
#rvm-site .rvm-home .rvm-hero-copy { padding-top: 79px; padding-bottom: 88px; }
#rvm-site .rvm-home .rvm-hero h1 { max-width: 920px; font-size: clamp(2.625rem, 5.45vw, 4.75rem); font-weight: 700; line-height: 1.07; letter-spacing: -.04em; text-transform: uppercase; }
#rvm-site .rvm-hero-slogan { display: block; margin: 24px 0 0; color: #fff; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.9rem, 3.2vw, 2.65rem); font-style: italic; font-weight: 400; line-height: 1.2; letter-spacing: -.035em; }
#rvm-site .rvm-hero-slogan::after { content: ''; display: inline-block; width: 40px; height: 3px; margin-left: 17px; background: var(--rvm-red-light); vertical-align: middle; }
#rvm-site .rvm-hero-directions { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 27px 0 0; list-style: none; color: #f0f3f4; font-size: .8rem; font-weight: 600; line-height: 1.6; }
#rvm-site .rvm-hero-directions li { display: flex; align-items: center; gap: 9px; }
#rvm-site .rvm-hero-directions li::before { content: ''; width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--rvm-red-light); }
#rvm-site .rvm-proof-strip { position: relative; z-index: 5; background: var(--rvm-white); border-bottom: 1px solid var(--rvm-line); }
#rvm-site .rvm-proof-strip .rvm-proof-grid { gap: 0; padding: 0; border-top: 0; }
#rvm-site .rvm-proof-strip .rvm-proof { min-width: 0; padding: 33px 25px 31px; border-right: 1px solid var(--rvm-line); }
#rvm-site .rvm-proof-strip .rvm-proof:first-child { padding-left: 0; }
#rvm-site .rvm-proof-strip .rvm-proof:last-child { padding-right: 0; border-right: 0; }
#rvm-site .rvm-proof-strip strong { display: block; margin-bottom: 7px; color: var(--rvm-blue); font-size: clamp(1.8rem, 2.8vw, 2.65rem); font-weight: 700; line-height: 1.15; letter-spacing: -.05em; }
#rvm-site .rvm-proof-strip .rvm-proof > span { display: block; color: var(--rvm-blue); font-size: .82rem; font-weight: 650; line-height: 1.55; }
#rvm-site .rvm-proof-strip small { display: block; margin-top: 7px; color: var(--rvm-muted); font-size: .64rem; line-height: 1.6; }
#rvm-site .rvm-proof-strip small a { color: inherit; }
#rvm-site .rvm-proof-strip + .rvm-quick { margin-top: 0; padding-top: 64px; }
#rvm-site .rvm-service-group { margin-top: 47px; }
#rvm-site .rvm-service-group:first-of-type { margin-top: 0; }
#rvm-site .rvm-service-group-head { display: flex; align-items: end; justify-content: space-between; gap: 20px 36px; padding-bottom: 23px; margin-bottom: 26px; border-bottom: 1px solid var(--rvm-line); }
#rvm-site .rvm-service-group-head h2, #rvm-site .rvm-service-group-head h3 { max-width: 670px; font-size: clamp(1.6rem, 2.65vw, 2.35rem); line-height: 1.16; }
#rvm-site .rvm-service-group-head p { max-width: 370px; color: var(--rvm-muted); font-size: .82rem; line-height: 1.8; }
#rvm-site .rvm-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 25px; }
#rvm-site .rvm-service-grid .rvm-course-card { overflow: hidden; border: 1px solid #dfe3e1; border-radius: 10px; background: var(--rvm-white); }
#rvm-site .rvm-service-grid .rvm-course-card > a { display: flex; flex-direction: column; gap: 0; }
#rvm-site .rvm-service-art { position: relative; display: block; width: 100%; overflow: hidden; aspect-ratio: 1; background: #f0f1ed; }
#rvm-site .rvm-service-art img { display: block; width: 100%; height: 100%; max-width: none; aspect-ratio: 1; object-fit: contain; transition: transform .65s cubic-bezier(.2,.65,.3,1); }
#rvm-site .rvm-service-grid .rvm-course-copy { flex: 1; padding: 21px 43px 25px 22px; }
#rvm-site .rvm-service-grid .rvm-course-copy h3 { margin-top: 7px; padding-right: 0; font-size: clamp(1.25rem, 1.7vw, 1.55rem); line-height: 1.2; }
#rvm-site .rvm-service-grid .rvm-course-copy p { font-size: .8rem; line-height: 1.8; }
#rvm-site .rvm-service-grid .rvm-arrow { top: 26px; right: 19px; margin: 0; font-size: 1.5rem; }
#rvm-site .rvm-service-grid .rvm-course-copy .rvm-label { font-size: .64rem; }
#rvm-site .rvm-professional-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
#rvm-site .rvm-professional-photos figure { min-width: 0; }
#rvm-site .rvm-professional-photos img { width: 100%; height: 230px; object-fit: cover; border-radius: 6px; }
#rvm-site .rvm-professional-photos figcaption { margin-top: 11px; color: var(--rvm-muted); font-size: .73rem; line-height: 1.75; }

/* Exam vehicles have their own photo-led comparison, separate from services. */
#rvm-site .rvm-exam-section { overflow: hidden; }
#rvm-site .rvm-fleet-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
#rvm-site .rvm-fleet-card { min-width: 0; overflow: hidden; border: 1px solid var(--rvm-line); border-radius: 8px; background: var(--rvm-white); color: var(--rvm-blue); }
#rvm-site .rvm-fleet-card > img, #rvm-site .rvm-fleet-card > figure > img, #rvm-site .rvm-fleet-card > a > img { width: 100%; height: 245px; aspect-ratio: 1.4; object-fit: cover; }
#rvm-site .rvm-fleet-card > div, #rvm-site .rvm-fleet-copy { padding: 26px; }
#rvm-site .rvm-fleet-card > .rvm-eyebrow { margin: 25px 25px 12px; }
#rvm-site .rvm-fleet-card > h3, #rvm-site .rvm-fleet-card > p, #rvm-site .rvm-fleet-card > ul { margin-inline: 25px; }
#rvm-site .rvm-fleet-card > ul { margin-bottom: 28px; }
#rvm-site .rvm-fleet-card .rvm-eyebrow { font-size: .61rem; margin-bottom: 14px; }
#rvm-site .rvm-fleet-card h3 { font-size: 1.5rem; line-height: 1.18; }
#rvm-site .rvm-fleet-card p { margin-top: 15px; color: var(--rvm-muted); font-size: .82rem; line-height: 1.8; }
#rvm-site .rvm-fleet-card ul { display: grid; gap: 8px; padding-left: 18px; margin-top: 20px; color: var(--rvm-muted); font-size: .78rem; line-height: 1.65; }
#rvm-site .rvm-section-dark .rvm-fleet-card { border-color: rgb(255 255 255 / 22%); background: color-mix(in srgb, var(--rvm-blue-dark) 78%, var(--rvm-black)); color: #fff; }
#rvm-site .rvm-section-dark .rvm-fleet-card p, #rvm-site .rvm-section-dark .rvm-fleet-card ul { color: #c7d1d9; }
#rvm-site .rvm-story-link { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 35px; padding: 26px 29px; border-left: 3px solid var(--rvm-red); border-radius: 3px; background: rgb(255 255 255 / 7%); }
#rvm-site .rvm-story-link p { max-width: 790px; color: inherit; font-size: .9rem; line-height: 1.8; }
#rvm-site .rvm-story-link .rvm-link { flex: 0 0 auto; }

/* Locations show real facilities and only request Google after a click. */
#rvm-site .rvm-location-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; }
#rvm-site .rvm-location-card { min-width: 0; overflow: hidden; border: 1px solid var(--rvm-line); border-radius: 9px; background: var(--rvm-white); }
#rvm-site .rvm-location-card > img, #rvm-site .rvm-location-card > figure > img { width: 100%; height: 310px; aspect-ratio: 1.65; object-fit: cover; }
#rvm-site .rvm-location-copy { padding: 29px; }
#rvm-site .rvm-location-card .rvm-eyebrow { margin-bottom: 13px; }
#rvm-site .rvm-location-card h3 { font-size: 1.75rem; }
#rvm-site .rvm-location-card p { margin-top: 15px; color: var(--rvm-muted); font-size: .84rem; line-height: 1.85; }
#rvm-site .rvm-location-card .rvm-link { margin-top: 19px; }
#rvm-site .rvm-yard-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; padding: 25px 28px; min-height: 310px; background: var(--rvm-soft); }
#rvm-site .rvm-yard-facts > * { margin: 0; padding: 20px 16px; }
#rvm-site .rvm-yard-facts strong { display: block; margin-bottom: 7px; color: var(--rvm-blue); font-size: 2rem; line-height: 1.2; letter-spacing: -.045em; }
#rvm-site .rvm-yard-facts span, #rvm-site .rvm-yard-facts small { display: block; color: var(--rvm-grey); font-size: .77rem; line-height: 1.75; }
#rvm-site .rvm-map-frame { display: block; overflow: hidden; border-top: 1px solid var(--rvm-line); background: var(--rvm-soft); }
#rvm-site .rvm-map-frame iframe { display: block; width: 100%; height: clamp(300px, 30vw, 320px); border: 0; }
#rvm-site .rvm-map-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 15px 20px; border-top: 1px solid var(--rvm-line); background: var(--rvm-white); }
#rvm-site .rvm-map-actions .rvm-link { margin: 0; font-size: .75rem; line-height: 1.6; }
#rvm-site .rvm-map-actions .rvm-link:first-child { padding: 9px 14px; border-radius: 4px; background: var(--rvm-blue-light); color: var(--rvm-white); }
#rvm-site .rvm-map-actions .rvm-link:first-child::after { color: var(--rvm-white); }
#rvm-site .rvm-map-actions .rvm-link:first-child:hover { background: var(--rvm-blue-dark); }
#rvm-site .rvm-contact-locations { margin: 35px 0; }
#rvm-site .rvm-contact-locations .rvm-location-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }

/* Keep each platform's rating or audience distinct and show its source. */
#rvm-site .rvm-social-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px; }
#rvm-site .rvm-social-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 31px; border: 1px solid var(--rvm-line); border-radius: 8px; background: var(--rvm-white); }
#rvm-site .rvm-social-card .rvm-eyebrow { margin-bottom: 20px; }
#rvm-site .rvm-social-card h3 { font-size: 1.45rem; }
#rvm-site .rvm-social-card > strong, #rvm-site .rvm-social-score { display: block; margin: 17px 0 8px; color: var(--rvm-blue); font-size: clamp(2.2rem, 3.7vw, 3.3rem); line-height: 1.15; font-weight: 700; letter-spacing: -.05em; }
#rvm-site .rvm-stars { color: #b77a15; font-size: 1.2rem; letter-spacing: .1em; }
#rvm-site .rvm-social-card p { margin-top: 13px; color: var(--rvm-muted); font-size: .82rem; line-height: 1.85; }
#rvm-site .rvm-social-card small { display: block; margin-top: 14px; color: var(--rvm-muted); font-size: .65rem; line-height: 1.75; }
#rvm-site .rvm-social-card .rvm-link { margin-top: auto; padding-top: 22px; }

/* Public course reviews retain their original author, date and source link. */
#rvm-site .rvm-review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
#rvm-site .rvm-review { display: flex; flex-direction: column; gap: 21px; min-width: 0; padding: 29px; border: 1px solid var(--rvm-line); border-radius: 10px; background: var(--rvm-white); }
#rvm-site .rvm-review > p { flex: 1; color: var(--rvm-ink); font-size: .94rem; line-height: 1.85; overflow-wrap: anywhere; }
#rvm-site .rvm-review > h3 { color: var(--rvm-blue-dark); font-size: 1.35rem; line-height: 1.25; }
#rvm-site .rvm-review footer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 9px 18px; align-items: baseline; padding-top: 18px; margin-top: auto; border-top: 1px solid var(--rvm-line); font-size: .78rem; line-height: 1.65; }
#rvm-site .rvm-review footer strong { color: var(--rvm-blue-dark); overflow-wrap: anywhere; }
#rvm-site .rvm-review footer span { color: var(--rvm-grey); font-size: .73rem; }
#rvm-site .rvm-review footer a { grid-column: 1 / -1; color: var(--rvm-blue-light); text-underline-offset: 4px; }
#rvm-site .rvm-footer a[aria-current='page'] { color: var(--rvm-white); text-decoration: underline; text-underline-offset: 4px; }
#rvm-site .rvm-listing { padding-bottom: 70px; }
#rvm-site .rvm-content :is(h2, h3) a { overflow-wrap: anywhere; }
#rvm-site :is(.rvm-enrichment, .rvm-faq) :is(h2, h3, h4) { font-family: inherit; text-transform: none; }
#rvm-site .rvm-search-form { display: flex; align-items: end; gap: 16px; margin: 28px 0 0; max-width: 760px; }
#rvm-site .rvm-search-field { flex: 1; min-width: 0; }
#rvm-site .rvm-search-field label { display: block; margin-bottom: 8px; color: var(--rvm-blue-dark); font-size: .85rem; font-weight: 700; }
#rvm-site .rvm-search-field input { width: 100%; min-height: 54px; margin: 0; padding: 13px 16px; border: 1px solid #aebdc9; border-radius: 4px; background: var(--rvm-white); color: var(--rvm-ink); font-family: inherit; font-size: 1rem; line-height: 1.5; }
#rvm-site .rvm-search-form button { font-family: inherit; }
#rvm-site .rvm-listing-count { margin: 28px 0 0; color: var(--rvm-grey); font-size: .88rem; }
#rvm-site .rvm-listing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 30px 0; }
#rvm-site .rvm-listing-card { display: flex; flex-direction: column; gap: 19px; }
#rvm-site .rvm-listing-card > :is(h2, .rvm-eyebrow, .rvm-listing-excerpt) { margin: 0; }
#rvm-site .rvm-listing-card > h2 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); overflow-wrap: anywhere; }
#rvm-site .rvm-listing-excerpt { color: var(--rvm-ink); font-size: .95rem; line-height: 1.85; overflow-wrap: anywhere; }
#rvm-site .rvm-listing-description { margin-top: 22px; color: var(--rvm-grey); font-size: 1rem; line-height: 1.8; }
#rvm-site .rvm-listing-card > .rvm-link { align-self: flex-start; margin-top: auto; }
#rvm-site .rvm-listing-empty { margin: 30px 0 0; }
#rvm-site .rvm-listing-empty > p { color: var(--rvm-grey); font-size: .98rem; line-height: 1.85; }
#rvm-site .rvm-listing .navigation.pagination { margin-top: 34px; }
@media (max-width: 760px) {
  #rvm-site .rvm-review-grid { grid-template-columns: minmax(0, 1fr); gap: 19px; }
  #rvm-site .rvm-review { padding: 24px; }
  #rvm-site .rvm-listing-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 540px) {
  #rvm-site .rvm-search-form { flex-direction: column; align-items: stretch; }
  #rvm-site .rvm-search-form .rvm-btn { width: 100%; }
}

@keyframes rvm-card-reveal {
  from { opacity: .18; transform: translate3d(0, 24px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* Interior pages and native product pages share the same editorial design.
   All selectors stay inside the existing site; no forms, IDs or URLs are replaced. */
@media screen {
  #rvm-site .rvm-page-top { margin-top: 28px; padding: clamp(25px, 4vw, 52px); border: 1px solid var(--rvm-line); border-radius: 14px; }
  #rvm-site .rvm-page-top .rvm-breadcrumbs { margin-bottom: 25px; }
  #rvm-site .rvm-page-top h1 { font-size: clamp(2.2rem, 4.7vw, 4.2rem); line-height: 1.09; letter-spacing: -.045em; overflow-wrap: anywhere; }
  #rvm-site .rvm-page-intro { margin-top: 29px; padding-top: 26px; border-top: 1px solid var(--rvm-line); }
  #rvm-site .rvm-page-intro-photo { grid-template-columns: minmax(0, 1.2fr) minmax(0, .85fr); gap: 38px; }
  #rvm-site .rvm-page-intro .rvm-lead { max-width: 650px; font-size: 1rem; line-height: 1.85; }
  #rvm-site .rvm-page-intro .rvm-page-service-art { overflow: hidden; border-radius: 12px; background: #f7f5f0; border: 1px solid rgb(0 64 143 / 9%); }
  #rvm-site .rvm-page-intro .rvm-page-service-art img { width: 100%; height: auto; max-height: 410px; aspect-ratio: 1; object-fit: contain; border-radius: 0; }
  #rvm-site .rvm-page-layout { gap: 38px; padding-top: 38px; }
  #rvm-site .rvm-content { min-width: 0; padding: clamp(22px, 3.4vw, 44px); background: var(--rvm-white); border: 1px solid var(--rvm-line); border-radius: 12px; }
  #rvm-site .rvm-page-top + .rvm-content { margin: 32px 0 60px; }
  #rvm-site .rvm-section > .rvm-content + .rvm-content { margin-top: 24px; }
  #rvm-site .rvm-content > h2 { color: var(--rvm-blue-dark); font-family: inherit; font-size: 1.8rem; line-height: 1.25; }
  #rvm-site .rvm-content > h2 a { color: inherit; text-decoration: none; }
  #rvm-site .rvm-content .entry-content { font-family: inherit; font-size: .98rem; line-height: 1.85; overflow-wrap: anywhere; }
  #rvm-site .rvm-content .entry-content :is(h2, h3, h4) { font-family: inherit !important; color: var(--rvm-blue-dark) !important; font-weight: 700; line-height: 1.22; letter-spacing: -.03em; text-wrap: balance; margin: 31px 0 18px; }
  #rvm-site .rvm-content .entry-content h2 { font-size: clamp(1.5rem, 2.35vw, 2.15rem) !important; }
  #rvm-site .rvm-content .entry-content h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem) !important; }
  #rvm-site .rvm-content .entry-content :is(p, li, span, strong, em)[style*='color']:not(:where(.woocommerce *, [class*='wc-block'] *)) { color: inherit !important; }
  #rvm-site .rvm-content .entry-content [style*='font-family']:not(:where(.woocommerce *, [class*='wc-block'] *)) { font-family: inherit !important; }
  #rvm-site .rvm-content .entry-content :is(p, li, span)[style*='font-size']:not(:where(.woocommerce *, [class*='wc-block'] *)) { font-size: inherit !important; }
  #rvm-site .rvm-content .entry-content :is(p, ul, ol, blockquote) { color: var(--rvm-ink); font-size: .98rem; line-height: 1.85; }
  #rvm-site .rvm-content .entry-content :is(p, li) a:not(:where(.button, [role='button'], .wp-element-button, .woocommerce *, [class*='wc-block'] *)) { color: var(--rvm-blue-light) !important; text-underline-offset: 4px; }
  #rvm-site .rvm-content .entry-content .wp-block-buttons a { padding: 14px 22px; border-radius: 4px; background: var(--rvm-red-medium); color: var(--rvm-white); font-family: inherit; font-size: .9rem; font-weight: 700; line-height: 1.5; }
  #rvm-site .rvm-content .entry-content :is(img, video, iframe) { max-width: 100%; }
  #rvm-site .rvm-content .entry-content img { height: auto; border-radius: 7px; }
  #rvm-site .rvm-content .entry-content .wp-block-columns { gap: 22px; flex-wrap: wrap !important; }
  #rvm-site .rvm-content .entry-content .wp-block-column { min-width: 0; }
  #rvm-site .rvm-content .entry-content :is(.alignwide, .alignfull) { max-width: 100%; margin-inline: 0; }
  #rvm-site .rvm-content .entry-content .wp-block-table { max-width: 100%; overflow-x: auto; }
  #rvm-site .rvm-content .entry-content table { border-collapse: collapse; font-size: .88rem; }
  #rvm-site .rvm-content .entry-content :is(th, td) { padding: 13px 15px; border-color: var(--rvm-line); }
  #rvm-site .rvm-content .entry-content th { background: var(--rvm-soft); color: var(--rvm-blue-dark); }
  #rvm-site .rvm-page-context-photo { margin: 0 0 31px; }
  #rvm-site .rvm-page-context-photo img { display: block; width: 100%; height: auto; border-radius: 8px; }
  #rvm-site .rvm-page-context-photo figcaption { padding-top: 9px; color: var(--rvm-grey); font-size: .73rem; line-height: 1.65; }
  #rvm-site .rvm-enrichment { margin-top: 36px; padding-top: 27px; border-top: 1px solid var(--rvm-line); font-size: .96rem; line-height: 1.85; }
  #rvm-site .rvm-enrichment > h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.22; margin: 26px 0 17px; letter-spacing: -.03em; }
  #rvm-site .rvm-enrichment > p { margin: 0 0 20px; color: var(--rvm-grey); }
  #rvm-site :is(.rvm-content, .rvm-product-information) .rvm-faq { margin-top: 34px; padding: 23px 25px 0; background: var(--rvm-paper); border: 1px solid var(--rvm-line); border-radius: 10px; }
  #rvm-site :is(.rvm-content, .rvm-product-information) .rvm-faq h2 { margin: 0 0 20px; color: var(--rvm-blue-dark); font-size: clamp(1.45rem, 2.2vw, 1.95rem); line-height: 1.2; letter-spacing: -.025em; }
  #rvm-site .rvm-related-links { gap: 10px; }
  #rvm-site .rvm-related-links .rvm-link { padding: 12px 15px; border: 1px solid var(--rvm-line); border-radius: 5px; background: var(--rvm-white); }
  #rvm-site .rvm-related-links .rvm-link:hover { border-color: var(--rvm-blue-light); }
  #rvm-site .rvm-source-note { color: var(--rvm-grey); font-size: .73rem; line-height: 1.8; }
  #rvm-site .rvm-source-note a { color: var(--rvm-blue-light); }
  #rvm-site .rvm-sidebar { padding: 28px; border: 0; border-top: 4px solid var(--rvm-red-light); border-radius: 10px; background-color: var(--rvm-blue-dark); background-image: linear-gradient(132deg, transparent 0 68%, rgb(1 103 187 / 40%) 68% 88%, transparent 88%); color: var(--rvm-white); }
  #rvm-site .rvm-sidebar :is(h2, h3, p, .rvm-eyebrow, .rvm-link) { color: var(--rvm-white); }
  #rvm-site .rvm-sidebar .rvm-eyebrow::before { background: var(--rvm-red-light); }
  #rvm-site .rvm-sidebar .rvm-link::after { color: var(--rvm-white); }
  #rvm-site .rvm-sidebar p { font-size: .84rem; }

  /* Native WooCommerce keeps the original gallery, forms, tabs and review nodes. */
  #rvm-site .rvm-woo { padding-block: 34px 70px; }
  #rvm-site .rvm-woo :is(h1, h2, h3, h4) { font-family: inherit; color: var(--rvm-blue-dark); letter-spacing: -.025em; }
  #rvm-site .rvm-woo .woocommerce-products-header { padding: 31px; margin-bottom: 31px; border: 1px solid var(--rvm-line); border-radius: 12px; background-color: var(--rvm-paper); background-image: linear-gradient(125deg, transparent 0 71%, rgb(1 103 187 / 6%) 71% 89%, transparent 89%); }
  #rvm-site .rvm-woo .woocommerce-products-header__title { font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1.14; }
  #rvm-site .rvm-woo .woocommerce-breadcrumb { margin-bottom: 28px; color: var(--rvm-grey); font-size: .78rem; }
  #rvm-site .rvm-woo .product_title { font-family: inherit; color: var(--rvm-blue-dark); font-size: clamp(2rem, 3.7vw, 3.5rem); font-weight: 700; line-height: 1.13; letter-spacing: -.04em; overflow-wrap: anywhere; }
  #rvm-site .rvm-woo div.product .summary { padding: clamp(23px, 3vw, 36px); border: 1px solid var(--rvm-line); border-radius: 12px; background: var(--rvm-white); }
  #rvm-site .rvm-woo div.product .summary .price { margin: 22px 0; color: var(--rvm-blue-dark); font-size: 2rem; font-weight: 700; }
  #rvm-site .rvm-woo div.product .summary .price ins { color: var(--rvm-red-medium); background: transparent; text-decoration: none; }
  #rvm-site .rvm-woo .woocommerce-product-details__short-description { color: var(--rvm-ink); font-size: .97rem; line-height: 1.8; }
  #rvm-site .rvm-woo div.product .summary form.cart { padding-top: 22px; border-top: 1px solid var(--rvm-line); }
  #rvm-site .rvm-woo .summary form.cart .single_add_to_cart_button { min-height: 48px; padding: 14px 24px; border-radius: 4px; background: var(--rvm-red-medium); color: var(--rvm-white); font-family: inherit; font-weight: 700; }
  #rvm-site .rvm-woo .summary form.cart .single_add_to_cart_button:hover { background: var(--rvm-red-dark); }
  #rvm-site .rvm-woo div.product .woocommerce-tabs { clear: both; padding: clamp(22px, 3vw, 38px); margin-block: 36px; border: 1px solid var(--rvm-line); border-radius: 12px; background: var(--rvm-white); }
  #rvm-site .rvm-woo .woocommerce-tabs :is(h2, h3), #rvm-site .rvm-woo .woocommerce-tabs ul.tabs li a { color: var(--rvm-blue-dark); font-family: inherit; }
  #rvm-site .rvm-woo .woocommerce-tabs .panel { color: var(--rvm-ink); font-size: .97rem; line-height: 1.85; }
  #rvm-site .rvm-woo .star-rating, #rvm-site .rvm-woo .star-rating::before, #rvm-site .rvm-woo .star-rating span::before, #rvm-site .rvm-woo p.stars a { color: var(--rvm-blue); }
  #rvm-site .rvm-woo .woocommerce > ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
  #rvm-site .rvm-woo .woocommerce > ul.products::before, #rvm-site .rvm-woo .woocommerce > ul.products::after { content: none; }
  #rvm-site .rvm-woo .woocommerce > ul.products > li.product { float: none; width: auto; margin: 0; overflow: hidden; border: 1px solid var(--rvm-line); border-radius: 10px; background: var(--rvm-white); }
  #rvm-site .rvm-woo .woocommerce > ul.products > li.product .woocommerce-loop-product__title { padding-inline: 20px; color: var(--rvm-blue-dark); font-family: inherit; font-size: 1.25rem; line-height: 1.3; }
  #rvm-site .rvm-woo .woocommerce > ul.products > li.product > .button { margin: 18px 20px 23px; background: var(--rvm-red-medium); color: var(--rvm-white); border-radius: 4px; }
  #rvm-site .rvm-woo .woocommerce > ul.products > li.product .astra-shop-summary-wrap { padding: 20px; }
  #rvm-site .rvm-woo .woocommerce > ul.products > li.product .astra-shop-summary-wrap .woocommerce-loop-product__title { padding-inline: 0; }
  #rvm-site .rvm-woo .woocommerce > ul.products > li.product .astra-shop-summary-wrap > .button { margin: 18px 0 0; background: var(--rvm-red-medium); color: var(--rvm-white); border-radius: 4px; }
  #rvm-site .rvm-woo .woocommerce > ul.products > li.product .astra-shop-summary-wrap .price { color: var(--rvm-blue-dark); font-size: 1.3rem; font-weight: 700; }
  #rvm-site .rvm-service-art-thumbnail, #rvm-site .rvm-service-art-image { aspect-ratio: 1; object-fit: contain; background: #f7f5f0; }
  #rvm-site .rvm-woo .rvm-product-information { width: 100%; margin: 35px 0; }
  #rvm-site .rvm-product-information > .rvm-enrichment { padding: clamp(22px, 3vw, 38px); border: 1px solid var(--rvm-line); border-radius: 12px; background: var(--rvm-white); }

  /* The local visual catalog mirrors the same design, with purchasing still disabled. */
  #rvm-site .rvm-preview-product-summary { margin-top: 28px; padding: clamp(22px, 3vw, 38px); border: 1px solid var(--rvm-line); border-radius: 12px; background: var(--rvm-white); }
  #rvm-site .rvm-preview-product-summary img { aspect-ratio: 1; }
  #rvm-site .rvm-preview-product-summary .rvm-preview-price, #rvm-site .rvm-preview-shop-copy .rvm-preview-price, #rvm-site .rvm-preview-shop-copy h2 a { color: var(--rvm-blue-dark); }
  #rvm-site .rvm-preview-product-summary .rvm-preview-price ins, #rvm-site .rvm-preview-shop-copy .rvm-preview-price ins { color: var(--rvm-red-medium); }
  #rvm-site .rvm-preview-shop-card { border-radius: 10px; }
  #rvm-site .rvm-preview-product-summary > div { font-size: .98rem; line-height: 1.8; }
  #rvm-site .rvm-social-card:first-child { background-color: var(--rvm-blue-dark); background-image: linear-gradient(146deg, transparent 0 73%, rgb(1 103 187 / 35%) 73%); color: var(--rvm-white); }
  #rvm-site .rvm-social-card:first-child :is(h3, p, strong, small, .rvm-link, .rvm-eyebrow), #rvm-site .rvm-social-card:first-child .rvm-link::after { color: var(--rvm-white); }
  #rvm-site .rvm-social-card:first-child .rvm-eyebrow::before { background: var(--rvm-red-light); }

  @media (max-width: 980px) {
    #rvm-site .rvm-page-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; }
    #rvm-site .rvm-sidebar { padding: 23px; }
    #rvm-site .rvm-page-intro-photo { gap: 24px; }
  }
  @media (max-width: 760px) {
    #rvm-site .rvm-page-top { padding: 25px 23px; margin-top: 20px; }
    #rvm-site .rvm-page-intro-photo, #rvm-site .rvm-page-layout { grid-template-columns: minmax(0, 1fr); }
    #rvm-site .rvm-page-intro .rvm-page-service-art { width: 100%; max-width: 390px; margin-inline: auto; }
    #rvm-site .rvm-page-top h1 { font-size: clamp(2rem, 7vw, 3rem); }
    #rvm-site .rvm-page-layout { padding-top: 26px; }
    #rvm-site .rvm-content { padding: 24px; }
    #rvm-site :is(.rvm-content, .rvm-product-information) .rvm-faq { padding: 20px 17px 0; }
    #rvm-site .rvm-woo .woocommerce > ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  }
  @media (max-width: 540px) {
    #rvm-site .rvm-content { padding: 21px; }
    #rvm-site .rvm-page-intro .rvm-actions .rvm-btn { width: 100%; }
    #rvm-site .rvm-related-links .rvm-link { width: 100%; justify-content: space-between; }
    #rvm-site .rvm-woo .woocommerce > ul.products { grid-template-columns: minmax(0, 1fr); }
    #rvm-site .rvm-preview-shop-card { display: flex; }
    #rvm-site .rvm-preview-product-summary { padding: 21px; }
  }
}
@media (prefers-reduced-motion: no-preference) {
  #rvm-site .rvm-reveal-enter { animation: rvm-card-reveal .68s cubic-bezier(.18,.65,.25,1) var(--rvm-reveal-delay, 0ms) backwards; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  #rvm-site .rvm-service-grid .rvm-course-card { transition: border-color .25s ease, box-shadow .25s ease; }
  #rvm-site .rvm-service-grid .rvm-course-card:has(a:hover) { border-color: #b9c2bf; box-shadow: 0 11px 26px rgb(16 39 63 / 7%); }
  #rvm-site .rvm-service-grid .rvm-course-card > a:hover .rvm-service-art img { transform: scale(1.035); }
}
@media (max-width: 1180px) {
  #rvm-site .rvm-home .rvm-hero { min-height: 650px; }
  #rvm-site .rvm-home .rvm-hero-copy { padding-top: 70px; padding-bottom: 78px; }
  #rvm-site .rvm-home .rvm-hero h1 { max-width: 850px; }
  #rvm-site .rvm-proof-strip .rvm-proof-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  #rvm-site .rvm-proof-strip .rvm-proof { padding: 28px 18px; }
  #rvm-site .rvm-proof-strip strong { font-size: 2rem; }
  #rvm-site .rvm-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #rvm-site .rvm-professional-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 27px 20px; }
  #rvm-site .rvm-professional-photos img { height: 270px; }
  #rvm-site .rvm-fleet-grid { gap: 19px; }
  #rvm-site .rvm-fleet-card > div, #rvm-site .rvm-fleet-copy { padding: 22px; }
  #rvm-site .rvm-fleet-card > img, #rvm-site .rvm-fleet-card > figure > img, #rvm-site .rvm-fleet-card > a > img { height: 205px; }
  #rvm-site .rvm-social-card { padding: 25px; }
  #rvm-site .rvm-location-grid { gap: 25px; }
}
@media (max-width: 760px) {
  #rvm-site .rvm-home .rvm-hero { min-height: 610px; }
  #rvm-site .rvm-home .rvm-hero-copy { padding-top: 59px; padding-bottom: 67px; }
  #rvm-site .rvm-home .rvm-hero h1 { font-size: clamp(2.625rem, 7.3vw, 3.6rem); }
  #rvm-site .rvm-hero-slogan { margin-top: 21px; font-size: 2rem; }
  #rvm-site .rvm-hero-directions { gap: 9px 18px; margin-top: 24px; font-size: .72rem; }
  #rvm-site .rvm-proof-strip .rvm-proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #rvm-site .rvm-proof-strip .rvm-proof { padding: 25px 18px; }
  #rvm-site .rvm-proof-strip .rvm-proof:nth-child(odd) { padding-left: 0; }
  #rvm-site .rvm-proof-strip .rvm-proof:nth-child(even) { padding-right: 0; border-right: 0; }
  #rvm-site .rvm-proof-strip .rvm-proof:nth-child(n+3) { border-top: 1px solid var(--rvm-line); }
  #rvm-site .rvm-proof-strip + .rvm-quick { padding-top: 38px; }
  #rvm-site .rvm-service-group { margin-top: 37px; }
  #rvm-site .rvm-service-group-head { flex-direction: column; align-items: flex-start; gap: 15px; margin-bottom: 22px; padding-bottom: 20px; }
  #rvm-site .rvm-service-group-head p { max-width: 540px; }
  #rvm-site .rvm-service-grid { gap: 25px 19px; }
  #rvm-site .rvm-service-grid .rvm-course-copy { padding: 19px 36px 23px 19px; }
  #rvm-site .rvm-service-grid .rvm-arrow { top: 24px; right: 15px; font-size: 1.3rem; }
  #rvm-site .rvm-service-grid .rvm-course-copy h3 { font-size: 1.3rem; }
  #rvm-site .rvm-service-grid .rvm-course-copy p { font-size: .76rem; }
  #rvm-site .rvm-professional-photos { gap: 24px 16px; margin-top: 31px; }
  #rvm-site .rvm-professional-photos img { height: 210px; }
  #rvm-site .rvm-fleet-grid { grid-template-columns: 1fr; gap: 25px; }
  #rvm-site .rvm-fleet-card > img, #rvm-site .rvm-fleet-card > figure > img, #rvm-site .rvm-fleet-card > a > img { height: 300px; }
  #rvm-site .rvm-fleet-card h3 { font-size: 1.65rem; }
  #rvm-site .rvm-story-link { flex-direction: column; align-items: flex-start; gap: 17px; padding: 24px; }
  #rvm-site .rvm-story-link p { font-size: .85rem; }
  #rvm-site .rvm-location-grid { grid-template-columns: 1fr; gap: 29px; }
  #rvm-site .rvm-location-card > img, #rvm-site .rvm-location-card > figure > img { height: 320px; }
  #rvm-site .rvm-location-copy { padding: 26px; }
  #rvm-site .rvm-social-grid { grid-template-columns: 1fr; gap: 19px; }
  #rvm-site .rvm-social-card { padding: 29px; }
}
@media (max-width: 540px) {
  #rvm-site .rvm-service-grid { grid-template-columns: 1fr; gap: 25px; }
  #rvm-site .rvm-service-grid .rvm-course-card > a { display: flex; }
  #rvm-site .rvm-service-grid .rvm-course-copy { padding: 23px 43px 26px 23px; }
  #rvm-site .rvm-service-grid .rvm-course-copy h3 { font-size: 1.5rem; }
  #rvm-site .rvm-service-grid .rvm-course-copy .rvm-label { font-size: .63rem; }
  #rvm-site .rvm-service-grid .rvm-course-copy p { font-size: .83rem; }
  #rvm-site .rvm-service-grid .rvm-arrow { position: absolute; display: block; top: 28px; right: 20px; }
  #rvm-site .rvm-service-group-head h2, #rvm-site .rvm-service-group-head h3 { font-size: 1.7rem; }
  #rvm-site .rvm-home .rvm-hero h1 { font-size: 2.625rem; line-height: 1.08; letter-spacing: -.045em; }
  #rvm-site .rvm-home .rvm-hero-copy { padding-top: 48px; padding-bottom: 55px; }
  #rvm-site .rvm-home .rvm-hero { min-height: 620px; }
  #rvm-site .rvm-hero-slogan { font-size: 1.9rem; }
  #rvm-site .rvm-hero-directions { flex-direction: column; gap: 8px; font-size: .73rem; }
  #rvm-site .rvm-home .rvm-hero .rvm-actions { margin-top: 25px; }
  #rvm-site .rvm-proof-strip strong { font-size: 1.9rem; }
  #rvm-site .rvm-proof-strip .rvm-proof > span { font-size: .75rem; }
  #rvm-site .rvm-proof-strip small { font-size: .61rem; }
  #rvm-site .rvm-professional-photos img { height: 170px; }
  #rvm-site .rvm-professional-photos figcaption { font-size: .69rem; }
  #rvm-site .rvm-fleet-card > img, #rvm-site .rvm-fleet-card > figure > img, #rvm-site .rvm-fleet-card > a > img { height: 235px; }
  #rvm-site .rvm-location-card > img, #rvm-site .rvm-location-card > figure > img { height: 235px; }
  #rvm-site .rvm-yard-facts { min-height: 265px; padding: 15px; }
  #rvm-site .rvm-yard-facts > * { padding: 18px 13px; }
  #rvm-site .rvm-yard-facts strong { font-size: 1.8rem; }
  #rvm-site .rvm-location-copy { padding: 24px; }
  #rvm-site .rvm-location-card h3 { font-size: 1.6rem; }
}
@media print {
  #rvm-site .rvm-home .rvm-hero { min-height: 0; }
  #rvm-site .rvm-home .rvm-hero-copy { padding: 25px 0; }
  #rvm-site .rvm-home .rvm-hero-slogan, #rvm-site .rvm-home .rvm-hero-directions { color: #000; }
  #rvm-site .rvm-reveal-enter { animation: none !important; transform: none !important; opacity: 1 !important; }
  #rvm-site .rvm-map-frame { background: transparent; }
  #rvm-site .rvm-map-frame iframe { display: none; }
  #rvm-site .rvm-service-grid .rvm-course-card, #rvm-site .rvm-fleet-card, #rvm-site .rvm-location-card, #rvm-site .rvm-social-card { break-inside: avoid; }
}

/* A service illustration spans the title and intro on desktop, keeping the
   header compact rather than pushing its useful copy below a separate title row. */
@media screen and (min-width: 761px) {
  #rvm-site .rvm-page-top:has(> .rvm-page-intro > .rvm-page-service-art) {
    display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .85fr); column-gap: 38px; row-gap: 18px; align-items: start;
  }
  #rvm-site .rvm-page-top:has(.rvm-page-service-art) > .rvm-breadcrumbs { grid-column: 1 / -1; margin-bottom: 6px; }
  #rvm-site .rvm-page-top:has(.rvm-page-service-art) > :is(.rvm-eyebrow, h1) { grid-column: 1; margin: 0; }
  #rvm-site .rvm-page-top:has(.rvm-page-service-art) > .rvm-page-intro { display: contents; }
  #rvm-site .rvm-page-top:has(.rvm-page-service-art) .rvm-page-intro > div { grid-column: 1; }
  #rvm-site .rvm-page-top:has(.rvm-page-service-art) .rvm-page-intro .rvm-lead { margin: 0; }
  #rvm-site .rvm-page-top .rvm-page-intro > .rvm-page-service-art { grid-column: 2; grid-row: 2 / 5; align-self: center; }
}

/* Plokštumų fonavimas — the owner's flat, faceted surface language.
   Broad tonal planes vary with each section. They are CSS backgrounds only:
   no bevel, grain image, moving layer, extra request or content overlay.
   Photographs, white cards, long copy and native WooCommerce controls stay clear. */
@media screen {
  #rvm-site :is(.rvm-quick-header, .rvm-service-group-head, .rvm-section-head, .rvm-quote, .rvm-page-top, .rvm-location-copy, .rvm-social-card) :is(h1, h2, h3) {
    color: var(--rvm-blue-dark);
  }
  #rvm-site .rvm-content .entry-content > :is(h2, h3),
  #rvm-site .rvm-enrichment > :is(h2, h3) { color: var(--rvm-blue-dark); }
  #rvm-site .rvm-content .entry-content > :is(p, ul, ol) a,
  #rvm-site .rvm-breadcrumbs a { color: var(--rvm-blue-light); }
  #rvm-site .rvm-nav > a:not(.rvm-btn):not([aria-current='page']),
  #rvm-site .rvm-mega > summary { color: var(--rvm-blue-light); }
  #rvm-site .rvm-nav > a:not(.rvm-btn):hover,
  #rvm-site .rvm-mega > summary:hover { color: var(--rvm-red-dark); }
  #rvm-site .rvm-proof-strip strong { color: var(--rvm-blue-light); }
  #rvm-site .rvm-proof-strip .rvm-proof:nth-child(3) strong { color: var(--rvm-red-medium); }
  #rvm-site .rvm-course-tabs button[aria-pressed='true'] { background: var(--rvm-blue-light); }
  #rvm-site .rvm-stars { color: var(--rvm-red-medium); }

  /* The photograph remains the hero; two quiet planes pick up its right edge. */
  #rvm-site .rvm-hero::after {
    background:
      linear-gradient(123deg, transparent 0 65%, rgb(1 103 187 / 17%) 65% 83%, transparent 83%),
      linear-gradient(24deg, transparent 0 76%, rgb(0 64 143 / 22%) 76%),
      linear-gradient(90deg, rgb(33 35 37 / 94%) 0%, rgb(0 64 143 / 83%) 35%, rgb(0 64 143 / 18%) 78%),
      linear-gradient(0deg, rgb(33 35 37 / 38%), transparent 55%);
  }
  #rvm-site .rvm-hero .rvm-eyebrow::before { background: var(--rvm-red-light); }
  #rvm-site .rvm-hero .rvm-lead,
  #rvm-site .rvm-hero-directions { color: var(--rvm-white); }
  #rvm-site .rvm-badge { background: rgb(33 35 37 / 45%); }

  /* Fleet: tall blue diagonals, readable even at the lightest brand-blue point. */
  #rvm-site .rvm-section-dark {
    background-color: var(--rvm-blue-dark);
    background-image:
      linear-gradient(126deg, transparent 0 56%, rgb(1 103 187 / 58%) 56% 78%, transparent 78%),
      linear-gradient(28deg, transparent 0 72%, rgb(33 35 37 / 16%) 72%),
      linear-gradient(168deg, rgb(1 103 187 / 22%) 0 27%, transparent 27%);
  }
  #rvm-site .rvm-section-dark .rvm-section-head :is(h2, h3) { color: var(--rvm-white); }
  #rvm-site .rvm-section-dark :is(.rvm-section-head > p, .rvm-lead, .rvm-copy > p, .rvm-proof p, .rvm-step p),
  #rvm-site .rvm-section-dark .rvm-fleet-card :is(p, ul) { color: rgb(255 255 255 / 92%); }
  #rvm-site .rvm-section-dark :is(.rvm-step, .rvm-proof-grid) { border-color: rgb(255 255 255 / 29%); }
  #rvm-site .rvm-story-link { border-left-color: var(--rvm-red-light); background: rgb(33 35 37 / 14%); }

  /* Learning steps: a calmer, shallow sweep; not a repeat of the fleet texture. */
  #rvm-site .rvm-section-dark:has(.rvm-steps) {
    background-image:
      linear-gradient(156deg, transparent 0 70%, rgb(1 103 187 / 48%) 70% 89%, transparent 89%),
      linear-gradient(24deg, rgb(33 35 37 / 15%) 0 28%, transparent 28%),
      linear-gradient(166deg, rgb(1 103 187 / 15%) 0 30%, transparent 30%);
  }

  /* Light surfaces are close to white; cards and their photos carry the detail. */
  #rvm-site .rvm-section-soft {
    background-color: var(--rvm-soft);
    background-image: linear-gradient(132deg, transparent 0 69%, rgb(1 103 187 / 4%) 69% 88%, transparent 88%);
  }
  #rvm-site .rvm-section-soft:has(.rvm-professional-photos) {
    background-image:
      linear-gradient(24deg, rgb(0 64 143 / 4%) 0 27%, transparent 27%),
      linear-gradient(145deg, transparent 0 79%, rgb(1 103 187 / 5%) 79%);
  }
  #rvm-site .rvm-section-soft:has(.rvm-teacher) {
    background-color: var(--rvm-paper);
    background-image:
      linear-gradient(117deg, rgb(70 74 79 / 4%) 0 24%, transparent 24%),
      linear-gradient(24deg, transparent 0 85%, rgb(1 103 187 / 4%) 85%);
  }
  #rvm-site .rvm-section-soft[aria-labelledby='rvm-social-title'] {
    background-color: var(--rvm-paper);
    background-image:
      linear-gradient(152deg, transparent 0 73%, rgb(224 17 23 / 3%) 73%),
      linear-gradient(31deg, rgb(1 103 187 / 3%) 0 21%, transparent 21%);
  }
  #rvm-site .rvm-page-top {
    background-color: var(--rvm-paper);
    background-image:
      linear-gradient(127deg, transparent 0 71%, rgb(1 103 187 / 6%) 71% 89%, transparent 89%),
      linear-gradient(25deg, transparent 0 87%, rgb(0 64 143 / 4%) 87%);
  }
  #rvm-site .rvm-yard-facts {
    background-color: var(--rvm-soft);
    background-image:
      linear-gradient(118deg, transparent 0 58%, rgb(1 103 187 / 9%) 58% 84%, transparent 84%),
      linear-gradient(28deg, rgb(0 64 143 / 4%) 0 30%, transparent 30%);
  }

  /* Contact: medium/dark red with a restrained light-red plane at the edge.
     Light red is blended to keep white small text above 4.5:1 everywhere. */
  #rvm-site .rvm-cta {
    background-color: var(--rvm-red-dark);
    background-image:
      linear-gradient(126deg, transparent 0 68%, rgb(253 26 27 / 14%) 68% 88%, transparent 88%),
      linear-gradient(23deg, transparent 0 74%, rgb(207 10 17 / 35%) 74%),
      linear-gradient(145deg, var(--rvm-red-dark) 0 49%, var(--rvm-red-medium) 49%);
  }

  /* Graphite closes the page: wide grey facets, rather than another blue band. */
  #rvm-site .rvm-footer {
    background-color: var(--rvm-black);
    background-image:
      linear-gradient(146deg, transparent 0 74%, rgb(70 74 79 / 31%) 74%),
      linear-gradient(34deg, rgb(70 74 79 / 21%) 0 28%, transparent 28%),
      linear-gradient(165deg, transparent 0 83%, rgb(70 74 79 / 16%) 83%);
  }
  #rvm-site .rvm-footer :is(p, li a, nav > a, .rvm-footer-grid > div > a:not(.rvm-brand)) { color: rgb(255 255 255 / 83%); }
  #rvm-site .rvm-footer :is(li a, nav > a, .rvm-footer-grid > div > a:not(.rvm-brand)):hover {
    color: var(--rvm-white); text-decoration: underline; text-underline-offset: 4px;
  }
  #rvm-site .rvm-footer-bottom { color: rgb(255 255 255 / 76%); border-color: rgb(255 255 255 / 20%); }

  @media (max-width: 760px) {
    #rvm-site .rvm-hero::after {
      background:
        linear-gradient(134deg, transparent 0 78%, rgb(1 103 187 / 16%) 78%),
        linear-gradient(90deg, rgb(33 35 37 / 94%) 0%, rgb(0 64 143 / 85%) 53%, rgb(0 64 143 / 78%) 100%);
    }
    #rvm-site .rvm-section-dark {
      background-image:
        linear-gradient(114deg, transparent 0 80%, rgb(1 103 187 / 28%) 80%),
        linear-gradient(165deg, rgb(1 103 187 / 17%) 0 18%, transparent 18%);
    }
    #rvm-site .rvm-section-dark:has(.rvm-steps) {
      background-image:
        linear-gradient(157deg, transparent 0 83%, rgb(1 103 187 / 32%) 83%),
        linear-gradient(19deg, rgb(33 35 37 / 13%) 0 27%, transparent 27%);
    }
  }
}
