/* ============================================================
   ProDukovany Theme – main.css
   ============================================================ */

/* ── CSS Proměnné ── */
:root {
  --red:      #C0392B;
  --red-dk:   #922B21;
  --white:    #F9F7F4;
  --blue:     #1A5276;
  --blue-lt:  #2E86C1;
  --green:    #1E8449;
  --dark:     #1C1C1C;
  --gray:     #6B6B6B;
  --border:   #E0DDD8;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Source Sans 3', system-ui, sans-serif;
  --container: 1100px;
  --radius: 8px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17px; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--dark);
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); }

/* ── Container ── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 40px; }
.section   { padding: 90px 0; }

/* ── Typografie ── */
h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.15; }
.section-label {
  font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); margin-bottom: 12px;
  display: block;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700; margin-bottom: 48px;
  max-width: 620px;
}
.section-subtitle { color: var(--gray); max-width: 560px; margin-bottom: 48px; }

/* ── Buttons ── */
.btn {
  display: inline-block; padding: 13px 30px;
  border-radius: 4px; font-weight: 600;
  font-size: 15px; letter-spacing: .04em;
  text-decoration: none; transition: all .2s;
  border: 2px solid transparent; cursor: pointer;
  font-family: var(--font-body);
}
.btn-primary        { background: var(--red); color: #fff; border-color: var(--red); }
.btn-primary:hover  { background: var(--red-dk); border-color: var(--red-dk); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(192,57,43,.35); color: #fff; }
.btn-outline        { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-outline:hover  { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }
.btn-outline-dark   { background: transparent; color: var(--dark); border-color: var(--border); }
.btn-outline-dark:hover { border-color: var(--dark); }
.btn-white          { background: #fff; color: var(--red); font-weight: 700; border-color: #fff; }
.btn-white:hover    { background: #f5e6e6; transform: translateY(-1px); color: var(--red); }

/* ── Topbar ── */
.topbar {
  background: var(--red-dk); color: #fff;
  font-size: 13px; letter-spacing: .05em;
  text-align: center; padding: 8px 20px;
}
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: #FADBD8; }

/* ── Navigace ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff; border-bottom: 3px solid var(--red);
  box-shadow: 0 2px 14px rgba(0,0,0,.07);
}
.main-nav {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 0 40px; height: 68px;
  max-width: calc(var(--container) + 80px);
  margin: 0 auto;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-img {
  width: 52px; height: 52px;
  object-fit: contain; display: block;
}
/* WordPress custom_logo wrapping <a> */
.nav-logo .custom-logo-link { display: flex; align-items: center; }
.nav-logo .custom-logo      { width: 52px; height: 52px; object-fit: contain; }
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 900;
  color: var(--red); letter-spacing: -.02em;
  line-height: 1;
}
.nav-logo-text span { color: var(--blue); }

.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--dark);
  font-weight: 600; font-size: 14px;
  letter-spacing: .04em; text-transform: uppercase;
  transition: color .2s;
}
.nav-links a:hover { color: var(--red); }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--dark); border-radius: 2px;
  transition: all .3s;
}
.nav-cta {
  background: var(--red) !important; color: #fff !important;
  padding: 9px 20px; border-radius: 4px; text-decoration: none;
  font-weight: 600; font-size: 14px; letter-spacing: .04em;
  text-transform: uppercase; transition: background .2s;
}
.nav-cta:hover { background: var(--red-dk) !important; }

