:root {
    /* Cores principais (Estilo Folha - Monocromático com acentos) */
    --origo-green: #000000;
    --origo-green-hover: #990000;
    --origo-green-dark: #000000;
    
    /* Tons neutros e alto contraste */
    --text-dark: #000000;
    --text-light: #555555;
    --text-chapeu: #990000; /* Vermelho escuro clássico de jornal */
    --bg-gray: #f5f5f5;
    --white: #ffffff;
    --card-bg: #ffffff;
    --border-color: #cccccc; /* Bordas marcadas */
    --body-bg: #ffffff; /* Fundo branco chapado */
    
    /* Sem sombras flutuantes para visual impresso/clássico */
    --shadow-sm: none;
    --shadow-md: none;
    --shadow-lg: none;

    /* Typography (Serif para Títulos) */
    --font-heading: 'Merriweather', 'Georgia', serif;
    --font-sans: 'Arial', 'Helvetica', sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--body-bg);
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    color: var(--origo-green);
}

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

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Utility Bar */
.top-utility-bar {
    background-color: #1a1a1a;
    color: #cccccc;
    font-size: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #2d2d2d;
}

.topbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.topbar-slogan {
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #999999;
}

.topbar-links {
    display: flex;
    align-items: center;
}

.topbar-auth {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-topbar-login {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #f0f0f0;
    font-weight: 600;
    font-size: 11.5px;
    padding: 5px 12px;
    border: 1px solid #444444;
    border-radius: 4px;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.btn-topbar-login:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-color: #666666;
}

.btn-topbar-register {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #990000;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 11.5px;
    padding: 5px 14px;
    border-radius: 4px;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.btn-topbar-register:hover {
    background: #b30000;
    color: #ffffff !important;
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    flex-wrap: wrap;
}

.user-greeting {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #e0e0e0;
}

.user-greeting i {
    font-size: 1.1rem;
    color: #ff6b6b;
}

.user-role-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.role-reader {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    border: 1px solid rgba(59, 130, 246, 0.4);
}

.role-admin {
    background: rgba(220, 38, 38, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(220, 38, 38, 0.4);
}

.role-editor, .role-columnist {
    background: rgba(245, 158, 11, 0.2);
    color: #fcd34d;
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.btn-topbar-admin {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #990000;
    color: #ffffff !important;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-topbar-admin:hover {
    background: #b30000;
}

.btn-topbar-logout {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #999999 !important;
    font-size: 11.5px;
    font-weight: 500;
    padding: 4px 6px;
    text-decoration: none;
    transition: color 0.2s;
}

.btn-topbar-logout:hover {
    color: #ff4c4c !important;
}

.mobile-only-nav {
    display: none;
}

/* Main Header */
.main-header {
    background-color: var(--white);
    padding: 20px 0 4px 0;
    border-bottom: 1px solid #edf2f7;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
}

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

.logo img {
    height: 64px;
    width: auto;
    display: block;
}

.header-social-handle {
    color: #64748b;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding-left: 14px;
    border-left: 1px solid #e2e8f0;
    transition: color 0.15s ease;
}

.header-social-handle i {
    font-size: 1.15rem;
    color: #e1306c;
}

.header-social-handle:hover {
    color: #e1306c;
}

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

/* Reader Notification Center */
.notification-wrapper {
    position: relative;
}

.notification-bell-btn {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.notification-bell-btn:hover {
    background: #ffffff;
    color: #990000;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.notification-bell-btn:active {
    transform: scale(0.96);
}

.notif-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: #990000;
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 700;
    min-width: 19px;
    height: 19px;
    padding: 0 4px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 5px rgba(153, 0, 0, 0.35);
    animation: notifBadgePop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.notification-bell-btn.has-unread {
    animation: notifPulse 2.5s infinite;
}

@keyframes notifBadgePop {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

@keyframes notifPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(153, 0, 0, 0.3); }
    50% { box-shadow: 0 0 0 6px rgba(153, 0, 0, 0); }
}

/* Notification Dropdown */
.notification-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    right: -10px;
    width: 360px;
    max-width: 90vw;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0,0,0,0.04);
    border: 1px solid #e2e8f0;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.notification-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.notif-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: #f8fafc;
    border-bottom: 1px solid #edf2f7;
}

.notif-header-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.92rem;
    color: #0f172a;
}

.notif-header-title i {
    color: #990000;
    font-size: 1.15rem;
}

.btn-mark-all-read {
    background: none;
    border: none;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 6px;
    border-radius: 4px;
    transition: all 0.15s ease;
}

.btn-mark-all-read:hover {
    color: #990000;
    background: #f1f5f9;
}

.notif-list {
    max-height: 380px;
    overflow-y: auto;
    scrollbar-width: thin;
}

.notif-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    border-bottom: 1px solid #f1f5f9;
    background: #ffffff;
    transition: background 0.15s ease;
    position: relative;
}

