/*
Theme Name: The Indian Eye Custom
Theme URI: https://theindianeye.com/
Author: The Indian Eye Team
Description: A completely custom, fast, and modern semantic theme designed to replicate a traditional newspaper aesthetic.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: theindianeye-custom
*/

/* --- Design Tokens / CSS Custom Properties --- */
html {
    scroll-behavior: smooth;
}

:root {
    /* Color Palette */
    --color-primary: #0f4c81; /* Solid classic blue for headers/banners */
    --color-text-main: #111111; /* Crisp dark charcoal/black */
    --color-text-muted: #555555; /* Editorial gray for meta/descriptions */
    --color-bg-main: #ffffff; /* Solid white background */
    --color-border: #dddddd; /* Thin light dividers */
    --color-brand-red: #c0392b; /* For action/alert highlights */
    --color-brand-gold: #c39b34; /* For TV/Radio Zindagi headings */

    /* Typography */
    --font-serif: 'Georgia', 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Layout */
    --container-max-width: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 3rem;
    --border-radius: 0px; /* Traditional newspaper uses sharp edges */
    --transition-smooth: all 0.2s ease-in-out;
}

/* --- Basic Resets --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg-main);
    color: var(--color-text-main);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--color-text-main);
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

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

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.font-serif-bold {
    font-family: var(--font-serif);
    font-weight: 800;
}

/* --- Top Leaderboard Ad Banners --- */
.top-banners-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px; /* Gap between top banner 1 & 2 */
    width: 100%;
}

.top-ad-banner {
    width: 100%;
}

.top-ad-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Header & Traditional Newspaper Navigation --- */
.site-header {
    background-color: var(--color-bg-main);
    padding-top: var(--spacing-sm);
}

.site-header-container {
    display: flex;
    flex-direction: column;
}

/* Header Columns: Flags | Title | Socials */
.header-branding-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    width: 100%;
    padding-bottom: var(--spacing-sm);
}

/* Left: Flags Row styling matching original site screenshot */
.header-flags-col {
    display: flex;
    gap: 8px;
}

.flag-item-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.flag-item-container:hover {
    opacity: 0.8;
}

.flag-img {
    width: 32px;
    height: 18px;
    object-fit: cover;
    border: 1px solid var(--color-border);
}

.flag-label {
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--color-text-muted);
    margin-top: 2px;
    text-transform: uppercase;
}

/* Center: Title & Logo */
.site-branding {
    text-align: center;
}

.custom-logo {
    max-width: 340px;
    width: 100%;
    height: auto;
    display: inline-block;
}

.site-title {
    font-size: 3.25rem;
    font-weight: 900;
    font-family: var(--font-serif);
    letter-spacing: -1.5px;
}

.site-title a {
    color: var(--color-text-main);
}

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

