/*
Theme Name: Kurunzi News
Theme URI: https://www.kurunzinews.com
Author: Kurunzi News Team
Author URI: https://www.kurunzinews.com
Description: Professional editorial news theme for Kurunzi News - A modern, responsive WordPress theme designed for local Kenyan news with advanced editorial features, customizable layouts, and SEO optimization.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kurunzi-news
Tags: news, magazine, editorial, responsive, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready, block-styles, wide-blocks

Kurunzi News WordPress Theme, Copyright 2026
*/

/* ===================================
   CSS RESET & BASE STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #2c247a;
    --primary-red: #d52635;
    --dark-blue: #1a1560;
    --light-blue: #4a3fb5;
    --accent-red: #ff3347;
    --text-dark: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --heading-font: 'Georgia', 'Times New Roman', serif;
    --body-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

.site-container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--bg-white);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-red);
}

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

/* ===================================
   HEADER STYLES
   =================================== */
.site-header {
    background-color: var(--bg-white);
    border-bottom: 4px solid var(--primary-red);
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Push content down to account for fixed header */
/* Sticky header - no padding needed */
body {
    padding-top: 0;
}

body.admin-bar .site-header {
    top: 32px;
}
    padding-top: 212px;
}

@media screen and (max-width: 782px) {
    body.admin-bar {
        padding-top: 226px;
    }
}

.header-top {
    background-color: var(--primary-blue);
    color: var(--bg-white);
    padding: 8px 0;
}

.header-top-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.header-date {
    display: flex;
    align-items: center;
    gap: 15px;
}

.breaking-news {
    background-color: var(--primary-red);
    padding: 3px 12px;
    border-radius: 3px;
    font-weight: bold;
    animation: pulse 2s infinite;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.header-social {
    display: flex;
    gap: 12px;
}

.header-social a {
    color: var(--bg-white);
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
}

.header-social a:hover {
    background-color: var(--primary-red);
    transform: translateY(-2px);
}

.header-main {
    padding: 15px 0;
    background-color: var(--bg-white);
}

.header-main-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.header-search-left {
    justify-self: start;
}

.site-branding {
    justify-self: center;
    text-align: center;
}

.site-branding a {
    text-decoration: none;
    display: inline-block;
}

.site-logo img {
    max-height: 50px;
    width: auto;
    display: block;
    margin: 0 auto;
}

.site-title {
    font-family: var(--heading-font);
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-blue);
    margin: 0;
    line-height: 1;
    transition: color 0.3s ease;
}

.site-branding a:hover .site-title {
    color: var(--primary-red);
}

.site-title span.news {
    color: var(--primary-red);
}

.site-description {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 3px;
    display: none;
}

.header-subscribe-right {
    justify-self: end;
}

.header-search {
    position: relative;
}

.search-form {
    display: flex;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.search-form:focus-within {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(44, 36, 122, 0.1);
}

.search-form input[type="search"] {
    border: none;
    padding: 10px 20px;
    font-size: 14px;
    width: 220px;
    outline: none;
}

.search-form button {
    background-color: var(--primary-blue);
    color: var(--bg-white);
    border: none;
    padding: 10px 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-form button:hover {
    background-color: var(--primary-red);
}

.subscribe-button {
    background: var(--primary-red);
    color: var(--bg-white);
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.subscribe-button:hover {
    background: var(--primary-blue);
    color: var(--bg-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(213, 38, 53, 0.3);
}

/* ===================================
   NAVIGATION MENU
   =================================== */
.main-navigation {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 14px 22px;
    color: var(--bg-white);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a {
    background-color: var(--primary-red);
    color: var(--bg-white);
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--primary-red);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu > li > a:hover::after {
    width: 70%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background-color: var(--primary-red);
    color: var(--bg-white);
    border: none;
    padding: 10px 15px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 5px;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    z-index: 10;
}

.mobile-menu-toggle:hover {
    background-color: var(--primary-blue);
}

.mobile-menu-toggle i {
    transition: transform 0.3s ease;
}

.mobile-menu-toggle.active i {
    transform: rotate(90deg);
}

/* ===================================
   HOMEPAGE SECTIONS
   =================================== */
.site-content {
    padding: 30px 0;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-red);
}

.section-title {
    font-family: var(--heading-font);
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-blue);
    position: relative;
    padding-left: 20px;
    text-transform: lowercase;
}

.section-title::first-letter {
    text-transform: uppercase;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 30px;
    background-color: var(--primary-red);
}

.section-link {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
}

.section-link:hover {
    color: var(--primary-blue);
}

/* Featured Section - Hero Layout */
.featured-section {
    margin-bottom: 40px;
}

.featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.featured-main {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 500px;
}

.featured-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-main:hover img {
    transform: scale(1.1);
}

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.3));
    padding: 30px;
    color: var(--bg-white);
}

.featured-category {
    background-color: var(--primary-red);
    color: var(--bg-white);
    padding: 5px 15px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}

.featured-title {
    font-family: var(--heading-font);
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.3;
    color: var(--bg-white);
    text-transform: lowercase;
}

.featured-title::first-letter {
    text-transform: uppercase;
}

.featured-title a {
    color: var(--bg-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-title a:hover {
    color: var(--primary-red);
}

.featured-meta {
    font-size: 14px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--bg-white);
}

.featured-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.featured-sidebar-post {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 240px;
}

.featured-sidebar-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-sidebar-post:hover img {
    transform: scale(1.1);
}

/* News Grid Layout - 6 Posts */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.news-card {
    background-color: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.news-card-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.1);
}

.news-card-content {
    padding: 20px;
}

.post-category {
    background-color: transparent;
    color: var(--primary-blue);
    padding: 0;
    border-radius: 0;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.post-category.red {
    color: var(--primary-red);
}

.news-card-title {
    font-family: var(--heading-font);
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
    color: var(--text-dark);
}

.news-card-excerpt {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: var(--text-light);
}

.post-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-avatar {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    object-fit: cover;
}

/* Business Section - Mixed Layout */
.business-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 25px;
    margin-bottom: 40px;
}

.business-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.business-large {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 350px;
}

.business-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.business-large:hover img {
    transform: scale(1.1);
}

.business-large .featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.3));
    padding: 25px;
    color: var(--bg-white);
}

.business-large .featured-title {
    color: var(--bg-white);
    font-size: 24px;
}

.business-large .featured-title a {
    color: var(--bg-white);
}

.business-large .featured-title a:hover {
    color: var(--primary-red);
}

.business-sidebar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.business-small {
    display: flex;
    gap: 15px;
    background-color: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.business-small:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    transform: translateX(5px);
}

.business-small-image {
    width: 150px;
    height: 120px;
    flex-shrink: 0;
    overflow: hidden;
}

.business-small-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.business-small:hover .business-small-image img {
    transform: scale(1.1);
}

.business-small-content {
    padding: 15px;
    flex: 1;
}

/* Politics Section - List + Grid */
.politics-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.politics-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.politics-item {
    display: flex;
    gap: 20px;
    background-color: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    padding: 15px;
}

.politics-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.politics-image {
    width: 200px;
    height: 150px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.politics-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.politics-item:hover .politics-image img {
    transform: scale(1.1);
}

.politics-content {
    flex: 1;
}

.politics-sidebar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* Newsletter Signup */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    padding: 40px;
    border-radius: 10px;
    margin: 40px 0;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.newsletter-icon {
    font-size: 48px;
    color: var(--primary-red);
    margin-bottom: 15px;
}

.newsletter-title {
    font-family: var(--heading-font);
    font-size: 28px;
    font-weight: bold;
    color: var(--bg-white);
    margin-bottom: 10px;
}

.newsletter-description {
    color: var(--bg-white);
    opacity: 0.9;
    margin-bottom: 25px;
    font-size: 16px;
}

.newsletter-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    outline: none;
}