.notif-item:hover {
    background: #f8fafc;
}

.notif-item.read {
    opacity: 0.72;
}

.notif-thumb {
    width: 60px;
    height: 48px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #09090b;
}

.notif-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.notif-content {
    flex: 1;
    min-width: 0;
}

.notif-category {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #990000;
    margin-bottom: 2px;
    letter-spacing: 0.3px;
}

.notif-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 3px 0;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notif-time {
    font-size: 11px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 4px;
}

.notif-unread-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #990000;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
}

.notif-item.read .notif-unread-dot {
    display: none;
}

.notif-empty {
    padding: 35px 20px;
    text-align: center;
    color: #94a3b8;
}

.notif-empty i {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 8px;
    color: #cbd5e1;
}

.notif-empty p {
    margin: 0;
    font-size: 0.88rem;
}

.notif-footer {
    padding: 10px 16px;
    background: #f8fafc;
    border-top: 1px solid #edf2f7;
    text-align: center;
}

.notif-footer a {
    font-size: 0.84rem;
    font-weight: 600;
    color: #990000;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s;
}

.notif-footer a:hover {
    gap: 8px;
    text-decoration: underline;
}

.header-search {
    display: flex;
    background: var(--white);
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    padding: 2px 6px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    transition: all 0.2s ease;
    width: 280px;
}

.header-search:focus-within {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.header-search input {
    border: none;
    padding: 9px 16px;
    width: 100%;
    outline: none;
    background: transparent;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: #1e293b;
}

.header-search button {
    background: transparent;
    border: none;
    padding: 0 12px;
    cursor: pointer;
    color: #64748b;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease;
}

.header-search button:hover {
    color: #990000;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Navigation (Seamless Integrated) */
.main-nav {
    background-color: transparent;
    border-top: 1px solid #f1f5f9;
    border-bottom: none;
    margin-top: 2px;
}

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

.nav-links {
    list-style: none;
    display: flex;
    gap: 6px;
    padding: 8px 0;
    align-items: center;
}

.nav-links li a {
    color: #1e293b;
    font-weight: 600;
    font-size: 0.94rem;
    text-transform: none;
    letter-spacing: 0;
    padding: 8px 14px;
    border-radius: 6px;
    transition: all 0.18s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.nav-links li a:hover {
    color: #990000;
    background-color: #fef2f2;
    text-decoration: none;
}

.nav-links li a:focus,
.nav-links li a:focus-visible {
    outline: 2px solid #ef4444;
    outline-offset: 2px;
    color: #990000;
    background-color: #fef2f2;
}

.nav-active {
    color: #990000 !important;
    font-weight: 700;
    background-color: #fee2e2;
}

.nav-support {
    display: flex;
    align-items: center;
}

.btn-support-link {
    color: #1e293b;
    font-weight: 700;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    padding: 8px 16px;
    border-radius: 999px;
    transition: all 0.2s ease;
    text-decoration: none;
    border: 1px solid transparent;
}

.btn-support-link i {
    color: #ef4444;
    font-size: 1.25rem;
    transition: transform 0.2s ease;
}

.btn-support-link:hover {
    color: #990000;
    background: #fef2f2;
    border-color: #fecaca;
    text-decoration: none;
}

.btn-support-link:hover i {
    transform: scale(1.25);
}

.btn-support-link:focus,
.btn-support-link:focus-visible {
    outline: 2px solid #ef4444;
    outline-offset: 2px;
}

/* Layout Core */
.page-content {
    margin-top: 24px;
    margin-bottom: 50px;
}

/* Hero Grid (Tall Asymmetric Grid) */
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 16px;
    margin-bottom: 40px;
    min-height: 560px;
}

.hero-main {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 560px;
    height: 100%;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    background-color: #1a1a1a;
}

.hero-subgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 272px 272px;
    gap: 16px;
    height: 100%;
}

.hero-sub {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    min-height: 272px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    background-color: #1a1a1a;
}

.hero-card-link {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #ffffff;
    position: relative;
    outline: none;
    overflow: hidden;
    border-radius: 12px;
}

.hero-card-link:focus-visible {
    box-shadow: 0 0 0 4px #ef4444;
    border-radius: 12px;
    z-index: 20;
}

.hero-img-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
}

