/*!
Theme Name: Sport Review
Theme URI: http://underscores.me/
Author: Sport Review srl
Author URI: http://underscores.me/
Description: Tema Custom Calcionews24 (Framework Multisite)
Version: 1.3.2 (CSS Variables, Global Portrait Aspect-Ratio & Child Theme Ready)
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: sport-review
*/

/* ==========================================================================
   0. NETWORK CSS CUSTOM PROPERTIES (CORE PALETTE)
   ========================================================================== */
   :root {
    /* Color Palette Principale (Default: Calcionews24 Verde) */
    --color-primary: #7ab800;           /* Header top bar, hover link, bottoni secondari */
    --color-primary-dark: #5a8800;      /* Hover e stati attivi scuriti */
    --color-accent: #80b229;            /* Dettagli, tag e elementi AudioZone */
    --color-badge-live: #e32119;        /* Rosso badge LIVE e breaking news */
    --color-badge-live-hover: #c01912;  /* Hover del bottone/badge LIVE */
    
    /* Neutrali, Testi e Sfondi */
    --color-bg-dark: #111111;           /* Sfondo Footer, Dark Section e elementi scuri */
    --color-bg-badge: #dddddd;          /* Fondo grigio dei parallelogrammi e badge usati */
    --color-text-main: #000000;         /* Testo base corpo */
    --color-text-muted: #555555;        /* Testo secondario, estratti, date */
    --color-border-light: #eeeeee;      /* Bordi chiari di separazione */

    /* 2. Tipografia Centralizzata */
    --font-primary: 'Roboto', sans-serif;          /* Per il corpo del testo, paragrafi e estratti */
    --font-heading: 'Oswald', sans-serif;          /* Per titoli (H1-H6), menu, badge e widget */
    --font-secondary: 'Helvetica Neue', Helvetica, Arial, sans-serif; /* Per layout speciali (es. AudioZone) */
}

/* ==========================================================================
   1. GENERIC & RESET
   ========================================================================== */
