/* ============================================================
   DeclaratiiPolitice.ro — design editorial 2026
   Ziar serios pe desktop, aplicație nativă pe mobil.
   ============================================================ */

:root {
  --ink: #15161c;
  --ink-2: #3c3e48;
  --ink-3: #71737f;
  --paper: #ffffff;
  --paper-2: #f6f5f1;
  --line: #e6e4dd;
  --accent: #b01e28;
  --accent-dark: #8d1620;
  --accent-ink: #12131a;
  --gold: #b98a2f;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(21, 22, 28, .06), 0 8px 24px rgba(21, 22, 28, .07);
  --shadow-lg: 0 2px 6px rgba(21, 22, 28, .08), 0 18px 48px rgba(21, 22, 28, .14);
  --bottom-nav-h: 62px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper-2);
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------------- Header */
.site-header {
  background: var(--paper);
  border-bottom: 3px solid var(--accent-ink);
  position: sticky;
  top: 0;
  z-index: 60;
  box-shadow: 0 1px 0 var(--line);
}
.topbar {
  background: var(--accent-ink);
  color: #c9cad4;
  font-size: 12px;
  letter-spacing: .04em;
}
.topbar-in { display: flex; justify-content: space-between; padding-top: 6px; padding-bottom: 6px; }
.topbar-date::first-letter { text-transform: uppercase; }
.topbar-slogan { color: #8f919f; }

.masthead {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  padding-top: 14px;
  padding-bottom: 12px;
}
.logo {
  justify-self: center;
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(26px, 5vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}
.logo-declaratii { color: var(--ink); }
.logo-politice { color: var(--accent); }
.logo-ro { color: var(--ink-3); font-size: .55em; font-weight: 600; vertical-align: super; }

.search-btn, .nav-burger {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  color: var(--ink-2);
  background: transparent;
  border: none;
  transition: background .15s;
}
.search-btn:hover, .nav-burger:hover { background: var(--paper-2); }
.nav-burger { flex-direction: column; gap: 4px; }
.nav-burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }

.mainnav { border-top: 1px solid var(--line); background: var(--paper); }
.mainnav-in {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 4px;
  /* fără overflow ascuns: ar tăia dropdown-ul „Politicieni importanți” */
  overflow: visible;
}
.mainnav a {
  padding: 10px 13px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink-2);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: color .15s, border-color .15s;
}
.mainnav a:hover { color: var(--accent); }
.mainnav a.active { color: var(--accent); border-bottom-color: var(--accent); }

/* dropdown politicieni importanți */
.nav-drop { position: relative; display: flex; }
.nav-drop-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 13px;
  font-size: 13.5px; font-weight: 600; letter-spacing: .02em;
  font-family: inherit;
  line-height: inherit;
  color: var(--ink-2);
  background: none;
  border: none;
  /* aliniere identică cu linkurile din meniu (au border-bottom 3px + margin -1px) */
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  white-space: nowrap;
  transition: color .15s;
}
.nav-drop-btn:hover, .nav-drop.open .nav-drop-btn { color: var(--accent); }
.nav-drop-menu {
  position: absolute; top: 100%; left: 0; z-index: 70;
  min-width: 230px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 0 0 12px 12px;
  box-shadow: var(--shadow-lg);
  padding: 6px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.nav-drop.open .nav-drop-menu,
.nav-drop:hover .nav-drop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drop-menu a {
  display: block;
  padding: 9px 12px !important;
  border-radius: 8px;
  border-bottom: none !important;
  margin-bottom: 0 !important;
  font-size: 14px;
}
.nav-drop-menu a:hover { background: var(--paper-2); color: var(--accent); }
.nav-drop-all { color: var(--accent); font-weight: 700; border-top: 1px solid var(--line); border-radius: 0 !important; }

/* pop-up căutare */
.search-modal { position: fixed; inset: 0; z-index: 120; display: none; }
.search-modal.open { display: block; }
.search-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(18, 19, 26, .6);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.search-modal-card {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: min(620px, calc(100vw - 32px));
  background: var(--paper);
  border-radius: 18px;
  box-shadow: 0 30px 90px rgba(0,0,0,.45);
  padding: 22px;
  animation: searchPop .18s ease-out;
}
@keyframes searchPop { from { opacity: 0; transform: translate(-50%, -46%) scale(.96); } }
.search-modal-form { display: flex; align-items: center; gap: 10px; color: var(--ink-3); }
.search-modal-form input {
  flex: 1;
  border: none;
  font-size: 18px;
  font-family: var(--sans);
  color: var(--ink);
  background: transparent;
  min-width: 0;
}
.search-modal-form input:focus { outline: none; }
.search-modal-go {
  padding: 10px 20px;
  border: none; border-radius: 999px;
  background: var(--accent); color: #fff;
  font-weight: 700; font-size: 14px;
}
.search-modal-go:hover { background: var(--accent-dark); }
.search-modal-close {
  width: 36px; height: 36px; flex-shrink: 0;
  border: none; border-radius: 50%;
  background: var(--paper-2); color: var(--ink-2);
  font-weight: 700;
}
.search-modal-close:hover { background: var(--line); }
.search-modal-hint { margin-top: 12px; font-size: 12.5px; color: var(--ink-3); }

/* ---------------- Sertar meniu (burger) */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 98;
  background: rgba(18, 19, 26, .5);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none;
  transition: opacity .22s;
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 99;
  width: min(330px, 86vw);
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  transform: translateX(-102%);
  transition: transform .26s cubic-bezier(.32, .72, .28, 1);
  display: flex; flex-direction: column;
  overflow-y: auto;
  padding-bottom: env(safe-area-inset-bottom);
}
.drawer.open { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px 14px;
  border-bottom: 3px solid var(--accent-ink);
}
.drawer-logo { font-size: 21px; }
.drawer-close {
  width: 38px; height: 38px;
  border: none; background: var(--paper-2);
  border-radius: 50%;
  font-size: 15px; font-weight: 700; color: var(--ink-2);
  transition: background .15s;
}
.drawer-close:hover { background: var(--line); }
.drawer-nav { display: flex; flex-direction: column; padding: 10px 8px 24px; }
.drawer-nav a {
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 600; font-size: 15px;
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
  transition: background .12s, color .12s;
}
.drawer-nav a:hover, .drawer-nav a:active { background: var(--paper-2); color: var(--accent); }
.drawer-sep {
  padding: 16px 14px 6px;
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--ink-3);
}
.nav-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------------- Stories (politicieni, stil aplicație) */
.stories { background: var(--paper); border-bottom: 1px solid var(--line); }
.stories-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-top: 14px;
  padding-bottom: 12px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.stories-track::-webkit-scrollbar { display: none; }
