/* Page-only layout for /uk/zoho-partner-in-reading/ (prefix rdg-). Reading city page: a station departures board district
   switcher in the hero over layered Chiltern hills, rail viaduct and Thames/Kennet parallax; desk cards; contract scroll-story
   screens; hybrid-week drag compare; GBP calculator split. Shared look: etc.css + kit-*.css; p-sec-n-local.css supplies sl- notes.
   Accent: board navy #102A43 with LED amber #FBBF24 text (10:1), and Kennet green #166534 (7:1 on white) beside brand blue. */
.rdg-hero { overflow-x: clip; }
.rdg-hero .hero__grid { grid-template-columns: 1.05fr .95fr; align-items: center; }
.rdg-bg { position: absolute; inset: auto 0 0 0; height: 52%; z-index: 0; pointer-events: none; overflow: clip; }
.rdg-bg svg { position: absolute; left: 0; width: 100%; height: auto; display: block; }
.rdg-bg__hills { bottom: 0; }
.rdg-bg__viaduct { bottom: 22%; opacity: .75; }
.rdg-bg__river { bottom: 0; }

/* departures board */
.rdg-board { position: relative; background: #102A43; border-radius: 18px; padding: 16px 16px 14px; color: #E2E8F0;
  box-shadow: 0 26px 50px -26px rgba(15, 39, 66, .6), inset 0 0 0 1px rgba(255, 255, 255, .06); }
.rdg-board__h { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 10px; font: 600 14px/1.35 var(--font-ui); color: #fff; }
.rdg-board__h span { flex: none; font: 700 11px/1 var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: #102A43; background: #FBBF24; border-radius: 999px; padding: 6px 9px; }
.rdg-rows { display: grid; gap: 4px; }
.rdg-row { -webkit-appearance: none; appearance: none; display: grid; grid-template-columns: 52px 1fr 34px; align-items: center; gap: 10px; width: 100%;
  padding: 8px 10px; border: 0; border-radius: 8px; background: #0B1F33; color: #FBBF24; cursor: pointer; text-align: left;
  font: 600 14px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; transition: background .2s; }
.rdg-row i { font-style: normal; opacity: .85; }
.rdg-row b { font-weight: 700; letter-spacing: .02em; }
.rdg-row em { font-style: normal; text-align: right; color: #CBD5E1; }
.rdg-row:hover { background: #17385A; }
.rdg-row.is-on { background: #FBBF24; color: #102A43; }
.rdg-row.is-on em { color: #102A43; }
.rdg-row:focus-visible { outline: 3px solid #93C5FD; outline-offset: 2px; }
.rdg-board__panels { margin-top: 12px; }
.rdg-board__panel { padding: 14px 16px; border-radius: 12px; background: #fff; color: var(--text); }
.rdg-board__panel + .rdg-board__panel { margin-top: 10px; }
.rdg-board.is-js .rdg-board__panel + .rdg-board__panel { margin-top: 0; }
.rdg-board__panel > b { display: block; margin: 0 0 6px; font: 700 17px/1.35 var(--font); color: var(--ink); }
.rdg-board__panel p { margin: 0; font-size: 14.5px; line-height: 1.55; }
.rdg-board__k { margin: 0 0 6px !important; font: 700 11.5px/1.3 var(--font-ui) !important; letter-spacing: .07em; text-transform: uppercase; color: #166534; }
.rdg-board__apps { margin-top: 8px !important; font: 600 13px/1.4 var(--font-ui) !important; color: var(--blue-d); }
.rdg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.rdg-chip { display: inline-block; padding: 7px 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line);
  font: 600 12px/1.3 var(--font-ui); color: var(--ink); }
.rdg-chip--g { border-color: #CDE6BE; background: #F4FBEF; color: #245F0B; }
.rdg-board__foot { margin: 10px 0 0; font: 500 12px/1.45 var(--font-ui); color: #CBD5E1; }

/* desk cards */
.rdg-fit { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.rdg-fit__c { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-left: 5px solid #102A43;
  border-radius: 12px; padding: 20px; }
.rdg-fit__c h3 { margin: 0; font-size: 18px; line-height: 1.35; }
.rdg-fit__c p { margin: 0; font-size: 15px; line-height: 1.55; }
.rdg-fit__k { font: 700 11.5px/1 var(--font-ui) !important; letter-spacing: .08em; text-transform: uppercase; color: #166534; }
.rdg-fit__go { margin-top: auto !important; padding: 10px 12px; border-radius: 10px; background: #FEF8E7; font: 500 14px/1.45 var(--font-ui) !important; }

/* story screens */
.rdg-screen { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.rdg-screen__bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #F1F5F9; border-bottom: 1px solid var(--line); font: 600 12.5px/1 var(--font-ui); color: var(--ink); }
.rdg-screen__bar em { margin-left: auto; font-style: normal; font-size: 11px; color: #102A43; background: #FEF3C7; border-radius: 999px; padding: 3px 8px; }
.rdg-screen dl { margin: 0; padding: 6px 16px 14px; display: grid; }
.rdg-screen dl > div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid #EEF2F7; }
.rdg-screen dl > div:last-child { border-bottom: 0; }
.rdg-screen dt { font: 600 12.5px/1.4 var(--font-ui); color: var(--muted); }
.rdg-screen dd { margin: 0; font: 600 14px/1.4 var(--font-ui); color: var(--ink); }

/* hybrid week compare */
.rdg-week__list { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 8px; font-size: 15px; line-height: 1.5; }

/* cost split */
.rdg-split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.rdg-split .sec__head { position: sticky; top: 100px; margin-bottom: 0; }
.rdg-ticks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; font: 500 15px/1.4 var(--font-ui); color: var(--ink); }
.rdg-ticks li { display: flex; gap: 10px; align-items: center; }
.rdg-ticks li::before { content: ""; width: 16px; height: 10px; flex: none; background: #FBBF24; border: 2px solid #102A43; border-radius: 3px; }

.rdg-after { margin: 18px 0 0; font: 500 14px/1.6 var(--font-ui); color: var(--muted); }
.rdg-after a { font-weight: 600; }
.rdg-related-h { margin: 0 0 16px; font-size: 22px; }

@media (max-width: 960px) {
  .rdg-hero .hero__grid { grid-template-columns: 1fr; }
  .rdg-split { grid-template-columns: 1fr; gap: 24px; }
  .rdg-split .sec__head { position: static; }
}
@media (max-width: 560px) {
  .rdg-board { padding: 12px 10px; }
  .rdg-row { grid-template-columns: 44px 1fr 28px; gap: 6px; font-size: 12.5px; padding: 8px; }
  .rdg-screen dl > div { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) { .rdg-row { transition: none; } }
