/*
Theme Name: Kasi News
Theme URI: 
Author: Kasi News
Author URI: 
Description: A bold, magazine-style news blog theme built for South African and township news. Features a dynamic homepage with hero section, magazine grid, featured stories, and opinion sections.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kasinews
Tags: news, magazine, blog, custom-colors, custom-logo, custom-menu, featured-images, responsive-layout, two-columns
*/

/* ─── CSS VARIABLES ─── */
:root {
  --red: #D01C1C;
  --red-dark: #A01515;
  --red-light: #FF2929;
  --black: #0A0A0A;
  --gray-dark: #1A1A1A;
  --gray-mid: #444;
  --gray-light: #888;
  --border: #E0E0E0;
  --bg: #FAFAFA;
  --white: #fff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--bg);
  color: var(--black);
  font-size: 16px;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ─── TOP BAR ─── */
.topbar {
  background: var(--red);
  color: white;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar .ticker { display: flex; gap: 24px; overflow: hidden; }
.topbar .ticker span { opacity: 0.85; }
.topbar .ticker span::before { content: "▶ "; font-size: 8px; }
.topbar-right { display: flex; gap: 16px; opacity: 0.9; }
.topbar-right a { color: white; }
.topbar-right a:hover { opacity: 0.7; }

/* ─── HEADER ─── */
#masthead {
  background: var(--white);
  border-bottom: 4px solid var(--red);
  padding: 0 40px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 16px;
  border-bottom: 1px solid var(--border);
}
.site-branding .site-title {
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 900;
  color: var(--black);
  letter-spacing: -2px;
  line-height: 1;
  margin: 0;
}
.site-branding .site-title a { color: var(--black); }
.site-branding .site-title a span { color: var(--red); }
.site-branding .site-description {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  color: var(--gray-light);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 4px 0 0;
}
.header-right { text-align: right; }
.header-date {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  color: var(--gray-light);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.search-form { display: flex; border: 2px solid var(--black); }
.search-form .search-field {
  border: none; outline: none;
  padding: 6px 12px;
  font-family: 'Barlow', sans-serif;
  font-size: 13px;
  width: 200px;
}
.search-form .search-submit {
  background: var(--black);
  color: white; border: none;
  padding: 6px 14px;
  cursor: pointer;
  font-size: 14px;
}
.search-form .search-submit:hover { background: var(--red); }

/* ─── PRIMARY NAVIGATION ─── */
#site-navigation { padding: 0; }
.main-navigation ul {
  display: flex;
  list-style: none;
  margin: 0; padding: 0;
}
.main-navigation ul li a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 12px 18px;
  color: var(--gray-dark);
  display: block;
  position: relative;
  transition: color 0.2s;
}
.main-navigation ul li:first-child a { padding-left: 0; }
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item a { color: var(--red); }
.main-navigation ul li.current-menu-item a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 18px; right: 18px;
  height: 3px;
  background: var(--red);
}
.main-navigation ul li:first-child.current-menu-item a::after { left: 0; }

/* ─── BREAKING NEWS ─── */
.breaking-news {
  background: var(--black);
  color: white;
  display: flex;
  align-items: center;
  padding: 10px 40px;
  gap: 20px;
  overflow: hidden;
}
.breaking-label {
  background: var(--red);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 12px;
  white-space: nowrap;
  flex-shrink: 0;
}
.breaking-ticker {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  white-space: nowrap;
  animation: scroll-left 35s linear infinite;
}
@keyframes scroll-left {
  0% { transform: translateX(60vw); }
  100% { transform: translateX(-100%); }
}

/* ─── CONTAINER ─── */
.site-content { padding: 0 40px; max-width: 1240px; margin: 0 auto; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 40px; }

/* ─── CATEGORY TAG ─── */
.category-tag {
  display: inline-block;
  background: var(--red);
  color: white;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 3px 10px;
  margin-bottom: 10px;
}

/* ─── ARTICLE META ─── */
.entry-meta-small {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.entry-meta-small a { color: rgba(255,255,255,0.85); }
.entry-meta-dark {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  color: var(--gray-light);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex; gap: 10px; align-items: center;
  margin-top: 8px;
}
.meta-dot { width: 3px; height: 3px; background: var(--gray-light); border-radius: 50%; display: inline-block; }

/* ─── SECTION HEADER ─── */
.section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 40px 0 24px;
  border-bottom: 3px solid var(--black);
  padding-bottom: 10px;
}
.section-header h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  white-space: nowrap;
}
.section-divider { flex: 1; height: 1px; background: var(--border); }
.section-see-all {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--red);
  border-bottom: 1px solid var(--red);
  padding-bottom: 1px;
  white-space: nowrap;
}

