/*
Theme Name: DigitalGuru News
Theme URI: https://digitalguru.com.br
Author: DigitalGuru
Description: Tema Premium Auditado. Layout 3 Colunas, Padrão Grandes Portais, Alta Performance, UX Refinada.
Version: 4.1.5
Text Domain: digitalguru-news
*/

:root {
    --bg-color: #F8FAFC;
    --surface-color: #ffffff;
    
    --text-color: #4B5563;
    --title-color: #111827;
    --primary-color: #9370DB;
    --primary-hover: #FF7518; 
    --btn-color: #9370DB;
    --cat-bg-color: transparent;
    --cat-text-color: #6B7280;
    --icon-color: #111827;
    
    --bg-grad-1: 147, 112, 219;
    --bg-grad-2: 255, 117, 24;

    --font-body: 'Inter', sans-serif;
    --font-headings: 'Inter Tight', sans-serif;
    --font-post-title: 'Inter Tight', sans-serif;
    --font-widget-title: 'Inter Tight', sans-serif;
    
    --weight-body: 400;
    --weight-headings: 800;
    --weight-post-title: 800;
    --weight-widget-title: 800;
    
    --size-body: 16px;
    --size-h1: 38px;
    --size-post-title: 44px;
    --size-widget-title: 20px;

    --text-muted: #6B7280;
    --drawer-bg: rgba(255, 255, 255, 0.98);
    --drawer-text: #111827;
    --border-color: #E5E7EB;
    
    --radius: 18px;
    --radius-sm: 12px;
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html.dark-mode, body.dark-mode {
    --bg-color: #0f172a;
    --surface-color: #1e293b;
    --text-color: #94a3b8;
    --title-color: #f8fafc;
    --icon-color: #f8fafc;
    --text-muted: #64748b;
    --drawer-bg: rgba(15, 23, 42, 0.98);
    --drawer-text: #f8fafc;
    --border-color: #334155;
    --cat-bg-color: rgba(147, 112, 219, 0.2);
    --cat-text-color: #c4b5fd;
}

/* RESET SEGURO PARA NÃO QUEBRAR O WP-ADMIN/LOGIN */
*, *::before, *::after { box-sizing: border-box; }
html { background-color: var(--bg-color); transition: background-color var(--transition); min-height: 100%; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body { 
    margin: 0;
    padding: 0;
    font-family: var(--font-body); 
    font-size: var(--size-body);
    font-weight: var(--weight-body);
    background-color: transparent; 
    color: var(--text-color); 
    line-height: 1.7; 
    transition: color var(--transition); 
    overflow-x: hidden; 
    position: relative; 
    min-height: 100%; 
    -webkit-text-size-adjust: 100%; 
    text-size-adjust: 100%; 
}

h1, h2, h3, h4, h5, h6, p, figure, ul, ol { margin-top: 0; }
ul, ol { padding-left: 0; margin-bottom: 0; list-style: none; }

/* Barra Premium no Topo (Isolada para não sobrepor telas nativas do WP) */
body:not(.login):not(.wp-admin)::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-hover));
    z-index: 9999;
}

h1, h2, h3, h4, h5, h6, .site-logo a, .drawer-nav-list a, .hero-title { 
    font-family: var(--font-headings); 
    font-weight: var(--weight-headings);
    color: var(--title-color);
    letter-spacing: -0.02em;
    line-height: 1.25;
}
h1 { font-size: var(--size-h1); }

.single-title {
    font-family: var(--font-post-title);
    font-weight: var(--weight-post-title);
    font-size: var(--size-post-title);
    color: var(--title-color);
}

.widget-title {
    font-family: var(--font-widget-title);
    font-weight: var(--weight-widget-title);
    font-size: var(--size-widget-title);
    color: var(--title-color);
}

