/* ═══════════════════════════════════════════
   infos-style.css — rdpe.eu/infos/ sub-pages
   Design system matching rdpe.eu
   ═══════════════════════════════════════════ */
:root {
  --green:       #1B4332;
  --green-m:     #2D6A2E;
  --green-pale:  #e8f5e9;
  --orange:      #E8751A;
  --orange-pale: #FFF4E0;
  --cream:       #FFE8B8;
  --bg:          #F2F0EB;
  --card-bg:     #ffffff;
  --border:      #d4e8d4;
  --text:        #1a1a1a;
  --text-mid:    #444;
  --text-muted:  #888;
  --red:         #DC2626;
  --radius:      12px;
  --shadow:      0 2px 10px rgba(0,0,0,.07);
  --shadow-lg:   0 6px 24px rgba(0,0,0,.11);
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-y: scroll; scroll-behavior: smooth; }
body { font-family: 'DM Sans', system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; font-size: 15px; }

/* ── Web fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@600;700;800;900&family=DM+Sans:wght@400;500;600&display=swap');

/* ── Election banner ── */
.election-banner {
  background: linear-gradient(90deg,#a50e1a,#c0392b);
  color: #fff; text-align: center; padding: 7px 16px;
  font-size: .72rem; font-weight: 700; letter-spacing: .05em;
}

/* ── Navbar ── */
.navbar {
  position: sticky; top: 0; z-index: 999;
  background: rgba(255,255,255,.97); backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; height: 56px;
  box-shadow: 0 2px 12px rgba(27,67,50,.07);
}
.navbar-brand {
  display: flex; align-items: center; gap: 8px; text-decoration: none;
}
.navbar-brand img {
  height: 40px; border-radius: 50%; box-shadow: 0 2px 6px rgba(0,0,0,.1);
}
.navbar-brand span {
  font-family: 'Outfit', sans-serif; font-weight: 800;
  font-size: .84rem; color: #1a6b2a;
}
.navbar-links {
  display: flex; align-items: center; gap: 4px;
}
.navbar-links a {
  text-decoration: none; color: #3d4860; font-weight: 600;
  font-size: .72rem; padding: 5px 10px; border-radius: 7px;
  transition: background .15s;
}
.navbar-links a:hover { background: var(--green-pale); color: var(--green); }
.navbar-links a:first-child {
  background: var(--green-pale); color: var(--green);
  border: 1.5px solid var(--border);
}
.lang-link {
  background: linear-gradient(135deg,#1a6b2a,#4caf50) !important;
  color: #fff !important; border-radius: 20px !important;
  border: none !important; padding: 5px 13px !important;
}
@media(max-width:520px){
  .navbar-links a:not(:first-child):not(.lang-link) { display: none; }
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg,#060f07,var(--green) 45%,#2d5a3e 80%,#1a3a28);
  color: #fff; border-bottom: 4px solid var(--orange);
  position: relative; overflow: hidden;
}
.hero::before {
  content:''; position:absolute; inset:0; pointer-events:none;
  background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner {
  max-width: 860px; margin: 0 auto; padding: 32px 20px 28px;
  text-align: center; position: relative;
}
.breadcrumb {
  display: flex; align-items: center; gap: 5px; justify-content: center;
  font-size: .7rem; color: rgba(255,255,255,.6); margin-bottom: 14px;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,.75); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .5; }
.hero-icon { font-size: 2.6rem; display: block; margin-bottom: 8px; line-height: 1; }
.hero h1 {
  font-family: 'Outfit', sans-serif; font-weight: 900;
  font-size: clamp(1.4rem,3.5vw,2.4rem); color: #fff; line-height: 1.15;
}
.hero h1 em { color: var(--cream); font-style: italic; }
.hero-desc {
  color: rgba(255,255,255,.78); font-size: .85rem;
  max-width: 580px; margin: 10px auto 0; line-height: 1.65;
}

/* ── Main ── */
.main { max-width: 1060px; margin: 0 auto; padding: 20px 16px 60px; }

/* ── Sections ── */
.section { margin-bottom: 44px; }
.section-label {
  font-family: 'Outfit', sans-serif; font-weight: 700;
  font-size: .68rem; color: #999; letter-spacing: .14em;
  text-transform: uppercase; margin-bottom: 6px;
  display: flex; align-items: center; gap: 8px;
}
.section-label::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg,#d0d0c8,transparent);
}
.section h2 {
  font-family: 'Outfit', sans-serif; font-weight: 800;
  font-size: clamp(1.1rem,2.5vw,1.6rem); color: var(--green);
  margin-bottom: 16px; line-height: 1.2;
}
.section h2 em { color: var(--orange); font-style: italic; }

/* ── Cards ── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px,1fr));
  gap: 12px; margin-top: 4px;
}
.card {
  background: var(--card-bg); border-radius: var(--radius);
  padding: 16px 17px; box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s;
  border: 1px solid transparent;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.card-icon {
  font-size: 1.6rem; display: block; margin-bottom: 10px; line-height: 1;
}
.card h3 {
  font-family: 'Outfit', sans-serif; font-weight: 700;
  font-size: .92rem; color: var(--text); margin-bottom: 8px;
}
.card p { font-size: .8rem; color: var(--text-mid); line-height: 1.55; }
.card ul {
  list-style: none; display: flex; flex-direction: column; gap: 5px;
  font-size: .8rem; color: var(--text-mid);
}
.card ul li { padding-left: 14px; position: relative; }
.card ul li::before {
  content: '·'; position: absolute; left: 0; color: var(--orange); font-weight: 700;
}
.card-tag {
  font-size: .6rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; margin-bottom: 6px;
}

/* Emergency card */
.card--emergency {
  border-left: 4px solid var(--red);
  background: #fff9f9;
}
.big-num {
  font-family: 'Outfit', sans-serif; font-weight: 900;
  font-size: 2.8rem; color: var(--red); line-height: 1;
}
.big-num-sub {
  font-size: .75rem; color: var(--text-muted); margin-top: 2px;
}

/* ── Info box ── */
.info-box {
  background: var(--orange-pale); border: 1.5px solid #f5c07a;
  border-radius: var(--radius); padding: 14px 16px; margin-top: 14px;
}
.info-box h4 {
  font-family: 'Outfit', sans-serif; font-weight: 700;
  font-size: .86rem; color: #7a4800; margin-bottom: 6px;
}
.info-box p { font-size: .8rem; color: #5a3800; line-height: 1.6; }

/* ── Table ── */
.table-wrap {
  background: var(--card-bg); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  overflow-x: auto;
}
table { width: 100%; border-collapse: collapse; font-size: .8rem; }
thead tr { background: var(--green); }
thead th {
  padding: 10px 14px; color: #fff; font-weight: 700;
  font-family: 'Outfit', sans-serif; letter-spacing: .03em;
  text-align: left;
}
tbody tr { border-bottom: 1px solid #f0f0ee; transition: background .1s; }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--green-pale); }
tbody td { padding: 9px 14px; color: var(--text-mid); }
.row-hl { background: #f0f8f0 !important; }
.row-hl td { font-weight: 600; color: var(--green) !important; }

/* ── Details / accordion ── */
details {
  background: var(--card-bg); border-radius: var(--radius);
  border: 1.5px solid var(--border); margin-top: 10px;
  overflow: hidden;
}
details summary {
  padding: 13px 16px; font-weight: 700; font-size: .85rem;
  cursor: pointer; list-style: none; display: flex;
  align-items: center; justify-content: space-between;
  gap: 8px; color: var(--green);
  font-family: 'Outfit', sans-serif;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: '+'; font-size: 1.2rem; color: var(--orange);
  font-weight: 700; flex-shrink: 0; transition: transform .2s;
}
details[open] summary::after { transform: rotate(45deg); }
details[open] summary { border-bottom: 1px solid var(--border); }
.details-body {
  padding: 14px 16px; font-size: .8rem; color: var(--text-mid);
  line-height: 1.65;
}
.details-body ul {
  list-style: none; display: flex; flex-direction: column;
  gap: 5px; margin-top: 8px;
}
.details-body ul li { padding-left: 14px; position: relative; }
.details-body ul li::before {
  content: '·'; position: absolute; left: 0;
  color: var(--orange); font-weight: 700;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center;
  padding: 7px 16px; border-radius: 20px;
  font-weight: 700; font-size: .78rem; text-decoration: none;
  transition: opacity .2s, transform .15s; white-space: nowrap;
}
.btn:hover { opacity: .85; transform: translateY(-1px); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-green  { background: var(--green); color: #fff; }

/* ── Footer ── */
.footer {
  background: #0f3d1a; color: rgba(255,255,255,.7);
  padding: 18px 16px; text-align: center; font-size: .75rem;
  line-height: 1.7;
}
.footer strong { color: #fff; }
.footer a { color: rgba(255,255,255,.9); text-decoration: none; font-weight: 600; }
.footer a:hover { text-decoration: underline; }

/* ── Responsive ── */
@media(max-width:600px){
  .cards { grid-template-columns: 1fr; }
  .hero-inner { padding: 24px 16px 20px; }
  .main { padding: 14px 12px 44px; }
}