/* ─── HERO SECTION ─── */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 340px;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  margin: 32px 0 0;
  background: transparent;
}
.hero-main {
  grid-row: 1 / 3;
  position: relative;
  overflow: hidden;
  background: var(--black);
  min-height: 480px;
}
.hero-main .post-thumbnail {
  width: 100%; height: 100%;
  position: absolute; top: 0; left: 0;
}
.hero-main .post-thumbnail img {
  width: 100%; height: 100%;
  object-fit: cover; opacity: 0.75;
  transition: transform 0.5s ease, opacity 0.3s;
}
.hero-main:hover .post-thumbnail img { transform: scale(1.03); opacity: 0.65; }
.hero-main-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px;
  background: linear-gradient(transparent, rgba(0,0,0,0.92));
}
.hero-main-content .entry-title {
  font-family: 'Playfair Display', serif;
  font-size: 36px; font-weight: 900;
  color: white; line-height: 1.15;
  margin: 10px 0 12px;
}
.hero-main-content .entry-title a { color: white; }
.hero-main-content .entry-title a:hover { color: #ffcccc; }
.hero-main-content .entry-excerpt {
  color: rgba(255,255,255,0.75);
  font-size: 15px; line-height: 1.6;
  margin-bottom: 14px;
}

.hero-side {
  background: var(--white);
  padding: 20px;
  position: relative;
  overflow: hidden;
  border: 2px solid #0a0a0a;
  transition: background 0.2s;
  cursor: pointer;
}
.hero-side:hover { background: #f5f5f5; }
.hero-side:first-of-type { border-bottom: none; }
.hero-side .post-thumbnail img { width: 100%; height: 150px; object-fit: cover; margin-bottom: 12px; }
.hero-side .entry-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 700; line-height: 1.3;
  margin: 8px 0 6px;
}
.hero-side .entry-title a:hover { color: var(--red); }
.hero-side .entry-excerpt { font-size: 13px; color: var(--gray-mid); line-height: 1.5; }

/* ─── MAGAZINE CARD GRID ─── */
.mag-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}
.mag-card { cursor: pointer; transition: transform 0.2s; border: 2px solid #0a0a0a; border-radius: 2px; overflow: hidden; margin-bottom: 20px; }
.mag-card:hover { transform: translateY(-3px); }
.mag-card .post-thumbnail img { width: 100%; aspect-ratio: 3/2; object-fit: cover; margin-bottom: 0; display: block; }
.mag-card .category-tag,
.mag-card .entry-title,
.mag-card .entry-excerpt,
.mag-card .entry-meta-dark,
.mag-card .card-read-more { padding-left: 12px; padding-right: 12px; }
.mag-card .category-tag { margin-top: 12px; display: inline-block; margin-left: 12px; padding-left: 0; padding-right: 0; }
.mag-card .entry-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 700; line-height: 1.3;
  margin: 8px 0 8px;
}
.mag-card .entry-title a:hover { color: var(--red); }
.mag-card .entry-excerpt { font-size: 13px; color: var(--gray-mid); line-height: 1.55; margin-bottom: 8px; }
.mag-card .card-read-more { margin-bottom: 14px; }

/* ─── FEATURED ROW ─── */
.featured-row {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  margin-bottom: 40px;
}
.featured-big .post-thumbnail img { width: 100%; height: 360px; object-fit: cover; }
.featured-big-content {
  background: white;
  padding: 24px;
  border-left: 4px solid var(--red);
}
.featured-big-content .entry-title {
  font-family: 'Playfair Display', serif;
  font-size: 26px; font-weight: 900; line-height: 1.25;
  margin: 8px 0 10px;
}
.featured-big-content .entry-title a:hover { color: var(--red); }
.featured-big-content .entry-excerpt { font-size: 14px; color: var(--gray-mid); line-height: 1.6; }
.featured-big-content .entry-meta-dark { color: var(--gray-mid); margin-top: 14px; }
.featured-big-content .entry-meta-dark a { color: var(--gray-dark); }

.side-list { display: flex; flex-direction: column; }
.side-item {
  display: flex; gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.side-item:last-child { border-bottom: none; }
.side-item .post-thumbnail img { width: 90px; height: 68px; object-fit: cover; flex-shrink: 0; }
.side-item .entry-title {
  font-family: 'Playfair Display', serif;
  font-size: 15px; font-weight: 700; line-height: 1.35;
  margin-bottom: 6px;
}
.side-item .entry-title a:hover { color: var(--red); }
.side-item .entry-meta-dark { color: var(--gray-light); }
.side-item .entry-meta-dark a { color: var(--gray-light); }

/* ─── OPINION SECTION ─── */
.opinion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  margin-bottom: 40px;
}
.opinion-card {
  background: var(--black);
  color: white;
  padding: 32px;
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
}
.opinion-card:hover { background: var(--red-dark); }
.opinion-card::before {
  content: '"';
  font-family: 'Playfair Display', serif;
  font-size: 120px;
  color: rgba(255,255,255,0.06);
  position: absolute; top: -20px; left: 16px;
  line-height: 1;
  pointer-events: none;
}
.opinion-card .op-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--red-light); margin-bottom: 12px;
}
.opinion-card .entry-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 700; line-height: 1.35;
  margin-bottom: 14px; color: white;
}
.opinion-card .entry-title a { color: white; }
.opinion-card .entry-title a:hover { color: #ffcccc; }
.opinion-card .op-author {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; color: rgba(255,255,255,0.5);
  letter-spacing: 1px; text-transform: uppercase;
}

/* ─── SINGLE POST ─── */
.single-post-header {
  max-width: 820px;
  margin: 40px auto 0;
  padding: 0 40px;
}
.single-post-header .entry-title {
  font-family: 'Playfair Display', serif;
  font-size: 44px; font-weight: 900;
  line-height: 1.15; margin: 12px 0 16px;
}
.single-post-header .entry-excerpt {
  font-size: 18px; color: var(--gray-mid);
  line-height: 1.65; margin-bottom: 20px;
  font-style: italic;
}
.single-post-meta {
  display: flex; gap: 20px; align-items: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0; margin-bottom: 30px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; color: var(--gray-light);
  letter-spacing: 1px; text-transform: uppercase;
}
.single-post-meta .author { color: var(--black); font-weight: 700; }
.single-post-thumbnail { max-width: 820px; margin: 0 auto 30px; padding: 0 40px; }
.single-post-thumbnail img { width: 100%; height: 460px; object-fit: cover; }
.single-post-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 40px 60px;
}
.single-post-content .entry-content p {
  font-size: 17px; line-height: 1.85;
  margin-bottom: 24px; color: var(--gray-dark);
}
.single-post-content .entry-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 700;
  margin: 36px 0 16px;
}
.single-post-content .entry-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700;
  margin: 28px 0 12px;
}
.single-post-content .entry-content blockquote {
  border-left: 4px solid var(--red);
  padding: 16px 24px;
  margin: 28px 0;
  background: #fff5f5;
  font-style: italic;
  font-size: 18px; color: var(--gray-dark);
}

