/* ============================================================
   ЖЕНСКИЙ ТЕННИС В РОССИИИ — Main Stylesheet
   ============================================================ */

:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --accent: #f59e0b;
  --tennis-ball: #c8e63c;
  --bg: #f8fafc;
  --text: #1e293b;
  --text-light: #64748b;
  --header-bg: #1a3a6b;
  --footer-bg: #1a1a2e;
  --card-bg: #ffffff;
  --border: #e2e8f0;
  --link: #2563eb;
  --link-hover: #1e40af;

  --cat-novosti: #2563eb;
  --cat-turniry: #16a34a;
  --cat-analitika: #f59e0b;
  --cat-tennisistki: #e11d48;
  --cat-istoriya: #7c3aed;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'PT Sans', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
a { color: var(--link); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--link-hover); }
h1, h2, h3, h4, h5, h6 {
  font-family: 'PT Serif', serif;
  font-weight: 700;
  line-height: 1.3;
}

/* ---- Layout ---- */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}
.wide-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================================
   HEADER — Tennis Court Design
   ============================================================ */

.site-header {
  background: linear-gradient(180deg, #0d2347 0%, #1a3a6b 55%, #1565c0 100%);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

/* Court line overlay */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      transparent calc(50% - 0.5px),
      rgba(255,255,255,0.07) calc(50% - 0.5px),
      rgba(255,255,255,0.07) calc(50% + 0.5px),
      transparent calc(50% + 0.5px)),
    linear-gradient(180deg,
      transparent calc(100% - 2px),
      rgba(255,255,255,0.18) calc(100% - 2px));
  pointer-events: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  transition: padding 0.3s ease;
}

.site-header.compact .header-inner { padding: 8px 24px; }

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: width 0.3s, height 0.3s;
  flex-shrink: 0;
}

.site-header.compact .logo-wrap { width: 36px; height: 36px; }

.header-site-name {
  color: #fff;
  font-family: 'PT Serif', serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
}
.header-site-name em {
  display: block;
  font-style: normal;
  font-family: 'PT Sans', sans-serif;
  font-size: 10px;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

/* Navigation */
.site-nav ul {
  display: flex;
  gap: 2px;
  align-items: center;
}
.site-nav a {
  color: rgba(255,255,255,0.82);
  font-family: 'PT Sans', sans-serif;
  font-weight: 700;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 7px 11px;
  border-radius: 4px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}
.site-nav a:hover, .site-nav a.active {
  color: #fff;
  background: rgba(255,255,255,0.13);
}

/* Mobile menu */
.menu-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: #fff;
  width: 40px;
  height: 36px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.menu-toggle:hover { background: rgba(255,255,255,0.1); }

/* ============================================================
   FOOTER — Tennis Net Design
   ============================================================ */

.site-footer {
  background: var(--footer-bg);
  color: #e2e8f0;
  margin-top: 72px;
}

.footer-net {
  width: 100%;
  height: 42px;
  background: #12122a;
  position: relative;
  overflow: hidden;
}
.footer-net::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg,
      rgba(255,255,255,0.12) 0, rgba(255,255,255,0.12) 1px,
      transparent 1px, transparent 28px),
    repeating-linear-gradient(180deg,
      rgba(255,255,255,0.12) 0, rgba(255,255,255,0.12) 1px,
      transparent 1px, transparent 10px);
}
.footer-net::after {
  content: '';
  position: absolute;
  top: 0; left: 50%; bottom: 0;
  width: 4px;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.28);
}

