.site-header .header-inner { padding-block:10px; }
@media (min-width:1100px) { .site-header .header-inner { gap:24px; } }
@media (max-width:899px) {
  .site-header .header-inner { min-height:82px; padding-block:8px; }
  .site-header .main-nav { position:absolute; inset:100% 0 auto; }
}

.site-header .btn-primary.header-cta { color:#fff; background:#245e89; border-color:#245e89; box-shadow:0 8px 20px rgba(36,94,137,.22); }
.site-header .btn-primary.header-cta:hover { background:#1b4c71; border-color:#1b4c71; }

.jr-paper-wordmark {
  display:inline-flex;
  align-items:baseline;
  gap:.26em;
  padding:5px 8px;
  color:#245e89;
  background:#eef5fb;
  border:1px solid #d6e5f1;
  border-radius:7px;
  font-weight:900;
  line-height:1.15;
  white-space:nowrap;
}
.jr-paper-wordmark span:last-child { color:#a8390b; }
.main-nav a:is(:hover, :focus-visible) .jr-paper-wordmark { background:#e1eef8; }
.site-footer .footer-bottom {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:6px 20px;
  text-align:center;
}
.site-footer .footer-bottom span:last-child { justify-content:center; }
@media (max-width:640px) {
  .site-footer .footer-bottom { flex-direction:column; padding-bottom:56px; }
}
.jr-site-whatsapp { position:fixed; right:18px; bottom:18px; z-index:60; display:inline-flex; align-items:center; justify-content:center; width:58px; height:58px; padding:0; color:#fff; background:#087f4f; border:0; border-radius:999px; box-shadow:0 14px 36px rgba(0,0,0,.3),0 0 0 1px rgba(8,127,79,.28); transition:transform 180ms ease,box-shadow 180ms ease,background 180ms ease; }
.jr-site-whatsapp:hover { color:#fff; background:#066b43; box-shadow:0 18px 42px rgba(32,191,117,.48); transform:translateY(-2px); }
.jr-site-whatsapp svg { width:29px; height:29px; flex:0 0 auto; fill:currentColor; }
@media (max-width:1099px) {
  .site-header .header-inner { min-height:82px; padding-block:8px; }
  .site-header .menu-toggle { display:inline-grid; }
  .site-header .header-cta { display:none; }
  .site-header .main-nav {
    position:absolute;
    inset:100% 0 auto;
    display:none;
    grid-template-columns:1fr;
    gap:4px;
    padding:14px;
    background:#fff;
    border-bottom:1px solid var(--line);
    box-shadow:var(--shadow);
  }
  .site-header .main-nav.is-open { display:grid; }
  .site-header .main-nav a { padding:9px 11px; font-size:.92rem; }
}
@media (min-width:640px) and (max-width:1099px) {
  .site-footer .footer-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

.jr-detail-hero { padding-block:clamp(34px,6vw,78px); background:linear-gradient(115deg,#081628,#17364c); color:#fff; }
.jr-detail-shell { width:min(calc(100% - 36px),74rem); margin-inline:auto; }
.jr-detail-hero-layout, .jr-detail-columns { display:grid; align-items:start; gap:clamp(22px,4vw,52px); }
.jr-detail-hero-layout > *, .jr-detail-columns > * { min-width:0; }
.jr-detail-hero h1 { color:#fff; font-size:clamp(2rem,4.7vw,3.65rem); max-width:21ch; }
.jr-detail-hero .page-lead { color:#dbe8f2; line-height:1.62; }
.jr-detail-hero .eyebrow { color:#fff; background:#19374f; border-color:#45627a; }
.jr-detail-breadcrumb { display:flex; flex-wrap:wrap; gap:6px 12px; margin:0 0 22px; color:#c4d8e9; font-size:.875rem; }
.jr-detail-breadcrumb a { color:#e9f3fc; text-underline-offset:.18em; }
.jr-detail-index { align-self:center; padding:clamp(16px,2.5vw,26px); border:1px solid #45627a; border-radius:16px; background:#112a40; }
.jr-detail-index ul, .jr-detail-related ul { display:grid; gap:0; list-style:none; margin:0; padding:0; }
.jr-detail-index li + li, .jr-detail-related li + li { border-top:1px solid rgb(182 206 225 / 25%); }
.jr-detail-index a, .jr-detail-related a { display:block; padding:10px 0; color:#e8f3fc; font-weight:700; text-underline-offset:.2em; }
.jr-detail-index-title { display:flex; align-items:center; gap:12px; margin:0 0 8px; font-size:1.05rem; }
.jr-detail-icon { display:inline-grid; place-items:center; flex:none; width:42px; height:42px; border-radius:10px; background:#eaf2f8; color:#245e89; }
.jr-detail-icon svg { width:23px; height:23px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.jr-detail-cards { display:grid; gap:16px; margin:18px 0 0; }
.jr-detail-cards article { min-width:0; padding:clamp(16px,2.4vw,24px); border:1px solid #d9e3eb; border-radius:14px; box-shadow:0 6px 24px rgb(13 45 70 / 7%); scroll-margin-top:110px; }
.jr-detail-cards h3, .jr-detail-faq h2, .jr-detail-scope h2 { color:#142b40; }
.jr-detail-cards p, .jr-detail-faq p { margin:8px 0 0; color:#40566a; line-height:1.62; }
.jr-detail-faq { background:#f5f7fa; }
.jr-detail-faq details { margin-top:10px; border:1px solid #d9e3eb; border-radius:12px; background:#fff; }
.jr-detail-faq details p { padding:0 16px 14px; margin:0; }
.jr-detail-faq summary { display:flex; align-items:center; justify-content:space-between; padding:14px 16px; gap:14px; color:#17354e; font-weight:800; list-style:none; cursor:pointer; }
.jr-detail-faq summary::-webkit-details-marker { display:none; }
.jr-detail-faq summary::after { content:''; flex:none; width:8px; height:8px; border:solid #245e89; border-width:0 2px 2px 0; transform:rotate(45deg); margin:0 3px 4px 0; }
.jr-detail-faq details[open] summary::after { transform:rotate(225deg); margin-bottom:0; }
.jr-detail-related { padding:20px; border-radius:14px; background:#17364c; color:#fff; }
.jr-detail-related h2 { color:#fff; font-size:1.3rem; margin-bottom:6px; }
@media (min-width:800px) {
  .jr-detail-shell { width:min(calc(100% - 72px),74rem); }
  .jr-detail-hero-layout, .jr-detail-columns { grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); }
  .jr-detail-cards { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