.newsletter-form button {
    background-color: var(--primary-red);
    color: var(--bg-white);
    border: none;
    padding: 15px 40px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.newsletter-form button:hover {
    background-color: #aa0000;
    transform: scale(1.05);
}

/* Tech Section - Card Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.tech-card {
    background-color: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

/* Sports Section - Featured + List */
.sports-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.sports-featured {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 400px;
}

.sports-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sports-featured:hover img {
    transform: scale(1.1);
}

.sports-featured .featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.3));
    padding: 25px;
    color: var(--bg-white);
}

.sports-featured .featured-title {
    color: var(--bg-white);
    font-size: 26px;
}

.sports-featured .featured-title a {
    color: var(--bg-white);
}

.sports-featured .featured-title a:hover {
    color: var(--primary-red);
}

.sports-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sports-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background-color: var(--bg-white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.sports-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    transform: translateX(5px);
}

.sports-thumb {
    width: 100px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 5px;
    overflow: hidden;
}

/* Exclusive Section - Premium Look */
.exclusive-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.exclusive-section .section-title {
    color: var(--primary-red);
}

.exclusive-section .section-title::before {
    background-color: gold;
}

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

.exclusive-card {
    background-color: #333;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.exclusive-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(204, 0, 0, 0.4);
    border-color: var(--primary-red);
}

.exclusive-card .news-card-image {
    position: relative;
}

.exclusive-card .news-card-content {
    background-color: #333;
}

.exclusive-card .news-card-title {
    color: var(--bg-white);
    text-transform: lowercase;
}

.exclusive-card .news-card-title::first-letter {
    text-transform: uppercase;
}

.exclusive-card .news-card-title a {
    color: var(--bg-white);
}

.exclusive-card .news-card-title a:hover {
    color: var(--primary-red);
}

.exclusive-card .news-card-excerpt {
    color: #ccc;
}

.exclusive-card .post-meta {
    color: #999;
}

.exclusive-badge {
    background: linear-gradient(135deg, gold 0%, #ffd700 100%);
    color: #000;
    padding: 5px 15px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
    border-radius: 3px;
}

/* Counties Section - Regional Grid */
.counties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

/* Entertainment Section - Magazine Style */
.entertainment-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 25px;
    margin-bottom: 40px;
}

.entertainment-featured {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 450px;
}

.entertainment-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.entertainment-featured:hover img {
    transform: scale(1.1);
}

.entertainment-featured .featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.3));
    padding: 30px;
    color: var(--bg-white);
}

.entertainment-featured .featured-title {
    color: var(--bg-white);
    font-size: 30px;
}

.entertainment-featured .featured-title a {
    color: var(--bg-white);
}

.entertainment-featured .featured-title a:hover {
    color: var(--primary-red);
}

.entertainment-sidebar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* Opinions Section - Author Focus */
.opinions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.opinion-card {
    background-color: var(--bg-white);
    border-left: 5px solid var(--primary-red);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.opinion-card:hover {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    transform: translateX(5px);
}

.opinion-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.opinion-author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-blue);
}

.opinion-author-info h4 {
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 3px;
}

.opinion-author-info p {
    font-size: 13px;
    color: var(--text-light);
}

.opinion-title {
    font-family: var(--heading-font);
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--text-dark);
}

/* Videos Section - Video Grid */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.video-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background-color: var(--bg-white);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 24px;
    transition: all 0.3s ease;
}

.video-card:hover .video-play-icon {
    transform: translate(-50%, -50%) scale(1.2);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    color: var(--bg-white);
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
}

/* ===================================
   SINGLE POST STYLES
   =================================== */
.single-post-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.single-post-main {
    min-width: 0;
}

.single-post-header {
    margin-bottom: 30px;
}

.single-post-category {
    color: var(--primary-blue);
    padding: 0;
    border-radius: 0;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.single-post-title {
    font-family: var(--heading-font);
    font-size: 42px;
    font-weight: bold;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 15px;
    text-transform: lowercase;
}

.single-post-title::first-letter {
    text-transform: uppercase;
}

.single-post-subtitle {
    font-size: 20px;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.5;
    font-weight: normal;
}

.single-post-meta {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.single-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.single-author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-blue);
}

.single-author-name {
    font-weight: bold;
    color: var(--primary-blue);
}

.single-post-date,
.single-post-reading-time {
    color: var(--text-light);
    font-size: 14px;
}

.single-post-featured-image {
    margin: 30px 0;
    border-radius: 10px;
    overflow: hidden;
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
}

.single-post-content {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
}

.single-post-content p {
    margin-bottom: 20px;
}

.single-post-content h2,
.single-post-content h3 {
    font-family: var(--heading-font);
    font-weight: bold;
    color: var(--primary-blue);
    margin: 30px 0 15px;
    text-transform: lowercase;
}

.single-post-content h2::first-letter,
.single-post-content h3::first-letter {
    text-transform: uppercase;
}

.single-post-content h2 {
    font-size: 32px;
}

.single-post-content h3 {
    font-size: 26px;
}

.single-post-content ul,
.single-post-content ol {
    margin: 20px 0 20px 40px;
}

.single-post-content li {
    margin-bottom: 10px;
}

.single-post-content blockquote {
    border-left: 5px solid var(--primary-red);
    padding: 20px 30px;
    margin: 30px 0;
    background-color: var(--bg-light);
    font-style: italic;
    font-size: 20px;
    color: var(--text-dark);
}

