/* =====================================================================
   dkl24.pl - zmiany w wersji desktopowej wg uwag redakcji (11.2026)
   v1: pkt 1-4 (logo, czerwone menu, tło i napis "REKLAMY", chmura tagów)
   v2: pkt 5-6 (Open Sans jako podstawowy krój, Playfair Display, nagłówki czarne bold)

   Plik dołączany w _head.php PO dkl24-rwd.css. Pkt 1-3 dotyczą tylko
   szerokich ekranów (>= 1061 px); pkt 4-6 (tagi, czcionki, nagłówki) całej
   strony, także wersji mobilnej - żeby obie wersje były spójne.
   ===================================================================== */

@media (min-width: 1061px) {

  /* ---------- 1. Logo z napisem "Wiadomości z ziemi kłodzkiej i okolic" ---------- */
  header .logo a {
    display: block;
    width: 622px;
    height: 46px;
    background: url(images/logo-dkl24-2026-desktop.png) left center / contain no-repeat;
  }
  header .logo img { display: none; }
  /* pole wyszukiwania wyrównane do środka wysokości logo */
  header .stripe .row:first-child { display: flex; align-items: center; justify-content: space-between; }
  header .stripe .row:first-child::after { display: none; }

  /* ---------- 2. Górne menu: czerwone tło, białe litery ---------- */
  header { margin-bottom: 0; }
  #navigation_1 { margin-top: 14px; }
  #navigation_1 ul { background: #ed1c24; }
  #navigation_1 ul li a,
  #navigation_1 ul li a:link,
  #navigation_1 ul li a:visited { color: #fff; }
  #navigation_1 ul li a:hover,
  #navigation_1 ul li a:focus { background: #c4121a; color: #fff; }

  /* ---------- 3. Reklamy na górze: jasnoszare tło na całą szerokość + "REKLAMY" ---------- */
  .reklama {
    background: #f2f2f2;
    /* tło rozciągnięte na całą szerokość okna, treść zostaje w 1030 px */
    box-shadow: 0 0 0 100vmax #f2f2f2;
    clip-path: inset(0 -100vmax);
    margin-top: 0;
    padding: 0 0 2px;
  }
  .reklama::before {
    content: "REKLAMY";
    display: block;
    font: 10px/1 Arial, sans-serif;
    letter-spacing: .06em;
    color: #777;
    padding: 8px 0 6px;
  }
  .reklama_top .banner_box_frame,
  .reklama_top_right .banner_box_frame { background: #fff; }
  body > nav { margin-top: 10px; }

  /*      ... i oznaczenie "REKLAMA" przy banerach w środku strony */
  .reklama_700::before,
  .reklama_315::before {
    content: "REKLAMA";
    display: block;
    font: 10px/1 Arial, sans-serif;
    letter-spacing: .06em;
    color: #777;
    margin: 0 0 4px;
    text-align: left;
  }
}

/* ---------- 4. Chmura tagów przy stopce: czarne tło zamiast niebieskiego ----------
   (bez @media - na telefonie też czarne, żeby obie wersje były spójne) */
.all_tags_box { background: #000 !important; }
.all_tags_box .tagcloud a:hover { color: #ed1c24; }

/* =====================================================================
   5. Krój pisma: Open Sans zamiast Ariala (cała strona, także telefon)
   Czcionki z serwera dkl24.pl - te same deklaracje są w dkl24-fonts.css,
   którego używa edytor FCK w panelu.
   ===================================================================== */

@font-face {
  font-family: 'Open Sans';
  src: url(fonts/open-sans-latin-ext-var.woff2) format('woff2');
  font-weight: 300 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Open Sans';
  src: url(fonts/open-sans-italic-latin-ext-var.woff2) format('woff2');
  font-weight: 300 800; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url(fonts/playfair-display-latin-ext-var.woff2) format('woff2');
  font-weight: 400 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url(fonts/playfair-display-italic-latin-ext-var.woff2) format('woff2');
  font-weight: 400 900; font-style: italic; font-display: swap;
}
/* do użycia w treści artykułów: <span class="playfair">…</span> */
.playfair { font-family: 'Playfair Display', Georgia, serif; }

body,
input, textarea, select, button,
.article_pages, .sublinks_pages,
.slider .theme-default .thea-caption,
.voteBoxResultAnswer div,
#cookies_accepted,
.mobile_class a,
.contact_data h2, .contact_form h2 {
  font-family: 'Open Sans', Arial, sans-serif;
}

/* =====================================================================
   6. Nagłówki: Open Sans, czarne, pogrubione
   (komunikaty formularzy - .form_errors h2, .save_ok h2 itp. - mają
   mocniejsze selektory i zostają białe na kolorowym tle)
   ===================================================================== */
h1, h1 a, h2, h2 a, h3, h3 a, h4, h4 a, h5, h5 a, h6, h6 a,
.article_title, .article_category_title {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #000;
  font-weight: 700;
}
/* style.css wymusza "normal" w boksach artykułu, system.css daje pomarańczowy h3 */
article > h1, article > h2, article > h3,
article .box_bg > h1, article .box_bg > h2, article .box_bg > h3,
.box_bg h3 a,
.najnowsze_artykuly h2, .najnowsze_komentarze h3 {
  color: #000;
  font-weight: 700;
}
/* tytuł artykułu nieco większy i z ciaśniejszą interlinią */
article > h1 { font-size: 22px; line-height: 1.3; }
/* tytuł wyrównany do lewej (dziedziczył wyjustowanie i rozciągał odstępy między słowami) */
article > h1 { text-align: left; }
/* nagłówki boksów ("Na drogach", "Sport", "Polecamy"...) - to divy, nie h2, więc osobno */
.article_category_component_header .title,
.article_category_component_header .title a,
.polecamy > .title {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #000;
  font-weight: 700;
}