.hero-main:hover .hero-img-bg,
.hero-sub:hover .hero-img-bg {
    transform: scale(1.05);
}

/* Gradient sits between image (z:1) and text content (z:10) - Soft and concentrated at bottom for maximum image visibility */
.hero-card-link::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.38) 28%, rgba(0, 0, 0, 0) 55%);
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10; /* Pure text rendered on top */
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
}

.category-badge {
    background: #990000;
    color: #ffffff;
    padding: 3px 9px;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    margin-bottom: 8px;
    display: inline-block;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    line-height: 1.25;
    transition: background 0.15s ease;
}

.category-badge:hover {
    background: #b91c1c;
}

.hero-sub .category-badge {
    font-size: 0.66rem;
    padding: 2px 7px;
    margin-bottom: 6px;
}

.hero-main h2 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.25;
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 1px 3px rgba(0, 0, 0, 0.9);
    transition: all 0.2s ease;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.hero-main p {
    font-size: 1rem;
    color: #ffffff !important;
    opacity: 0.95;
    line-height: 1.45;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 1px 3px rgba(0, 0, 0, 0.9);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-sub h3 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.3;
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 1px 3px rgba(0, 0, 0, 0.9);
    transition: all 0.2s ease;
    letter-spacing: -0.01em;
}

.hero-main:hover h2,
.hero-sub:hover h3 {
    color: #ffffff !important;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 1), 0 0 12px rgba(255, 255, 255, 0.35);
}

/* Main Feed Layout */
.main-layout {
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 40px;
}

.feed-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feed-item {
    display: flex;
    gap: 20px;
    background: var(--card-bg);
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.feed-item:last-child {
    border-bottom: none;
}

.feed-item img {
    width: 280px;
    height: 180px;
    flex-shrink: 0;
    object-fit: cover;
    object-position: top center;
    border-radius: 8px;
}

.category-text {
    color: var(--text-chapeu);
    font-weight: bold;
    font-size: 0.8rem;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}

.feed-item h3 {
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 8px;
}

.feed-meta {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
}

.feed-item p {
    color: var(--text-light);
}

/* Sidebar Widgets */
.widget,
.sidebar-widget {
    margin-bottom: 35px;
    background: #ffffff;
}

.widget-title {
    font-size: 1.15rem;
    text-transform: uppercase;
    font-weight: 800;
    font-family: var(--font-headline, 'Outfit', 'Inter', sans-serif);
    letter-spacing: 0.03em;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #990000;
    color: #0f172a;
}

.lista-viu-isso,
.popular-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lista-viu-isso li,
.popular-list li {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px dashed #e2e8f0;
    line-height: 1.45;
}

.lista-viu-isso li:last-child,
.popular-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.lista-viu-isso li a,
.popular-list li a {
    color: #1e293b;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    transition: color 0.15s ease, transform 0.15s ease;
}

.lista-viu-isso li a::before,
.popular-list li a::before {
    content: "•";
    color: #990000;
    font-size: 1.2rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 1px;
}

.lista-viu-isso li a:hover,
.popular-list li a:hover {
    color: #990000;
    transform: translateX(3px);
}

.widget-ad {
    background: var(--bg-gray);
    text-align: center;
    padding: 20px;
    border: 1px solid var(--border-color);
}

.ad-label {
    font-size: 0.7rem;
    color: #999;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
    text-align: center;
}

.ad-link {
    display: block;
    width: 100%;
    text-decoration: none;
}

.ad-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ad-link:hover .ad-img {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* Ad Banners Top and Bottom */
.ad-banner-top, .ad-banner-bottom {
    text-align: center;
    padding: 20px 0;
}

.ad-img.leaderboard {
    width: 100%;
    max-width: 728px;
}

.ad-img.skyscraper {
    width: 100%;
    max-width: 300px;
}

.ad-img.billboard {
    width: 100%;
    max-width: 970px;
}

.ad-img.medium-rectangle {
    width: 100%;
    max-width: 300px;
}

/* Columnists Section */
.columnists-section {
    padding: 60px 0;
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
}

.columnists-section .section-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
}

.columnists-carousel-wrapper {
    position: relative;
    max-width: 100%;
}

.columnists-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 20px;
    scrollbar-width: none;
    padding-bottom: 20px;
}

