/* ===== tricolor.css ===== */
/* ORIGINAL RUSSIAN TRICOLOUR — official colours */
:root{--ru-white:#FFFFFF;--ru-blue:#0039A6;--ru-red:#D52B1E}
.ru-flag-mark,.hero-flag-corner{background:linear-gradient(180deg,var(--ru-white) 0 33.333%,var(--ru-blue) 33.333% 66.666%,var(--ru-red) 66.666% 100%)!important;border:1px solid rgba(255,255,255,.62)!important;box-shadow:0 10px 26px rgba(35,4,10,.20)!important}
.footer-flag-line{height:6px!important;border-radius:2px!important;background:linear-gradient(180deg,var(--ru-white) 0 33.333%,var(--ru-blue) 33.333% 66.666%,var(--ru-red) 66.666% 100%)!important;opacity:1!important}
.story-section::after{background:linear-gradient(180deg,var(--ru-white) 0 33.333%,var(--ru-blue) 33.333% 66.666%,var(--ru-red) 66.666% 100%)!important}
.ru-flag-panel{position:relative!important;overflow:hidden!important}
.ru-flag-panel::before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:linear-gradient(180deg,var(--ru-white) 0 33.333%,var(--ru-blue) 33.333% 66.666%,var(--ru-red) 66.666% 100%)}
/* A thin, exact tricolour line adds patriotism without changing layout. */
.header{position:relative!important}
.header::after{content:""!important;display:block!important;position:absolute!important;left:0!important;right:0!important;bottom:-5px!important;height:5px!important;background:linear-gradient(180deg,var(--ru-white) 0 33.333%,var(--ru-blue) 33.333% 66.666%,var(--ru-red) 66.666% 100%)!important;opacity:1!important;pointer-events:none!important;z-index:20!important}
/* Restrained patriotic emphasis */
.page-hero,.president-hero,.memory-hero{border-bottom:3px solid #A57D22!important}
.section-header h2::after{background:linear-gradient(90deg,#8F1022 0 34%,#A57D22 34% 66%,#8F1022 66% 100%)!important}
.hero-3d-medal,.hero-3d-ribbon{display:none!important}
@media(max-width:767px){.header::after{bottom:-4px!important;height:4px!important}.hero-flag-corner{opacity:.88!important}}

/* ===== card-tricolor.css ===== */
/* Definitive Russian tricolour card accents — specificity-safe. */
:root{--card-ru-white:#FFFFFF;--card-ru-blue:#0039A6;--card-ru-red:#D52B1E;--card-neutral:#E5D8D0}
body .feature-card,body .activity-item,body .impact-card,body .card,body .law-card,body .merit-card,body .memorial-card,body .award-card,body .leadership-card,body .document-card,body .contact-card,body .value-card,body .memory-card,body .info-box,body .pres-stat{border-style:solid!important;border-width:1px!important;border-color:var(--card-neutral)!important;border-top-width:5px!important;transition:transform .22s ease,box-shadow .22s ease!important}
body .feature-card:nth-child(3n+1),body .activity-item:nth-child(3n+1),body .impact-card:nth-child(3n+1),body .card:nth-child(3n+1),body .law-card:nth-child(3n+1),body .merit-card:nth-child(3n+1),body .memorial-card:nth-child(3n+1),body .award-card:nth-child(3n+1),body .leadership-card:nth-child(3n+1),body .document-card:nth-child(3n+1),body .contact-card:nth-child(3n+1),body .value-card:nth-child(3n+1),body .memory-card:nth-child(3n+1),body .info-box:nth-child(3n+1),body .pres-stat:nth-child(3n+1),body .feature-card:nth-child(3n+1):hover,body .activity-item:nth-child(3n+1):hover,body .impact-card:nth-child(3n+1):hover,body .card:nth-child(3n+1):hover,body .law-card:nth-child(3n+1):hover,body .merit-card:nth-child(3n+1):hover,body .memorial-card:nth-child(3n+1):hover,body .award-card:nth-child(3n+1):hover,body .leadership-card:nth-child(3n+1):hover,body .document-card:nth-child(3n+1):hover,body .contact-card:nth-child(3n+1):hover,body .value-card:nth-child(3n+1):hover,body .memory-card:nth-child(3n+1):hover,body .info-box:nth-child(3n+1):hover,body .pres-stat:nth-child(3n+1):hover{border-top-color:var(--card-ru-white)!important;box-shadow:0 -2px 0 rgba(79,7,17,.12),0 12px 30px rgba(79,7,17,.07)!important}
body .feature-card:nth-child(3n+2),body .activity-item:nth-child(3n+2),body .impact-card:nth-child(3n+2),body .card:nth-child(3n+2),body .law-card:nth-child(3n+2),body .merit-card:nth-child(3n+2),body .memorial-card:nth-child(3n+2),body .award-card:nth-child(3n+2),body .leadership-card:nth-child(3n+2),body .document-card:nth-child(3n+2),body .contact-card:nth-child(3n+2),body .value-card:nth-child(3n+2),body .memory-card:nth-child(3n+2),body .info-box:nth-child(3n+2),body .pres-stat:nth-child(3n+2),body .feature-card:nth-child(3n+2):hover,body .activity-item:nth-child(3n+2):hover,body .impact-card:nth-child(3n+2):hover,body .card:nth-child(3n+2):hover,body .law-card:nth-child(3n+2):hover,body .merit-card:nth-child(3n+2):hover,body .memorial-card:nth-child(3n+2):hover,body .award-card:nth-child(3n+2):hover,body .leadership-card:nth-child(3n+2):hover,body .document-card:nth-child(3n+2):hover,body .contact-card:nth-child(3n+2):hover,body .value-card:nth-child(3n+2):hover,body .memory-card:nth-child(3n+2):hover,body .info-box:nth-child(3n+2):hover,body .pres-stat:nth-child(3n+2):hover{border-top-color:var(--card-ru-blue)!important}
body .feature-card:nth-child(3n),body .activity-item:nth-child(3n),body .impact-card:nth-child(3n),body .card:nth-child(3n),body .law-card:nth-child(3n),body .merit-card:nth-child(3n),body .memorial-card:nth-child(3n),body .award-card:nth-child(3n),body .leadership-card:nth-child(3n),body .document-card:nth-child(3n),body .contact-card:nth-child(3n),body .value-card:nth-child(3n),body .memory-card:nth-child(3n),body .info-box:nth-child(3n),body .pres-stat:nth-child(3n),body .feature-card:nth-child(3n):hover,body .activity-item:nth-child(3n):hover,body .impact-card:nth-child(3n):hover,body .card:nth-child(3n):hover,body .law-card:nth-child(3n):hover,body .merit-card:nth-child(3n):hover,body .memorial-card:nth-child(3n):hover,body .award-card:nth-child(3n):hover,body .leadership-card:nth-child(3n):hover,body .document-card:nth-child(3n):hover,body .contact-card:nth-child(3n):hover,body .value-card:nth-child(3n):hover,body .memory-card:nth-child(3n):hover,body .info-box:nth-child(3n):hover,body .pres-stat:nth-child(3n):hover{border-top-color:var(--card-ru-red)!important}
body .feature-card:hover,body .activity-item:hover,body .impact-card:hover,body .card:hover,body .law-card:hover,body .merit-card:hover,body .memorial-card:hover,body .award-card:hover,body .leadership-card:hover,body .document-card:hover,body .contact-card:hover,body .value-card:hover,body .memory-card:hover,body .info-box:hover,body .pres-stat:hover{transform:translateY(-3px)!important;box-shadow:0 18px 40px rgba(79,7,17,.11)!important}
/* Horizontal mission notes use the same flag order on the left edge. */
body .story-mark{border:1px solid var(--card-neutral)!important;border-left-width:6px!important;border-top-width:1px!important}
body .story-mark:nth-child(3n+1),body .story-mark:nth-child(3n+1):hover{border-left-color:var(--card-ru-white)!important;box-shadow:-2px 0 0 rgba(79,7,17,.12),0 10px 26px rgba(79,7,17,.07)!important}
body .story-mark:nth-child(3n+2),body .story-mark:nth-child(3n+2):hover{border-left-color:var(--card-ru-blue)!important}
body .story-mark:nth-child(3n),body .story-mark:nth-child(3n):hover{border-left-color:var(--card-ru-red)!important}
@media(max-width:620px){body .feature-card,body .activity-item,body .impact-card,body .card,body .law-card,body .merit-card,body .memorial-card,body .award-card,body .leadership-card,body .document-card,body .contact-card,body .value-card,body .memory-card,body .info-box,body .pres-stat{border-top-width:5px!important}}

/* ===== professional-patriotic.css ===== */
/* FINAL PROFESSIONAL PATRIOTIC SYSTEM — calm, adult, coherent */
:root{--pp-burgundy:#8F1022;--pp-deep:#4F0711;--pp-red:#D52B1E;--pp-blue:#0039A6;--pp-white:#FFFFFF;--pp-gold:#A57D22;--pp-gold-soft:#D2B36B;--pp-cream:#FBF8F1;--pp-line:#E7DAD3;--pp-ink:#302627;--pp-muted:#665B58;--pp-shadow:0 14px 36px rgba(79,7,17,.08)}
html{scroll-behavior:smooth}body{background:linear-gradient(180deg,#fff 0%,#fff 62%,#FBF8F1 100%)!important;color:var(--pp-ink)!important;font-family:Arial,"Segoe UI",sans-serif!important;line-height:1.65!important}.container{width:min(100% - 40px,1200px)!important;margin-inline:auto!important}h1,h2,h3,h4,.section-title,.pres-section-title{font-family:Georgia,"Times New Roman",serif!important;letter-spacing:-.012em!important}p{color:var(--pp-muted)}
/* Header: institutional and restrained */
.header-top{background:var(--pp-deep)!important;color:#fff!important;border:0!important}.header{background:rgba(255,255,255,.985)!important;border:0!important;box-shadow:0 8px 28px rgba(79,7,17,.09)!important;backdrop-filter:blur(12px)!important;position:relative!important}.header::after{content:""!important;display:block!important;position:absolute!important;left:0!important;right:0!important;bottom:-6px!important;height:6px!important;background:linear-gradient(180deg,#FFFFFF 0 33.333%,#0039A6 33.333% 66.666%,#D52B1E 66.666% 100%)!important;z-index:50!important;opacity:1!important}.logo-section a{background:#fff!important;border:1px solid var(--pp-line)!important;border-radius:12px!important;padding:7px 10px!important;box-shadow:0 8px 24px rgba(79,7,17,.08)!important}.main-nav a{color:#35282a!important;font-weight:750!important;padding:12px 4px!important}.main-nav a:hover,.main-nav a.active{color:var(--pp-burgundy)!important}.main-nav a::after{height:3px!important;background:var(--pp-burgundy)!important}.dropdown-menu{background:#fff!important;border:1px solid var(--pp-line)!important;border-top:4px solid var(--pp-burgundy)!important;box-shadow:0 18px 44px rgba(79,7,17,.13)!important}.donate-btn,.btn-primary,.btn-submit,.modal-close-btn{background:var(--pp-burgundy)!important;color:#fff!important;border:2px solid var(--pp-burgundy)!important;box-shadow:none!important}.donate-btn:hover,.btn-primary:hover,.btn-submit:hover{background:var(--pp-deep)!important;border-color:var(--pp-deep)!important;transform:translateY(-1px)!important}.btn-secondary{background:#fff!important;color:var(--pp-burgundy)!important;border:2px solid var(--pp-burgundy)!important}
/* Hero: unmistakably patriotic without theatrical decoration */
.hero-carousel,.page-hero,.pres-hero,.memory-hero{position:relative!important;isolation:isolate!important;background:radial-gradient(circle at 82% 18%,rgba(255,255,255,.11),transparent 25%),linear-gradient(135deg,#4F0711 0%,#8F1022 58%,#65101A 100%)!important;border:0!important;box-shadow:none!important;overflow:hidden!important}.hero-carousel{min-height:560px!important;padding:70px 20px 86px!important}.page-hero,.pres-hero,.memory-hero{min-height:330px!important}.hero-carousel::before,.page-hero::before,.pres-hero::before,.memory-hero::before{content:""!important;position:absolute!important;inset:0!important;background:linear-gradient(110deg,rgba(255,255,255,.055),transparent 36%,rgba(0,0,0,.10))!important;opacity:1!important;animation:none!important;pointer-events:none!important}.hero-carousel::after,.page-hero::after,.pres-hero::after,.memory-hero::after{content:""!important;display:block!important;position:absolute!important;left:0!important;right:0!important;bottom:0!important;height:7px!important;background:linear-gradient(180deg,#FFFFFF 0 33.333%,#0039A6 33.333% 66.666%,#D52B1E 66.666% 100%)!important;transform:none!important;opacity:1!important;z-index:9!important;pointer-events:none!important}.hero-carousel .carousel-slide>div{background:rgba(55,4,10,.28)!important;border:1px solid rgba(255,255,255,.22)!important;border-radius:22px!important;box-shadow:0 28px 70px rgba(0,0,0,.22)!important;backdrop-filter:blur(3px)!important}.hero-carousel h2,.page-hero h1,.pres-hero h1,.memory-hero h1{color:#fff!important;text-shadow:0 2px 16px rgba(0,0,0,.25)!important}.hero-carousel p,.page-hero p,.pres-hero p,.memory-hero p{color:rgba(255,255,255,.92)!important}.hero-pill,.page-kicker,.pres-rank{background:rgba(255,255,255,.10)!important;color:#fff!important;border:1px solid rgba(255,255,255,.42)!important}.hero-flag-corner,.ru-flag-mark{background:linear-gradient(180deg,#FFFFFF 0 33.333%,#0039A6 33.333% 66.666%,#D52B1E 66.666% 100%)!important;opacity:1!important;border:1px solid rgba(255,255,255,.7)!important;box-shadow:0 12px 30px rgba(0,0,0,.22)!important}.hero-flag-corner{width:84px!important;height:56px!important}.hero-3d-medal,.hero-3d-ribbon,.patriotic-layer,.anim-document-ribbons,.anim-signal-lines,.sg-ribbon-pin{display:none!important}.tilt-3d,.tilt-3d:hover{transform:none!important}.tilt-3d::before{display:none!important}
/* Content rhythm */
main>section,.section{padding-top:64px!important;padding-bottom:64px!important}.section-header,.pres-section-title{margin-top:0!important}.section-header h2,.section-title,.pres-section-title,.story-section h2,.application-section h2{color:var(--pp-deep)!important}.section-header h2::after,.section-title::after,.pres-section-title::after{content:""!important;display:block!important;width:96px!important;height:4px!important;margin:16px auto 0!important;border-radius:99px!important;background:linear-gradient(90deg,var(--pp-burgundy) 0 72%,var(--pp-gold) 72% 100%)!important}.section-header p,.pres-section-sub{color:var(--pp-muted)!important;max-width:720px!important;margin-inline:auto!important}
/* Cards: one system, requested flag order remains */
.feature-card,.activity-item,.impact-card,.card,.law-card,.merit-card,.memorial-card,.award-card,.leadership-card,.document-card,.contact-card,.value-card,.memory-card,.info-box,.pres-stat,.story-mark{background:#fff!important;border-color:var(--pp-line)!important;border-radius:16px!important;box-shadow:var(--pp-shadow)!important}.feature-card,.activity-item{padding:28px!important}.feature-card:hover,.activity-item:hover,.impact-card:hover,.card:hover,.law-card:hover,.merit-card:hover,.memorial-card:hover,.award-card:hover,.document-card:hover,.contact-card:hover{box-shadow:0 20px 46px rgba(79,7,17,.12)!important}.feature-card h3,.activity-item h4,.card h3,.law-card h3,.merit-card h3,.memorial-card h3,.award-card h3,.document-card h3,.contact-card h3{color:var(--pp-deep)!important}.feature-card p,.activity-item p,.card p{color:var(--pp-muted)!important}.feature-card-icon{background:var(--pp-cream)!important;color:var(--pp-burgundy)!important;border:1px solid var(--pp-line)!important;box-shadow:none!important}.story-section,.president-highlight,.memorial-featured,.pres-quote,.honor-section,.merit-list article,.ru-flag-panel{background:linear-gradient(135deg,#fff 0%,var(--pp-cream) 100%)!important;border:1px solid var(--pp-line)!important;border-radius:22px!important;box-shadow:var(--pp-shadow)!important}.ru-flag-panel{border-left:6px solid var(--pp-burgundy)!important}.stats-section{background:linear-gradient(135deg,var(--pp-deep),var(--pp-burgundy))!important;border:1px solid #73101e!important;border-radius:20px!important}.stat-number{color:#fff!important}.stat-label{color:rgba(255,255,255,.84)!important}
/* Forms and calls to action */
.application-section,.cta-section,.memorial-cta{background:linear-gradient(135deg,var(--pp-deep),var(--pp-burgundy))!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:24px!important;box-shadow:0 24px 60px rgba(79,7,17,.16)!important}.application-section h2,.application-section p,.cta-section h2,.cta-section p,.memorial-cta h2,.memorial-cta p{color:#fff!important}.application-form input,.application-form textarea,.application-form select,.contact-form input,.contact-form textarea,.contact-form select{background:#fff!important;color:var(--pp-ink)!important;border:1px solid #d8c7c1!important;border-radius:10px!important;box-shadow:none!important}.application-form input:focus,.application-form textarea:focus,.application-form select:focus,.contact-form input:focus,.contact-form textarea:focus{border-color:var(--pp-burgundy)!important;box-shadow:0 0 0 4px rgba(143,16,34,.13)!important}
/* Biography timeline: fully unified */
body[data-page="president"] .timeline::before{background:var(--pp-burgundy)!important;width:4px!important}.tl-year{color:var(--pp-deep)!important}.tl-year::after,.tl-item:nth-child(3n) .tl-year::after{background:var(--pp-burgundy)!important;border:4px solid #fff!important;box-shadow:0 0 0 3px var(--pp-gold),0 5px 12px rgba(79,7,17,.16)!important}.tl-body{background:#fff!important;border:1px solid var(--pp-line)!important;border-left:5px solid var(--pp-burgundy)!important;box-shadow:var(--pp-shadow)!important}.tl-body h4{color:var(--pp-deep)!important}.tl-body p{color:var(--pp-ink)!important}.tl-photo-pair figure{border-color:var(--pp-line)!important;background:#fff!important}.tl-photo-pair figcaption{background:var(--pp-cream)!important;color:var(--pp-deep)!important;border-top:2px solid var(--pp-gold-soft)!important}
/* Images */
img{filter:none!important}.pres-hero-photo img,.memorial-featured .mf-photo img,.leadership-photo img{border:5px solid #fff!important;box-shadow:0 18px 48px rgba(0,0,0,.26)!important}.tl-photo-pair img,.memory-archive-card img,.memorial-card img{background:var(--pp-cream)!important}
/* Footer as a formal closing block */
footer{position:relative!important;background:var(--pp-deep)!important;border:0!important;margin-top:72px!important;color:#fff!important}footer::before{content:""!important;display:block!important;position:absolute!important;top:0!important;left:0!important;right:0!important;height:7px!important;background:linear-gradient(180deg,#FFFFFF 0 33.333%,#0039A6 33.333% 66.666%,#D52B1E 66.666% 100%)!important}.footer-section h3,.footer-section h4{color:#fff!important}.footer-section p,.footer-section a,.footer-bottom{color:rgba(255,255,255,.78)!important}.footer-section a:hover{color:#fff!important}.footer-flag-line{background:linear-gradient(180deg,#FFFFFF 0 33.333%,#0039A6 33.333% 66.666%,#D52B1E 66.666% 100%)!important;opacity:1!important}.pd-cookie-notice{background:var(--pp-deep)!important;border-top:4px solid var(--pp-burgundy)!important}.scroll-top-btn{background:var(--pp-burgundy)!important;border-color:#fff!important}
/* Accessibility and motion */
.reveal-patriotic{opacity:1!important;transform:none!important;transition:none!important}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--pp-blue)!important;outline-offset:3px!important}
@media(max-width:900px){.hero-carousel{min-height:500px!important}.hero-carousel .carousel-slide>div{padding:32px 24px!important}.story-section,.president-highlight{grid-template-columns:1fr!important}}
@media(max-width:767px){.container{width:min(100% - 28px,1200px)!important}.header::after{bottom:-4px!important;height:4px!important}.hero-carousel{min-height:440px!important;padding:52px 12px 66px!important}.page-hero,.pres-hero,.memory-hero{min-height:270px!important}.hero-carousel::after,.page-hero::after,.pres-hero::after,.memory-hero::after{height:6px!important}.hero-carousel .carousel-slide>div{padding:26px 18px!important;border-radius:18px!important}.hero-carousel h2{font-size:clamp(30px,10vw,44px)!important}.hero-flag-corner{width:60px!important;height:40px!important}.features-grid,.activities-grid{grid-template-columns:1fr!important}.feature-card,.activity-item{padding:22px!important}main>section,.section{padding-top:44px!important;padding-bottom:44px!important}.story-section,.president-highlight,.application-section,.cta-section,.memorial-featured{padding:26px 20px!important;border-radius:18px!important}footer{margin-top:52px!important}.timeline::before{display:none!important}.tl-item{grid-template-columns:1fr!important}.tl-year{text-align:left!important;padding:7px 12px!important;background:var(--pp-cream)!important;border:1px solid var(--pp-line)!important;border-left:4px solid var(--pp-gold)!important;border-radius:8px!important;width:max-content!important}.tl-year::after{display:none!important}}

/* Mobile hero clipping correction */
@media(max-width:767px){.hero-carousel{height:auto!important;min-height:480px!important}}

/* ===== patriotic-contrast.css ===== */
/* Patriotic visibility and text-contrast pass */
:root{--pc-white:#FFFFFF;--pc-blue:#0039A6;--pc-red:#D52B1E;--pc-burgundy:#8F1022;--pc-deep:#4F0711;--pc-gold:#A57D22;--pc-ink:#302627;--pc-body:#4A3D3E;--pc-muted:#625653;--pc-line:#E7DAD3;--pc-cream:#FBF8F1}
/* Accessibility controls: remove low-contrast gold-on-burgundy combinations */
.header-top button,.header-top .accessibility-toggle,.font-size-controls button{color:#fff!important;background:rgba(255,255,255,.10)!important;border:1px solid rgba(255,255,255,.55)!important}.header-top button:hover,.font-size-controls button:hover{color:var(--pc-deep)!important;background:#fff!important}.font-size-controls button.active{color:var(--pc-deep)!important;background:#fff!important;border-color:#fff!important}
/* Solid fallbacks make white text reliable over every dark block */
.hero-carousel,.page-hero,.pres-hero,.memory-hero{background-color:var(--pc-deep)!important}.application-section,.cta-section,.memorial-cta,.stats-section{background-color:var(--pc-deep)!important}.hero-pill,.pres-rank,.pres-chips span{background:rgba(79,7,17,.78)!important;color:#fff!important;border-color:rgba(255,255,255,.58)!important}
/* Small Russian flag beneath every major heading */
.section-header h2::after,.section-title::after,.pres-section-title::after{height:8px!important;width:104px!important;background:linear-gradient(180deg,#FFFFFF 0 33.333%,#0039A6 33.333% 66.666%,#D52B1E 66.666% 100%)!important;box-shadow:0 0 0 1px rgba(79,7,17,.14)!important;border-radius:3px!important}
/* Stronger patriotic accents on major institutional blocks */
.stats-section,.application-section,.cta-section,.memorial-cta{background-image:linear-gradient(180deg,#FFFFFF 0 33.333%,#0039A6 33.333% 66.666%,#D52B1E 66.666% 100%),linear-gradient(135deg,var(--pc-deep),var(--pc-burgundy))!important;background-size:100% 7px,100% 100%!important;background-position:top,center!important;background-repeat:no-repeat!important;padding-top:calc(52px + 7px)!important}
.ru-flag-panel::before{background:linear-gradient(180deg,#FFFFFF 0 33.333%,#0039A6 33.333% 66.666%,#D52B1E 66.666% 100%)!important;width:7px!important}
/* Icons repeat the flag sequence, while remaining readable */
.feature-card:nth-child(3n+1) .feature-card-icon{background:#fff!important;color:var(--pc-burgundy)!important;border:2px solid var(--pc-line)!important}.feature-card:nth-child(3n+2) .feature-card-icon{background:var(--pc-blue)!important;color:#fff!important;border:2px solid var(--pc-blue)!important}.feature-card:nth-child(3n) .feature-card-icon{background:var(--pc-red)!important;color:#fff!important;border:2px solid var(--pc-red)!important}
/* Text colours in light cards and panels */
.feature-card h3,.activity-item h4,.impact-card strong,.card h3,.law-card h3,.merit-card h3,.memorial-card h3,.award-card h3,.document-card h3,.contact-card h3,.info-box h3,.story-mark b,.memory-story-content h3{color:#6F0A18!important}.feature-card p,.activity-item p,.impact-card span,.card p,.law-card p,.merit-card p,.memorial-card p,.award-card p,.document-card p,.contact-card p,.info-box p,.story-mark,.story-mark p,.memory-story-content p,.tl-body p{color:var(--pc-body)!important}.section-header p,.pres-section-sub,.page-section p,.leadership-card p{color:var(--pc-muted)!important}.mf-rank,.mc-years,.mf-years{color:#fff!important;background:var(--pc-deep)!important;border-color:var(--pc-deep)!important}.memorial-note,.memory-note,.timeline-note,.press-note,.source-note,.photo-note,.pres-note,.privacy-content>p:first-child{color:var(--pc-muted)!important}.memory-story-index{color:#6F0A18!important}.tl-year{color:#6F0A18!important}.tl-photo-pair figcaption{color:#6F0A18!important}
/* White text is explicit in all dark areas */
.hero-carousel h1,.hero-carousel h2,.hero-carousel p,.page-hero h1,.page-hero p,.pres-hero h1,.pres-hero p,.memory-hero h1,.memory-hero p,.application-section h2,.application-section h3,.application-section p,.application-section label,.application-section small,.application-section a,.cta-section h2,.cta-section h3,.cta-section p,.cta-section a,.memorial-cta h2,.memorial-cta p,.stats-section h2,.stats-section h3,.stats-section p,.stats-section span{color:#fff!important}.application-section small{opacity:.90!important}.application-section a,.cta-section a,.memorial-cta a{text-decoration-color:rgba(255,255,255,.65)!important}
/* Footer text and links */
footer,footer p,footer li,.footer-section p,.footer-section a,.footer-bottom{color:rgba(255,255,255,.86)!important}.footer-section h3,.footer-section h4{color:#fff!important}.footer-section a:hover{color:#fff!important;text-decoration:underline!important}
@media(max-width:767px){.stats-section,.application-section,.cta-section,.memorial-cta{padding-top:calc(32px + 7px)!important}.section-header h2::after,.section-title::after,.pres-section-title::after{width:88px!important;height:7px!important}}

/* ===== professional-icons.css ===== */
.pro-icon{width:1.08em;height:1.08em;display:inline-block;vertical-align:-.16em;flex:0 0 auto;color:currentColor;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.pro-icon-flag{width:1.35em;stroke:none;vertical-align:-.2em}.feature-card-icon .pro-icon,.contact-icon .pro-icon{width:1.35em;height:1.35em}.hero-pill .pro-icon,.pres-chips .pro-icon{margin-right:.32em}.feature-card-icon,.hero-pill,.pres-chips span,.contact-item,.award-country-list li{display:flex;align-items:center}.footer-section .pro-icon{color:#fff}.pro-icon-star{fill:currentColor;stroke-width:1.4}.pro-icon-heart{stroke-width:1.7}.pro-icon-medal{stroke-width:1.6}@media(max-width:600px){.pro-icon{width:1em;height:1em}.feature-card-icon .pro-icon{width:1.25em;height:1.25em}}
.professional-icon-definitions{position:absolute!important;width:0!important;height:0!important;overflow:hidden!important;pointer-events:none!important}

/* ===== st-george-premium.css ===== */
/* Professional St George ribbon accents */
.sg-premium-divider,.sg-footer-ribbon{position:relative;z-index:6;pointer-events:none;user-select:none}.sg-premium-divider{width:min(1280px,94vw);height:88px;margin:-32px auto -8px;filter:saturate(.96)}.sg-premium-divider img,.sg-footer-ribbon img{display:block;width:100%;height:100%;object-fit:fill}.sg-footer-ribbon{width:100%;height:58px;margin:14px auto -20px;overflow:hidden;background:#fbf8f1}.sg-footer-ribbon img{width:min(1320px,96vw);margin:0 auto;transform:scaleY(.82);transform-origin:center}.sg-premium-divider:after{content:"ПАМЯТЬ • ЧЕСТЬ • ОТЕЧЕСТВО";position:absolute;left:50%;top:51%;transform:translate(-50%,-50%);padding:5px 16px;background:rgba(79,7,17,.92);border:1px solid rgba(255,255,255,.48);border-radius:999px;color:#fff;font:700 10px/1.2 Arial,sans-serif;letter-spacing:.16em;white-space:nowrap;box-shadow:0 4px 12px rgba(0,0,0,.22)}@media(max-width:767px){.sg-premium-divider{width:100%;height:58px;margin:-20px auto -4px}.sg-premium-divider:after{font-size:8px;letter-spacing:.1em;padding:4px 10px}.sg-footer-ribbon{height:42px;margin:8px 0 -12px}.sg-footer-ribbon img{width:120%;margin-left:-10%}}@media(prefers-reduced-motion:no-preference){.sg-premium-divider img{animation:sgReveal .7s ease-out both}}@keyframes sgReveal{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}@media print{.sg-premium-divider,.sg-footer-ribbon{display:none!important}}

/* ===== st-george-clean.css ===== */
/* Clean St George treatment: only the approved flowing ribbon */
.sg-premium-divider{width:min(1180px,90vw)!important;height:72px!important;margin:24px auto 30px!important;clear:both!important;overflow:visible!important;isolation:isolate!important}.sg-premium-divider:after{top:50%!important}.sg-premium-divider + *{margin-top:0!important;position:relative!important}.sg-premium-divider + .container{padding-top:18px!important}.sg-premium-divider + .impact-strip{padding-top:18px!important;margin-top:0!important}.sg-footer-ribbon{width:100%!important;height:54px!important;margin:18px auto -12px!important;background:#fbf8f1!important;overflow:hidden!important}.sg-footer-ribbon img{display:block!important;width:min(1240px,94vw)!important;height:54px!important;margin:0 auto!important;transform:scaleY(.72)!important;transform-origin:center!important;object-fit:fill!important;opacity:.88!important}.sg-hero-fold{display:none!important}@media(max-width:767px){.sg-premium-divider{width:94vw!important;height:50px!important;margin:14px auto 22px!important}.sg-premium-divider:after{font-size:7.5px!important;padding:4px 9px!important}.sg-footer-ribbon{height:38px!important;margin:12px 0 -8px!important}.sg-footer-ribbon img{width:116%!important;height:38px!important;margin-left:-8%!important}}

/* ===== patriotic-heading-marks.css ===== */
/* Patriotic replacements for the former burgundy-gold heading bars */
h2[data-patriotic-mark]::after,.section-title[data-patriotic-mark]::after,.pres-section-title[data-patriotic-mark]::after{content:""!important;display:block!important;width:148px!important;height:12px!important;margin:17px auto 0!important;border-radius:4px!important;opacity:1!important;transform:none!important;box-sizing:border-box!important}
h2[data-patriotic-mark="flag"]::after,.section-title[data-patriotic-mark="flag"]::after,.pres-section-title[data-patriotic-mark="flag"]::after{background:linear-gradient(180deg,#FFFFFF 0 33.333%,#0039A6 33.333% 66.666%,#D52B1E 66.666% 100%)!important;border:1px solid rgba(79,7,17,.20)!important;box-shadow:0 4px 10px rgba(79,7,17,.12),inset 0 1px 0 rgba(255,255,255,.8)!important}
h2[data-patriotic-mark="st-george"]::after,.section-title[data-patriotic-mark="st-george"]::after,.pres-section-title[data-patriotic-mark="st-george"]::after{background:linear-gradient(180deg,#111 0 20%,#F28C28 20% 40%,#111 40% 60%,#F28C28 60% 80%,#111 80% 100%)!important;border:1px solid #3a1c08!important;box-shadow:0 4px 10px rgba(35,18,7,.18),inset 0 1px 0 rgba(255,255,255,.24)!important}
.honor-section h2[data-patriotic-mark]::after,.merit-section h2[data-patriotic-mark]::after{margin-left:0!important;margin-right:0!important}
@media(max-width:600px){h2[data-patriotic-mark]::after,.section-title[data-patriotic-mark]::after,.pres-section-title[data-patriotic-mark]::after{width:120px!important;height:10px!important;margin-top:13px!important}}

/* Strong page-specific override for timeline headings */
html body[data-page="president"] .pres-section-title[data-patriotic-mark="flag"]::after{background:linear-gradient(180deg,#FFFFFF 0 33.333%,#0039A6 33.333% 66.666%,#D52B1E 66.666% 100%)!important;border:1px solid rgba(79,7,17,.20)!important;box-shadow:0 4px 10px rgba(79,7,17,.12),inset 0 1px 0 rgba(255,255,255,.8)!important}
html body[data-page="president"] .pres-section-title[data-patriotic-mark="st-george"]::after{background:linear-gradient(180deg,#111 0 20%,#F28C28 20% 40%,#111 40% 60%,#F28C28 60% 80%,#111 80% 100%)!important;border:1px solid #3a1c08!important;box-shadow:0 4px 10px rgba(35,18,7,.18),inset 0 1px 0 rgba(255,255,255,.24)!important}

/* ===== studio-quality.css ===== */
/* Studio-quality final pass: restrained, consistent, production-ready */
:root{--studio-wine:#710d1c;--studio-wine-dark:#3f070e;--studio-wine-soft:#8f2330;--studio-gold:#b18a35;--studio-gold-light:#d6bd7a;--studio-ink:#272225;--studio-muted:#625b5e;--studio-paper:#fbf9f5;--studio-white:#fff;--studio-line:#e5ddd7;--studio-shadow:0 14px 38px rgba(50,26,31,.09);--studio-shadow-sm:0 7px 20px rgba(50,26,31,.07);--studio-radius:16px;--studio-radius-sm:11px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--studio-ink);background:var(--studio-paper);font-family:Arial,"Helvetica Neue",sans-serif;font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}img{max-width:100%}p{max-width:78ch}a{text-underline-offset:3px}.container{width:min(1180px,calc(100% - 40px));margin-inline:auto}main{overflow:clip}main>section{padding-block:76px}h1,h2,h3,h4{color:var(--studio-wine-dark);font-family:Georgia,"Times New Roman",serif;letter-spacing:-.015em;text-wrap:balance}h1{font-size:clamp(2.25rem,5vw,4.6rem);line-height:1.02}h2{font-size:clamp(1.8rem,3vw,2.7rem);line-height:1.16}h3{font-size:clamp(1.25rem,2vw,1.65rem);line-height:1.25}p,li{color:var(--studio-muted)}
.header-top{background:var(--studio-wine-dark)!important;border-bottom:1px solid rgba(255,255,255,.12)!important}.header-top-container{min-height:38px!important}.header{position:sticky!important;top:0;z-index:900;background:rgba(255,255,255,.97)!important;border-bottom:1px solid var(--studio-line)!important;box-shadow:0 3px 14px rgba(40,17,22,.055)!important;backdrop-filter:blur(12px)}.logo-section{padding-block:12px!important}.logo-section img{filter:none!important}.main-nav{gap:4px!important}.main-nav>a,.main-nav>.dropdown>a{min-height:44px;display:flex!important;align-items:center;padding:0 12px!important;border-radius:8px!important;color:#3b3034!important;font-weight:700!important;font-size:.93rem!important;letter-spacing:.005em}.main-nav>a:hover,.main-nav>.dropdown>a:hover,.main-nav a.active{background:#f5efec!important;color:var(--studio-wine)!important}.dropdown-menu{border:1px solid var(--studio-line)!important;border-radius:12px!important;box-shadow:var(--studio-shadow)!important;padding:8px!important;background:#fff!important}.dropdown-menu a{border-radius:7px!important}.donate-btn,.btn-primary{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:46px!important;padding:0 22px!important;border:1px solid var(--studio-wine)!important;border-radius:10px!important;background:var(--studio-wine)!important;color:#fff!important;font-weight:800!important;letter-spacing:.01em!important;box-shadow:0 7px 16px rgba(113,13,28,.16)!important;transition:transform .2s ease,box-shadow .2s ease,background .2s ease!important}.donate-btn:hover,.btn-primary:hover{transform:translateY(-1px)!important;background:var(--studio-wine-dark)!important;box-shadow:0 10px 23px rgba(113,13,28,.21)!important}
.page-hero{position:relative!important;padding:88px 0 78px!important;background:linear-gradient(125deg,var(--studio-wine-dark),var(--studio-wine) 68%,#8d2834)!important;border-bottom:1px solid rgba(177,138,53,.46)!important;overflow:hidden!important}.page-hero:after{content:"";position:absolute;inset:auto -8% -110px auto;width:420px;height:420px;border:1px solid rgba(255,255,255,.1);border-radius:50%;box-shadow:0 0 0 42px rgba(255,255,255,.025),0 0 0 84px rgba(255,255,255,.018)}.page-hero .container{position:relative;z-index:2}.page-hero h1{max-width:900px;margin:10px auto 14px!important;color:#fff!important;text-align:center!important}.page-kicker{display:block;color:var(--studio-gold-light)!important;font-size:.78rem!important;font-weight:800!important;letter-spacing:.17em!important;text-transform:uppercase!important;text-align:center}.page-hero-sub{max-width:760px!important;margin:0 auto!important;color:rgba(255,255,255,.84)!important;text-align:center!important;font-size:1.06rem!important;line-height:1.65!important}.hero-flag-corner{opacity:.92!important}
.section-header,.pres-section-title{text-align:center!important;margin:0 auto 12px!important;max-width:900px!important}.pres-section-sub,.section-header p{max-width:760px!important;margin:0 auto 36px!important;text-align:center!important;color:var(--studio-muted)!important}.pres-section-title{padding-top:12px!important}.pres-section-title+*{clear:both}.card,.info-box,.feature-card,.impact-card,.stat-box,.merit-card,.law-card,.memorial-card,.memory-story,.state-award-card{border:1px solid var(--studio-line)!important;border-radius:var(--studio-radius)!important;background:#fff!important;box-shadow:var(--studio-shadow-sm)!important}.card,.info-box,.feature-card,.impact-card,.stat-box,.merit-card,.law-card{padding:28px!important}.card:hover,.feature-card:hover,.impact-card:hover,.law-card:hover,.memorial-card:hover{transform:translateY(-2px)!important;box-shadow:var(--studio-shadow)!important}.grid-2,.grid-3,.features-grid,.impact-grid,.memorial-grid{gap:22px!important}.info-box{border-top:4px solid var(--studio-wine)!important}.ru-flag-panel{border:1px solid var(--studio-line)!important;border-left:6px solid #0039a6!important;border-radius:var(--studio-radius)!important;background:#fff!important;box-shadow:var(--studio-shadow-sm)!important;padding:26px 28px!important}.pres-stats{gap:16px!important}.pres-stat{min-height:122px!important;padding:23px 18px!important;border:1px solid var(--studio-line)!important;border-radius:14px!important;background:#fff!important;box-shadow:var(--studio-shadow-sm)!important}.pres-stat b{color:var(--studio-wine)!important;font-size:clamp(1.35rem,2vw,1.95rem)!important}.pres-stat span{color:var(--studio-muted)!important;font-size:.86rem!important;letter-spacing:.02em!important}.pres-lead,.pres-narrative{max-width:900px!important;margin-inline:auto!important}.pres-narrative p,.pres-lead{font-size:1.04rem!important;line-height:1.82!important}
.timeline{max-width:980px!important;margin-inline:auto!important}.tl-item{margin-bottom:22px!important;border:1px solid var(--studio-line)!important;border-left:5px solid var(--studio-wine)!important;border-radius:var(--studio-radius)!important;background:#fff!important;box-shadow:var(--studio-shadow-sm)!important;overflow:hidden!important}.tl-year{background:linear-gradient(180deg,var(--studio-wine),var(--studio-wine-dark))!important;color:#fff!important;font-weight:800!important;letter-spacing:.025em!important}.tl-body{padding:27px 30px!important}.tl-body h4{margin-top:0!important;color:var(--studio-wine-dark)!important;font-size:1.34rem!important}.tl-photo-pair{gap:14px!important;margin-top:20px!important}.tl-photo-pair figure{overflow:hidden!important;border:1px solid var(--studio-line)!important;border-radius:12px!important;background:#f6f1ee!important}.tl-photo-pair img{width:100%!important;height:240px!important;object-fit:cover!important;display:block!important}.tl-photo-pair figcaption{padding:10px 12px!important;color:#574d50!important;background:#fff!important;font-size:.84rem!important;line-height:1.4!important}.state-orders-grid{gap:18px!important}.state-award-card{overflow:hidden!important}.state-award-image{background:linear-gradient(145deg,#faf7f2,#eee6df)!important;border-bottom:1px solid var(--studio-line)!important}.award-country-list{gap:12px!important}.award-country{border:1px solid var(--studio-line)!important;border-radius:10px!important;background:#fff!important}
.memorial-featured{border:1px solid var(--studio-line)!important;border-radius:20px!important;background:#fff!important;box-shadow:var(--studio-shadow)!important;overflow:hidden!important}.memorial-grid{align-items:stretch!important}.memorial-card{overflow:hidden!important;display:flex!important;flex-direction:column!important}.mc-photo{background:#eee7e2!important;aspect-ratio:4/3!important;overflow:hidden!important}.mc-photo img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center 18%!important}.mc-body{padding:24px!important;display:flex!important;flex-direction:column!important;flex:1!important}.mc-body h3{margin:0 0 7px!important}.mc-years{font-weight:800!important;color:var(--studio-wine)!important}.memory-story{padding:0!important;overflow:hidden!important}.memory-story-copy{padding:30px!important}.memory-story-photos{gap:1px!important;background:var(--studio-line)!important}.memory-story-photos figure{background:#fff!important}.memory-story-photos img{display:block!important;width:100%!important;height:330px!important;object-fit:cover!important}
input,textarea,select{width:100%;border:1px solid #cfc5c0!important;border-radius:9px!important;background:#fff!important;color:var(--studio-ink)!important;padding:12px 14px!important;font:inherit!important;transition:border-color .2s ease,box-shadow .2s ease!important}input:focus,textarea:focus,select:focus{outline:none!important;border-color:var(--studio-wine)!important;box-shadow:0 0 0 4px rgba(113,13,28,.1)!important}label{font-weight:700;color:#453a3e}.form-group{margin-bottom:18px!important}
footer{margin-top:78px!important;background:var(--studio-wine-dark)!important;border-top:4px solid var(--studio-gold)!important}.footer-section h3,.footer-section h4{color:#fff!important}.footer-section p,.footer-section li,.footer-section a{color:rgba(255,255,255,.75)!important}.footer-section a:hover{color:#fff!important}.cookie-banner{border-top:1px solid var(--studio-line)!important;box-shadow:0 -10px 30px rgba(30,15,18,.13)!important}
:focus-visible{outline:3px solid #0039a6!important;outline-offset:3px!important}.reveal-patriotic,.patriotic-reveal{transition:opacity .45s ease,transform .45s ease!important}.sg-premium-divider{margin-block:38px!important;opacity:.88!important}.sg-ribbon-pin{transform:scale(.88)!important;transform-origin:center!important}
@media(max-width:1024px){.container{width:min(100% - 32px,1180px)}.main-nav>a,.main-nav>.dropdown>a{padding-inline:9px!important;font-size:.88rem!important}.tl-photo-pair img{height:220px!important}}
@media(max-width:760px){body{font-size:15px}.container{width:calc(100% - 28px)}main>section{padding-block:54px}.header{position:relative!important}.page-hero{padding:66px 0 58px!important}.page-hero h1{font-size:clamp(2.05rem,11vw,3.2rem)!important}.card,.info-box,.feature-card,.impact-card,.stat-box,.merit-card,.law-card{padding:22px!important}.pres-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}.pres-stat{min-height:110px!important}.tl-item{display:block!important}.tl-year{width:100%!important;padding:13px 20px!important;text-align:left!important}.tl-body{padding:22px!important}.tl-photo-pair{grid-template-columns:1fr!important}.tl-photo-pair img{height:auto!important;max-height:430px!important;object-fit:contain!important;background:#eee7e2!important}.memory-story-photos{grid-template-columns:1fr!important}.memory-story-photos img{height:auto!important;max-height:460px!important;object-fit:contain!important;background:#eee7e2!important}footer{margin-top:54px!important}}
@media(max-width:440px){.pres-stats{grid-template-columns:1fr!important}.pres-stat{min-height:auto!important}.page-hero-sub{font-size:.98rem!important}.hero-actions{display:grid!important;grid-template-columns:1fr!important}.hero-actions .btn-primary{width:100%!important}.donate-btn{width:154px!important;min-width:154px!important;flex:0 0 154px!important;padding-inline:12px!important;font-size:.84rem!important}.mc-body{padding:20px!important}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* ===== responsive-hardening.css ===== */
:root{--rs-gap:clamp(14px,2vw,24px)}
html,body{max-width:100%;overflow-x:hidden}
img,svg,video,canvas,iframe{max-width:100%;height:auto}
.container{width:min(1180px,calc(100% - 32px))!important}
.card,.info-box,.feature-card,.impact-card,.law-card,.merit-card,.state-award-card,.memorial-card,.memory-story,.pres-stat,.tl-body{min-width:0}
.hero-actions,.hero-pill-row,.grid-2,.grid-3,.features-grid,.impact-grid,.memorial-grid,.state-orders-grid,.award-country-list,.pres-stats{gap:var(--rs-gap)!important}
.btn-primary,.donate-btn{white-space:normal;text-align:center}
.mc-photo,.state-award-image,.tl-photo-pair figure{overflow:hidden}
@media (max-width:1200px){.container{width:min(100% - 28px,1180px)!important}.main-nav{flex-wrap:wrap}.hero-actions,.hero-pill-row{flex-wrap:wrap}.state-orders-grid,.impact-grid,.features-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media (max-width:900px){.grid-2,.grid-3,.impact-grid,.features-grid,.state-orders-grid,.award-country-list,.pres-stats{grid-template-columns:1fr!important;display:grid!important}.page-hero{padding-inline:0!important}.page-hero h1,.page-hero-sub,.section-header,.pres-section-title,.pres-section-sub{max-width:100%!important}.main-nav{display:none!important}.mobile-menu-toggle{display:inline-flex!important}.footer-grid,.footer-content{grid-template-columns:1fr!important}.info-box,.card,.feature-card,.impact-card,.law-card,.merit-card,.state-award-card{padding:22px!important}}
@media (max-width:760px){body{font-size:15px}.container{width:calc(100% - 24px)!important}.hero-actions,.hero-pill-row,.memorial-grid,.memory-story-photos,.tl-photo-pair{grid-template-columns:1fr!important;display:grid!important}.hero-actions>*{width:100%!important}.hero-pill,.btn-primary,.donate-btn{justify-content:center!important}.pres-stats{grid-template-columns:1fr!important}.memorial-card,.state-award-card,.memory-story{border-radius:16px!important}.mc-photo img,.tl-photo-pair img{object-fit:contain!important;background:#eee7e2}.timeline{width:100%!important;margin-left:auto!important;margin-right:auto!important}.table-wrap,table{display:block;overflow-x:auto;max-width:100%}}
@media (max-width:480px){.container{width:calc(100% - 20px)!important}.page-hero{padding-top:58px!important;padding-bottom:48px!important}.page-hero h1{font-size:clamp(2rem,10vw,3rem)!important}.page-hero-sub{font-size:.98rem!important}.header-top-container,.logo-section{padding-inline:0!important}.donate-btn{min-width:144px!important;font-size:.84rem!important}.modal,.modal-content{width:min(100%,calc(100vw - 20px))!important}.tl-body,.memory-story-copy,.mc-body{padding:18px!important}}
@media (min-width:901px){.mobile-menu-toggle{display:none!important}}

/* ===== sitewide-patriotic-redesign.css ===== */
/* Unified patriotic redesign across all pages */
:root{--np-bg:#f7f1ea;--np-bg-soft:#fbf8f3;--np-panel:#ffffff;--np-burgundy:#5b0f1c;--np-burgundy-deep:#2a1016;--np-burgundy-soft:#7d1627;--np-gold:#b69042;--np-gold-soft:#ebd8a6;--np-ink:#2e2628;--np-muted:#665b5c;--np-line:rgba(91,15,28,.12);--np-shadow:0 22px 58px rgba(63,7,14,.09);--np-radius:24px}
body{background:linear-gradient(180deg,var(--np-bg) 0%,var(--np-bg-soft) 35%,#f5eee7 100%)!important;color:var(--np-ink)!important}
body:not([data-page="memory"]) main{position:relative;overflow:clip}
body:not([data-page="memory"]) main>section,body:not([data-page="memory"]) main>.container>section{padding-block:76px}
body:not([data-page="memory"]) .page-hero{position:relative!important;padding:84px 0 76px!important;background:linear-gradient(135deg,rgba(72,9,19,.98),rgba(117,15,30,.97) 58%,rgba(43,17,23,.98))!important;border-bottom:1px solid rgba(235,216,166,.24)!important;overflow:hidden!important}
body:not([data-page="memory"]) .page-hero::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at top right,rgba(213,43,30,.18),transparent 28%),linear-gradient(rgba(255,255,255,.028) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.028) 1px,transparent 1px);background-size:auto,30px 30px,30px 30px;mask-image:linear-gradient(to bottom,#000,rgba(0,0,0,.42))}
body:not([data-page="memory"]) .page-hero::after{content:"";position:absolute;inset:auto 0 0 0;height:12px;background:linear-gradient(90deg,#111 0 25%,#f28c28 25% 50%,#111 50% 75%,#f28c28 75% 100%);opacity:.9}
body:not([data-page="memory"]) .page-hero .container{position:relative;z-index:2}
body:not([data-page="memory"]) .page-kicker{display:inline-flex!important;align-items:center;gap:10px;color:var(--np-gold-soft)!important;font:800 .78rem/1 Arial,sans-serif!important;letter-spacing:.18em!important;text-transform:uppercase!important}
body:not([data-page="memory"]) .page-kicker::before{content:"";display:block;width:42px;height:2px;background:linear-gradient(90deg,#fff,var(--np-gold-soft))}
body:not([data-page="memory"]) .page-hero h1{margin:18px 0 16px!important;max-width:12ch!important;color:#fff!important;font:700 clamp(2.4rem,4.7vw,4.5rem)/1.02 Georgia,serif!important}
body:not([data-page="memory"]) .page-hero-sub{max-width:62ch!important;margin:0!important;color:rgba(255,247,236,.84)!important;font-size:1.05rem!important;line-height:1.78!important}
body[data-page="index"] .hero{position:relative!important;padding:82px 0 74px!important;background:linear-gradient(135deg,rgba(72,9,19,.98),rgba(117,15,30,.97) 58%,rgba(43,17,23,.98))!important;overflow:hidden!important}
body[data-page="index"] .hero::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at top right,rgba(213,43,30,.18),transparent 28%),linear-gradient(rgba(255,255,255,.028) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.028) 1px,transparent 1px);background-size:auto,30px 30px,30px 30px;mask-image:linear-gradient(to bottom,#000,rgba(0,0,0,.42))}
body[data-page="index"] .hero .container{position:relative;z-index:2}
body[data-page="index"] .hero h1{max-width:14ch!important;color:#fff!important;font:700 clamp(2.4rem,4.9vw,4.7rem)/1.02 Georgia,serif!important}
body[data-page="index"] .hero p,body[data-page="index"] .hero .hero-description{max-width:62ch!important;color:rgba(255,247,236,.84)!important}
body[data-page="index"] .hero-pill,body[data-page="index"] .hero-pill-row .hero-pill{border:1px solid rgba(235,216,166,.32)!important;background:rgba(14,8,10,.24)!important;color:#fff1da!important;border-radius:999px!important}
body[data-page="index"] .hero-actions .btn-primary{background:#fff!important;color:var(--np-burgundy)!important;border-color:#fff!important}
body[data-page="index"] .hero-actions .btn-primary:hover{background:#f3eadf!important;color:var(--np-burgundy)!important}
body:not([data-page="memory"]) .ru-flag-panel,body:not([data-page="memory"]) .info-box,body:not([data-page="memory"]) .card,body:not([data-page="memory"]) .feature-card,body:not([data-page="memory"]) .impact-card,body:not([data-page="memory"]) .law-card,body:not([data-page="memory"]) .stat-box,body:not([data-page="memory"]) .pres-stat,body:not([data-page="memory"]) .merit-card,body:not([data-page="memory"]) .state-award-card{position:relative;border:1px solid var(--np-line)!important;border-radius:var(--np-radius)!important;background:linear-gradient(180deg,#fff,rgba(255,251,247,.98))!important;box-shadow:var(--np-shadow)!important;overflow:hidden!important}
body:not([data-page="memory"]) .ru-flag-panel::before,body:not([data-page="memory"]) .info-box::before,body:not([data-page="memory"]) .card::before,body:not([data-page="memory"]) .feature-card::before,body:not([data-page="memory"]) .impact-card::before,body:not([data-page="memory"]) .law-card::before,body:not([data-page="memory"]) .stat-box::before,body:not([data-page="memory"]) .pres-stat::before,body:not([data-page="memory"]) .merit-card::before,body:not([data-page="memory"]) .state-award-card::before{content:"";position:absolute;inset:0 0 auto 0;height:5px;background:linear-gradient(90deg,var(--np-burgundy),var(--np-gold),var(--np-burgundy-soft))}
body:not([data-page="memory"]) .info-box,body:not([data-page="memory"]) .card,body:not([data-page="memory"]) .feature-card,body:not([data-page="memory"]) .impact-card,body:not([data-page="memory"]) .law-card,body:not([data-page="memory"]) .merit-card{padding:28px!important}
body:not([data-page="memory"]) .card:hover,body:not([data-page="memory"]) .feature-card:hover,body:not([data-page="memory"]) .impact-card:hover,body:not([data-page="memory"]) .law-card:hover,body:not([data-page="memory"]) .state-award-card:hover{transform:translateY(-3px)!important;box-shadow:0 28px 66px rgba(63,7,14,.12)!important}
body:not([data-page="memory"]) .section-header,body:not([data-page="memory"]) .pres-section-title{display:flex!important;flex-direction:column;align-items:flex-start;gap:12px;max-width:780px!important;margin:0 0 28px!important;text-align:left!important}
body:not([data-page="memory"]) .section-header::before,body:not([data-page="memory"]) .pres-section-title::before{content:"Командный раздел";display:inline-flex;align-items:center;gap:10px;color:var(--np-gold)!important;font:800 .76rem/1 Arial,sans-serif!important;letter-spacing:.18em!important;text-transform:uppercase!important}
body:not([data-page="memory"]) .section-header::after,body:not([data-page="memory"]) .pres-section-title::after{content:"";display:block;width:52px;height:2px;background:linear-gradient(90deg,var(--np-burgundy),var(--np-gold))}
body:not([data-page="memory"]) .section-header h2,body:not([data-page="memory"]) .pres-section-title{color:var(--np-burgundy)!important;font:700 clamp(2rem,3vw,3rem)/1.08 Georgia,serif!important}
body:not([data-page="memory"]) .section-header p,body:not([data-page="memory"]) .pres-section-sub{max-width:66ch!important;margin:0 0 24px!important;color:var(--np-muted)!important;line-height:1.74!important;text-align:left!important}
body:not([data-page="memory"]) .grid-2,body:not([data-page="memory"]) .grid-3,body:not([data-page="memory"]) .features-grid,body:not([data-page="memory"]) .impact-grid,body:not([data-page="memory"]) .state-orders-grid,body:not([data-page="memory"]) .award-country-list{gap:24px!important}
body:not([data-page="memory"]) .feature-card-icon,body:not([data-page="memory"]) .pro-icon{color:var(--np-burgundy)!important}
body:not([data-page="memory"]) .stat-number,body:not([data-page="memory"]) .pres-stat b,body:not([data-page="memory"]) .award-country strong{color:var(--np-burgundy)!important}
body:not([data-page="memory"]) .stat-label,body:not([data-page="memory"]) .pres-stat span{color:var(--np-muted)!important}
body:not([data-page="memory"]) .state-award-image{background:linear-gradient(180deg,#5d0f1c,#271217)!important;padding:18px!important;border-bottom:1px solid var(--np-line)!important}
body:not([data-page="memory"]) .state-award-image img{border-radius:16px!important;background:#efe5dd!important}
body[data-page="documents"] .law-card a,body[data-page="privacy-policy"] a,body[data-page="about"] a,body[data-page="contacts"] a{color:var(--np-burgundy)!important}
body[data-page="documents"] .law-card{display:flex;flex-direction:column;gap:12px}
body[data-page="contacts"] form,body[data-page="index"] form{padding:28px;border-radius:26px;background:#fff;border:1px solid var(--np-line);box-shadow:var(--np-shadow)}
body[data-page="contacts"] .form-group label,body[data-page="index"] .form-group label{display:block;margin-bottom:8px;color:var(--np-burgundy-deep);font-weight:700}
body[data-page="contacts"] input,body[data-page="contacts"] textarea,body[data-page="index"] input,body[data-page="index"] textarea{border:1px solid rgba(91,15,28,.18)!important;border-radius:14px!important;background:#fffaf6!important}
body[data-page="contacts"] input:focus,body[data-page="contacts"] textarea:focus,body[data-page="index"] input:focus,body[data-page="index"] textarea:focus{border-color:var(--np-burgundy)!important;box-shadow:0 0 0 4px rgba(91,15,28,.08)!important}
body[data-page="about"] .pres-stats,body[data-page="president"] .pres-stats{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important}
body[data-page="index"] .feature-card,body[data-page="index"] .impact-card,body[data-page="index"] .activity-item,body[data-page="index"] .story-mark{border-radius:24px!important}
body[data-page="index"] .carousel-slide{border-radius:28px!important;overflow:hidden!important;box-shadow:var(--np-shadow)!important}
body[data-page="index"] .carousel-dot.active{background:var(--np-burgundy)!important}
body[data-page="president"] .page-hero,body[data-page="memory"] .page-hero{display:none!important}
body:not([data-page="memory"]) footer{background:linear-gradient(180deg,#341218,#210d11)!important;border-top:4px solid var(--np-gold)!important}
body:not([data-page="memory"]) .footer-section h3,body:not([data-page="memory"]) .footer-section h4{color:#fff!important}
body:not([data-page="memory"]) .footer-section p,body:not([data-page="memory"]) .footer-section a,body:not([data-page="memory"]) .footer-section li{color:rgba(255,245,231,.74)!important}
body:not([data-page="memory"]) .footer-section a:hover{color:#fff!important}
@media (max-width:1024px){body:not([data-page="memory"]) .section-header,body:not([data-page="memory"]) .pres-section-title{text-align:left!important}body[data-page="index"] .hero h1,body:not([data-page="memory"]) .page-hero h1{max-width:100%!important}}
@media (max-width:760px){body:not([data-page="memory"]) main>section,body:not([data-page="memory"]) main>.container>section{padding-block:56px}body:not([data-page="memory"]) .page-hero{padding:66px 0 54px!important}body:not([data-page="memory"]) .page-hero h1,body[data-page="index"] .hero h1{font-size:clamp(2rem,10.5vw,3.2rem)!important}body:not([data-page="memory"]) .section-header,body:not([data-page="memory"]) .pres-section-title{gap:10px;margin-bottom:20px!important}body:not([data-page="memory"]) .info-box,body:not([data-page="memory"]) .card,body:not([data-page="memory"]) .feature-card,body:not([data-page="memory"]) .impact-card,body:not([data-page="memory"]) .law-card,body:not([data-page="memory"]) .merit-card{padding:22px!important}body[data-page="index"] .hero-pill-row,body[data-page="index"] .hero-actions{display:grid!important;grid-template-columns:1fr!important}body[data-page="contacts"] form,body[data-page="index"] form{padding:22px}body:not([data-page="memory"]) .section-header::before,body:not([data-page="memory"]) .pres-section-title::before{font-size:.68rem!important;letter-spacing:.14em!important}}

/* ===== layout-readability-fix.css ===== */
/* Final layout/readability cleanup across all pages */
:root{--fix-burgundy:#7d1122;--fix-burgundy-deep:#540b16;--fix-gold:#b69042;--fix-text:#2e2628;--fix-muted:#655b5d;--fix-line:rgba(91,15,28,.12);--fix-shadow:0 18px 46px rgba(63,7,14,.08)}
html,body{overflow-x:hidden!important}
body{color:var(--fix-text)!important}
h1,h2,h3,h4,p,a,button,span,label{overflow-wrap:anywhere}
h1,h2,h3,h4{text-wrap:balance;line-height:1.12!important}
p,li,label,small{line-height:1.7!important}
.sg-premium-divider,.sg-footer-ribbon,.sg-ribbon-pin{display:none!important}
body:not([data-page="memory"]) .hero-flag-corner{opacity:.28!important;right:18px!important;top:18px!important}
body:not([data-page="memory"]) .page-hero,body[data-page="index"] .hero{padding-bottom:52px!important}
body:not([data-page="memory"]) .pres-stats{position:relative!important;z-index:1!important;margin:28px auto 22px!important;gap:18px!important}
body:not([data-page="memory"]) .pres-stat{min-height:unset!important;display:flex!important;flex-direction:column!important;justify-content:center!important}
body:not([data-page="memory"]) .section-header,body:not([data-page="memory"]) .pres-section-title{display:block!important;max-width:860px!important;margin:0 auto 16px!important;text-align:center!important}
body:not([data-page="memory"]) .section-header::before,body:not([data-page="memory"]) .section-header::after,body:not([data-page="memory"]) .pres-section-title::before{content:none!important;display:none!important}
body:not([data-page="memory"]) .section-header h2{margin:0 auto!important;color:var(--fix-burgundy-deep)!important;font:700 clamp(2rem,3vw,3.2rem)/1.12 Georgia,serif!important;text-align:center!important;max-width:18ch!important}
body:not([data-page="memory"]) .section-header h2::after{content:""!important;display:block!important;width:96px!important;height:4px!important;margin:14px auto 0!important;border-radius:999px!important;background:linear-gradient(90deg,var(--fix-burgundy) 0 70%,var(--fix-gold) 70% 100%)!important;box-shadow:none!important}
body:not([data-page="memory"]) .pres-section-title{padding-top:0!important;color:var(--fix-burgundy-deep)!important;font:700 clamp(2rem,3vw,3.1rem)/1.12 Georgia,serif!important;max-width:18ch!important}
body:not([data-page="memory"]) .pres-section-title::after{content:""!important;display:block!important;width:96px!important;height:4px!important;margin:14px auto 0!important;border-radius:999px!important;background:linear-gradient(90deg,var(--fix-burgundy) 0 70%,var(--fix-gold) 70% 100%)!important}
body:not([data-page="memory"]) .section-header p,body:not([data-page="memory"]) .pres-section-sub{max-width:760px!important;margin:0 auto 28px!important;text-align:center!important;color:var(--fix-muted)!important;font-size:clamp(1rem,1.4vw,1.15rem)!important}
body:not([data-page="memory"]) .feature-card,body:not([data-page="memory"]) .activity-item,body:not([data-page="memory"]) .info-box,body:not([data-page="memory"]) .card,body:not([data-page="memory"]) .law-card,body:not([data-page="memory"]) .stat-box,body:not([data-page="memory"]) .pres-stat,body:not([data-page="memory"]) .leadership-card,body:not([data-page="memory"]) .president-highlight{box-shadow:var(--fix-shadow)!important}
body:not([data-page="memory"]) .leadership-card{border:1px solid var(--fix-line)!important;border-left:6px solid var(--fix-burgundy)!important;border-radius:24px!important;background:linear-gradient(180deg,#fff,#fdf9f5)!important;padding:34px!important}
body:not([data-page="memory"]) .leadership-card h2{font:700 clamp(1.9rem,2.8vw,2.8rem)/1.12 Georgia,serif!important;color:var(--fix-burgundy-deep)!important;text-align:center!important;margin-bottom:24px!important}
body:not([data-page="memory"]) .btn-primary,body:not([data-page="memory"]) .donate-btn,body:not([data-page="memory"]) .btn-submit{background:linear-gradient(135deg,var(--fix-burgundy),var(--fix-burgundy-deep))!important;border:1px solid var(--fix-burgundy)!important;color:#fff!important;text-shadow:none!important;opacity:1!important;filter:none!important;box-shadow:0 10px 24px rgba(83,11,22,.18)!important}
body:not([data-page="memory"]) .btn-primary *,body:not([data-page="memory"]) .donate-btn *{color:inherit!important}
body[data-page="index"] .hero .btn-primary:not(.btn-hero-secondary){background:#fff!important;color:var(--fix-burgundy-deep)!important;border-color:#fff!important}
body[data-page="index"] .hero .btn-hero-secondary{background:transparent!important;color:#fff!important;border:1px solid rgba(255,255,255,.72)!important}
body:not([data-page="memory"]) .form-submit-row,body:not([data-page="memory"]) .cta-buttons,body:not([data-page="memory"]) .hero-actions{gap:14px!important;align-items:center!important}
body:not([data-page="memory"]) .form-submit-row .btn-primary,body:not([data-page="memory"]) .cta-buttons .btn-primary,body:not([data-page="memory"]) .president-highlight .btn-primary,body:not([data-page="memory"]) .leadership-card .btn-primary{background:linear-gradient(135deg,var(--fix-burgundy),var(--fix-burgundy-deep))!important;border-color:var(--fix-burgundy)!important;color:#fff!important}
body:not([data-page="memory"]) .cta-buttons a.btn-primary[style*="transparent"]{background:#fff!important;color:var(--fix-burgundy-deep)!important;border:1px solid var(--fix-burgundy)!important}
body:not([data-page="memory"]) .application-section .btn-primary[style],body:not([data-page="memory"]) .cta-section .btn-primary[style]{background:#fff!important;color:var(--fix-burgundy-deep)!important;border-color:#fff!important}
body:not([data-page="memory"]) .application-section .btn-primary[style*="transparent"],body:not([data-page="memory"]) .cta-section a.btn-primary[style*="transparent"]{background:transparent!important;color:#fff!important;border:1px solid rgba(255,255,255,.7)!important}
body:not([data-page="memory"]) .application-section small{display:block!important;max-width:54ch!important}
body:not([data-page="memory"]) .activity-item,body:not([data-page="memory"]) .card,body:not([data-page="memory"]) .law-card,body:not([data-page="memory"]) .info-box{text-align:left!important}
body:not([data-page="memory"]) .feature-card{display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important}
body:not([data-page="memory"]) .feature-card p{max-width:34ch!important}
body[data-page="index"] .president-highlight,body[data-page="about"] .leadership-card{margin-top:36px!important}
body[data-page="index"] .stats-section{margin-top:34px!important}
body[data-page="index"] .activities-grid,body[data-page="index"] .features-grid,body[data-page="documents"] .grid-2,body[data-page="about"] .grid-2{align-items:stretch!important}
body[data-page="contacts"] .card,body[data-page="privacy-policy"] .info-box{padding:30px!important}
footer .footer-section h3,footer .footer-section h4{line-height:1.2!important}
@media (max-width:900px){body:not([data-page="memory"]) .pres-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}body:not([data-page="memory"]) .section-header h2,body:not([data-page="memory"]) .pres-section-title{max-width:100%!important}}
@media (max-width:760px){body:not([data-page="memory"]) .page-hero,body[data-page="index"] .hero{padding-bottom:40px!important}body:not([data-page="memory"]) .section-header h2,body:not([data-page="memory"]) .pres-section-title{font-size:clamp(1.8rem,8vw,2.6rem)!important}body:not([data-page="memory"]) .section-header p,body:not([data-page="memory"]) .pres-section-sub{font-size:1rem!important;margin-bottom:22px!important}body:not([data-page="memory"]) .form-submit-row,body:not([data-page="memory"]) .cta-buttons,body:not([data-page="memory"]) .hero-actions{display:grid!important;grid-template-columns:1fr!important}body:not([data-page="memory"]) .form-submit-row > *,body:not([data-page="memory"]) .cta-buttons > *,body:not([data-page="memory"]) .hero-actions > *{width:100%!important}body:not([data-page="memory"]) .leadership-card{padding:24px!important}body:not([data-page="memory"]) .pres-stats{margin-top:22px!important}}
@media (max-width:480px){body:not([data-page="memory"]) .pres-stats{grid-template-columns:1fr!important}body:not([data-page="memory"]) .btn-primary,body:not([data-page="memory"]) .donate-btn{min-height:48px!important;font-size:.96rem!important}}

/* ===== institutional-pages-innovation.css ===== */
/* Contacts + Documents: stable institutional redesign */
body[data-page="contacts"],body[data-page="documents"]{--ip-burgundy:#650b1a;--ip-burgundy-dark:#35050d;--ip-gold:#c4a45e;--ip-ink:#25181b;--ip-paper:#f7f3ed;--ip-line:rgba(101,11,26,.15);background:var(--ip-paper);color:var(--ip-ink)}
.institution-shell{width:min(1180px,calc(100% - 40px));margin-inline:auto;min-width:0}.institution-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#30040c 0%,#650b1a 55%,#7d1122 100%);color:#fff;min-height:520px;display:flex;align-items:center;isolation:isolate}.institution-hero:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 80% 35%,rgba(196,164,94,.16),transparent 30%),linear-gradient(90deg,transparent 0 74%,rgba(255,255,255,.04) 74% 74.2%,transparent 74.2%);pointer-events:none}.institution-hero__grid{position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:46px 46px;mask-image:linear-gradient(to right,#000,transparent 80%)}.institution-hero__layout{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(260px,.6fr);gap:70px;align-items:center;padding-block:86px}.institution-kicker{display:block;font:800 .76rem/1.2 Arial,sans-serif;letter-spacing:.2em;text-transform:uppercase;color:var(--ip-gold);margin-bottom:18px}.institution-hero h1{font:800 clamp(2.55rem,5.6vw,5.4rem)/.98 Georgia,serif;letter-spacing:-.04em;max-width:13ch;margin:0 0 24px;color:#fff}.institution-hero p{max-width:700px;margin:0;color:rgba(255,255,255,.84);font-size:clamp(1.02rem,1.8vw,1.25rem);line-height:1.7}.institution-tricolor{display:grid;grid-template-columns:repeat(3,70px);height:5px;margin-top:34px;gap:0}.institution-tricolor i:nth-child(1){background:#fff}.institution-tricolor i:nth-child(2){background:#0039a6}.institution-tricolor i:nth-child(3){background:#d52b1e}.institution-emblem{justify-self:end;position:relative;width:270px;height:270px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.18)}.institution-emblem__ring{position:absolute;inset:22px;border:1px solid rgba(196,164,94,.52);border-radius:50%}.institution-emblem img{display:block;position:relative;width:165px;height:165px;object-fit:contain;filter:drop-shadow(0 20px 26px rgba(0,0,0,.28))}.institution-main{overflow:clip}.institution-section{position:relative;padding:96px 0;overflow:visible;isolation:isolate}.institution-section:nth-child(even){background:#fff}.section-heading{max-width:810px;margin-bottom:48px}.section-heading h2,.institution-section h2{font:800 clamp(2rem,4vw,3.7rem)/1.08 Georgia,serif;letter-spacing:-.035em;color:#4f0711;margin:0 0 20px}.section-heading p{font-size:1.08rem;line-height:1.75;color:#5b4b4e;margin:0}.contact-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.contact-cards article,.organization-grid article,.law-card{min-width:0;background:#fff;border:1px solid var(--ip-line);border-top:4px solid var(--ip-burgundy);padding:30px;box-shadow:0 20px 50px rgba(61,20,28,.07);display:flex;flex-direction:column;align-items:flex-start}.contact-cards h3,.organization-grid h3,.law-card h3{font:800 1.25rem/1.25 Georgia,serif;color:#4f0711;margin:0 0 15px}.contact-cards p,.organization-grid p,.law-card p{margin:0;color:#5c4b4f;line-height:1.65}.contact-cards a{font-weight:800;color:#650b1a;text-decoration:none;font-size:1.14rem;overflow-wrap:anywhere}.contact-cards small{display:block;margin-top:auto;padding-top:24px;color:#75676a;line-height:1.5}.card-index,.law-card__number{display:block;font:900 .73rem/1 Arial,sans-serif;letter-spacing:.16em;color:#a57d22;margin-bottom:25px}.contact-dialogue{background:linear-gradient(135deg,#3b0710,#650b1a)!important;color:#fff}.contact-dialogue__layout{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:70px;align-items:start}.contact-dialogue h2{color:#fff}.contact-dialogue__copy>p{color:rgba(255,255,255,.78);line-height:1.75}.contact-response{margin-top:32px;padding:25px;border-left:3px solid var(--ip-gold);background:rgba(255,255,255,.06)}.contact-response strong{display:block;margin-bottom:12px}.contact-response ul{margin:0;padding-left:20px;line-height:1.8;color:rgba(255,255,255,.82)}.contact-form-panel{background:#fff;color:var(--ip-ink);padding:38px;border-radius:4px;box-shadow:0 30px 70px rgba(0,0,0,.23);min-width:0}.form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.form-group{margin-bottom:20px}.form-group label{display:block;font-weight:800;color:#4f0711;margin-bottom:8px}.form-group input,.form-group textarea{display:block;width:100%;min-width:0;border:1px solid #cdbfc1;background:#fff;color:#25181b;border-radius:3px;padding:14px 15px;font:inherit;line-height:1.4}.form-group textarea{min-height:170px;resize:vertical}.form-group input:focus,.form-group textarea:focus{outline:3px solid rgba(0,57,166,.2);border-color:#0039a6}.consent-row{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:start;gap:11px;margin:4px 0 24px;color:#5b4b4e;line-height:1.55}.consent-row input{width:18px;height:18px;margin-top:2px}.consent-row a{color:#650b1a;font-weight:700}.institution-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 22px;border:1px solid var(--ip-gold);background:var(--ip-gold);color:#2e1117!important;font-weight:900;text-decoration:none;border-radius:2px;cursor:pointer;line-height:1.25;text-align:center}.institution-button--light{background:transparent;color:#fff!important;border-color:rgba(255,255,255,.58)}.organization-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.organization-grid dl{width:100%;margin:0}.organization-grid dl div{display:flex;justify-content:space-between;gap:18px;padding:10px 0;border-bottom:1px solid var(--ip-line)}.organization-grid dt{color:#75676a}.organization-grid dd{margin:0;font-weight:900;color:#4f0711}.institution-cta{background:#efe8df!important}.institution-cta__card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:50px;align-items:center;background:linear-gradient(135deg,#4f0711,#720f20);color:#fff;padding:52px;border-left:6px solid var(--ip-gold);overflow:hidden}.institution-cta__card h2{color:#fff;font-size:clamp(1.8rem,3vw,3rem)}.institution-cta__card p{margin:0;color:rgba(255,255,255,.78);line-height:1.7;max-width:720px}.institution-cta__actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-end}.legal-intro__layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:70px;align-items:end}.legal-intro .section-heading{margin:0}.legal-intro aside{background:#650b1a;color:#fff;padding:34px;border-left:5px solid var(--ip-gold);display:flex;flex-direction:column}.legal-intro aside strong{font:800 4.8rem/1 Georgia,serif;color:var(--ip-gold)}.legal-intro aside span{font-weight:900;margin:8px 0 16px}.legal-intro aside small{color:rgba(255,255,255,.7);line-height:1.5}.law-group{padding-top:80px;padding-bottom:80px}.law-group__head{display:grid;grid-template-columns:64px minmax(0,1fr);gap:20px;align-items:start;margin-bottom:36px}.law-group__head>span{display:grid;place-items:center;width:56px;height:56px;background:#650b1a;color:#fff;font-weight:900;border-bottom:4px solid var(--ip-gold)}.law-group__head h2{font-size:clamp(1.75rem,3.2vw,3rem);margin:5px 0 0}.law-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch}.law-card{min-height:350px}.law-card strong{display:block;color:#7d1122;line-height:1.5;margin-bottom:14px}.law-card p{margin-bottom:24px}.law-card a{margin-top:auto;color:#650b1a;font-weight:900;text-decoration:none;border-bottom:2px solid var(--ip-gold);padding-bottom:4px}.law-card h3{overflow-wrap:break-word}.legal-source{background:#efe8df!important}[data-institution-reveal]{opacity:0;transition:opacity .5s ease}[data-institution-reveal].is-visible{opacity:1}
@media(max-width:1000px){.institution-hero__layout{grid-template-columns:1fr 220px;gap:40px}.institution-emblem{width:210px;height:210px}.institution-emblem img{width:125px;height:125px}.contact-cards,.organization-grid,.law-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.contact-dialogue__layout,.legal-intro__layout{grid-template-columns:1fr;gap:45px}.legal-intro aside{max-width:500px}.institution-cta__card{grid-template-columns:1fr}.institution-cta__actions{justify-content:flex-start}}
@media(max-width:700px){.institution-shell{width:min(100% - 24px,1180px)}.institution-hero{min-height:0}.institution-hero__layout{display:flex;flex-direction:column;align-items:flex-start;padding-block:64px;gap:38px}.institution-hero h1{font-size:clamp(2.25rem,12vw,3.8rem);max-width:none}.institution-emblem{align-self:center;width:185px;height:185px}.institution-emblem img{width:110px;height:110px}.institution-section{padding:70px 0}.contact-cards,.organization-grid,.law-grid{grid-template-columns:1fr}.contact-cards article,.organization-grid article,.law-card{min-height:0;padding:25px}.contact-form-panel{padding:25px}.form-row{grid-template-columns:1fr;gap:0}.institution-cta__card{padding:34px 24px;gap:30px}.institution-cta__actions{flex-direction:column;align-items:stretch}.law-group__head{grid-template-columns:50px minmax(0,1fr);gap:15px}.law-group__head>span{width:46px;height:46px}.law-card{min-height:0}.institution-tricolor{grid-template-columns:repeat(3,52px)}}
@media(max-width:390px){.institution-shell{width:calc(100% - 20px)}.institution-hero__layout{padding-block:52px}.institution-hero p{font-size:1rem}.contact-form-panel{padding:20px}.institution-button{width:100%}.law-group__head h2{font-size:1.65rem}.law-card h3{font-size:1.15rem}}
@media(prefers-reduced-motion:reduce){[data-institution-reveal]{opacity:1!important;transition:none!important}}

/* ===== site-light-balance.css ===== */
/* Global light balance — burgundy/gold/white, with dark color used only as an accent */
:root{--site-ivory:#fbf8f3;--site-cream:#f3ece3;--site-white:#fff;--site-burgundy:#650b1a;--site-burgundy-bright:#8f1730;--site-gold:#b69042;--site-ink:#2e2023}
body{background:var(--site-ivory)!important;color:var(--site-ink)}
/* Brighter ceremonial hero zones: burgundy, never near-black. */
.home-command,.about-command,.institution-hero,.leader-command,.memory-command,.memory-hero{background:linear-gradient(135deg,#5b0b19 0%,#801329 55%,#9b2840 100%)!important}
.home-command:before,.about-command:before,.institution-hero:before,.leader-command:before{opacity:.7}
/* Alternate mostly white and ivory surfaces to reduce visual weight. */
.home-modern>section,.about-modern>section,.institution-main>.institution-section,.leader-modern>.leader-content{background:var(--site-ivory)}
.home-modern>section:nth-of-type(even),.about-modern>section:nth-of-type(even),.institution-main>.institution-section:nth-of-type(even){background:var(--site-white)!important}
/* Replace long dark reading zones with light editorial surfaces. */
body[data-page="contacts"] .contact-dialogue{background:linear-gradient(145deg,#fff,#f3ece3)!important;color:var(--site-ink)!important;border-block:1px solid rgba(101,11,26,.12)}
body[data-page="contacts"] .contact-dialogue h2{color:#4f0711!important}
body[data-page="contacts"] .contact-dialogue__copy>p,body[data-page="contacts"] .contact-response ul{color:#665559!important}
body[data-page="contacts"] .contact-response{background:#fff!important;color:#4f0711!important;border-left-color:var(--site-gold)!important;box-shadow:0 18px 45px rgba(74,30,38,.07)}
body[data-page="president"] .leader-awards-section{background:linear-gradient(145deg,#fff,#f1e9df)!important;color:var(--site-ink)!important;border:1px solid rgba(101,11,26,.13)!important;border-left:6px solid var(--site-gold)!important;box-shadow:0 24px 60px rgba(74,30,38,.08)!important}
body[data-page="president"] .leader-awards-section h2,body[data-page="president"] .leader-awards-section h3{color:#4f0711!important}
body[data-page="president"] .leader-awards-section p,body[data-page="president"] .leader-awards-section li{color:#5f4e52!important}
body[data-page="president"] .leader-awards-document,body[data-page="president"] .leader-awards-summary,body[data-page="president"] .award-fact-row>*{background:#fff!important;color:var(--site-ink)!important}
body[data-page="about"] .about-history,body[data-page="about"] .about-leader,body[data-page="about"] .about-join{background:linear-gradient(180deg,#fff,#f4ede4)!important;color:var(--site-ink)!important}
body[data-page="about"] .about-history h2,body[data-page="about"] .about-history h3,body[data-page="about"] .about-leader h2,body[data-page="about"] .about-join h2{color:#4f0711!important}
body[data-page="about"] .about-history p,body[data-page="about"] .about-leader p,body[data-page="about"] .about-join p{color:#625155!important}
body[data-page="about"] .about-join__card{background:#fff!important;color:var(--site-ink)!important;border-left:6px solid var(--site-gold)!important}
body[data-page="home"] .home-leader,body[data-page="home"] .home-contact{background:linear-gradient(180deg,#fff,#f2ebe2)!important;color:var(--site-ink)!important}
body[data-page="home"] .home-leader h2,body[data-page="home"] .home-contact h2{color:#4f0711!important}
body[data-page="home"] .home-leader p,body[data-page="home"] .home-contact p{color:#625155!important}
/* Cards remain bright with thin burgundy accents instead of dark fills. */
.home-modern article,.about-modern article,.institution-main article,.leader-modern .pres-stat,.leader-modern .merit-grid>*,.leader-modern .honor-wrap>*{background:#fff!important;color:var(--site-ink)!important;border-color:rgba(101,11,26,.14)!important}
/* Softer footer: still authoritative, but lighter than the former near-black version. */
footer{background:linear-gradient(135deg,#4f0711,#741329)!important}
@media(max-width:760px){.home-command,.about-command,.institution-hero,.leader-command,.memory-command,.memory-hero{background:linear-gradient(160deg,#681020,#8f1c35)!important}}

/* ===== contrast-system.css ===== */
/* Professional accessible contrast system */
:root{--ink:#2b2023;--muted:#5d4d52;--wine:#5f0a18;--wine-2:#7d1122;--gold:#b69042;--paper:#fff;--ivory:#fbf8f3;--line:rgba(95,10,24,.16)}
html{color-scheme:light}body{color:var(--ink)!important;background:var(--ivory)!important}
/* Main editorial text — explicit colors prevent inherited white text on light surfaces. */
main :where(h1,h2,h3,h4,h5,h6){color:var(--wine)!important;text-shadow:none}
main :where(p,li,dd,dt,label,legend,address,blockquote,figcaption,small){color:var(--muted)!important}
main :where(strong,b){color:#3d252a}
main a:not(.btn):not([class*="button"]){color:#6d0d1d;text-decoration-color:rgba(109,13,29,.35)}
main a:not(.btn):not([class*="button"]):hover{color:#971b31;text-decoration-color:currentColor}
/* Ceremonial burgundy surfaces always use white text. */
:is(.home-command,.about-command,.institution-hero,.leader-command,.memory-command,.memory-hero,.hero,.page-hero) :where(h1,h2,h3,h4,p,li,small,figcaption,strong,a:not(.btn)){color:#fff!important;text-shadow:0 1px 2px rgba(30,0,7,.28)}
:is(.home-command,.about-command,.institution-hero,.leader-command,.memory-command,.memory-hero,.hero,.page-hero) .eyebrow,
:is(.home-command,.about-command,.institution-hero,.leader-command,.memory-command,.memory-hero,.hero,.page-hero) [class*="kicker"]{color:#f1d99d!important}
/* Header and navigation: white field, burgundy type, clear active state. */
header.site-header,.site-header,.main-header{background:rgba(255,255,255,.98)!important;color:var(--ink)!important;border-bottom:1px solid var(--line)!important;box-shadow:0 8px 26px rgba(61,23,31,.07)!important}
header :where(nav a,.nav-link,.menu-link),.site-nav a,.main-nav a{color:#3d252a!important;text-shadow:none!important}
header :where(nav a,.nav-link,.menu-link):hover,.site-nav a:hover,.main-nav a:hover{color:var(--wine-2)!important;background:#f6efe8!important}
header :where(nav a.active,.nav-link.active,.menu-link.active),.site-nav a[aria-current="page"],.main-nav a[aria-current="page"]{color:#fff!important;background:var(--wine-2)!important;border-color:var(--wine-2)!important}
.mobile-menu,.mobile-nav,.nav-menu{background:#fff!important;color:var(--ink)!important}
.menu-toggle,.nav-toggle{color:var(--wine)!important;border-color:rgba(95,10,24,.25)!important;background:#fff!important}
/* Cards, forms and documents. */
main :where(article,.card,[class*="-card"],[class*="__card"],.info-box,.pres-stat){color:var(--ink)!important}
main :where(article,.card,[class*="-card"],[class*="__card"],.info-box,.pres-stat) :where(h2,h3,h4,h5){color:var(--wine)!important}
main :where(article,.card,[class*="-card"],[class*="__card"],.info-box,.pres-stat) :where(p,li,figcaption,small){color:var(--muted)!important}
input,textarea,select{background:#fff!important;color:#2b2023!important;border-color:rgba(95,10,24,.28)!important}
input::placeholder,textarea::placeholder{color:#76666b!important;opacity:1}
/* Buttons: WCAG-safe white on burgundy; gold only as border/accent. */
.btn,[class*="button"],button[type="submit"],a.cta{background:var(--wine-2)!important;color:#fff!important;border-color:var(--wine-2)!important;text-shadow:none!important}
.btn:hover,[class*="button"]:hover,button[type="submit"]:hover,a.cta:hover{background:#961d33!important;color:#fff!important}
.btn--light,.btn-secondary,[class*="button--light"]{background:#fff!important;color:var(--wine)!important;border-color:var(--gold)!important}
/* Dates, counters and military markers may remain dark. */
.tl-year,.stage-number,.step-number,[class*="badge"],[class*="number"]{background:var(--wine)!important;color:#fff!important;border-color:var(--gold)!important}
.tl-year :where(span,strong,small),.stage-number :where(span,strong,small){color:#fff!important}
/* Photography: neutral frames and captions with guaranteed readability. */
main figure{background:#fff;color:var(--ink);border-color:var(--line)}
main figure>figcaption{background:#fff!important;color:#4b393e!important;text-shadow:none!important}
:is(.leader-command,.home-command,.about-command,.institution-hero,.memory-command,.memory-hero) figure>figcaption{background:transparent!important;color:#fff!important;text-shadow:0 1px 2px rgba(30,0,7,.35)!important}
[class*="overlay"] :where(h2,h3,h4,p,span,figcaption),[class*="photo-caption"]{background:rgba(50,6,16,.86)!important;color:#fff!important;text-shadow:0 1px 2px #25020a}
/* Award section is light after palette update; force all inherited text dark. */
.leader-awards-section :where(h2,h3,h4){color:var(--wine)!important}.leader-awards-section :where(p,li,small,strong){color:var(--muted)!important}
/* Footer remains burgundy, with white text and pale-gold links. */
footer,footer *{color:#fff!important}footer a{color:#f4dda4!important}footer a:hover{color:#fff!important}
/* Original flag colors remain untouched. */
.leader-tricolor>*:nth-child(1),.tricolor>*:nth-child(1){background:#fff!important}.leader-tricolor>*:nth-child(2),.tricolor>*:nth-child(2){background:#0039a6!important}.leader-tricolor>*:nth-child(3),.tricolor>*:nth-child(3){background:#d52b1e!important}
@media(max-width:760px){header :where(nav a,.nav-link,.menu-link){color:#3d252a!important}.mobile-menu a.active,.mobile-nav a.active{background:var(--wine-2)!important;color:#fff!important}}

/* Targeted contrast corrections after full-page WCAG review */
.donate-btn,.mobile-menu-toggle,.home-btn--wine,.institution-button,.btn-primary{background:#7d1122!important;background-image:none!important;color:#fff!important;border-color:#7d1122!important}
.mobile-menu-toggle{min-width:44px;min-height:44px}
.home-heading__kicker,.about-kicker,.institution-kicker,.memory-section-kicker{color:#6b0c1b!important}
.home-programs h2,.home-contact h2,.about-values h2{color:#5f0a18!important;text-shadow:none!important}
.home-programs :where(p,li),.home-contact :where(p,li,label,span),.about-values :where(p,li){color:#514046!important;text-shadow:none!important}
.home-programs [class*="number"],.home-programs article>span,.about-values article>span,.card-index{color:#6b0c1b!important;background:transparent!important;border-color:rgba(95,10,24,.2)!important}
.about-command .about-btn--light{background:#fff!important;color:#5f0a18!important;border-color:#fff!important}
.about-command .about-btn--outline{background:transparent!important;color:#fff!important;border-color:rgba(255,255,255,.75)!important}
.legal-intro aside{background:#650b1a!important;color:#fff!important;border-color:#b69042!important}.legal-intro aside :where(p,small,strong,a){color:#fff!important}
.timeline-command{background:linear-gradient(135deg,#5f0a18,#7d1122)!important;color:#fff!important}.timeline-command :where(h2,h3,h4,p,span,small,strong){color:#fff!important}.timeline-command__eyebrow{color:#f1d99d!important}
.timeline .tl-item{background:#fff!important;background-image:none!important;color:#2b2023!important;border-color:rgba(95,10,24,.18)!important;box-shadow:0 14px 35px rgba(66,25,34,.08)!important}.timeline .tl-item :where(h3,h4,h5){color:#5f0a18!important;text-shadow:none!important}.timeline .tl-item :where(p,li,figcaption,small,span:not(.tl-year)){color:#55444a!important;text-shadow:none!important}.timeline .tl-year{background:#650b1a!important;color:#fff!important}
.memory-command-shell{background:linear-gradient(135deg,#5f0a18,#8a1a30)!important;color:#fff!important;border-color:#b69042!important}.memory-command-shell :where(h1,h2,h3,p,span,strong,small){color:#fff!important}.memory-command-shell .memory-command-kicker{color:#f1d99d!important}
body footer a,body footer a:not(.btn):not([class*="button"]){color:#f4dda4!important}body footer a:hover,body footer a:not(.btn):not([class*="button"]):hover{color:#fff!important}
/* Hero exceptions for pale-gold kickers on burgundy only. */
.home-command .home-heading__kicker,.about-command .about-kicker,.institution-hero .institution-kicker,.memory-command-shell .memory-command-kicker{color:#f1d99d!important}

/* Final high-specificity visibility safeguards */
body header .donate-btn{background-color:#7d1122!important;background-image:none!important;color:#fff!important}
body .home-command .home-btn--light{background-color:#fff!important;background-image:none!important;color:#5f0a18!important;border-color:#fff!important}
body[data-page="contacts"] main .institution-button{background-color:#7d1122!important;background-image:none!important;color:#fff!important}
body[data-page="contacts"] main .institution-button--light{background-color:#fff!important;background-image:none!important;color:#5f0a18!important;border-color:#b69042!important}
body main .btn-primary{background-color:#7d1122!important;background-image:none!important;color:#fff!important}
body .consent-row a{color:#f4dda4!important;text-decoration-color:#f4dda4!important}
body[data-page="president"] main.leader-modern .timeline-command{background-color:#650b1a!important;background-image:linear-gradient(135deg,#5f0a18,#7d1122)!important}
body[data-page="president"] main.leader-modern .timeline-command h3,body[data-page="president"] main.leader-modern .timeline-command span{color:#fff!important}
body[data-page="president"] main.leader-modern .timeline-command .timeline-command__eyebrow{color:#f1d99d!important}
body[data-page="president"] main.leader-modern .timeline .tl-item{background-color:#fff!important;background-image:none!important;color:#2b2023!important}
body[data-page="president"] main.leader-modern .timeline .tl-item h4{color:#5f0a18!important;text-shadow:none!important}
body[data-page="president"] main.leader-modern .timeline .tl-item p{color:#55444a!important;text-shadow:none!important}
body[data-page="president"] main.leader-modern .timeline .tl-item figcaption{color:#4b393e!important;background:#fff!important}
body[data-page="memory"] .memory-command-shell{background-color:#650b1a!important;background-image:linear-gradient(135deg,#5f0a18,#8a1a30)!important}
body[data-page="memory"] .memory-command-shell h1,body[data-page="memory"] .memory-command-shell p,body[data-page="memory"] .memory-command-shell span,body[data-page="memory"] .memory-command-shell strong{color:#fff!important}
body[data-page="memory"] .memory-command-shell .memory-command-kicker{color:#f1d99d!important}
body[data-page="privacy"] .page-kicker{color:#650b1a!important}

/* Runtime-generated legal links and statistic values */
body[data-page="home"] main a[href*="privacy"]{color:#650b1a!important}
body[data-page="about"] a[href*="privacy"],body[data-page="privacy"] a[href*="privacy"]{color:#fff!important}
body[data-page="contacts"] footer a[href*="privacy"]{color:#f4dda4!important}
body[data-page="contacts"] .consent-row a[href*="privacy"]{color:#650b1a!important}
body[data-page="president"] main.leader-modern .pres-stat b,body[data-page="president"] main.leader-modern .award-fact-row b{color:#5f0a18!important}
body[data-page="privacy"] main .page-kicker{color:#650b1a!important}

/* Final legal notice and metric contrast */
.pd-cookie-notice,.pd-cookie-notice p{color:#fff!important}
.pd-cookie-notice a{color:#f1d99d!important;text-decoration-color:#f1d99d!important}
.pd-cookie-notice .pd-cookie-accept{background:#fff!important;color:#5f0a18!important;border:1px solid #fff!important}
body[data-page="home"] .consent-row a{color:#650b1a!important}
body[data-page="president"] .pres-stat b{color:#5f0a18!important}

/* ===== absolute-readability.css ===== */
/* Final high-contrast readability layer */
:root{--r-wine:#5f0a18;--r-wine2:#7d1122;--r-ink:#302428;--r-muted:#514247;--r-paper:#fff;--r-ivory:#fbf8f3;--r-gold:#f1d99d}
body{color:var(--r-ink)!important;background:var(--r-ivory)!important}
header,.site-header,.utility-bar,.top-bar,footer,.pd-cookie-notice{color:#fff!important}
header *,header a,header button,.site-header *,.utility-bar *,.top-bar *,footer *,footer a,.pd-cookie-notice,.pd-cookie-notice p{color:#fff!important}
header .donate-btn,.pd-cookie-accept{background:#fff!important;color:var(--r-wine)!important;border-color:#fff!important}
.mobile-menu-toggle{background:var(--r-wine2)!important;color:#fff!important;border-color:#fff!important}
main h1,main h2,main h3,main h4,main h5,main h6{color:var(--r-wine)!important;text-shadow:none!important;opacity:1!important}
main p,main li,main small,main figcaption,main label{color:var(--r-muted)!important;text-shadow:none!important;opacity:1!important}
.page-hero,.page-hero *,.home-hero,.home-hero *,.about-hero,.about-hero *,.institution-hero,.institution-hero *,.pres-hero,.pres-hero *,
.home-command,.home-command *,.timeline-command,.timeline-command *,.memory-command-shell,.memory-command-shell *,
.legal-intro aside,.legal-intro aside *{color:#fff!important}
.page-hero a,.home-hero a,.about-hero a,.institution-hero a,.pres-hero a,.home-command a,.timeline-command a,.memory-command-shell a,.pd-cookie-notice a{color:var(--r-gold)!important}
main .btn-primary,main [class*="btn--wine"],main [class*="button--wine"],main .institution-button{background:var(--r-wine2)!important;background-image:none!important;color:#fff!important;border-color:var(--r-wine2)!important}
main [class*="btn--light"],main [class*="button--light"]{background:#fff!important;background-image:none!important;color:var(--r-wine)!important;border-color:rgba(95,10,24,.28)!important}
/* Pуть служения: no dark-on-dark */
body[data-page="president"] .timeline .tl-item,body[data-page="president"] .tl-item{background:#fff!important;background-image:none!important;color:var(--r-ink)!important;border-color:rgba(95,10,24,.18)!important;opacity:1!important}
body[data-page="president"] .tl-item .tl-body,body[data-page="president"] .tl-item .tl-media{background:#fff!important;background-image:none!important;color:var(--r-ink)!important;opacity:1!important}
body[data-page="president"] .tl-item h3,body[data-page="president"] .tl-item h4,body[data-page="president"] .tl-item h5{color:var(--r-wine)!important;text-shadow:none!important;opacity:1!important}
body[data-page="president"] .tl-item p,body[data-page="president"] .tl-item li,body[data-page="president"] .tl-item figcaption,body[data-page="president"] .tl-item .tl-caption{color:#493b40!important;text-shadow:none!important;opacity:1!important}
body[data-page="president"] .tl-year{background:var(--r-wine)!important;color:#fff!important;border-color:#b69042!important;text-shadow:none!important;opacity:1!important}
body[data-page="president"] .tl-item img{opacity:1!important;filter:none!important}
body[data-page="president"] .pres-stat{background:#fff!important}body[data-page="president"] .pres-stat b{color:var(--r-wine)!important}body[data-page="president"] .pres-stat span{color:var(--r-muted)!important}
/* Light cards and legal/forms */
.card,article,.tl-body,.law-card,.contact-card,.about-value,.memory-hero-card__body{opacity:1!important}
input,textarea,select{background:#fff!important;color:#2f2327!important;border-color:rgba(95,10,24,.35)!important}
input::placeholder,textarea::placeholder{color:#6a5b60!important;opacity:1!important}
.consent-row,.consent-row p,.consent-row label{color:#493b40!important}.consent-row a{color:#650b1a!important}
.page-kicker,.section-kicker,.about-kicker,.institution-kicker,.home-heading__kicker{color:#650b1a!important;text-shadow:none!important;opacity:1!important}
figure,img{opacity:1!important}figcaption{background:#fff!important;color:#493b40!important}
.pd-cookie-notice{background:#4f0711!important}.pd-cookie-notice a{color:var(--r-gold)!important}
.about-btn--wine{background:var(--r-wine2)!important;color:#fff!important;border-color:var(--r-wine2)!important}
body[data-page="president"] .award-fact-row b{color:var(--r-wine)!important}
body[data-page="memory"] .memory-heroes-section,body[data-page="memory"] .memory-hero-card,body[data-page="memory"] .memory-hero-body{background:#fff!important;color:var(--r-ink)!important}
body[data-page="memory"] .memory-heroes-section .memory-section-kicker{color:#650b1a!important}
body[data-page="memory"] .memory-heroes-section h2,body[data-page="memory"] .memory-hero-card h3{color:var(--r-wine)!important}
body[data-page="memory"] .memory-heroes-section p,body[data-page="memory"] .memory-hero-card p{color:#493b40!important}
body[data-page="memory"] .memory-hero-years{color:#650b1a!important}

/* Homepage consent is on a light surface */
body[data-page="home"] .home-contact__consent a{color:#650b1a!important;text-decoration-color:#650b1a!important}

/* Dark content panels: explicit readable typography */
body[data-page="memory"] .memory-call-card,
body[data-page="documents"] .legal-source .institution-cta__card,
body[data-page="contacts"] .institution-cta .institution-cta__card,
body[data-page="home"] .home-contact,
body[data-page="home"] .home-contact__card{color:#fff!important}
body[data-page="memory"] .memory-call-card h2,
body[data-page="documents"] .legal-source .institution-cta__card h2,
body[data-page="contacts"] .institution-cta .institution-cta__card h2,
body[data-page="home"] .home-contact h2,
body[data-page="home"] .home-contact h3{color:#fff!important;text-shadow:none!important;opacity:1!important}
body[data-page="memory"] .memory-call-card p,
body[data-page="documents"] .legal-source .institution-cta__card p,
body[data-page="contacts"] .institution-cta .institution-cta__card p,
body[data-page="home"] .home-contact p,
body[data-page="home"] .home-contact label,
body[data-page="home"] .home-contact .home-contact__consent,
body[data-page="home"] .home-contact .home-contact__consent span{color:#f8eef0!important;text-shadow:none!important;opacity:1!important}
body[data-page="memory"] .memory-call-card .memory-section-kicker,
body[data-page="documents"] .legal-source .institution-kicker,
body[data-page="contacts"] .institution-cta .institution-kicker,
body[data-page="home"] .home-contact [class*="kicker"]{color:#f1d99d!important;text-shadow:none!important;opacity:1!important}
body[data-page="home"] .home-contact input{background:rgba(255,255,255,.13)!important;color:#fff!important;border-color:rgba(255,255,255,.42)!important}
body[data-page="home"] .home-contact textarea{background:#fff!important;color:#302428!important;border-color:#fff!important}
body[data-page="home"] .home-contact input::placeholder{color:#f3e7ea!important}
body[data-page="home"] .home-contact textarea::placeholder{color:#6a5b60!important}
body[data-page="home"] .home-contact__consent a{color:#f1d99d!important;text-decoration-color:#f1d99d!important}
body[data-page="home"] .home-contact button{background:#fff!important;color:#5f0a18!important;border-color:#fff!important}
body[data-page="memory"] .memory-call-btn,
body[data-page="documents"] .legal-source .institution-button:not(.institution-button--light),
body[data-page="contacts"] .institution-cta .institution-button:not(.institution-button--light){background:#fff!important;color:#5f0a18!important;border-color:#fff!important}
body[data-page="documents"] .legal-source .institution-button--light,
body[data-page="contacts"] .institution-cta .institution-button--light{background:transparent!important;color:#fff!important;border-color:rgba(255,255,255,.7)!important}

/* ===== all-pages-text-layout-fix.css ===== */
/* Общесайтовая геометрия текста и безопасное уведомление */
html body{perspective:none!important}
body.has-cookie-notice{padding-bottom:calc(var(--pd-cookie-space,0px) + 16px)!important}
.pd-cookie-notice{
 position:fixed!important;inset:auto 0 0 0!important;width:100%!important;max-width:none!important;
 margin:0!important;box-sizing:border-box!important;transform:none;isolation:isolate
}
.pd-cookie-notice p{min-width:0!important;overflow-wrap:anywhere!important}
.pd-cookie-notice .pd-cookie-accept{flex:0 0 auto!important}
@media(max-width:600px){
 .pd-cookie-notice{display:grid!important;grid-template-columns:minmax(0,1fr)!important;justify-items:stretch!important;padding:14px 16px!important}
 .pd-cookie-notice p{max-width:none!important;text-align:left!important}
 .pd-cookie-notice .pd-cookie-accept{width:100%!important;white-space:normal!important}
}