.footer-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 36px 24px 28px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: center;
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.09);
}
.footer-nav a {
  color: #94a3b8;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--tennis-ball); }

.footer-bottom {
  text-align: center;
  color: #475569;
  font-size: 13px;
  line-height: 1.7;
}
.footer-bottom a { color: #64748b; }
.footer-bottom a:hover { color: var(--tennis-ball); }

/* ============================================================
   HERO SECTION
   ============================================================ */

.hero-section {
  background: linear-gradient(135deg, #0d2347 0%, #1e40af 60%, #1565c0 100%);
  padding: 64px 24px 56px;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg,
      transparent 0, transparent 79px,
      rgba(255,255,255,0.04) 79px, rgba(255,255,255,0.04) 80px),
    repeating-linear-gradient(180deg,
      transparent 0, transparent 79px,
      rgba(255,255,255,0.04) 79px, rgba(255,255,255,0.04) 80px);
  pointer-events: none;
}
/* Ball decoration */
.hero-section::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(200, 230, 60, 0.07);
  pointer-events: none;
}

.hero-inner {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  text-align: center;
}

.hero-inner h1 {
  color: #fff;
  font-size: clamp(26px, 4vw, 46px);
  margin-bottom: 18px;
}

.hero-line {
  display: block;
  width: 72px;
  height: 3px;
  background: var(--tennis-ball);
  margin: 14px auto 22px;
  border-radius: 2px;
}

.hero-inner p {
  color: rgba(255,255,255,0.78);
  font-size: 17px;
  max-width: 580px;
  margin: 0 auto 32px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-family: 'PT Sans', sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,99,235,0.35);
}
.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px) rotate(-0.8deg);
  box-shadow: 0 8px 24px rgba(37,99,235,0.45);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.45);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
  transform: translateY(-2px) rotate(0.8deg);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================================
   SECTION TITLES
   ============================================================ */

.section-title-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 44px 20px 24px;
}
.section-title {
  font-size: 26px;
  color: var(--text);
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--primary);
  margin-top: 10px;
  border-radius: 2px;
}
.section-title-wrap p {
  margin-top: 10px;
  color: var(--text-light);
  font-size: 15px;
}

/* ============================================================
   ARTICLE CARDS
   ============================================================ */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding: 0 20px 48px;
  max-width: 960px;
  margin: 0 auto;
}

.card {
  background: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 14px rgba(0,0,0,0.07);
  border: 1px solid var(--border);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
  position: relative;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.13);
}

/* Category stripe */
.card-stripe {
  height: 4px;
  background: var(--primary);
}
.card-stripe.novosti    { background: var(--cat-novosti); }
.card-stripe.turniry    { background: var(--cat-turniry); }
.card-stripe.analitika  { background: var(--cat-analitika); }
.card-stripe.tennisistki{ background: var(--cat-tennisistki); }
.card-stripe.istoriya   { background: var(--cat-istoriya); }

.card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.32s ease;
}
.card:hover .card-image img { transform: scale(1.05); }

/* Tennis ball corner marker */
.card-marker {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--tennis-ball);
  box-shadow: 0 2px 8px rgba(0,0,0,0.22);
  z-index: 1;
}
.card-marker::before,
.card-marker::after {
  content: '';
  position: absolute;
  border: 1.5px solid rgba(255,255,255,0.65);
  border-radius: 50%;
  top: 5px; bottom: 5px; left: -3px; right: -3px;
}
.card-marker::before {
  border-left-color: transparent;
  border-right-color: transparent;
  transform: rotate(28deg);
}
.card-marker::after {
  border-left-color: transparent;
  border-right-color: transparent;
  transform: rotate(-28deg);
}

.card-body { padding: 16px 18px 20px; }

.card-cat {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 9px;
  display: inline-block;
  color: var(--primary);
}
.card-cat.novosti    { color: var(--cat-novosti); }
.card-cat.turniry    { color: var(--cat-turniry); }
.card-cat.analitika  { color: var(--cat-analitika); }
.card-cat.tennisistki{ color: var(--cat-tennisistki); }
.card-cat.istoriya   { color: var(--cat-istoriya); }

.card-title {
  font-family: 'PT Serif', serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 9px;
}
.card-title a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s;
}
.card-title a:hover { color: var(--primary); }