.columnists-carousel::-webkit-scrollbar {
    display: none;
}

.columnist-card {
    flex: 0 0 calc(20% - 16px);
    min-width: 200px;
    scroll-snap-align: start;
    background: transparent;
    padding: 10px;
    text-align: center;
    border: none;
    transition: transform 0.2s;
}

.columnist-card:hover {
    transform: translateY(-5px);
}

.columnist-avatar-link {
    display: inline-block;
    margin-bottom: 15px;
}

.columnist-avatar {
    width: 220px;
    height: 300px;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.columnist-card:hover .columnist-avatar {
    outline: 3px solid var(--text-chapeu);
    outline-offset: 2px;
}

.columnist-name {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-dark);
    text-transform: uppercase;
}

.columnist-title {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    color: var(--text-light);
}

.columnist-title a {
    color: inherit;
}

.columnist-title a:hover {
    color: var(--text-chapeu);
}

@media (max-width: 992px) {
    .columnist-card {
        flex: 0 0 calc(33.333% - 15px);
    }
}

@media (max-width: 576px) {
    .columnist-card {
        flex: 0 0 calc(60% - 15px);
    }
}

/* Quem faz a Hostil Section */
.opinion-section {
    background-color: var(--bg-gray); 
    color: var(--text-dark);
    padding: 50px 0 60px;
    border-top: 1px solid var(--border-color);
    overflow: hidden; 
}

.opinion-section .section-title {
    font-size: 2.2rem;
    margin-bottom: 35px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    color: var(--text-dark);
}

.opinion-carousel-wrapper {
    position: relative;
    width: 100%;
}

.opinion-carousel {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    padding-bottom: 10px;
}

.opinion-card-full {
    flex: 0 0 240px;
    width: 240px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    background: #0f172a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.opinion-card-full:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.opinion-card-full::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65%;
    background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.team-card-link-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1rem;
    z-index: 5;
    transition: all 0.2s ease;
    text-decoration: none;
}

.team-card-link-badge:hover {
    background: #990000;
    border-color: #990000;
    transform: scale(1.1);
    color: #ffffff;
}

.opinion-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.opinion-card-full:hover .opinion-cover-img {
    transform: scale(1.04);
}

.opinion-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px 18px;
    z-index: 2;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-sizing: border-box;
}