.bg-blobs { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(circle at 10% 20%, rgba(var(--bg-grad-1), 0.05) 0%, rgba(var(--bg-grad-1), 0) 50%), radial-gradient(circle at 90% 80%, rgba(var(--bg-grad-2), 0.05) 0%, rgba(var(--bg-grad-2), 0) 50%); will-change: transform; transform: translateZ(0); }
html.dark-mode .bg-blobs, body.dark-mode .bg-blobs { background: radial-gradient(circle at 10% 20%, rgba(var(--bg-grad-1), 0.08) 0%, rgba(var(--bg-grad-1), 0) 50%), radial-gradient(circle at 90% 80%, rgba(var(--bg-grad-2), 0.08) 0%, rgba(var(--bg-grad-2), 0) 50%); }

a { color: var(--primary-color); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-hover); }
input[type="submit"], .btn-primary { background-color: var(--btn-color); color: #fff; border-radius: var(--radius-sm); font-family: var(--font-headings); font-weight: 700; transition: var(--transition); }
input[type="submit"]:hover, .btn-primary:hover { background-color: var(--primary-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

.dark-mode-btn i, .drawer-trigger i, .drawer-socials a i, .footer-col i { color: var(--icon-color); transition: color 0.3s; }
.dark-mode-btn:hover i, .drawer-trigger:hover i, .drawer-socials a:hover i, .footer-col a:hover i { color: var(--primary-hover); }

img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-sm); }
ul, ol { list-style: none; }

.site-wrapper { display: flex; flex-direction: column; min-height: 100vh; padding-top: 70px; }
.container { max-width: 1350px; margin: 0 auto; padding: 0 20px; width: 100%; }
@media(max-width: 768px) {
    .container { padding: 0 10px; }
}

.content-area { flex: 1; padding: 50px 0; }

.layout-with-sidebar { display: grid; grid-template-columns: 1fr 340px; gap: 50px; align-items: start; }
@media(max-width: 992px) { .layout-with-sidebar { grid-template-columns: 1fr; gap: 40px; } }
.layout-no-sidebar { display: block; max-width: 1000px; margin: 0 auto; }

/* ==========================================================================
   CABEÇALHO (HEADER) INTELIGENTE - Fixed e animado
   ========================================================================== */
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 10px 30px; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid rgba(0,0,0,0.02); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease; box-shadow: 0 4px 30px rgba(0,0,0,0.02); will-change: transform; transform: translateZ(0); }
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header.header-hidden { transform: translateY(-100%); opacity: 0; pointer-events: none; }
html.dark-mode .site-header, body.dark-mode .site-header { background: rgba(15, 23, 42, 0.85); border-bottom: 1px solid rgba(255,255,255,0.05); box-shadow: 0 4px 30px rgba(0,0,0,0.2); }

.header-inner { display: flex; justify-content: space-between; align-items: center; max-width: 1400px; margin: 0 auto; position: relative; height: 50px; }
.header-left { display: flex; align-items: center; }

.dark-mode-btn { background: none; border: none; font-size: 22px; cursor: pointer; transition: transform 0.2s; padding: 0 5px; }
.dark-mode-btn:hover { transform: scale(1.1); }

