/* ==========================================================================
   ESPELHO DO MARANHÃO - DESIGN SYSTEM 2026
   ========================================================================== */

:root {
    /* Color Palette */
    --primary: #0F1E36;        /* Deep Navy Blue */
    --primary-light: #1E2E4A;  /* Light Deep Navy */
    --accent: #C5A059;         /* Warm Gold Accent */
    --accent-light: rgba(197, 160, 89, 0.15);
    --bg-body: #F4F6F8;        /* Light Grey Background */
    --bg-card: #FFFFFF;
    --text-dark: #1E293B;      /* Slate Charcoal */
    --text-muted: #64748B;     /* Muted Slate */
    --white: #FFFFFF;
    --border-color: #E2E8F0;
    --red-alert: #EF4444;      /* For live notifications */

    /* Typography */
    --font-serif: 'Merriweather', Georgia, serif;
    --font-sans: 'Inter', system-ui, sans-serif;
    
    /* Transitions & Shadows */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-body);
    color: var(--text-dark);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

/* ==========================================================================
   STRUCTURE
   ========================================================================== */

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

main {
    padding: 40px 0;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--primary);
    line-height: 1.25;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

header.site-header {
    background-color: var(--primary);
    color: var(--white);
    border-bottom: 4px solid var(--accent);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.top-bar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 0;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

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

.top-bar-left span {
    margin-right: 15px;
}

.top-bar-right a {
    margin-left: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.top-bar-right a:hover {
    color: var(--accent);
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo-area {
    display: flex;
    flex-direction: column;
}

.logo {
    font-family: var(--font-serif);
    font-size: 2.1rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: var(--white);
    line-height: 1;
}

.logo span {
    color: var(--accent);
}

.logo-tagline {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
    font-weight: 500;
}

nav.main-nav ul {
    display: flex;
    list-style: none;
}

nav.main-nav ul li {
    margin: 0 14px;
    position: relative;
}

nav.main-nav ul li a {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.85);
    border-bottom: 2px solid transparent;
}

nav.main-nav ul li a:hover, 
nav.main-nav ul li.current-menu-item a {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-trigger {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.15rem;
    cursor: pointer;
    transition: var(--transition);
}

.search-trigger:hover {
    color: var(--accent);
}

.btn-gold {
    background-color: var(--accent);
    color: var(--primary);
    padding: 10px 18px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--accent);
    cursor: pointer;
    transition: var(--transition);
}

.btn-gold:hover {
    background-color: transparent;
    color: var(--accent);
}

/* Hamburger mobile menu button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================================================
   HOMEPAGE HERO GRID
   ========================================================================== */

.hero-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
}

.main-story {
    background-color: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.main-story-img-container {
    position: relative;
    width: 100%;
    height: 420px;
    background-color: var(--primary);
    overflow: hidden;
}

.main-story-img-container a {
    display: block;
    width: 100%;
    height: 100%;
}

.main-story-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.main-story:hover .main-story-img-container img {
    transform: scale(1.03);
}

/* Featured Image Format Variations */
.main-story-img-container.format-original,
.post-featured-image.format-original {
    height: auto !important;
    max-height: none !important;
    background-color: transparent;
}

.main-story-img-container.format-original a,
.post-featured-image.format-original a {
    display: block;
    width: 100%;
    height: auto;
}

.main-story-img-container.format-original img,
.post-featured-image.format-original img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    max-height: none !important;
    display: block;
}

.badge {
    display: inline-block;
    background-color: var(--accent-light);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    border-radius: 2px;
}

/* Category Badges Styling */
.photo-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    background-color: var(--accent, #C5A059);
}

.photo-badge.badge-eleicoes { background-color: #E11D48 !important; color: #ffffff !important; }
.photo-badge.badge-politica { background-color: #0284C7 !important; color: #ffffff !important; }
.photo-badge.badge-economia { background-color: #EA580C !important; color: #ffffff !important; }
.photo-badge.badge-justica { background-color: #EAB308 !important; color: #0F1E36 !important; }
.photo-badge.badge-municipios { background-color: #9333EA !important; color: #ffffff !important; }
.photo-badge.badge-turismo { background-color: #059669 !important; color: #ffffff !important; }
.photo-badge.badge-default { background-color: var(--accent, #C5A059) !important; color: var(--primary, #0F1E36) !important; }

.main-story-content {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.main-story-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    line-height: 1.2;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 14px;
}

.main-story-title a:hover {
    color: var(--accent);
}

.main-story-excerpt {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 24px;
    opacity: 0.95;
    flex-grow: 1;
}

.meta-author-row {
    display: flex;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.author-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    margin-right: 12px;
    border: 2px solid var(--accent);
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.meta-dot {
    margin: 0 6px;
}

.reading-time {
    background-color: #F1F5F9;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
}

/* ==========================================================================
   LIVE SIDEBAR (ÚLTIMAS NOTÍCIAS)
   ========================================================================== */

/* Sidebar Widget Search */
.widget_search {
    background-color: var(--bg-card, #ffffff);
    border: 1px solid var(--border-color, #E2E8F0);
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm, 0 1px 2px rgba(0,0,0,0.05));
}

.search-form .search-input-wrap {
    display: flex;
    gap: 8px;
    align-items: center;
}

.search-form .search-field {
    flex-grow: 1;
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color, #E2E8F0);
    border-radius: 6px;
    font-size: 0.88rem;
    font-family: var(--font-sans);
    color: var(--primary, #0F1E36);
    background-color: #F8FAFC;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.search-form .search-field:focus {
    outline: none;
    border-color: var(--accent, #C5A059);
    background-color: #ffffff;
}

.search-form .search-submit {
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    white-space: nowrap;
}

.live-sidebar {
    background-color: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 720px;
}

.live-sidebar-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
}

.live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--red-alert);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.4; }
    100% { transform: scale(0.95); opacity: 1; }
}

.live-sidebar-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.live-feed-container {
    overflow-y: auto;
    flex-grow: 1;
    padding-right: 6px;
}

.live-feed-container::-webkit-scrollbar {
    width: 4px;
}
.live-feed-container::-webkit-scrollbar-thumb {
    background-color: var(--accent);
    border-radius: 4px;
}

.live-item {
    position: relative;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color, #E2E8F0);
    border-left: none;
}

.live-item::before {
    display: none;
}

.live-item:first-child {
    padding-top: 4px;
}

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

.live-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: var(--transition, all 0.2s ease);
}

.live-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.live-badge {
    font-size: 0.65rem !important;
    padding: 3px 7px !important;
    border-radius: 3px !important;
    letter-spacing: 0.5px !important;
}

.live-time {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted, #64748B);
    white-space: nowrap;
}

.live-title {
    font-family: var(--font-serif, serif);
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: 700;
    color: var(--primary, #0F1E36);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.live-item-link:hover .live-title {
    color: var(--accent, #C5A059);
}

/* ==========================================================================
   DESTAQUES GRID (4 COLS)
   ========================================================================== */

.destaques-section {
    padding: 0 0 40px 0;
}

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

.destaque-card {
    background-color: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.destaque-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.destaque-img {
    height: 180px;
    background-color: var(--primary);
    overflow: hidden;
    position: relative;
}

.destaque-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.destaque-img.format-original img {
    object-fit: contain !important;
    background-color: var(--primary, #0F1E36);
}

.destaque-card:hover .destaque-img img {
    transform: scale(1.03);
}

.destaque-content {
    padding: 20px;
}

.destaque-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    line-height: 1.35;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.destaque-title a:hover {
    color: var(--accent);
}

.destaque-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    border-top: 1px solid #F1F5F9;
    padding-top: 12px;
    margin-top: 15px;
}

/* ==========================================================================
   SECTION HEADER UTILITY
   ========================================================================== */

.section-title {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    font-weight: 900;
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 8px;
    margin-bottom: 28px;
}

.section-title span::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    margin-top: 8px;
}

/* ==========================================================================
   CATEGORIES LIST SECTIONS
   ========================================================================== */

.category-blocks-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 40px 0;
}

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

.news-row-item {
    display: flex;
    gap: 20px;
    background-color: var(--bg-card);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.news-row-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.news-row-img {
    width: 130px;
    height: 95px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    background-color: var(--primary);
}

.news-row-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-row-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-row-title {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--primary);
}

.news-row-title a:hover {
    color: var(--accent);
}

.news-row-meta {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* ==========================================================================
   OPINIÃO SECTION (DARK ROW)
   ========================================================================== */

.opinion-section {
    background-color: var(--primary);
    color: var(--white);
    padding: 60px 0;
}

.opinion-section .section-title {
    color: var(--white);
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

.opinion-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.opinion-card {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.opinion-card::before {
    content: "“";
    font-family: var(--font-serif);
    font-size: 4.5rem;
    color: var(--accent);
    opacity: 0.12;
    position: absolute;
    top: 5px;
    left: 20px;
    line-height: 1;
}

.opinion-card:hover {
    transform: translateY(-6px);
    background-color: rgba(255, 255, 255, 0.07);
    border-color: var(--accent);
}

.opinion-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: 3px solid var(--accent);
    overflow: hidden;
    margin-bottom: 16px;
    background-color: var(--primary-light);
}

.opinion-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.opinion-author {
    font-weight: 700;
    font-size: 1rem;
    color: var(--accent);
    margin-bottom: 2px;
}

.opinion-role {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 14px;
}

.opinion-title {
    font-family: var(--font-serif);
    font-size: 0.92rem;
    line-height: 1.45;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   NATIVE ADVERTISEMENT PLACEMENT
   ========================================================================== */

.native-ad-wrapper {
    padding: 30px 0;
    text-align: center;
}

.native-ad {
    max-width: 970px;
    margin: 0 auto;
    background-color: #ECEFF1;
    border: 1px solid #CFD8DC;
    padding: 16px;
    font-size: 0.75rem;
    color: var(--text-muted);
    border-radius: 6px;
    position: relative;
}

.native-ad-label {
    position: absolute;
    top: -9px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: var(--bg-body);
    padding: 0 10px;
    font-weight: 700;
}

.native-ad-content {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
}

/* ==========================================================================
   NEWSLETTER PANEL
   ========================================================================== */

.newsletter-panel {
    background-color: #E2E8F0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 48px 0;
}

.newsletter-panel-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.newsletter-panel-info {
    max-width: 550px;
}

.newsletter-panel-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 8px;
}

.newsletter-panel-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.newsletter-panel-form {
    display: flex;
    gap: 12px;
    flex-grow: 1;
    max-width: 500px;
}

.newsletter-panel-form input[type="email"] {
    flex-grow: 1;
    padding: 12px 18px;
    border: 1px solid #CBD5E1;
    border-radius: 4px;
    font-size: 0.9rem;
    font-family: inherit;
}

.newsletter-panel-form input[type="email"]:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(197, 160, 89, 0.25);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

footer.site-footer {
    background-color: #08101F;
    color: rgba(255, 255, 255, 0.65);
    padding: 60px 0 20px 0;
    font-size: 0.88rem;
    border-top: 6px solid var(--accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1;
}

.footer-logo span {
    color: var(--accent);
}

.footer-about p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-title {
    font-family: var(--font-serif);
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
}

.footer-title::after {
    content: '';
    display: block;
    width: 35px;
    height: 2px;
    background-color: var(--accent);
    margin-top: 8px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.65);
}

.footer-links li a:hover {
    color: var(--accent);
    padding-left: 4px;
}

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

.social-links-footer a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.social-links-footer a:hover {
    background-color: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35);
}

/* ==========================================================================
   SINGLE POST LAYOUT (PREMIUM READABILITY)
   ========================================================================== */

.post-wrapper {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 32px;
    padding: 40px 0;
}

.post-article {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.post-header {
    margin-bottom: 24px;
}

.post-category {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.post-title {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--primary);
    margin-bottom: 16px;
}

.post-meta {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 24px;
}

.post-featured-image {
    width: 100%;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 30px;
}

.post-featured-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2D3748;
}

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

.post-content h2, .post-content h3 {
    margin: 36px 0 16px 0;
}

/* Share block */
.post-share-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.post-share-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
}

.share-btn {
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
}

.share-whatsapp {
    background-color: #25D366;
}

.share-twitter {
    background-color: #000000;
}

/* ==========================================================================
   SEARCH / ARCHIVE TEMPLATES
   ========================================================================== */

.archive-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 40px 0;
    margin-bottom: 30px;
}

.archive-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 900;
}

.archive-title span {
    color: var(--accent);
}

.archive-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 32px;
}

/* ==========================================================================
   SEARCH MODAL
   ========================================================================== */

.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 30, 54, 0.98);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-modal.active {
    display: flex;
    opacity: 1;
}

.search-modal-close {
    position: absolute;
    top: 30px;
    right: 40px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
}

.search-modal-close:hover {
    color: var(--accent);
}

.search-modal-content {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    text-align: center;
}

.search-modal-content h3 {
    font-family: var(--font-serif);
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 24px;
}

.search-modal-content input {
    width: 100%;
    background: none;
    border: none;
    border-bottom: 3px solid var(--accent);
    color: var(--white);
    font-size: 1.8rem;
    padding: 10px 0;
    font-family: inherit;
    text-align: center;
}

.search-modal-content input:focus {
    outline: none;
}

.search-modal-content p {
    color: var(--text-muted);
    margin-top: 15px;
    font-size: 0.9rem;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .live-sidebar {
        max-height: 400px;
    }

    .destaques-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-blocks-row {
        grid-template-columns: 1fr;
    }

    .post-wrapper, .archive-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Navbar Toggle */
    nav.main-nav, 
    .header-actions .btn-gold,
    .top-bar {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

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

    .logo {
        font-size: 1.6rem;
    }

    .logo-tagline {
        font-size: 0.6rem;
    }

    /* Hero */
    .main-story-img-container:not(.format-original) {
        height: 240px;
    }

    .main-story-title {
        font-size: 1.45rem;
    }

    .main-story-content {
        padding: 16px;
    }

    .destaques-grid {
        grid-template-columns: 1fr;
    }

    /* Categories lists */
    .news-row-item {
        flex-direction: column;
        gap: 12px;
    }

    .news-row-img {
        width: 100%;
        height: 180px;
    }

    /* Opinions Mobile Swiper (Native Scroll) */
    .opinion-grid {
        display: flex;
        overflow-x: auto;
        gap: 16px;
        padding-bottom: 12px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .opinion-card {
        min-width: 280px;
        scroll-snap-align: start;
    }

    /* Newsletter Panel */
    .newsletter-panel-container {
        flex-direction: column;
        text-align: center;
        gap: 24px;
        padding: 0 16px;
    }

    .newsletter-panel-form {
        width: 100%;
        flex-direction: column;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    /* Single post padding */
    .post-article {
        padding: 20px;
    }

    .post-title {
        font-size: 1.7rem;
    }

    .post-featured-image {
        height: 220px;
    }
}

/* ==========================================================================
   ARTICLE META & SHARE BUTTONS HORIZONTAL ALIGNMENT
   ========================================================================== */

.post-title,
.entry-title {
    text-transform: none !important;
}

.post-meta {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 16px !important;
    margin-top: 14px !important;
    margin-bottom: 20px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #E2E8F0 !important;
    width: 100% !important;
}

.post-meta-info {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 0.88rem !important;
    font-family: var(--font-sans) !important;
    color: var(--text-muted, #64748B) !important;
    white-space: nowrap !important;
}

.post-meta-info .meta-dot {
    color: #94A3B8 !important;
    margin: 0 2px !important;
}

.reading-time,
.meta-reading-time {
    background-color: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    font-weight: normal !important;
}

.post-image-share-bar {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    margin: 0 !important;
    margin-left: auto !important;
}

.post-image-share-buttons {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
}

.share-circle-btn {
    width: 36px !important;
    height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    background-color: #F1F5F9 !important;
    border: none !important;
    transition: transform 0.2s ease, filter 0.2s ease !important;
}

.share-circle-btn svg {
    width: 18px !important;
    height: 18px !important;
    fill: currentColor !important;
}

.share-circle-btn:hover {
    transform: translateY(-2px) !important;
    filter: brightness(0.95) !important;
}

/* Brand Specific Colors for Social Share Buttons */
.share-circle-btn.share-circle-copy {
    background-color: #F1F5F9 !important;
    color: #0F1E36 !important;
}
.share-circle-btn.share-circle-copy svg {
    fill: #0F1E36 !important;
}

.share-circle-btn.share-circle-whatsapp {
    background-color: #E8F5E9 !important;
    color: #25D366 !important;
}
.share-circle-btn.share-circle-whatsapp svg {
    fill: #25D366 !important;
}

.share-circle-btn.share-circle-facebook {
    background-color: #EBF5FF !important;
    color: #1877F2 !important;
}
.share-circle-btn.share-circle-facebook svg {
    fill: #1877F2 !important;
}

.share-circle-btn.share-circle-twitter {
    background-color: #F1F5F9 !important;
    color: #000000 !important;
}
.share-circle-btn.share-circle-twitter svg {
    fill: #000000 !important;
}

.share-circle-btn.share-circle-instagram {
    background-color: #FCE7F3 !important;
    color: #E4405F !important;
}
.share-circle-btn.share-circle-instagram svg {
    fill: #E4405F !important;
}


@media (max-width: 768px) {
    .post-meta {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }

    .post-meta-info {
        flex-wrap: wrap !important;
        white-space: normal !important;
    }

    .post-image-share-bar {
        margin-left: 0 !important;
        width: 100% !important;
        justify-content: flex-start !important;
    }
}
