/*
Theme Name: DigitalGuru News
Theme URI: https://digitalguru.com.br
Author: DigitalGuru
Description: Tema Premium Auditado. Ticker limpo com distanciamento correto, Drawer à esquerda, Layout Otimizado.
Version: 2.11.0
Text Domain: digitalguru-news
*/

:root {
    --bg-color: #F5F5F7;
    --surface-color: #ffffff;
    
    --text-color: #1f2937;
    --title-color: #111827;
    --primary-color: #9370DB;
    --primary-hover: #FF7518; 
    --btn-color: #9370DB;
    --cat-bg-color: #9370DB;
    --cat-text-color: #ffffff;
    --icon-color: #1f2937;
    
    --bg-grad-1: 147, 112, 219;
    --bg-grad-2: 255, 117, 24;

    --font-body: 'Open Sans', sans-serif;
    --font-headings: 'Montserrat', sans-serif;
    --font-post-title: 'Montserrat', sans-serif;
    --font-widget-title: 'Montserrat', sans-serif;
    
    --weight-body: 400;
    --weight-headings: 800;
    --weight-post-title: 800;
    --weight-widget-title: 800;
    
    --size-body: 16px;
    --size-h1: 36px;
    --size-post-title: 42px;
    --size-widget-title: 18px;

    --text-muted: #6b7280;
    --drawer-bg: rgba(255, 255, 255, 0.95);
    --drawer-text: #1f2937;
    --border-color: #e5e7eb;
    
    --radius: 8px;
    --radius-sm: 8px;
    --transition: 0.3s ease;
}

html.dark-mode, body.dark-mode {
    --bg-color: #111827;
    --surface-color: #1f2937;
    --text-color: #f3f4f6;
    --title-color: #ffffff;
    --icon-color: #f3f4f6;
    --text-muted: #9ca3af;
    --drawer-bg: rgba(17, 24, 39, 0.95);
    --drawer-text: #f3f4f6;
    --border-color: #374151;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background-color: var(--bg-color); transition: background-color var(--transition); min-height: 100%; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body { 
    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.6; 
    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, .card-title, .site-logo a, .drawer-nav-list a, .hero-title { 
    font-family: var(--font-headings); 
    font-weight: var(--weight-headings);
    color: var(--title-color);
}
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.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%); }
html.dark-mode .bg-blobs, body.dark-mode .bg-blobs { background: radial-gradient(circle at 10% 20%, rgba(var(--bg-grad-1), 0.12) 0%, rgba(var(--bg-grad-1), 0) 50%), radial-gradient(circle at 90% 80%, rgba(var(--bg-grad-2), 0.12) 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); }
input[type="submit"]:hover, .btn-primary:hover { background-color: var(--primary-hover); color: #fff; }

.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; }
.container { max-width: 1350px; margin: 0 auto; padding: 0 10px; width: 100%; }
.content-area { flex: 1; padding: 40px 0; }

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

/* ==========================================================================
   CABEÇALHO (HEADER) INTELIGENTE
   ========================================================================== */
.site-header { position: sticky; top: 0; width: 100%; z-index: 100; padding: 15px 30px; background: rgba(255, 255, 255, 0.75); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border-bottom: none; 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.03); }
.site-header.header-hidden { transform: translateY(-100%); opacity: 0; pointer-events: none; }
html.dark-mode .site-header, body.dark-mode .site-header { background: rgba(17, 24, 39, 0.75); border-bottom: none; 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: 24px; cursor: pointer; transition: transform 0.2s; padding: 0 5px; }
.dark-mode-btn:hover { transform: scale(1.1); }

/* ==========================================================================
   BUSCA (SEARCH BAR - DESKTOP)
   ========================================================================== */
