
/* V21 / Visually consistent with all 14 design palettes */
.rp-branches{background:var(--brand-paper,#f5f7fb);color:var(--brand-ink,#17263a);padding:clamp(42px,7vw,90px) 0}
.rp-branches-title{max-width:820px;margin-bottom:28px}
.rp-branches-title h2{font-size:clamp(1.85rem,3.5vw,3rem);line-height:1.17;margin:.45rem 0 .7rem;color:var(--brand-ink,#17263a)}
.rp-branches-title h2 em{font-style:normal;color:var(--brand-accent,#c51d38)}
.rp-branches-title p{font-size:clamp(1rem,1.2vw,1.12rem);line-height:1.65;opacity:.9}
.rp-branch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.rp-office-card{min-width:0;display:flex;flex-direction:column;gap:13px;padding:clamp(22px,3vw,36px);border-radius:20px;background:var(--brand-surface,#fff);color:var(--brand-ink,#17263a);border:1px solid rgba(90,99,110,.2);box-shadow:0 12px 35px rgba(9,21,43,.07)}
.rp-office-primary{border-top:5px solid var(--brand-accent,#c51d38)}
.rp-office-badge{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;font-size:.78rem;font-weight:800;letter-spacing:.04em}
.rp-office-badge span:first-child{padding:6px 11px;background:var(--brand-accent,#c51d38);color:var(--brand-button-ink,#fff);border-radius:999px}
.rp-office-card h3{font-size:clamp(1.4rem,2.4vw,2.1rem);line-height:1.23;color:inherit;margin:0;overflow-wrap:anywhere}
.rp-office-address,.rp-office-hours{margin:0;line-height:1.6;overflow-wrap:anywhere}
.rp-office-phones{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:6px 0}
.rp-office-phones a{display:flex;justify-content:center;align-items:center;gap:9px;padding:14px 11px;border-radius:11px;background:var(--brand-deep,#0f253f);color:#fff!important;text-decoration:none;font-weight:750;font-size:clamp(.92rem,1.35vw,1.06rem);white-space:normal;overflow-wrap:anywhere;text-align:center;min-width:0}
.rp-office-phones a:hover,.rp-office-phones a:focus-visible{outline:2px solid var(--brand-accent,#c51d38);outline-offset:2px}
.rp-office-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:auto}.rp-office-actions a{color:var(--brand-ink,#17263a);font-weight:700;text-decoration:underline;text-underline-offset:4px}
@media(max-width:920px){.rp-branch-grid{grid-template-columns:1fr}}
@media(max-width:560px){.rp-branches{padding:38px 0}.rp-office-phones{grid-template-columns:1fr}.rp-office-card{padding:20px}.rp-office-phones a{min-height:49px}}

/* V21.1 - per-office seven-day opening hours; theme-safe contrast */
html[data-theme] .rp-office-week{margin:16px 0 18px;padding:13px 14px;border-radius:10px;background:color-mix(in srgb,var(--brand-deep,#102841) 7%,white);border:1px solid color-mix(in srgb,var(--brand-deep,#102841) 15%,white)}
html[data-theme] .rp-office-week h4{font-size:14px;font-weight:800;margin:0 0 10px;color:var(--brand-ink,#16263a)}
html[data-theme] .rp-office-week dl{margin:0;display:grid;gap:4px}
html[data-theme] .rp-office-week dl>div{display:flex;align-items:baseline;justify-content:space-between;gap:14px;padding:5px 0;border-bottom:1px solid #8996a629;min-width:0}
html[data-theme] .rp-office-week dl>div:last-child{border-bottom:0}
html[data-theme] .rp-office-week dt{font-size:12px;font-weight:700;color:var(--brand-ink,#172637);overflow-wrap:anywhere}
html[data-theme] .rp-office-week dd{font-size:12px;font-weight:800;color:var(--brand-ink,#172637);margin:0;text-align:right;white-space:nowrap}
html[data-theme] .rp-office-week dd.is-closed{color:#a12435}
