/* Rommelmann · Petrol Editorial. A separate local direction, September 2026.
   Original content, navigation, publications and photo stories retain their behavior.
   The shared fixed canvas connects the page; translucent chapter washes add rhythm. */
body.ri-editorial-depth {
  --rp-white:#fffaf0; --rp-copy:#e0edeb; --rp-muted:#d2e4e1;
  --rp-gold:#f6dfb0; --rp-rule:rgba(225,195,132,.38);
  --rp-display:clamp(36px,3.8vw,58px);
  background:#082c34; color:var(--rp-copy);
}
body.ri-editorial-depth main { position:relative; isolation:isolate; }
body.ri-editorial-depth main::before {
  content:""; position:fixed; inset:0; z-index:-1; pointer-events:none;
  background:
    radial-gradient(ellipse at 100% 5%,rgba(70,133,134,.45),transparent 61%),
    radial-gradient(ellipse at 12% 100%,rgba(36,96,105,.7),transparent 53%),
    linear-gradient(110deg,#061f28 2%,#103e47 46%,#24565e 78%,#143941);
}
body.ri-owner-journey.ri-magazine-preview.home-editorial.kc-home.kc-refined.ri-review-finish.ri-petrol-polish.ri-editorial-depth main>section:is(.hero,#maklerleistungen,#vita,#qualitaetsnachweise,#referenzen,#referenzobjekt,#ausgewaehlte-aufnahmen,#medienproduktion,#regionaler-lageatlas,#marktberichte,#broschueren,#faq,#persoenlicher-ersttermin,#kontakt) {
  background:transparent !important; color:var(--rp-copy); border-top:0;
}
body.ri-editorial-depth :is(#qualitaetsnachweise,#referenzobjekt,#medienproduktion,#regionaler-lageatlas,#marktberichte)::before { display:none; }
body.ri-editorial-depth :is(h1,h2,h3) { text-wrap:balance; }
body.ri-editorial-depth main :is(.ed-kicker,.mls-kicker,.vq-kicker,.dc-kicker,.jf-kicker,.st-kicker,.eyebrow) {
  font-size:14px; font-weight:650; letter-spacing:.13em; line-height:1.5;
  color:var(--rp-gold);
}
body.ri-editorial-depth main :is(.ed-link,.mls-contact,.vq-link,.st-link,.mb-actions a) { min-height:44px; }
body.ri-editorial-depth main :is(a,button,summary):focus-visible {
  outline:2px solid var(--rp-gold); outline-offset:5px;
}
/* The original line illustration stands against a stronger field of daylight. */
body.ri-editorial-depth .hero .scene { background:transparent !important; }
body.ri-editorial-depth .hero .scene-two { background:linear-gradient(100deg,rgba(0,16,23,.3),transparent 75%) !important; }
body.ri-editorial-depth .hero .scene-three { background:linear-gradient(145deg,rgba(43,107,114,.28),transparent 70%) !important; }
body.ri-editorial-depth .hero .hero-region { font-size:14px; letter-spacing:.12em; color:var(--rp-gold); max-width:640px; }
body.ri-editorial-depth .hero h1 em { color:var(--rp-gold) !important; }
body.ri-editorial-depth .hero .hero-lead { color:var(--rp-copy); font-size:18px; line-height:1.8; }
body.ri-editorial-depth .hero h1::after { width:106px; background:var(--rp-gold); }
/* Services: the open entry becomes an illuminated page in a dark register. */
body.ri-editorial-depth #maklerleistungen { padding-block:64px; }
body.ri-editorial-depth .mls-shell { gap:clamp(40px,7vw,100px); }
body.ri-editorial-depth #maklerleistungen .mls-intro h2 { font-size:var(--rp-display); line-height:1.08; letter-spacing:-.035em; }
body.ri-editorial-depth .mls-lead { font-size:18px; line-height:1.75; }
body.ri-editorial-depth .mls-agreement { font-size:16px; color:var(--rp-muted); }
body.ri-editorial-depth .mls-tabs { gap:4px; border-bottom:1px solid var(--rp-rule); padding-bottom:10px; }
body.ri-editorial-depth #maklerleistungen .mls-tabs button { font-size:16px; padding:14px 19px; border:1px solid transparent; }
body.ri-editorial-depth #maklerleistungen .mls-tabs button[aria-selected="true"] { background:var(--rp-gold); color:#082c34; border-color:var(--rp-gold); }
body.ri-editorial-depth #maklerleistungen .mls-tabs button:not([aria-selected="true"]):hover { background:#19464e; border-color:var(--rp-rule); color:var(--rp-white); }
body.ri-editorial-depth #maklerleistungen .mls-panel-label { color:var(--rp-muted); font-size:16px; margin-block:18px; }
body.ri-editorial-depth #maklerleistungen .mls-row { border-color:rgba(228,236,225,.24); }
body.ri-editorial-depth #maklerleistungen .mls-row[open] { background:linear-gradient(115deg,#153f47,#235660); border-left:3px solid var(--rp-gold); box-shadow:0 16px 32px -26px #00191f; }
body.ri-editorial-depth #maklerleistungen .mls-row:not([open]):hover { background:rgba(0,20,26,.16); }
body.ri-editorial-depth #maklerleistungen .mls-row-title { font-size:clamp(22px,1.8vw,27px); }
body.ri-editorial-depth #maklerleistungen .mls-number { font-size:16px; color:var(--rp-gold); }
body.ri-editorial-depth .mls-answer p { color:var(--rp-copy); font-size:17px; line-height:1.75; }
body.ri-editorial-depth .mls-method { padding:20px 22px; background:rgba(4,32,39,.35); border-left-color:var(--rp-gold); }
body.ri-editorial-depth .mls-method p { color:var(--rp-copy); font-size:16px; }
body.ri-editorial-depth .rp-service-photo { position:relative; margin:30px 0 0; width:min(100%,360px); border-bottom:1px solid var(--rp-gold); }
body.ri-editorial-depth .rp-service-photo img { display:block; width:100%; aspect-ratio:2/1; height:auto; object-fit:cover; object-position:50% 48%; }
body.ri-editorial-depth .rp-service-photo figcaption { position:absolute; inset:auto 0 0; padding:24px 16px 12px; font-size:16px; color:#fffaf0; background:linear-gradient(transparent,rgba(0,20,26,.84)); }
/* Personal qualifications: open editorial composition; only the proof is paper. */
body.ri-editorial-depth.kc-home.kc-refined #vita.vq-intro { padding-block:62px; }
body.ri-editorial-depth #vita .vq-shell {
  width:min(1240px,calc(100% - 96px)); padding:30px 0;
  grid-template-columns:210px minmax(0,1fr) 180px; column-gap:40px;
  background:none; border:0; border-top:1px solid var(--rp-rule); border-bottom:1px solid var(--rp-rule); box-shadow:none;
}
body.ri-editorial-depth #vita .vq-shell:hover { transform:none; box-shadow:none; }
body.ri-editorial-depth #vita .vq-photo { padding:9px; border:1px solid rgba(225,195,132,.65); align-self:center; }
body.ri-editorial-depth #vita .vq-photo img { width:100%; height:auto; aspect-ratio:4/5; object-fit:cover; border-radius:0; }
body.ri-editorial-depth #vita .vq-photo::after { display:none; }
body.ri-editorial-depth #vita .vq-heading h2 { color:var(--rp-white) !important; font-size:clamp(32px,3.1vw,48px); letter-spacing:-.035em; }
body.ri-editorial-depth #vita .vq-heading .vq-kicker { color:var(--rp-gold); }
body.ri-editorial-depth #vita .vq-credentials { border-color:var(--rp-rule); }
body.ri-editorial-depth #vita .vq-row { grid-template-columns:124px minmax(0,1fr); border-color:rgba(219,239,232,.22); padding-block:13px; }
body.ri-editorial-depth #vita .vq-row dt { color:var(--rp-gold); font-size:15px; }
body.ri-editorial-depth #vita .vq-row dd { color:var(--rp-copy); font-size:17px; line-height:1.55; }
body.ri-editorial-depth #vita .vq-proof { padding:16px 14px 8px; background:#f3f0e6; border:0; border-top:3px solid #d7b972; gap:8px; }
body.ri-editorial-depth #vita .vq-proof .vq-evidence { color:#133841; font-size:16px; }
body.ri-editorial-depth #vita .vq-proof .vq-evidence:hover { background:transparent; color:#123a44; }
body.ri-editorial-depth #vita .vq-link.vq-work { color:var(--rp-white); font-size:16px; }
body.ri-editorial-depth #qualitaetsnachweise { padding-block:20px 54px; }
body.ri-editorial-depth #qualitaetsnachweise .quality-award-copy h2 { font-size:clamp(25px,2.15vw,33px); }
body.ri-editorial-depth #qualitaetsnachweise .quality-award-copy>span { font-size:14px; }
/* Authentic letters sit as individual documents, on a deeper chapter wash. */
body.ri-editorial-depth #referenzen { box-shadow:inset 0 0 0 100vmax rgba(0,18,25,.22); padding-block:64px 54px; }
body.ri-editorial-depth #referenzen .shead { max-width:850px; margin-inline:auto; }
body.ri-editorial-depth #referenzen .shead h2 { font-size:var(--rp-display); }
body.ri-editorial-depth #referenzen .shead p { color:var(--rp-muted); font-size:17px; }
body.ri-editorial-depth #referenzen .rf-card { border-radius:0; border:0; box-shadow:0 18px 30px -22px #001419; }
body.ri-editorial-depth #referenzen .rf-note { margin-top:30px; margin-bottom:0; color:var(--rp-copy); }
/* Original spreads keep their dimensions; the frame gains a more physical edge. */
body.ri-editorial-depth #referenzobjekt { padding-block:64px 48px; }
body.ri-editorial-depth #referenzobjekt .nh-case-heading h2 { font-size:var(--rp-display); }
body.ri-editorial-depth #referenzobjekt .nh-case-heading h2 em { color:var(--rp-gold) !important; }
body.ri-editorial-depth #referenzobjekt .nh-case-photo { border:1px solid var(--rp-rule); padding:7px; }
body.ri-editorial-depth #referenzobjekt .nh-case-photo img { border-radius:0; }
body.ri-editorial-depth #referenzobjekt .reference-publication-stage { filter:drop-shadow(0 22px 20px rgba(0,17,23,.25)); }
body.ri-editorial-depth #referenzobjekt .kc-reference-text-link span { color:var(--rp-muted) !important; font-size:16px; }
body.ri-editorial-depth #referenzobjekt .reference-publication-controls { padding-block:20px 10px; }
body.ri-editorial-depth #referenzobjekt .reference-publication-controls>a { color:var(--rp-white) !important; font-size:16px; }
body.ri-editorial-depth #referenzobjekt .reference-publication-controls>a:is(:hover,:focus-visible) { color:var(--rp-gold) !important; background:transparent; }
/* Image-led journal: existing images and restrained in-image captions are intact. */
body.ri-editorial-depth #ausgewaehlte-aufnahmen .jf-stage { background:transparent; }
body.ri-editorial-depth #ausgewaehlte-aufnahmen .jf-intro { padding-top:40px; border-top:1px solid var(--rp-rule); }
body.ri-editorial-depth #ausgewaehlte-aufnahmen .jf-intro h2 { font-size:var(--rp-display); }
body.ri-editorial-depth #ausgewaehlte-aufnahmen .jf-intro h2 em { color:var(--rp-gold); }
body.ri-editorial-depth .jf-intro-note { color:var(--rp-muted); }
body.ri-editorial-depth #ausgewaehlte-aufnahmen .jf-copy .jf-kicker { font-size:16px; letter-spacing:.075em; color:#edcf8d; }
body.ri-editorial-depth #ausgewaehlte-aufnahmen .jf-copy .jf-link { font-size:16px; }
body.ri-editorial-depth #medienproduktion { padding-block:64px 54px; }
body.ri-editorial-depth #medienproduktion .st-heading h2 { font-size:var(--rp-display); }
body.ri-editorial-depth #medienproduktion .st-heading h2 em { color:var(--rp-gold) !important; }
body.ri-editorial-depth #medienproduktion .st-item[open] { background:rgba(0,24,32,.27); padding:0 24px 24px; border-top:2px solid var(--rp-gold); }
body.ri-editorial-depth #medienproduktion .st-item[open]>summary { border-top:0; }
body.ri-editorial-depth #medienproduktion .st-number { font-size:19px; }
body.ri-editorial-depth #medienproduktion .st-purpose { font-size:16px; }
body.ri-editorial-depth #medienproduktion .st-button { border:1px solid var(--rp-gold); background:#11343d; color:var(--rp-white); }
body.ri-editorial-depth #medienproduktion .st-button:hover { background:var(--rp-gold); color:#082c34; }
/* Regional journal: six readable city tabs above the original working map. */
body.ri-editorial-depth #regionaler-lageatlas { padding-block:64px; box-shadow:inset 0 0 0 100vmax rgba(0,20,27,.17); }
body.ri-editorial-depth #regionaler-lageatlas .dc-heading h2 { font-size:var(--rp-display); }
body.ri-editorial-depth #regionaler-lageatlas .dc-heading h2 em { color:var(--rp-gold) !important; }
body.ri-editorial-depth #regionaler-lageatlas #ed-city-choice-title { color:var(--rp-copy); font-size:18px; }
body.ri-editorial-depth #regionaler-lageatlas .dc-tab { border:1px solid rgba(231,234,213,.35); border-radius:0; }
body.ri-editorial-depth #regionaler-lageatlas .dc-tab[aria-selected="true"] { background:var(--rp-gold); color:#092f38; border-color:var(--rp-gold); }
body.ri-editorial-depth #regionaler-lageatlas .dc-credit { color:var(--rp-muted); }
body.ri-editorial-depth #regionaler-lageatlas .dc-location { box-shadow:0 20px 36px -22px rgba(0,15,23,.65); border-top:3px solid var(--rp-gold); }
/* Publications: a gold rule separates introduction and the large open book. */
body.ri-editorial-depth #marktberichte { padding-block:64px 50px; }
body.ri-editorial-depth #marktberichte .mag-reports-heading { padding-bottom:26px; border-color:var(--rp-rule); }
body.ri-editorial-depth #marktberichte .mag-reports-heading h2 { font-size:var(--rp-display); }
body.ri-editorial-depth #marktberichte .mag-reports-heading h2 em { color:var(--rp-gold) !important; }
body.ri-editorial-depth #marktberichte .mag-report-date { color:var(--rp-gold) !important; font-size:16px; }
body.ri-editorial-depth #marktberichte .mb-feature { gap:40px; padding:32px 0; }
body.ri-editorial-depth #marktberichte .mb-copy h3 { font-size:clamp(30px,3vw,44px); }
body.ri-editorial-depth #marktberichte .mb-open-book { filter:drop-shadow(0 20px 18px rgba(0,16,23,.36)); }
body.ri-editorial-depth #marktberichte .mb-city-editions { padding-top:32px; border-top:1px solid var(--rp-rule); }
body.ri-editorial-depth #marktberichte .mb-city+.mb-city { border-color:var(--rp-rule); }
body.ri-editorial-depth #marktberichte .mb-actions a:hover { color:var(--rp-gold) !important; background:transparent; }
body.ri-editorial-depth #broschueren { box-shadow:inset 0 0 0 100vmax rgba(0,18,25,.24); padding-block:60px 44px; }
body.ri-editorial-depth #broschueren .ob-heading h2 { font-size:var(--rp-display); }
body.ri-editorial-depth #broschueren .ob-heading h2 em { color:var(--rp-gold); }
body.ri-editorial-depth #broschueren .ob-intro>p { font-size:18px; color:var(--rp-copy); }
body.ri-editorial-depth #broschueren .ob-book-caption { color:var(--rp-muted); font-size:16px; }
/* Questions read as a considered index. Hover remains dark and readable. */
body.ri-editorial-depth #faq { padding-block:64px; }
body.ri-editorial-depth #faq .ed-faq-grid { column-gap:clamp(34px,6vw,88px); }
body.ri-editorial-depth #faq h2 { font-size:var(--rp-display); line-height:1.1; }
body.ri-editorial-depth #faq h2 em { color:var(--rp-gold); }
body.ri-editorial-depth.home-editorial.kc-home.kc-refined.ri-review-finish #faq details { border:0; border-bottom:1px solid rgba(225,195,132,.4); border-left:3px solid transparent; background:rgba(0,20,28,.13); margin:0; padding:0 20px; border-radius:0; }
body.ri-editorial-depth.home-editorial.kc-home.kc-refined.ri-review-finish #faq details:is(:hover,:focus-within,[open]) { background:#16424b; border-left-color:var(--rp-gold); }
body.ri-editorial-depth #faq summary { padding-block:22px; color:var(--rp-white); font-size:18px; }
body.ri-editorial-depth #faq details p { color:var(--rp-copy); font-size:17px; line-height:1.7; padding-bottom:16px; }
body.ri-editorial-depth #persoenlicher-ersttermin { border-top:1px solid var(--rp-rule); padding-block:56px; }
body.ri-editorial-depth #persoenlicher-ersttermin h2 { font-size:var(--rp-display); }
body.ri-editorial-depth #persoenlicher-ersttermin h2 em { color:var(--rp-gold); }
body.ri-editorial-depth #persoenlicher-ersttermin .kc-appointment-steps { border-top:1px solid var(--rp-rule); padding-top:24px; }
body.ri-editorial-depth #kontakt { padding-block:52px; box-shadow:inset 0 0 0 100vmax rgba(0,19,27,.3); }
body.ri-editorial-depth #kontakt h2 { font-size:var(--rp-display); }
body.ri-editorial-depth #kontakt h2 em { color:var(--rp-gold); }
body.ri-editorial-depth #kontakt #ed-contact-form { border-top:3px solid var(--rp-gold); box-shadow:0 16px 32px -22px rgba(0,12,19,.7); }
/* Short, content-led feedback; no animation hides content on first render. */
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
  body.ri-editorial-depth :is(.mls-row,.mls-tabs button,.vq-link,.mb-actions a,#faq details,.st-button) { transition:background-color .2s ease,border-color .2s ease,color .2s ease; }
  body.ri-editorial-depth :is(.mls-contact,.mls-detail-link,.vq-link,.mb-actions a,.st-button) span[aria-hidden="true"] { display:inline-block; transition:transform .2s ease; }
  body.ri-editorial-depth :is(.mls-contact,.mls-detail-link,.vq-link,.mb-actions a,.st-button):hover span[aria-hidden="true"] { transform:translate(3px,-2px); }
}
@media(min-width:1101px) {
  body.ri-editorial-depth #referenzen .rf-grid { align-items:start; padding-top:14px; }
  body.ri-editorial-depth #referenzen .rf-card:nth-child(2) { margin-top:24px; }
}
@media(max-width:1100px) {
  body.ri-editorial-depth #vita .vq-shell { grid-template-columns:160px minmax(0,1fr) 156px; column-gap:24px; width:calc(100% - 64px); }
  body.ri-editorial-depth #vita .vq-row { grid-template-columns:1fr; gap:4px; }
  body.ri-editorial-depth .mls-shell { gap:36px; }
}
@media(max-width:780px) {
  body.ri-editorial-depth #vita .vq-shell { grid-template-columns:150px minmax(0,1fr); grid-template-areas:"portrait heading" "credentials credentials" "seal evidence" "seal work"; gap:24px; }
  body.ri-editorial-depth #vita .vq-proof { display:contents; }
  body.ri-editorial-depth #vita .vq-seal { grid-area:seal; width:140px; padding:10px; background:#f3f0e6; border-top:2px solid var(--rp-gold); }
  body.ri-editorial-depth #vita .vq-proof .vq-evidence { grid-area:evidence; color:var(--rp-white); font-size:16px; }
  body.ri-editorial-depth #vita .vq-proof .vq-evidence:hover { color:var(--rp-gold); }
  body.ri-editorial-depth #vita .vq-work { grid-area:work; align-self:start; }
  body.ri-editorial-depth #vita .vq-row { grid-template-columns:140px minmax(0,1fr); }
  body.ri-editorial-depth #medienproduktion .st-item[open] { padding-inline:14px; }
  body.ri-editorial-depth #marktberichte .mb-feature { gap:24px; }
}
@media(max-width:540px) {
  body.ri-editorial-depth { --rp-display:36px; }
  body.ri-editorial-depth main::before { background:radial-gradient(ellipse at 120% 10%,rgba(70,133,134,.42),transparent 64%),linear-gradient(125deg,#071f28,#1c4d57); }
  body.ri-editorial-depth :is(#maklerleistungen,#vita,#referenzen,#referenzobjekt,#medienproduktion,#regionaler-lageatlas,#marktberichte,#broschueren,#faq,#persoenlicher-ersttermin,#kontakt) { padding-block:38px; }
  body.ri-editorial-depth .hero .hero-region { font-size:13px; line-height:1.75; }
  body.ri-editorial-depth .hero .hero-lead { font-size:17px; line-height:1.7; }
  body.ri-editorial-depth #maklerleistungen .mls-tabs button { font-size:16px; padding:12px 10px; flex:1; }
  body.ri-editorial-depth .mls-lead { font-size:17px; }
  body.ri-editorial-depth .mls-row-title { font-size:22px; }
  body.ri-editorial-depth .rp-service-photo { width:100%; }
  body.ri-editorial-depth #vita .vq-shell { width:calc(100% - 40px); grid-template-columns:140px minmax(0,1fr); padding:24px 0; gap:22px 20px; }
  body.ri-editorial-depth #vita .vq-photo { padding:5px; width:auto; }
  body.ri-editorial-depth #vita .vq-heading h2 { font-size:27px; }
  body.ri-editorial-depth #vita .vq-kicker { font-size:12px; letter-spacing:.06em; }
  body.ri-editorial-depth #vita .vq-row { grid-template-columns:1fr; }
  body.ri-editorial-depth #vita .vq-row dd { font-size:16px; }
  body.ri-editorial-depth #vita .vq-proof .vq-evidence { font-size:16px; }
  body.ri-editorial-depth #qualitaetsnachweise { padding-block:8px 36px; }
  body.ri-editorial-depth #referenzen .rf-card { margin-top:0; }
  body.ri-editorial-depth #ausgewaehlte-aufnahmen .jf-copy .jf-kicker { font-size:15px; }
  body.ri-editorial-depth #medienproduktion .st-item[open] { padding-inline:10px; }
  body.ri-editorial-depth #faq details { padding-inline:12px !important; }
  body.ri-editorial-depth #faq summary { font-size:17px; }
}
@media(max-width:360px) {
  body.ri-editorial-depth #vita .vq-shell { grid-template-columns:110px minmax(0,1fr); gap:20px 16px; }
  body.ri-editorial-depth #vita .vq-heading h2 { font-size:22px; overflow-wrap:normal; }
  body.ri-editorial-depth #vita .vq-seal { width:110px; padding:7px; }
}

/* A positioned footer paints above the main's fixed canvas, which must never
   cover its following sibling. Keep this layer below navigation and dialogs. */
body.ri-editorial-depth .site-footer {
  position:relative; z-index:0; isolation:isolate;
  background:radial-gradient(ellipse at 100% 0%,rgba(51,109,113,.45),transparent 65%),linear-gradient(120deg,#082730,#123e47 64%,#0a2d36);
  color:var(--rp-copy); padding:46px 0 30px; border-top:0;
}
body.ri-editorial-depth .site-footer::before {
  content:""; position:absolute; top:0; left:0; right:0; height:1px; pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(218,184,115,.5) 18%,#f6dfb0 72%,rgba(218,184,115,.3),transparent);
}
body.ri-editorial-depth .site-footer .footer-grid {
  grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) minmax(0,.7fr);
  gap:34px 56px; align-items:start;
}
body.ri-editorial-depth .site-footer .footer-brand {
  grid-column:1/-1; display:flex; justify-content:space-between; align-items:center;
  gap:30px; padding-bottom:30px; border-bottom:1px solid var(--rp-rule);
}
body.ri-editorial-depth .site-footer .footer-brand img { width:270px; height:auto; max-width:100%; }
body.ri-editorial-depth .site-footer .footer-brand span {
  display:block; color:var(--rp-white); font-family:Georgia,'Times New Roman',serif;
  text-transform:none; letter-spacing:0; font-weight:400; font-size:26px;
  line-height:1.4; margin:0; max-width:430px; text-align:right;
}
body.ri-editorial-depth .site-footer .rp-footer-label {
  margin:0 0 12px; color:var(--rp-gold); font-size:14px; line-height:1.5;
  text-transform:uppercase; letter-spacing:.12em; font-weight:600;
}
body.ri-editorial-depth .site-footer .footer-grid>div { min-width:0; font-size:16px; line-height:1.75; }
body.ri-editorial-depth .site-footer .rp-footer-address strong { color:var(--rp-white); font-size:17px; }
body.ri-editorial-depth .site-footer :is(.rp-footer-contact,.rp-footer-legal)>br { display:none; }
body.ri-editorial-depth .site-footer :is(.rp-footer-contact,.rp-footer-legal)>a {
  display:flex; align-items:center; min-height:44px; width:fit-content; max-width:100%;
  color:var(--rp-white); border:0; padding:6px 0; font-size:17px;
  text-decoration:none; text-underline-offset:5px; overflow-wrap:anywhere;
}
body.ri-editorial-depth .site-footer .rp-footer-contact>a[href^="tel:"] { font-size:22px; letter-spacing:.01em; }
body.ri-editorial-depth .site-footer .rp-footer-contact>a[href^="mailto:"] { font-size:16px; }
body.ri-editorial-depth .site-footer a:is(:hover,:focus-visible) { color:var(--rp-gold); background:transparent; text-decoration:underline; }
body.ri-editorial-depth .site-footer a:focus-visible { outline:2px solid var(--rp-gold); outline-offset:5px; }
body.ri-editorial-depth .site-footer .ed-footer-cities {
  border-top:1px solid var(--rp-rule); margin-top:28px; padding-top:18px;
  gap:6px 32px; justify-content:flex-start;
}
body.ri-editorial-depth .site-footer .ed-footer-cities a {
  display:inline-flex; align-items:center; min-height:44px; color:var(--rp-copy); font-size:16px;
}
body.ri-editorial-depth .site-footer .ri-revocation-control { margin-top:18px; }

/* The header catches a warm edge reflection once on arrival, not over its text.
   Pseudo-elements cannot intercept links or alter the dropdown geometry. */
body.ri-editorial-depth .site-header.ri-nav {
  background:linear-gradient(100deg,#12343e,#19444c 78%,#204950);
}
body.ri-editorial-depth .site-header.ri-nav::before {
  content:""; position:absolute; right:0; bottom:0; height:1px; width:min(35vw,420px);
  background:linear-gradient(90deg,transparent,rgba(239,210,155,.85) 80%,rgba(255,241,207,.65));
  pointer-events:none; opacity:.5;
}
body.ri-editorial-depth .site-header.ri-nav::after {
  content:""; position:absolute; right:0; top:0; bottom:0; width:110px;
  background:radial-gradient(ellipse at 100% 70%,rgba(255,227,171,.35),transparent 72%);
  border-right:1px solid rgba(249,219,163,.65); pointer-events:none;
  opacity:.2; animation:ri-header-edge-arrival 1.8s .45s ease-out both;
}
@keyframes ri-header-edge-arrival {
  0% { opacity:.08; }
  42% { opacity:.88; }
  100% { opacity:.2; }
}
@media(hover:hover) and (prefers-reduced-motion:no-preference) {
  body.ri-editorial-depth .site-header.ri-nav::before { transition:opacity .25s ease-out; }
  body.ri-editorial-depth .site-header.ri-nav:hover::before { opacity:1; }
}
@media(prefers-reduced-motion:reduce) {
  body.ri-editorial-depth .site-header.ri-nav::after { animation:none; opacity:.2; }
}
@media(max-width:1024px) {
  body.ri-editorial-depth .site-footer .footer-grid { gap:28px 26px; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr) minmax(0,.7fr); }
  body.ri-editorial-depth .site-footer .footer-brand span { font-size:23px; }
  body.ri-editorial-depth .site-footer .rp-footer-contact>a[href^="tel:"] { font-size:19px; }
}
@media(max-width:760px) {
  body.ri-editorial-depth .site-footer { padding:32px 0 96px; }
  body.ri-editorial-depth .site-footer .footer-grid { grid-template-columns:1fr; gap:24px; }
  body.ri-editorial-depth .site-footer .footer-brand { flex-direction:column; align-items:flex-start; gap:18px; padding-bottom:24px; }
  body.ri-editorial-depth .site-footer .footer-brand img { width:250px; }
  body.ri-editorial-depth .site-footer .footer-brand span { text-align:left; font-size:22px; max-width:310px; }
  body.ri-editorial-depth .site-footer .rp-footer-label { margin-bottom:8px; }
  body.ri-editorial-depth .site-footer .rp-footer-contact>a[href^="tel:"] { font-size:22px; }
  body.ri-editorial-depth .site-footer .ed-footer-cities { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 16px; margin-top:24px; padding-top:16px; }
  body.ri-editorial-depth .site-header.ri-nav::after { width:52px; }
}