.header-search { position: relative; margin-left: 20px; display: flex; align-items: center; }
.search-input { width: 220px; padding: 10px 15px 10px 45px; border-radius: 30px; background: rgba(255,255,255,0.4); border: 1px solid rgba(255,255,255,0.6); backdrop-filter: blur(10px); transition: all 0.3s ease; font-family: inherit; font-size: 14px; outline: none; color: var(--text-color); box-shadow: inset 0 2px 5px rgba(0,0,0,0.02); }
html.dark-mode .search-input { background: rgba(0,0,0,0.2); border-color: rgba(255,255,255,0.1); color: #fff; }
.search-input:focus { background: var(--surface-color); border-color: var(--primary-color); width: 260px; }
.search-btn { position: absolute; left: 14px; background: none; border: none; color: var(--icon-color); font-size: 18px; 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.5px; }
.site-logo img { max-height: 45px; 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: 28px; cursor: pointer; transition: color 0.2s; display: flex; align-items: center; }

/* ==========================================================================
   MENU LATERAL (DRAWER MENU - ESQUERDA)
   ========================================================================== */
.drawer-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.3); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; z-index: 998; transition: opacity var(--transition); }
.drawer-overlay.active { opacity: 1; visibility: visible; }
.drawer-menu { position: fixed; top: 0; left: -450px; width: 400px; max-width: 85%; height: 100vh; background: var(--drawer-bg); backdrop-filter: blur(20px); color: var(--drawer-text); z-index: 999; overflow-y: auto; transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1); padding: 50px 40px; box-shadow: 10px 0 40px rgba(0,0,0,0.1); display: flex; flex-direction: column; }
.drawer-menu.open { left: 0; }

.drawer-header { display: flex; justify-content: flex-end; margin-bottom: 50px; }
.close-drawer { background: none; border: none; color: var(--icon-color); font-size: 32px; cursor: pointer; transition: transform 0.2s; }
.close-drawer:hover { color: var(--primary-hover); transform: rotate(90deg); }
.drawer-nav-container { flex: 1; }
.drawer-nav-list { display: flex; flex-direction: column; gap: 20px; }
.drawer-nav-list a { font-size: 24px; letter-spacing: -0.5px; display: block; transition: color 0.2s, transform 0.2s; }
.drawer-nav-list a:hover { color: var(--primary-hover); transform: translateX(5px); }

.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 45px; border-radius: 30px; background: rgba(0,0,0,0.05); 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(--icon-color); font-size: 16px; cursor: pointer; transition: color 0.3s; }
.drawer-search-btn:hover { color: var(--primary-hover); }

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

/* ==========================================================================
   SCROLLING NEWS TICKER
   ========================================================================== */
.news-ticker-wrapper { display: flex; align-items: center; background: rgba(255, 255, 255, 0.45); backdrop-filter: blur(12px); border-radius: var(--radius); overflow: hidden; margin-bottom: 30px; box-shadow: 0 8px 32px rgba(31, 38, 135, 0.05); border: none; }
html.dark-mode .news-ticker-wrapper, body.dark-mode .news-ticker-wrapper { background: rgba(31, 41, 55, 0.45); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); border: none; }
.news-ticker-label { background: var(--primary-color); color: #fff; padding: 10px 20px; font-weight: 800; font-family: var(--font-headings); font-size: 13px; text-transform: uppercase; 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 10px; }

/* CÓDIGO CORRIGIDO (GAP): Cria um distanciamento perfeito de 40px entre os artigos */
.news-ticker-inner { display: inline-flex; align-items: center; padding-left: 100%; animation: tickerScrollLR 60s linear infinite; gap: 40px; }
.news-ticker-inner:hover { animation-play-state: paused; }
.news-ticker-item { display: inline-flex; align-items: center; color: var(--text-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: 30px; height: 30px; border-radius: 5px; object-fit: cover; margin-right: 10px; flex-shrink: 0; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
@keyframes tickerScrollLR { 0% { transform: translateX(-100%); } 100% { transform: translateX(0); } }

/* ==========================================================================
   HERO GRID 
   ========================================================================== */
.hero-grid-wrapper { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; margin-bottom: 60px; height: 500px; 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 32px rgba(31, 38, 135, 0.05); position: relative; }
html.dark-mode .hero-slider-col { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); }

.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; }

.hero-static-col { min-width: 0; display: grid; grid-template-rows: 1fr 1fr; gap: 30px; height: 100%; }
.hero-static-card { display: block; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 32px rgba(31, 38, 135, 0.05); height: 100%; min-height: 0; }
html.dark-mode .hero-static-card { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); }
.hero-static-card img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.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.9) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 40px; pointer-events: none; }
.hero-static-card .hero-overlay { padding: 25px; background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 70%, rgba(0,0,0,0) 100%); }

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