.card-excerpt {
  font-size: 13.5px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-date {
  font-size: 11.5px;
  color: #94a3b8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */

.breadcrumbs-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 20px 4px;
}
.breadcrumbs {
  font-size: 13px;
  color: var(--text-light);
}
.breadcrumbs a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs .sep { margin: 0 7px; color: #cbd5e1; }
.breadcrumbs span:last-child { color: var(--text); }

/* ============================================================
   CATEGORY PAGE HEADER
   ============================================================ */

.category-hero {
  background: linear-gradient(135deg, #0d2347 0%, #1a3a6b 55%, #1565c0 100%);
  padding: 52px 24px 44px;
  position: relative;
  overflow: hidden;
  margin-bottom: 8px;
}
.category-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg,
    transparent 0, transparent 39px,
    rgba(255,255,255,0.04) 39px, rgba(255,255,255,0.04) 40px);
  pointer-events: none;
}
.category-hero-inner {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}
.category-hero h1 {
  color: #fff;
  font-size: clamp(24px, 3.5vw, 38px);
  margin-bottom: 4px;
}
.category-hero h1::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--tennis-ball);
  margin-top: 11px;
  border-radius: 2px;
}
.category-hero p {
  color: rgba(255,255,255,0.72);
  font-size: 15px;
  margin-top: 16px;
  max-width: 560px;
}
.cat-count-badge {
  display: inline-block;
  background: rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.88);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  margin-top: 14px;
}

/* ============================================================
   ARTICLE PAGE
   ============================================================ */

.article-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 16px 20px 64px;
}

article.single {
  background: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 18px rgba(0,0,0,0.07);
  border: 1px solid var(--border);
  padding: 44px 48px;
}

.article-cat-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 18px;
  background: var(--primary);
  color: #fff;
}
.article-cat-badge.novosti    { background: var(--cat-novosti); }
.article-cat-badge.turniry    { background: var(--cat-turniry); }
.article-cat-badge.analitika  { background: var(--cat-analitika); }
.article-cat-badge.tennisistki{ background: var(--cat-tennisistki); }
.article-cat-badge.istoriya   { background: var(--cat-istoriya); }

.article-h1 {
  font-size: clamp(22px, 3vw, 34px);
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 0;
}
.article-h1::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: var(--primary);
  margin-top: 14px;
  border-radius: 2px;
}

