/*
Theme Name: India Threads
Theme URI: https://yoursite.com
Author: Your Name
Author URI: https://yoursite.com
Description: A bold, dark editorial news theme with clean typography and modern layout. Built for Indian news and lifestyle content.
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ipl-hub
Tags: blog, news, custom-menu, featured-images, post-thumbnails, two-columns, right-sidebar
*/

/* ─────────────────────────────────────────
   ROOT VARIABLES
───────────────────────────────────────── */
:root {
  --gold:        #FFD23F;
  --orange:      #FF5C1A;
  --deep:        #0A0A0A;
  --surface:     #111111;
  --card:        #181818;
  --card-hover:  #1f1f1f;
  --text:        #E8E8E8;
  --muted:       #888888;
  --border:      #222222;
  --border-hover:#333333;
  --accent-blue: #00C2FF;
  --radius:      8px;
  --max-w:       900px;
  --max-wide:    1280px;
}

/* ─────────────────────────────────────────
   RESET & BASE
───────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', 'Segoe UI', sans-serif;
  background: var(--deep);
  color: var(--text);
  font-size: 18px;
  line-height: 1.75;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover { color: var(--orange); }

/* ─────────────────────────────────────────
   TYPOGRAPHY
───────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Bebas Neue', 'Impact', sans-serif;
  line-height: 1;
  color: #fff;
}

h1 { font-size: clamp(48px, 7vw, 96px); letter-spacing: 2px; }
h2 { font-size: clamp(34px, 5vw, 60px); letter-spacing: 2px; margin-bottom: 24px; }
h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--orange);
  text-transform: uppercase;
  margin: 40px 0 12px;
}
h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 28px 0 8px;
}

p { margin-bottom: 20px; }

.hl { color: var(--gold); }

/* ─────────────────────────────────────────
   LAYOUT CONTAINERS
───────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

.wide-container {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 28px;
}

#page { min-height: 100vh; }

#content {
  display: flex;
  gap: 48px;
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 56px 40px;
  align-items: flex-start;
}

#primary { flex: 1; min-width: 0; }

/* ─────────────────────────────────────────
   SITE HEADER
───────────────────────────────────────── */
#masthead {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(12px);
}

.header-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

/* Site Branding */
.site-branding { display: flex; align-items: center; gap: 12px; }

/* Brand link — the "INDIA THREADS" logo text */
.brand-link {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  letter-spacing: 3px;
  line-height: 1;
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 0;
}

.brand-white { color: #ffffff; }
.brand-gold  { color: var(--gold); }

.brand-link:hover .brand-white { color: #e0e0e0; }
.brand-link:hover .brand-gold  { color: var(--orange); }

/* Legacy site-title (used in footer) */
.site-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 3px;
  color: #fff;
  line-height: 1;
  margin: 0;
}

.site-title a { color: #fff; }
.site-title a:hover { color: var(--gold); }
.site-title span { color: var(--gold); }

.site-description {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
}

/* Navigation */
#site-navigation { display: flex; align-items: center; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  flex-wrap: wrap;
}

.nav-menu li { position: relative; }

.nav-menu a {
  display: block;
  padding: 8px 14px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current-page-ancestor > a {
  color: var(--gold);
  background: rgba(255, 210, 63, 0.08);
}

/* Dropdown */
.nav-menu .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  min-width: 200px;
  z-index: 100;
  padding: 6px;
  list-style: none;
}

.nav-menu li:hover > .sub-menu { display: block; }

.nav-menu .sub-menu a {
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 13px;
}

/* Mobile Nav Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ─────────────────────────────────────────
   HOMEPAGE HERO — Generic News
───────────────────────────────────────── */
.site-hero {
  position: relative;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 72px 40px 64px;
  overflow: hidden;
}

/* Subtle geometric accent — no IPL imagery */
.site-hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -80px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255,92,26,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.site-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
}

.hero-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.hero-text-block { max-width: 680px; }

.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--orange);
}

.hero-brand-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(56px, 8vw, 104px);
  line-height: 0.92;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.hero-brand-title .hero-brand-accent { color: var(--gold); }

.hero-tagline {
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  color: var(--muted);
  letter-spacing: 0.5px;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  color: var(--gold);
  line-height: 1;
}

.hero-stat-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