.hero-title { font-size: 36px; color: #fff !important; line-height: 1.2; margin-bottom: 0px; max-width: 80%; pointer-events: auto; }
.hero-title a { color: #fff !important; transition: color 0.3s; }
.hero-title a:hover { color: var(--primary-hover) !important; }
.hero-static-card .hero-title span { transition: color 0.3s ease; }
.hero-static-card:hover .hero-title span { color: var(--primary-hover) !important; }
.hero-static-card .hero-title { font-size: 20px; max-width: 100%; margin-bottom: 0; }

.swiper-pagination-bullet { background: #fff !important; opacity: 0.5; border-radius: var(--radius); pointer-events: auto; }
.swiper-pagination-bullet-active { opacity: 1; background: var(--btn-color) !important; }

@media(max-width: 992px) { 
    .hero-grid-wrapper { grid-template-columns: 1fr; height: auto; }
    .hero-slider-col { height: 450px; }
    .hero-static-col { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; height: 250px; }
}
@media(max-width: 768px) { 
    .hero-slider-col { height: 400px; }
    .hero-overlay { padding: 25px; } 
    .hero-title { font-size: 24px; max-width: 100%; } 
    .hero-static-col { grid-template-columns: 1fr; grid-template-rows: auto auto; height: auto; gap: 20px; }
    .hero-static-card { height: 250px; }
    .hero-static-card .hero-title { font-size: 18px; }
}

/* ==========================================================================
   BANNERS ADS
   ========================================================================== */
.banner-wrapper { margin-bottom: 50px; text-align: center; width: 100%; display: block; }
.banner-wrapper img { width: 100%; height: auto; max-height: 150px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); display: block; margin: 0 auto; }
.banner-wrapper a { display: inline-block; width: 100%; }

/* ==========================================================================
   CARDS GRID 
   ========================================================================== */
.articles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; margin-bottom: 50px; }
.block-grid-2 { grid-template-columns: 1fr 1fr; }

.article-card { 
    background: linear-gradient(135deg, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.1) 100%);
    backdrop-filter: blur(16px); 
    -webkit-backdrop-filter: blur(16px); 
    border: none;
    border-radius: var(--radius); 
    padding: 10px; 
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.05); 
    transition: transform 0.3s, box-shadow 0.3s; 
}
html.dark-mode .article-card, body.dark-mode .article-card { 
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.45) 0%, rgba(31, 41, 55, 0.1) 100%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); 
}
.article-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 15px 40px rgba(31, 38, 135, 0.15); 
}
html.dark-mode .article-card:hover, body.dark-mode .article-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.card-thumbnail { position: relative; border-radius: var(--radius-sm); overflow: hidden; height: 280px; margin-bottom: 0; }
.card-thumbnail img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.article-card:hover .card-thumbnail img { transform: scale(1.05); }

.card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.1) 70%, rgba(0,0,0,0) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 25px; border-radius: var(--radius-sm); }
.card-overlay .card-cat-badge { display: inline-block; align-self: flex-start; background-color: var(--cat-bg-color); color: var(--cat-text-color); font-size: 11px; font-weight: 800; padding: 6px 14px; border-radius: var(--radius); text-transform: uppercase; transition: 0.3s; margin-bottom: 12px; }
.card-overlay .card-cat-badge:hover { background-color: var(--primary-hover); color: #fff; }
.card-overlay .card-title { color: #fff !important; font-size: 20px; margin-bottom: 0; line-height: 1.4; transition: color 0.3s; }
.article-card:hover .card-overlay .card-title { color: var(--primary-hover) !important; }

@media(max-width: 768px) { .block-grid-2 { grid-template-columns: 1fr; } }

/* ==========================================================================
   SIDEBAR E WIDGETS
   ========================================================================== */
.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: 20px; text-transform: uppercase; letter-spacing: 1px; }
.widget ul li { padding: 10px 0; border-bottom: 1px solid var(--border-color); }
.widget ul li:last-child { border-bottom: none; }

.dgn-widget-recent-posts { list-style: none; padding: 0; margin: 0; }
.dgn-widget-recent-posts li { display: flex; gap: 15px; margin-bottom: 20px; align-items: center; border-bottom: none !important; padding: 0 !important; }
.dgn-widget-recent-posts .thumb { flex-shrink: 0; width: 75px; height: 75px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); position: relative; }
.dgn-widget-recent-posts .thumb img { position: absolute; top:0; left:0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.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: 14px; font-weight: 700; line-height: 1.4; margin: 0 0 5px; font-family: var(--font-headings); color: var(--title-color); transition: color 0.3s; }
.dgn-widget-recent-posts li:hover .info h4 { color: var(--primary-hover); }
.dgn-widget-recent-posts .info span { font-size: 11px; color: var(--text-muted); font-weight: 600; display: block; }