.single-post-tags {
    margin: 40px 0;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.tags-title {
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-item {
    background-color: var(--bg-light);
    color: var(--primary-blue);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.tag-item:hover {
    background-color: var(--primary-blue);
    color: var(--bg-white);
    border-color: var(--primary-blue);
}

.single-post-share {
    margin: 30px 0;
}

.share-title {
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.share-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.share-button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 18px;
    transition: all 0.3s ease;
}

.share-button:hover {
    transform: scale(1.15);
}

.share-button.facebook { background-color: #3b5998; }
.share-button.twitter { background-color: #000000; }
.share-button.linkedin { background-color: #0077b5; }
.share-button.whatsapp { background-color: #25d366; }

/* Author Bio Box */
.author-bio-box {
    margin: 40px 0;
    padding: 30px;
    background-color: var(--bg-light);
    border-radius: 10px;
    border: 2px solid var(--border-color);
}

.author-bio-header {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.author-bio-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-blue);
    flex-shrink: 0;
}

.author-bio-info h3 {
    font-family: var(--heading-font);
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 5px;
    text-transform: lowercase;
}

.author-bio-info h3::first-letter {
    text-transform: uppercase;
}

.author-bio-role {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.author-bio-description {
    color: var(--text-dark);
    line-height: 1.6;
}

.author-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.author-social a {
    color: var(--primary-blue);
    font-size: 18px;
    transition: all 0.3s ease;
}

.author-social a:hover {
    color: var(--primary-red);
    transform: scale(1.2);
}

/* Related Posts */
.related-posts {
    margin: 60px 0;
}

.related-posts-title {
    font-family: var(--heading-font);
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-red);
    text-transform: lowercase;
}

.related-posts-title::first-letter {
    text-transform: uppercase;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

/* ===================================
   AUTHOR PROFILE PAGE
   =================================== */
.author-profile-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--bg-white);
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 40px;
}

.author-profile-avatar-large {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--bg-white);
    margin: 0 auto 20px;
}

.author-profile-name {
    font-family: var(--heading-font);
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
}

.author-profile-role {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.author-profile-bio {
    max-width: 700px;
    margin: 0 auto 20px;
    font-size: 16px;
    line-height: 1.6;
}

.author-profile-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.author-stat {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: bold;
    display: block;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
    text-transform: uppercase;
}

.author-posts-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.author-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* ===================================
   SIDEBAR WIDGETS
   =================================== */
.sidebar {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
}

.widget {
    background-color: var(--bg-white);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.widget-title {
    font-family: var(--heading-font);
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-red);
    text-transform: lowercase;
}

.widget-title::first-letter {
    text-transform: uppercase;
}

.widget-post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    align-items: flex-start;
}

.widget-post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.widget-post-thumb {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 5px;
    overflow: hidden;
}

.widget-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.widget-post-thumb:hover img {
    transform: scale(1.1);
}

.widget-post-content {
    flex: 1;
}

.widget-post-title {
    font-size: 14px;
    font-weight: bold;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 5px;
    text-transform: lowercase;
}

.widget-post-title::first-letter {
    text-transform: uppercase;
}

.widget-post-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.widget-post-title a:hover {
    color: var(--primary-red);
}

.widget-post-date {
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.widget-newsletter {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--bg-white);
}

.widget-newsletter .widget-title {
    color: var(--bg-white);
    border-bottom-color: var(--primary-red);
}

.widget-newsletter p {
    color: rgba(255, 255, 255, 0.9);
}

.sidebar-newsletter-form button:hover {
    background-color: var(--primary-blue);
    transform: translateY(-2px);
}

.widget-post-number {
    min-width: 30px;
    height: 30px;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
}

/* ===================================
   FOOTER
   =================================== */
.site-footer {
    background-color: var(--dark-blue);
    color: var(--bg-white);
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer-widgets {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h3 {
    font-family: var(--heading-font);
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--bg-white);
}

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

.footer-widget ul li {
    margin-bottom: 12px;
}

.footer-widget ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    display: block;
}

.footer-widget ul li a:hover {
    color: var(--primary-red);
    padding-left: 5px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 18px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--primary-red);
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-bottom a {
    color: var(--primary-red);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1200px) {
    .news-grid,
    .counties-grid,
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    body {
        padding-top: 220px;
    }
    
    body.admin-bar {
        padding-top: 252px;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-sidebar {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-sidebar-post {
        height: 200px;
    }
    
    .business-grid,
    .politics-layout,
    .sports-layout,
    .entertainment-grid {
        grid-template-columns: 1fr;
    }
    
    .exclusive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .author-posts-grid,
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .single-post-container {
        grid-template-columns: 1fr;
    }
    
    .single-post-title {
        font-size: 32px;
    }
    
    .header-main-inner {
        flex-wrap: wrap;
    }
    
    .header-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .search-form input[type="search"] {
        width: 180px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 150px;
    }
    
    body.admin-bar {
        padding-top: 196px;
    }
    
    .header-main {
        padding: 12px 0;
    }
    
    .header-main-inner {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .header-search-left,
    .header-subscribe-right {
        display: none;
    }
    
    .site-branding {
        width: 100%;
        justify-self: center;
    }
    
    .site-title {
        font-size: 28px;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--primary-blue);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        max-height: 400px;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu > li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu > li > a {
        padding: 15px 20px;
        text-align: left;
    }
    
    .nav-menu > li > a::after {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-inner {
        justify-content: center;
        padding: 12px 20px;
    }
    
    .news-grid,
    .counties-grid,
    .videos-grid,
    .tech-grid,
    .exclusive-grid,
    .opinions-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .single-post-title {
        font-size: 28px;
    }
    
    .single-post-subtitle {
        font-size: 16px;
    }
    
    .single-post-meta {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .single-post-container {
        grid-template-columns: 1fr;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
    }
    
    .author-profile-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .related-posts-grid,
    .author-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-title {
        font-size: 24px;
    }
    
    .featured-sidebar {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 22px;
    }
    
    .featured-main {
        height: 350px;
    }
    
    .featured-title {
        font-size: 24px;
    }
    
    .single-post-title {
        font-size: 26px;
    }
    
    .single-post-content {
        font-size: 16px;
    }
    
    .featured-sidebar {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }

.pt-10 { padding-top: 10px; }
.pt-20 { padding-top: 20px; }
.pt-30 { padding-top: 30px; }
.pb-10 { padding-bottom: 10px; }
.pb-20 { padding-bottom: 20px; }
.pb-30 { padding-bottom: 30px; }

/* Accessibility */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Print Styles */
@media print {
    .site-header,
    .main-navigation,
    .newsletter-section,
    .site-footer,
    .share-buttons,
    .related-posts {
        display: none;
    }
    
    .single-post-content {
        max-width: 100%;
    }
}
/* Updated styles for v5 with new changes */

/* Boxed Layout */
body {
    background-color: #e8e8e8;
}

.site-container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #ffffff;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.15);
}

/* Header Top Bar with Search */
.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-social-search {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-top-search {
    position: relative;
}

.header-top-search .search-form {
    display: flex;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.header-top-search .search-form:focus-within {
    border-color: rgba(255, 255, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.2);
}

.header-top-search .search-form input[type="search"] {
    border: none;
    padding: 8px 15px;
    font-size: 13px;
    width: 200px;
    outline: none;
    background-color: transparent;
    color: #ffffff;
}

.header-top-search .search-form input[type="search"]::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.header-top-search .search-form button {
    background-color: transparent;
    color: #ffffff;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.header-top-search .search-form button:hover {
    background-color: var(--primary-red);
}

/* Main Header - Logo centered, Subscribe right */
.header-main-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.site-branding {
    flex: 1;
    display: flex;
    justify-content: center;
}

.custom-logo {
    max-height: 70px;
    width: auto;
    display: block;
}

.header-subscribe-right {
    flex: 0 0 auto;
}

/* Remove old search-left styles */
.header-search-left {
    display: none !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    body {
        padding-top: 140px;
    }
    
    .header-top-inner {
        flex-direction: column;
        gap: 10px;
        padding: 10px 15px;
    }
    
    .header-social-search {
        width: 100%;
        justify-content: space-between;
    }
    
    .header-top-search .search-form input[type="search"] {
        width: 140px;
    }
    
    .header-main-inner {
        flex-direction: column;
        gap: 15px;
    }
    
    .site-branding {
        width: 100%;
    }
    
    .custom-logo {
        max-height: 50px;
    }
    
    .header-subscribe-right {
        width: 100%;
    }
    
    .subscribe-button {
        width: 100%;
        justify-content: center;
    }
}

/* Category name only (no background) */
.post-category-name {
    color: var(--primary-blue);
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

/* Mobile responsive updates */
@media (max-width: 768px) {
    body {
        padding-top: 0;
    }
    
    body.admin-bar .site-header {
        top: 46px;
    }
}

/* TikTok icon color */
.header-social a[aria-label="TikTok"] {
    background-color: rgba(255, 255, 255, 0.1);
}

.header-social a[aria-label="TikTok"]:hover {
    background-color: #000000;
}

/* Space between header top bar and main header */
.header-main {
    margin-top: 20px;
}

/* Drop cap for first paragraph */
.single-post-content > p:first-of-type::first-letter {
    font-size: 4em;
    font-weight: bold;
    line-height: 0.9;
    float: left;
    margin: 0.1em 0.1em 0 0;
    color: var(--primary-red);
    font-family: var(--heading-font);
}

/* Single post subtitle */
.single-post-subtitle {
    font-size: 20px;
    color: var(--text-light);
    font-style: italic;
    margin-top: 15px;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Single post text color */
.single-post-content {
    color: #000000;
    font-size: 18px;
    line-height: 1.8;
}

/* In-content newsletter (after 5 paragraphs) */
.in-content-newsletter {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    padding: 30px;
    margin: 40px 0;
    border-radius: 10px;
    text-align: center;
}

.in-content-newsletter h4 {
    color: var(--bg-white);
    font-size: 22px;
    margin-bottom: 15px;
    font-family: var(--heading-font);
}

.in-content-newsletter form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.in-content-newsletter input[type="email"] {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 15px;
}

.in-content-newsletter button {
    background-color: var(--primary-red);
    color: var(--bg-white);
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.in-content-newsletter button:hover {
    background-color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Tags styling */
.post-tags {
    margin: 40px 0;
    padding: 30px;
    background-color: var(--bg-light);
    border-radius: 10px;
}

.post-tags h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primary-blue);
}

.post-tags a {
    display: inline-block;
    background-color: var(--bg-white);
    color: var(--text-dark);
    padding: 8px 18px;
    margin: 5px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.post-tags a:hover {
    background-color: var(--primary-blue);
    color: var(--bg-white);
    border-color: var(--primary-blue);
}

/* Author box */
.author-box {
    margin: 40px 0;
    padding: 40px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    border-radius: 10px;
    color: var(--bg-white);
}

.author-box-inner {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.author-box-avatar {
    flex-shrink: 0;
}

.author-box-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.author-box-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--bg-white);
}

.author-box-content .author-role {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.author-box-content p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.author-box-social {
    display: flex;
    gap: 10px;
}

.author-box-social a {
    color: var(--bg-white);
    background-color: rgba(255, 255, 255, 0.2);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.author-box-social a:hover {
    background-color: var(--primary-red);
    transform: translateY(-3px);
}

/* Category name only styling */
.archive-header .category-name-only {
    color: var(--primary-blue);
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sidebar layout - two column */
.single-post-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.single-post-content-area {
    width: 100%;
    max-width: 100%;
}

@media (max-width: 992px) {
    .single-post-container {
        grid-template-columns: 1fr;
    }
}

/* Audio Player Styles */
.post-audio-player {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 4px solid var(--primary-blue);
}

.audio-player-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.audio-play-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-red);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.audio-play-btn:hover {
    background: var(--primary-blue);
    transform: scale(1.1);
}

.audio-play-btn.playing i::before {
    content: "\f04c"; /* pause icon */
}

.audio-info {
    flex: 1;
}

.audio-label {
    font-size: 14px;
    font-weight: bold;
    color: var(--text-dark);
    display: block;
    margin-bottom: 8px;
}

.audio-progress {
    width: 100%;
    height: 6px;
    background-color: #dee2e6;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 5px;
    cursor: pointer;
}

.audio-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-red));
    width: 0%;
    transition: width 0.1s ease;
}

.audio-time {
    font-size: 12px;
    color: var(--text-light);
}

/* DESKTOP LAYOUT FIX - Sidebar beside content */
.single-post-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.single-post-content-area {
    min-width: 0; /* Prevents grid blowout */
}

.sidebar {
    position: sticky;
    top: 20px;
    align-self: start;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

/* Widget Styling */
.widget {
    background: var(--bg-white);
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.widget-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-red);
    text-transform: capitalize;
}

.widget-post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.widget-post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.widget-post-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 5px;
    overflow: hidden;
}

.widget-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.widget-post-thumb:hover img {
    transform: scale(1.1);
}

.widget-post-content {
    flex: 1;
    min-width: 0;
}

.widget-post-title {
    font-size: 14px;
    line-height: 1.4;
    margin: 0 0 8px 0;
}

.widget-post-title a {
    color: var(--text-dark);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.widget-post-title a:hover {
    color: var(--primary-red);
}

.widget-post-date {
    font-size: 12px;
    color: var(--text-light);
}

.widget-post-number {
    min-width: 30px;
    height: 30px;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
}

/* Mobile - Stack layout */
@media (max-width: 992px) {
    .single-post-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .sidebar {
        position: static;
        max-height: none;
        overflow-y: visible;
    }
}

/* ============================================================
   SIDEBAR & SINGLE POST OVERRIDES – clean, tight spacing
   ============================================================ */

/* ---- Single page two-column layout ---- */
.single-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 28px;
    padding: 24px 20px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

@media (max-width: 960px) {
    .single-layout {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 16px;
    }
}

/* ---- Article ---- */
.single-article { min-width: 0; }

.single-cat-badge {
    display: inline-block;
    background: var(--primary-red);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .6px;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 10px;
}

.single-title {
    font-size: clamp(22px, 3.5vw, 34px);
    line-height: 1.25;
    color: #111;
    margin: 0 0 10px;
}

.single-subtitle {
    font-size: 16px;
    font-style: italic;
    color: #555;
    margin: 0 0 12px;
    line-height: 1.55;
    border-left: 3px solid var(--primary-red);
    padding-left: 12px;
}

/* ---- Audio player ---- */
.single-audio {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f4f4f4;
    border-left: 4px solid var(--primary-blue);
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 14px;
}

.audio-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary-red);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    transition: background .2s;
}
.audio-btn:hover { background: var(--primary-blue); }

.audio-details { flex: 1; min-width: 0; }

.audio-label {
    font-size: 12px;
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.audio-bar {
    width: 100%;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    cursor: pointer;
    overflow: hidden;
    margin-bottom: 4px;
}
.audio-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-red));
    transition: width .1s linear;
}

.audio-time { font-size: 11px; color: #888; }

/* ---- Meta row ---- */
.single-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
    padding: 8px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.single-meta-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13px;
    color: #555;
}
.single-meta-left img { border-radius: 50%; width: 36px; height: 36px; }
.single-author { font-weight: 600; color: #222; }
.single-date, .single-readtime { font-size: 12px; }

.single-meta-right { display: flex; gap: 6px; }

.share-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    transition: opacity .2s;
}
.share-pill:hover { opacity: .8; }
.share-fb { background: #1877f2; }
.share-x  { background: #000; }
.share-wa { background: #25d366; }

/* ---- Hero image ---- */
.single-hero { margin-bottom: 18px; }
.single-hero img { width: 100%; border-radius: 6px; display: block; }
.single-caption { font-size: 12px; color: #888; margin-top: 5px; text-align: center; }

/* ---- Body text ---- */
.single-body {
    font-size: 17px;
    line-height: 1.8;
    color: #111;
}
.single-body p { margin-bottom: 16px; }
.single-body > p:first-of-type::first-letter {
    font-size: 3.8em;
    font-weight: 900;
    float: left;
    line-height: .85;
    margin: .06em .1em 0 0;
    color: var(--primary-red);
    font-family: Georgia, serif;
}

/* Mid-content newsletter */
.mid-newsletter {
    background: var(--primary-blue);
    border-radius: 8px;
    padding: 16px 20px;
    margin: 24px 0;
    text-align: center;
}
.mid-newsletter-label { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 10px; }
.mid-newsletter-form { display: flex; gap: 8px; max-width: 440px; margin: 0 auto; }
.mid-newsletter-form input {
    flex: 1;
    padding: 9px 14px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
}
.mid-newsletter-form button {
    background: var(--primary-red);
    color: #fff;
    border: none;
    padding: 9px 18px;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    font-size: 14px;
}

/* ---- Tags ---- */
.single-tags {
    margin: 20px 0 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}
.single-tags-label { font-size: 13px; color: #555; font-weight: 600; }
.single-tag {
    background: #f0f0f0;
    color: #333;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    text-decoration: none;
    transition: all .2s;
}
.single-tag:hover { background: var(--primary-blue); color: #fff; }

/* ---- Author box ---- */
.single-author-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #f8f8f8;
    border-radius: 8px;
    padding: 16px;
    margin: 20px 0 16px;
}
.single-author-avatar img { width: 80px; height: 80px; border-radius: 50%; }
.single-author-info h4 { margin: 0 0 6px; font-size: 16px; }
.single-author-info p  { margin: 0; font-size: 13px; color: #555; line-height: 1.5; }

/* ---- Related posts ---- */
.single-related { margin-top: 22px; }
.single-related-title {
    font-size: 18px;
    border-bottom: 2px solid var(--primary-red);
    padding-bottom: 8px;
    margin-bottom: 14px;
}
.single-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
@media (max-width: 600px) {
    .single-related-grid { grid-template-columns: 1fr; }
}
.related-card { display: flex; flex-direction: column; }
.related-thumb img { width: 100%; border-radius: 5px; }
.related-body { padding: 8px 0 0; }
.related-body h5 { margin: 0 0 4px; font-size: 13px; line-height: 1.4; }
.related-body h5 a { color: #111; text-decoration: none; }
.related-body h5 a:hover { color: var(--primary-red); }
.related-body span { font-size: 11px; color: #888; }

/* ==============================================
   SIDEBAR REDESIGN – right side, compact, clean
   ============================================== */
.sidebar {
    position: sticky;
    top: 16px;
    align-self: start;
}

.widget {
    background: #fff;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
    box-shadow: 0 1px 6px rgba(0,0,0,.07);
    border: 1px solid #eee;
}

.widget-title {
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #111;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-red);
}

/* Sidebar widget items */
.sw-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}
.sw-item:last-child { border-bottom: none; padding-bottom: 0; }
.sw-item:first-child { padding-top: 0; }

.sw-item--ranked { align-items: center; }

.sw-thumb {
    flex-shrink: 0;
    width: 72px;
    height: 52px;
    border-radius: 4px;
    overflow: hidden;
    display: block;
}
.sw-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}
.sw-thumb:hover img { transform: scale(1.08); }

.sw-body { flex: 1; min-width: 0; }

.sw-title {
    margin: 0 0 4px;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 600;
}
.sw-title a {
    color: #111;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sw-title a:hover { color: var(--primary-red); }

.sw-meta {
    font-size: 11px;
    color: #888;
}
.sw-meta i { margin-right: 3px; }

/* Rank badge */
.sw-rank {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==============================================
   GLOBAL SPACING REDUCTIONS
   ============================================== */

/* Reduce section paddings on homepage */
.news-section,
.section-header { padding-top: 16px; padding-bottom: 6px; }

.news-card { margin-bottom: 16px; }

.news-card-content { padding: 10px 12px 12px; }

.news-card-title { font-size: 15px; margin-bottom: 6px; line-height: 1.35; }

.news-card-excerpt { font-size: 13px; margin-bottom: 6px; }

.post-meta { font-size: 12px; }

.section-title {
    font-size: 20px;
    padding-bottom: 8px;
    margin-bottom: 12px;
}

/* Tighten homepage grid gaps */
.news-grid,
.business-grid,
.politics-layout,
.tech-grid,
.sports-layout,
.exclusive-grid,
.counties-grid,
.entertainment-grid,
.opinions-grid,
.videos-grid {
    gap: 16px;
}

/* Newsletter sections – less vertical space */
.newsletter-section { padding: 24px 20px; margin: 18px 0; }

/* Header tighter */
.header-top-inner,
.header-main-inner,
.nav-inner { padding-left: 16px; padding-right: 16px; }

.header-top { padding: 6px 0; }
.header-main { padding: 10px 0; }
.site-nav { padding: 0; }

/* ============================================================
   FINAL ADJUSTMENTS - Tighter spacing, organized sidebar
   ============================================================ */

/* ===== HEADER SPACING REDUCTION ===== */
.header-top {
    padding: 4px 0;
}

.header-top-inner {
    padding: 0 12px;
    gap: 8px;
}

.header-main {
    padding: 8px 0;
    margin-top: 12px;
}

.header-main-inner {
    padding: 0 12px;
}

.site-nav {
    padding: 8px 0;
}

.nav-inner {
    padding: 0 12px;
}

.primary-menu li {
    margin: 0 8px;
}

.primary-menu a {
    padding: 6px 0;
}

.custom-logo {
    max-height: 60px !important;
}

/* Hide search icon on mobile */
@media (max-width: 768px) {
    .header-search,
    .search-icon,
    .header-top .fa-search {
        display: none !important;
    }
}

/* ===== HOMEPAGE SECTION SPACING ===== */
.homepage-section,
.news-section,
.section-wrapper {
    padding: 12px 0;
    margin: 8px 0;
}

.section-header {
    margin-bottom: 10px;
    padding-bottom: 6px;
}

.section-title {
    font-size: 18px;
    margin-bottom: 8px;
    padding-bottom: 6px;
}

/* Grid spacing */
.news-grid,
.featured-grid,
.business-grid,
.politics-layout,
.tech-grid,
.sports-layout,
.exclusive-grid,
.counties-grid,
.entertainment-grid,
.opinions-grid,
.videos-grid {
    gap: 12px !important;
}

/* Card spacing */
.news-card,
.featured-card,
.business-card {
    margin-bottom: 12px;
}

.news-card-content {
    padding: 8px 10px;
}

.news-card-title {
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 4px;
}

.news-card-excerpt {
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 4px;
}

.post-meta {
    font-size: 11px;
    gap: 6px;
}

/* ===== NEWSLETTER REDUCTION ===== */
.newsletter-section,
.newsletter-form-container {
    padding: 16px 18px !important;
    margin: 12px 0 !important;
    border-radius: 6px;
}

.newsletter-section h3,
.newsletter-title {
    font-size: 16px !important;
    margin-bottom: 6px !important;
}

.newsletter-section p,
.newsletter-description {
    font-size: 12px !important;
    margin-bottom: 8px !important;
}

.newsletter-form {
    gap: 6px !important;
}

.newsletter-form input[type="email"] {
    padding: 8px 12px !important;
    font-size: 13px !important;
}

.newsletter-form button {
    padding: 8px 16px !important;
    font-size: 13px !important;
}

/* ===== SINGLE POST PAGE ===== */
.single-layout {
    gap: 20px !important;
    padding: 16px 12px !important;
}

.single-article {
    padding: 0;
}

.single-cat-badge {
    padding: 2px 8px;
    font-size: 10px;
    margin-bottom: 8px;
}

.single-title {
    font-size: clamp(20px, 3vw, 28px) !important;
    line-height: 1.2 !important;
    margin: 0 0 8px !important;
}

.single-subtitle {
    font-size: 15px !important;
    margin: 0 0 10px !important;
    padding-left: 10px !important;
}

.single-audio {
    padding: 8px 12px !important;
    margin-bottom: 10px !important;
    gap: 10px !important;
}

.audio-btn {
    width: 34px !important;
    height: 34px !important;
    font-size: 12px !important;
}

.single-meta {
    padding: 6px 0 !important;
    margin-bottom: 10px !important;
    gap: 6px !important;
}

.single-meta-left {
    gap: 8px !important;
    font-size: 12px !important;
}

.single-meta-left img {
    width: 32px !important;
    height: 32px !important;
}

.share-pill {
    width: 28px !important;
    height: 28px !important;
    font-size: 12px !important;
}

.single-hero {
    margin-bottom: 12px !important;
}

.single-hero img {
    border-radius: 4px !important;
}

/* ===== H2, H3 TAGS IN SINGLE POST - BLACK ===== */
.single-body h2,
.single-body h3,
.single-article h2,
.single-article h3 {
    color: #000000 !important;
    font-weight: 700;
    line-height: 1.3;
}

.single-body h2 {
    font-size: 22px !important;
    margin: 20px 0 10px !important;
}

.single-body h3 {
    font-size: 18px !important;
    margin: 16px 0 8px !important;
}

.single-body {
    font-size: 16px !important;
    line-height: 1.7 !important;
}

.single-body p {
    margin-bottom: 12px !important;
}

.mid-newsletter {
    padding: 12px 16px !important;
    margin: 16px 0 !important;
}

.mid-newsletter-label {
    font-size: 14px !important;
    margin-bottom: 8px !important;
}

.mid-newsletter-form {
    gap: 6px !important;
}

.mid-newsletter-form input {
    padding: 8px 12px !important;
    font-size: 13px !important;
}

.mid-newsletter-form button {
    padding: 8px 14px !important;
    font-size: 13px !important;
}

.single-tags {
    margin: 14px 0 12px !important;
    gap: 5px !important;
}

.single-tags-label {
    font-size: 12px !important;
}

.single-tag {
    padding: 3px 8px !important;
    font-size: 11px !important;
}

.single-author-box {
    padding: 12px !important;
    margin: 14px 0 12px !important;
    gap: 12px !important;
}

.single-author-avatar img {
    width: 70px !important;
    height: 70px !important;
}

.single-author-info h4 {
    font-size: 15px !important;
    margin-bottom: 4px !important;
}

.single-author-info p {
    font-size: 12px !important;
}

.single-related {
    margin-top: 16px !important;
}

.single-related-title {
    font-size: 16px !important;
    padding-bottom: 6px !important;
    margin-bottom: 10px !important;
}

.single-related-grid {
    gap: 10px !important;
}

.related-body {
    padding: 6px 0 0 !important;
}

.related-body h5 {
    font-size: 12px !important;
    margin-bottom: 3px !important;
}

.related-body span {
    font-size: 10px !important;
}

/* ===== SIDEBAR ORGANIZATION ===== */
.sidebar {
    position: sticky;
    top: 12px;
    max-width: 300px;
}

.widget {
    background: #fff;
    border-radius: 6px;
    padding: 12px !important;
    margin-bottom: 14px !important;
    box-shadow: 0 1px 4px rgba(0,0,0,.06) !important;
    border: 1px solid #eee;
}

.widget-title {
    font-size: 14px !important;
    margin: 0 0 10px !important;
    padding-bottom: 6px !important;
    border-bottom: 2px solid var(--primary-red) !important;
}

.sw-item {
    padding: 6px 0 !important;
    gap: 8px !important;
}

.sw-item:first-child {
    padding-top: 0 !important;
}

.sw-item:last-child {
    padding-bottom: 0 !important;
}

.sw-thumb {
    width: 68px !important;
    height: 48px !important;
    border-radius: 3px !important;
}

.sw-title {
    font-size: 12px !important;
    line-height: 1.3 !important;
    margin-bottom: 3px !important;
}

.sw-meta {
    font-size: 10px !important;
}

.sw-rank {
    width: 22px !important;
    height: 22px !important;
    font-size: 11px !important;
}

/* ===== MOBILE OPTIMIZATIONS ===== */
@media (max-width: 768px) {
    .header-top {
        padding: 3px 0;
    }
    
    .header-top-inner,
    .header-main-inner,
    .nav-inner {
        padding: 0 10px;
    }
    
    .header-main {
        padding: 6px 0;
        margin-top: 8px;
    }
    
    .custom-logo {
        max-height: 50px !important;
    }
    
    .primary-menu li {
        margin: 0 6px;
    }
    
    .primary-menu a {
        font-size: 13px;
        padding: 5px 0;
    }
    
    .homepage-section,
    .news-section {
        padding: 8px 0;
        margin: 6px 0;
    }
    
    .section-title {
        font-size: 16px;
    }
    
    .newsletter-section {
        padding: 12px 14px !important;
        margin: 10px 0 !important;
    }
    
    .single-layout {
        padding: 12px 10px !important;
        gap: 16px !important;
    }
    
    .single-title {
        font-size: 20px !important;
    }
    
    .single-body {
        font-size: 15px !important;
    }
    
    .widget {
        padding: 10px !important;
        margin-bottom: 12px !important;
    }
}

/* ===== ADDITIONAL POST PAGE SPACING ===== */
.content-wrapper {
    padding: 0;
}

.site-content {
    padding: 0;
}

.archive .content-wrapper,
.search .content-wrapper,
.blog .content-wrapper {
    padding: 16px 12px;
}

.archive .news-grid,
.search .news-grid,
.blog .news-grid {
    gap: 12px;
}

/* ===== FOOTER SPACING ===== */
.site-footer {
    padding-top: 24px;
    padding-bottom: 12px;
}

.footer-widgets {
    padding: 20px 0;
}

.footer-widget {
    padding: 0 12px;
}

.footer-bottom {
    padding: 12px 0;
    margin-top: 16px;
}

/* ============================================================
   FINAL UPDATES - New Logo, Author Box Redesign, Mobile Fixes
   ============================================================ */

/* ===== NEW AUTHOR BOX DESIGN ===== */
.single-author-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e9ecef;
    border-left: 5px solid var(--primary-red);
    border-radius: 10px;
    padding: 24px !important;
    margin: 24px 0 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.single-author-box:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.single-author-avatar {
    flex-shrink: 0;
    position: relative;
}

.single-author-avatar img {
    width: 90px !important;
    height: 90px !important;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.single-author-avatar::after {
    content: '✓';
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    background: var(--primary-blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    border: 2px solid #fff;
}

.single-author-info {
    flex: 1;
    min-width: 0;
}

.single-author-info h4 {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #111;
    margin: 0 0 4px !important;
    font-family: var(--heading-font);
}

.single-author-info .author-title {
    font-size: 13px;
    color: var(--primary-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    display: block;
}

.single-author-info p {
    font-size: 14px !important;
    color: #555;
    line-height: 1.6;
    margin: 0 0 12px !important;
}

.author-social-links {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.author-social-links a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    color: #555;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.author-social-links a:hover {
    background: var(--primary-red);
    color: #fff;
    border-color: var(--primary-red);
    transform: scale(1.1);
}

/* ===== MOBILE: HIDE SOCIAL ICONS ===== */
@media (max-width: 768px) {
    .header-social,
    .social-links,
    .header-top .social-icons,
    .social-icon {
        display: none !important;
    }
    
    /* Also hide share buttons on mobile */
    .single-meta-right,
    .share-pill {
        display: none !important;
    }
}

/* ===== MOBILE: INCREASE FONT SIZES ===== */
@media (max-width: 768px) {
    body {
        font-size: 17px;
    }
    
    .single-title {
        font-size: 24px !important;
    }
    
    .single-subtitle {
        font-size: 16px !important;
    }
    
    .single-body {
        font-size: 17px !important;
        line-height: 1.8 !important;
    }
    
    .single-body p {
        font-size: 17px !important;
        margin-bottom: 16px !important;
    }
    
    .single-body h2 {
        font-size: 22px !important;
    }
    
    .single-body h3 {
        font-size: 19px !important;
    }
    
    .news-card-title {
        font-size: 16px !important;
    }
    
    .news-card-excerpt {
        font-size: 14px !important;
    }
    
    .section-title {
        font-size: 20px !important;
    }
    
    .widget-title {
        font-size: 16px !important;
    }
    
    .sw-title {
        font-size: 14px !important;
    }
    
    .primary-menu a {
        font-size: 15px !important;
    }
    
    /* Author box mobile */
    .single-author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px !important;
    }
    
    .single-author-info h4 {
        font-size: 18px !important;
    }
    
    .single-author-info p {
        font-size: 15px !important;
    }
    
    .author-social-links {
        justify-content: center;
    }
}

/* ===== ADSENSE RESPONSIVE CONTAINER ===== */
.adsense-container {
    margin: 24px 0;
    padding: 12px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    text-align: center;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.adsense-container ins {
    display: block;
    margin: 0 auto;
}

/* Desktop AdSense */
.adsense-desktop {
    display: block;
}

.adsense-mobile {
    display: none;
}

/* Mobile AdSense */
@media (max-width: 768px) {
    .adsense-desktop {
        display: none;
    }
    
    .adsense-mobile {
        display: block;
    }
    
    .adsense-container {
        margin: 16px 0;
        padding: 8px;
        min-height: 200px;
    }
}

/* AdSense in content */
.single-body .adsense-container:first-of-type {
    margin-top: 0;
}

/* AdSense after featured image */
.single-hero + .adsense-container {
    margin-top: 16px;
}

/* AdSense before related posts */
.single-related {
    margin-top: 24px;
}

.adsense-container + .single-related {
    margin-top: 16px;
}

/* ============================================================
   REUTERS-STYLE THEME UPDATES
   ============================================================ */

/* ===== REUTERS-INSPIRED AUTHOR BOX - EYE-CATCHING DESIGN ===== */
.single-author-box {
    background: #ffffff !important;
    border: none !important;
    border-top: 4px solid #ff6600 !important;
    border-bottom: 4px solid #ff6600 !important;
    border-radius: 0 !important;
    padding: 32px 28px !important;
    margin: 32px 0 !important;
    box-shadow: 0 8px 24px rgba(255, 102, 0, 0.15) !important;
    display: flex !important;
    gap: 24px !important;
    align-items: center !important;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease !important;
}

.single-author-box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, #ff6600 0%, #ff8833 100%);
}

.single-author-box:hover {
    box-shadow: 0 12px 32px rgba(255, 102, 0, 0.25) !important;
    transform: translateY(-4px) !important;
}

.single-author-avatar {
    flex-shrink: 0 !important;
    position: relative !important;
    margin-left: 8px;
}

.single-author-avatar img {
    width: 110px !important;
    height: 110px !important;
    border-radius: 0 !important;
    border: 4px solid #ff6600 !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2) !important;
    object-fit: cover !important;
    display: block !important;
}

.single-author-avatar::after {
    content: 'VERIFIED';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff6600;
    color: #fff;
    font-size: 9px;
    font-weight: 900;
    padding: 3px 10px;
    letter-spacing: 1px;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(255, 102, 0, 0.5);
}

.single-author-info {
    flex: 1 !important;
    min-width: 0 !important;
}

.single-author-info h4 {
    font-size: 26px !important;
    font-weight: 900 !important;
    color: #1a1a1a !important;
    margin: 0 0 6px !important;
    font-family: 'Arial Black', Arial, sans-serif !important;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.single-author-info .author-title {
    font-size: 12px !important;
    color: #ff6600 !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    margin-bottom: 12px !important;
    display: block !important;
    border-left: 3px solid #ff6600;
    padding-left: 8px;
}

.single-author-info p {
    font-size: 15px !important;
    color: #333 !important;
    line-height: 1.7 !important;
    margin: 0 0 16px !important;
    font-weight: 400;
}

.author-social-links {
    display: flex !important;
    gap: 10px !important;
    margin-top: 14px !important;
}

.author-social-links a {
    width: 38px !important;
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f5f5f5 !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 0 !important;
    color: #333 !important;
    font-size: 16px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.author-social-links a:hover {
    background: #ff6600 !important;
    color: #fff !important;
    border-color: #ff6600 !important;
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.4) !important;
}

/* Author Box Mobile Adjustments */
@media (max-width: 768px) {
    .single-author-box {
        flex-direction: row !important;
        align-items: flex-start !important;
        text-align: left !important;
        padding: 24px 20px !important;
        gap: 16px !important;
    }
    
    .single-author-avatar {
        margin-left: 0;
    }
    
    .single-author-avatar img {
        width: 90px !important;
        height: 90px !important;
    }
    
    .single-author-info h4 {
        font-size: 20px !important;
    }
    
    .single-author-info p {
        font-size: 14px !important;
    }
    
    .author-social-links {
        justify-content: flex-start !important;
    }
}

/* ===== REUTERS COLOR SCHEME ===== */
:root {
    --reuters-orange: #ff6600;
    --reuters-dark: #1a1a1a;
    --reuters-gray: #666;
    --reuters-light-gray: #f5f5f5;
}

/* Update primary colors to Reuters orange */
.section-title,
.post-category-name,
.single-cat-badge {
    color: var(--reuters-orange) !important;
}

.section-header::after,
.widget-title::after {
    background: var(--reuters-orange) !important;
}

a:hover,
.news-card-title a:hover,
.sw-title a:hover {
    color: var(--reuters-orange) !important;
}

/* ===== HIDE ALL NEWSLETTER/SUBSCRIPTION ELEMENTS ===== */
.newsletter-section,
.newsletter-form-container,
.newsletter-widget,
.widget-newsletter,
.mid-newsletter,
.in-content-newsletter,
.newsletter-form,
.newsletter-signup,
.subscribe-box,
.subscription-form,
[class*="newsletter"],
[class*="subscribe"] {
    display: none !important;
}

/* Clean up spacing after removal */
.news-section + .news-section {
    margin-top: 16px;
}

/* ===== REUTERS-STYLE TYPOGRAPHY ===== */
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Arial Black', Arial, sans-serif;
    font-weight: 900;
    color: var(--reuters-dark);
}

.single-title {
    font-family: 'Arial Black', Arial, sans-serif !important;
    font-weight: 900 !important;
    color: #1a1a1a !important;
}

/* ===== PROFESSIONAL REUTERS LOOK ===== */
.news-card {
    transition: all 0.3s ease;
}

.news-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.section-title {
    border-bottom: 3px solid var(--reuters-orange);
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================================
   SPECTACULAR AUTHOR BOX - Original Kurunzi Colors
   ============================================================ */

/* Remove Reuters orange, restore original colors */
:root {
    --primary-blue: #2c247a;
    --primary-red: #d52635;
    --dark-blue: #1a1560;
    --text-dark: #333;
    --text-light: #666;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
}

/* Reset Reuters styles */
.section-title,
.post-category-name,
.single-cat-badge {
    color: var(--primary-blue) !important;
}

.section-header::after,
.widget-title::after {
    background: var(--primary-red) !important;
}

a:hover,
.news-card-title a:hover,
.sw-title a:hover {
    color: var(--primary-red) !important;
}

/* ===== SPECTACULAR AUTHOR BOX - KURUNZI ORIGINAL COLORS ===== */
.single-author-box {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    border: none !important;
    border-radius: 16px !important;
    padding: 36px !important;
    margin: 40px 0 !important;
    box-shadow: 
        0 10px 40px rgba(44, 36, 122, 0.12),
        0 0 0 1px rgba(44, 36, 122, 0.08),
        inset 0 -3px 0 0 var(--primary-red) !important;
    display: grid !important;
    grid-template-columns: auto 1fr !important;
    gap: 28px !important;
    align-items: center !important;
    position: relative !important;
    overflow: visible !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.single-author-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-red) 100%);
    border-radius: 16px 16px 0 0;
}

.single-author-box::after {
    content: '✦';
    position: absolute;
    top: -12px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-red) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 6px 20px rgba(213, 38, 53, 0.4);
    border: 4px solid #fff;
}

.single-author-box:hover {
    box-shadow: 
        0 20px 60px rgba(44, 36, 122, 0.18),
        0 0 0 1px rgba(44, 36, 122, 0.12),
        inset 0 -3px 0 0 var(--primary-red) !important;
    transform: translateY(-6px) !important;
}

.single-author-avatar {
    position: relative !important;
    flex-shrink: 0 !important;
}

.single-author-avatar img {
    width: 120px !important;
    height: 120px !important;
    border-radius: 50% !important;
    border: 5px solid transparent !important;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, var(--primary-blue), var(--primary-red)) border-box !important;
    box-shadow: 
        0 8px 24px rgba(44, 36, 122, 0.2),
        0 0 0 8px rgba(44, 36, 122, 0.05) !important;
    object-fit: cover !important;
    display: block !important;
    transition: all 0.3s ease !important;
}

.single-author-box:hover .single-author-avatar img {
    transform: scale(1.05) rotate(2deg) !important;
    box-shadow: 
        0 12px 32px rgba(213, 38, 53, 0.25),
        0 0 0 8px rgba(213, 38, 53, 0.08) !important;
}

.single-author-avatar::before {
    content: '';
    position: absolute;
    top: -8px;
    right: -8px;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary-red) 0%, #ff4757 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(213, 38, 53, 0.4);
    border: 3px solid white;
    z-index: 2;
}

.single-author-avatar::after {
    content: '✓';
    position: absolute;
    top: -8px;
    right: -8px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: 900;
    z-index: 3;
}

.single-author-info {
    flex: 1 !important;
    min-width: 0 !important;
}

.single-author-info h4 {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: var(--primary-blue) !important;
    margin: 0 0 8px !important;
    font-family: Georgia, serif !important;
    line-height: 1.2 !important;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.single-author-info .author-title {
    display: inline-block !important;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-red) 100%) !important;
    color: white !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    padding: 6px 16px !important;
    border-radius: 20px !important;
    margin-bottom: 14px !important;
    box-shadow: 0 4px 12px rgba(44, 36, 122, 0.25) !important;
}

.single-author-info p {
    font-size: 15px !important;
    color: var(--text-dark) !important;
    line-height: 1.7 !important;
    margin: 0 0 18px !important;
    font-weight: 400 !important;
}

.author-social-links {
    display: flex !important;
    gap: 10px !important;
    margin-top: 16px !important;
}

.author-social-links a {
    width: 42px !important;
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
    border: 2px solid rgba(44, 36, 122, 0.15) !important;
    border-radius: 50% !important;
    color: var(--primary-blue) !important;
    font-size: 16px !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
}

.author-social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-red) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.author-social-links a i {
    position: relative;
    z-index: 1;
}

.author-social-links a:hover {
    border-color: transparent !important;
    color: white !important;
    transform: translateY(-4px) scale(1.08) !important;
    box-shadow: 0 8px 20px rgba(213, 38, 53, 0.35) !important;
}

.author-social-links a:hover::before {
    opacity: 1;
}

/* Author Box Mobile Spectacular Design */
@media (max-width: 768px) {
    .single-author-box {
        grid-template-columns: auto 1fr !important;
        padding: 28px 20px !important;
        gap: 20px !important;
    }
    
    .single-author-box::after {
        top: -10px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .single-author-avatar img {
        width: 100px !important;
        height: 100px !important;
    }
    
    .single-author-avatar::before,
    .single-author-avatar::after {
        width: 32px !important;
        height: 32px !important;
        top: -6px;
        right: -6px;
    }
    
    .single-author-avatar::after {
        font-size: 15px !important;
    }
    
    .single-author-info h4 {
        font-size: 22px !important;
    }
    
    .single-author-info .author-title {
        font-size: 10px !important;
        padding: 5px 12px !important;
    }
    
    .single-author-info p {
        font-size: 14px !important;
    }
    
    .author-social-links a {
        width: 38px !important;
        height: 38px !important;
        font-size: 14px !important;
    }
}

/* Remove all newsletter/subscription elements */
.newsletter-section,
.newsletter-form-container,
.newsletter-widget,
.widget-newsletter,
.mid-newsletter,
.in-content-newsletter,
.newsletter-form,
.newsletter-signup,
.subscribe-box,
.subscription-form,
[class*="newsletter"],
[class*="subscribe"] {
    display: none !important;
}

/* Professional typography back to original */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Georgia, serif;
    font-weight: 700;
    color: var(--text-dark);
}

/* ============================================================
   ROLLBACK UPDATE - Reduced Spacing + AdSense + New Author Box
   ============================================================ */

/* ===== REDUCED SPACING - HOMEPAGE ===== */
.homepage-section,
.news-section,
.section-wrapper {
    padding: 10px 0 !important;
    margin: 6px 0 !important;
}

.section-header {
    margin-bottom: 8px !important;
    padding-bottom: 4px !important;
}

.section-title {
    font-size: 17px !important;
    margin-bottom: 6px !important;
    padding-bottom: 4px !important;
}

.news-grid,
.featured-grid,
.business-grid,
.politics-layout,
.tech-grid,
.sports-layout,
.exclusive-grid,
.counties-grid,
.entertainment-grid,
.opinions-grid,
.videos-grid {
    gap: 10px !important;
}

.news-card,
.featured-card {
    margin-bottom: 10px !important;
}

.news-card-content {
    padding: 8px !important;
}

.news-card-title {
    font-size: 13px !important;
    line-height: 1.3 !important;
    margin-bottom: 4px !important;
}

.news-card-excerpt {
    font-size: 12px !important;
    margin-bottom: 4px !important;
}

.post-meta {
    font-size: 11px !important;
    gap: 4px !important;
}

/* ===== ADSENSE STYLING ===== */
.adsense-block,
.homepage-adsense {
    margin: 20px 0;
    padding: 10px;
    background: #f9f9f9;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    text-align: center;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.homepage-adsense {
    margin: 16px auto;
    max-width: 100%;
}

.adsense-block ins,
.homepage-adsense ins {
    display: block !important;
}

@media (max-width: 768px) {
    .adsense-block,
    .homepage-adsense {
        margin: 14px 0;
        padding: 8px;
        min-height: 200px;
    }
}

/* ===== REDESIGNED AUTHOR BOX ===== */
.author-box-redesign {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-left: 4px solid var(--primary-red);
    border-radius: 8px;
    padding: 28px;
    margin: 28px 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.author-box-redesign:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.author-box-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 16px;
}

.author-box-avatar {
    position: relative;
    flex-shrink: 0;
}

.author-box-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid var(--primary-blue);
    box-shadow: 0 4px 12px rgba(44, 36, 122, 0.2);
}

.author-verified {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 28px;
    height: 28px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 13px;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(213, 38, 53, 0.4);
}

.author-box-info {
    flex: 1;
}

.author-name {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-blue);
    margin: 0 0 6px;
    line-height: 1.2;
}

.author-role {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 12px;
}

.author-bio {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin: 0 0 16px;
}

.author-social {
    display: flex;
    gap: 10px;
}

.author-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    border-radius: 50%;
    color: var(--primary-blue);
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.author-social a:hover {
    background: var(--primary-red);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(213, 38, 53, 0.3);
}

/* Mobile author box */
@media (max-width: 768px) {
    .author-box-redesign {
        padding: 20px;
    }
    
    .author-box-header {
        gap: 14px;
    }
    
    .author-box-avatar img {
        width: 80px;
        height: 80px;
    }
    
    .author-verified {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }
    
    .author-name {
        font-size: 20px;
    }
    
    .author-bio {
        font-size: 14px;
    }
}

/* ===== HIDE OLD AUTHOR BOX ===== */
.single-author-box {
    display: none !important;
}

/* ===== CONTENT SPACING REDUCTION ===== */
.content-wrapper {
    padding: 8px 12px !important;
}

.single-layout {
    gap: 18px !important;
    padding: 14px 10px !important;
}

.single-article {
    padding: 0 !important;
}

.single-cat-badge {
    margin-bottom: 8px !important;
    padding: 3px 10px !important;
    font-size: 11px !important;
}

.single-title {
    font-size: clamp(20px, 3vw, 26px) !important;
    margin: 0 0 8px !important;
}

.single-subtitle {
    font-size: 14px !important;
    margin: 0 0 10px !important;
}

.single-meta {
    padding: 6px 0 !important;
    margin-bottom: 10px !important;
}

.single-hero {
    margin-bottom: 12px !important;
}

.single-body {
    font-size: 16px !important;
}

.single-body p {
    margin-bottom: 12px !important;
}

.single-tags {
    margin: 14px 0 !important;
}

.single-related {
    margin-top: 18px !important;
}

.single-related-title {
    font-size: 16px !important;
    margin-bottom: 10px !important;
}

.single-related-grid {
    gap: 10px !important;
}

/* ============================================================
   AD WIDGET CONTAINERS
   ============================================================ */

.ad-widget-container {
    margin: 20px auto;
    padding: 12px;
    background: #f9f9f9;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    text-align: center;
    min-height: 250px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ad-widget-title {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 10px;
    font-weight: 600;
}

.ad-widget-container img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Homepage ad spots */
.homepage-section + .ad-widget-container,
.news-section + .ad-widget-container {
    margin-top: 16px;
    margin-bottom: 16px;
}

/* Single post ad spots */
.single-hero + .ad-widget-container {
    margin-top: 16px;
}

.single-body .ad-widget-container {
    margin: 24px 0;
}

.single-tags + .ad-widget-container {
    margin-bottom: 24px;
}

/* Mobile ad optimization */
@media (max-width: 768px) {
    .ad-widget-container {
        margin: 14px auto;
        padding: 10px;
        min-height: 200px;
    }
}

/* Empty ad spot styling (when no widget added) */
.ad-widget-container:empty {
    display: none;
}