.story { flex: 0 0 auto; text-align: center; width: 68px; }
.story-ring {
  display: block;
  width: 62px; height: 62px;
  margin: 0 auto 6px;
  border-radius: 50%;
  padding: 3px;
  background: var(--line);
}
.story-hot { background: linear-gradient(135deg, var(--accent), var(--gold)); }
.story-ring img, .story-initials {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--paper);
}
.story-initials {
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-ink);
  color: #fff;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
}
.story-initials.big { font-size: 44px; border: none; }
.story-name {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-2);
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.story:active .story-ring { transform: scale(.94); }

/* ---------------- Hero */
.hero-grid {
  display: grid;
  grid-template-columns: 1.9fr 1fr;
  gap: 28px;
  padding: 26px 0 8px;
}
.hero-main { display: flex; flex-direction: column; }
.hero-media {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--accent-ink);
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.hero-main:hover .hero-media img { transform: scale(1.025); }
.hero-body { padding: 16px 4px 0; }
.hero-title {
  font-family: var(--serif);
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 8px 0 10px;
}
.hero-title a:hover { color: var(--accent-dark); }
.hero-excerpt { color: var(--ink-2); font-size: 16.5px; margin-bottom: 10px; }
.hero-side { display: flex; flex-direction: column; gap: 16px; }
.hero-side .card { flex-direction: row; align-items: stretch; }
.hero-side .card-media { flex: 0 0 128px; aspect-ratio: 4 / 3; border-radius: 10px; }
.hero-side .card-title { font-size: 16px; }