.header-search { position: relative; margin-left: 20px; display: flex; align-items: center; }
.search-input { width: 220px; padding: 8px 15px 8px 40px; border-radius: 999px; background: rgba(243, 244, 246, 0.6); border: 1px solid transparent; transition: all var(--transition); font-family: inherit; font-size: 14px; outline: none; color: var(--title-color); }
html.dark-mode .search-input { background: rgba(30, 41, 59, 0.6); color: #f8fafc; }
.search-input:focus { background: var(--surface-color); border-color: var(--primary-color); width: 280px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.search-btn { position: absolute; left: 14px; background: none; border: none; color: var(--text-muted); font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; z-index: 5; transition: color 0.3s; }
.search-btn:hover { color: var(--primary-hover); }

@media (max-width: 992px) { .header-search { display: none !important; } }

.site-logo { position: absolute; left: 50%; transform: translateX(-50%); text-align: center; }
.site-logo a { font-size: 26px; letter-spacing: -0.04em; font-weight: 800; }
.site-logo img { max-height: 42px; width: auto; border-radius: 0; }
.header-right { width: 50px; display: flex; justify-content: flex-end; align-items: center; }
.drawer-trigger { background: none; border: none; font-size: 24px; cursor: pointer; transition: color 0.2s; display: flex; align-items: center; }

/* ==========================================================================
   MENU LATERAL (DRAWER MENU) - Reduzido
   ========================================================================== */
.drawer-overlay { position: fixed; inset: 0; background: rgba(17, 24, 39, 0.4); backdrop-filter: blur(6px); opacity: 0; visibility: hidden; z-index: 99998; transition: opacity var(--transition); }
.drawer-overlay.active { opacity: 1; visibility: visible; }
.drawer-menu { position: fixed; top: 0; left: -350px; width: 320px; max-width: 85%; height: 100vh; background: var(--drawer-bg); backdrop-filter: blur(25px); color: var(--drawer-text); z-index: 99999; overflow-y: auto; transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1); padding: 40px 30px; box-shadow: 10px 0 40px rgba(0,0,0,0.08); display: flex; flex-direction: column; }
.drawer-menu.open { left: 0; }

.drawer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.drawer-logo img { max-height: 40px; width: auto; border-radius: 0; display: block; }
.close-drawer { background: none; border: none; color: var(--icon-color); font-size: 28px; cursor: pointer; transition: transform var(--transition); }
.close-drawer:hover { color: var(--primary-hover); transform: rotate(90deg); }
.drawer-nav-container { flex: 1; }
.drawer-nav-list { display: flex; flex-direction: column; gap: 15px; }
.drawer-nav-list a { font-family: var(--font-drawer, var(--font-headings)); font-weight: var(--weight-drawer, 700); font-size: var(--size-drawer, 20px); letter-spacing: -0.02em; display: block; transition: color 0.2s, transform 0.2s; }
.drawer-nav-list a:hover { color: var(--primary-hover); transform: translateX(8px); }

.drawer-search-form { position: relative; margin-top: 30px; margin-bottom: 20px; width: 100%; display: flex; align-items: center; }
.drawer-search-input { width: 100%; padding: 12px 15px 12px 40px; border-radius: 999px; background: rgba(0,0,0,0.03); border: 1px solid var(--border-color); color: var(--drawer-text); font-family: inherit; font-size: 14px; outline: none; transition: border-color 0.3s; }
html.dark-mode .drawer-search-input { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); color: #fff; }
.drawer-search-input:focus { border-color: var(--primary-color); }
.drawer-search-btn { position: absolute; left: 15px; background: none; border: none; color: var(--text-muted); font-size: 15px; cursor: pointer; transition: color 0.3s; }
.drawer-search-btn:hover { color: var(--primary-hover); }

.drawer-socials { display: flex; gap: 15px; margin-top: 10px; padding-top: 25px; border-top: 1px solid var(--border-color); font-size: 24px; justify-content: center; }

.news-ticker-wrapper { display: flex; align-items: center; background: var(--surface-color); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 40px; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03); border: 1px solid rgba(0,0,0,0.02); }
html.dark-mode .news-ticker-wrapper { border: 1px solid rgba(255,255,255,0.05); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2); }
.news-ticker-label { background: linear-gradient(135deg, var(--primary-color), var(--primary-hover)); color: #fff; padding: 12px 24px; font-weight: 800; font-family: var(--font-headings); font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; z-index: 2; position: relative; display: flex; align-items: center; gap: 8px; }
.news-ticker-scroll { flex: 1; display: flex; align-items: center; overflow: hidden; white-space: nowrap; width: 100%; position: relative; padding: 0 15px; }

.news-ticker-inner { display: inline-flex; align-items: center; padding-left: 100%; animation: tickerScrollLR 60s linear infinite; gap: 40px; will-change: transform; }
.news-ticker-inner:hover { animation-play-state: paused; }
.news-ticker-item { display: inline-flex; align-items: center; color: var(--title-color); font-weight: 600; font-size: 14px; text-decoration: none; transition: color 0.3s; }
.news-ticker-item:hover { color: var(--primary-hover); }
.news-ticker-item img { width: 32px; height: 32px; border-radius: 6px; object-fit: cover; margin-right: 12px; flex-shrink: 0; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
@keyframes tickerScrollLR { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* ==========================================================================
   HERO GRID 
   ========================================================================== */
.hero-grid-wrapper { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; margin-bottom: 70px; height: 520px; width: 100%; }
.hero-grid-wrapper.no-static { grid-template-columns: 1fr; }

.hero-slider-col { min-width: 0; border-radius: var(--radius); overflow: hidden; height: 100%; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05); position: relative; transition: var(--transition); }
html.dark-mode .hero-slider-col { box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3); }

.hero-slider-col .swiper { height: 100%; width: 100%; display: block; overflow: hidden; position: relative; }
.hero-slide { position: relative; height: 100%; width: 100%; overflow: hidden; }
.hero-slide img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.hero-slide:hover img { transform: scale(1.03); }

.hero-static-col { min-width: 0; display: grid; grid-template-rows: 1fr 1fr; gap: 40px; height: 100%; }
.hero-static-card { display: block; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05); height: 100%; min-height: 0; transition: var(--transition); }
html.dark-mode .hero-static-card { box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3); }
.hero-static-card img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.hero-static-card:hover { transform: translateY(-4px); box-shadow: 0 15px 40px rgba(0,0,0,0.08); }
.hero-static-card:hover img { transform: scale(1.05); }