/* ─── SIDEBAR ─── */
.widget-area { padding: 32px 0; }
.widget { margin-bottom: 36px; }
.widget-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  border-bottom: 3px solid var(--black);
  padding-bottom: 8px; margin-bottom: 16px;
}
.widget ul { list-style: none; }
.widget ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.widget ul li a:hover { color: var(--red); }

/* ─── PAGINATION ─── */
.pagination {
  display: flex; justify-content: center;
  gap: 8px; padding: 40px 0;
}
.pagination .page-numbers {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px; font-weight: 700;
  letter-spacing: 1px;
  padding: 8px 16px;
  border: 2px solid var(--border);
  color: var(--gray-dark);
  transition: all 0.2s;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--red); color: white; border-color: var(--red);
}

/* ─── FOOTER ─── */
#colophon {
  background: var(--black);
  color: white;
  margin-top: 60px;
}
.footer-widgets {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 50px 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  max-width: 1240px;
  margin: 0 auto;
}
.footer-brand .footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 36px; font-weight: 900;
  margin-bottom: 14px;
}
.footer-brand .footer-logo span { color: var(--red); }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.6; margin-bottom: 16px; }
.footer-col h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--red); margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col ul li {
  font-size: 13px; color: rgba(255,255,255,0.55);
  padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-col ul li a { color: rgba(255,255,255,0.55); }
.footer-col ul li a:hover { color: white; }
.site-info {
  padding: 16px 40px;
  text-align: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px; color: rgba(255,255,255,0.3);
  letter-spacing: 1px; text-transform: uppercase;
  max-width: 1240px;
  margin: 0 auto;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .mag-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-section { grid-template-columns: 1fr; grid-template-rows: auto; }
  .hero-main { grid-row: auto; min-height: 380px; }
  .hero-side { display: none; }
  .featured-row { grid-template-columns: 1fr; }
  .opinion-grid { grid-template-columns: 1fr; }
  .footer-widgets { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .topbar { padding: 6px 20px; }
  #masthead { padding: 0 20px; }
  .site-branding .site-title { font-size: 36px; }
  .breaking-news { padding: 10px 20px; }
  .container, .site-content { padding: 0 20px; }
  .mag-grid { grid-template-columns: 1fr; }
  .header-right { display: none; }
  .main-navigation { overflow-x: auto; }
  .main-navigation ul { flex-wrap: nowrap; }
  .single-post-header, .single-post-thumbnail, .single-post-content { padding: 0 20px; }
  .footer-widgets { grid-template-columns: 1fr; padding: 30px 20px; }

  /* ── Hero main: break out of absolute overlay, stack image above text ── */
  .hero-main {
    display: flex !important;
    flex-direction: column !important;
    min-height: unset !important;
    position: relative !important;
  }
  .hero-main .post-thumbnail {
    position: relative !important;
    width: 100% !important;
    height: 220px !important;
    flex-shrink: 0 !important;
    top: auto !important;
    left: auto !important;
  }
  .hero-main .post-thumbnail img {
    opacity: 1 !important;
    width: 100% !important;
    height: 220px !important;
    object-fit: cover !important;
  }
  .hero-main-content {
    position: relative !important;
    background: var(--black) !important;
    padding: 16px 20px 20px !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
  }
  .hero-main-content .entry-title {
    font-size: 20px !important;
    line-height: 1.2 !important;
    margin: 8px 0 10px !important;
  }
  .hero-main-content .entry-excerpt {
    font-size: 13px !important;
    line-height: 1.5 !important;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* ── Hero side: show below hero main instead of hiding ── */
  .hero-side {
    display: block !important;
    border-top: 2px solid var(--red);
    padding: 16px 20px;
    background: var(--white);
  }
  .hero-side .post-thumbnail img {
    height: 160px !important;
    width: 100% !important;
    object-fit: cover !important;
  }
  .hero-side .entry-title {
    font-size: 16px !important;
    margin: 8px 0 6px !important;
  }

  /* ── Hero section: single column ── */
  .hero-section {
    grid-template-columns: 1fr !important;
    background: transparent;
    gap: 2px;
  }

  /* ── Archive cards ── */
  .archive-card {
    grid-template-columns: 1fr !important;
  }
  .archive-card-thumb {
    height: 200px !important;
    width: 100% !important;
  }
  .archive-card-body {
    padding: 16px 0 0 !important;
  }
}

/* ─── LOGO IMAGE ─── */
.site-logo-img {
    height: 70px;
    width: 70px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    transition: transform 0.2s ease;
}
.site-logo-img:hover {
    transform: scale(1.05);
}
.site-branding-logo a {
    display: inline-block;
}

/* ═══════════════════════════════════════
   CATEGORY COLOUR CODING
═══════════════════════════════════════ */
.cat-politics .category-tag,
.category-tag.cat-politics { background: #1a3a8f; }

.cat-sport .category-tag,
.category-tag.cat-sport { background: #1e8c2f; }

.cat-crime .category-tag,
.category-tag.cat-crime { background: #111111; }

.cat-entertainment .category-tag,
.category-tag.cat-entertainment { background: #9b1dbf; }

.cat-business .category-tag,
.category-tag.cat-business { background: #c47d0e; }

/* Nav category colour accents */
.main-navigation ul li.cat-politics a:hover,
.main-navigation ul li.cat-politics.current-menu-item a { color: #1a3a8f; }
.main-navigation ul li.cat-sport a:hover,
.main-navigation ul li.cat-sport.current-menu-item a { color: #1e8c2f; }
.main-navigation ul li.cat-crime a:hover,
.main-navigation ul li.cat-crime.current-menu-item a { color: #111; }
.main-navigation ul li.cat-entertainment a:hover,
.main-navigation ul li.cat-entertainment.current-menu-item a { color: #9b1dbf; }
.main-navigation ul li.cat-business a:hover,
.main-navigation ul li.cat-business.current-menu-item a { color: #c47d0e; }

/* Category label pills in nav */
.main-navigation .cat-politics a::before { content: ''; display:inline-block; width:8px; height:8px; border-radius:50%; background:#1a3a8f; margin-right:6px; vertical-align:middle; }
.main-navigation .cat-sport a::before { content: ''; display:inline-block; width:8px; height:8px; border-radius:50%; background:#1e8c2f; margin-right:6px; vertical-align:middle; }
.main-navigation .cat-crime a::before { content: ''; display:inline-block; width:8px; height:8px; border-radius:50%; background:#111; margin-right:6px; vertical-align:middle; }
.main-navigation .cat-entertainment a::before { content: ''; display:inline-block; width:8px; height:8px; border-radius:50%; background:#9b1dbf; margin-right:6px; vertical-align:middle; }
.main-navigation .cat-business a::before { content: ''; display:inline-block; width:8px; height:8px; border-radius:50%; background:#c47d0e; margin-right:6px; vertical-align:middle; }

/* ═══════════════════════════════════════
   SOCIAL SHARE BUTTONS
═══════════════════════════════════════ */
.social-share {
    margin: 40px 0;
    padding: 24px 0;
    border-top: 3px solid #0A0A0A;
    border-bottom: 1px solid #E0E0E0;
}
.social-share-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    color: #888; margin-bottom: 14px;
}
.social-share-buttons {
    display: flex; gap: 10px; flex-wrap: wrap;
}
.share-btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase;
    padding: 10px 18px;
    border: none; cursor: pointer;
    text-decoration: none; color: white;
    transition: opacity 0.2s, transform 0.15s;
}
.share-btn:hover { opacity: 0.88; transform: translateY(-2px); color: white; }
.share-btn svg { width: 16px; height: 16px; fill: white; flex-shrink: 0; }
.share-btn.whatsapp { background: #25D366; }
.share-btn.facebook { background: #1877F2; }
.share-btn.twitter  { background: #000000; }
.share-btn.copy-link { background: #444; }

/* ═══════════════════════════════════════
   COMMENTS SECTION
═══════════════════════════════════════ */
.comments-area {
    margin-top: 50px;
    padding-top: 10px;
}
.comments-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    border-bottom: 3px solid #0A0A0A;
    padding-bottom: 10px; margin-bottom: 30px;
}
.comment-list { list-style: none; padding: 0; margin: 0 0 40px; }
.comment-list .comment {
    padding: 20px 0;
    border-bottom: 1px solid #E0E0E0;
}
.comment-list .children {
    list-style: none;
    padding-left: 30px;
    border-left: 3px solid #D01C1C;
    margin-top: 16px;
}
.comment-body { display: flex; gap: 16px; }
.comment-author-avatar img {
    width: 48px; height: 48px;
    border-radius: 50%; object-fit: cover;
    border: 2px solid #E0E0E0;
}
.comment-content-wrap { flex: 1; }
.comment-meta-bar {
    display: flex; align-items: center;
    gap: 12px; margin-bottom: 8px; flex-wrap: wrap;
}
.comment-author-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase;
    color: #0A0A0A;
}
.comment-date {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px; color: #888;
    letter-spacing: 1px; text-transform: uppercase;
}
.comment-content p {
    font-size: 15px; line-height: 1.7;
    color: #333; margin: 0;
}
.comment-reply-link {
    display: inline-block; margin-top: 10px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: #D01C1C; border-bottom: 1px solid #D01C1C;
    padding-bottom: 1px;
}
.comment-reply-link:hover { color: #A01515; }

/* Comment Form */
.comment-respond {
    background: #fff;
    border: 1px solid #E0E0E0;
    border-top: 4px solid #D01C1C;
    padding: 32px;
    margin-top: 40px;
}
.comment-reply-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 18px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    margin-bottom: 24px; color: #0A0A0A;
}
.comment-form-fields-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px; margin-bottom: 16px;
}
.comment-form label {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px; font-weight: 700;
    letter-spacing: 1.5px; text-transform: uppercase;
    color: #888; margin-bottom: 6px;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    border: 2px solid #E0E0E0;
    padding: 10px 14px;
    font-family: 'Barlow', sans-serif;
    font-size: 14px; color: #0A0A0A;
    outline: none;
    transition: border-color 0.2s;
    background: #fafafa;
}
.comment-form input:focus,
.comment-form textarea:focus { border-color: #D01C1C; background: #fff; }
.comment-form textarea { height: 130px; resize: vertical; margin-bottom: 16px; }
.comment-form .form-submit { margin: 0; }
.comment-form .submit {
    background: #D01C1C; color: white;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    border: none; padding: 14px 36px;
    cursor: pointer; transition: background 0.2s;
}
.comment-form .submit:hover { background: #A01515; }
.comment-form p.comment-notes {
    font-size: 12px; color: #888; margin-bottom: 20px;
}

@media (max-width: 600px) {
    .comment-form-fields-row { grid-template-columns: 1fr; }
    .social-share-buttons { gap: 8px; }
    .share-btn { padding: 10px 14px; font-size: 12px; }
    .comment-respond { padding: 20px; }
}

/* ══════════════════════════════════════════════
   ADSENSE UPGRADE STYLES
   ══════════════════════════════════════════════ */

/* ── TOPBAR UTILITY NAV ── */
.topbar { display:flex; justify-content:space-between; align-items:center; background:#0A0A0A; padding:7px 40px; }
.topbar-ticker { display:flex; gap:20px; overflow:hidden; }
.topbar-ticker span { font-family:'Barlow Condensed',sans-serif; font-size:12px; font-weight:600; letter-spacing:1px; text-transform:uppercase; color:rgba(255,255,255,.7); white-space:nowrap; }
.topbar-ticker span::before { content:"▶ "; font-size:8px; opacity:.5; }
.topbar-utility-nav {}
.topbar-nav { list-style:none; margin:0; padding:0; display:flex; gap:0; }
.topbar-nav li a { font-family:'Barlow Condensed',sans-serif; font-size:11px; font-weight:600; letter-spacing:1.2px; text-transform:uppercase; color:rgba(255,255,255,.55); padding:2px 10px; border-right:1px solid rgba(255,255,255,.15); display:block; }
.topbar-nav li:last-child a { border-right:none; }
.topbar-nav li a:hover { color:white; }

/* ── NEW HEADER LAYOUT: Logo Left | Nav Center | Search Right ── */
.site-header { background:#fff; border-bottom:4px solid #D01C1C; position:sticky; top:0; z-index:1000; box-shadow:0 2px 12px rgba(0,0,0,.08); }
.header-inner { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:12px 40px; }

.site-branding { display:flex; align-items:center; gap:14px; flex-shrink:0; }
.site-logo-link { display:block; }
.site-logo-img { height:64px; width:64px; border-radius:50%; object-fit:cover; border:2px solid #e0e0e0; transition:transform .2s; }
.site-logo-img:hover { transform:scale(1.06); }
/* Site name/desc hidden — logo only */
.site-name-wrap { display:none; }
.site-title-text { display:none; }
.site-desc-text { display:none; }

/* Nav CENTER */
.main-navigation { flex:1; display:flex; justify-content:center; }
#primary-menu { display:flex; list-style:none; margin:0; padding:0; flex-wrap:wrap; justify-content:center; }
#primary-menu li a {
    font-family:'Barlow Condensed',sans-serif; font-size:14px; font-weight:700;
    letter-spacing:1.5px; text-transform:uppercase; padding:10px 14px; display:block;
    color:#1A1A1A; position:relative; transition:color .2s;
}
#primary-menu li a:hover { color:#D01C1C; }
#primary-menu li.current-menu-item > a { color:#D01C1C; }
#primary-menu li.current-menu-item > a::after { content:''; position:absolute; bottom:-2px; left:14px; right:14px; height:3px; background:#D01C1C; }
/* Category dots */
#primary-menu .menu-politics > a::before, #primary-menu .cat-politics > a::before { content:''; display:inline-block; width:7px; height:7px; border-radius:50%; background:#1a3a8f; margin-right:5px; vertical-align:middle; }
#primary-menu .menu-business > a::before, #primary-menu .cat-business > a::before { content:''; display:inline-block; width:7px; height:7px; border-radius:50%; background:#c47d0e; margin-right:5px; vertical-align:middle; }
#primary-menu .menu-crime > a::before, #primary-menu .cat-crime > a::before { content:''; display:inline-block; width:7px; height:7px; border-radius:50%; background:#111; margin-right:5px; vertical-align:middle; }
#primary-menu .menu-entertainment > a::before, #primary-menu .cat-entertainment > a::before { content:''; display:inline-block; width:7px; height:7px; border-radius:50%; background:#9b1dbf; margin-right:5px; vertical-align:middle; }
#primary-menu .menu-sport > a::before, #primary-menu .cat-sport > a::before { content:''; display:inline-block; width:7px; height:7px; border-radius:50%; background:#1e8c2f; margin-right:5px; vertical-align:middle; }

/* Search RIGHT — always visible with "Search..." placeholder */
.header-search-wrap { flex-shrink:0; }
.header-search-form { display:flex; border:2px solid #0A0A0A; overflow:hidden; }
.header-search-input { border:none; outline:none; padding:9px 14px; font-family:'Barlow',sans-serif; font-size:14px; width:200px; background:#fff; color:#0A0A0A; }
.header-search-input::placeholder { color:#aaa; }
.header-search-input:focus { background:#FFFDF5; }
.header-search-btn { background:#D01C1C; color:white; border:none; padding:9px 14px; cursor:pointer; display:flex; align-items:center; justify-content:center; transition:background .2s; }
.header-search-btn:hover { background:#A01515; }
.menu-toggle { display:none; background:none; border:2px solid #0A0A0A; padding:8px 12px; cursor:pointer; font-size:18px; }

/* Breaking news — hidden/removed */
.breaking-news { display:none; }

/* ── BREADCRUMBS ── */
.breadcrumbs-wrap { background:#F5F5F5; border-bottom:1px solid #E8E8E8; padding:0 40px; }
.breadcrumbs { max-width:900px; margin:0 auto; padding:10px 0; font-family:'Barlow Condensed',sans-serif; font-size:12px; letter-spacing:.5px; color:#888; display:flex; flex-wrap:wrap; align-items:center; gap:4px; }
.breadcrumbs a { color:#555; transition:color .2s; }
.breadcrumbs a:hover { color:#D01C1C; }
.bc-sep { color:#bbb; font-size:14px; }
.bc-current { color:#D01C1C; font-weight:700; }

/* ── AUTHOR BOX ── */
.author-box {
    display:flex; gap:24px; align-items:flex-start;
    background:#fff; border:2px solid #0A0A0A; border-left:5px solid #D01C1C;
    padding:28px; margin:40px 0; 
}
.author-box-avatar img { border-radius:50%; width:80px; height:80px; object-fit:cover; flex-shrink:0; }
.author-box-info { flex:1; }
.author-box-meta { display:flex; align-items:center; gap:10px; margin-bottom:8px; flex-wrap:wrap; }
.author-box-label { font-family:'Barlow Condensed',sans-serif; font-size:11px; letter-spacing:2px; text-transform:uppercase; color:#888; }
.author-box-name { font-family:'Barlow Condensed',sans-serif; font-size:18px; font-weight:700; letter-spacing:.5px; color:#0A0A0A; text-transform:uppercase; }
.author-box-name:hover { color:#D01C1C; }
.author-box-count { font-family:'Barlow Condensed',sans-serif; font-size:11px; color:#888; letter-spacing:1px; background:#F0F0F0; padding:2px 8px; }
.author-box-bio { font-size:14px; color:#444; line-height:1.65; margin-bottom:12px; }
.author-box-link { font-family:'Barlow Condensed',sans-serif; font-size:12px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:#D01C1C; border-bottom:1px solid #D01C1C; padding-bottom:1px; }
.author-box-link:hover { color:#A01515; border-color:#A01515; }

/* ── CATEGORY ARCHIVE PAGE ── */
.archive-page { max-width:900px; margin:0 auto; padding:40px; }
.archive-header { padding:32px 0 24px; border-bottom:3px solid #0A0A0A; margin-bottom:32px; }
.archive-label { font-family:'Barlow Condensed',sans-serif; font-size:11px; font-weight:700; letter-spacing:3px; text-transform:uppercase; color:#888; margin-bottom:8px; }
.archive-title { font-family:'Playfair Display',serif; font-size:42px; font-weight:900; line-height:1.1; margin-bottom:10px; }
.archive-desc { font-size:15px; color:#555; line-height:1.6; margin-bottom:10px; }
.archive-count { font-family:'Barlow Condensed',sans-serif; font-size:12px; letter-spacing:1px; text-transform:uppercase; color:#888; }
/* Category archive colour strip */
.archive-header.cat-archive-politics { border-bottom-color:#1a3a8f; }
.archive-header.cat-archive-politics .archive-title { color:#1a3a8f; }
.archive-header.cat-archive-sport { border-bottom-color:#1e8c2f; }
.archive-header.cat-archive-sport .archive-title { color:#1e8c2f; }
.archive-header.cat-archive-crime { border-bottom-color:#111; }
.archive-header.cat-archive-entertainment { border-bottom-color:#9b1dbf; }
.archive-header.cat-archive-entertainment .archive-title { color:#9b1dbf; }
.archive-header.cat-archive-business { border-bottom-color:#c47d0e; }
.archive-header.cat-archive-business .archive-title { color:#c47d0e; }

/* Archive card list */
.archive-grid { display:flex; flex-direction:column; gap:0; }
.archive-card { display:grid; grid-template-columns:260px 1fr; gap:0; border-bottom:1px solid #E8E8E8; padding:28px 0; transition:background .2s; }
.archive-card:hover { background:#FAFAFA; }
.archive-card-thumb { overflow:hidden; height:180px; }
.archive-card-thumb img { width:100%; height:100%; object-fit:cover; transition:transform .4s; }
.archive-card:hover .archive-card-thumb img { transform:scale(1.04); }
.archive-card-body { padding:0 0 0 28px; display:flex; flex-direction:column; justify-content:center; }
.archive-card-title { font-family:'Playfair Display',serif; font-size:22px; font-weight:900; line-height:1.25; margin:8px 0 10px; }
.archive-card-title a:hover { color:#D01C1C; }
.archive-card-excerpt { font-size:14px; color:#555; line-height:1.65; margin-bottom:12px; flex:1; }
.archive-card-meta { font-family:'Barlow Condensed',sans-serif; font-size:12px; letter-spacing:.5px; text-transform:uppercase; color:#888; margin-bottom:14px; display:flex; flex-wrap:wrap; gap:6px; align-items:center; }
.meta-sep { color:#ccc; }
.archive-read-more { display:inline-block; font-family:'Barlow Condensed',sans-serif; font-size:12px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:#D01C1C; border-bottom:2px solid #D01C1C; padding-bottom:2px; align-self:flex-start; transition:all .2s; }
.archive-read-more:hover { color:#A01515; border-color:#A01515; }
.card-read-more { display:inline-block; margin-top:10px; font-family:'Barlow Condensed',sans-serif; font-size:12px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:#D01C1C; border-bottom:2px solid #D01C1C; padding-bottom:2px; transition:all .2s; }
.card-read-more:hover { color:#A01515; border-color:#A01515; }
.hero-main-content .card-read-more { color:#fff; border-bottom-color:#fff; margin-top:14px; display:block; }

/* No results */
.no-results { text-align:center; padding:60px 20px; }
.no-results h2 { font-family:'Playfair Display',serif; font-size:28px; margin-bottom:12px; }
.no-results p { color:#666; margin-bottom:24px; }

/* Pagination */
.nav-links { display:flex; justify-content:center; gap:8px; padding:40px 0; }
.page-numbers { font-family:'Barlow Condensed',sans-serif; font-size:14px; font-weight:700; letter-spacing:1px; padding:8px 16px; border:2px solid #ddd; color:#444; transition:all .2s; }
.page-numbers:hover { background:#D01C1C; border-color:#D01C1C; color:white; }
.page-numbers.current { background:#0A0A0A; border-color:#0A0A0A; color:white; }

/* ── SINGLE POST UPDATES ── */
.single-post-header { max-width:900px; margin:0 auto; padding:40px 40px 0; }
.single-post-meta { display:flex; gap:10px; align-items:center; flex-wrap:wrap; font-family:'Barlow Condensed',sans-serif; font-size:13px; text-transform:uppercase; letter-spacing:.5px; color:#888; margin-top:12px; }
.single-post-meta .dot { color:#ccc; }
.single-post-thumbnail { max-width:900px; margin:24px auto 0; padding:0 40px; }
.single-post-thumbnail img { width:100%; max-height:520px; object-fit:cover; }
.thumbnail-caption { font-size:12px; color:#888; font-style:italic; margin-top:8px; text-align:center; }
.single-post-content { max-width:900px; margin:0 auto; padding:32px 40px 40px; }
.post-tags { margin-bottom:24px; font-family:'Barlow Condensed',sans-serif; font-size:12px; letter-spacing:1px; text-transform:uppercase; color:#888; display:flex; flex-wrap:wrap; gap:8px; align-items:center; }
.tags-label { font-weight:700; color:#444; }
.post-tags a { background:#F0F0F0; color:#444; padding:3px 10px; transition:background .2s; }
.post-tags a:hover { background:#D01C1C; color:white; }
.post-navigation { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin:32px 0; padding-top:28px; border-top:3px solid #0A0A0A; }
.nav-prev, .nav-next { display:flex; flex-direction:column; gap:8px; }
.nav-next { text-align:right; align-items:flex-end; }
.nav-direction { font-family:'Barlow Condensed',sans-serif; font-size:11px; letter-spacing:2px; text-transform:uppercase; color:#888; }
.nav-title { font-family:'Playfair Display',serif; font-size:17px; font-weight:700; line-height:1.3; color:#0A0A0A; }
.nav-title:hover { color:#D01C1C; }

/* ── FOOTER ── */
.site-footer { background:#0A0A0A; color:white; margin-top:60px; }
.footer-widgets-wrap { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:40px; max-width:1240px; margin:0 auto; padding:50px 40px 40px; border-bottom:1px solid rgba(255,255,255,.08); }
.footer-brand { }
/* Footer logo — image only, no text */
.footer-logo { display:block; margin-bottom:14px; }
.footer-logo-img { height:70px; width:70px; border-radius:50%; object-fit:cover; }
.footer-tagline { font-family:'Barlow Condensed',sans-serif; font-size:11px; letter-spacing:1.5px; text-transform:uppercase; color:rgba(255,255,255,.4); margin-bottom:10px; }
.footer-about { font-size:13px; color:rgba(255,255,255,.45); line-height:1.65; }
.footer-col h4 { font-family:'Barlow Condensed',sans-serif; font-size:13px; font-weight:700; letter-spacing:2px; text-transform:uppercase; color:#D01C1C; margin-bottom:16px; }
.footer-col ul { list-style:none; padding:0; margin:0; }
.footer-col ul li { font-size:13px; color:rgba(255,255,255,.5); padding:5px 0; border-bottom:1px solid rgba(255,255,255,.05); }
.footer-col ul li a { color:rgba(255,255,255,.5); transition:color .2s; }
.footer-col ul li a:hover { color:white; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.06); }
.footer-bottom-inner { max-width:1240px; margin:0 auto; padding:16px 40px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px; }
.footer-copy { font-family:'Barlow Condensed',sans-serif; font-size:12px; letter-spacing:1px; color:rgba(255,255,255,.3); text-transform:uppercase; }
.footer-legal-list { list-style:none; margin:0; padding:0; display:flex; gap:0; }
.footer-legal-list li a { font-family:'Barlow Condensed',sans-serif; font-size:11px; letter-spacing:1px; text-transform:uppercase; color:rgba(255,255,255,.3); padding:2px 12px; border-right:1px solid rgba(255,255,255,.1); }
.footer-legal-list li:last-child a { border-right:none; }
.footer-legal-list li a:hover { color:rgba(255,255,255,.7); }

/* ── CATEGORY TAGS (colours) ── */
.category-tag { display:inline-block; background:#D01C1C; color:white; font-family:'Barlow Condensed',sans-serif; font-size:11px; font-weight:700; letter-spacing:2px; text-transform:uppercase; padding:3px 10px; margin-bottom:8px; transition:opacity .2s; }
.category-tag:hover { opacity:.85; }
.category-tag.cat-politics     { background:#1a3a8f; }
.category-tag.cat-sport        { background:#1e8c2f; }
.category-tag.cat-crime        { background:#111; }
.category-tag.cat-entertainment { background:#9b1dbf; }
.category-tag.cat-business     { background:#c47d0e; }
.category-tag.cat-lifestyle    { background:#0e8c8c; }
.category-tag.cat-opinion      { background:#8c1a1a; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .footer-widgets-wrap { grid-template-columns:1fr 1fr; }
    .archive-card { grid-template-columns:200px 1fr; }
}
@media (max-width: 768px) {
    .topbar { flex-direction:column; gap:8px; padding:8px 20px; }
    .header-inner { padding:10px 20px; flex-wrap:wrap; gap:10px; }
    .main-navigation { order:3; width:100%; flex-basis:100%; }
    .menu-toggle {
      display: block;
      background: var(--red);
      border: none;
      color: white;
      font-size: 22px;
      padding: 8px 14px;
      cursor: pointer;
      border-radius: 4px;
      line-height: 1;
    }
    #primary-menu { display:none; flex-direction:column; width:100%; background:#fff; border-top:1px solid #eee; }

    /* Hero overrides (belt-and-braces in case first block is overridden) */
    .hero-section { grid-template-columns: 1fr !important; }
    .hero-main { display:flex !important; flex-direction:column !important; min-height:unset !important; }
    .hero-main .post-thumbnail { position:relative !important; height:220px !important; top:auto !important; left:auto !important; }
    .hero-main .post-thumbnail img { opacity:1 !important; height:220px !important; object-fit:cover !important; }
    .hero-main-content { position:relative !important; background:var(--black) !important; bottom:auto !important; padding:16px 20px 20px !important; }
    .hero-main-content .entry-title { font-size:20px !important; }
    .hero-side { display:block !important; }
    #primary-menu.open { display:flex; }
    #primary-menu li a { padding:12px 20px; border-bottom:1px solid #eee; }
    .site-name-wrap { display:none; }
    .breadcrumbs-wrap, .breadcrumbs { padding-left:20px; padding-right:20px; }
    .archive-card { grid-template-columns:1fr; }
    .archive-card-thumb { height:200px; }
    .archive-card-body { padding:16px 0 0; }
    .archive-page { padding:20px; }
    .single-post-header { padding:20px 20px 0; }
    .single-post-thumbnail { padding:0 20px; }
    .single-post-content { padding:20px; }
    .author-box { flex-direction:column; }
    .footer-widgets-wrap { grid-template-columns:1fr; gap:24px; padding:30px 20px; }
    .footer-bottom-inner { flex-direction:column; text-align:center; }
    .footer-legal-list { flex-wrap:wrap; justify-content:center; }
}