/* Hero right — featured category pills */
.hero-cats {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.hero-cat-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.hero-cat-link:hover { border-color: var(--gold); color: var(--gold); }
.hero-cat-link .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

/* ─────────────────────────────────────────
   BADGES & PILLS
───────────────────────────────────────── */
.badge {
  background: var(--orange);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 2px;
  display: inline-block;
}

.badge-gold { background: var(--gold); color: var(--deep); }

.cat-pill {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 10px;
}

.cat-pill:hover { background: var(--gold); color: var(--deep); }

/* ─────────────────────────────────────────
   STAT GRID
───────────────────────────────────────── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin: 36px 0;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s;
}

.stat-card:hover { border-color: var(--gold); }

.stat-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--gold));
}

.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 46px;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 6px;
}

.stat-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─────────────────────────────────────────
   BLOG LISTING — POST CARDS
───────────────────────────────────────── */
.posts-loop { display: flex; flex-direction: column; gap: 0; }

.post-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 28px;
  transition: transform 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
}

.post-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1080 / 765;
  background: #141414;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}

.post-card:hover .post-card-image img { transform: scale(1.03); }

.post-card-body { padding: 28px 28px 24px; flex: 1; display: flex; flex-direction: column; }

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.post-card-date {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

.post-card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(26px, 4vw, 40px);
  letter-spacing: 1.5px;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1;
  transition: color 0.2s;
}

.post-card-title a { color: #fff; }
.post-card-title a:hover { color: var(--gold); }

.post-card-excerpt {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}

.post-card-excerpt p { margin: 0; color: var(--muted); }

.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: auto;
  gap: 16px;
  flex-wrap: wrap;
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--orange);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 4px;
  transition: background 0.2s, transform 0.15s;
}

.read-more-btn:hover {
  background: var(--gold);
  color: var(--deep);
  transform: translateX(2px);
}

.read-more-btn::after { content: '→'; }

.post-author-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

/* Sticky post marker */
.sticky .post-card {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

/* ─────────────────────────────────────────
   SINGLE POST
───────────────────────────────────────── */
.single-hero {
  position: relative;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 40px;
}

.single-hero-image {
  aspect-ratio: 16/7;
  overflow: hidden;
}

.single-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-hero-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px 36px 36px;
  background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, transparent 100%);
}

.single-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(38px, 6vw, 72px);
  letter-spacing: 2px;
  color: #fff;
  line-height: 0.95;
  margin-bottom: 20px;
}

.single-meta-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.single-meta-bar a { color: var(--muted); }
.single-meta-bar a:hover { color: var(--gold); }

/* Post Content */
.entry-content {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text);
}

.entry-content h2 {
  font-size: clamp(30px, 4vw, 50px);
  margin-top: 48px;
  margin-bottom: 20px;
  color: #fff;
}

.entry-content h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 36px 0 12px;
}

.entry-content p { margin-bottom: 22px; }

.entry-content ul,
.entry-content ol {
  padding-left: 24px;
  margin-bottom: 22px;
}

.entry-content li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.entry-content blockquote {
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  padding: 28px 0;
  margin: 40px 0;
  text-align: center;
}

.entry-content blockquote p {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 700;
  font-style: italic;
  color: #fff;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.entry-content a { color: var(--gold); text-decoration: underline; text-decoration-color: transparent; }
.entry-content a:hover { text-decoration-color: var(--gold); }

.entry-content strong { color: #fff; font-weight: 700; }

.entry-content img {
  border-radius: var(--radius);
  margin: 28px 0;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 16px;
}

.entry-content table thead tr { background: var(--orange); }
.entry-content table th {
  padding: 13px 16px;
  text-align: left;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
}
.entry-content table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--card);
}
.entry-content table tbody tr:hover td { background: var(--card-hover); }

.entry-content .wp-block-image figcaption {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin-top: 8px;
}

/* Post Footer */
.post-tags-row {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.post-tags-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.post-tag {
  display: inline-block;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  padding: 5px 13px;
  border-radius: 20px;
  margin: 4px;
  font-family: 'Barlow', sans-serif;
  transition: all 0.15s;
}

.post-tag:hover { border-color: var(--gold); color: var(--gold); }

/* Post Navigation */
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.nav-previous, .nav-next {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: border-color 0.2s;
}

.nav-previous:hover, .nav-next:hover { border-color: var(--gold); }
.nav-next { text-align: right; }

.nav-subtitle {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}

.nav-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  display: block;
  transition: color 0.2s;
}