.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 45px; pointer-events: none; }
.hero-static-card .hero-overlay { padding: 30px; background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0) 100%); }

.hero-cat-badge { display: inline-block; align-self: flex-start; background: var(--primary-color); color: #fff; font-size: 11px; font-weight: 800; padding: 6px 14px; border-radius: 999px; text-transform: uppercase; margin-bottom: 18px; letter-spacing: 1px; transition: 0.3s; pointer-events: auto; }
.hero-cat-badge:hover { background-color: var(--primary-hover); transform: translateY(-2px); }
.hero-static-card .hero-cat-badge { font-size: 10px; padding: 5px 12px; margin-bottom: 12px; }

.hero-title { font-size: 40px; color: #fff !important; line-height: 1.2; margin-bottom: 0px; max-width: 85%; pointer-events: auto; font-weight: 800; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.hero-title a { color: #fff !important; transition: color 0.3s; }
.hero-title a:hover { color: var(--primary-color) !important; }
.hero-static-card .hero-title span { transition: color 0.3s ease; }
.hero-static-card:hover .hero-title span { color: var(--primary-color) !important; }
.hero-static-card .hero-title { font-size: 22px; max-width: 100%; margin-bottom: 0; font-weight: 700; }

.swiper-pagination-bullet { background: rgba(255,255,255,0.5) !important; opacity: 1; border-radius: 999px; pointer-events: auto; transition: all 0.3s; width: 8px; height: 8px; }
.swiper-pagination-bullet-active { background: var(--primary-color) !important; width: 24px; }

@media(max-width: 992px) { 
    .hero-grid-wrapper { grid-template-columns: 1fr; height: auto; gap: 30px; }
    .hero-slider-col { height: 480px; }
    .hero-static-col { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; height: 260px; gap: 30px; }
}
@media(max-width: 768px) { 
    .hero-slider-col { height: 420px; }
    .hero-overlay { padding: 30px; } 
    .hero-title { font-size: 28px; max-width: 100%; } 
    .hero-static-col { grid-template-columns: 1fr; grid-template-rows: auto auto; height: auto; gap: 25px; }
    .hero-static-card { height: 260px; }
    .hero-static-card .hero-title { font-size: 20px; }
}

/* ==========================================================================
   BANNERS ADS
   ========================================================================== */
.banner-wrapper { margin-bottom: 60px; text-align: center; width: 100%; display: block; }
.banner-wrapper img { width: 100%; height: auto; max-height: 150px; object-fit: cover; border-radius: var(--radius-sm); box-shadow: 0 8px 30px rgba(0,0,0,0.03); display: block; margin: 0 auto; }
.banner-wrapper a { display: inline-block; width: 100%; transition: transform 0.3s; }
.banner-wrapper a:hover { transform: translateY(-2px); }

.block-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 60px; }

.clean-article-card { 
    border: none;
    background: var(--surface-color);
    border-radius: var(--radius);
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
}
html.dark-mode .clean-article-card { box-shadow: 0 8px 30px rgba(0,0,0,0.2); }
.clean-article-card:hover { transform: translateY(-6px); box-shadow: 0 15px 40px rgba(0,0,0,0.08); }
html.dark-mode .clean-article-card:hover { box-shadow: 0 15px 40px rgba(0,0,0,0.3); }

.clean-article-card .card-thumbnail { 
    overflow: hidden; 
    position: relative; 
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 0;
    height: auto;
    border-radius: 0;
}
.clean-article-card .card-thumbnail img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform; 
    transform: translateZ(0);
}
.clean-article-card:hover .card-thumbnail img { transform: scale(1.05); }

