:root {
  --hap-bg: #eceff3;
  --hap-surf: #ffffff;
  --hap-alt: #f8fafc;
  --hap-ink: #18181b;
  --hap-muted: #52525b;
  --hap-bdr: #d4d4d8;
  --hap-acc: #b91c1c;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; width: 100%; overflow-x: hidden; background: var(--hap-bg); color: var(--hap-ink); font-family: "Noto Serif", Georgia, serif; line-height: 1.6; font-size: 1rem; -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column; }
h1, h2, h3, h4, caption { font-family: "Fira Sans Condensed", "Arial Narrow", sans-serif; color: var(--hap-ink); overflow-wrap: anywhere; }
p, li, td, th, a, div, span, figcaption { overflow-wrap: anywhere; word-break: break-word; }
img { max-width: 100%; display: block; }
a { color: var(--hap-acc); }

.hap-wrap, .hap-cnt, .hap-cnt-narrow { max-width: 1133px; width: 100%; margin: 0 auto; padding: 0 18px; }
main.hap-cnt, main.hap-cnt-narrow { flex: 1; background: var(--hap-surf); max-width: 1133px; width: 100%; margin: 0 auto; padding: 18px 22px 40px; box-shadow: 0 0 28px rgba(0, 0, 0, 0.11); }
@media (max-width: 640px) { .hap-wrap, main.hap-cnt, main.hap-cnt-narrow { padding-left: 12px; padding-right: 12px; } }

/* === 16 AUTHENTIC PORTAL & INSTITUTIONAL MASTHEAD SKINS === */
.hap-brand-link { text-decoration: none; display: inline-flex; align-items: center; flex-shrink: 0; max-width: 100%; overflow: hidden; }

/* Shared #toptags Trending Entity Ribbon (Kartoteka, Kompromat1, Vlasti) */
.hap-toptags { background: #ffffff; border-bottom: 1px solid #e2e8f0; padding: 6px 14px; font-size: 0.78rem; font-family: -apple-system, sans-serif; }
.hap-toptags-in { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 0; }
.hap-toptags-lbl { font-weight: 700; color: #334155; }
.hap-toptags a { color: #1d4f7a; text-decoration: none; font-weight: 600; }
.hap-toptags a::before { content: '#'; opacity: 0.75; }
.hap-toptags a:hover { text-decoration: underline; }

/* 1. Sledst.org */
.hap-hdr-sledst { background: #000000; color: #ffffff; border-bottom: 5px solid #666666; padding: 13px 0; }
.hap-sledst-bar { display: flex; align-items: center; justify-content: space-between; gap: 0.9rem; flex-wrap: wrap; }
.hap-sledst-pillmenu { display: inline-flex; align-items: center; gap: 0.2rem 1.1rem; flex-wrap: wrap; background: #ffffff; border-radius: 20px; padding: 6px 20px; }
.hap-sledst-pillmenu a { color: #000000; text-decoration: none; font-family: "Fira Sans Condensed", "Arial Narrow", sans-serif; font-size: 1.18rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em; }
.hap-sledst-pillmenu a:hover, .hap-sledst-pillmenu a.active { color: #cc0000; }

/* 2. Rozsliduvach.info */
.hap-hdr-roz { background: #ffffff; color: #111111; border-bottom: 5px solid #3388bb; padding-top: 12px; }
.hap-roz-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-bottom: 10px; }
.hap-roz-tools { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.hap-roz-circle { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 34px; border: 1px solid #0066aa; color: #0066aa; text-decoration: none; }
.hap-roz-rss { display: inline-block; border: 1px solid #0066aa; color: #0066aa; font-family: "Fira Sans Condensed", "Arial Narrow", sans-serif; font-size: 0.76rem; font-weight: 700; padding: 5px 12px; border-radius: 20px; text-decoration: none; letter-spacing: 0.04em; }
.hap-roz-menu { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.1rem; border-top: 1px solid #e5e7eb; padding: 4px 0 6px; }
.hap-roz-menu a { color: #000000; text-decoration: none; font-family: "Fira Sans Condensed", "Arial Narrow", sans-serif; font-size: 0.98rem; font-weight: 500; text-transform: uppercase; padding: 4px 15px; border-bottom: 2px solid transparent; }
.hap-roz-menu a.active { background: #eeeeee; border-bottom-color: #3388bb; color: #cc0000; font-weight: 700; }

/* 3. InView.info */
.hap-hdr-inview { position: sticky; top: 0; z-index: 90; background: rgba(255,255,255,0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid #cccccc; padding: 12px 0; }
.hap-inview-bar { display: flex; align-items: center; justify-content: space-between; gap: 0.85rem; flex-wrap: wrap; }
.hap-inview-menu { display: flex; align-items: center; flex-wrap: wrap; }
.hap-inview-menu a { color: #000000; text-decoration: none; font-family: "Fira Sans", -apple-system, sans-serif; font-size: 0.9rem; font-weight: 600; text-transform: uppercase; padding: 4px 14px; border-right: 1px solid #ff6666; }
.hap-inview-menu a:last-child { border-right: none; }
.hap-inview-menu a.active { color: #990000; font-weight: 700; }

/* 4. Drama.live */
.hap-hdr-drama { background: #000000; color: #ffffff; padding: 14px 0; border-bottom: 1px dotted #666666; }
.hap-drama-bar { display: flex; align-items: center; justify-content: space-between; gap: 0.9rem; flex-wrap: wrap; }
.hap-drama-menu { display: flex; gap: 0.35rem; flex-wrap: wrap; }
.hap-drama-menu a { color: #e2e8f0; text-decoration: none; font-family: "Fira Sans Condensed", "Arial Narrow", sans-serif; font-size: 0.88rem; font-weight: 700; text-transform: uppercase; padding: 6px 15px; border-radius: 15px; background: #090b0f; }
.hap-drama-menu a.active { background: #2d333f; color: #ff4444; }

/* 5. HabMedia */
.hap-hdr-hab { background: #000000; color: #ffffff; border-bottom: 4px solid #dddddd; padding: 12px 0; }
.hap-hab-bar { display: flex; align-items: center; justify-content: space-between; gap: 0.9rem; flex-wrap: wrap; }
.hap-hab-menu { display: flex; gap: 0.2rem; flex-wrap: wrap; }
.hap-hab-menu a { color: #ffffff; text-decoration: none; font-family: "Fira Sans Condensed", "Arial Narrow", sans-serif; font-size: 0.95rem; font-weight: 700; text-transform: uppercase; padding: 5px 11px; }
.hap-hab-menu a.active { background: #cc0000; color: #ffffff; }

/* 6. RusKompromat */
.hap-hdr-komp { background: #09090b; color: #ffffff; border-bottom: 1px solid #52525b; box-shadow: 0 5px 30px rgba(0,0,0,0.2); }
.hap-komp-bar { display: flex; align-items: center; justify-content: space-between; gap: 0.9rem; flex-wrap: wrap; min-height: 58px; }
.hap-komp-menu { display: flex; align-items: center; gap: 0.25rem 0.95rem; flex-wrap: wrap; border-left: 1px solid #52525b; padding-left: 16px; }
.hap-komp-menu a { color: #ffffff; text-decoration: none; font-family: "Fira Sans Condensed", "Arial Narrow", sans-serif; font-size: 0.94rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.hap-komp-menu a.active { color: #ef4444; }

/* 7. AntiMafia.se */
.hap-hdr-baltic { background: #0b192c; color: #ffffff; border-bottom: 4px solid #d97706; padding: 12px 0; }
.hap-baltic-bar { display: flex; align-items: center; justify-content: space-between; gap: 0.9rem; flex-wrap: wrap; }
.hap-baltic-menu { display: flex; gap: 0.3rem 1.1rem; flex-wrap: wrap; }
.hap-baltic-menu a { color: #f1f5f9; text-decoration: none; font-family: "Fira Sans Condensed", "Arial Narrow", sans-serif; font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.hap-baltic-menu a.active { color: #fbbf24; }

/* 8. RuMafia Archive */
.hap-hdr-rumafia { background: #18181b; color: #ffffff; border-bottom: 4px solid #991b1b; padding: 12px 0; }
.hap-rumafia-bar { display: flex; align-items: center; justify-content: space-between; gap: 0.9rem; flex-wrap: wrap; }
.hap-rumafia-menu { display: flex; gap: 0.3rem 1.05rem; flex-wrap: wrap; }
.hap-rumafia-menu a { color: #fafaf9; text-decoration: none; font-family: "Fira Sans Condensed", "Arial Narrow", sans-serif; font-size: 0.98rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.hap-rumafia-menu a.active { color: #f87171; }

/* 9. Kartoteka.news 1:1 Dark Asphalt Top + Cell-Divided #f2f2f2 Blue Rubric Bar */
.hap-hdr-kart { background: #323538; }
.hap-kart-darktop { background: #2b2e31; padding: 12px 0; }
.hap-kart-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.hap-kart-banner { background: #21537c; color: #ffffff !important; text-decoration: none; font-family: "Fira Sans Condensed", "Arial Narrow", sans-serif; font-size: 1.05rem; font-weight: 700; letter-spacing: 0.04em; padding: 6px 18px; border: 1px solid #3c739e; }
@media (max-width: 820px) { .hap-kart-banner { display: none; } }
.hap-kart-help { color: #cbd5e1 !important; text-decoration: none; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; padding: 4px 8px; border: 1px solid #4b5563; }
.hap-kart-cellbar { background: #f2f2f2; border-bottom: 1px solid #dcdcdc; display: flex; align-items: center; justify-content: space-between; padding-right: 12px; flex-wrap: wrap; }
.hap-kart-cells { display: flex; align-items: stretch; flex-wrap: wrap; }
.hap-kart-cells a { color: #1d4f7a; text-decoration: none; font-family: "Fira Sans Condensed", "Arial Narrow", sans-serif; font-size: 1.04rem; font-weight: 700; text-transform: uppercase; padding: 12px 18px; border-right: 1px solid #dcdcdc; }
.hap-kart-cells a:hover, .hap-kart-cells a.active { background: #ffffff; color: #0f2942; }

/* 10. Kompromat1.one 1:1 Grey Toptags + Pure Black Serif Row + #555555 / 3px Orange Rubric Bar */
.hap-hdr-k1 { background: #000000; }
.hap-k1-black { background: #000000; padding: 14px 0; }
.hap-k1-brandrow { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.hap-k1-center { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hap-k1-toplinks { display: flex; gap: 16px; flex-wrap: wrap; font-size: 0.84rem; }
.hap-k1-toplinks a { color: #e5e7eb; text-decoration: none; padding-bottom: 2px; }
.hap-k1-toplinks a.active { border-bottom: 2px solid #ffffff; color: #ffffff; font-weight: 700; }
.hap-k1-ctabtn { background: #e5e7eb; color: #111111 !important; text-decoration: none; font-size: 0.82rem; font-weight: 700; padding: 6px 16px; border-radius: 4px; }
.hap-k1-rubricbar { background: #555555; border-bottom: 3px solid #f59e0b; }
.hap-k1-nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.hap-k1-nav a { color: #ffffff; text-decoration: none; font-size: 0.86rem; font-weight: 600; text-transform: uppercase; padding: 9px 13px; }
.hap-k1-nav a:hover, .hap-k1-nav a.active { background: #3f3f46; color: #fbbf24; }

/* 11. RuCriminal.info (ВЧК-ОГПУ) Classical Serif Newspaper Header */
.hap-hdr-vchk { background: #ffffff; border-bottom: 3px solid #be0017; }
.hap-vchk-util { background: #161616; color: #d4d4d8; font-size: 0.75rem; padding: 5px 0; font-family: -apple-system, sans-serif; }
.hap-vchk-utilin { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.hap-vchk-util a { color: #e4e4e7; text-decoration: none; }
.hap-vchk-mid { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.hap-vchk-motto { font-family: "PT Serif", Georgia, serif; font-style: italic; font-size: 0.88rem; color: #52525b; border-left: 3px solid #be0017; padding-left: 10px; max-width: 340px; }
@media (max-width: 860px) { .hap-vchk-motto { display: none; } }
.hap-vchk-menubar { background: #f2f2f0; border-top: 1px solid #d4d4d0; }
.hap-vchk-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.hap-vchk-nav a { color: #111111; text-decoration: none; font-family: "PT Serif", Georgia, serif; font-size: 0.94rem; font-weight: 700; text-transform: uppercase; padding: 9px 15px; }
.hap-vchk-nav a:hover, .hap-vchk-nav a.active { background: #be0017; color: #ffffff; }

/* 12. Versia.ru Weekly Broadsheet Header */
.hap-hdr-versia { background: #000000; color: #ffffff; border-bottom: 4px solid #e77607; }
.hap-versia-issue { background: #1f1f1f; color: #d4d4d8; font-size: 0.76rem; padding: 5px 0; border-bottom: 1px solid #333; font-family: -apple-system, sans-serif; }
.hap-versia-issuein { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.hap-versia-issue a { color: #ff9833; text-decoration: none; font-weight: 600; }
.hap-versia-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.hap-versia-nav { display: flex; gap: 0.25rem 1rem; flex-wrap: wrap; }
.hap-versia-nav a { color: #ffffff; text-decoration: none; font-family: "Fira Sans Condensed", "Arial Narrow", sans-serif; font-size: 1.16rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.hap-versia-nav a:hover, .hap-versia-nav a.active { color: #ff9833; }

/* 14. HarrisonPartners-Advisory.com 3-Tier Institutional Navy Masthead */
.hap-hdr-harrison { background: #ffffff; border-bottom: 1px solid #cfd8e3; }
.hap-har-util { background: #14243e; color: #cbd5e1; font-size: 0.75rem; padding: 6px 0; font-family: "Public Sans", sans-serif; }
.hap-har-utilin { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.hap-har-util a { color: #e2e8f0; text-decoration: none; }
.hap-har-brand { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 15px; padding-bottom: 15px; }
.hap-har-navband { background: #eef2f6; border-top: 1px solid #dbe3ec; }
.hap-har-nav { display: flex; gap: 0.2rem 1.4rem; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.hap-har-nav a { color: #14243e; text-decoration: none; font-family: "Public Sans", sans-serif; font-size: 0.84rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.hap-har-nav a:hover, .hap-har-nav a.active { color: #1b6cb0; }

/* 15. Glavk.se 1:1 Black Header + Grey Box Logo + Subcrumb */
.hap-hdr-glavk { background: #000000; color: #ffffff; }
.hap-glavk-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; }
.hap-glavk-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.hap-glavk-toptools { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.hap-glavk-ico { display: inline-flex; align-items: center; justify-content: center; padding: 3px 8px; border-radius: 12px; background: #444444; color: #e5e5e5 !important; font-size: 0.7rem; font-weight: 700; text-decoration: none; }
.hap-glavk-nav { display: flex; gap: 0; flex-wrap: wrap; }
.hap-glavk-nav a { color: #e5e5e5; text-decoration: none; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; padding: 2px 11px; border-left: 1px solid #444444; }
.hap-glavk-nav a:hover, .hap-glavk-nav a.active { color: #ffffff; text-decoration: underline; }
.hap-glavk-subcrumb { background: #eeeeee; border-bottom: 1px solid #d4d4d4; padding: 6px 0; }
.hap-glavk-split { display: grid; grid-template-columns: 1.12fr 1fr; gap: 16px; align-items: start; }
@media (max-width: 760px) { .hap-glavk-split { grid-template-columns: minmax(0, 1fr); } }


/* 17. AntiMafia.se 1:1 (#3a3d40 Top Motto + Pure Black Header + Full-Bleed Black Hero Band + White Cutout Rubric) */
.hap-hdr-amblack { background: #000000; color: #ffffff; border-bottom: 1px solid #222222; }
.hap-amb-top { background: #3a3d40; color: #cbd5e1; font-size: 0.74rem; padding: 5px 0; }
.hap-amb-topin { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.hap-amb-top a { color: #cbd5e1; text-decoration: none; }
.hap-amb-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.hap-amb-nav { display: flex; gap: 0.3rem 1.05rem; flex-wrap: wrap; border-left: 1px solid #333333; padding-left: 18px; }
.hap-amb-nav a { color: #ffffff; text-decoration: none; font-family: "Fira Sans Condensed", "Arial Narrow", sans-serif; font-size: 0.9rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; }
.hap-amb-nav a:hover, .hap-amb-nav a.active { color: #93c5fd; }
.hap-amb-heroband { background: #000000; color: #ffffff; margin: -18px -22px 22px; padding: 20px 22px 26px; }
.hap-amb-herogrid { display: grid; grid-template-columns: 2.15fr 1fr; gap: 22px; align-items: stretch; }
@media (max-width: 860px) { .hap-amb-herogrid { grid-template-columns: minmax(0, 1fr); } }
.hap-amb-lead { position: relative; display: block; min-height: 390px; overflow: hidden; color: #ffffff !important; text-decoration: none; background: #111; }
.hap-amb-lead img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.72; }
.hap-amb-leadshade { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px 24px 22px; background: linear-gradient(to bottom, rgba(0,0,0,0.08) 10%, rgba(0,0,0,0.92) 100%); }
.hap-amb-tag { align-self: flex-start; background: #2b4257; color: #ffffff; font-family: "Fira Sans Condensed", "Arial Narrow", sans-serif; font-size: 0.78rem; font-weight: 800; text-transform: uppercase; padding: 3px 11px; margin-bottom: auto; }
.hap-amb-leadshade h2 { color: #ffffff !important; font-family: "Fira Sans Condensed", "Arial Narrow", sans-serif; font-size: clamp(1.55rem, 2.6vw, 2.15rem); line-height: 1.08; margin: 0 0 10px; font-weight: 900; }
.hap-amb-leadshade p { margin: 0; font-size: 0.86rem; color: #d1d5db; line-height: 1.42; max-width: 680px; }
.hap-amb-stack { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; }
.hap-amb-sitem { color: #ffffff !important; text-decoration: none; font-size: 0.88rem; font-weight: 700; line-height: 1.32; padding-bottom: 11px; border-bottom: 1px solid #2b2b2b; }
.hap-amb-sitem:last-child { border-bottom: none; padding-bottom: 0; }
.hap-amb-sitem:hover { color: #93c5fd !important; }
.hap-amb-cutout { position: absolute; top: -6px; left: 50%; transform: translateX(-50%); z-index: 6; background: #ffffff; color: #243b53; font-family: "Fira Sans Condensed", "Arial Narrow", sans-serif; font-size: 1.65rem; font-weight: 900; text-transform: uppercase; padding: 2px 18px 6px; letter-spacing: 0.03em; }

/* 18. Repost.news 1:1 (Silver #e2e4e8 Header + 14px Rounded Cards with Top-Left White/Red Notch + Soft #f3f4f6 Rounded Wire) */
.hap-hdr-repost { background: #e2e4e8; border-bottom: 1px solid #cfd3da; padding: 11px 0; }
.hap-repost-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.hap-repost-nav { display: flex; gap: 0.25rem 1.2rem; flex-wrap: wrap; border-left: 1px solid #b8bec8; padding-left: 18px; }
.hap-repost-nav a { color: #18181b; text-decoration: none; font-size: 0.84rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; }
.hap-repost-nav a:hover, .hap-repost-nav a.active { color: #b91c1c; }
.hap-rp-tile { border-radius: 14px !important; border-bottom: 3px solid #b91c1c; }
.hap-rp-notch { position: absolute; top: 0; left: 0; z-index: 5; background: #ffffff; color: #b91c1c; font-family: "Fira Sans Condensed", "Arial Narrow", sans-serif; font-size: 1.15rem; font-weight: 900; text-transform: uppercase; padding: 4px 16px 6px 12px; border-radius: 0 0 12px 0; line-height: 1; }


/* 19. Novosti.cloud / NovostiUA 1:1 (Sky Gradient Banner + Silver Tab Bar + Ticker + Grey Popular Box) */
.hap-hdr-novosti { background: #ffffff; border-bottom: 1px solid #cccccc; }
.hap-nov-sky { background: linear-gradient(135deg, #164675 0%, #3474c9 62%, #7fb5eb 100%); padding: 14px 0; }
.hap-nov-tabbar { background: linear-gradient(to bottom, #f3f4f6 0%, #dfe2e6 100%); border-top: 1px solid #ffffff; border-bottom: 1px solid #c4c9d0; }
.hap-nov-tabin { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.hap-nov-tabs { display: flex; align-items: stretch; flex-wrap: wrap; }
.hap-nov-tabs a { color: #222222; text-decoration: none; font-family: "Fira Sans Condensed", "Arial Narrow", sans-serif; font-size: 1rem; font-weight: 700; padding: 9px 15px; border-right: 1px solid #c8cdd4; }
.hap-nov-tabs a.active { background: #ffffff; color: #111111; }
.hap-nov-ticker { background: #f8f8f4; border-bottom: 1px solid #e2e2dc; padding: 6px 0; }
.hap-nov-slider { display: grid; grid-template-columns: 1fr 185px; gap: 8px; }
@media (max-width: 720px) { .hap-nov-slider { grid-template-columns: minmax(0, 1fr); } }


/* 16. Vlasti.io / vlst.live 1:1 Royal Indigo (#313173 + 5px #4e509d) */

.hap-hdr-vlasti { background: #313173; color: #ffffff; border-bottom: 5px solid #4e509d; }
.hap-vlasti-bar { display: flex; align-items: stretch; justify-content: space-between; gap: 1rem; flex-wrap: wrap; min-height: 48px; }
.hap-vlasti-bar > a.hap-brand-link, .hap-vlasti-bar > div { align-self: center; }
.hap-vlasti-nav { display: flex; align-items: stretch; gap: 2px; flex-wrap: wrap; }
.hap-vlasti-nav a { display: inline-flex; align-items: center; color: #ffffff; text-decoration: none; font-family: "Fira Sans Condensed", "Arial Narrow", sans-serif; font-size: 0.92rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; padding: 0 11px; }
.hap-vlasti-nav a:hover, .hap-vlasti-nav a.active { background: #4e509d; color: #ffffff; }

/* Search Inputs */
.hap-search-pill { position: relative; display: inline-flex; align-items: center; background: #ffffff; border: 1px solid #94a3b8; border-radius: 20px; padding: 5px 11px; width: 205px; max-width: 100%; }
.hap-search-pill input { border: none; background: transparent; color: #111111; font-size: 0.82rem; width: 100%; outline: none; }
.hap-search-pill input::placeholder { color: #64748b; }
.hap-search-pill button { border: none; background: transparent; color: #111111; cursor: pointer; padding: 0 0 0 6px; display: inline-flex; }
.hap-inview-search { display: flex; border: 1px solid #990000; background: #eeeeee; margin-bottom: 14px; }
.hap-inview-search input { flex: 1; border: none; background: transparent; padding: 8px 12px; font-size: 0.88rem; outline: none; }
.hap-inview-search button { border: none; background: #990000; color: #fff; padding: 0 12px; cursor: pointer; display: inline-flex; align-items: center; }

/* === HOMEPAGE GRIDS === */
.hap-home-split { display: grid; grid-template-columns: 288px minmax(0, 1fr); gap: 22px; align-items: start; }
.hap-home-split-right { display: grid; grid-template-columns: minmax(0, 1fr) 305px; gap: 22px; align-items: start; }
@media (max-width: 960px) {
  .hap-home-split, .hap-home-split-right { grid-template-columns: minmax(0, 1fr); }
  .hap-grid-side { order: 2; }
}

.hap-block { margin-bottom: 20px; }
.hap-block-title { color: #ffffff; font-family: "Fira Sans Condensed", "Arial Narrow", sans-serif; font-weight: 800; font-size: 1.15rem; letter-spacing: 0.03em; text-transform: uppercase; background: var(--hap-acc); border-radius: 0px; margin-bottom: 10px; line-height: 1.18; padding: 6px 18px; }

/* Chronological Live Feed (.last_news) */
.hap-last-news { display: grid; gap: 0; }
.hap-ln-item { padding: 10px 0; border-bottom: 1px solid var(--hap-bdr); }
.hap-ln-item:last-child { border-bottom: none; }
.hap-kart-witem { border-bottom: 1px solid #b7cbda; padding: 11px 0; }
.hap-kart-wtime { display: block; margin-top: 5px; font-size: 0.73rem; color: #64748b; font-family: -apple-system, sans-serif; }
.hap-vlasti-witem { border-bottom: 1px solid #9ca3af; padding: 10px 0; }
.hap-vlasti-wtime { color: #4e509d; font-weight: 700; margin-right: 4px; font-size: 0.84rem; }
.hap-vchk-time { display: block; font-family: "IBM Plex Mono", monospace; font-size: 0.72rem; font-weight: 600; color: #be0017; margin-bottom: 3px; }
.hap-ln-date { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; font-size: 0.74rem; color: var(--hap-acc); font-family: -apple-system, sans-serif; margin-bottom: 5px; }
.hap-ln-thumb { display: block; margin-bottom: 6px; overflow: hidden; border-radius: 2px; background: #111; }
.hap-ln-thumb img { width: 100%; height: 146px; object-fit: cover; }
.hap-ln-link { display: block; color: #111827; text-decoration: none; font-size: 0.92rem; font-weight: 700; line-height: 1.36; }
.hap-ln-link:hover { color: var(--hap-acc); }

/* Vlasti (vlst.live 1:1) Homepage Cards & [B]OXED Heading */
.hap-vl-top3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hap-vl-mid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 820px) { .hap-vl-top3, .hap-vl-mid2 { grid-template-columns: minmax(0, 1fr); } }
.hap-vl-card { border: 1px solid #d1d5db; background: #ffffff; display: flex; flex-direction: column; }
.hap-vl-cimg { position: relative; display: block; overflow: hidden; background: #111; color: #fff; text-decoration: none; }
.hap-vl-cimg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.hap-vl-cimg:hover img { transform: scale(1.06); }
.hap-vl-cshade { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 24px 14px 12px; background: linear-gradient(to bottom, rgba(0,0,0,0.08) 15%, rgba(0,0,0,0.88) 100%); }
.hap-vl-cshade h3 { margin: 0; color: #ffffff !important; font-family: "Fira Sans Condensed", "Arial Narrow", sans-serif; font-size: 1.08rem; font-weight: 700; line-height: 1.16; }
.hap-vl-cbody { padding: 12px 14px 10px; display: flex; flex-direction: column; justify-content: space-between; flex: 1; gap: 10px; }
.hap-vl-cbody p { margin: 0; font-size: 0.84rem; color: #374151; line-height: 1.44; }
.hap-vl-cfoot { display: flex; align-items: center; justify-content: space-between; font-size: 0.74rem; color: #6b7280; padding-top: 4px; }
.hap-vl-catpill { border: 1px solid #4e509d; color: #3e4082 !important; text-decoration: none; font-family: "Fira Sans Condensed", "Arial Narrow", sans-serif; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; padding: 1px 8px; border-radius: 2px; }
.hap-vl-sec-hdr { display: flex; align-items: center; gap: 2px; font-family: "Fira Sans Condensed", "Arial Narrow", sans-serif; font-size: 1.45rem; font-weight: 800; color: #3e4082; text-transform: uppercase; margin-bottom: 12px; }
.hap-vl-boxchar { display: inline-flex; align-items: center; justify-content: center; background: #4e509d; color: #ffffff; padding: 1px 7px; margin-right: 1px; border-radius: 2px; line-height: 1.1; }

/* New Homepage Showcases (Kartoteka, Faircroft, RuCriminal, Versia, Harrison) */
.hap-kart-gridtop { display: grid; grid-template-columns: 1.85fr 1fr; gap: 12px; }
@media (max-width: 760px) { .hap-kart-gridtop { grid-template-columns: minmax(0, 1fr); } }
.hap-kart-rubbadge { position: absolute; top: 14px; left: 14px; z-index: 4; background: rgba(35,38,41,0.82); color: #fff; padding: 5px 12px; font-family: "Fira Sans Condensed", "Arial Narrow", sans-serif; font-size: 1.35rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.hap-kart-leadsub { margin: 8px 0 0; font-size: 0.88rem; color: #334155; line-height: 1.45; }

.hap-fc-home { max-width: 860px; margin: 0 auto; }
.hap-fc-lead { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: center; padding: 18px 0 28px; border-bottom: 2px solid #dcd9d0; margin-bottom: 22px; }
@media (max-width: 760px) { .hap-fc-lead { grid-template-columns: minmax(0, 1fr); } }
.hap-fc-lead h2 { margin: 8px 0 10px; font-size: 1.9rem; line-height: 1.16; }
.hap-fc-lead h2 a { color: #141414; text-decoration: none; }
.hap-fc-lead h2 a:hover { color: #9a3412; }
.hap-fc-lead-img img { width: 100%; height: 270px; object-fit: cover; border: 1px solid #dcd9d0; }
.hap-fc-list { display: grid; gap: 0; }
.hap-fc-row { display: grid; grid-template-columns: 155px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-bottom: 1px solid #dcd9d0; align-items: baseline; }
@media (max-width: 640px) { .hap-fc-row { grid-template-columns: minmax(0, 1fr); gap: 6px; } }
.hap-fc-row-meta { font-family: "Inter", sans-serif; font-size: 0.78rem; color: #5c5c5c; }
.hap-fc-row-meta span { color: #9a3412; font-weight: 600; text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.05em; }
.hap-fc-row-body h3 { margin: 0 0 6px; font-size: 1.32rem; line-height: 1.24; }
.hap-fc-row-body h3 a { color: #141414; text-decoration: none; }
.hap-fc-row-body h3 a:hover { color: #9a3412; }
.hap-fc-row-body p { margin: 0; font-size: 0.96rem; color: #44403c; }

.hap-vchk-grid, .hap-har-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 780px) { .hap-vchk-grid, .hap-har-cards { grid-template-columns: minmax(0, 1fr); } }
.hap-vchk-card, .hap-har-card { border: 1px solid var(--hap-bdr); background: var(--hap-surf); display: flex; flex-direction: column; }
.hap-vchk-card img, .hap-har-card img { width: 100%; height: 175px; object-fit: cover; }
.hap-vchk-pad, .hap-har-cbody { padding: 12px 14px; }
.hap-vchk-pad h3, .hap-har-cbody h3 { margin: 4px 0 6px; font-size: 1.06rem; line-height: 1.26; }
.hap-vchk-pad h3 a, .hap-har-cbody h3 a { color: var(--hap-ink); text-decoration: none; }
.hap-vchk-pad p, .hap-har-cbody p { margin: 0; font-size: 0.85rem; color: var(--hap-muted); line-height: 1.45; }

.hap-versia-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; background: #f5f1e8; border: 1px solid #d8d2c5; border-top: 3px solid #e77607; padding: 12px 14px; }
@media (max-width: 760px) { .hap-versia-strip { grid-template-columns: minmax(0, 1fr); } }
.hap-versia-colitem { text-decoration: none; color: #181818; border-right: 1px solid #d8d2c5; padding-right: 10px; display: block; }
.hap-versia-colitem:last-child { border-right: none; }
.hap-versia-author { display: block; font-size: 0.74rem; font-weight: 700; text-transform: uppercase; color: #d95b00; font-family: -apple-system, sans-serif; margin-bottom: 3px; }
.hap-versia-colitem strong { font-size: 0.94rem; line-height: 1.28; display: block; }

/* Classic Mosaics */
.hap-nw-mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; margin-bottom: 20px; background: #000; padding: 2px; }
.hap-nw-wide { grid-column: span 2; }
@media (max-width: 720px) { .hap-nw-mosaic { grid-template-columns: minmax(0, 1fr); } .hap-nw-wide { grid-column: span 1; } }
.hap-nw-tile { position: relative; display: block; height: 262px; overflow: hidden; color: #ffffff; text-decoration: none; background: #111; }
.hap-drock-tile { border-radius: 8px; height: 265px; }
.hap-nw-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.hap-nw-tile:hover img { transform: scale(1.07); }
.hap-nw-cat { position: absolute; top: 0; left: 0; z-index: 4; background: var(--hap-acc); color: #ffffff; padding: 3px 9px; font-family: "Fira Sans Condensed", "Arial Narrow", sans-serif; font-size: 0.78rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.03em; }
.hap-dregory { position: absolute; top: 10px; left: 10px; z-index: 4; background: #dd0000; color: #ffffff; padding: 3px 10px; border-radius: 10px; font-family: "Fira Sans Condensed", "Arial Narrow", sans-serif; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; }
.hap-nw-shade { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: flex-end; padding: 34px 15px 14px; background: linear-gradient(to bottom, rgba(0,0,0,0.04) 15%, rgba(0,0,0,0.89) 100%); }
.hap-nw-shade h1, .hap-nw-shade h3 { color: #ffffff !important; font-family: "Fira Sans Condensed", "Arial Narrow", sans-serif; margin: 0; font-weight: 700; line-height: 1.12; text-shadow: 1px 2px 6px rgba(0,0,0,0.88); }
.hap-tile-h1 { font-size: clamp(1.32rem, 2.1vw, 1.68rem); }
.hap-nw-shade h3 { font-size: 1.12rem; }

.hap-roz-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
@media (max-width: 760px) { .hap-roz-grid3 { grid-template-columns: minmax(0, 1fr); } }
.hap-roz-card { position: relative; display: block; height: 340px; overflow: hidden; background: #0b2540; color: #ffffff; text-decoration: none; border-radius: 4px; }
.hap-roz-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hap-roz-overlay { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: flex-end; padding: 36px 15px 15px; background: linear-gradient(to bottom, rgba(0,20,45,0.05) 16%, rgba(0,15,38,0.93) 100%); }
.hap-roz-date { font-size: 0.72rem; color: #93c5fd; font-weight: 700; margin-bottom: 5px; font-family: -apple-system, sans-serif; }
.hap-roz-overlay h1, .hap-roz-overlay h3 { color: #ffffff !important; font-family: "Fira Sans Condensed", "Arial Narrow", sans-serif; font-size: 1.15rem; line-height: 1.15; margin: 0; }

.hap-drama-grid4 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 680px) { .hap-drama-grid4 { grid-template-columns: minmax(0, 1fr); } }
.hap-baltic-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
@media (max-width: 860px) { .hap-baltic-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hap-rumafia-split { display: grid; grid-template-columns: 1.65fr 1fr; gap: 4px; }
@media (max-width: 760px) { .hap-rumafia-split { grid-template-columns: minmax(0, 1fr); } }

/* Horizontal Stream */
.hap-news-list-all { display: grid; gap: 15px; }
.hap-news-all { display: grid; grid-template-columns: 215px minmax(0, 1fr); gap: 16px; padding-bottom: 15px; border-bottom: 1px solid var(--hap-bdr); align-items: start; }
@media (max-width: 640px) { .hap-news-all { grid-template-columns: minmax(0, 1fr); } }
.hap-na-thumb { position: relative; display: block; width: 100%; height: 152px; overflow: hidden; background: #111; border-radius: 2px; }
.hap-na-thumb img { width: 100%; height: 152px; object-fit: cover; }
.hap-na-top { font-size: 0.76rem; color: #64748b; margin-bottom: 5px; display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; font-family: -apple-system, sans-serif; }
.hap-na-title { margin: 0 0 6px; font-size: 1.28rem; line-height: 1.16; font-family: "Fira Sans Condensed", "Arial Narrow", sans-serif; font-weight: 700; }
.hap-na-title a { color: var(--hap-ink); text-decoration: none; }
.hap-na-title a:hover { color: var(--hap-acc); }
.hap-na-descr { margin: 0; font-size: 0.92rem; color: var(--hap-muted); line-height: 1.48; }

/* === 6 DISTINCT INNER-ARTICLE PAGE ARCHITECTURES === */
.hap-pagewrap { max-width: 860px; width: 100%; margin: 1.2rem auto; }
.hap-artwrap-right { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 26px; width: 100%; align-items: start; }
.hap-artwrap-left { display: grid; grid-template-columns: 305px minmax(0, 1fr); gap: 26px; width: 100%; align-items: start; }
.hap-artwrap-3col { display: grid; grid-template-columns: 215px minmax(0, 1fr) 280px; gap: 22px; width: 100%; align-items: start; }
.hap-artwrap-case { display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 30px; width: 100%; align-items: start; }
.hap-artwrap-center { max-width: 780px; width: 100%; margin: 0.5rem auto 1.5rem; }
.hap-artwrap-right .hap-grid-side, .hap-artwrap-left .hap-grid-side, .hap-artwrap-3col .hap-grid-side, .hap-art-lefttoc { position: sticky; top: 18px; }
@media (max-width: 1080px) {
  .hap-artwrap-3col { grid-template-columns: minmax(0, 1fr) 285px; }
  .hap-artwrap-3col .hap-art-lefttoc { display: none; }
}
@media (max-width: 980px) {
  .hap-artwrap-left, .hap-artwrap-right, .hap-artwrap-3col, .hap-artwrap-case { grid-template-columns: minmax(0, 1fr); }
  .hap-artwrap-right .hap-grid-side, .hap-artwrap-left .hap-grid-side, .hap-art-lefttoc { position: static; }
}

/* Variant 4: Full-Bleed Dark Hero Banner above split prose (Versia, Drama Noir, HabMedia) */
.hap-fullhero { position: relative; border-radius: 3px; overflow: hidden; margin-bottom: 24px; min-height: 360px; background: #0f172a; display: flex; align-items: flex-end; }
.hap-fullhero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.52; }
.hap-fullhero-in { position: relative; z-index: 3; width: 100%; padding: 42px 30px 26px; background: linear-gradient(to bottom, rgba(0,0,0,0.12) 0%, rgba(9,11,15,0.94) 100%); color: #ffffff; }
.hap-fullhero-in h1 { color: #ffffff !important; font-size: clamp(1.85rem, 3.2vw, 2.55rem); line-height: 1.08; margin: 8px 0 12px; max-width: 920px; }
.hap-fullhero-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 0.82rem; color: #cbd5e1; font-family: -apple-system, sans-serif; }

.hap-prose { width: 100%; min-width: 0; position: relative;  }
.hap-prose h1 { font-size: clamp(1.88rem, 3.2vw, 2.48rem); line-height: 1.08; margin: 0.2rem 0 0.85rem; letter-spacing: -0.015em; color: var(--hap-ink);  }
.hap-prose h2 { margin-top: 1.95rem; font-size: 1.48rem; line-height: 1.22; padding-bottom: 0.28rem; border-bottom: 2px solid var(--hap-bdr); }
.hap-prose h3 { margin: 1.25rem 0 0.4rem; font-size: 1.16rem; line-height: 1.3; }
.hap-prose p { margin: 0 0 1.08rem; }


.hap-entry-info { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.6rem; padding: 6px 12px; background: #f1f5f9; color: #334155; font-size: 0.82rem; font-weight: 700; margin-bottom: 0.95rem; font-family: -apple-system, sans-serif; border-left: 4px solid var(--hap-acc);  }
.hap-meta-tools { display: inline-flex; align-items: center; gap: 0.75rem; }
.hap-print-btn { border: 1px solid #94a3b8; background: #fff; color: #111; font-size: 0.72rem; font-weight: 700; padding: 2px 8px; border-radius: 2px; text-decoration: none; text-transform: uppercase; }

.hap-share-row { display: flex; gap: 6px; margin: 0 0 1rem; flex-wrap: wrap; }
.hap-share-btn { display: inline-flex; align-items: center; justify-content: center; padding: 4px 11px; font-size: 0.72rem; font-weight: 700; color: #fff !important; text-decoration: none; border-radius: 2px; font-family: -apple-system, sans-serif; letter-spacing: 0.03em; }

/* Hero & Inline Figures (including Kartoteka's 8px #8eaac1 frame & Vlasti's 4px #dcdcdc frame!) */
.hap-hero-fig, .hap-inline-fig { margin: 0 0 1.25rem; background: #111; position: relative; overflow: hidden; border-radius: 2px;  }
.hap-hero-fig img, .hap-inline-fig img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.hap-news-one-top { position: absolute; top: 0; left: 0; right: 0; z-index: 4; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; padding: 6px 14px; background: rgba(0,0,0,0.62); color: #ffffff; font-size: 0.8rem; font-family: -apple-system, sans-serif; }
.hap-hero-fig figcaption { padding: 6px 12px; font-size: 0.78rem; color: #f1f5f9; background: #1e293b; font-family: -apple-system, sans-serif; }
.hap-inline-fig figcaption { padding: 6px 12px; font-size: 0.78rem; color: #f1f5f9; background: #1e293b; font-family: -apple-system, sans-serif; }

/* Vlasti (vlst.live 1:1) Full-Width Indigo H1 + Vertical Left Share Tiles + Circular Author Meta Row */
.hap-vl-fullh1 { font-family: "Fira Sans Condensed", "Arial Narrow", sans-serif; font-size: clamp(2rem, 3.4vw, 2.65rem); font-weight: 800; line-height: 1.06; color: #47498c !important; margin: 6px 0 18px; max-width: 980px; }
.hap-vl-artgrid { display: grid; grid-template-columns: 36px minmax(0, 1fr) 305px; gap: 22px; align-items: start; }
@media (max-width: 980px) { .hap-vl-artgrid { grid-template-columns: minmax(0, 1fr); } .hap-vl-vshare { display: flex !important; flex-direction: row !important; position: static !important; } }
.hap-vl-vshare { display: flex; flex-direction: column; gap: 5px; position: sticky; top: 20px; }
.hap-vl-sbtn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; color: #ffffff !important; font-family: -apple-system, sans-serif; font-size: 0.78rem; font-weight: 800; text-decoration: none; border-radius: 2px; }
.hap-vl-ameta { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.hap-vl-ameta-left { display: flex; align-items: center; gap: 11px; }
.hap-vl-ameta-left img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.hap-vl-abadge { background: #4e509d; color: #ffffff !important; text-decoration: none; font-family: "Fira Sans Condensed", "Arial Narrow", sans-serif; font-size: 0.74rem; font-weight: 700; text-transform: uppercase; padding: 3px 10px; border-radius: 2px; letter-spacing: 0.04em; }

.hap-deck { font-size: 1.08rem; line-height: 1.56; color: var(--hap-ink); font-weight: 700;  margin: 0 0 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--hap-bdr); }
.hap-toc { background: var(--hap-alt); border: 1px solid var(--hap-bdr); padding: 0.95rem 1.1rem; margin-bottom: 1.15rem; border-radius: 2px; }
.hap-toc-inline { background: var(--hap-alt); border-top: 2px solid var(--hap-acc); border-bottom: 1px solid var(--hap-bdr); padding: 0.9rem 1.15rem; margin: 0 0 1.5rem; }
.hap-toc-inline ul { list-style: none; padding: 0; margin: 0.5rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.4rem 1.2rem; font-size: 0.86rem; font-family: -apple-system, sans-serif; }
@media (max-width: 640px) { .hap-toc-inline ul { grid-template-columns: minmax(0, 1fr); } }
.hap-toc h3, .hap-toc-inline strong { margin: 0 0 0.5rem; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--hap-acc); display: block; font-family: -apple-system, sans-serif; }
.hap-toc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.38rem; font-size: 0.84rem; }
.hap-toc a, .hap-toc-inline a { color: var(--hap-ink); text-decoration: none; font-weight: 600; }
.hap-toc a:hover, .hap-toc-inline a:hover { color: var(--hap-acc); }

.hap-crumb { font-size: 0.76rem; color: var(--hap-muted); margin-bottom: 0.35rem; font-family: -apple-system, sans-serif; text-transform: uppercase; }
.hap-crumb a { color: var(--hap-acc); text-decoration: none; font-weight: 700; }
.hap-kicker { display: inline-block; color: var(--hap-acc); font-weight: 800; text-transform: uppercase; font-size: 0.74rem; letter-spacing: 0.07em; font-family: -apple-system, sans-serif; }
.hap-note { background: var(--hap-alt); border-left: 4px solid var(--hap-acc); padding: 0.85rem 1.1rem; margin: 1.25rem 0; font-size: 0.92rem; }
.hap-box { background: var(--hap-alt); border: 1px solid var(--hap-bdr); padding: 1rem 1.15rem; border-radius: 4px; }

/* Pros / Cons */
.hap-pcgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 1.5rem 0; }
@media (max-width: 680px) { .hap-pcgrid { grid-template-columns: minmax(0, 1fr); } }
.hap-pros, .hap-cons { background: var(--hap-alt); border: 1px solid var(--hap-bdr); padding: 1rem 1.1rem; }
.hap-pros { border-top: 3px solid #15803d; }
.hap-cons { border-top: 3px solid #dc2626; }
.hap-pros h3, .hap-cons h3 { margin: 0 0 0.55rem; font-size: 0.98rem; text-transform: uppercase; letter-spacing: 0.03em; }
.hap-pros ul, .hap-cons ul { margin: 0; padding-left: 1.15rem; display: grid; gap: 0.38rem; font-size: 0.9rem; }

/* Striped Data Table */
.hap-tblw { overflow-x: auto; margin: 1.5rem 0; width: 100%; }
table.hap-mytable, table { width: 100%; border-collapse: collapse; border: 1px solid var(--hap-bdr); font-size: 0.88rem; background: var(--hap-surf); }
caption { text-align: left; font-weight: 700; margin-bottom: 0.45rem; font-size: 1rem; }
th, td { padding: 8px 10px; border: 1px solid var(--hap-bdr); text-align: left; }
th { background: var(--hap-acc); color: #ffffff; font-weight: 700; font-family: -apple-system, sans-serif; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; }
tr:nth-child(even) td { background: var(--hap-alt); }

/* Correspondent Bio Cards */
.hap-author-bio { display: flex; gap: 1rem; align-items: center; background: var(--hap-alt); border-left: 4px solid var(--hap-acc); border-top: 1px solid var(--hap-bdr); border-bottom: 1px solid var(--hap-bdr); padding: 1rem 1.15rem; margin-top: 1.8rem; border-radius: 2px; }
.hap-avatar-wrap { position: relative; flex-shrink: 0; }
.hap-avatar-img { width: 68px; height: 68px; border-radius: 4px; object-fit: cover; display: block; }
.hap-sl-num { position: absolute; bottom: -6px; right: -6px; width: 22px; height: 22px; background: var(--hap-acc); color: #fff; font-size: 0.65rem; font-weight: 800; border-radius: 2px; display: flex; align-items: center; justify-content: center; font-family: -apple-system, sans-serif; }

.hap-tag-rows { margin-top: 1.1rem; display: grid; gap: 0.45rem; font-family: -apple-system, sans-serif; font-size: 0.8rem; }
.hap-tag-line { display: flex; align-items: center; flex-wrap: wrap; gap: 0.35rem; }
.hap-tag-lbl { font-weight: 700; color: var(--hap-muted); }
.hap-tag-pill { display: inline-block; padding: 3px 10px; background: #e2e8f0; color: #0f172a;  text-decoration: none; font-size: 0.74rem; font-weight: 700; text-transform: uppercase; }
.hap-tag-pill:hover { background: var(--hap-acc); color: #fff; }

/* Related Investigations Grid (Clean text cards on Faircroft/Harrison vs Photo Overlay on Kompromat skins) */
.hap-similar-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 1rem; }
@media (max-width: 640px) { .hap-similar-grid { grid-template-columns: minmax(0, 1fr); } }
.hap-sim-card { position: relative; display: block; height: 192px; overflow: hidden; background: #111; color: #fff !important; text-decoration: none; border-radius: 2px; }
.hap-sim-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hap-sim-card span { position: absolute; z-index: 3; bottom: 12px; left: 14px; right: 14px; font-family: "Fira Sans Condensed", "Arial Narrow", sans-serif; font-size: 1.12rem; font-weight: 700; line-height: 1.16; color: #fff; text-shadow: 1px 2px 6px rgba(0,0,0,0.9); }
.hap-sim-card::after { content: ''; position: absolute; inset: 0; z-index: 2; background: linear-gradient(to bottom, transparent 20%, rgba(0,0,0,0.88) 100%); }

.hap-faq details { background: var(--hap-surf); border: 1px solid var(--hap-bdr); padding: 0.8rem 1rem; margin-bottom: 0.5rem; }
.hap-faq summary { font-weight: 700; cursor: pointer; }
.hap-faq p { margin: 0.5rem 0 0; color: var(--hap-muted); font-size: 0.92rem; }
.hap-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 680px) { .hap-grid-2 { grid-template-columns: minmax(0, 1fr); } }
.hap-photo-card { border: 1px solid var(--hap-bdr); background: var(--hap-surf); text-decoration: none; color: inherit; display: block; }

/* Footers */
.hap-ftr-portal { background: #262626; color: #ffffff; border-top: 5px solid #666666; padding: 26px 0 38px; margin-top: auto; }
.hap-ftr-sledst .hap-ftr-pillnav { background: #ffffff; border-radius: 20px; padding: 6px 18px; }
.hap-ftr-sledst .hap-ftr-pillnav a { color: #000000; font-size: 1rem; }
.hap-ftr-crimson { background: #880000; border-top: 4px solid #ff6666; }
.hap-ftr-noir { background: #000000; border-top: 1px dotted #666666; }
.hap-ftr-kart { background: #222528; border-top: 4px solid #1d4f7a; }

/* Clean 3-Column Institutional Navy Footer (ThinkCloud / Harrison Advisory) */
.hap-ftr-harrison { background: #14243e; color: #f8fafc; border-top: 4px solid #1b6cb0; margin-top: auto; }
.hap-har-fgrid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem; padding: 34px 18px 28px; align-items: start; }
@media (max-width: 760px) { .hap-har-fgrid { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; } }
.hap-har-fcol { display: flex; flex-direction: column; gap: 7px; font-family: "Public Sans", -apple-system, sans-serif; font-size: 0.84rem; }
.hap-har-fcol strong { color: #93c5fd; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; }
.hap-har-fcol a { color: #e2e8f0; text-decoration: none; }
.hap-har-fcol a:hover { color: #ffffff; text-decoration: underline; }
.hap-har-fcopy { background: #0e1a2e; border-top: 1px solid #233858; padding: 12px 0; font-size: 0.78rem; color: #94a3b8; font-family: "Public Sans", -apple-system, sans-serif; }

/* 1:1 vlst.live / Власти.инфо Royal Indigo Footer (#313173 + 2 vertical left-bordered columns + ^ top button) */
.hap-ftr-vlasti { background: #313173; color: #ffffff; padding: 36px 0 44px; margin-top: auto; position: relative; }
.hap-vlasti-fgrid { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; flex-wrap: wrap; position: relative; padding-right: 64px; }
.hap-vlasti-fcols { display: flex; gap: 48px; flex-wrap: wrap; }
.hap-vlasti-fcol { display: flex; flex-direction: column; gap: 6px; border-left: 1px solid #5759a6; padding-left: 16px; font-size: 0.86rem; }
.hap-vlasti-fcol a { color: #d6d7f2; text-decoration: none; }
.hap-vlasti-fcol a:hover { color: #ffffff; text-decoration: underline; }
.hap-vlasti-fbrand { min-width: 240px; }
.hap-vlasti-up { position: absolute; right: 18px; bottom: 0; width: 42px; height: 42px; border-radius: 50%; background: #52549e; color: #ffffff !important; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-size: 1.15rem; font-weight: 800; }
.hap-vlasti-up:hover { background: #6668b8; }

.hap-ftr-roz { background: #0066aa; color: #ffffff; margin-top: auto; }
.hap-ftr-rozbar { background: #005588; border-bottom: 1px solid rgba(255,255,255,0.45); padding: 7px 0; text-align: center; }
.hap-ftr-rozbar a { display: inline-block; color: #ffffff; text-decoration: none; font-family: "Fira Sans Condensed", "Arial Narrow", sans-serif; font-size: 0.92rem; text-transform: uppercase; padding: 0 12px; border-left: 1px dotted rgba(255,255,255,0.65); }
.hap-ftr-rozbar a:first-child { border-left: none; }
.hap-frow { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.hap-ftr-pillnav { display: flex; flex-wrap: wrap; gap: 0.35rem 1.05rem; padding: 4px 0; }
.hap-ftr-pillnav a { color: #e5e7eb; text-decoration: none; font-family: "Fira Sans Condensed", "Arial Narrow", sans-serif; font-size: 0.9rem; font-weight: 700; text-transform: uppercase; }
.hap-ftr-pillnav a:hover { color: #ffffff; text-decoration: underline; }

@media print {
  header, footer, .hap-grid-side, .hap-art-lefttoc, .hap-share-row, .hap-similar-grid, .hap-print-btn { display: none !important; }
  .hap-artwrap-left, .hap-artwrap-right, .hap-artwrap-3col, .hap-artwrap-case { display: block !important; }
}