/* ČAMINSKI R5.5 — approved coherent interior hero and footer treatment */
body.r55-article section.r5-article-hero,
body.r55-article section.v8-guide-hero,
body.r55-article section.page-hero,
body.r55-about section.r52x-page-hero {
 background:#0A2342 !important; background-image:none !important;
 color:#EAE6DA !important; box-shadow:none !important;
}
body.r55-article section.r5-article-hero::before,
body.r55-article section.r5-article-hero::after,
body.r55-article section.v8-guide-hero::before,
body.r55-article section.v8-guide-hero::after,
body.r55-article section.page-hero::before,
body.r55-article section.page-hero::after,
body.r55-about section.r52x-page-hero::before,
body.r55-about section.r52x-page-hero::after,
body.r55-about section.r52x-page-hero .wrap::before,
body.r55-about section.r52x-page-hero .wrap::after {
 content:none !important; display:none !important; background:none !important;
}
body.r55-article section.r5-article-hero h1,
body.r55-article section.v8-guide-hero h1,
body.r55-article section.page-hero h1,
body.r55-about section.r52x-page-hero h1 {color:#EAE6DA !important;}
body.r55-article section.r5-article-hero p,
body.r55-article section.v8-guide-hero p,
body.r55-article section.page-hero p,
body.r55-about section.r52x-page-hero p {color:#EAE6DA !important;}
body.r55-article section.r5-article-hero .r5-eyebrow,
body.r55-article section.page-hero .kicker,
body.r55-article section.v8-guide-hero .kicker,
body.r55-about section.r52x-page-hero .r52x-kicker {color:#A9C7AF !important;}
/* Forest Green is a dark neutral footer, maintaining ivory contrast. */
body footer.footer,footer.footer {background:#2C3E3C !important;background-image:none !important;color:#EAE6DA !important;}
footer.footer p, footer.footer small, footer.footer strong, footer.footer .footer-bottom, footer.footer .designer {color:#EAE6DA !important;}
footer.footer a,footer.footer .r55-privacy-settings {color:#F9F8F4 !important;}
footer.footer a:hover,footer.footer a:focus-visible,footer.footer .r55-privacy-settings:hover {text-decoration:underline;text-underline-offset:4px;}
footer.footer .r55-privacy-settings {background:transparent;border:0;padding:0;text-align:inherit;font:inherit;cursor:pointer;display:block;line-height:inherit;}
footer.footer a:focus-visible, footer.footer button:focus-visible {outline:2px solid #EAE6DA;outline-offset:3px;}
.r55-inquiry-intro {background:#F9F8F4;border-left:3px solid #6B8F71;padding:12px 16px;line-height:1.6;margin:12px 0 22px;}
/* Consent panel is shown only if visitors have not chosen yet, and on request. */
.r55-consent-panel {position:fixed;z-index:99999;inset-inline:clamp(12px,3vw,36px);bottom:clamp(12px,3vh,28px);max-width:650px;margin-inline:auto;background:#F9F8F4;color:#0A2342;border:1px solid #DCDDD5;border-radius:14px;box-shadow:0 12px 48px rgba(10,35,66,.25);padding:20px 22px;line-height:1.5;}
.r55-consent-panel h2 {font-size:17px;margin:0 0 8px;color:#0A2342;}
.r55-consent-panel p {margin:0 0 14px;color:#2E3136;font-size:14px;line-height:1.55;}
.r55-consent-panel .r55-consent-actions {display:flex;gap:10px;flex-wrap:wrap;}
.r55-consent-panel button {border:1px solid #0A2342;border-radius:7px;padding:9px 16px;font:inherit;font-size:14px;font-weight:650;cursor:pointer;}
.r55-consent-panel .r55-allow {background:#0A2342;color:#F9F8F4;}
.r55-consent-panel .r55-decline {background:transparent;color:#0A2342;}
.r55-consent-panel button:focus-visible{outline:3px solid #6B8F71;outline-offset:3px;}
.r55-privacy-note {padding:16px 18px;border-inline-start:3px solid #6B8F71;background:#F9F8F4;color:#0A2342;margin:22px 0;line-height:1.65;}
@media(max-width:560px){.r55-consent-panel{max-height:60vh;overflow:auto;padding:15px 16px}.r55-consent-panel .r55-consent-actions button{flex:1 1 130px}}

/* Additional localized Technical Article/Guide layouts */
body.r55-article section.loc-hero {background:#0A2342 !important;background-image:none !important;color:#EAE6DA !important;box-shadow:none !important;}
body.r55-article section.loc-hero::before,body.r55-article section.loc-hero::after,body.r55-article section.loc-hero .wrap::before,body.r55-article section.loc-hero .wrap::after {content:none !important;display:none !important;background:none !important;}
body.r55-article section.loc-hero h1,body.r55-article section.loc-hero p {color:#EAE6DA !important;}
body.r55-article section.loc-hero .kicker {color:#A9C7AF !important;}


/* ==============================================================
   ČAMINSKI R5.5.1 — single shared interior hero / footer contract
   All internal pages, 8 languages. HOME is explicitly excluded.
   ============================================================= */
body.r551-interior main > section:is(.r52x-page-hero,.r52r-library-hero,.r5-article-hero,.v8-guide-hero,.loc-hero,.page-hero,.r551-utility-hero) {
  background:#0A2342 !important;
  background-color:#0A2342 !important;
  background-image:none !important;
  color:#EAE6DA !important;
  box-shadow:none !important;
}
body.r551-interior main > section:is(.r52x-page-hero,.r52r-library-hero,.r5-article-hero,.v8-guide-hero,.loc-hero,.page-hero,.r551-utility-hero)::before,
body.r551-interior main > section:is(.r52x-page-hero,.r52r-library-hero,.r5-article-hero,.v8-guide-hero,.loc-hero,.page-hero,.r551-utility-hero)::after,
body.r551-interior main > section:is(.r52x-page-hero,.r52r-library-hero,.r5-article-hero,.v8-guide-hero,.loc-hero,.page-hero,.r551-utility-hero) > .wrap::before,
body.r551-interior main > section:is(.r52x-page-hero,.r52r-library-hero,.r5-article-hero,.v8-guide-hero,.loc-hero,.page-hero,.r551-utility-hero) > .wrap::after {
  content:none !important;
  display:none !important;
  background:none !important;
  border:0 !important;
}
body.r551-interior main > section:is(.r52x-page-hero,.r52r-library-hero,.r5-article-hero,.v8-guide-hero,.loc-hero,.page-hero,.r551-utility-hero) h1 {
  color:#EAE6DA !important;
  text-shadow:none !important;
}
body.r551-interior main > section:is(.r52x-page-hero,.r52r-library-hero,.r5-article-hero,.v8-guide-hero,.loc-hero,.page-hero,.r551-utility-hero) p:not(.r5-eyebrow):not(.r52x-eyebrow):not(.r52r-eyebrow) {
  color:#EAE6DA !important;
  text-shadow:none !important;
}
body.r551-interior main > section:is(.r52x-page-hero,.r52r-library-hero,.r5-article-hero,.v8-guide-hero,.loc-hero,.page-hero,.r551-utility-hero) :is(.r5-eyebrow,.r52x-eyebrow,.r52r-eyebrow,.kicker,.v8-kicker,.loc-eyebrow) {
  color:#B7D5BE !important;
}
/* Legacy translated guides contained a decorative image inside the hero. */
body.r551-interior main > section.loc-hero .loc-hero-mark {display:none !important;}
body.r551-interior main > section.loc-hero .loc-hero-inner {grid-template-columns:1fr !important;}
/* Separate title area from usable forms and legal information. */
body.r551-utility-page section.r551-utility-hero {padding:72px 0 76px;position:relative;overflow:hidden;}
body.r551-utility-page section.r551-utility-hero .wrap {max-width:var(--max,1180px);position:relative;z-index:1;}
body.r551-utility-page section.r551-utility-hero .r551-hero-eyebrow {margin:0 0 12px;font-size:11px;font-weight:750;letter-spacing:.17em;text-transform:uppercase;color:#B7D5BE !important;}
body.r551-utility-page section.r551-utility-hero h1 {max-width:950px;font-family:inherit;font-size:clamp(32px,4.3vw,58px);line-height:1.17;letter-spacing:-.045em;font-weight:650;margin:0 0 18px;overflow-wrap:anywhere;}
body.r551-utility-page section.r551-utility-hero .r551-hero-lead {font-size:clamp(15px,1.4vw,18px);line-height:1.65;max-width:850px;margin:0;}
body.r551-utility-page main > section.v9-section {background:#F9F8F4 !important;background-image:none !important;}
body.r551-utility-page main > section.v9-section::before,
body.r551-utility-page main > section.v9-section::after {content:none !important;display:none !important;}
body.r551-utility-page main > section.v9-section h2 {font-family:inherit;}
/* Keep all footers in the same palette and component geometry. */
footer.footer,body footer.footer {background:#2C3E3C !important;background-image:none !important;color:#EAE6DA !important;}
footer.footer .footer-links {align-content:flex-start;}
footer.footer .footer-bottom {color:#EAE6DA !important;}
footer.footer .footer-title strong, footer.footer .footer-title small {color:#EAE6DA !important;}
footer.footer .footer-links a,footer.footer .designer a {color:#F9F8F4 !important;}
footer.footer .r55-privacy-settings {color:#F9F8F4 !important;}
@media (max-width:640px) {
 body.r551-utility-page section.r551-utility-hero {padding:46px 0 54px;}
 body.r551-utility-page section.r551-utility-hero h1 {font-size:clamp(30px,8vw,42px);}
 body.r551-interior main > section.loc-hero .loc-hero-inner {display:block;}
}