.clean-article-info { display: flex; flex-direction: column; gap: 10px; padding: 25px; flex-grow: 1; }
.clean-article-cat { 
    background: transparent;
    color: var(--text-muted);
    font-size: 9px; 
    font-weight: 500; 
    text-transform: uppercase; 
    letter-spacing: 0.5px;
    font-family: var(--font-body);
    padding: 0;
    border: none;
    border-radius: 0;
    align-self: flex-start;
}
.clean-article-title { 
    font-size: 18px; 
    font-weight: var(--weight-post-title); 
    color: var(--title-color); 
    line-height: 1.4; 
    font-family: var(--font-post-title);
    transition: color 0.3s;
    margin: 0;
}

/* LEIA MAIS */
.clean-article-read-more {
    background: transparent;
    color: var(--title-color);
    border: 1px solid var(--border-color);
    font-size: 11px; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 0.5px;
    font-family: var(--font-body);
    padding: 6px 16px;
    border-radius: 999px;
    align-self: flex-start;
    margin-top: auto; 
    transition: all 0.3s ease;
}
html.dark-mode .clean-article-read-more {
    border-color: rgba(255,255,255,0.2);
    color: #fff;
}
.clean-article-card:hover .clean-article-read-more {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

@media(max-width: 992px) { .block-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 30px; } }
@media(max-width: 768px) { .block-grid-3 { grid-template-columns: 1fr; } }


/* ==========================================================================
   SIDEBAR E WIDGETS (Transparentes)
   ========================================================================== */
.sidebar { display: flex; flex-direction: column; gap: 40px; min-width: 0; }
.widget { background: transparent; padding: 0; border-radius: 0; box-shadow: none; border: none; }
.widget-title { font-size: var(--size-widget-title); margin-bottom: 25px; text-transform: uppercase; letter-spacing: 1px; padding-bottom: 15px; border-bottom: 2px solid var(--border-color); }
.widget ul li { padding: 15px 0; border-bottom: 1px solid var(--border-color); transition: var(--transition); }
.widget ul li:last-child { border-bottom: none; padding-bottom: 0; }
.widget ul li a { color: var(--text-color); font-weight: 500; }
.widget ul li a:hover { color: var(--primary-color); padding-left: 5px; }