/* ── Hero ── */
.hero {
  position: relative; overflow: hidden;
  min-height: 60vh; display: flex; align-items: center;
  background: var(--blue);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(26,82,118,.6) 0%, transparent 70%),
    linear-gradient(135deg, var(--blue) 0%, #0D2E45 100%);
}
.hero-logo {
  position: absolute;
  right: 7%; top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 340px;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,.35));
}
.hero-logo-img {
  width: 100%; height: auto; display: block;
}
@media (max-width: 1000px) {
  .hero-logo { width: 240px; right: 4%; }
}
@media (max-width: 768px) {
  .hero-logo { display: none; }
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 780px; padding: 80px 60px;
}
.hero-badge {
  display: inline-block; background: var(--red);
  color: #fff; font-size: 12px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 2px; margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.1; color: #fff; margin-bottom: 24px; font-weight: 900;
}
.hero h1 em { font-style: normal; color: #FADBD8; display: block; }
.hero > .hero-content > p {
  font-size: 19px; color: rgba(255,255,255,.82);
  max-width: 560px; margin-bottom: 40px; font-weight: 300;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.wave { display: block; background: var(--blue); }

/* Animace hero */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-badge  { animation: fadeUp .6s ease both; }
.hero h1     { animation: fadeUp .6s ease .15s both; }
.hero .hero-content > p { animation: fadeUp .6s ease .3s both; }
.hero-btns   { animation: fadeUp .6s ease .45s both; }

/* ── Pilíře ── */
.pillars-section { background: var(--white); }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.pillar-card {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px 28px; position: relative; overflow: hidden;
  transition: box-shadow .25s, transform .25s; background: #fff;
}
.pillar-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; width: 4px; height: 100%;
  background: var(--accent, var(--red));
}
.pillar-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.1); transform: translateY(-3px); }
.pillar-icon {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 20px;
  flex-shrink: 0;
  line-height: 1;
  background: #FADBD8;
}
.pillar-card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.pillar-card p  { color: var(--gray); font-size: 15px; line-height: 1.6; }

/* ── Program – detailní grid ── */
.program-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.program-category {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.program-cat-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.program-cat-icon {
  font-size: 36px;
  line-height: 1;
  display: block;
}
.program-cat-header h3 {
  font-family: var(--font-display);
  font-size: 1.15rem; color: #fff; font-weight: 700;
  line-height: 1.2;
}
.program-section .program-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
@media (max-width: 900px) {
  .program-section .program-stats { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  .program-detail-grid { grid-template-columns: 1fr; gap: 16px; }
}


.program-section {
  background: var(--blue); color: #fff;
  position: relative; overflow: hidden;
}
.program-section::after {
  content: ''; position: absolute;
  right: -100px; bottom: -100px;
  width: 500px; height: 500px;
  border-radius: 50%; background: rgba(255,255,255,.03);
}
.program-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.program-section .section-label { color: #FADBD8; }
.program-section .section-title { color: #fff; }
.program-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.program-list li {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 16px; color: rgba(255,255,255,.88);
}
.program-list li::before {
  content: '✦'; color: #FADBD8;
  font-size: 12px; margin-top: 5px; flex-shrink: 0;
}
.program-more {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.program-more .program-list { padding-top: 16px; }
.program-more.open { max-height: 1200px; }
.program-toggle {
  display: flex; align-items: center; gap: 8px;
  margin-top: 20px; padding: 0;
  background: none; border: none;
  font-family: inherit; font-size: 14px; font-weight: 600;
  color: #FADBD8; cursor: pointer;
}
.program-toggle:hover { color: #fff; }
.program-toggle-arrow { display: inline-block; transition: transform .3s ease; }
.program-toggle[aria-expanded="true"] .program-toggle-arrow { transform: rotate(180deg); }
.program-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat-box {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius); padding: 28px 24px; text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.8rem; font-weight: 900;
  color: #fff; line-height: 1; margin-bottom: 8px;
}
.stat-label {
  font-size: 12px; color: rgba(255,255,255,.6);
  letter-spacing: .06em; text-transform: uppercase;
}

/* ── Kandidáti ── */
.candidates-section { background: var(--white); }
.candidates-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px; margin-top: 48px;
}
.candidate-card {
  display: flex; flex-direction: column;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow .25s, transform .25s; text-align: center;
  background: #fff;
}
.candidate-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.1); transform: translateY(-3px); }
.candidate-more {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; margin: auto auto 20px;
  border-radius: 999px; flex-shrink: 0; overflow: hidden; white-space: nowrap;
  background: var(--red); color: #fff;
  text-decoration: none; transition: width .3s ease, background .2s;
}
.candidate-more-icon {
  font-size: 18px; line-height: 1;
  transition: opacity .1s ease;
}
.candidate-more-label {
  position: absolute; left: 0; right: 0; text-align: center;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  opacity: 0; transition: opacity .15s ease;
}
.candidate-more:hover {
  width: 140px; background: var(--blue);
}
.candidate-more:hover .candidate-more-icon { opacity: 0; }
.candidate-more:hover .candidate-more-label { opacity: 1; transition-delay: .15s; }
.candidate-photo {
  height: 200px; overflow: hidden;
  background: linear-gradient(135deg, var(--blue), #0D2E45);
  display: flex; align-items: center; justify-content: center;
  font-size: 60px; color: rgba(255,255,255,.25);
}
.candidate-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.candidate-info { padding: 16px 12px 20px; }
.candidate-num {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--red); color: #fff;
  width: 28px; height: 28px; border-radius: 50%;
  font-size: 13px; font-weight: 700; margin-bottom: 8px;
}
.candidate-info h4 { font-size: 1rem; margin-bottom: 4px; line-height: 1.3; }
.candidate-povolani {
  color: var(--gray); font-size: 12px;
  letter-spacing: .04em; line-height: 1.4;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .candidates-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 800px) {
  .candidates-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .candidates-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .candidate-photo { height: 160px; }
}

/* ── Aktuality ── */
.news-section { background: #F0F4F8; }
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px; margin-top: 48px;
}
.news-card {
  background: #fff; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border);
  transition: box-shadow .25s;
  position: relative;
}
.news-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.1); }
.news-card:hover .news-body h3 a { color: var(--red); }
.news-thumb {
  height: 160px; overflow: hidden;
  background: linear-gradient(135deg, var(--blue), #0D2E45);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
}
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 24px; }
.news-tag {
  font-size: 11px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--red); margin-bottom: 10px;
}
.news-body h3 {
  font-size: 1.05rem; margin-bottom: 10px; line-height: 1.35;
}
.news-body h3 a { text-decoration: none; color: var(--dark); }
.news-body h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.news-body p  { color: var(--gray); font-size: 14px; line-height: 1.6; }
.news-date    { font-size: 12px; color: var(--gray); margin-top: 16px; }