.article-meta {
  display: flex;
  gap: 20px;
  margin-top: 18px;
  margin-bottom: 24px;
  font-size: 12.5px;
  color: #94a3b8;
  align-items: center;
  flex-wrap: wrap;
}
.article-meta .date {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.article-meta .author-tag {
  color: var(--text-light);
}

.article-cover {
  width: calc(100% + 96px);
  margin-left: -48px;
  margin-right: -48px;
  aspect-ratio: 16/7;
  overflow: hidden;
  margin-bottom: 32px;
}
.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---- Article body (entry-content) ---- */
.entry-content {
  font-size: 17px;
  line-height: 1.78;
  color: var(--text);
}
.entry-content p { margin-bottom: 20px; }
.entry-content h2 {
  font-size: 24px;
  margin: 36px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
  color: var(--text);
}
.entry-content h3 {
  font-size: 20px;
  margin: 28px 0 13px;
  color: var(--text);
}
.entry-content h4 {
  font-size: 17px;
  margin: 22px 0 10px;
  color: var(--text);
}
.entry-content ul,
.entry-content ol {
  margin: 0 0 22px 26px;
}
.entry-content ul li { list-style-type: disc; }
.entry-content ol li { list-style-type: decimal; }
.entry-content li { margin-bottom: 8px; }

.entry-content blockquote {
  margin: 30px 0;
  padding: 20px 26px;
  background: #f0f7ff;
  border-left: 4px solid var(--primary);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #334155;
  font-size: 17px;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  font-size: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.entry-content th {
  background: var(--primary);
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-family: 'PT Sans', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.entry-content td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
}
.entry-content tr:last-child td { border-bottom: none; }
.entry-content tr:nth-child(even) td { background: #f8fafc; }
.entry-content tr:hover td { background: #eff6ff; }

.entry-content a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.entry-content a:hover { color: var(--primary-dark); }

.entry-content .infobox {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  padding: 22px 26px;
  margin: 30px 0;
}
.entry-content .infobox::before {
  content: '★ На заметку';
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--primary);
  margin-bottom: 10px;
  font-style: normal;
}

.entry-content .stat-block {
  background: linear-gradient(135deg, #0d2347, #2563eb);
  color: #fff;
  padding: 28px 32px;
  border-radius: 10px;
  margin: 30px 0;
  text-align: center;
}
.entry-content .stat-block .number {
  font-size: 52px;
  font-family: 'PT Serif', serif;
  font-weight: 700;
  display: block;
  line-height: 1.1;
  color: var(--tennis-ball);
}
.entry-content .stat-block .label {
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  margin-top: 6px;
  display: block;
}
.entry-content img {
  width: 100%;
  border-radius: 8px;
  margin: 28px 0;
}

/* Article tags area */
.article-tags-area {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.article-tags-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
  margin-bottom: 12px;
  display: block;
}

/* Tag pills */
a.tag-pill {
  display: inline-block;
  padding: 5px 14px;
  background: #f1f5f9;
  color: #475569;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid #e2e8f0;
  margin: 3px 3px 3px 0;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
a.tag-pill:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Tag cloud widget */
.tags-cloud { line-height: 2; }

/* ============================================================
   AUTHOR WIDGET
   ============================================================ */

.author-widget {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 28px 32px;
  max-width: 920px;
  margin: 0 auto 48px;
  display: flex;
  gap: 22px;
  align-items: flex-start;
}
.author-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'PT Serif', serif;
  font-size: 26px;
  font-weight: 700;
  flex-shrink: 0;
  border: 3px solid #bfdbfe;
}
.author-info h3 { font-size: 17px; margin-bottom: 5px; }
.author-info p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* ============================================================
   SECTION DIVIDER
   ============================================================ */

.court-divider {
  height: 2px;
  max-width: 920px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--border) 20%, var(--border) 80%, transparent);
}

/* ============================================================
   TAG PAGE
   ============================================================ */

.tag-page-header {
  background: linear-gradient(135deg, #0d2347, #1565c0);
  padding: 48px 24px 40px;
  margin-bottom: 8px;
  position: relative;
  overflow: hidden;
}
.tag-page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg,
    transparent 0, transparent 39px,
    rgba(255,255,255,0.04) 39px, rgba(255,255,255,0.04) 40px);
  pointer-events: none;
}
.tag-page-header-inner {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}
.tag-page-header h1 {
  color: #fff;
  font-size: 34px;
}
.tag-page-header h1::after {
  content: '';
  display: block;
  width: 44px;
  height: 3px;
  background: var(--tennis-ball);
  margin-top: 10px;
  border-radius: 2px;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */

.anim-slide {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.48s ease, transform 0.48s ease;
}
.anim-slide.visible {
  opacity: 1;
  transform: translateX(0);
}

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

@media (max-width: 820px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }

  .site-nav {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: #1a3a6b;
    padding: 16px 20px 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    z-index: 99;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 2px; }
  .site-nav a { display: block; padding: 11px 14px; }
  .menu-toggle { display: flex; }

  article.single { padding: 28px 24px; }
  .article-cover {
    width: calc(100% + 48px);
    margin-left: -24px;
    margin-right: -24px;
  }

  .author-widget { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 540px) {
  .cards-grid { grid-template-columns: 1fr; }
  .hero-inner h1 { font-size: 24px; }
  article.single { padding: 22px 18px; }
  .article-cover {
    width: calc(100% + 36px);
    margin-left: -18px;
    margin-right: -18px;
  }
  .section-title { font-size: 22px; }
}
