/* ============================================================
   ЗАДНЕС — style.css
   Custom стилове върху Bootstrap 5.
   Bootstrap се зарежда преди този файл.
   ============================================================ */

/* ---- Base ---- */
body {
  font-family: 'PT Serif', Georgia, serif;
  color: #484848;
  background: #e8e0cc;
}

a { color: #484848; }
a:hover { color: #222; }

/* ============================================================
   HEADER
   ============================================================ */

.zd-header {
  background: #f2ecd8;
  border-top: 1px solid #8e8e8e;
  border-bottom: 1px solid #8e8e8e;
}

.zd-topbar {
  font-size: 11.5px;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.04em;
  color: #6e6e68;
  padding: 5px 0;
  border-bottom: 1px solid #d8d3c2;
}

.zd-masthead {
  padding: 12px 0 6px;
}

.zd-title {
  font-family: 'Marck Script', cursive;
  font-size: 80px;
  font-weight: 400;
  line-height: 1;
  color: #2a2017;
  text-transform: none;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.12);
  margin: 0 0 4px;
}

.zd-tagline {
  font-family: 'Oswald', sans-serif;
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: 2.5px;
  color: #6e6e68;
  text-transform: uppercase;
  margin: 0 0 6px;
}

.zd-nameday-bar {
  font-family: 'PT Serif', serif;
  font-size: 13px;
  color: #5b4a36;
  padding: 4px 0;
  border-top: 1px dotted #c8c4b4;
  margin: 2px 0 0;
}

.zd-nameday-bar strong {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.zd-nav {
  border-top: double 3px #8e8e8e;
  padding: 5px 0;
}

.zd-nav a {
  font-family: 'Oswald', sans-serif;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #484848;
  text-decoration: none;
}

.zd-nav a:hover { text-decoration: underline; }

/* ============================================================
   WEATHER BAR
   ============================================================ */

.zd-weather-bar {
  background: #ede6d0;
  border-bottom: 1px solid #c8c4b4;
  padding: 5px 16px;
  font-size: 12px;
  color: #6e6e68;
}

.zd-weather-bar #wx-text {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.03em;
}

.zd-joke {
  font-family: 'PT Serif', serif;
  font-style: italic;
  color: #8e8e8e;
  border-left: 1px solid #c8c4b4;
  padding-left: 12px;
  max-width: 420px;
}

/* ============================================================
   MAIN — колони
   ============================================================ */

.zd-main {
  background: #f2ecd8;
  padding: 16px 0 30px;
}

.zd-col-primary {
  border-right: 1px solid #c8c4b4;
  padding: 0 14px 0 10px;
}

.zd-col-secondary {
  border-right: 1px solid #c8c4b4;
  padding: 0 10px;
}

.zd-col-tertiary {
  padding: 0 10px 0 14px;
}

/* ============================================================
   ARTICLES
   ============================================================ */

.zd-article {
  margin-bottom: 18px;
}

.zd-rule {
  border-top: 1px solid #c8c4b4;
  margin: 14px 0;
}

.zd-headline-lg {
  font-family: 'Oswald', sans-serif;
  font-size: 30px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  line-height: 1.1;
  text-shadow: #fff 1px 1px;
  margin: 8px 0 6px;
}

.zd-headline-md {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  text-shadow: #fff 1px 1px;
  margin: 8px 0 6px;
}

.zd-headline-sm {
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  text-shadow: #fff 1px 1px;
  margin: 8px 0 2px;
}

.zd-subhead {
  font-family: 'PT Serif', serif;
  font-size: 13px;
  font-weight: 400;
  font-style: italic;
  color: #6e6e68;
  margin: 0 0 6px;
  text-align: center;
}

/* CSS multi-column текст — точно като вестник */
.zd-cols-3 {
  columns: 3;
  column-gap: 12px;
  font-size: 13px;
  line-height: 1.55;
  text-align: justify;
}

.zd-cols-2 {
  columns: 2;
  column-gap: 12px;
  font-size: 13px;
  line-height: 1.55;
  text-align: justify;
}

.zd-cols-3 p,
.zd-cols-2 p { margin: 0 0 9px; }

.zd-body-sm {
  font-size: 12.5px;
  line-height: 1.52;
  text-align: justify;
}

.zd-body-sm p { margin: 0 0 8px; }

/* ============================================================
   MEDIA БЛОК
   ============================================================ */

.zd-media {
  margin-bottom: 10px;
}

.zd-media-placeholder {
  width: 100%;
  min-height: 180px;
  background: #e2dcc8;
  border: 1px dashed #c8c4b4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #8e8e8e;
}

/* ============================================================
   КАРТИ (дясна колона)
   ============================================================ */

.zd-card {
  border: 1px solid #c8c4b4;
  padding: 12px 14px 14px;
  margin-bottom: 10px;
  background: #f2ecd8;
}

.zd-card-boxed {
  border: 4px double #8e8e8e;
  border-radius: 6px;
}

.zd-card-nameday {
  border-color: #8a2e22;
  text-align: center;
}

.zd-card-title {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-shadow: #fff 1px 1px;
  margin: 0 0 8px;
}

.zd-card-names {
  font-family: 'PT Serif', serif;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 4px;
}

.zd-card-note {
  font-size: 11.5px;
  font-style: italic;
  color: #6e6e68;
  text-align: center;
  margin: 0;
}

.zd-card p {
  font-size: 12.5px;
  line-height: 1.5;
  text-align: left;
  margin: 0 0 6px;
}

/* ============================================================
   FOOTER
   ============================================================ */

.zd-footer {
  background: #2a2017;
  color: #c8c4b4;
  padding: 20px 0;
  margin-top: 10px;
}

.zd-footer-title {
  font-family: 'Marck Script', cursive;
  font-size: 32px;
  color: #f2ecd8;
  margin: 0 0 4px;
}

.zd-footer-tagline {
  font-family: 'Oswald', sans-serif;
  font-size: 10.5px;
  letter-spacing: 2px;
  color: #8e8e8e;
  margin: 0 0 6px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
  .zd-title { font-size: 52px; }
  .zd-col-primary, .zd-col-secondary, .zd-col-tertiary {
    border-right: none;
    border-bottom: 1px solid #c8c4b4;
    padding: 0 10px;
    margin-bottom: 16px;
  }
  .zd-cols-3, .zd-cols-2 { columns: 1; }
  .zd-joke { border-left: none; padding-left: 0; max-width: 100%; }
}

@media print {
  .zd-weather-bar, .zd-nav, .zd-nameday-bar { display: none; }
  body { background: white; }
  .zd-header, .zd-main { background: white; }
}