.opinion-overlay h4 {
    font-size: 1.15rem;
    font-weight: 700;
    font-family: var(--font-headline, 'Outfit', 'Inter', sans-serif);
    line-height: 1.25;
    margin: 0 0 4px 0;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.opinion-role {
    font-size: 0.85rem;
    color: #cbd5e1;
    font-weight: 500;
    line-height: 1.2;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
}

.carousel-btn:hover {
    background: var(--origo-green);
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

/* Support Banner */
.support-banner {
    background: linear-gradient(135deg, #18181b 0%, #09090b 100%);
    color: #ffffff;
    padding: 42px 0;
    border-top: 1px solid #27272a;
    border-bottom: 1px solid #27272a;
}

.support-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.support-content h2 {
    color: #ffffff;
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 6px;
    font-family: 'Inter', -apple-system, sans-serif;
}

.support-content p {
    color: #a1a1aa;
    font-size: 0.95rem;
    margin: 0;
    max-width: 650px;
    line-height: 1.5;
}

.btn-support {
    background: #990000;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(153, 0, 0, 0.35);
    text-decoration: none;
}

.btn-support:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(153, 0, 0, 0.45);
    color: #ffffff;
    text-decoration: none;
}

/* Site Footer */
.site-footer {
    background-color: #f8fafc;
    color: #64748b;
    padding: 55px 0 0;
    border-top: 1px solid #edf2f7;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.6fr;
    gap: 40px;
    margin-bottom: 35px;
}

.footer-logo-img {
    height: 52px;
    width: auto;
    margin-bottom: 18px;
    display: block;
}

.about-col p {
    font-size: 0.92rem;
    margin-bottom: 20px;
    line-height: 1.55;
    color: #64748b;
}

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

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #ffffff;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.social-icons a:hover {
    background: #990000;
    color: #ffffff;
    border-color: #990000;
    transform: translateY(-2px);
}

.footer-title {
    color: #1e293b;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.nav-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-col a {
    font-weight: 500;
    font-size: 0.92rem;
    color: #475569;
    transition: color 0.15s ease;
    text-decoration: none;
}

.nav-col a:hover {
    color: #990000;
    text-decoration: none;
}

.btn-footer-support {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fef2f2;
    color: #990000;
    border: 1px solid #fecaca;
    padding: 9px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 16px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-footer-support:hover {
    background: #990000;
    color: #ffffff;
    border-color: #990000;
    text-decoration: none;
}

/* Newsletter Modern Card */
.newsletter-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.newsletter-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.newsletter-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fee2e2;
    color: #990000;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 8px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.newsletter-badge i {
    font-size: 0.95rem;
}

.newsletter-title {
    color: #1e293b !important;
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.25;
}

.newsletter-desc {
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.45;
    margin-bottom: 14px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.newsletter-input-group {
    display: flex;
    gap: 8px;
    width: 100%;
}

.newsletter-input-wrap {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.newsletter-input-wrap .input-icon {
    position: absolute;
    left: 12px;
    color: #94a3b8;
    font-size: 1.15rem;
    pointer-events: none;
}

.newsletter-input {
    width: 100%;
    padding: 10px 12px 10px 36px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.88rem;
    font-family: var(--font-sans);
    color: #1e293b;
    background: #f8fafc;
    outline: none;
    transition: all 0.2s ease;
}

.newsletter-input:focus {
    background: #ffffff;
    border-color: #990000;
    box-shadow: 0 0 0 3px rgba(153, 0, 0, 0.12);
}

.newsletter-input::placeholder {
    color: #94a3b8;
}

.btn-newsletter-submit {
    background: #990000;
    color: #ffffff;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(153, 0, 0, 0.2);
}

.btn-newsletter-submit:hover {
    background: #b91c1c;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(153, 0, 0, 0.28);
}

.btn-newsletter-submit:active {
    transform: translateY(0);
}

.newsletter-alert-wrapper {
    margin-top: 10px;
}

.alert-newsletter-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.84rem;
    font-weight: 500;
}

.alert-newsletter-box.alert-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-newsletter-box.alert-warning {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

.alert-newsletter-box.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Footer Bottom Bar & Partner Links */
.footer-bottom {
    background-color: #f8fafc;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid #edf2f7;
    font-size: 0.88rem;
    color: #64748b;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-partners-text {
    color: #64748b;
}

.footer-partner-link {
    color: #1e293b;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: all 0.15s ease;
}

.footer-partner-link:hover {
    color: #990000;
    text-decoration-color: #990000;
}

/* Edições da Revista Carousel (Reference: Nossa Opinião Style) */
.prevendas-section {
    background-color: #000000;
    color: #ffffff;
    padding: 50px 0 25px 0;
    border-top: none;
    overflow: hidden;
}

.prevendas-section .section-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
}

.prevendas-speech-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #f59e0b;
    color: #000000;
    border-radius: 50% 50% 50% 4px;
    font-size: 1.3rem;
}

.prevendas-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
}

.prevendas-grid-small {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 0;
    scrollbar-width: none;
    padding: 0;
    margin: 0;
}

.prevendas-grid-small::-webkit-scrollbar {
    display: none;
}

.prevenda-card.small {
    flex: 0 0 240px;
    width: 240px;
    position: relative;
    border-radius: 0;
    overflow: hidden;
    aspect-ratio: 9 / 14;
    background: #09090b;
    box-shadow: none;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    transition: filter 0.25s ease;
    scroll-snap-align: start;
    cursor: pointer;
}

.prevenda-card.small:hover .prevenda-img {
    transform: scale(1.05);
}

.prevenda-card.small::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65%;
    background: linear-gradient(to top, rgba(0,0,0,0.96) 0%, rgba(0,0,0,0.65) 45%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.prevenda-card.small .prevenda-img {
    width: 100%;
    height: 100%;
    aspect-ratio: 9 / 14;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
    border-radius: 0;
    box-shadow: none;
    border: none;
}

.prevenda-rating-bubbles {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
    color: #f59e0b;
    font-size: 0.95rem;
}

.prevenda-card.small .prevenda-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px 14px;
    z-index: 2;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-sizing: border-box;
}