html { line-height: 1.15; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }
body { margin: 0; background: #fff; }
main { display: block; }
h1 { font-size: 2em; margin: 0.67em 0; }
hr { box-sizing: content-box; height: 1px; overflow: visible; background-color: #ccc; border: 0; margin-bottom: 1.5rem; }
pre { font-family: monospace, monospace; font-size: 1em; background: #eee; line-height: 1.6; margin-bottom: 1.6rem; max-width: 100%; overflow: auto; padding: 1.6rem; }
a { background-color: transparent; color: var(--color-primary); }
a:visited { color: var(--color-primary-dark); }
a:hover, a:focus, a:active { color: var(--color-bg-dark); outline: 0; }
abbr[title] { border-bottom: none; text-decoration: underline; text-decoration: underline dotted; }
b, strong { font-weight: bolder; }
code, kbd, samp { font-family: monospace, monospace; font-size: 1em; }
small { font-size: 80%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sub { bottom: -0.25em; }
sup { top: -0.5em; }
img { border-style: none; height: auto; max-width: 100%; }
button, input, optgroup, select, textarea { font-family: inherit; font-size: 100%; line-height: 1.15; margin: 0; }
button, input { overflow: visible; }
button, select { text-transform: none; }
button, [type="button"], [type="reset"], [type="submit"] { -webkit-appearance: button; }
button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner { border-style: none; padding: 0; }
fieldset { padding: 0.35em 0.75em 0.625em; }
legend { box-sizing: border-box; color: inherit; display: table; max-width: 100%; padding: 0; white-space: normal; }
progress { vertical-align: baseline; }
textarea { overflow: auto; width: 100%; }
[type="checkbox"], [type="radio"] { box-sizing: border-box; padding: 0; }
[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button { height: auto; }
[type="search"] { -webkit-appearance: textfield; outline-offset: -2px; }
[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; }
details { display: block; }
summary { display: list-item; }
template { display: none; }
[hidden] { display: none; }

/* ==========================================================================
   2. TYPOGRAPHY & BASE GLOBALS
   ========================================================================== */
body, button, input, select, optgroup, textarea {
    color: var(--color-text-main);
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}
h1, h2, h3, h4, h5, h6 { clear: both; }
p { margin-bottom: 1.5rem; }
dfn, cite, em, i { font-style: italic; }
blockquote { margin: 0 1.5rem; }
address { margin: 0 0 1.5rem; }
ul, ol { margin: 0 0 1.5rem 3rem; }
ul { list-style: disc; }
ol { list-style: decimal; }
li > ul, li > ol { margin-bottom: 0; margin-left: 1.5rem; }
dt { font-weight: 700; }
dd { margin: 0 1.5rem 1.5rem; }
embed, iframe, object { max-width: 100%; }
figure { margin: 1rem 0; }
table { margin: 0 0 1.5rem; width: 100%; }

/* Form Styles */
button, input[type="button"], input[type="reset"], input[type="submit"] {
    border: 1px solid; border-color: #ccc #ccc #bbb; border-radius: 3px; background: #e6e6e6; color: rgba(0, 0, 0, 0.8); line-height: 1; padding: 0.6em 1em 0.4em;
}
button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover { border-color: #ccc #bbb #aaa; }
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], textarea {
    color: #666; border: 1px solid #ccc; border-radius: 3px; padding: 3px;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus { color: var(--color-bg-dark); }
select { border: 1px solid #ccc; }

/* Global Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0.9375rem;
    width: 100%;
    box-sizing: border-box;
}

/* ==========================================================================
   3. HEADER & NAVIGATION (DESKTOP & MEGA MENU)
   ========================================================================== */
.menu-toggle, .search-toggle {
    background: transparent; border: none; cursor: pointer; padding: 0.3125rem; display: flex; align-items: center; justify-content: center; color: #333333;
}
.hamburger, .hamburger::before, .hamburger::after {
    display: block; width: 25px; height: 3px; background-color: #333333; transition: all 0.3s ease-in-out;
}
.hamburger::before, .hamburger::after { content: ''; position: absolute; }
.hamburger::before { transform: translateY(-8px); }
.hamburger::after { transform: translateY(8px); }
.menu-toggle.toggled .hamburger { background-color: transparent !important; }
.menu-toggle.toggled .hamburger::before { transform: rotate(45deg); }
.menu-toggle.toggled .hamburger::after { transform: rotate(-45deg); }

@media (min-width: 992px) {
    .site-header { max-width: 1200px; margin: 0 auto; background-color: transparent !important; border-bottom: none; }
    
    .header-top-bar { background-color: var(--color-primary); padding: 0.5rem 0; color: #ffffff; }
    .header-top-bar .container { display: flex; align-items: center; justify-content: space-between; }
    .header-logo-left img { max-height: 35px; width: auto; display: block; }
    
    .site-branding-center { text-align: center; }
    .site-branding-center img { max-height: 35px; width: auto; display: inline-block; }
    
    .header-social-top { display: flex; gap: 0.75rem; }
    .header-social-top a { color: #ffffff; display: flex; align-items: center; transition: opacity 0.2s ease; }
    .header-social-top a:hover { opacity: 0.8; }
    
    .header-main-nav { background-color: #ffffff; padding: 0.625rem 0; border-bottom: 1px solid var(--color-border-light); position: relative !important; }
    .header-main-nav .container { display: flex; align-items: center; justify-content: space-between; position: relative !important; }
    
    .menu-toggle { display: flex !important; position: relative !important; padding: 0.625rem; margin-right: 0; flex-shrink: 0; }
    .hamburger { position: relative; }

    .desktop-only-menu { display: flex; flex-grow: 1; justify-content: center; }
    .desktop-only-menu > ul, .desktop-only-menu div > ul { display: flex; flex-wrap: nowrap; white-space: nowrap; align-items: center; justify-content: center; list-style: none; margin: 0; padding: 0; gap: 1.375rem; }
    .desktop-only-menu li { position: relative; }
    .desktop-only-menu a, .main-navigation a, .menu-item a { text-decoration: none; color: #141219; font-weight: 700; font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 0.875rem; transition: color 0.2s ease; display: block; padding: 0.3125rem 0; }
    .desktop-only-menu a:hover { color: var(--color-primary); }
    
    /* Dropdown Menus */
    .desktop-only-menu ul.sub-menu, .desktop-only-menu .sub-menu { display: none; position: absolute !important; top: 100% !important; left: 0 !important; background-color: #ffffff !important; z-index: 999999 !important; min-width: 220px !important; box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important; border-top: 2px solid var(--color-primary) !important; padding: 0 !important; margin: 0 !important; }
    .desktop-only-menu li:hover > ul.sub-menu, .desktop-only-menu li:hover > .sub-menu { display: block !important; opacity: 1 !important; visibility: visible !important; }
    .desktop-only-menu .sub-menu li { display: block !important; width: 100% !important; margin: 0 !important; border-bottom: 1px solid #f0f0f0 !important; }
    .desktop-only-menu .sub-menu li:last-child { border-bottom: none !important; }
    .desktop-only-menu .sub-menu a { padding: 0.75rem 1.125rem !important; font-size: 0.875rem !important; text-transform: capitalize !important; font-weight: 500 !important; font-family: 'Roboto', sans-serif !important; line-height: 1.4 !important; color: var(--color-bg-dark) !important; background-color: transparent !important; }
    .desktop-only-menu .sub-menu a:hover { color: var(--color-primary) !important; background-color: #fafafa !important; padding-left: 1.375rem !important; transition: all 0.2s ease !important; }
    
    /* Mega Menu */
    .desktop-only-menu li.mega-cat { position: static !important; }
    .mega-menu-wrapper { display: none; position: absolute !important; top: 100% !important; left: 0 !important; width: 100% !important; background-color: #ffffff !important; z-index: 999999 !important; box-shadow: 0 15px 35px rgba(0,0,0,0.15) !important; padding: 1.875rem 0 !important; border-top: 3px solid var(--color-primary) !important; box-sizing: border-box !important; cursor: default; }
    .desktop-only-menu li.mega-cat:hover > .mega-menu-wrapper { display: block !important; animation: fadeInMega 0.2s ease; }
    @keyframes fadeInMega { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
    .mega-menu-grid { display: grid !important; grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: 1.25rem !important; max-width: 75rem !important; margin: 0 auto !important; padding: 0 0.9375rem !important; width: 100% !important; box-sizing: border-box !important; }
    .mega-menu-item { min-width: 0 !important; width: 100% !important; margin: 0 !important; padding: 0 !important; border: none !important; white-space: normal !important; }
    .mega-menu-item a { display: block !important; text-decoration: none !important; white-space: normal !important; color: var(--color-bg-dark) !important; }
    .mega-menu-img { width: 100% !important; aspect-ratio: 16 / 9 !important; border-radius: 0.25rem !important; overflow: hidden !important; margin-bottom: 0.75rem !important; background-color: #f4f4f4; }
    .mega-menu-img img { width: 100% !important; height: 100% !important; max-width: 100% !important; object-fit: cover !important; display: block !important; transition: transform 0.3s ease !important; margin: 0 !important; padding: 0 !important; }
    .mega-menu-item a:hover .mega-menu-img img { transform: scale(1.05) !important; }
    .mega-menu-item h4 { font-family: 'Oswald', sans-serif !important; font-size: 0.875rem !important; font-weight: 700 !important; line-height: 1.3 !important; color: var(--color-bg-dark) !important; margin: 0 !important; text-transform: none !important; transition: color 0.2s ease !important; white-space: normal !important; overflow-wrap: break-word !important; display: -webkit-box !important; -webkit-line-clamp: 3 !important; -webkit-box-orient: vertical !important; overflow: hidden !important; }
    .mega-menu-item a:hover h4 { color: var(--color-primary) !important; }
    
    .header-utilities { display: flex; align-items: center; gap: 0.9375rem; margin-left: 0; flex-shrink: 0; }
    
    /* Flyout Menu Desktop (Hamburger) */
    .flyout-menu-container { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: #ffffff; box-shadow: 0 10px 15px rgba(0,0,0,0.1); z-index: 9999; padding: 1.5625rem 0; border-top: 1px solid var(--color-border-light); }
    .flyout-menu-container.is-open { display: block; }
    .flyout-menu-container ul { list-style: none; padding: 0; margin: 0; column-count: 4; column-gap: 1.875rem; }
    .flyout-menu-container ul li { margin-bottom: 0.625rem; break-inside: avoid; }
    .flyout-menu-container ul a { color: #333; text-decoration: none; font-weight: 700; font-family: 'Oswald', sans-serif; text-transform: uppercase; }
    .flyout-menu-container ul .sub-menu { column-count: 1; padding-left: 0.625rem; margin-top: 0.3125rem; border-left: 2px solid var(--color-primary); }
    .flyout-menu-container ul .sub-menu a { font-weight: 400; font-size: 0.875rem; text-transform: none; }
    
    .header-teams { background-color: #ffffff; padding: 0.5rem 0; border-bottom: 1px solid var(--color-border-light); overflow-x: auto; white-space: nowrap; }
    .header-teams ul, .header-teams div { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
    .header-teams img { max-height: 24px; width: auto; transition: transform 0.2s; }
    .header-teams img:hover { transform: scale(1.15); }
    
    .single-post-layout { display: flex; gap: 1.875rem; margin-top: 1.25rem; }
    .main-article-content { flex: 1; max-width: calc(100% - 330px); }
    .sidebar-right { width: 300px; flex-shrink: 0; }
}

/* ==========================================================================
   4. HEADER MOBILE (max-width: 991px)
   ========================================================================== */
@media (max-width: 991px) {
    .site-header { position: relative !important; background-color: var(--color-primary) !important; height: 60px !important; border: none !important; display: block !important; z-index: 999999 !important; }
    .header-top-bar { position: absolute !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 60px !important; background: transparent !important; padding: 0 3.75rem !important; margin: 0 !important; z-index: 1 !important; box-sizing: border-box !important; }
    .header-top-bar .container { display: flex !important; align-items: center !important; justify-content: center !important; height: 100% !important; width: 100% !important; padding: 0 !important; }
    .header-logo-left, .header-social-top { display: none !important; }
    
    .site-branding-center { display: flex !important; align-items: center !important; justify-content: center !important; width: 100% !important; height: 100% !important; margin: 0 !important; padding: 0 !important; }
    .site-branding-center img { display: block !important; max-height: 28px !important; max-width: 100% !important; width: auto !important; height: auto !important; filter: brightness(0) invert(1) !important; }
    
    .header-main-nav { position: absolute !important; top: 0 !important; left: 0 !important; width: 100% !important; height: 60px !important; background: transparent !important; padding: 0 !important; margin: 0 !important; z-index: 2 !important; pointer-events: none !important; }
    .header-main-nav .container { display: flex !important; align-items: center !important; justify-content: space-between !important; height: 100% !important; padding: 0 0.9375rem !important; }
    
    .menu-toggle, .header-utilities { pointer-events: auto !important; display: flex !important; align-items: center !important; margin: 0 !important; padding: 0.3125rem !important; background: transparent !important; border: none !important; top: auto !important; transform: none !important; }
    .hamburger, .hamburger::before, .hamburger::after { background-color: #ffffff !important; width: 24px !important; height: 3px !important; }
    .menu-toggle.toggled .hamburger::before { background-color: #ffffff !important; } 
    .menu-toggle.toggled .hamburger::after { background-color: #ffffff !important; }
    
    .search-toggle { color: #ffffff !important; background: transparent !important; border: none !important; padding: 0 !important; display: flex !important; }
    .search-toggle svg { fill: none !important; stroke: #ffffff !important; width: 22px !important; height: 22px !important; stroke-width: 2px !important; }
    
    .desktop-only-menu, .header-teams { display: none !important; }
    
    .flyout-menu-container { display: none; background: #ffffff !important; position: absolute !important; top: 60px !important; left: 0 !important; width: 100% !important; z-index: 99999 !important; padding: 0.9375rem 1.25rem !important; box-shadow: 0 10px 20px rgba(0,0,0,0.2) !important; pointer-events: auto !important; box-sizing: border-box !important; }
    .flyout-menu-container.is-open { display: block !important; }
    .flyout-menu-container ul { list-style: none !important; padding: 0 !important; margin: 0 !important; column-count: 1 !important; }
    .flyout-menu-container ul li { margin-bottom: 0 !important; border-bottom: 1px solid var(--color-border-light) !important; }
    .flyout-menu-container ul a { color: var(--color-bg-dark) !important; font-weight: 700 !important; text-decoration: none !important; display: block !important; padding: 0.75rem 0 !important; font-family: 'Oswald', sans-serif !important; text-transform: uppercase !important; font-size: 0.9375rem !important; }
    .flyout-menu-container ul .sub-menu { padding-left: 0.9375rem !important; margin: 0 !important; background: #f9f9f9 !important; border-left: 3px solid var(--color-primary) !important; }
    .flyout-menu-container ul .sub-menu a { text-transform: capitalize !important; font-weight: 400 !important; font-style: italic !important; font-family: 'Roboto', sans-serif !important; padding: 0.5rem 0 !important; color: #333333 !important; }
}

/* Unified Search Dropdown */
.header-search-dropdown { display: none; position: absolute !important; top: 100% !important; left: 0 !important; width: 100% !important; background-color: var(--color-bg-dark) !important; z-index: 99999 !important; padding: 0.9375rem 0 !important; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4) !important; border-bottom: 2px solid var(--color-primary) !important; }
.header-search-dropdown .container { max-width: 1200px !important; margin: 0 auto !important; padding: 0 1.25rem !important; }
.header-search-dropdown form { display: flex !important; align-items: center !important; justify-content: center !important; gap: 0.625rem !important; }
.header-search-dropdown input[type="search"], .header-search-dropdown input[type="text"] { flex-grow: 1 !important; max-width: 700px !important; height: 42px !important; background: #1a1a1a !important; border: 1px solid #333333 !important; color: #ffffff !important; padding: 0 0.9375rem !important; font-size: 0.9375rem !important; border-radius: 4px !important; outline: none !important; }
.header-search-dropdown input[type="submit"], .header-search-dropdown button[type="submit"] { height: 42px !important; padding: 0 1.5625rem !important; background: var(--color-primary) !important; color: #ffffff !important; border: none !important; font-weight: bold !important; border-radius: 4px !important; cursor: pointer !important; text-transform: uppercase !important; font-size: 0.8125rem !important; }
@media (max-width: 991px) {
    .header-search-dropdown { top: 60px !important; pointer-events: auto !important; }
}

/* ==========================================================================
   5. COMPONENTS & METADATA
   ========================================================================== */

/* Global Meta Data */
.cnz-post-meta { font-size: 0.7rem; font-weight: 600; margin-bottom: 0.5rem; display: flex; align-items: center; flex-wrap: wrap; gap: 0.375rem; color: var(--color-text-main); }
.cnz-post-meta .meta-sep { color: #aaaaaa; font-weight: 400; }
.cnz-post-meta .meta-time, .cnz-post-meta .meta-author { color: var(--color-text-muted); }

/* Overlaid exception for dark backgrounds */
.overlaid-post-text .cnz-post-meta, 
.overlaid-post-text .cnz-post-meta .meta-time, 
.overlaid-post-text .cnz-post-meta .meta-author, 
.overlaid-post-text .cnz-post-meta .meta-sep { color: #eeeeee; text-shadow: 1px 1px 3px rgba(0,0,0,0.8); }

/* Standardizzazione Globale Badge LIVE */
.cnz-badge-wrapper, .post-thumbnail, .featured-image-container, .elementor-post__thumbnail { position: relative; display: block; width: 100%; }
img.cnz-live { border: 3px solid var(--color-badge-live) !important; box-sizing: border-box; }

.cnz-live-overlay {
    position: absolute !important;
    top: 8px !important;
    left: 8px !important;
    background-color: var(--color-badge-live) !important;
    color: #ffffff !important;
    font-size: 0.6875rem !important;
    font-weight: 800 !important;
    font-family: 'Roboto', sans-serif !important;
    text-transform: uppercase !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 4px !important;
    letter-spacing: 0.5px !important;
    z-index: 10 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
    pointer-events: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.3125rem !important;
    line-height: 1 !important;
    height: auto !important;
    width: auto !important;
    margin: 0 !important;
}

.cnz-live-overlay .live-dot {
    width: 6px !important;
    height: 6px !important;
    background-color: #ffffff !important;
    border-radius: 50% !important;
    animation: pulseLive 1.5s infinite !important;
    display: inline-block !important;
}
@keyframes pulseLive { 0% { transform: scale(0.95); opacity: 1; } 50% { transform: scale(1.3); opacity: 0.5; } 100% { transform: scale(0.95); opacity: 1; } }

.cnz-video-overlay { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: rgba(0, 0, 0, 0.7); color: #ffffff; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; pointer-events: none; box-shadow: 0 4px 10px rgba(0,0,0,0.3); z-index: 10; }
img.cnz-video { filter: brightness(0.9); }
.cnz-photogallery-overlay { position: absolute; bottom: 10px; right: 10px; background-color: rgba(0, 0, 0, 0.75); color: #ffffff; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; pointer-events: none; box-shadow: 0 2px 5px rgba(0,0,0,0.4); z-index: 10; }

/* Global Hover Effects */
.small-list-post a:hover h4, 
.featured-lead-post a:hover h2, 
.widget-title a:hover, 
.sidebar-right-post a:hover h2, 
.timeline-post-text a:hover h3, 
.mosaico-small-text a:hover h3, 
.widget a:hover, 
.entry-content a:hover, 
.site-footer a:hover { color: #444444 !important; transition: color 0.2s ease; }

.center-overlaid-post a:hover h1, 
.center-overlaid-post a:hover h2, 
.layout2-main-post a:hover h1 { color: #ffffff !important; opacity: 0.85; transition: opacity 0.2s ease; }

/* Rimuove l'alone/sfondo disturbante sotto al badge dentro gli overlay */
.overlaid-post-text .post-cat-badge,
.overlaid-post-text .solid-badge {
    text-shadow: none !important;
    color: var(--color-text-main) !important;
    background-color: var(--color-bg-badge) !important;
}

.overlaid-post-text .meta-time,
.overlaid-post-text .meta-author,
.overlaid-post-text .meta-sep {
    color: #eeeeee !important;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8) !important;
}

/* ==========================================================================
   6. SINGLE ARTICLE & CATEGORY
   ========================================================================== */

/* Single Article Typography */
h1.entry-title, .single-post-wrapper h1 { font-family: 'Oswald', sans-serif; font-size: 3.5rem !important; font-weight: 700; color: var(--color-text-main); line-height: 1.1; margin-bottom: 1.25rem; }
.entry-content h2.wp-block-heading, .entry-content h2 { font-family: 'Roboto', sans-serif; font-size: 1.8rem !important; font-weight: 700; color: var(--color-text-main); line-height: 1.4; margin-top: 1.875rem; margin-bottom: 0.9375rem; }
.entry-content p.wp-block-paragraph, .entry-content p { font-family: 'Roboto', sans-serif; font-size: 1.3125rem !important; font-weight: 400; color: var(--color-text-main); line-height: 1.6; margin-bottom: 1.25rem; }

/* Author Meta Data (Single) */
.single-post .entry-meta { display: flex !important; align-items: center !important; gap: 0.9375rem !important; margin-bottom: 1.5625rem !important; padding-bottom: 0.9375rem !important; border-bottom: 1px solid var(--color-border-light) !important; }
.single-post .entry-meta .author-avatar { line-height: 0 !important; }
.single-post .entry-meta .author-avatar img { width: 45px !important; height: 45px !important; border-radius: 50% !important; object-fit: cover !important; display: block !important; }
.single-post .entry-meta .author-details { line-height: 1.4 !important; }
.single-post .entry-meta .entry-date { font-size: 0.875rem !important; color: #999 !important; margin-bottom: 0.125rem !important; letter-spacing: 0.5px !important; }
.single-post .entry-meta .entry-author { font-size: 0.875rem !important; color: #999 !important; display: flex !important; align-items: center !important; gap: 0.625rem !important; }
.single-post .entry-meta .entry-author strong, .single-post .entry-meta .entry-author strong a { font-size: 0.875rem !important; color: var(--color-text-main) !important; font-weight: 700 !important; text-decoration: none !important; transition: color 0.2s ease !important; }
.single-post .entry-meta .entry-author strong a:hover { color: var(--color-bg-dark) !important; }

/* Social Mini Buttons */
.single-post .entry-meta .author-social-mini { display: flex !important; align-items: center !important; gap: 0.3125rem !important; }
.single-post .entry-meta .author-social-mini a { display: flex !important; align-items: center !important; justify-content: center !important; width: 24px !important; height: 24px !important; background-color: #f0f0f0 !important; color: #888888 !important; border-radius: 50% !important; text-decoration: none !important; transition: all 0.2s ease !important; }
.single-post .entry-meta .author-social-mini a:hover { background-color: var(--color-primary) !important; color: #ffffff !important; }

/* Read More Toggle */
.entry-content.has-read-more { position: relative; max-height: 450px; overflow: hidden; transition: max-height 0.4s ease-in-out; }
.entry-content.has-read-more.is-expanded { max-height: 15000px; }
.read-more-wrapper { position: relative; text-align: center; margin-top: -6.25rem; padding-bottom: 1.5625rem; z-index: 10; }
.read-more-fade { height: 100px; background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 85%); margin-bottom: -0.9375rem; }
.btn-read-more { background-color: var(--color-badge-live); color: #ffffff; border: none; padding: 0.625rem 1.875rem; font-size: 0.875rem; font-weight: 700; text-transform: uppercase; border-radius: 4px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 4px 6px rgba(0,0,0,0.15); transition: background 0.3s ease, transform 0.2s ease; }
.btn-read-more:hover { background-color: var(--color-badge-live-hover); transform: translateY(-2px); }

/* Category Pages Base */
.category-page-main { margin-top: 2.5rem; margin-bottom: 3.75rem; }
.category-header { margin-bottom: 1.875rem; border-bottom: 3px solid var(--color-primary); padding-bottom: 0.9375rem; }
.category-title { font-size: 1.625rem !important; font-weight: 900 !important; text-transform: uppercase; margin: 0 0 0.625rem 0; color: var(--color-bg-dark); letter-spacing: -0.5px; }
.category-description { font-size: 1rem; color: var(--color-text-muted); line-height: 1.5; max-width: 800px; }
.category-header > a, .category-header p:first-child a { display: none; }
.category-layout { display: grid !important; grid-template-columns: 1fr 320px !important; gap: 2.5rem; align-items: start; }
.category-sidebar { width: 100%; }

/* Featured Category Post (Desktop) */
.category-feat-post { position: relative; width: 100%; height: 480px; overflow: hidden; margin-bottom: 2.5rem; border-radius: 0.5rem; }
.category-feat-post .overlaid-post-img { width: 100%; height: 100%; }
.category-feat-post .overlaid-post-img img { width: 100%; height: 100%; object-fit: cover; object-position: right center; display: block; }
.category-feat-post .overlay-gradient { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to right, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 45%, rgba(0,0,0,0) 100%); }
.category-feat-post .overlaid-post-text { position: absolute; top: 35%; left: 40px; bottom: auto; transform: translateY(-50%); width: 55%; text-align: left; padding: 0; z-index: 10; }
.category-feat-post h2 { font-size: 3.25rem; font-family: "Oswald", sans-serif !important; line-height: 1.05; font-weight: 700; color: #ffffff; margin-bottom: 0.9375rem; text-shadow: 1px 1px 3px rgba(0,0,0,0.8); }
.category-feat-post .main-post-excerpt { font-size: 1.15rem; color: #dddddd; line-height: 1.5; margin: 0; }
.category-feat-post .cnz-post-meta { margin-bottom: 0.9375rem; }
.category-feat-post .cnz-post-meta .meta-sep, .category-feat-post .cnz-post-meta .meta-time, .category-feat-post .cnz-post-meta .meta-author { display: none; }

/* BADGE CATEGORIA PARALLELOGRAMMA INCLINATO */
.category-feat-post .cnz-post-meta .solid-badge,
.category-feat-post .cnz-post-meta .post-cat-badge {
    position: relative !important;
    display: inline-block !important;
    background-color: transparent !important;
    color: var(--color-text-main) !important;
    font-family: 'Roboto', sans-serif !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    font-style: normal !important;
    text-transform: uppercase !important;
    padding: 0.25rem 0.75rem !important;
    margin-left: 0.3rem !important;
    line-height: 1.2 !important;
    z-index: 2 !important;
    text-shadow: none !important;
    border-radius: 0 !important;
}

.category-feat-post .cnz-post-meta .solid-badge::before,
.category-feat-post .cnz-post-meta .post-cat-badge::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background-color: var(--color-bg-badge) !important;
    transform: skewX(-15deg) !important;
    z-index: -1 !important;
    display: block !important;
}

/* Responsive Media Queries for Single / Category */
@media (max-width: 1024px) {
    .category-layout { grid-template-columns: 1fr !important; }
}
@media screen and (max-width: 768px) {
    h1.entry-title, .single-post-wrapper h1 { font-size: 1.8125rem !important; line-height: 1.2 !important; }
    .entry-content h2.wp-block-heading, .entry-content h2 { font-size: 1.5rem !important; }
    .entry-content p.wp-block-paragraph, .entry-content p { font-size: 1.25rem !important; }
}

/* CATEGORY FEAT POST MOBILE (ASPECT RATIO PORTRAIT 4/5 UNIFORME) */
@media screen and (max-width: 820px) {
    .category-feat-post {
        height: auto !important;
        position: relative !important;
        display: block !important;
        margin-bottom: 1.875rem !important;
        border-radius: 0.5rem !important;
        overflow: hidden !important;
    }
    
    .category-feat-post .overlaid-link-wrap {
        display: block !important;
        position: relative !important;
        width: 100% !important;
    }

    .category-feat-post .overlaid-post-img,
    .category-feat-post .cnz-badge-wrapper {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 4 / 5 !important;
        overflow: hidden !important;
    }

    .category-feat-post .overlaid-post-img img,
    .category-feat-post .cnz-badge-wrapper img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center top !important;
    }

    .category-feat-post .overlay-gradient {
        position: absolute !important;
        top: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 60% !important;
        background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 60%, rgba(0,0,0,0) 100%) !important;
    }

    .category-feat-post .overlaid-post-text {
        position: absolute !important;
        top: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        transform: none !important;
        width: 100% !important;
        padding: 1.2rem !important;
        box-sizing: border-box !important;
        font-weight: 700 !important;
        z-index: 5 !important;
    }

    .category-feat-post h2 {
        font-size: 1.65rem !important;
        line-height: 1.2 !important;
        margin: 0.35rem 0 0 0 !important;
        color: #ffffff !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .category-feat-post .main-post-excerpt {
        display: none !important;
    }
}

/* ==========================================================================
   7. WIDGETS & BADGES UNIFICATI (TITOLI & CATEGORIE)
   ========================================================================== */

/* 7a. WIDGET TITLES */
h3.widget-title,
.widget-title,
.home-widget-block .widget-title {
    position: relative !important;
    text-align: center !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 1.875rem !important;
    z-index: 1;
}
h3.widget-title::before,
.widget-title::before,
.home-widget-block .widget-title::before {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    right: 0 !important;
    height: 1px !important;
    background-color: var(--color-bg-badge) !important;
    z-index: -1 !important;
}
h3.widget-title span,
.widget-title span,
.home-widget-block .widget-title span {
    position: relative !important;
    display: inline-block !important;
    background: transparent !important;
    color: var(--color-bg-dark) !important;
    font-family: 'Oswald', sans-serif !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    font-style: italic !important;
    text-transform: uppercase !important;
    padding: 0.3125rem 0.8125rem !important;
    letter-spacing: 0.5px !important;
    line-height: 1.2 !important;
    z-index: 2 !important;
}
h3.widget-title span::before,
.widget-title span::before,
.home-widget-block .widget-title span::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    background-color: var(--color-bg-badge) !important;
    transform: skewX(-16deg) !important;
    z-index: -1 !important;
}

/* 7b. BADGE ARTICOLO SINGOLO */
.single-post .entry-header .category-badge,
.single-post .cnz-single-category-badge { 
    position: relative !important; 
    display: inline-block !important; 
    background: transparent !important; 
    color: var(--color-text-main) !important; 
    font-family: 'Roboto', sans-serif !important; 
    font-size: 1rem !important;
    font-weight: 700 !important; 
    font-style: normal !important; 
    text-transform: uppercase !important; 
    padding: 0.25rem 0.75rem !important; 
    margin-top: 1.25rem !important;
    margin-bottom: 0.9375rem !important; 
    margin-left: 0.3rem !important;
    line-height: 1.2 !important; 
    z-index: 2 !important; 
}
.single-post .entry-header .category-badge::before,
.single-post .cnz-single-category-badge::before { 
    content: "" !important; 
    position: absolute !important; 
    top: 0 !important; 
    bottom: 0 !important; 
    left: 0 !important; 
    right: 0 !important; 
    background-color: var(--color-bg-badge) !important; 
    transform: skewX(-15deg) !important; 
    z-index: -1 !important; 
}

/* 7c. BADGE RESTO DEL SITO */
.post-cat-badge,
body:not(.single-post):not(.archive) .category-badge {
    display: inline-block !important;
    font-family: 'Roboto', sans-serif !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    font-style: normal !important;
    text-transform: uppercase !important;
    color: var(--color-text-main) !important;
    background-color: var(--color-bg-badge) !important;
    padding: 0.25rem 0.6rem !important;
    margin-bottom: 0.5rem !important;
    line-height: 1 !important;
    border-radius: 0 !important;
}
body:not(.single-post):not(.archive) .post-cat-badge::before,
body:not(.single-post):not(.archive) .category-badge::before {
    display: none !important;
}

/* ==========================================================================
   8. HOMEPAGE WIDGETS & LAYOUTS
   ========================================================================== */

.small-post-text h4, .small-post-text h4 a, 
.timeline-post-text h3, .timeline-post-text h3 a, 
.sidebar-right h2, .sidebar-right h2 a, 
.mosaico-small-text h3, .mosaico-small-text h3 a {
    font-family: 'Oswald', sans-serif !important; font-size: 1rem; font-weight: 700 !important; color: #222222 !important; line-height: 1.3 !important;
}

.homepage-widgets-container { width: 100%; max-width: 1200px; margin: 2.5rem auto; padding: 0 0.9375rem; box-sizing: border-box; }
.home-widget-block { margin-bottom: 2.5rem; }

/* --- Hero Grid --- */
.home-hero-grid { display: grid; grid-template-columns: 280px 1fr 300px; gap: 1.875rem; margin-top: 1.875rem; margin-bottom: 2.5rem; }
.home-article-title, .archive-article-title h2 { font-family: 'Oswald', sans-serif; font-size: 0.9375rem; font-weight: 700; color: #222222; line-height: 1.3; }
.hero-col-center { display: flex; flex-direction: column; gap: 1.5625rem; }
.center-overlaid-post { position: relative; border-radius: 6px; overflow: hidden; }
.overlaid-link-wrap { display: block; position: relative; text-decoration: none; }
.overlaid-post-img { position: relative; line-height: 0; overflow: hidden; }
.overlaid-post-img img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; transition: transform 0.5s ease; }
.overlaid-link-wrap:hover .overlaid-post-img img { transform: scale(1.04); }
.overlay-gradient { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 45%, rgba(0,0,0,0.1) 100%); pointer-events: none; }
.overlaid-post-text { position: absolute; bottom: 0; left: 0; width: 100%; padding: 1.5625rem; box-sizing: border-box; z-index: 2; }
.overlaid-post-text h1, .overlaid-post-text h2 { color: #ffffff !important; font-size: 1.8rem; font-family: "Oswald", sans-serif !important; margin: 0.5rem 0 0 0; font-weight: 700 !important; letter-spacing: -0.02em; text-shadow: 0 2px 4px rgba(0,0,0,0.8), 0 4px 10px rgba(0,0,0,0.5); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.main-post .overlaid-post-text h1 { font-size: 1.625rem !important; line-height: 1.25; font-family: "Oswald", sans-serif !important;}
.secondary-post .overlaid-post-text h2 { font-size: 1.5rem !important; line-height: 1.25; font-family: "Oswald", sans-serif !important; }

/* FIRST HERO POST PORTRAIT (SVINCOLATO DAL BADGE LIVE) */
.home-hero-grid .main-post .overlaid-link-wrap {
    display: block !important;
    position: relative !important;
    width: 100% !important;
}

.home-hero-grid .main-post .overlaid-post-img,
.home-hero-grid .main-post .cnz-badge-wrapper {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 4 / 5 !important;
    overflow: hidden !important;
    border-radius: 6px !important;
}

.home-hero-grid .main-post .overlaid-post-img img,
.home-hero-grid .main-post .cnz-badge-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
}

.home-hero-grid .main-post .overlay-gradient {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 60% !important;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0) 100%) !important;
    pointer-events: none !important;
}

.home-hero-grid .main-post .overlaid-post-text {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    padding: 1.25rem !important;
    box-sizing: border-box !important;
    z-index: 5 !important;
}

/* Hero Spalla Premium */
.featured-lead-post { margin-bottom: 1.25rem; padding-bottom: 0.9375rem; border-bottom: 1px solid #e5e5e5; }
.featured-lead-post a { text-decoration: none !important; display: block; }
.featured-lead-post .lead-post-img { width: 100%; margin-bottom: 0.625rem; overflow: hidden; }
.featured-lead-post .lead-post-img img { width: 100%; height: auto; display: block; object-fit: cover; }
.featured-lead-post h2.lead-post-title { font-family: 'Oswald', sans-serif !important; font-size: 1.375rem !important; font-weight: 700 !important; color: #222 !important; line-height: 1.2 !important; margin: 0.5rem 0 0.375rem 0 !important; }
.featured-lead-post p.lead-post-excerpt { font-family: 'Roboto', sans-serif !important; font-size: 1rem !important; color: var(--color-text-muted) !important; line-height: 1.4 !important; margin: 0 !important; }

/* Small Lists (Sidebar) */
.small-list-post { display: flex; gap: 0.9375rem; margin-bottom: 1.25rem; align-items: flex-start; }
.small-post-img { flex-shrink: 0; width: 90px; }
.small-post-img img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.small-post-text h4 { font-size: 0.875rem; line-height: 1.3; margin: 0; color: #111; }
.small-post-text a { text-decoration: none; color: #111; }

/* --- Layout 2 --- */
.home-hero-layout-2 { margin-top: 1.875rem; margin-bottom: 2.5rem; display: flex; flex-direction: column; gap: 1.875rem; }
.layout2-main-post { width: 100%; }
.layout2-main-post .overlaid-post-img img { aspect-ratio: 21 / 9; }
.main-post-excerpt { color: #e2e2e2; font-size: 1rem; line-height: 1.4; margin: 0.625rem 0 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 1px 4px rgba(0,0,0,0.8); }
.layout2-sub-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

.layout2-sub-post a,
.layout2-sub-post a:hover,
.layout2-sub-post a:focus,
.layout2-sub-post a:active,
.layout2-sub-post .sub-post-text h2,
.layout2-sub-post a:hover .sub-post-text h2,
.layout2-sub-post a:focus .sub-post-text h2,
.layout2-sub-post a:active .sub-post-text h2 {
    font-family: 'Oswald', sans-serif !important;
    font-size: 1.375rem !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
    color: var(--color-bg-dark) !important;
    opacity: 1 !important;
    text-shadow: none !important;
    text-decoration: none !important;
}

.layout2-sub-post .sub-post-img { margin-bottom: 0.75rem; overflow: hidden; border-radius: 4px; }
.layout2-sub-post .sub-post-img img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; transition: transform 0.4s ease !important; }

.layout2-sub-post a:hover .sub-post-img img,
.layout2-sub-post a:focus .sub-post-img img {
    transform: scale(1.05) !important;
    opacity: 1 !important;
}

@media screen and (max-width: 820px) {
    .home-hero-layout-2 .layout2-main-post {
        position: relative !important;
        display: block !important;
        border-radius: 0.5rem !important;
        overflow: hidden !important;
    }

    .home-hero-layout-2 .layout2-main-post .overlaid-link-wrap {
        display: block !important;
        position: relative !important;
        width: 100% !important;
    }

    .home-hero-layout-2 .layout2-main-post .overlaid-post-img,
    .home-hero-layout-2 .layout2-main-post .cnz-badge-wrapper {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 4 / 5 !important;
        overflow: hidden !important;
    }

    .home-hero-layout-2 .layout2-main-post .overlaid-post-img img,
    .home-hero-layout-2 .layout2-main-post .cnz-badge-wrapper img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center top !important;
    }

    .home-hero-layout-2 .layout2-main-post .overlay-gradient {
        position: absolute !important;
        top: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 60% !important;
        background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0) 100%) !important;
        pointer-events: none !important;
    }

    .home-hero-layout-2 .layout2-main-post .overlaid-post-text {
        position: absolute !important;
        top: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        padding: 1.25rem !important;
        box-sizing: border-box !important;
        z-index: 5 !important;
    }

    .home-hero-layout-2 .layout2-main-post .overlaid-post-text h1,
    .home-hero-layout-2 .layout2-main-post .overlaid-post-text h2 {
        font-size: 1.375rem !important;
        line-height: 1.25 !important;
        color: #ffffff !important;
    }
}

/* --- Mosaico --- */
.cnz-mosaico-wrap { margin-bottom: 2.5rem; }
.cnz-mosaico-large-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.875rem; margin-bottom: 1.875rem; }
.cnz-mosaico-small-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.mosaico-small-post a { text-decoration: none; color: var(--color-bg-dark); }
.mosaico-small-img { margin-bottom: 0.625rem; border-radius: 4px; overflow: hidden; }
.mosaico-small-img img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; transition: transform 0.4s ease; }
.mosaico-small-post a:hover .mosaico-small-img img { transform: scale(1.05); }
.mosaico-small-text h3 { font-size: 1.375rem !important; line-height: 1.3; margin: 0.3125rem 0 0 0; font-weight: 700; transition: color 0.2s ease; }

/* --- Monolite --- */
.cnz-monolite-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 1.875rem; margin-bottom: 2.5rem; font-family: 'Oswald', sans-serif; }
.cnz-monolite-main-content { display: flex; flex-direction: column; gap: 1.5625rem; }
.monolite-main-post a { text-decoration: none; color: var(--color-bg-dark); display: grid; grid-template-columns: 1.2fr 1fr; gap: 1.25rem; align-items: center; }
.monolite-main-img { border-radius: 4px; overflow: hidden; }
.monolite-main-img img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; transition: transform 0.4s ease; }
.monolite-main-post a:hover .monolite-main-img img { transform: scale(1.04); }
.monolite-main-text h2 { font-size: 1.375rem; line-height: 1.25; margin: 0.5rem 0; font-weight: 800; }
.monolite-main-text p { font-family: "Roboto", sans-serif !important; font-size: 1rem; color: var(--color-text-muted); margin: 0; line-height: 1.4; }
.monolite-secondary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; border-top: 1px solid var(--color-border-light); padding-top: 1.25rem; }
.monolite-sub-post a { text-decoration: none; color: var(--color-bg-dark); }
.monolite-sub-img { border-radius: 4px; overflow: hidden; margin-bottom: 0.625rem; }
.monolite-sub-img img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; transition: transform 0.4s ease; }
.monolite-sub-post a:hover .monolite-sub-img img { transform: scale(1.04); }
.monolite-sub-text h3 { font-size: 1.3755rem; line-height: 1.3; margin: 0.3125rem 0 0 0; font-weight: 700; }
.cnz-monolite-sidebar { display: flex; flex-direction: column; gap: 0.9375rem; }
.monolite-ad-box { background: #f9f9f9; border: 1px solid var(--color-border-light); padding: 0.625rem; text-align: center; min-height: 250px; }
.monolite-ad-box .ad-label { display: block; font-size: 0.625rem; color: #aaa; margin-bottom: 0.3125rem; letter-spacing: 1px; }
.monolite-more-btn { display: flex; align-items: center; justify-content: space-between; background: var(--color-bg-dark); color: #ffffff !important; padding: 0.75rem 1.125rem; border-radius: 4px; text-decoration: none; font-weight: 700; font-size: 0.8125rem; font-family: 'Oswald', sans-serif; letter-spacing: 0.5px; transition: background 0.2s ease; }
.monolite-more-btn:hover { background: var(--color-primary); }

/* --- Dark Section --- */
.cnz-dark-section-wrap { background-color: var(--color-bg-dark); padding: 2.5rem 0; margin: 2.5rem 0; color: #ffffff; }
.dark-title { border-bottom-color: #333333 !important; }
.dark-title span { background-color: var(--color-bg-dark) !important; color: #ffffff !important; }

.cnz-dark-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: stretch; }

.cnz-dark-main-col { display: flex; flex-direction: column; }
.dark-feat-post { position: relative; border-radius: 6px; overflow: hidden; height: 100%; min-height: 400px; }
.dark-feat-post .overlaid-post-img { width: 100%; height: 100%; }
.dark-feat-post .overlaid-post-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dark-play-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: var(--color-primary); color: #ffffff; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 3; transition: transform 0.3s ease, background 0.3s ease; box-shadow: 0 4px 15px rgba(0,0,0,0.5); }
.overlaid-link-wrap:hover .dark-play-icon { transform: translate(-50%, -50%) scale(1.12); background: var(--color-primary); }

.cnz-dark-sub-col { display: flex; flex-direction: column; gap: 1rem; justify-content: space-between; }
.dark-sub-post { border-bottom: 1px solid #222222; padding-bottom: 0.875rem; }
.dark-sub-post:last-child { border-bottom: none; padding-bottom: 0; }
.dark-sub-post a { display: flex !important; gap: 1.125rem !important; align-items: center !important; text-decoration: none; color: #ffffff; }

.dark-sub-img { position: relative; width: 150px; flex-shrink: 0; border-radius: 4px; overflow: hidden; }
.dark-sub-img img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; transition: transform 0.3s ease; }
.dark-sub-post a:hover .dark-sub-img img { transform: scale(1.05); }

.dark-play-icon-small { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(0,0,0,0.7); color: #ffffff; padding: 0.4rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

.dark-sub-text { flex-grow: 1; }
.dark-sub-text .cnz-post-meta { margin-bottom: 0.25rem !important; }
.dark-sub-text h3 { font-family: 'Oswald', sans-serif !important; font-size: 1.05rem !important; line-height: 1.3 !important; margin: 0 !important; color: #ffffff !important; font-weight: 700 !important; transition: color 0.2s ease !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dark-sub-post a:hover .dark-sub-text h3 { color: var(--color-primary) !important; }

/* Responsive Mobile per Sala Video */
@media (max-width: 820px) {
    .cnz-dark-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .dark-feat-post { min-height: 260px; }
    .dark-sub-img { width: 120px; }
    .dark-sub-text h3 { font-size: 0.95rem !important; }
}

/* --- Timeline Widget --- */
.cnz-timeline-wrap { margin-bottom: 2.5rem; }
.cnz-timeline-wrap.has-ad-sidebar { display: grid; grid-template-columns: 1fr 300px; gap: 1.875rem; }

.cnz-timeline-posts.cnz-layout-row { display: flex; flex-direction: column; gap: 1.25rem; }
.cnz-layout-row .timeline-post-item a { display: grid; grid-template-columns: 220px 1fr; gap: 1.25rem; text-decoration: none; color: var(--color-bg-dark); align-items: flex-start; }
.cnz-layout-row .timeline-post-img { border-radius: 4px; overflow: hidden; }
.cnz-layout-row .timeline-post-img img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; transition: transform 0.4s ease; }
.cnz-layout-row .timeline-post-item a:hover .timeline-post-img img { transform: scale(1.05); }
.cnz-layout-row .timeline-post-text h3 { font-family: 'Oswald', sans-serif !important; font-size: 1.5rem; line-height: 1.25; margin: 0.25rem 0 0.375rem 0; font-weight: 700; color: var(--color-bg-dark); }

.cnz-timeline-posts.cnz-layout-col { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; }
.cnz-layout-col .timeline-post-item a { text-decoration: none; color: var(--color-bg-dark); display: block; }
.cnz-layout-col .timeline-post-img { border-radius: 4px; overflow: hidden; margin-bottom: 0.625rem; }
.cnz-layout-col .timeline-post-img img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; transition: transform 0.4s ease; }
.cnz-layout-col .timeline-post-item a:hover .timeline-post-img img { transform: scale(1.05); }
.cnz-layout-col .timeline-post-text h3 { font-family: 'Oswald', sans-serif !important; font-size: 1.375rem; line-height: 1.25; margin: 0.25rem 0 0.375rem 0; font-weight: 700; color: var(--color-bg-dark); }

.timeline-excerpt {
    font-family: 'Roboto', sans-serif !important;
    font-size: 1rem !important;
    color: var(--color-text-muted) !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.cnz-timeline-ad-sidebar .timeline-ad-box { background: #f9f9f9; border: 1px solid var(--color-border-light); padding: 0.625rem; text-align: center; min-height: 250px; }

/* --- Marketing Boxes --- */
.mvp-widget-marketing-box-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-bottom: 2.5rem; align-items: center; }
.mvp-widget-marketing-box-row .marketing-box a { display: block; overflow: hidden; border-radius: 4px; }
.mvp-widget-marketing-box-row .marketing-box img.masthead-img { width: 100%; height: auto; display: block; transition: transform 0.3s ease, opacity 0.3s ease; }
.mvp-widget-marketing-box-row .marketing-box a:hover img.masthead-img { transform: scale(1.03); opacity: 0.95; }

/* --- More News --- */
.more-news-section { margin-top: 3.125rem; margin-bottom: 3.75rem; }
.more-news-header { display: flex; align-items: center; margin-bottom: 1.875rem; }
.more-news-header::before, .more-news-header::after { content: ""; flex: 1; border-bottom: 1px solid var(--color-bg-badge); }
.more-news-header h3 { margin: 0 1.25rem; font-size: 1rem; font-weight: 700; font-style: italic; color: #333333; letter-spacing: 0.5px; }
.more-news-header h3 span { background-color: #f4f4f4; padding: 0 0.9375rem; }
.more-news-layout { display: grid; grid-template-columns: 1fr 320px; gap: 2.5rem; }
.more-news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.875rem; margin-bottom: 2.5rem; }
.more-news-post a { text-decoration: none; color: var(--color-bg-dark); display: block; }
.more-news-img { margin-bottom: 0.9375rem; overflow: hidden; }
.more-news-img img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; transition: transform 0.3s ease; }
.more-news-post a:hover .more-news-img img { transform: scale(1.05); }
.more-news-text h2 { font-family: 'Oswald', sans-serif !important; font-size: 1.5rem; line-height: 1.25; margin: 0 0 0.625rem 0; font-weight: 800; }
.more-news-text p { font-family: 'Roboto', sans-serif !important; font-size: 1.1rem; line-height: 1.5; color: var(--color-text-muted); margin: 0; }
.more-posts-btn-wrap { text-align: center; margin-top: 1.25rem; border-top: 1px solid var(--color-border-light); padding-top: 1.875rem; }
.more-posts-btn-wrap a { display: block; width: 100%; padding: 0.9375rem 0; border: 1px solid var(--color-bg-badge); background: transparent; color: var(--color-bg-dark); font-weight: 700; font-size: 0.875rem; text-transform: uppercase; text-decoration: none; letter-spacing: 1px; transition: all 0.3s ease; }
.more-posts-btn-wrap a:hover { background: var(--color-bg-dark); color: #ffffff; border-color: var(--color-bg-dark); }

/* Responsive Widgets */
@media (max-width: 1024px) {
    .more-news-layout { grid-template-columns: 1fr; }
}
@media (max-width: 991px) {
    .home-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-col-center { order: -1; }
    .layout2-sub-grid { grid-template-columns: repeat(2, 1fr); }
    .layout2-main-post .overlaid-post-img img { aspect-ratio: 16 / 9; }
    .cnz-mosaico-large-grid { grid-template-columns: 1fr; }
    .cnz-mosaico-small-grid { grid-template-columns: repeat(2, 1fr); }
    .cnz-monolite-wrap { grid-template-columns: 1fr; }
    .cnz-dark-grid { grid-template-columns: 1fr; }
    .cnz-timeline-wrap.has-ad-sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .main-post .overlaid-post-text h1 { font-size: 1.375rem !important; font-family: "Oswald", sans-serif !important;}
    .secondary-post .overlaid-post-text h2 { font-size: 1.125rem !important; font-family: "Oswald", sans-serif !important;}
    .overlaid-post-text { padding: 0.9375rem; }
    .layout2-sub-grid { grid-template-columns: 1fr; }
    .main-post-excerpt { display: none; }
    .cnz-mosaico-small-grid { grid-template-columns: 1fr; }
    .monolite-main-post a { grid-template-columns: 1fr; }
    .monolite-secondary-grid { grid-template-columns: 1fr; }
    .mvp-widget-marketing-box-row { grid-template-columns: 1fr; gap: 0.9375rem; }
    .more-news-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .cnz-layout-row .timeline-post-item a { grid-template-columns: 120px 1fr; gap: 0.75rem; }
    .cnz-layout-row .timeline-post-text h3 { font-size: 0.9375rem; }
    .cnz-layout-row .timeline-excerpt { display: none; }
}
@media (max-width: 576px) {
    .cnz-dark-sub-col { grid-template-columns: 1fr; }
}

/* ==========================================================================
   9. FOOTER
   ========================================================================== */
.site-footer { max-width: 1200px !important; margin: 2.5rem auto 0 auto !important; width: 100% !important; box-sizing: border-box !important; background-color: var(--color-bg-dark); color: #777777 !important; padding-top: 2.5rem; font-weight: 400 !important; }
.site-footer p, .site-footer a, .site-footer .footer-navigation a, .site-footer .footer-bottom a, .site-footer .footer-bottom { color: #888888; }
.site-footer a:hover, .site-footer .footer-navigation a:hover, .site-footer .footer-bottom a:hover { color: #ffffff !important; }
.footer-top .container { display: flex; flex-direction: column; align-items: center; gap: 1.5625rem; text-align: center; }
.footer-logo img { max-width: 180px; height: auto; }

.footer-social-list {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1.25rem !important;
    margin: 1.25rem 0 !important;
}

.footer-social-list a {
    color: #888888 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: color 0.2s ease, transform 0.2s ease !important;
}

.footer-social-list a:hover {
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

.footer-social-list svg {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
}

.footer-navigation ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9375rem 1.5625rem; list-style: none; padding: 0; margin: 0; }
.footer-navigation a { text-decoration: none; font-size: 0.9rem !important; text-transform: uppercase; font-weight: 400; }
.footer-bottom { border-top: 1px solid #222222; margin-top: 1.875rem; padding: 1.25rem 0; font-size: 0.8125rem; }
.footer-bottom .container { display: flex; flex-direction: column; align-items: center; gap: 0.625rem; text-align: center; }
.footer-bottom a { text-decoration: underline; }
@media (min-width: 768px) {
    .footer-bottom .container { flex-direction: row; justify-content: space-between; }
}

/* Fix YouTube Social Icons */
.header-social-top a[href*="youtu"] svg, .site-footer a[href*="youtu"] svg { fill: none !important; stroke: currentColor !important; stroke-width: 1.5px !important; stroke-linecap: round !important; stroke-linejoin: round !important; }
.header-social-top a[href*="youtu"] svg { stroke: #ffffff !important; }
.header-social-top a[href*="youtu"] svg path, .header-social-top a[href*="youtu"] svg polygon, .site-footer a[href*="youtu"] svg path, .site-footer a[href*="youtu"] svg polygon { stroke: currentColor !important; fill: none !important; }
.header-social-top a[href*="youtu"] svg path, .header-social-top a[href*="youtu"] svg polygon { stroke: #ffffff !important; }

/* Back to Top Button */
.back-to-top { position: fixed; bottom: 20px; right: 20px; background-color: var(--color-primary); color: #ffffff; border: none; border-radius: 4px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 99; }
.back-to-top.is-visible { opacity: 1; visibility: visible; }

/* ==========================================================================
   10. ACCESSIBILITY, UTILITIES & WEB VITALS
   ========================================================================== */
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { background-color: #f1f1f1; border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); clip: auto !important; clip-path: none; color: #21759b; display: block; font-size: 0.875rem; font-weight: 700; height: auto; left: 5px; line-height: normal; padding: 0.9375rem 1.4375rem 0.875rem; text-decoration: none; top: 5px; width: auto; z-index: 100000; }
#primary[tabindex="-1"]:focus { outline: 0; }
.alignleft { float: left; margin-right: 1.5em; margin-bottom: 1.5em; }
.alignright { float: right; margin-left: 1.5em; margin-bottom: 1.5em; }
.aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; margin-bottom: 1.5em; }

.breadcrumb-navigation, .breadcrumb-navigation a { color: #080808 !important; font-weight: 500; font-size: 1rem; }
.breadcrumb-navigation span { color: #666666; font-weight: 500; font-size: 1rem; }
.breadcrumb-navigation a:hover { color: var(--color-bg-dark) !important; text-decoration: underline; }

/* Content Visibility & GPU Acceleration */
.site-footer, .more-news-section, .cnz-mosaico-wrap, .cnz-monolite-wrap, .cnz-dark-section-wrap { content-visibility: auto; contain-intrinsic-size: 500px; }
.overlaid-post-img img, .mosaico-small-img img, .monolite-main-img img, .monolite-sub-img img, .dark-sub-img img, .timeline-post-img img, .layout2-sub-post .sub-post-img img, .more-news-img img { will-change: transform; -webkit-backface-visibility: hidden; backface-visibility: hidden; transform: translateZ(0); }

/* ==========================================================================
   11. TEMPLATE CUSTOM (REDAZIONE & FULLWIDTH)
   ========================================================================== */
.page-template-full-more-news .site-main { padding: 2.5rem 0; }

.fullwidth-content-area,
.redazione-page-wrapper {
    max-width: 1000px; 
    margin: 2.5rem auto 3.75rem auto;
    padding: 0 1.25rem;
    background-color: #ffffff;
}
.fullwidth-content-area { text-align: center; max-width: 900px; }

.redazione-header { text-align: center; margin-bottom: 3.125rem; }

.redazione-title,
.fullwidth-content-area h1.entry-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-bg-dark);
    margin: 0 0 1.25rem 0;
}
.redazione-title { border-bottom: 3px solid var(--color-primary); display: inline-block; padding-bottom: 0.3125rem; }

.redazione-desc,
.fullwidth-content-area .entry-content {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.mvp-authors-wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3.125rem 1.875rem; margin-bottom: 5rem; }
.mvp-authors-list-wrap { text-align: center; display: flex; flex-direction: column; align-items: center; }
.mvp-authors-list-img { margin-bottom: 0.9375rem; }
.mvp-authors-list-img img.avatar { width: 8.75rem; height: 8.75rem; border-radius: 50%; background-color: #baff00; object-fit: cover; box-shadow: 0 4px 10px rgba(0,0,0,0.1); transition: transform 0.3s ease; }
.mvp-authors-list-img a:hover img.avatar { transform: scale(1.05); }

.mvp-authors-name { display: inline-block; border-bottom: 2px solid var(--color-bg-dark); padding-bottom: 0.1875rem; margin-bottom: 0.75rem; }
.mvp-authors-name a { font-family: 'Oswald', sans-serif; font-size: 1.25rem; font-weight: 700; color: var(--color-bg-dark); text-decoration: none; text-transform: capitalize; transition: color 0.2s ease; }
.mvp-authors-name a:hover { color: var(--color-primary); }

.mvp-authors-latest { font-family: 'Roboto', sans-serif !important; font-size: 0.875rem !important; font-weight: 400 !important; line-height: 1.4 !important; margin: 0; }
.mvp-authors-latest a { color: #444444; text-decoration: none; transition: color 0.2s ease; }
.mvp-authors-latest a:hover { color: var(--color-bg-dark); text-decoration: underline; }

@media (max-width: 800px) {
    .mvp-authors-wrap { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.25rem; }
}
@media (max-width: 767px) {
    .fullwidth-content-area h1.entry-title { font-size: 2rem; }
}
@media (max-width: 500px) {
    .mvp-authors-wrap { grid-template-columns: 1fr; }
}

/* ==========================================================================
   12. TEMPLATE CONTENUTO SEMPLICE (Privacy Policy, Chi Siamo, ecc.)
   ========================================================================== */
.page-template-contained-content { 
    background-color: #ffffff; 
    padding: 2.5rem 0 3.75rem 0; 
}

.contained-content-area { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 1.25rem; 
}

.contained-content-area h1.entry-title { 
    font-family: 'Oswald', sans-serif; 
    font-size: 2.5rem; 
    font-weight: 700; 
    margin-bottom: 1.875rem; 
    color: var(--color-bg-dark); 
    text-transform: none; 
}

.contained-content-area .entry-content { 
    font-family: 'Roboto', sans-serif; 
    font-size: 1.05rem; 
    line-height: 1.6; 
    color: #333333; 
}

.contained-content-area .entry-content h2,
.contained-content-area .entry-content h3,
.contained-content-area .entry-content h4 { 
    font-family: 'Oswald', sans-serif; 
    margin-top: 1.875rem; 
    margin-bottom: 0.9375rem; 
    color: var(--color-bg-dark); 
}

.contained-content-area .entry-content p { 
    margin-bottom: 1.25rem; 
}

.contained-content-area .entry-content a { 
    color: var(--color-primary); 
    text-decoration: underline; 
}

.contained-content-area .entry-content a:hover { 
    color: var(--color-bg-dark); 
}

.contained-content-area .entry-content img { 
    max-width: 100%; 
    height: auto; 
    display: block; 
    margin: 1.25rem 0; 
}

@media (max-width: 767px) {
    .page-template-contained-content { 
        padding: 1.25rem 0 2.5rem 0; 
    }
    .contained-content-area h1.entry-title { 
        font-size: 2rem; 
        margin-bottom: 1.25rem; 
    }
}

/* ==========================================================================
   13. TEMPLATE AUDIO ZONE
   ========================================================================== */
.cnz-audio-page .mh-ad-wrapper, 
.cnz-audio-page .mvp-ad-label, 
.cnz-audio-page .mvp-ad-wrapper, 
.cnz-audio-page [id^="div-gpt-ad"], 
.cnz-audio-page #mvp-leader-wrap, 
.cnz-audio-page #mvp-leader-area, 
.cnz-audio-page div.flx-320x100, 
.cnz-audio-page div[class*="flx-"] { 
    display: none !important; height: 0 !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; visibility: hidden !important; 
}

.cnz-audio-page #mvp-main-body-wrap { padding: 0 !important; width: 100%; background: #000 !important; }
.cnz-audio-page #mvp-content-main h4, .cnz-audio-page .mvp-post-add-main h4, .cnz-audio-page p { color: white; }
.cnz-audio-page h3 { color: white; font-size: 1.5rem; margin: 0.625rem; }
.cnz-audio-page .tag { color: var(--color-accent) !important; font-size: 0.75rem; font-weight: bold; text-transform: uppercase; }
.cnz-audio-page .mvp-nav-bot-right-out { margin-right: -50px; width: 100%; background: #000 !important; }
.cnz-audio-page #mvp-nav-bot-wrap .mvp-fly-but-wrap span, .cnz-audio-page #mvp-nav-bot-wrap .mvp-search-but-wrap span { background: #ffffff; }
.cnz-audio-page #mvp-nav-bot-wrap span.mvp-nav-search-but, .cnz-audio-page #mvp-nav-bot-wrap .mvp-nav-menu ul li a { color: #ffffff !important; }
.cnz-audio-page .fa-search:before { content: "\f002"; padding: 0.625rem; }

.cnz-audio-page .audio-zone-container { background-color: #000000; color: #ffffff; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; padding-bottom: 5rem; min-height: 100vh; max-width: 1200px; margin: 0 auto; }
.cnz-audio-page .audio-header { background: #000; text-align: center; border-bottom: 1px solid #000; padding-top: 0.9375rem; }
.cnz-audio-page .audio-logo-main { max-width: 100%; height: auto; }

.cnz-audio-page .audio-hero { position: relative; background: url('https://www.calcionews24.com/wp-content/uploads/2026/02/Background-Audiozone.png') center center no-repeat; background-size: cover; padding: 5rem 1.25rem; text-align: center; border-bottom: 4px solid var(--color-accent); min-height: 550px; display: flex; align-items: center; justify-content: center; }
.cnz-audio-page .hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); z-index: 1; }
.cnz-audio-page .hero-content { position: relative; z-index: 2; max-width: 600px; margin: 0 auto; }
.cnz-audio-page .time-ref-style { font-style: italic; text-transform: lowercase; }
.cnz-audio-page .live-badge { background-color: #e10600; color: white; padding: 0.375rem 0.875rem; font-weight: bold; font-size: 0.85rem; border-radius: 4px; text-transform: uppercase; display: inline-block; margin-bottom: 0.9375rem; }
.cnz-audio-page .hero-title { font-size: 2.8rem; margin: 0.625rem 0; font-weight: 800; line-height: 1.1; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }

.cnz-audio-page .hero-play-btn { background: rgba(255, 255, 255, 0.15); border: 3px solid var(--color-primary); color: var(--color-primary); width: 70px; height: 70px; border-radius: 50%; cursor: pointer; margin: 1.25rem auto; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); transition: all 0.3s ease; outline: none; }
.cnz-audio-page .hero-play-btn svg { width: 40px !important; height: 40px !important; fill: currentColor !important; display: block !important; }
.cnz-audio-page .hero-play-btn:hover, .cnz-audio-page .hero-play-btn.playing { background-color: var(--color-primary); border-color: var(--color-primary); transform: scale(1.1); box-shadow: 0 0 20px rgba(122, 184, 0, 0.6); color: #ffffff; }
.cnz-audio-page .hero-player-row { display: flex; align-items: center; justify-content: center; gap: 1.25rem; max-width: 500px; margin: 1.25rem auto 0; }
.cnz-audio-page .player-controls-wrapper { flex-grow: 1; display: none; }
.cnz-audio-page .progress-container { width: 100%; height: 6px; background: rgba(255,255,255,0.1); border-radius: 10px; overflow: hidden; }
.cnz-audio-page .progress-bar { width: 0%; height: 100%; background: var(--color-primary); transition: width 0.1s linear; }
.cnz-audio-page .time-display { display: flex; justify-content: space-between; color: var(--color-primary); font-size: 0.6875rem; margin-top: 0.5rem; font-family: monospace; opacity: 0.9; font-weight: bold; }

#playing-animation { margin-top: 2px; display: none; justify-content: center; align-items: flex-end; height: 20px; gap: 3px; }
.bar { width: 3px; background: var(--color-primary); animation: equalize 0.8s infinite ease-in-out; height: 5px; }
@keyframes equalize { 0%, 100% { height: 5px; } 50% { height: 20px; } }
.bar:nth-child(2) { animation-delay: 0.1s; }
.bar:nth-child(3) { animation-delay: 0.2s; }
.bar:nth-child(4) { animation-delay: 0.3s; }
.bar:nth-child(5) { animation-delay: 0.4s; }

.cnz-audio-page section { padding: 2.5rem 1.25rem; max-width: 1100px; margin: 0 auto; }
.cnz-audio-page .podcast-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.cnz-audio-page .podcast-card { background: #1e1e1e; border-radius: 8px; overflow: hidden; transition: transform 0.2s; }
.cnz-audio-page .podcast-card:hover { transform: translateY(-5px); }
.cnz-audio-page .podcast-card img { width: 100%; display: block; height: auto; }
.cnz-audio-page .card-body { padding: 0.9375rem; }
.cnz-audio-page .podcast-card h4 { margin: 0.3125rem 0 0 0; font-size: 1rem; color: #fff; }
.cnz-audio-page a.podcast-link { text-decoration: none; color: inherit; }

.cnz-audio-page .audio-modal-overlay { display: none; position: fixed; z-index: 99999; left: 0; top: 0; width: 100%; height: 100%; backdrop-filter: blur(4px); background-color: rgba(0,0,0,0.7); }
.cnz-audio-page .audio-modal-content { position: relative; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 90%; max-width: 700px; background: #121212; padding: 0.625rem; border-radius: 20px; border: 1px solid #c5ce27; }
.close-modal { position: absolute; top: -50px; right: 0; color: #fff; font-size: 2.8rem; cursor: pointer; }

.audio-seo-h1 { font-size: 1rem; color: var(--color-accent); text-transform: uppercase; letter-spacing: 2px; margin: 0.625rem 0 0.3125rem 0; font-weight: 600; }
.audio-seo-footer { background-color: #000000; padding: 3.75rem 1.25rem; border-top: 1px solid #222; max-width: 1200px; margin: 0 auto; }
.seo-content-inner { max-width: 900px; margin: 0 auto; }
.seo-content-inner h2 { color: var(--color-accent); font-size: 1.8rem; margin-bottom: 1.25rem; }
.seo-content-inner p { color: #999; font-size: 1rem; line-height: 1.7; margin-bottom: 0.9375rem; }

@media (min-width: 768px) { 
    .cnz-audio-page .podcast-grid { grid-template-columns: repeat(4, 1fr); } 
}
@media (max-width: 767px) { 
    .cnz-audio-page .audio-hero { min-height: 400px; } 
}