.nav-previous a:hover .nav-title,
.nav-next a:hover .nav-title { color: var(--gold); }

/* ─────────────────────────────────────────
   DIVIDER
───────────────────────────────────────── */
.ipl-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 40px 0;
}

.ipl-divider::before, .ipl-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.ipl-divider-icon { color: var(--gold); font-size: 18px; }

/* ─────────────────────────────────────────
   PULLQUOTE (standalone block)
───────────────────────────────────────── */
.pullquote-block {
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  padding: 30px 0;
  margin: 48px 0;
  text-align: center;
}

.pullquote-block p {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 700;
  font-style: italic;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.2;
}

.pullquote-block cite {
  font-size: 13px;
  color: var(--muted);
  font-style: normal;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ─────────────────────────────────────────
   SIDEBAR
───────────────────────────────────────── */
#secondary {
  width: 320px;
  flex-shrink: 0;
}

.widget {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  margin-bottom: 24px;
}

.widget-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--orange);
}

.widget ul {
  list-style: none;
  padding: 0;
}

.widget ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.widget ul li:last-child { border-bottom: none; }

.widget ul li a { color: var(--text); }
.widget ul li a:hover { color: var(--gold); }

/* Category widget - hide post counts */
.widget_categories .post-count,
.widget_categories ul li .count,
.widget_archive .post-count,
.widget_archive ul li .count {
  display: none;
}
  display: inline-block;
  border: 1px solid var(--border);
  color: var(--muted) !important;
  font-size: 12px !important;
  padding: 4px 12px;
  border-radius: 20px;
  margin: 3px;
  transition: all 0.15s;
}

.widget_tag_cloud a:hover {
  border-color: var(--gold);
  color: var(--gold) !important;
}

.widget_search .search-field {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 10px 14px;
  color: var(--text);
  font-size: 15px;
  margin-bottom: 8px;
}

.widget_search .search-submit {
  width: 100%;
  background: var(--orange);
  border: none;
  border-radius: 4px;
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px;
  cursor: pointer;
  transition: background 0.2s;
}

.widget_search .search-submit:hover { background: var(--gold); color: var(--deep); }

/* ─────────────────────────────────────────
   PAGINATION
───────────────────────────────────────── */
.pagination,
.paging-navigation {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 40px 0;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.15s;
}

.page-numbers:hover,
.page-numbers.current {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.page-numbers.dots {
  background: transparent;
  border-color: transparent;
  color: var(--muted);
}

/* ─────────────────────────────────────────
   COMMENTS
───────────────────────────────────────── */
.comments-area {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.comments-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 32px;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.comment {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.comment-avatar img { border-radius: 50%; }

.comment-meta-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.comment-author-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.comment-date {
  font-size: 12px;
  color: var(--muted);
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 1px;
}

.comment-text p { font-size: 16px; color: var(--text); margin-bottom: 8px; }

.comment-reply-link {
  font-size: 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
}

/* Comment Form */
.comment-respond {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  margin-top: 32px;
}

.comment-reply-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 20px;
}

.comment-form label {
  display: block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 12px 16px;
  color: var(--text);
  font-size: 15px;
  margin-bottom: 16px;
  font-family: 'Barlow', sans-serif;
  transition: border-color 0.2s;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.comment-form textarea { min-height: 120px; resize: vertical; }

.comment-form .form-submit { margin: 0; }

.comment-form .submit {
  background: var(--orange);
  border: none;
  border-radius: 4px;
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 28px;
  cursor: pointer;
  transition: background 0.2s;
}

.comment-form .submit:hover { background: var(--gold); color: var(--deep); }

/* ─────────────────────────────────────────
   ARCHIVE HEADER
───────────────────────────────────────── */
.archive-banner {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 5px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 32px 28px;
  margin-bottom: 36px;
}

.archive-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}

.archive-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 5vw, 54px);
  letter-spacing: 2px;
  color: #fff;
  line-height: 1;
  margin-bottom: 10px;
}

.archive-description { color: var(--muted); font-size: 16px; }
.archive-description p { margin: 0; color: var(--muted); }