.site-description {
    font-size: 0.8rem;
    font-family: var(--font-sans);
    color: var(--color-text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Right: Social Media Icons */
.header-social-col {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #3b5998; /* Default */
    color: #ffffff;
    font-size: 0.875rem;
    transition: var(--transition-smooth);
}

.social-icon.facebook { background-color: #3b5998; }
.social-icon.twitter { background-color: #000000; }
.social-icon.instagram { background-color: #e1306c; }
.social-icon.pinterest { background-color: #bd081c; }
.social-icon.youtube { background-color: #ff0000; }

.social-icon:hover {
    transform: translateY(-2px);
    opacity: 0.9;
    color: #ffffff;
}

/* Partner Logo Slogan Strip */
.header-partner-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    width: 100%;
    border-top: 1px solid var(--color-border);
    border-bottom: 4px double var(--color-border);
    padding: 0.5rem 0;
}

.header-partner-strip a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.partner-logo {
    height: 32px;
    max-height: 32px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

@media (max-width: 480px) {
    .header-partner-strip {
        gap: 1rem;
    }
    .header-partner-strip a {
        max-width: calc(50% - 0.5rem);
    }
    .partner-logo {
        height: 24px;
        max-height: 24px;
        max-width: 100%;
    }
}

.partner-logo:hover {
    opacity: 0.8;
}

/* Navigation Bar */
.main-navigation-wrapper {
    width: 100%;
    border-bottom: 1px solid var(--color-border);
    padding: 0.25rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Desktop Navigation Layout */
.navigation-menu-links > ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 0.9rem; /* Reduced gap to accommodate all items on a single line */
    margin: 0;
    padding: 0;
}

.navigation-menu-links li {
    position: relative; /* Position context for submenus */
}

.navigation-menu-links > ul > li > a {
    color: var(--color-text-main);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.75rem 0;
    display: block;
    white-space: nowrap; /* Prevent multiline wrapping */
    transition: var(--transition-smooth);
}

.navigation-menu-links > ul > li > a:hover,
.navigation-menu-links li.current-menu-item > a {
    color: var(--color-primary);
}

/* First-Level Dropdown Submenu */
.navigation-menu-links ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    list-style: none;
    min-width: 180px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    z-index: 999;
    padding: 0.5rem 0;
    margin: 0;
    
    /* Hidden by default */
    display: none;
}

/* Show submenu when hovering parent li */
.navigation-menu-links li:hover > ul.sub-menu {
    display: block;
}

/* Sub-menu item link styles */
.navigation-menu-links ul.sub-menu a {
    color: var(--color-text-main);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    text-transform: none; /* Keep text casing as defined in WP menus */
    display: block;
    text-align: left;
    transition: var(--transition-smooth);
}

.navigation-menu-links ul.sub-menu a:hover {
    background-color: #f5f5f5;
    color: var(--color-primary);
}

/* Nested child indicator icon spacing if active */
.navigation-menu-links li.menu-item-has-children > a::after {
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: 6px;
    font-size: 0.75rem;
}

.navigation-menu-links ul.sub-menu li.menu-item-has-children > a::after {
    content: "\f105";
    float: right;
    margin-top: 2px;
}

/* Second-Level Dropdown Submenu (e.g. Marketing > Media Kits) */
.navigation-menu-links ul.sub-menu ul.sub-menu {
    top: 0;
    left: 100%;
    margin-left: 1px;
}

/* Nav Search Icon & Expandable Bar */
.nav-search-btn {
    position: relative;
}

.nav-search-btn a.search-toggle-btn {
    font-size: 1rem;
    color: var(--color-text-main);
    display: inline-block;
    padding: 0.5rem 0;
    transition: var(--transition-smooth);
}

.nav-search-btn a.search-toggle-btn:hover {
    color: var(--color-primary);
}

.nav-search-expandable-bar {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    padding: 6px 12px;
    display: none; /* Toggle with active class */
    z-index: 1001;
    width: 250px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.nav-search-expandable-bar.active {
    display: block;
}

.nav-search-expandable-bar form {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.search-icon-inside {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
}

.nav-search-expandable-bar input.search-field {
    border: none;
    outline: none;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    width: 100%;
    color: var(--color-text-main);
    background: transparent;
    padding: 2px 0;
}

.search-close-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.search-close-btn:hover {
    color: var(--color-brand-red);
}

/* --- Flash News Ticker --- */
.flash-news-ticker {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
    height: 38px;
    background-color: #ffffff;
    overflow: hidden;
    margin-top: 8px;
}

.ticker-title {
    background-color: var(--color-brand-red);
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 12px;
    height: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.05);
}

.ticker-content-wrapper {
    flex-grow: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.ticker-content-scroll {
    display: flex;
    align-items: center;
    white-space: nowrap;
    position: absolute;
    padding-left: 100%;
    animation: ticker-animation 75s linear infinite; /* Increased duration to slow down scroll */
}

.ticker-content-scroll:hover {
    animation-play-state: paused;
}

.ticker-item {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    color: var(--color-text-main);
    padding: 0 12px;
}

.ticker-item a {
    color: var(--color-text-main);
    transition: var(--transition-smooth);
}

.ticker-item a:hover {
    color: var(--color-primary);
}

.ticker-separator {
    color: var(--color-brand-red);
    font-size: 0.8rem;
}

@keyframes ticker-animation {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-100%, 0, 0);
    }
}


/* Menu Toggle Button (Mobile Only) */
.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--color-text-main);
    color: var(--color-text-main);
    padding: 6px 12px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}

/* --- Layout Utility Classes (CSS Grid & Flexbox) --- */

/* Responsive Magazine Grid (3 Columns) */
.magazine-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

/* Responsive Split Layout (2 Columns - Content / Sidebar) */
.magazine-grid-2 {
    display: grid;
    grid-template-columns: 2.33fr 1fr; /* Asymmetric 70% / 30% split */
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

/* Magazine Section Banners */
.category-banner {
    background-color: var(--color-primary);
    color: #ffffff;
    padding: 0.35rem 0.75rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
    display: inline-block;
}

.category-banner-dark {
    background-color: var(--color-text-main);
    color: #ffffff;
    padding: 0.35rem 0.75rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
    display: inline-block;
    width: 100%;
}

/* Category header links */
.category-banner a,
.category-banner-dark a {
    color: #ffffff !important;
    text-decoration: none !important;
    display: block;
}

.category-banner a:hover,
.category-banner-dark a:hover {
    color: #ffffff !important;
    opacity: 0.85;
}

.flex-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* --- Top Stories Section Layout (Slider / List / TV) --- */
.top-stories-section {
    margin-top: var(--spacing-md);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.top-stories-grid-2 {
    display: grid;
    grid-template-columns: 32fr 37fr; /* Ratio to match live site widths */
    gap: var(--spacing-md);
}

/* Slider styling */
.featured-slider-wrapper {
    position: relative;
    width: 100%;
    height: 380px; /* Increased height to match live site */
    overflow: hidden;
    background-color: #000000;
}

.slider-featured-post {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    z-index: 1;
}

.slider-featured-post.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slider-post-link {
    display: block;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.slider-thumbnail {
    width: 100%;
    height: 100%;
}

.slider-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.slider-featured-post:hover .slider-thumbnail img {
    transform: scale(1.03);
    opacity: 0.95;
}

.slider-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-md);
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: #ffffff;
    z-index: 3;
}

.category-tag-mini {
    background-color: var(--color-brand-red);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 6px;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.slider-title {
    font-family: var(--font-sans);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.25;
    color: #ffffff;
    transition: color 0.3s ease;
}

.slider-title span {
    color: #ffffff;
    transition: color 0.3s ease;
}

.slider-featured-post:hover .slider-title span {
    color: #f39c12; /* Bright vibrant gold/amber for high contrast on dark overlay */
}

/* Hover reveal for post excerpt */
.slider-excerpt {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    font-size: 0.85rem;
    line-height: 1.4;
    margin-top: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease, margin-top 0.4s ease;
    color: #eeeeee;
}

/* Hover triggers */
.slider-featured-post:hover .slider-excerpt {
    max-height: 80px;
    opacity: 1;
    margin-top: 8px;
}


/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 8px;
    right: 8px;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    z-index: 10;
}

.slider-dots {
    display: flex;
    gap: 4px;
}

.slider-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.4);
    cursor: pointer;
}

.slider-dots .dot.active {
    background-color: #ffffff;
}

.slider-arrows {
    display: flex;
    gap: 4px;
}

.slider-arrows span {
    background-color: rgba(0,0,0,0.6);
    color: #ffffff;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-arrows span:hover {
    background-color: var(--color-primary);
}

/* Top stories listing styling */
.top-stories-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.top-story-item {
    border-bottom: 1px dashed var(--color-border);
    padding-bottom: 6px;
}

.top-story-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.top-story-item .post-title {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
}

/* TV Video Widget styling in Sidebar */
.tv-logo-header {
    background-color: #ffffff;
    border-bottom: 2px solid var(--color-brand-red);
    padding: 8px 0;
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.tv-logo-img {
    max-width: 100%;
    height: auto;
    max-height: 48px;
    display: inline-block;
}

.tv-video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border: 1px solid var(--color-border);
    background-color: #000000;
}

.tv-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.tv-video-poster {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
}

.play-btn-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: var(--transition-smooth);
}

.play-btn-circle:hover {
    transform: scale(1.1);
    background-color: rgba(255,255,255,0.1);
}

.tv-stream-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 600;
    text-transform: uppercase;
}

/* --- Three-Column Category Sections --- */
.magazine-column {
    display: flex;
    flex-direction: column;
}

.column-posts-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.column-first-post {
    margin-bottom: var(--spacing-sm);
}

.column-first-post .post-thumbnail {
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: var(--spacing-xs);
    width: 100%;
    aspect-ratio: 16 / 10; /* Enforce same aspect ratio */
    overflow: hidden;
}

.column-first-post .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.column-first-post .post-title {
    font-family: var(--font-sans);
    font-size: 1.05rem; /* Compact size to match live site */
    font-weight: 800;
    line-height: 1.3;
}

.column-first-post .post-title a {
    color: var(--color-text-main);
}

.column-first-post .post-title a:hover {
    color: var(--color-primary);
}

.column-text-posts {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.column-text-post-item {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
    border-bottom: 1px dashed var(--color-border);
    padding-bottom: 0.5rem;
}

.column-text-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.post-thumbnail-mini {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    overflow: hidden;
}

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

.column-text-post-item .post-title {
    font-family: var(--font-sans);
    font-size: 0.92rem; /* Compact size to match live site */
    font-weight: 700;
    line-height: 1.35;
}

.column-text-post-item .post-title a {
    color: var(--color-text-main);
}

.column-text-post-item .post-title a:hover {
    color: var(--color-primary);
}

.no-posts-msg {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--color-text-muted);
}

/* --- Global Brand Sidebar Styling (30% Column) --- */
.global-brand-sidebar {
    border-left: 1px solid var(--color-border);
    padding-left: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.sidebar-widget {
    display: flex;
    flex-direction: column;
}

.sidebar-widget .widget-title {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 800;
    color: #ffffff;
    background-color: var(--color-text-main);
    text-transform: uppercase;
    padding: 0.4rem 0.75rem;
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.5px;
    text-align: center;
}

.sidebar-widget .placeholder-text {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-style: italic;
    text-align: center;
}

/* Radio Station Card Grid */
.radio-network-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px; /* Minimal gap between station cards to match live site */
}

.radio-station-card {
    background-size: 100% 100%; /* Stretch graphic to fit exactly edge to edge */
    background-position: center;
    background-repeat: no-repeat;
    padding: var(--spacing-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 185px;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.sf-station {
    background-image: url('/wp-content/uploads/2020/05/rsan310x185.jpg');
}

.ny-station {
    background-image: url('/wp-content/uploads/2020/05/rny310x185.jpg');
}

.station-logo {
    margin-bottom: 0.5rem;
    text-align: center;
}

.logo-text-large {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 900;
    color: #c9af35;
    letter-spacing: -0.5px;
    display: block;
    line-height: 1.1;
}

.station-meta {
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.btn-listen {
    background-color: rgba(0, 0, 0, 0.75);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 6px 10px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.25);
    width: 85%;
    text-align: center;
    margin-bottom: var(--spacing-sm);
    white-space: nowrap; /* Keep on a single line */
}

.btn-listen:hover {
    background-color: rgba(0, 0, 0, 0.9);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

/* Digital Paper Widget styling */
.weekly-digital-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid var(--color-border);
    padding: var(--spacing-sm);
}

.weekly-cover-preview {
    width: 100%;
    height: 240px;
    background-color: #f7f7f7;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.cover-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    color: #888;
}

.cover-brand-title {
    font-family: var(--font-serif);
    font-weight: 900;
    font-size: 1.15rem;
    color: var(--color-text-main);
    text-transform: uppercase;
}

.cover-brand-title.gujarati-font {
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--color-brand-red);
}

.weekly-meta-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
}

/* Dynamic Weekly Paper styles */
.current-issue-wrapper {
    width: 100%;
    text-align: center;
    margin-bottom: 12px;
}

.current-issue-img {
    width: 100%;
    height: auto;
    max-height: 310px;
    object-fit: contain;
    border: 1px solid var(--color-border);
}

.current-issue-label {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-text-muted);
    margin-top: 6px;
    text-align: center;
}