.dgn-tags-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.dgn-tags-cloud a { background: rgba(255,255,255,0.45); backdrop-filter: blur(10px); padding: 6px 14px; border-radius: var(--radius); font-size: 12px; font-weight: 700; color: var(--text-color); transition: 0.3s; box-shadow: 0 4px 10px rgba(0,0,0,0.02); }
html.dark-mode .dgn-tags-cloud a, body.dark-mode .dgn-tags-cloud a { background: rgba(31,41,55,0.45); box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.dgn-tags-cloud a:hover { background: var(--primary-hover); color: #fff; transform: translateY(-2px); }

/* ==========================================================================
   SINGLE POST
   ========================================================================== */
.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: 40px; text-align: center; }
.single-title { font-size: var(--size-post-title); line-height: 1.2; margin-bottom: 25px; letter-spacing: -1px; }

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

.single-thumbnail { margin-bottom: 40px; border-radius: var(--radius); overflow: hidden; }
.single-thumbnail img { width: 100%; height: auto; border-radius: var(--radius); }

.single-content { line-height: 1.8; }
.single-content h2, .single-content h3 { margin: 40px 0 20px; letter-spacing: -0.5px; }
.single-content p { margin-bottom: 25px; }
.single-content img, .single-content iframe, .single-content video { max-width: 100%; height: auto; border-radius: var(--radius-sm); margin: 25px 0; }

.single-content figure { margin: 25px 0; max-width: 100%; text-align: center; }
.single-content figure img { margin: 0 auto 10px; }
.wp-caption-text, figcaption { font-size: 13px; color: var(--text-muted); font-style: italic; text-align: center; display: block; margin-top: 5px; }

.single-tags { margin: 40px 0; display: flex; gap: 10px; flex-wrap: wrap; }
.single-tags a { background: rgba(255,255,255,0.4); backdrop-filter: blur(10px); border: none; padding: 6px 16px; border-radius: var(--radius); font-size: 13px; font-weight: 600; color: var(--text-muted); transition: 0.2s; }
html.dark-mode .single-tags a, body.dark-mode .single-tags a { background: rgba(31,41,55,0.4); }
.single-tags a:hover { background: var(--primary-hover); color: #fff; }

.author-box { display: flex; gap: 25px; align-items: center; margin-top: 50px; padding: 30px; background: rgba(255, 255, 255, 0.45); backdrop-filter: blur(16px); border-radius: var(--radius); border: none; box-shadow: 0 8px 32px rgba(31, 38, 135, 0.05); }
html.dark-mode .author-box, body.dark-mode .author-box { background: rgba(31, 41, 55, 0.45); }
.author-avatar img { width: 90px; height: 90px; border-radius: var(--radius); object-fit: cover; border: 3px solid var(--primary-color); }
.author-info h4 { font-size: 20px; margin-bottom: 8px; font-family: var(--font-headings); font-weight: var(--weight-headings); color: var(--title-color);}
.author-info p { color: var(--text-muted); font-size: 15px; line-height: 1.6; margin: 0; }

.share-container { margin: 40px 0; padding: 25px; background: rgba(255, 255, 255, 0.45); backdrop-filter: blur(16px); border-radius: var(--radius); box-shadow: 0 8px 32px rgba(31, 38, 135, 0.05); display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
html.dark-mode .share-container, body.dark-mode .share-container { background: rgba(31, 41, 55, 0.45); box-shadow: 0 8px 32px 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; }
.share-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.share-buttons a { display: inline-flex; align-items: center; justify-content: center; width: 45px; height: 45px; 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(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.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: 30px !important; } 
    .author-box { flex-direction: column; text-align: center; } 
    .share-container { flex-direction: column; align-items: flex-start; gap: 15px; }
}

/* ==========================================================================
   COMENTÁRIOS E RESULTADOS PESQUISA
   ========================================================================== */
.search-no-results { text-align:center; width:100%; grid-column: 1 / -1; padding: 40px; background: rgba(255,255,255,0.45); backdrop-filter: blur(12px); border-radius: var(--radius); }
html.dark-mode .search-no-results { background: rgba(31,41,55,0.45); }

#comments { margin-top: 50px; padding-top: 50px; border-top: 1px solid var(--border-color); }
.comments-title, .comment-reply-title { font-size: 24px; margin-bottom: 30px; font-family: var(--font-headings); font-weight: var(--weight-headings); color: var(--title-color);}

.comment-list { padding: 0; margin: 0; list-style: none; }
.comment-list li.comment { margin-bottom: 25px; }
.comment-body { padding: 25px; background: rgba(255, 255, 255, 0.45); backdrop-filter: blur(12px); border-radius: var(--radius-sm); border: none; box-shadow: var(--shadow-sm); }
html.dark-mode .comment-body { background: rgba(31, 41, 55, 0.45); border: none; }
.comment-meta { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.comment-meta img { width: 45px; height: 45px; border-radius: var(--radius); border: 2px solid var(--bg-color); }
.comment-author b { font-size: 16px; font-family: var(--font-headings); color: var(--title-color); }
.comment-metadata a { font-size: 12px; color: var(--text-muted); margin-left: 10px; }
.comment-content p { margin-bottom: 15px; line-height: 1.6; }
.reply a { display: inline-block; font-size: 13px; font-weight: 700; color: var(--btn-color); background: rgba(255,255,255,0.5); padding: 5px 15px; border-radius: var(--radius); border: none; }
.reply a:hover { color: #fff; background: var(--primary-hover); }
.children { margin-left: 40px; list-style: none; padding-left: 0; margin-top: 25px; border-left: 2px solid var(--border-color); padding-left: 25px; }

#respond { margin-top: 50px; background: rgba(255, 255, 255, 0.45); backdrop-filter: blur(12px); padding: 35px; border-radius: var(--radius-sm); border: none; box-shadow: var(--shadow-sm); }
html.dark-mode #respond, body.dark-mode #respond { background: rgba(31, 41, 55, 0.45); border: none; }

.comment-form { display: grid; gap: 20px; }
.comment-form label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 14px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 14px 18px; border: 1px solid var(--border-color); border-radius: var(--radius); background: var(--bg-color); color: var(--text-color); font-family: inherit; font-size: 15px; transition: border-color 0.3s; }
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--primary-color); }
.comment-form textarea { resize: vertical; min-height: 120px; }
.form-submit { margin-top: 10px; }
.form-submit input[type="submit"] { border: none; padding: 14px 30px; border-radius: var(--radius); font-weight: 700; font-size: 15px; cursor: pointer; transition: 0.3s; }

/* ==========================================================================
   RODAPÉ (FOOTER)
   ========================================================================== */
.site-footer { background-color: #111827; color: #f3f4f6; padding: 80px 0 40px; margin-top: auto; border-radius: var(--radius) var(--radius) 0 0; position: relative; overflow: hidden; }
.site-footer::before { content: ''; position: absolute; top: -100px; right: -100px; width: 300px; height: 300px; background: var(--primary-color); border-radius: var(--radius); filter: blur(100px); opacity: 0.2; }

.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-bottom: 60px; 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: 20px; color: #ffffff !important; margin-bottom: 25px; }
.footer-col p, .footer-col ul { color: #9ca3af; line-height: 1.8; }
.footer-col ul li { margin-bottom: 12px; border-bottom: none; padding: 0; }
.footer-col a { color: #9ca3af; transition: color 0.2s; }
.footer-col a:hover { color: var(--primary-hover); }
.footer-col i { color: #9ca3af; }
.footer-col a:hover i { color: var(--primary-hover); }

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

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

.pagination { display: flex; gap: 10px; margin-top: 40px; justify-content: center; }
.pagination .page-numbers { background: rgba(255,255,255,0.6); backdrop-filter: blur(10px); border: none; border-radius: var(--radius); width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--text-color); transition: 0.3s; }
html.dark-mode .pagination .page-numbers { background: rgba(31,41,55,0.6); }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--btn-color); color: #fff; }
