/*
Theme Name: Germany IPTV Pro Blog
Theme URI: https://germany-iptvpro.de/blog/
Author: Germany IPTV Pro
Author URI: https://germany-iptvpro.de/
Description: Eigenständiges, schnelles WordPress-Blog-Theme im Germany-IPTV-Pro-Design mit Kategorien, Suche, Autorenprofilen und responsiven Artikelkarten.
Version: 5.0.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: germany-iptv-pro-blog
*/

@font-face {
  font-family: Montserrat;
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/montserrat-latin-variable.woff2") format("woff2");
}

:root {
  --ink: #171512;
  --muted: #6f695f;
  --cream: #f1ece2;
  --paper: #faf9f6;
  --soft: #f4f1eb;
  --gold: #ffc727;
  --gold-dark: #a87508;
  --red: #d92732;
  --deep-red: #741c25;
  --green: #25d366;
  --line: #ded8ce;
  --shadow: 0 22px 55px rgba(39, 31, 20, .11);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Montserrat, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input { font: inherit; }
.wrap { width: calc(100% - 36px); max-width: 1180px; margin-inline: auto; }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.announcement {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 6px 18px;
  border-bottom: 1px solid #5b242b;
  background: #38151a;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .15em;
  text-align: center;
}
.announcement span { color: var(--gold); }
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
  border-bottom: 1px solid #cfc5b5;
  background: rgba(241, 236, 226, .97);
}
.nav {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 0;
}
.logo img {
  display: block;
  width: 148px;
  height: 46px;
  object-fit: contain;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-left: auto;
}
.primary-nav a {
  color: #28241e;
  font-size: 12px;
  font-weight: 750;
  transition: color .2s ease;
}
.primary-nav a:hover,
.primary-nav .is-current { color: var(--deep-red); }
.header-search {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid #c7bba8;
  border-radius: 50%;
  background: var(--gold);
  padding: 0;
  cursor: pointer;
}
.header-search-panel[hidden] { display: none; }
.header-search-panel {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: start center;
  padding: 128px 18px 30px;
}
.header-search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 13, 10, .68);
  backdrop-filter: blur(5px);
}
.header-search-dialog {
  position: relative;
  width: min(650px, 100%);
  padding: 30px;
  border: 1px solid rgba(255, 199, 39, .35);
  border-radius: 18px;
  background: #f8f5ef;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .3);
}
.header-search-dialog > label {
  display: block;
  margin-bottom: 16px;
  color: var(--deep-red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.header-search-close {
  position: absolute;
  top: 13px;
  right: 15px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #e7e0d4;
  color: #211e19;
  font-size: 22px;
  cursor: pointer;
}
.header-search-field {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 7px 6px 17px;
  border: 1px solid #d7cec0;
  border-radius: 12px;
  background: #fff;
}
.header-search-field svg {
  width: 21px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--deep-red);
  stroke-width: 2;
}
.header-search-field input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}
.header-search-field button {
  align-self: stretch;
  padding-inline: 20px;
  border: 0;
  border-radius: 9px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}
.header-search-dialog > p {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 10px;
}
.search-is-open { overflow: hidden; }
.header-search svg {
  width: 19px;
  fill: none;
  stroke: #15120d;
  stroke-width: 2;
}
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 21px;
  border: 0;
  border-radius: 9px;
  background: var(--gold);
  color: #171208;
  font-size: 12px;
  font-weight: 900;
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); background: #ffd557; }
.nav-cta { min-height: 43px; white-space: nowrap; }
.hamb {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid #b9ad9b;
  border-radius: 8px;
  background: #ded5c7;
  color: #1d1a16;
  font-size: 21px;
}

.blog-main { min-height: 70vh; }
.blog-hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 68px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 199, 39, .24), transparent 30%),
    radial-gradient(circle at 65% 38%, rgba(217, 39, 50, .09), transparent 31%),
    linear-gradient(180deg, #fff, #f6f4ef);
}
.blog-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(23, 21, 18, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 21, 18, .022) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent);
}
.blog-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--deep-red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 3px solid rgba(217, 39, 50, .18);
  border-radius: 50%;
  background: var(--red);
}
.blog-hero h1 {
  max-width: 960px;
  margin: 0 auto 14px;
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: 1.04;
  letter-spacing: -.055em;
}
.blog-hero > .wrap > p,
.blog-hero-inner > p {
  max-width: 780px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}