.dgn-widget-recent-posts { list-style: none; padding: 0; margin: 0; }
.dgn-widget-recent-posts li { display: flex; gap: 15px; margin-bottom: 25px; align-items: center; border-bottom: none !important; padding: 0 !important; }
.dgn-widget-recent-posts li:last-child { margin-bottom: 0; }
.dgn-widget-recent-posts .thumb { flex-shrink: 0; width: 85px; height: 85px; border-radius: var(--radius-sm); overflow: hidden; position: relative; }
.dgn-widget-recent-posts .thumb img { position: absolute; top:0; left:0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.dgn-widget-recent-posts li:hover .thumb img { transform: scale(1.1); }
.dgn-widget-recent-posts .info { flex: 1; }
.dgn-widget-recent-posts .info h4 { font-size: 15px; font-weight: 700; line-height: 1.4; margin: 0 0 6px; font-family: var(--font-headings); color: var(--title-color); transition: color 0.3s; letter-spacing: -0.01em; }
.dgn-widget-recent-posts li:hover .info h4 { color: var(--primary-color); }
.dgn-widget-recent-posts .info span { font-size: 12px; color: var(--text-muted); font-weight: 600; display: block; }

.dgn-tags-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.dgn-tags-cloud a { background: rgba(0,0,0,0.04); padding: 8px 18px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--text-color); transition: all 0.3s ease; }
html.dark-mode .dgn-tags-cloud a { background: rgba(255,255,255,0.05); color: var(--text-color); }
.dgn-tags-cloud a:hover { background: var(--primary-color); color: #fff; transform: translateY(-3px); box-shadow: 0 8px 20px rgba(147, 112, 219, 0.25); }

.single-container { background: transparent; border-radius: 0; padding: 0; box-shadow: none; border: none; overflow-wrap: break-word; word-wrap: break-word; max-width: 100%; }
.single-header { margin-bottom: 50px; text-align: center; }
.single-title { font-size: var(--size-post-title); line-height: 1.2; margin-bottom: 25px; letter-spacing: -0.03em; }

.single-meta { display: flex; justify-content: center; gap: 15px; color: var(--text-muted); font-size: 14px; font-weight: 600; align-items: center; flex-wrap: wrap; text-transform: uppercase; letter-spacing: 0.5px; }
.single-meta a { color: var(--primary-color); }
.single-meta a:hover { color: var(--primary-hover); }
.meta-sep { opacity: 0.4; margin: 0 2px; }

.single-thumbnail { margin-bottom: 50px; border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 40px rgba(0,0,0,0.05); }
.single-thumbnail img { width: 100%; height: auto; border-radius: var(--radius); }

.single-content { line-height: 1.85; font-size: 17px; color: var(--text-color); word-break: break-word; }
.single-content h2, .single-content h3 { margin: 50px 0 25px; letter-spacing: -0.02em; color: var(--title-color); }
.single-content p { margin-bottom: 25px; }

/* Correção de Margem para Mobile nas Listas */
.single-content ul, .single-content ol { margin-left: 0; padding-left: 20px; list-style-position: outside; margin-bottom: 25px; }
.single-content iframe, .single-content table, .single-content pre { max-width: 100%; overflow-x: auto; border-radius: var(--radius-sm); margin: 35px 0; box-shadow: 0 8px 30px rgba(0,0,0,0.04); }
.single-content img { max-width: 100%; height: auto; border-radius: var(--radius-sm); margin: 35px 0; box-shadow: 0 8px 30px rgba(0,0,0,0.04); }

.single-content figure { margin: 35px 0; max-width: 100%; text-align: center; }
.single-content figure img { margin: 0 auto 15px; }
.wp-caption-text, figcaption { font-size: 14px; color: var(--text-muted); font-style: normal; text-align: center; display: block; margin-top: 10px; font-weight: 500; }

.single-tags { margin: 50px 0; display: flex; gap: 10px; flex-wrap: wrap; }
.single-tags a { background: rgba(0,0,0,0.04); border: none; padding: 8px 18px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--text-color); transition: all 0.3s ease; }
html.dark-mode .single-tags a { background: rgba(255,255,255,0.05); color: var(--text-color); }
.single-tags a:hover { background: var(--primary-color); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(147, 112, 219, 0.25); }