/* ── CTA Banner ── */
.cta-banner {
  background: var(--red); color: #fff;
  text-align: center; padding: 90px 40px;
}
.cta-banner h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin-bottom: 16px; font-weight: 900;
}
.cta-banner p {
  font-size: 18px; opacity: .88; margin-bottom: 36px;
  max-width: 540px; margin-left: auto; margin-right: auto;
}

/* ── Archiv kampaně – odkaz na hlavní stránce ── */
.archiv-teaser { background: var(--blue); color: #fff; padding: 64px 0; }
.archiv-teaser-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.archiv-teaser .section-label { color: #D6EAF8; }
.archiv-teaser h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 10px; }
.archiv-teaser p  { opacity: .85; max-width: 560px; }
.archiv-teaser .btn { flex-shrink: 0; color: var(--blue); }
.archiv-teaser .btn:hover { color: var(--blue); background: #EAF2F8; }

/* ── Archiv kampaně – lišta na stránce /archiv/ ── */
.archiv-notice {
  background: #FFF8E1; border-bottom: 1px solid #F3E2A9;
  font-size: 14px; color: #6B5300;
}
.archiv-notice-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px 24px; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px;
}
.archiv-notice-link { font-weight: 600; color: var(--red); text-decoration: none; }
.archiv-notice-link:hover { text-decoration: underline; }

/* ── FAQ (stránka /faq/) ── */
.page-faq,
.page-aktuality { background: #F0F4F8; padding: 32px 0 90px; }
.page-aktuality .news-grid { margin-top: 0; }
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-bottom: 36px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  color: var(--gray); transition: color .2s;
}
.back-link:hover { color: var(--red); }
.faq-empty   { color: var(--gray); }
.faq-cta     { max-width: 820px; margin-top: 40px; }
.faq-list    { max-width: 820px; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .25s;
}
.faq-item[open] { box-shadow: 0 8px 32px rgba(0,0,0,.08); }
.faq-question {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.1rem; line-height: 1.35; color: var(--dark);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question-text { flex: 1; min-width: 0; overflow-wrap: break-word; }
.faq-question::after {
  content: '+'; flex-shrink: 0;
  width: 30px; height: 30px; border-radius: 50%;
  background: #FADBD8; color: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body); font-size: 20px; font-weight: 600;
  transition: transform .25s;
}
.faq-item[open] .faq-question::after { transform: rotate(45deg); }
.faq-question:hover { color: var(--red); }
.faq-answer {
  padding: 0 24px 20px;
  color: #444; font-size: 17px; line-height: 1.7;
}
.faq-answer > *:first-child { margin-top: 0; }
.faq-answer > *:last-child  { margin-bottom: 0; }
.faq-answer p { margin: 0 0 14px; }
.faq-answer p:empty { display: none; }

/* ── Kontakt ── */
.contact-section { background: var(--white); }
.contact-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: start;
}
.contact-item { display: flex; gap: 14px; margin-bottom: 24px; align-items: flex-start; }
.contact-icon {
  width: 42px; height: 42px; background: #FADBD8;
  border-radius: 50%; display: flex;
  align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.contact-item strong { display: block; font-size: 15px; color: var(--dark); }
.contact-item p  { color: var(--gray); font-size: 14px; margin: 4px 0 0; }
.contact-item a  { color: var(--red); }
.contact-form    { display: flex; flex-direction: column; gap: 16px; }
.form-group      { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 13px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: var(--gray);
}
.form-optional {
  font-weight: 400; text-transform: none;
  letter-spacing: 0; font-size: 11px; opacity: .7;
}
.form-group input,
.form-group textarea {
  border: 1px solid var(--border); border-radius: 4px;
  padding: 12px 16px; font-family: var(--font-body);
  font-size: 15px; color: var(--dark);
  transition: border-color .2s; outline: none;
  background: #fff;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(192,57,43,.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-counter { align-self: flex-end; font-size: 12px; color: var(--gray); }
.form-counter.is-full { color: var(--red); font-weight: 600; }
.form-note { align-self: flex-end; font-size: 12px; color: var(--gray); margin-top: -4px; }
.form-group textarea.is-full,
.form-group textarea.is-full:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(192,57,43,.15); }
.captcha-group input { max-width: 120px; }
.contact-info-col .section-title { margin-bottom: 28px; }

/* Stavové zprávy formuláře */
.form-notice {
  padding: 14px 18px; border-radius: var(--radius);
  margin-bottom: 20px; font-size: 15px; line-height: 1.5;
}
.form-notice--ok    { background: #D5F5E3; color: #1E8449; border: 1px solid #A9DFBF; }
.form-notice--error { background: #FADBD8; color: #922B21; border: 1px solid #F1948A; }

/* ── Footer ── */
.site-footer {
  background: var(--dark); color: rgba(255,255,255,.6);
}
.footer-inner {
  max-width: var(--container); margin: 0 auto;
  padding: 60px 40px 40px;
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 60px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 900;
  text-decoration: none; display: block; margin-bottom: 12px;
}
.footer-logo-pro  { color: #C0392B; }
.footer-logo-duk  { color: #1A5276; }
.footer-logo-cz   { color: #1E8449; }
.footer-brand p   { font-size: 14px; line-height: 1.6; }
.footer-widgets   { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 32px; }
.footer-widget-title {
  font-family: var(--font-display);
  color: #fff; font-size: .95rem; margin-bottom: 14px;
}
.footer-menu      { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-menu a    { color: rgba(255,255,255,.6); text-decoration: none; font-size: 14px; transition: color .2s; }
.footer-menu a:hover { color: #FADBD8; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  gap: 16px;
  padding: 20px 40px;
  font-size: 13px; position: relative;
}
.footer-bottom a  { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: #fff; }
.footer-login-icon {
  position: absolute; right: 40px;
  font-size: 16px; opacity: .35;
  text-decoration: none;
  transition: opacity .2s;
  line-height: 1;
}
.footer-login-icon:hover { opacity: 1; color: #fff; }

/* ── Single post / page ── */
.page-single, .page-static { padding: 60px 0 90px; }
.single-post .wp-post-image {
    display: none;
}
.entry-header  { margin-bottom: 32px; }
.entry-title   { font-size: clamp(1.8rem,4vw,3rem); margin-bottom: 12px; }
.entry-meta    { color: var(--gray); font-size: 14px; }
.entry-thumbnail { border-radius: var(--radius); overflow: hidden; margin-bottom: 40px; }
.entry-thumbnail img { width: 100%; }
.entry-content { font-size: 17px; line-height: 1.8; max-width: 760px; }
.entry-content h2,h3,h4 { margin: 1.8em 0 .7em; }
.entry-content p  { margin-bottom: 1.2em; }
.entry-content ul,ol { margin: 0 0 1.2em 1.5em; }
.entry-content li { margin-bottom: .4em; }
.entry-footer  { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
.entry-tags    { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  background: #F0F4F8; color: var(--dark);
  padding: 4px 12px; border-radius: 20px; font-size: 13px;
  text-decoration: none; transition: background .2s;
}
.tag:hover { background: #FADBD8; color: var(--red); }
.post-navigation {
  display: flex; justify-content: space-between;
  padding: 32px 0; border-top: 1px solid var(--border);
  margin-top: 40px; gap: 20px;
}
.post-navigation a { color: var(--dark); text-decoration: none; font-weight: 600; }
.post-navigation a:hover { color: var(--red); }

/* ── Archive ── */
.archive-header { margin-bottom: 48px; padding-top: 48px; }
.archive-title  { font-size: 2.2rem; margin-bottom: 12px; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .pillars-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .pillar-card  { padding: 28px 20px; }
}
@media (max-width: 900px) {
  .program-inner  { grid-template-columns: 1fr; }
  .contact-inner  { grid-template-columns: 1fr; }
  .footer-inner   { grid-template-columns: 1fr; }
  .pillars-grid   { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .archiv-teaser-inner { flex-direction: column; align-items: flex-start; gap: 24px; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .main-nav  { padding: 0 20px; }
  .nav-links { display: none; flex-direction: column; }
  .nav-links.open {
    display: flex; position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff; padding: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,.1);
    border-top: 1px solid var(--border);
  }
  .nav-toggle    { display: flex; }
  .hero-content  { padding: 60px 24px; }
  .hero h1       { font-size: 2.2rem; }
  .section       { padding: 60px 0; }
  .cta-banner    { padding: 60px 24px; }
  .pillars-grid  { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .pillar-card   { padding: 24px 16px; }
}

/* ── Malé telefony (≤480px) ── */
@media (max-width: 480px) {
  /* Navigace */
  .main-nav       { padding: 0 14px; height: 58px; }
  .nav-logo-img   { width: 38px; height: 38px; }
  .nav-logo       { gap: 7px; }
  .nav-logo-text  { font-size: 17px; }
  .nav-cta        { padding: 7px 12px; font-size: 12px; letter-spacing: 0; }
  .topbar         { font-size: 11px; padding: 6px 12px; line-height: 1.4; }

  /* Hero */
  .hero-content   { padding: 40px 16px; }
  .hero h1        { font-size: 1.8rem; }
  .hero .hero-content > p { font-size: 15px; }
  .hero-badge     { font-size: 10px; padding: 5px 12px; }
  .hero-btns      { flex-direction: column; gap: 10px; }
  .hero-btns .btn { text-align: center; }

  /* Pilíře */
  .pillars-grid   { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pillar-card    { padding: 16px 12px; }
  .pillar-icon    { width: 40px; height: 40px; font-size: 18px; margin-bottom: 12px; }
  .pillar-card h3 { font-size: 1rem; }
  .pillar-card p  { font-size: 13px; }

  /* Sekce nadpisy */
  .section-title  { font-size: 1.5rem; margin-bottom: 28px; }
  .section        { padding: 44px 0; }

  /* Kandidáti */
  .candidates-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .candidate-photo { height: 130px; }
  .candidate-info  { padding: 10px 8px 14px; }
  .candidate-info h4 { font-size: .9rem; }

  /* Aktuality */
  .news-grid      { grid-template-columns: 1fr; }

  /* Program stats */
  .program-stats  { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-num       { font-size: 2rem; }

  /* FAQ */
  .faq-question   { padding: 16px 18px; font-size: 1rem; }
  .faq-answer     { padding: 0 18px 16px; font-size: 16px; }
  .page-faq, .page-aktuality { padding: 20px 0 60px; }
  .back-link      { margin-bottom: 24px; }

  /* Kontakt */
  .cta-banner     { padding: 44px 16px; }
  .archiv-teaser  { padding: 44px 0; }
  .archiv-teaser .btn { width: 100%; text-align: center; }
  .archiv-notice  { font-size: 13px; }
  .cta-banner h2  { font-size: 1.6rem; }
  .footer-bottom  { padding: 16px 16px; flex-wrap: wrap; font-size: 12px; }
  .footer-login-icon { position: static; }
}

/* ── Velmi malé telefony (≤360px) ── */
@media (max-width: 360px) {
  .nav-logo-text  { font-size: 15px; }
  .nav-logo-img   { width: 32px; height: 32px; }
  .nav-cta        { padding: 6px 10px; font-size: 11px; }
  .topbar         { font-size: 10px; }
  .hero h1        { font-size: 1.55rem; }
  .pillar-card h3 { font-size: .9rem; }
  .pillar-card p  { font-size: 12px; }
  .section-title  { font-size: 1.3rem; }
}