.prevenda-card.small .prevenda-info h4 {
    font-size: 1.05rem;
    font-weight: 800;
    font-family: var(--font-headline, 'Outfit', 'Inter', sans-serif);
    line-height: 1.25;
    margin: 0 0 6px 0;
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.prevenda-card.small .prevenda-info .date {
    font-size: 0.8rem;
    color: #a1a1aa;
    font-weight: 500;
    line-height: 1.2;
}

/* Multimídia Section (Canal & Vídeos) */
.multimedia-section {
    background-color: var(--bg-gray);
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
}

.multimedia-section .section-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
}

.video-featured {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-featured:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.14);
}

.video-featured .video-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 500px;
    overflow: hidden;
    background: #000;
}

.video-featured .video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-featured h4 {
    padding: 18px 24px;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.video-card {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.video-card .video-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.video-card .video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-card h4 {
    padding: 12px 14px;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text-dark);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(153, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    transition: transform 0.2s;
}

.video-thumbnail:hover .play-overlay {
    background: rgba(153, 0, 0, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-overlay.mini {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .multimedia-grid {
        grid-template-columns: 1fr;
    }
    
    .main-layout {
        grid-template-columns: 1fr;
    }
    
    .opinion-card-full {
        flex: 0 0 33.333%;
    }
    
    .prevendas-grid-large {
        grid-template-columns: 1fr;
    }
    
    .prevenda-card.small {
        flex: 0 0 calc(33.333% - 14px);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .support-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .topbar-container {
        flex-direction: column;
        gap: 10px;
    }
    .topbar-links a {
        margin: 0 10px;
    }
    
    .header-container {
        position: relative;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 15px;
    }
    
    .mobile-menu-btn {
        display: block;
        position: absolute;
        left: 15px;
        top: 15px; /* Vertically centered relative to the 70px logo */
    }
    
    .logo {
        flex: 0 0 100%;
        text-align: center;
    }
    
    .header-search {
        order: 3;
        width: 100%;
    }
    
    .header-search input {
        width: 100%;
        flex: 1;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        background-color: var(--white);
        border-top: 1px solid #edf2f7;
        box-shadow: 0 10px 20px rgba(0,0,0,0.08);
        padding: 10px 0;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .nav-container {
        flex-direction: column;
        align-items: stretch;
        padding: 0 15px;
        text-align: left;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 6px;
        padding: 6px 0;
        width: 100%;
    }

    .nav-links li a {
        width: 100%;
        padding: 10px 14px;
    }

    .nav-support {
        padding-top: 10px;
        margin-top: 6px;
        border-top: 1px solid #f1f5f9;
        display: flex;
        justify-content: center;
    }

    .mobile-only-nav {
        display: block;
        padding-top: 5px;
        border-top: 1px solid #f1f5f9;
    }

    .mobile-only-nav a {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }
    
    .hero-main {
        min-height: 380px;
    }
    .hero-main h2 {
        font-size: 1.45rem;
    }
    .hero-subgrid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 14px;
    }
    .hero-sub {
        min-height: 240px;
    }
    
    .feed-item {
        flex-direction: column;
    }
    .feed-item img {
        width: 100%;
        height: 200px;
    }
    
    .opinion-section .section-title,
    .prevendas-section .section-title,
    .multimedia-section .section-title {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }

    .podcast-featured {
        flex-direction: column;
    }
    .podcast-featured img {
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
    }
    
    .video-gallery {
        grid-template-columns: 1fr;
    }
    
    .carousel-btn {
        display: none;
    }
    
    .ad-img.leaderboard,
    .ad-img.billboard,
    .ad-img.skyscraper,
    .ad-img.medium-rectangle {
        width: 100%;
        height: auto;
    }
    
    .opinion-card-full {
        flex: 0 0 60%;
    }

    .prevendas-grid-large {
        gap: 30px;
    }
    .prevenda-card.large {
        flex-direction: column;
    }
    .prevenda-card.large .prevenda-img,
    .prevenda-card.large .prevenda-info {
        width: 100%;
    }
    
    .prevenda-card.small {
        flex: 0 0 calc(60% - 10px);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .about-col {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .social-icons {
        justify-content: center;
    }
    .nav-col {
        text-align: center;
    }
    .nav-col ul {
        align-items: center;
    }
    .support-col {
        text-align: left;
    }
    .newsletter-card {
        text-align: left;
    }
    .support-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .support-content p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .newsletter-input-group {
        flex-direction: column;
    }
    .btn-newsletter-submit {
        width: 100%;
        justify-content: center;
    }
}

/* Video Modal Styles */
.video-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: #000;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
}

.close-video-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-video-modal:hover {
    color: var(--origo-green);
}

.video-modal-iframe-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
}

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

.open-video-modal {
    cursor: pointer;
}

.modal-nav-btn {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    font-size: 40px;
    cursor: pointer;
    z-index: 10000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.modal-nav-btn:hover {
    background: var(--origo-green);
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

@media (max-width: 768px) {
    .modal-prev { left: 10px; }
    .modal-next { right: 10px; }
    
    .video-modal-content {
        width: 100%;
        border-radius: 0;
    }
}

/* Efeito Vermelho no Hover das Imagens */
.feed-item:hover img,
.prevenda-card:hover .prevenda-img,
.opinion-card-full:hover .opinion-cover-img,
.podcast-featured:hover img,
.podcast-gallery-item:hover img,
.video-thumbnail:hover img,
.hero-main:hover .hero-img-bg,
.hero-sub:hover .hero-img-bg,
.ultimas-item:hover .ultimas-thumb,
.ultimas-destaque:hover .ultimas-destaque-img {
    outline: 3px solid var(--text-chapeu);
    outline-offset: -3px;
    transition: outline 0.2s ease-in-out;
}

/* =========================================================
   ESTILO JORNALÍSTICO (Referência: Folha)
   ========================================================= */

/* Imagens quadradas (sem cantos arredondados) para visual impresso */
img, 
.video-thumbnail, 
.ad-img, 
.prevenda-img,
.hero-img-bg,
.header-search,
.header-search input,
.podcast-featured {
    border-radius: 0 !important;
}

/* Efeito de hover nas imagens (leve escurecimento, sem zoom para não quebrar layout) */
.hero-main:hover .hero-img-bg,
.hero-sub:hover img,
.feed-item:hover img,
.video-featured:hover .video-thumbnail,
.video-gallery-item:hover .video-thumbnail,
.prevenda-card:hover .prevenda-img,
.ultimas-item:hover .ultimas-thumb,
.ultimas-destaque:hover .ultimas-destaque-img {
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

img, .hero-img-bg {
    transition: opacity 0.3s ease;
}

/* =========================================================
   ÚLTIMAS NOTÍCIAS (Timeline)
   ========================================================= */
.ultimas-feed {
    max-width: 800px;
    margin: 40px 0;
}

.ultimas-item {
    display: flex;
    gap: 30px;
    padding: 25px 0;
    border-top: 1px solid var(--border-color);
    align-items: flex-start;
}

.ultimas-item:first-child {
    border-top: none;
}

.ultimas-thumb {
    width: 350px;
    height: 196px; /* 16:9 fixo */
    object-fit: cover;
    flex-shrink: 0;
}

.ultimas-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.ultimas-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 8px;
}

.ultimas-actions {
    display: flex;
    gap: 12px;
    color: #999;
    font-size: 1.1rem;
    cursor: pointer;
}

.ultimas-actions i:hover {
    color: var(--text-dark);
}

.ultimas-time {
    font-size: 0.85rem;
    color: var(--text-light);
    font-family: var(--font-sans);
    margin-top: 15px;
}

.ultimas-destaque:hover .ultimas-destaque-img {
    opacity: 0.85;
}

.ultimas-destaque:hover .ultimas-title {
    color: var(--text-chapeu);
}

.ultimas-chapeu {
    color: var(--text-dark);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0;
    display: block;
    font-family: var(--font-sans);
    letter-spacing: 1px;
}

.ultimas-title {
    font-size: 1.4rem;
    margin-bottom: 8px;
    line-height: 1.3;
}

.ultimas-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.ultimas-title a:hover {
    color: var(--text-chapeu);
}

.ultimas-excerpt {
    color: var(--text-light);
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .ultimas-item {
        flex-direction: column;
        gap: 10px;
    }
    .ultimas-time {
        width: auto;
        font-size: 0.85rem;
    }
    .ultimas-thumb {
        width: 100%;
        height: auto;
    }
}

/* =========================================================
   PÁGINA DE NOTÍCIA (LEITURA)
   ========================================================= */

.article-header {
    text-align: left;
    max-width: 800px;
    margin: 0 auto 30px;
}

.article-chapeu {
    color: var(--text-chapeu);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    display: inline-block;
}

.article-title {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 15px;
}

.article-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    font-family: var(--font-sans);
    line-height: 1.5;
    font-weight: 400;
    margin-bottom: 30px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.article-author {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.author-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50% !important; /* Exceção para o avatar */
}

.author-info strong {
    display: block;
    font-size: 1rem;
    color: var(--text-dark);
}

.author-info time {
    font-size: 0.85rem;
    color: var(--text-light);
    font-family: var(--font-sans);
}

.article-share {
    display: flex;
    gap: 10px;
}

.share-btn {
    background: none;
    border: 1px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s;
}

.share-btn:hover {
    background: var(--text-dark);
    color: var(--white);
    border-color: var(--text-dark);
}

.article-main-image-container {
    max-width: 1000px;
    margin: 0 auto 40px;
}

.article-main-image {
    width: 100%;
    height: auto;
    display: block;
}

.article-caption {
    font-size: 0.9rem;
    color: var(--text-light);
    font-family: var(--font-sans);
    text-align: right;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 40px;
}

.article-container {
    max-width: 700px;
    margin: 0 auto;
}

.article-body {
    font-family: var(--font-heading); /* Serif font for body reading */
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.article-body p {
    margin-bottom: 25px;
}

.article-body h3 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    font-family: var(--font-sans);
}

.article-body a {
    color: var(--text-chapeu);
    text-decoration: underline;
    font-weight: 600;
}

.article-body blockquote {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--text-chapeu);
    border-left: 4px solid var(--text-chapeu);
    padding-left: 20px;
    margin: 40px 0;
    font-style: italic;
}

@media (max-width: 768px) {
    .article-title {
        font-size: 2.2rem;
    }
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .article-share {
        width: 100%;
        justify-content: space-between;
    }
    .article-body {
        font-size: 1.05rem;
    }
}

/* =========================================================
   PÁGINA DE EDIÇÕES (ACERVO)
   ========================================================= */

.edicao-destaque {
    display: flex;
    gap: 50px;
    align-items: center;
    background: var(--bg-gray);
    padding: 40px;
    border: 1px solid var(--border-color);
}

.edicao-destaque-capa {
    width: 380px;
    flex-shrink: 0;
}

.edicao-img-principal {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 10px 10px 0px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.edicao-img-principal:hover {
    transform: translate(-5px, -5px);
    box-shadow: 15px 15px 0px rgba(0,0,0,0.15);
}

.edicao-destaque-info {
    flex-grow: 1;
}

.edicao-titulo {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 10px;
}

.edicao-meta-info {
    display: flex;
    gap: 20px;
    color: var(--text-chapeu);
    font-weight: bold;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.edicao-sinopse {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.edicao-autores {
    font-family: var(--font-sans);
    color: var(--text-light);
    margin-bottom: 35px;
    font-size: 0.95rem;
}

.edicao-actions {
    display: flex;
    gap: 15px;
}

.edicoes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.edicao-card {
    display: block;
    text-align: center;
    transition: transform 0.2s ease;
}

.edicao-card-img-wrapper {
    margin-bottom: 15px;
    background: var(--bg-gray);
    padding: 10px;
    border: 1px solid var(--border-color);
}

.edicao-card-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.2s;
}

.edicao-card:hover {
    transform: translateY(-5px);
}

.edicao-card:hover .edicao-card-img-wrapper img {
    opacity: 0.85;
}

.edicao-card-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.edicao-card-info span {
    font-family: var(--font-sans);
    color: var(--text-light);
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .edicao-destaque {
        flex-direction: column;
        padding: 30px 20px;
    }
    .edicao-destaque-capa {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    .edicao-actions {
        flex-direction: column;
    }
}
@media (max-width: 600px) {
    .edicoes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Search Page Responsive */
.search-page-header .section-title {
    font-size: 2.2rem;
    font-weight: 800;
}

@media (max-width: 768px) {
    .search-page-header .section-title {
        font-size: 1.6rem;
    }
    .ultimas-feed .ultimas-item {
        flex-direction: column;
        gap: 15px !important;
    }
    .ultimas-feed .ultimas-item a {
        width: 100% !important;
        aspect-ratio: 16/9 !important;
    }
}