/* /assets/brand/ur-legacy.css — the hand-made publication pages (Nota de plată, Nu ai dreptul, Fără monopol, Comunicat,
   Întâlnire MApN, Proces ICCJ, Scrisoare, Eveniment, Traducere, Manifest, Sprijin TAS, Tânărul Stelist, Carte Lăcătuș,
   Harta membrilor, Sondaj, Formular 3,5%, Politica cookies, Concurs Crăciun) brought onto the lux editorial system.
   Linked after each page's own <style>, active only on <body class="… ur-legacy">. Text and markup unchanged (the app
   reads that markup). Removes boxes (frames, shadows, rounded corners, tinted bands) and every blue→red gradient (red
   over blue reads purple); keeps white paper, hairlines, Bodoni / Newsreader / Jost, Steaua blue with one red accent. */

body.ur-legacy{
  --lg-navy:#062A63; --lg-blue:#0B3D91; --lg-red:#DA1F26; --lg-ink:#0b0f19; --lg-text:#2b313d; --lg-muted:#6b7280; --lg-line:#e3e6ec;
  --lg-display:var(--lux-display,"Bodoni Moda"),"Bodoni 72","Didot",serif;
  --lg-read:var(--lux-text,"Newsreader"),"Iowan Old Style","Palatino Linotype",serif;
  --lg-sans:var(--lux-sans,"Jost"),"Futura",system-ui,sans-serif;
  --lg-night:radial-gradient(70% 90% at 84% 12%,rgba(26,92,196,.42),transparent 62%),linear-gradient(140deg,#031631 0%,#062A63 52%,#0B3D91 100%);
  background:#fff !important;
}
body.ur-legacy::before,body.ur-legacy::after{background-image:none}

/* ---------- 1. No boxes anywhere in the page content (header, footer, cookie card and chat are outside <main>) ---------- */
body.ur-legacy :is(main,.ur-poll,.hmx-shell) *:not(input[type=radio]):not(input[type=checkbox]):not(.ur-slider):not(.dot){box-shadow:none !important}
body.ur-legacy :is(main,.ur-poll,.hmx-shell) :is(section,article,aside,div,figure,a,button,li,blockquote,img,video,iframe,details,summary,select,.btn,span[class]){border-radius:0 !important}

/* ---------- 2. Crumb, eyebrow, buttons ---------- */
body.ur-legacy :is(.crumb,.mapn-crumb){font:500 11px/1.6 var(--lg-sans) !important;letter-spacing:.2em !important;text-transform:uppercase;color:var(--lg-muted) !important}
body.ur-legacy :is(.crumb,.mapn-crumb) a{color:var(--lg-navy) !important;border-bottom:1px solid rgba(11,61,145,.3)}
body.ur-legacy :is(.eyebrow,.mapn-eyebrow)::before{height:2px !important;background:var(--lg-red) !important}
body.ur-legacy :is(.btn,.mapn-btn,.lux-btn,.tas-button,.ur35-btn){border-radius:0 !important;font-family:var(--lg-sans);letter-spacing:.22em;text-transform:uppercase;transition:background .3s ease,color .3s ease,border-color .3s ease !important}
body.ur-legacy :is(.btn,.mapn-btn,.lux-btn):hover{transform:none !important}
body.ur-legacy :is(.btn.primary,.mapn-btn.primary,.lux-btn.blue,.btn.red){background:var(--lg-navy) !important;border-color:var(--lg-navy) !important;color:#fff !important}
body.ur-legacy :is(.btn.primary,.mapn-btn.primary,.lux-btn.blue,.btn.red):hover{background:var(--lg-red) !important;border-color:var(--lg-red) !important}

/* ---------- 3. Hero: words beside the picture on white, no frame ---------- */
body.ur-legacy :is(.hero,.mapn-hero,.lux-hero):not(.tas-hero){border:0 !important;background:none !important;column-gap:clamp(36px,5vw,84px)}
body.ur-legacy :is(.hero-copy,.mapn-hero-copy){background:none !important}
body.ur-legacy .hero h1,body.ur-legacy .mapn-hero h1{letter-spacing:-.02em;text-wrap:balance}
body.ur-legacy :is(.hero-media,.mapn-hero-media){background:#031631 !important}
body.ur-legacy :is(.hero-media,.mapn-hero-media)::before{background:none !important}
body.ur-legacy :is(.hero-media,.mapn-hero-media,.hero-side,.mapn-hero-side)::after{background:linear-gradient(180deg,rgba(3,22,49,0) 55%,rgba(3,22,49,.28)) !important}
body.ur-legacy :is(.hero-side,.mapn-hero-side){background:var(--lg-night) !important}
body.ur-legacy .lead{font-family:var(--lg-read)}

/* ---------- 4. Navy statements: Steaua blue only, the crest barely visible, one red rule ---------- */
body.ur-legacy :is(.side-card,.blue-red-note,.quote-block,.credo,.rubicon-block,.legal-block,.mapn-side-card,.mapn-blue-red-note,
  .vision-panel,.editorial-side,.tas-highlight,.tas-side-cta,.tas-final,.final-cta,.hmx-hero-card){
  position:relative;isolation:isolate;overflow:hidden;background:var(--lg-night) !important;border:0 !important}
body.ur-legacy :is(.side-card,.blue-red-note,.quote-block,.credo,.rubicon-block,.legal-block,.mapn-side-card,.mapn-blue-red-note,.vision-panel,.tas-final,.final-cta)::after{
  content:"" !important;position:absolute !important;z-index:-1 !important;right:-14% !important;left:auto !important;top:50% !important;bottom:auto !important;width:70% !important;height:auto !important;aspect-ratio:1;transform:translateY(-50%) !important;
  background:url(/assets/brand/ur-crest-white.png) center/contain no-repeat !important;opacity:.06 !important;pointer-events:none}
body.ur-legacy :is(.side-card,.blue-red-note,.quote-block,.credo,.rubicon-block,.mapn-side-card,.mapn-blue-red-note,.vision-panel,.tas-final,.final-cta)::before{
  content:"" !important;position:absolute !important;left:0 !important;top:0 !important;right:auto !important;bottom:auto !important;width:46px !important;height:2px !important;background:var(--lg-red) !important;opacity:1 !important;inset:0 auto auto 0 !important}

/* ---------- 5. Light boxes become quiet typography ---------- */
/* the "central idea" band under the hero: a statement between hairlines */
body.ur-legacy :is(.main-highlight,.mapn-main-highlight){background:none !important;border:0 !important;border-top:1px solid var(--lg-line) !important;border-bottom:1px solid var(--lg-line) !important;padding-left:0 !important;padding-right:0 !important;margin-top:clamp(36px,4vw,56px)}
body.ur-legacy :is(.main-highlight,.mapn-main-highlight) .label{display:flex;align-items:center;gap:14px;color:var(--lg-blue) !important;letter-spacing:.28em !important}
body.ur-legacy :is(.main-highlight,.mapn-main-highlight) .label::before{content:"";width:34px;height:2px;background:var(--lg-red);flex:none}
/* pull quotes, notices, statements: a single rule on the left */
body.ur-legacy :is(.sentence-block,.notice,.mapn-notice,.case-box,.statement-box,.important-note,.tas-caution,.quote-panel){
  background:none !important;border:0 !important;border-left:2px solid var(--lg-blue) !important;padding:6px 0 6px clamp(22px,2vw,30px) !important}
body.ur-legacy.manifest-page main blockquote{background:none !important;border:0 !important;border-left:2px solid var(--lg-blue) !important;padding:6px 0 6px clamp(22px,2vw,30px) !important}
body.ur-legacy :is(.sentence-block,.statement-box,.quote-panel) p{color:var(--lg-ink) !important}
/* list rows that were tinted strips */
body.ur-legacy :is(.question-list,.principles-list,.bullet-list) li{background:none !important;border:0 !important;border-bottom:1px solid var(--lg-line) !important;padding-left:0 !important}
/* small cards in grids: a dark rule on top, no frame */
body.ur-legacy :is(.mapn-fact,.media-card,.mapn-media-card,.credit-box,.document-panel,.support-panel,.action-panel,.scan-box,.tas-point,
  .impact-card,.commitment-card,.benefit,.step,.partner-panel,.editorial-panel,.project-intro,.lux-strip,.lux-item,.tas-side-card,.hmx-map-frame,.hmx-card,.hmx-stat){
  background:none !important;border:0 !important;border-top:1px solid var(--lg-ink) !important}
body.ur-legacy :is(.commitment-card,.impact-card)::after{display:none !important}

/* ---------- 6. Sections and bands: no frames, no tints ---------- */
body.ur-legacy :is(.content-grid,.mapn-content-grid,.content-shell,.article-shell,.lux-section,.tas-article){border:0 !important;background:none !important}
body.ur-legacy :is(.side-panel,.mapn-side-panel){background:none !important;border:0 !important}
body.ur-legacy :is(.cta-section,.mapn-cta-section,.final-section,.nav-section){border:0 !important;border-top:1px solid var(--lg-line) !important;background:none !important;padding-left:0 !important;padding-right:0 !important;margin-top:clamp(44px,5vw,72px)}
body.ur-legacy :is(.cta-section,.mapn-cta-section,.final-section,.nav-section) h2{color:var(--lg-ink) !important;letter-spacing:-.018em}
body.ur-legacy .meta-strip{border:0 !important;border-bottom:1px solid var(--lg-line) !important;background:none !important;padding-left:0 !important;padding-right:0 !important;gap:0 !important}
body.ur-legacy .meta-pill{min-height:0 !important;padding:4px 0 !important;border:0 !important;background:none !important;font:500 11px/1.4 var(--lg-sans) !important;letter-spacing:.22em !important;color:var(--lg-muted) !important}
body.ur-legacy .meta-pill + .meta-pill::before{content:"·";margin:0 16px;color:var(--lg-red);letter-spacing:0}
body.ur-legacy .divider{background:var(--lg-line) !important;height:1px !important}
body.ur-legacy :is(.tag,.tags span){border:0 !important;background:none !important;padding:0 !important;min-height:0 !important;font:500 11px/1.8 var(--lg-sans) !important;letter-spacing:.12em !important;color:var(--lg-blue) !important}
body.ur-legacy :is(.tag-row,.tags){gap:4px 18px !important;border:0 !important;padding-left:0 !important}

/* ---------- 7. Page specifics ---------- */
/* Sondaj (support projection): result bars in Steaua blue, not blue→red */
body.ur-legacy .bar span{background:var(--lg-navy) !important}
body.ur-legacy .ur-poll{background:none !important}
/* Formular 3,5%: one solid red action on the navy page (the red→blue gradient read purple) */
body.ur-legacy :is(.ur35-btn-primary,.ur35-btn.primary){background:var(--lg-red) !important;border-color:var(--lg-red) !important;color:#fff !important}
body.ur-legacy :is(.ur35-btn-primary,.ur35-btn.primary):hover{background:#fff !important;border-color:#fff !important;color:var(--lg-navy) !important}
body.ur-legacy .ur35-page{background:var(--lg-night) !important}
/* Sprijin TAS: hero overlay stays dark, accents split blue | red (no blend) */
body.ur-legacy .tas-hero{border-radius:0 !important}

/* ---------- 8. Second pass ---------- */
/* hero pictures: no blue/red frame lines (desktop ::after, mobile borders) */
body.ur-legacy :is(.hero-media,.mapn-hero-media){border:0 !important}
body.ur-legacy :is(.hero-media,.mapn-hero-media)::after{border:0 !important;box-shadow:inset 0 0 0 1px rgba(6,42,99,.1) !important}
/* tinted side columns and panels become white */
body.ur-legacy :is(.media-panel,.mapn-media-panel,.document-panel,.support-panel,.action-panel,.signature,.notice,.hmx-map-head,.hmx-card-head,.hmx-search,.panel){background:none !important}
body.ur-legacy :is(.media-panel,.mapn-media-panel){border:0 !important}
body.ur-legacy :is(.signature,.panel,.hmx-card,.hmx-map-frame){border:0 !important;border-top:1px solid var(--lg-ink) !important}
body.ur-legacy :is(.hmx-stat,.hmx-stats > *){border:0 !important;border-top:1px solid var(--lg-ink) !important}
/* drop cap: only the opening paragraph of the text, never a label or the first line of every inner block */
body.ur-legacy :is(.article-body,.content-body) :is(div,section,aside,blockquote,li,figure) p::first-letter,
body.ur-legacy .section-label::first-letter,
body.ur-legacy :is(.article-body,.content-body) p.section-label::first-letter{
  float:none !important;font-family:inherit !important;font-size:inherit !important;line-height:inherit !important;padding:0 !important;margin:0 !important;color:inherit !important;font-weight:inherit !important}
body.ur-legacy .section-label{display:flex;align-items:center;gap:14px;font:500 11px/1.3 var(--lg-sans) !important;letter-spacing:.28em !important;text-transform:uppercase;color:var(--lg-blue) !important}
body.ur-legacy .section-label::before{content:"";width:34px;height:2px;background:var(--lg-red);flex:none}

/* Harta membrilor: Steaua blue map (the navy→red fill read purple), stats and lists on hairlines */
body.ur-legacy .hmx-ro-fill{fill:#0B3D91 !important}
body.ur-legacy .hmx-vector-stage{background:var(--lg-night) !important;border:0 !important}
body.ur-legacy .hmx-stat::before{display:none !important}
body.ur-legacy .hmx-stat{background:none !important;border:0 !important;border-top:1px solid var(--lg-ink) !important;padding-left:0 !important}
body.ur-legacy :is(.hmx-map-card,.hmx-card){background:none !important;border:0 !important;border-top:1px solid var(--lg-ink) !important}
body.ur-legacy .hmx-location-list li{background:none !important;border:0 !important;border-bottom:1px solid var(--lg-line) !important;padding-left:0 !important}
body.ur-legacy .hmx-location-list li::before{box-shadow:none !important}
/* Sondaj: the intro and the two columns as hairline sections */
body.ur-legacy .ur-poll .lead,body.ur-legacy .ur-poll .panel{background:none !important;border:0 !important;border-top:1px solid var(--lg-ink) !important}
body.ur-legacy .ur-poll .opt label{border-radius:0 !important;box-shadow:none !important;background:none !important}

@media (max-width:768px){
  body.ur-legacy :is(.main-highlight,.mapn-main-highlight,.cta-section,.mapn-cta-section,.final-section,.nav-section,.meta-strip){padding-left:18px !important;padding-right:18px !important}
  body.ur-legacy :is(.sentence-block,.notice,.mapn-notice,.case-box,.statement-box,.quote-panel){padding-left:18px !important}
}