.weekly-archives-row {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    margin-bottom: 12px;
    border-top: 1px dashed var(--color-border);
    padding-top: 12px;
}

.weekly-archive-item {
    flex: 1;
    text-align: center;
    max-width: 31%;
}

.weekly-archive-img {
    width: 100%;
    height: auto;
    border: 1px solid var(--color-border);
    object-fit: cover;
    aspect-ratio: 3 / 4;
}

.weekly-archive-title {
    margin-top: 4px;
    font-size: 0.65rem;
    font-family: var(--font-sans);
    font-weight: 700;
    line-height: 1.2;
}

.weekly-archive-title a {
    color: var(--color-text-muted);
}

.weekly-archive-title a:hover {
    color: var(--color-primary);
}

.weekly-button-grid-sub {
    margin-top: 6px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.weekly-cover-placeholder {
    width: 100%;
    height: 240px;
    background-color: #f7f7f7;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.weekly-cover-placeholder-mini {
    width: 100%;
    aspect-ratio: 3 / 4;
    background-color: #f7f7f7;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
}

.weekly-button-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    width: 100%;
}

.btn-sidebar-brand {
    background-color: #ebebeb;
    color: var(--color-text-main);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 6px 4px;
    text-align: center;
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.btn-sidebar-brand:hover {
    background-color: #dddddd;
}

.btn-sidebar-brand.btn-highlight {
    background-color: var(--color-brand-red);
    color: #ffffff;
}

.btn-sidebar-brand.btn-highlight:hover {
    background-color: #a93226;
}

/* Monetization placeholders */
.ad-placeholder-box {
    background-color: #f9f9f9;
    border: 1px dashed var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ad-300x250 {
    height: 250px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

/* --- Single Post Detail Page Layout & Typography --- */
.single-post-layout {
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.breadcrumbs {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.5px;
}

.breadcrumbs a {
    color: var(--color-text-muted);
    transition: var(--transition-smooth);
}

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

.breadcrumb-current {
    color: var(--color-text-main);
    font-weight: 700;
}

.post-categories-pills {
    margin-bottom: 0.75rem;
}

.cat-pill {
    background-color: var(--color-primary);
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.cat-pill.top-stories {
    background-color: var(--color-brand-red);
}

.single-post-title {
    font-family: var(--font-serif);
    font-size: 2.15rem;
    font-weight: 800;
    color: var(--color-text-main);
    line-height: 1.25;
    margin-bottom: var(--spacing-xs);
    letter-spacing: -0.5px;
}

.post-meta-details {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: var(--spacing-xs);
}

.single-post-featured-image {
    margin-bottom: var(--spacing-md);
}

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

.featured-image-caption {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-style: italic;
    margin-top: 8px;
    line-height: 1.4;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 8px;
}

.post-social-sharing {
    display: flex;
    gap: 8px;
    margin-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: var(--spacing-sm);
}

.post-social-sharing.sharing-bottom {
    margin-top: var(--spacing-lg);
    border-top: 1px solid var(--color-border);
    border-bottom: none;
    padding-top: var(--spacing-md);
}

.share-btn {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff !important;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.share-btn.fb { background-color: #3b5998; }
.share-btn.twitter { background-color: #111111; }
.share-btn.whatsapp { background-color: #25d366; }
.share-btn.email { background-color: #888888; }

.share-btn:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

.post-entry-content {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--color-text-main);
}

.post-entry-content p {
    margin-bottom: var(--spacing-md);
}

/* Sidebar Latest News Widget (Single View) */
.latest-news-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-latest-item {
    display: flex;
    gap: 10px;
    align-items: center;
    border-bottom: 1px dashed var(--color-border);
    padding-bottom: 10px;
}

.sidebar-latest-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.latest-item-thumbnail {
    width: 80px;
    height: 60px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.latest-item-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 1.25rem;
}

.latest-item-info {
    flex-grow: 1;
}

.latest-item-title {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

.latest-item-title a {
    color: var(--color-text-main);
    transition: var(--transition-smooth);
}

.latest-item-title a:hover {
    color: var(--color-primary);
}

/* --- WordPress Leave a Reply / Comment Form Styling --- */
.post-comments-area {
    margin-top: var(--spacing-lg);
    border-top: 1px solid var(--color-border);
    padding-top: var(--spacing-md);
}

#respond {
    background-color: #fcfcfc;
    padding: var(--spacing-md);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    margin-top: var(--spacing-md);
}

#reply-title {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-text-main);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
}

#commentform {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

#commentform p {
    margin-bottom: 0;
}

#commentform label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 4px;
}

#commentform input[type="text"],
#commentform input[type="email"],
#commentform input[type="url"],
#commentform textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--color-border);
    border-radius: 3px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    outline: none;
    box-sizing: border-box;
    transition: var(--transition-smooth);
    background-color: #ffffff;
}

#commentform input[type="text"]:focus,
#commentform input[type="email"]:focus,
#commentform input[type="url"]:focus,
#commentform textarea:focus {
    border-color: var(--color-primary);
}

#commentform textarea {
    min-height: 120px;
    resize: vertical;
}

.comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.comment-form-cookies-consent input[type="checkbox"] {
    margin-top: 4px;
    width: auto !important;
}

.comment-form-cookies-consent label {
    font-weight: 500 !important;
    color: var(--color-text-muted) !important;
    font-size: 0.75rem !important;
}

#commentform #submit {
    background-color: var(--color-text-main);
    color: #ffffff;
    border: none;
    padding: 10px 24px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    border-radius: 3px;
    transition: var(--transition-smooth);
    justify-self: start;
}

#commentform #submit:hover {
    background-color: var(--color-primary);
}

/* --- Category / Tag Archive Page Styles --- */
.archive-layout {
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.archive-header-box {
    border-bottom: 3px double var(--color-border);
    padding-bottom: 8px;
    margin-bottom: var(--spacing-md);
}

.archive-title-heading {
    font-family: var(--font-serif);
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--color-text-main);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.archive-posts-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.archive-post-card {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
    border-bottom: 1px dashed var(--color-border);
    padding-bottom: var(--spacing-md);
}

.archive-post-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.archive-post-thumbnail {
    width: 180px;
    height: 120px;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

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

.archive-post-details {
    flex-grow: 1;
}

.archive-post-title {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 6px 0;
}

.archive-post-title a {
    color: var(--color-text-main);
    transition: var(--transition-smooth);
}

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

.archive-post-meta {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.archive-post-excerpt {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--color-text-main);
}

/* Archive Pagination styling */
.archive-pagination-box {
    margin-top: var(--spacing-lg);
    border-top: 1px solid var(--color-border);
    padding-top: var(--spacing-md);
}

.archive-pagination-box .nav-links {
    display: flex;
    justify-content: center;
    gap: 4px;
}

.archive-pagination-box .page-numbers {
    display: inline-block;
    padding: 6px 12px;
    background-color: #f5f5f5;
    border: 1px solid var(--color-border);
    color: var(--color-text-main);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.archive-pagination-box .page-numbers.current,
.archive-pagination-box .page-numbers:hover {
    background-color: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
}

/* --- Generic Page Layout & Gutenberg Block Columns Support --- */
.page-layout {
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.page-header-box {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.page-title-heading {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-text-main);
    display: inline-block;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 8px;
    letter-spacing: -0.5px;
}

.page-entry-content {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text-main);
}

/* Gutenberg block columns support for layouts like Media Kits */
.wp-block-columns {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.wp-block-column {
    flex: 1 1 0%;
    min-width: 0;
}

/* Specific alignments for Gutenberg text and media */
.wp-block-column h3 {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-align: center;
    color: var(--color-text-main);
}

.wp-block-column figure {
    margin: 0;
    text-align: center;
}

.wp-block-column img {
    max-width: 100%;
    height: auto;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Responsive adjustments for layouts */
@media (max-width: 992px) {
    .header-branding-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .header-flags-col {
        justify-content: center;
    }

    .header-social-col {
        justify-content: center;
    }

    .magazine-grid-2 {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .global-brand-sidebar {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--color-border);
        padding-top: var(--spacing-md);
        margin-top: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .site-title {
        font-size: 2.25rem;
    }

    .menu-toggle {
        display: block;
    }

    .navigation-menu-links > ul {
        display: none;
        flex-direction: column;
        gap: 0.5rem;
        padding: var(--spacing-sm) 0;
        list-style: none;
    }

    .main-navigation-wrapper.toggled .navigation-menu-links > ul {
        display: flex;
    }

    .navigation-menu-links a {
        border-bottom: 1px solid var(--color-border);
        padding: 0.5rem 0;
    }

    /* Submenu formatting in mobile */
    .navigation-menu-links ul.sub-menu {
        position: static;
        box-shadow: none;
        border: none;
        display: block; /* Render inline on mobile */
        padding-left: var(--spacing-md);
        min-width: unset;
        background-color: transparent;
    }

    .navigation-menu-links ul.sub-menu li.menu-item-has-children > a::after,
    .navigation-menu-links li.menu-item-has-children > a::after {
        display: none; /* Hide submenu arrows on mobile view */
    }

    .top-stories-grid-3 {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .magazine-grid-3 {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .wp-block-columns {
        flex-direction: column;
    }

    .featured-slider-wrapper {
        height: 260px;
    }

    .top-stories-grid-2 {
        grid-template-columns: 1fr;
    }
}

/* --- Radio Zindagi Stream Player Modal --- */
.rz-player-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.rz-player-modal-overlay.active {
    opacity: 1;
}

.rz-player-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    width: 320px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.rz-player-modal-overlay.active .rz-player-card {
    transform: translateY(0);
}

.rz-player-close-btn {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.rz-player-close-btn:hover {
    color: var(--color-brand-red);
}

.rz-player-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 12px;
}

.rz-radio-icon {
    font-size: 2.25rem;
    color: var(--color-primary);
}

.rz-player-title {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-text-main);
    margin: 0;
}

.rz-player-subtitle {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin: 0;
    font-weight: 600;
}

.rz-player-status {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rz-player-status.loading {
    color: var(--color-brand-gold);
    animation: rzPulse 1.5s infinite ease-in-out;
}

@keyframes rzPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.rz-player-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.rz-control-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: none;
    background-color: var(--color-primary);
    color: #ffffff;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(15, 76, 129, 0.3);
    transition: var(--transition-smooth);
}

.rz-control-btn:hover {
    background-color: var(--color-text-main);
    transform: scale(1.05);
}

.rz-volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    margin-top: 8px;
}

.rz-volume-icon {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    cursor: pointer;
    width: 20px;
    text-align: center;
}

.rz-volume-slider {
    flex-grow: 1;
    height: 4px;
    border-radius: 2px;
    outline: none;
    cursor: pointer;
    accent-color: var(--color-primary);
}

/* Site Footer Styling */
.site-footer {
    width: 100%;
    border-top: 1px solid var(--color-border);
    padding: var(--spacing-md) 0;
    margin-top: var(--spacing-lg);
    background-color: #ffffff;
}

.site-footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
}

.site-info {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.site-info a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

.site-info a:hover {
    text-decoration: underline;
}

.footer-social-col {
    display: flex;
    gap: 8px;
    align-items: center;
}

@media (max-width: 768px) {
    .site-footer-container {
        flex-direction: column;
        text-align: center;
    }
}