/* ---------------- Carduri */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 22px;
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .18s, box-shadow .18s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--accent-ink);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255, 255, 255, .25);
  font-family: var(--serif);
  font-size: 56px;
}
.card-media-ph.big { font-size: 120px; aspect-ratio: 16/9; }
.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-kicker {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--accent);
}
.card-kicker:hover { color: var(--accent-dark); }
.card-title {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.card-title a:hover { color: var(--accent-dark); }
.card-excerpt { color: var(--ink-2); font-size: 14.5px; }
.card-time { color: var(--ink-3); font-size: 12.5px; margin-top: auto; }

/* ---------------- Secțiuni */
.section { padding: 30px 0 6px; }
.section-title {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.section-title::before { content: ""; width: 26px; height: 3px; background: var(--accent); }
.section-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.more-link { margin: 22px 0 8px; text-align: center; }
.btn-outline {
  display: inline-block;
  padding: 10px 22px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  transition: .15s;
}
.btn-outline:hover { background: var(--ink); color: #fff; }

/* ---------------- Cei mai importanți */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}
.feat-card {
  background: var(--paper);
  border-radius: var(--radius);
  border-top: 3px solid var(--accent);
  box-shadow: var(--shadow);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feat-head { display: flex; align-items: center; gap: 12px; }
.feat-avatar { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%; overflow: hidden; background: var(--accent-ink); }
.feat-avatar img, .feat-avatar .story-initials { width: 100%; height: 100%; object-fit: cover; border: none; font-size: 19px; }
.feat-name { display: block; font-size: 15px; }
.feat-role { color: var(--ink-3); font-size: 12px; display: block; }
.feat-title { font-family: var(--serif); font-size: 17.5px; line-height: 1.3; font-weight: 700; }
.feat-title a:hover { color: var(--accent-dark); }

/* ---------------- Articol */
.article-wrap { max-width: 780px; }
.article { padding: 26px 0 10px; }
.breadcrumbs { font-size: 13px; color: var(--ink-3); margin-bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumbs a:hover { color: var(--accent); }
.article-title {
  font-family: var(--serif);
  font-size: clamp(27px, 4.5vw, 42px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.article-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  font-size: 14px; color: var(--ink-3);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
.meta-author { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }
.meta-author img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.meta-author:hover strong { color: var(--accent); }
.meta-updated { font-size: 13px; }
.article-hero { margin: 0 0 22px; }
.article-hero img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.article-hero figcaption, .article-figure figcaption {
  font-size: 12.5px; color: var(--ink-3); margin-top: 8px;
}
.article-figure { margin: 26px 0; }
.article-figure img { border-radius: var(--radius); }
.article-content {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.72;
  color: #1d1e26;
}
.article-content p { margin-bottom: 20px; }
.article-content p:first-of-type::first-letter {
  font-size: 3.1em;
  font-weight: 800;
  float: left;
  line-height: .85;
  padding: 4px 10px 0 0;
  color: var(--accent);
}
.article-content h2 {
  font-size: 24px; font-weight: 800; letter-spacing: -0.01em;
  margin: 30px 0 14px;
}
.article-content blockquote {
  margin: 26px 0;
  padding: 6px 0 6px 22px;
  border-left: 4px solid var(--accent);
  font-style: italic;
  font-size: 20px;
  color: var(--ink-2);
}
.article-content a { color: var(--accent-dark); text-decoration: underline; }
.article-video { margin: 0 0 24px; text-align: center; }
.article-video iframe {
  display: block;
  margin: 0 auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: var(--radius);
  background: var(--accent-ink);
  box-shadow: var(--shadow);
}
/* embed Facebook (SDK XFBML — își calculează singur dimensiunile exacte):
   centrat pe un panou închis, simetric */
.article-video.is-fb {
  background: var(--accent-ink);
  border-radius: var(--radius);
  padding: 20px 12px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}
.article-video.is-fb .fb-post,
.article-video.is-fb .fb-video {
  max-width: 100%;
}
.article-video.is-fb .fb-post iframe,
.article-video.is-fb .fb-video iframe {
  border-radius: 10px;
  max-width: 100%;
}
.article-video-caption { font-size: 12.5px; color: var(--ink-3); margin-top: 8px; }
.article-video.is-fb .article-video-caption { color: #b9bac6; margin: 14px 8px 0; }
.article-video-caption a { color: var(--accent-dark); font-weight: 600; }
.article-video.is-fb .article-video-caption a { color: #fff; }

.article-source {
  margin: 24px 0;
  padding: 13px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
  color: var(--ink-2);
}
.article-source a { color: var(--accent-dark); font-weight: 600; }

/* Share + Google follow */
.share-box { margin: 26px 0; }
.share-row { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.share-label { font-size: 13px; font-weight: 700; color: var(--ink-3); margin-right: 2px; }
.share-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 15px;
  border-radius: 999px;
  border: none;
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
  transition: transform .12s, opacity .15s;
}
.share-btn:hover { opacity: .9; transform: translateY(-1px); }
.share-wa { background: #23a559; }
.share-fb { background: #1668e3; }
.share-x { background: #14151a; }
.share-copy { background: var(--paper); color: var(--ink); border: 1.5px solid var(--line); }
.share-copy.copied { background: #23a559; color: #fff; border-color: #23a559; }
.google-follow { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.gf-btn {
  display: flex; align-items: center; gap: 12px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: border-color .15s, transform .12s;
}
.gf-btn:hover { border-color: #4285F4; transform: translateY(-1px); }

/* Casete politician / autor */
.pol-box, .author-box {
  display: flex; gap: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin: 26px 0;
  box-shadow: var(--shadow);
}
.pol-box-avatar { flex: 0 0 84px; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; background: var(--accent-ink); }
.pol-box-avatar img, .pol-box-avatar .story-initials { width: 100%; height: 100%; object-fit: cover; border: none; font-size: 34px; }
.pol-box-kicker { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin-bottom: 3px; }
.pol-box-name { font-family: var(--serif); font-size: 21px; font-weight: 800; }
.pol-box-name a:hover { color: var(--accent-dark); }
.pol-box-role { font-size: 13.5px; color: var(--ink-3); margin: 2px 0 8px; }
.pol-box-bio { font-size: 14.5px; color: var(--ink-2); margin-bottom: 12px; }
.author-box-photo { flex: 0 0 66px; width: 66px; height: 66px; border-radius: 50%; object-fit: cover; }
.author-box-name { font-family: var(--serif); font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.author-box-name small { font-family: var(--sans); font-weight: 600; color: var(--ink-3); font-size: 12.5px; margin-left: 6px; }
.author-box-name a:hover { color: var(--accent-dark); }

/* ---------------- Profil politician */
.pol-header { display: flex; gap: 24px; align-items: center; padding: 30px 0 6px; }
.pol-header-avatar {
  flex: 0 0 116px; width: 116px; height: 116px;
  border-radius: 50%; overflow: hidden;
  background: var(--accent-ink);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--paper);
}
.pol-header-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pol-name { font-family: var(--serif); font-size: clamp(26px, 4vw, 38px); font-weight: 800; letter-spacing: -0.02em; }
.pol-role { color: var(--ink-2); font-weight: 600; font-size: 15px; margin-top: 2px; }
.pol-links { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.pol-links a {
  font-size: 12.5px; font-weight: 700;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink-2);
}
.pol-links a:hover { border-color: var(--accent); color: var(--accent); }
.pol-bio {
  background: var(--paper);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 20px 0 4px;
  font-size: 16px;
  color: var(--ink-2);
  box-shadow: var(--shadow);
}
.pol-bio p { margin-bottom: 12px; }
.pol-bio p:last-child { margin-bottom: 0; }
.pol-bio-updated { font-size: 12.5px; color: var(--ink-3); }

/* Grid politicieni */
.pol-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.pol-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 13px 16px;
  box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s;
}
.pol-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.pol-card-avatar { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; background: var(--accent-ink); }
.pol-card-avatar img, .pol-card-avatar .story-initials { width: 100%; height: 100%; object-fit: cover; border: none; font-size: 20px; }
.pol-card-info strong { display: block; font-size: 15px; line-height: 1.3; }
.pol-card-info small { display: block; color: var(--ink-3); font-size: 12px; line-height: 1.35; }
.pol-card-party { color: var(--accent); font-weight: 600; }

/* ---------------- Figuri publice (secțiune secundară pe home) */
.figures-section .card-title { font-size: 16px; }
.figures-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.figure-chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px 6px 6px;
  transition: border-color .15s, transform .12s;
}
.figure-chip:hover { border-color: var(--accent); transform: translateY(-1px); }
.figure-chip-avatar {
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 50%; overflow: hidden;
  background: var(--accent-ink);
}
.figure-chip-avatar img, .figure-chip-avatar .story-initials { width: 100%; height: 100%; object-fit: cover; border: none; font-size: 15px; }
.figure-chip-info strong { display: block; font-size: 13.5px; line-height: 1.25; }
.figure-chip-info small { display: block; color: var(--ink-3); font-size: 11.5px; line-height: 1.3; }

/* ---------------- Pagini generice */
.page-head { padding: 32px 0 4px; max-width: 720px; }
.page-head h1 { font-family: var(--serif); font-size: clamp(26px, 4vw, 36px); font-weight: 800; margin-bottom: 8px; }
.page-head p { color: var(--ink-2); }
.empty-state { text-align: center; padding: 70px 20px; }
.empty-state h1, .empty-state h2 { font-family: var(--serif); font-size: 28px; margin-bottom: 10px; }
.empty-state p { color: var(--ink-2); margin-bottom: 8px; }
.err-code { font-family: var(--serif); font-size: 84px; font-weight: 800; color: var(--accent); line-height: 1; }
.empty-note { color: var(--ink-3); padding: 16px 0; }

.search-form { display: flex; gap: 10px; margin-top: 16px; max-width: 560px; }
.search-form input {
  flex: 1;
  padding: 13px 18px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: 16px;
  font-family: var(--sans);
  background: var(--paper);
}
.search-form input:focus { outline: none; border-color: var(--accent); }
.search-form button {
  padding: 13px 26px;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}
.search-form button:hover { background: var(--accent-dark); }

.pagination { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 28px 0; }
.page-btn {
  padding: 10px 20px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
}
.page-btn:hover { border-color: var(--accent); color: var(--accent); }
.page-info { color: var(--ink-3); font-size: 13.5px; }

.flash { margin: 14px 0; padding: 12px 18px; border-radius: 12px; font-weight: 600; font-size: 14.5px; }
.flash-success { background: #e5f6ec; color: #156637; border: 1px solid #b5e3c8; }
.flash-error { background: #fceaea; color: #8d1620; border: 1px solid #f2c3c6; }

/* ---------------- Footer */
.site-footer {
  background: var(--accent-ink);
  color: #b9bac6;
  margin-top: 44px;
  padding: 40px 0 0;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 34px;
  padding-bottom: 30px;
}
.logo-footer { font-size: 26px; display: inline-block; margin-bottom: 10px; }
.logo-footer .logo-declaratii { color: #fff; }
.footer-brand p { font-size: 13.5px; line-height: 1.6; }
.footer-social { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.footer-social a {
  padding: 6px 13px; border: 1px solid #33343f; border-radius: 999px;
  font-size: 12.5px; font-weight: 600;
}
.footer-social a:hover { border-color: var(--accent); color: #fff; }
.site-footer h3 {
  color: #fff; font-size: 12.5px; text-transform: uppercase;
  letter-spacing: .1em; margin-bottom: 12px;
}
.site-footer .footer-grid a { display: block; padding: 4px 0; }
.site-footer .footer-grid a:hover { color: #fff; }
.g-btn {
  border: 1px solid #33343f; border-radius: 12px;
  padding: 9px 13px !important; margin-bottom: 8px;
  font-size: 13px; font-weight: 600;
}
.g-btn:hover { border-color: #4285F4; }
.footer-bottom {
  border-top: 1px solid #26272f;
  padding-top: 16px; padding-bottom: calc(18px + env(safe-area-inset-bottom));
  font-size: 12.5px; color: #71737f;
}

/* ---------------- Bottom nav (mobil, stil aplicație) */
.bottom-nav { display: none; }

/* ---------------- Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  body { padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom)); background: var(--paper-2); }
  .wrap { padding: 0 16px; }

  .topbar { display: none; }
  .masthead { padding-top: 10px; padding-bottom: 8px; grid-template-columns: 40px 1fr 40px; }
  .logo { font-size: 24px; }
  .mainnav { display: none; }

  .hero-grid { padding-top: 16px; }
  .hero-body { padding-top: 12px; }

  /* cercurile politicienilor: aer față de header pe mobil */
  .stories-track { padding-top: 18px; padding-bottom: 14px; gap: 14px; }
  .story-ring { margin-bottom: 7px; }
  .hero-side .card-media { flex: 0 0 110px; }

  .cards-grid { grid-template-columns: 1fr; gap: 14px; }
  .featured-grid { grid-template-columns: 1fr; gap: 14px; }
  .pol-grid { grid-template-columns: 1fr; }

  .section { padding-top: 22px; }
  .article { padding-top: 18px; }
  .article-content { font-size: 17.5px; }
  .pol-header { flex-direction: column; text-align: center; gap: 14px; padding-top: 22px; }
  .pol-links { justify-content: center; }
  .pol-box, .author-box { flex-direction: column; align-items: flex-start; }

  .share-btn span { display: none; }
  .share-btn { padding: 11px 13px; }
  .share-copy span { display: inline; }

  /* bara de navigare de jos — senzație de aplicație nativă */
  .bottom-nav {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 80;
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-top: 1px solid var(--line);
    height: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
  }
  .bottom-nav a {
    flex: 1;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 3px;
    font-size: 10.5px;
    font-weight: 600;
    color: var(--ink-3);
    -webkit-tap-highlight-color: transparent;
    transition: color .12s;
  }
  .bottom-nav a svg { width: 23px; height: 23px; }
  .bottom-nav a.active, .bottom-nav a:active { color: var(--accent); }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------------------------------------------------------------- Parteneri */
.partners-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 18px;
}
.partner-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.partner-link:hover,
.partner-link:focus-visible {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.partner-link:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.partner-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--paper-2);
}
.partner-body { display: block; padding: 11px 13px 13px; }
.partner-site {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--accent);
  margin-bottom: 5px;
}
.partner-title {
  display: block;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.32;
  color: var(--ink);
}
.partner-link:hover .partner-title { color: var(--accent-dark); }
@media (max-width: 540px) {
  .partners-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
  .partner-title { font-size: 13.5px; }
}