.blog-search {
  width: min(720px, 100%);
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 30px auto 20px;
  padding: 7px 8px 7px 23px;
  border: 1px solid rgba(217, 39, 50, .25);
  border-radius: 999px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 18px 40px rgba(42, 32, 20, .1);
}
.blog-search svg {
  width: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--deep-red);
  stroke-width: 2;
}
.blog-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}
.blog-search input::placeholder { color: #989188; }
.blog-search button {
  align-self: stretch;
  min-width: 112px;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}
.category-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}
.category-pills a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 16px;
  border: 1px solid #e4ded4;
  border-radius: 999px;
  background: #fff;
  font-size: 11px;
  font-weight: 850;
  box-shadow: 0 9px 24px rgba(37, 29, 18, .07);
}
.category-pills a:hover,
.category-pills .is-active {
  border-color: var(--deep-red);
  background: var(--deep-red);
  color: #fff;
}
.category-pills span {
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(217, 39, 50, .1);
  color: var(--deep-red);
  font-size: 9px;
}
.category-pills .is-active span { background: rgba(255, 255, 255, .2); color: #fff; }

.blog-results { padding: 66px 0 90px; }
.results-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}
.results-heading a { color: var(--deep-red); }
.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.post-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 35px rgba(45, 35, 21, .07);
  transition: transform .25s ease, box-shadow .25s ease;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.post-card-image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #211c17;
}
.post-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .45s ease;
}
.post-card:hover .post-card-image img { transform: scale(1.035); }
.reading-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 11px;
  border-radius: 999px;
  background: var(--deep-red);
  color: #fff;
  font-size: 9px;
  font-weight: 850;
  box-shadow: 0 8px 20px rgba(116, 28, 37, .25);
}
.post-card-body { padding: 21px 21px 23px; }
.post-card-category {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 13px;
  color: #8a8379;
  font-size: 9px;
  font-weight: 750;
}
.post-card-category span { color: var(--deep-red); }
.post-card-category span::before { content: "•"; margin-right: 6px; color: var(--gold-dark); }
.post-card h2 {
  margin: 12px 0 11px;
  font-size: 20px;
  line-height: 1.32;
  letter-spacing: -.035em;
}
.post-card h2 a:hover { color: var(--deep-red); }
.post-excerpt {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.post-excerpt p { margin: 0; }
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--deep-red);
  font-size: 11px;
  font-weight: 900;
}
.read-more span { transition: transform .2s ease; }
.read-more:hover span { transform: translateX(4px); }
.empty-state {
  grid-column: 1 / -1;
  padding: 65px 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
}
.empty-state h2 { margin: 0 0 12px; }
.empty-state p { margin: 0 0 22px; color: var(--muted); }
.pagination { margin-top: 44px; }
.pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.pagination .page-numbers {
  min-width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding-inline: 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  font-size: 11px;
  font-weight: 800;
}
.pagination .current { border-color: var(--deep-red); background: var(--deep-red); color: #fff; }

.blog-cta { padding: 0 0 82px; }
.blog-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 38px 42px;
  border: 1px solid rgba(255, 199, 39, .32);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 90% 10%, rgba(217, 39, 50, .3), transparent 34%),
    #191714;
  color: #fff;
}
.blog-cta span { color: var(--gold); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.blog-cta h2 { margin: 8px 0; font-size: 28px; }
.blog-cta p { max-width: 680px; margin: 0; color: #c9c1b5; font-size: 12px; line-height: 1.65; }

.site-footer {
  padding: 58px 0 0;
  border-top: 1px solid #c9beae;
  background: #e7e0d4;
  color: #211e19;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.55fr repeat(3, 1fr);
  gap: 52px;
  padding-bottom: 45px;
}
.footer-brand p {
  max-width: 320px;
  margin: 18px 0;
  color: #4e483f;
  font-size: 12px;
  line-height: 1.7;
}
.site-footer h3 {
  margin: 4px 0 18px;
  color: #9e1720;
  font-size: 12px;
}
.site-footer li { list-style: none; }
.site-footer ul { margin: 0; padding: 0; }
.footer-grid > div > a:not(.logo):not(.button),
.site-footer li a {
  display: block;
  margin: 11px 0;
  color: #741c25;
  font-size: 11px;
  font-weight: 700;
}
.button.ghost {
  border: 1px solid #9e1720;
  background: transparent;
  color: #211e19;
}
.footer-bottom {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #c9beae;
  color: #5b5349;
  font-size: 10px;
}
.float-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 25px;
}

.article-main { padding: 76px 0 95px; background: var(--paper); }
.article {
  max-width: 980px;
}
.article-header {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}
.article-header h1 {
  margin: 12px 0 20px;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -.05em;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}
.article-meta a { color: var(--deep-red); }
.article-image {
  margin: 0 0 45px;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.article-image img { display: block; width: 100%; }
.entry-content {
  max-width: 760px;
  margin-inline: auto;
  color: #3f3a33;
  font-size: 17px;
  line-height: 1.9;
}
.entry-content h2,
.entry-content h3 {
  margin-top: 2em;
  color: var(--ink);
  line-height: 1.25;
}
.entry-content a { color: var(--deep-red); text-decoration: underline; }
.entry-content img { border-radius: 14px; }
.entry-content blockquote {
  margin: 32px 0;
  padding: 23px 28px;
  border-left: 4px solid var(--gold);
  background: #f1ece2;
}
.author-box {
  max-width: 760px;
  display: flex;
  gap: 23px;
  margin: 58px auto 0;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.author-box img,
.author-avatar img { border-radius: 50%; }
.author-box span { color: var(--deep-red); font-size: 9px; font-weight: 900; }
.author-box h2 { margin: 5px 0 8px; }
.author-box p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.author-hero { padding: 72px 0; background: linear-gradient(145deg, #fff, #f1ece2); }
.author-profile {
  display: grid;
  grid-template-columns: 190px 1fr;
  align-items: center;
  gap: 44px;
}
.author-profile h1 { margin: 8px 0 9px; font-size: 48px; }
.author-profile p { max-width: 720px; color: var(--muted); line-height: 1.7; }
.author-stats { display: flex; flex-wrap: wrap; gap: 9px; }
.author-stats span { padding: 9px 13px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 10px; }
.page-article { min-height: 65vh; padding: 72px 0 90px; }
.page-article > header { max-width: 760px; margin: 0 auto 38px; text-align: center; }
.page-article h1 { font-size: clamp(38px, 5vw, 62px); }

@media (max-width: 1020px) {
  .primary-nav { gap: 16px; }
  .nav-cta { display: none; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.35fr repeat(3, 1fr); gap: 30px; }
}

@media (max-width: 780px) {
  .announcement { gap: 8px; letter-spacing: .07em; }
  .site-header { height: 66px; }
  .logo img { width: 132px; height: 41px; }
  .header-search { margin-left: auto; }
  .hamb { display: block; margin-left: 0; }
  .primary-nav {
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 12px 18px 18px;
    border-bottom: 1px solid #cfc5b5;
    background: #f1ece2;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 12px 4px; }
  .blog-hero { padding: 58px 0 54px; }
  .blog-search { min-height: 58px; }
  .blog-search button { min-width: 90px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-cta-inner { align-items: flex-start; flex-direction: column; }
  .author-profile { grid-template-columns: 140px 1fr; }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 28px); }
  .announcement { min-height: 30px; font-size: 7px; letter-spacing: .025em; }
  .header-search { width: 40px; height: 40px; }
  .header-search-panel { padding-top: 95px; }
  .header-search-dialog { padding: 25px 16px 18px; }
  .header-search-field { padding-left: 13px; }
  .header-search-field button { padding-inline: 14px; }
  .blog-hero h1 { font-size: 38px; }
  .blog-hero-inner > p { font-size: 14px; }
  .blog-search { padding-left: 16px; }
  .blog-search input { font-size: 12px; }
  .blog-search button { min-width: 76px; font-size: 10px; }
  .category-pills { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
  .category-pills::-webkit-scrollbar { display: none; }
  .category-pills a { flex: 0 0 auto; }
  .blog-results { padding: 45px 0 66px; }
  .post-grid { grid-template-columns: 1fr; }
  .post-card h2 { font-size: 19px; }
  .blog-cta-inner { padding: 28px 23px; }
  .blog-cta h2 { font-size: 23px; }
  .footer-grid { grid-template-columns: 1fr; gap: 27px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding: 17px 0; }
  .float-wa { right: 15px; bottom: 15px; width: 52px; height: 52px; }
  .article-main { padding-top: 52px; }
  .article-header h1 { font-size: 36px; }
  .entry-content { font-size: 16px; }
  .author-box { align-items: center; flex-direction: column; text-align: center; }
  .author-profile { grid-template-columns: 1fr; text-align: center; }
  .author-avatar { margin-inline: auto; }
  .author-stats { justify-content: center; }
}