.author-box { display: flex; gap: 30px; align-items: center; margin-top: 60px; padding: 40px; background: var(--surface-color); border-radius: var(--radius); border: 1px solid rgba(0,0,0,0.02); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03); transition: var(--transition); }
html.dark-mode .author-box { border: 1px solid rgba(255,255,255,0.05); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2); }
.author-avatar img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; border: 4px solid var(--primary-color); padding: 4px; background: var(--surface-color); }
.author-info h4 { font-size: 22px; margin-bottom: 10px; font-family: var(--font-headings); font-weight: var(--weight-headings); color: var(--title-color); letter-spacing: -0.02em; }
.author-info p { color: var(--text-color); font-size: 16px; line-height: 1.7; margin: 0; }

.share-container { margin: 50px 0; padding: 35px; background: var(--surface-color); border-radius: var(--radius); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03); display: flex; align-items: center; gap: 25px; flex-wrap: wrap; border: 1px solid rgba(0,0,0,0.02); }
html.dark-mode .share-container { border: 1px solid rgba(255,255,255,0.05); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2); }
.share-title { font-size: 18px; font-weight: 800; font-family: var(--font-headings); color: var(--title-color); margin: 0; text-transform: uppercase; letter-spacing: 0.5px; }
.share-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.share-buttons a { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; font-size: 20px; color: #ffffff !important; transition: transform 0.3s, box-shadow 0.3s; text-decoration: none; }
.share-buttons a i { color: #ffffff !important; }
.share-buttons a:hover { transform: translateY(-4px); box-shadow: 0 10px 20px rgba(0,0,0,0.15); }
.share-wa { background-color: #25D366; }
.share-fb { background-color: #1877F2; }
.share-tg { background-color: #229ED9; }
.share-in { background-color: #0A66C2; }

@media(max-width: 768px) { 
    .single-title { font-size: 32px !important; } 
    .author-box { flex-direction: column; text-align: center; padding: 25px; } 
    .share-container { flex-direction: column; align-items: center; gap: 20px; text-align: center; padding: 25px; }
}

/* ==========================================================================
   COMENTÁRIOS E RESULTADOS PESQUISA
   ========================================================================== */
.search-no-results { text-align:center; width:100%; grid-column: 1 / -1; padding: 50px; background: var(--surface-color); border-radius: var(--radius); box-shadow: 0 8px 30px rgba(0,0,0,0.03); }

#comments { margin-top: 60px; padding-top: 60px; border-top: 1px solid var(--border-color); }
.comments-title, .comment-reply-title { font-size: 28px; margin-bottom: 40px; font-family: var(--font-headings); font-weight: var(--weight-headings); color: var(--title-color); letter-spacing: -0.02em; }

.comment-list { padding: 0; margin: 0; list-style: none; }
.comment-list li.comment { margin-bottom: 30px; }
.comment-body { padding: 30px; background: var(--surface-color); border-radius: var(--radius); border: 1px solid rgba(0,0,0,0.02); box-shadow: 0 8px 30px rgba(0,0,0,0.02); }
html.dark-mode .comment-body { border: 1px solid rgba(255,255,255,0.05); }
.comment-meta { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.comment-meta img { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--bg-color); }
.comment-author b { font-size: 17px; font-family: var(--font-headings); color: var(--title-color); }
.comment-metadata a { font-size: 13px; color: var(--text-muted); margin-left: 10px; font-weight: 500; }
.comment-content p { margin-bottom: 15px; line-height: 1.7; color: var(--text-color); }
.reply a { display: inline-block; font-size: 13px; font-weight: 700; color: var(--primary-color); background: rgba(147, 112, 219, 0.1); padding: 8px 20px; border-radius: 999px; transition: var(--transition); text-transform: uppercase; letter-spacing: 0.5px; }
.reply a:hover { color: #fff; background: var(--primary-color); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(147, 112, 219, 0.3); }
.children { margin-left: 50px; list-style: none; padding-left: 0; margin-top: 30px; border-left: 2px solid var(--border-color); padding-left: 30px; }

#respond { margin-top: 60px; background: var(--surface-color); padding: 45px; border-radius: var(--radius); border: 1px solid rgba(0,0,0,0.02); box-shadow: 0 8px 30px rgba(0,0,0,0.03); }
html.dark-mode #respond { border: 1px solid rgba(255,255,255,0.05); }

.comment-form { display: grid; gap: 25px; }
.comment-form label { display: block; margin-bottom: 10px; font-weight: 600; font-size: 15px; color: var(--title-color); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 16px 20px; border: 1px solid var(--border-color); border-radius: var(--radius-sm); background: var(--bg-color); color: var(--text-color); font-family: inherit; font-size: 15px; transition: all 0.3s; }
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 4px rgba(147, 112, 219, 0.1); background: var(--surface-color); }
.comment-form textarea { resize: vertical; min-height: 150px; }
.form-submit { margin-top: 15px; }
.form-submit input[type="submit"] { border: none; padding: 16px 35px; border-radius: var(--radius-sm); font-weight: 700; font-size: 16px; cursor: pointer; transition: all 0.3s; letter-spacing: 0.5px; }

@media(max-width: 768px) { #respond { padding: 25px; } .children { margin-left: 15px; padding-left: 15px; } }

.site-footer { background: linear-gradient(180deg, #111827 0%, #030712 100%); color: #f3f4f6; padding: 100px 0 50px; margin-top: auto; border-radius: 24px 24px 0 0; position: relative; overflow: hidden; }
.site-footer::before { content: ''; position: absolute; top: -150px; right: -150px; width: 400px; height: 400px; background: var(--primary-color); border-radius: 50%; filter: blur(120px); opacity: 0.15; }

.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; margin-bottom: 70px; position: relative; z-index: 10; }
.footer-col .widget { background: transparent; border: none; box-shadow: none; padding: 0; }
.footer-col { word-break: break-word; }
.footer-col h3.widget-title { font-size: 22px; color: #ffffff !important; margin-bottom: 30px; letter-spacing: -0.02em; border: none; padding: 0; }
.footer-col p, .footer-col ul { color: #9ca3af; line-height: 1.8; }
.footer-col ul li { margin-bottom: 15px; border-bottom: none; padding: 0; }
.footer-col ul li a { color: #9ca3af; font-weight: 400; }
.footer-col a { color: #9ca3af; transition: color 0.3s; }
.footer-col a:hover { color: var(--primary-color); }
.footer-col i { color: #9ca3af; transition: color 0.3s; }
.footer-col a:hover i { color: var(--primary-color); transform: translateY(-2px); }

@media(max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; } }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 40px; display: flex; justify-content: space-between; align-items: center; color: #6b7280; font-size: 14px; position: relative; z-index: 10; font-weight: 500; }
.footer-bottom a:hover { color: var(--primary-color); }
@media(max-width: 768px) { .footer-bottom { flex-direction: column; gap: 20px; text-align: center; } }

.pagination { display: flex; gap: 12px; margin-top: 60px; justify-content: center; }
.pagination .page-numbers { background: var(--surface-color); border: none; border-radius: var(--radius-sm); width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--text-color); transition: var(--transition); box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
html.dark-mode .pagination .page-numbers { background: rgba(255,255,255,0.05); color: #f8fafc; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: linear-gradient(135deg, var(--primary-color), var(--primary-hover)); color: #fff; box-shadow: 0 8px 25px rgba(147, 112, 219, 0.3); transform: translateY(-2px); }