/* ─────────────────────────────────────────
   NO RESULTS
───────────────────────────────────────── */
.no-results-block {
  text-align: center;
  padding: 80px 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.no-results-icon { font-size: 64px; margin-bottom: 20px; }

.no-results-block h2 {
  font-size: 36px;
  margin-bottom: 12px;
}

.no-results-block p { color: var(--muted); }

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
#colophon {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 28px 28px;
}

.footer-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

/* Trending / Featured section on homepage */
.homepage-featured {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 40px 56px;
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 2px;
  color: #fff;
}

.section-title .hl { color: var(--gold); }

.section-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.featured-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}

.featured-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
}

.featured-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #141414;
}

.featured-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.featured-card:hover .featured-card-img img { transform: scale(1.04); }

.featured-card-body { padding: 18px; }

.featured-card-cat {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
  display: block;
}

.featured-card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}

.featured-card-title a { color: #fff; }
.featured-card-title a:hover { color: var(--gold); }

.featured-card-date {
  font-size: 12px;
  color: var(--muted);
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 1px;
  margin-top: 8px;
  display: block;
}

/* Category highlight bar */
.cat-highlight-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 40px;
}

.cat-highlight-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cat-bar-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 8px;
  white-space: nowrap;
}

.cat-bar-link {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text);
  padding: 5px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: all 0.15s;
}

.cat-bar-link:hover { border-color: var(--gold); color: var(--gold); }

.footer-brand .site-title {
  font-size: 32px;
  margin-bottom: 8px;
}

.footer-brand .site-description { font-size: 12px; }

.footer-widget h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
  margin-top: 0;
}

.footer-widget ul {
  list-style: none;
  padding: 0;
}

.footer-widget ul li {
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.footer-widget ul li:last-child { border-bottom: none; }

.footer-widget ul li a { color: var(--text); }
.footer-widget ul li a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-size: 13px;
  color: var(--muted);
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 1px;
}

.footer-nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-nav ul li a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-nav ul li a:hover { color: var(--gold); }

/* ─────────────────────────────────────────
   RELATED POSTS
───────────────────────────────────────── */
.related-posts-section {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.related-posts-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 24px;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.related-post-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}

.related-post-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
}

.related-post-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.related-post-card-body { padding: 16px; }

.related-post-card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.related-post-card-title a { color: #fff; }
.related-post-card-title a:hover { color: var(--gold); }

/* ─────────────────────────────────────────
   SEARCH FORM
───────────────────────────────────────── */
.search-form {
  display: flex;
  gap: 8px;
}

.search-field {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 10px 16px;
  color: var(--text);
  font-size: 15px;
}

.search-submit {
  background: var(--orange);
  border: none;
  border-radius: 4px;
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 20px;
  cursor: pointer;
  transition: background 0.2s;
}

.search-submit:hover { background: var(--gold); color: var(--deep); }

/* ─────────────────────────────────────────
   UTILITY CLASSES
───────────────────────────────────────── */
.screen-reader-text {
  border: 0;
  clip: rect(1px,1px,1px,1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.clearfix::after { content:''; display:table; clear:both; }

/* ─────────────────────────────────────────
   ANIMATIONS
───────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 1200px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > *:last-child { display: none; }
  #secondary { width: 280px; }
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-cats { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 768px) {
  #content { flex-direction: column; padding: 32px 18px; gap: 32px; }
  #secondary { width: 100%; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .header-inner { padding: 0 18px; }
  .menu-toggle { display: flex; align-items: center; gap: 8px; }
  #site-navigation { display: none; }
  #site-navigation.toggled { display: block; position: absolute; top: 68px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--border); padding: 16px 18px; z-index: 999; }
  #site-navigation .nav-menu { flex-direction: column; gap: 0; }
  #site-navigation .nav-menu a { padding: 12px 4px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .post-navigation { grid-template-columns: 1fr; }
  .nav-next { text-align: left; }
  .single-hero-overlay { padding: 24px 20px; }
  .site-hero { padding: 40px 18px 40px; }
  .homepage-featured, .cat-highlight-bar { padding-left: 18px; padding-right: 18px; }
  .featured-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .post-card-body { padding: 20px; }
  .comment-respond { padding: 22px 18px; }
}








/* To Make the check tick in green rather than black*/
.check img.emoji {
    filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(86deg) brightness(118%) contrast(119%);
}