/* JR V4 / Header + Social integration 2026-10-20. Footer logo styling is intentionally unchanged. */
/* Preserve the installed page theme and header background. */
.header .nav-inner{min-height:80px}
.header .jr-header-brand{display:inline-flex;align-items:center;gap:12px;flex:0 1 258px;max-width:none;min-width:0;padding:3px 0;white-space:normal}
.header .jr-header-brand::before,.header .jr-header-brand::after{content:none!important;display:none!important}
.header .jr-header-brand .jr-header-mark{display:block;flex:0 0 56px;width:56px;height:56px;max-width:56px;max-height:56px;object-fit:contain;object-position:center;border:0;box-shadow:none;background:transparent;border-radius:0}
.header .jr-header-wordmark{display:flex;flex-direction:column;min-width:0;gap:4px;color:#20251f;line-height:1.15}
.header .jr-header-wordmark strong{font-size:clamp(13px,1.14vw,16px);font-weight:790;letter-spacing:.027em;white-space:nowrap;color:#20251f}
.header .jr-header-wordmark small{display:block;font-size:8px;font-weight:730;letter-spacing:.15em;color:#424b3e;white-space:nowrap}
.header .nav{gap:clamp(12px,1.6vw,24px)}
/* Existing / old theme mark classes must never be appended beside our new lockup. */
.header .jr-header-brand .brand-symbol,.header .jr-header-brand .brand-title,.header .jr-header-brand .brand-sub{display:none!important}
.jr-social-section{padding:74px 0 90px;background:linear-gradient(180deg,#0B121A 0%,#0D1923 100%);border-top:1px solid #233644;border-bottom:1px solid #253E50}
.jr-social-shell{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:clamp(30px,5vw,86px);align-items:center}
.jr-social-kicker{font-size:11px;letter-spacing:.20em;color:#8FB5D2;font-weight:760;margin:0 0 20px}
.jr-social-intro h2{font-size:clamp(34px,4.6vw,66px);letter-spacing:-.07em;line-height:1.05;color:#F3F6F9!important;margin:0 0 17px}
.jr-social-intro h2 .jr-social-period{color:#60B4ED}
.jr-social-intro>p:not(.jr-social-kicker){max-width:440px;color:#A2B5C3;line-height:1.8;font-size:15px;margin:0 0 25px}
.jr-social-coordinate{display:inline-block;color:#7899AC;font-size:10px;letter-spacing:.20em;border-top:1px solid #314958;padding-top:17px}
.jr-social-links{display:grid;gap:10px}
.jr-social-links--cards{grid-template-columns:repeat(2,minmax(0,1fr))}
.jr-social-links--cards .jr-social-link:first-child{grid-column:1 / -1}
.jr-social-link{display:flex;align-items:center;gap:13px;padding:16px 17px;background:#111F2B;border:1px solid #304453;color:#E7F2FA;border-radius:7px;min-width:0;min-height:66px;transition:transform .2s ease,border-color .2s ease,background .2s ease}
.jr-social-link:hover{transform:translateY(-2px);border-color:#69AEDD;background:#142938}
.jr-social-link img{width:24px;height:24px;object-fit:contain;flex:0 0 24px}
.jr-social-link>span:nth-child(2){font-size:12px;font-weight:700;letter-spacing:.015em;line-height:1.4}
.jr-social-link .jr-social-arrow{margin-left:auto;color:#83BCDF;font-size:16px}
.site-footer .jr-footer-socials{margin-top:18px}
.site-footer .jr-social-links--footer{display:flex;flex-wrap:wrap;gap:8px;max-width:515px}
.site-footer .jr-social-links--footer .jr-social-link{min-height:36px;width:38px;height:38px;padding:7px;border-radius:6px;justify-content:center;gap:0;background:#13212B;border-color:#354A5B}
.site-footer .jr-social-links--footer .jr-social-link img{width:18px;height:18px;flex:0 0 18px}
.site-footer .jr-social-links--footer .jr-social-link>span{display:none}
.jr-admin-subheading{margin:28px 0 8px}
@media(max-width:1100px){.header .jr-header-brand{flex-basis:240px}.header .jr-header-brand .jr-header-mark{width:48px;height:48px;flex-basis:48px;max-width:48px;max-height:48px}.header .jr-header-wordmark strong{font-size:13px}.header .jr-header-wordmark small{font-size:7.3px;letter-spacing:.09em}.header .nav{gap:11px}}
@media(max-width:900px){.header .jr-header-brand{flex-basis:auto;max-width:calc(100% - 65px)}.header .jr-header-wordmark strong{font-size:15px}.header .jr-header-wordmark small{font-size:8px}}
@media(max-width:700px){.jr-social-section{padding:60px 0}.jr-social-shell{grid-template-columns:1fr;gap:28px}.jr-social-links--cards{grid-template-columns:1fr 1fr}}
@media(max-width:460px){.header .jr-header-brand{gap:8px}.header .jr-header-brand .jr-header-mark{width:43px;height:43px;max-width:43px;max-height:43px;flex-basis:43px}.header .jr-header-wordmark strong{font-size:clamp(11px,3.35vw,14px)}.header .jr-header-wordmark small{font-size:6.8px;letter-spacing:.05em}.jr-social-links--cards{grid-template-columns:1fr}.jr-social-link{min-height:56px}.jr-social-intro h2{font-size:39px}}
@media(prefers-reduced-motion:reduce){.jr-social-link{transition:none}}
