/*
Theme Name: Ponto de Vista Jurídico
Theme URI: https://pontodevista.com.br
Description: Tema customizado otimizado para portal de notícias jurídicas com foco em Goiás. Responsivo, rápido e otimizado para SEO.
Version: 3.6.5
Author: Kedllon Solutions
Author URI: https://kedllon.solutions
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pontodevista
Tags: news, legal, responsive, seo-optimized, fast-loading

Ponto de Vista Jurídico WordPress Theme, Copyright 2025
Ponto de Vista Jurídico is distributed under the terms of the GNU GPL.
*/

/* ===================================
   Reset e Base
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Cores Principais */
    --color-primary: #1a1a1a;
    --color-secondary: #8b4513;
    --color-accent: #d4af37;
    --color-text: #333;
    --color-text-light: #666;
    --color-bg: #ffffff;
    --color-bg-light: #f5f5f5;
    --color-border: #e0e0e0;

    /* Cores Utilitárias */
    --color-white: #ffffff;
    --color-black: #000000;
    --color-error: #c62828;
    --color-success: #2e7d32;
    --color-warning: #f57c00;
    --color-info: #0288d1;

    /* Escala de Cinza */
    --color-gray-50: #fafafa;
    --color-gray-100: #f5f5f5;
    --color-gray-200: #e0e0e0;
    --color-gray-300: #cccccc;
    --color-gray-400: #b0b0b0;
    --color-gray-500: #888888;
    --color-gray-600: #666666;
    --color-gray-700: #555555;
    --color-gray-800: #333333;
    --color-gray-900: #1a1a1a;

    /* Tipografia - NOVA */
    --font-primary: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --font-heading: 'Montserrat', 'Helvetica Neue', sans-serif;

    /* Efeitos */
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);

    /* Breakpoints */
    --breakpoint-mobile: 480px;
    --breakpoint-tablet: 768px;
    --breakpoint-desktop: 1024px;
    --breakpoint-wide: 1440px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--color-primary);
    letter-spacing: -0.02em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===================================
   Layout Container
   =================================== */
.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-fluid {
    width: 100%;
    padding: 0 1rem;
}

/* ===================================
   Header
   =================================== */
.site-header {
    background-color: var(--color-bg);
    color: var(--color-text);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.site-branding {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    min-height: 70px;
    padding: 0.5rem 0;
}

/* Logo Customizada - Centralizada no Desktop */
.custom-logo-link {
    display: inline-block;
    line-height: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

/* Site Brand Text - Centralizado no Desktop */
.site-brand-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.custom-logo {
    max-height: 60px;
    width: auto;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.custom-logo-link:hover .custom-logo {
    opacity: 0.85;
}

/* Site Brand Text - Estilo adicional */
.site-brand-text {
    display: flex;
    flex-direction: column;
}

.site-title {
    font-size: 1.75rem;
    margin: 0;
}

.site-title a {
    color: var(--color-text);
}

.site-description {
    font-size: 0.875rem;
    color: var(--color-text-light);
    opacity: 0.8;
    margin: 0;
}

/* Responsivo - Logo */
@media (max-width: 768px) {
    .custom-logo {
        max-height: 45px;
    }
}

/* Campo de Busca Minimalista - Apenas Ícone */
.header-search {
    display: flex;
    align-items: center;
    margin-left: auto;
    position: relative;
    z-index: 2;
}

.search-icon-btn {
    background: none;
    border: none;
    color: var(--color-text);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.search-icon-btn:hover {
    background: var(--color-bg-light);
    transform: scale(1.1);
}

.search-icon-btn svg {
    width: 22px;
    height: 22px;
}

/* Search Overlay - Fullscreen */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-content {
    width: 90%;
    max-width: 600px;
    position: relative;
}

.close-search {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 3rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.close-search:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.search-form-clean {
    width: 100%;
}

.search-input-clean {
    width: 100%;
    padding: 1.5rem 2rem;
    font-size: 1.5rem;
    border: none;
    border-bottom: 3px solid var(--color-accent);
    background: transparent;
    color: var(--color-white);
    outline: none;
    font-family: inherit;
}

.search-input-clean::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.search-input-clean:focus {
    border-bottom-color: var(--color-white);
}

/* Responsivo */
@media (max-width: 768px) {
    .search-input-clean {
        font-size: 1.2rem;
        padding: 1.2rem 1.5rem;
    }

    .close-search {
        font-size: 2.5rem;
        width: 40px;
        height: 40px;
        top: -45px;
    }
}

/* ===================================
   Navigation
   =================================== */
.main-navigation {
    background-color: var(--color-secondary);
}

.navigation-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--color-white);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

.main-navigation a:hover {
    background-color: rgba(0,0,0,0.1);
}

/* Live Indicator no Menu */
.menu-live-indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ff0000;
    border-radius: 50%;
    margin-right: 0.5rem;
    position: relative;
    animation: menu-live-pulse 2s ease-in-out infinite;
}

.menu-live-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: #ff0000;
    border-radius: 50%;
    animation: menu-live-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
    opacity: 0.75;
}

@keyframes menu-live-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

@keyframes menu-live-ping {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.75;
    }
    75%, 100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 2px solid var(--color-text);
    color: var(--color-text);
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 1rem;
}

/* ===================================
   Hero Section
   =================================== */
.hero-section {
    position: relative;
    background-color: var(--color-primary);
    color: var(--color-white);
    overflow: hidden;
    min-height: 400px;
}

/* Dark overlay for better text readability */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.5),
        rgba(0, 0, 0, 0.7)
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem 2rem;
    max-width: 800px;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    z-index: 0;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    color: var(--color-white);
    line-height: 1.2;
}

.hero-title a {
    color: var(--color-white);
}

.hero-title a:hover {
    color: var(--color-accent);
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

/* ===================================
   Content Grid
   =================================== */
.site-content {
    padding: 0 0 3rem 0;
}

.content-area {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    align-items: start;
}

.main-content {
    min-width: 0;
}

/* ===================================
   Posts Grid
   =================================== */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.post-card {
    background: var(--color-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.post-card:hover {
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
    transform: translateY(-8px);
}

.post-thumbnail {
    position: relative;
    padding-bottom: 60%;
    overflow: hidden;
    background-color: var(--color-bg-light);
}

.post-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.post-card:hover .post-thumbnail img {
    transform: scale(1.05);
}

.post-content-wrapper {
    padding: 0.7rem;
}

.post-meta {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.post-date {
    color: var(--color-secondary);
    font-weight: 500;
}

.post-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.post-title a {
    color: var(--color-primary);
}

.post-title a:hover {
    color: var(--color-secondary);
}

.post-excerpt {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.post-category {
    display: inline-block;
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* ===================================
   Sidebar
   =================================== */
.sidebar {
    position: sticky;
    top: 100px;
}

.widget {
    background: var(--color-bg);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--color-secondary);
    color: var(--color-primary);
}

.widget ul {
    list-style: none;
}

.widget li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
}

.widget li:last-child {
    border-bottom: none;
}

.widget a {
    color: var(--color-text);
    display: block;
}

.widget a:hover {
    color: var(--color-secondary);
    padding-left: 0.5rem;
}

/* ===================================
   Section Titles
   =================================== */
.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 4px solid var(--color-secondary);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--color-accent);
}

/* ===================================
   Articles Section
   =================================== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.article-card {
    background: var(--color-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.author-photo {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.article-info {
    padding: 1.5rem;
}

.article-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.article-category {
    font-size: 0.875rem;
    color: var(--color-text-light);
    font-style: italic;
}

/* ===================================
   Footer
   =================================== */
.site-footer {
    background-color: var(--color-bg-light);
    color: var(--color-text);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-widget h3 {
    color: var(--color-text);
    margin-bottom: 1rem;
}

.footer-widget a {
    color: var(--color-text-light);
    opacity: 0.9;
}

.footer-widget a:hover {
    color: var(--color-text);
    opacity: 1;
}

.site-info {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.875rem;
    color: var(--color-text-light);
    opacity: 0.8;
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--color-secondary);
    color: var(--color-white);
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary {
    background-color: var(--color-secondary);
}

.btn-secondary {
    background-color: var(--color-primary);
}

/* ===================================
   Forms
   =================================== */
input[type="text"],
input[type="email"],
input[type="search"],
textarea,
select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--color-border);
    border-radius: 4px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--color-secondary);
}

/* ===================================
   Utilities
   =================================== */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .content-area {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
    }

    .posts-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    /* Reorganizar header mobile: menu esquerda, logo centro, busca direita */
    .site-branding {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
    }

    .menu-toggle {
        display: block;
        order: 1;
        margin-right: auto;
    }

    .custom-logo-link,
    .site-brand-text {
        order: 2;
        margin: 0 auto;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .header-search {
        order: 3;
        margin-left: auto;
    }

    .main-navigation ul {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .main-navigation.toggled ul {
        display: flex;
    }

    .main-navigation a {
        padding: 0.75rem 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .posts-grid,
    .articles-grid {
        grid-template-columns: 1fr;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }

    .hero-content {
        padding: 2rem 1rem;
    }

    .post-content-wrapper {
        padding: 1rem;
    }
}

/* ===================================
   Accessibility
   =================================== */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: var(--color-gray-100);
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: var(--color-info);
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ===================================
   Print Styles
   =================================== */
@media print {
    .site-header,
    .main-navigation,
    .sidebar,
    .site-footer,
    .menu-toggle {
        display: none;
    }

    body {
        font-size: 12pt;
    }
}

/* ===================================
   Hero Card Style (Not Full Width)
   =================================== */
.hero-card {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.hero-card .hero-image {
    opacity: 0.7;
}

.hero-card .hero-content {
    padding: 3rem 2rem;
}

/* ===================================
   Horizontal Post Cards (Notícias)
   =================================== */
.noticias-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.post-card-horizontal {
    display: flex;
    gap: 1.5rem;
    background: var(--color-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    padding: 1rem;
}

.post-card-horizontal:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
    transform: translateX(5px);
}

.post-thumbnail-horizontal {
    flex-shrink: 0;
    width: 150px;
    height: 100px;
    border-radius: 6px;
    overflow: hidden;
}

.post-thumbnail-horizontal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card-horizontal:hover .post-thumbnail-horizontal img {
    transform: scale(1.1);
}

.post-content-horizontal {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.post-meta-inline {
    margin-bottom: 0.5rem;
}

.post-category-inline {
    display: inline-block;
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
}

.post-title-horizontal {
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.4;
}

.post-title-horizontal a {
    color: var(--color-primary);
    transition: color 0.3s ease;
}

.post-title-horizontal a:hover {
    color: var(--color-secondary);
}

.post-date-horizontal {
    font-size: 0.85rem;
    color: var(--color-text-light);
    font-weight: 500;
    margin-top: 0.5rem;
}

/* ===================================
   Entrevistas Cards Horizontal (Página Jurídico)
   =================================== */
.juridico-entrevistas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.juridico-entrevista-card {
    display: flex;
    gap: 1rem;
    background: var(--color-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    padding: 0.75rem;
    align-items: center;
}

.juridico-entrevista-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    transform: translateX(5px);
}

.entrevista-card-thumbnail {
    flex-shrink: 0;
    width: 150px;
    height: 85px;
    border-radius: 6px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-gray-200) 0%, var(--color-gray-300) 100%);
    position: relative;
}

.entrevista-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.juridico-entrevista-card:hover .entrevista-card-thumbnail img {
    transform: scale(1.05);
}

.entrevista-card-thumbnail-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-400);
}

.entrevista-card-thumbnail-placeholder svg,
.entrevista-card-thumbnail-placeholder .play-icon {
    width: 40px;
    height: 40px;
    fill: var(--color-gray-400);
    opacity: 0.7;
}

.entrevista-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.5rem;
    min-width: 0;
}

.entrevista-card-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    color: var(--color-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.entrevista-card-title a {
    color: var(--color-primary);
    transition: color 0.3s ease;
}

.juridico-entrevista-card:hover .entrevista-card-title a {
    color: var(--color-secondary);
}

.entrevista-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.entrevista-card-date {
    font-size: 0.875rem;
    color: var(--color-text-light);
    font-weight: 500;
}

.no-entrevistas {
    color: var(--color-text-light);
    font-style: italic;
    text-align: center;
    padding: 2rem 0;
}

/* Botão "Ver Mais" - Entrevistas */
.juridico-entrevistas-load-more-wrapper {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
}

.btn-ver-mais-entrevistas {
    background: var(--color-secondary);
    color: var(--color-white);
    border: none;
    padding: 0.875rem 2.5rem;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-ver-mais-entrevistas:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-ver-mais-entrevistas:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.btn-ver-mais-entrevistas[data-loading="true"] {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-ver-mais-entrevistas:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsividade - Entrevistas Horizontal */
@media (max-width: 1024px) {
    .juridico-entrevistas-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .juridico-entrevista-card {
        gap: 0.75rem;
        padding: 0.65rem;
    }

    .entrevista-card-thumbnail {
        width: 120px;
        height: 68px;
    }

    .entrevista-card-title {
        font-size: 0.95rem;
    }

    .entrevista-card-date {
        font-size: 0.8rem;
    }

    .juridico-entrevistas-load-more-wrapper {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .btn-ver-mais-entrevistas {
        width: 100%;
        max-width: 300px;
        padding: 0.75rem 2rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .juridico-entrevista-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .entrevista-card-thumbnail {
        width: 100%;
        height: 180px;
    }

    .entrevista-card-title {
        font-size: 0.9rem;
    }

    .btn-ver-mais-entrevistas {
        max-width: 100%;
        font-size: 0.9rem;
        padding: 0.7rem 1.5rem;
    }
}

/* ===================================
   Responsive Adjustments for New Layouts
   =================================== */
@media (max-width: 768px) {
    .hero-card .hero-content {
        padding: 2rem 1rem;
    }

    .post-card-horizontal {
        flex-direction: column;
        gap: 1rem;
    }

    .post-thumbnail-horizontal {
        width: 100%;
        height: 200px;
    }

    .entrevistas-list {
        padding-left: 1rem;
        font-size: 0.9rem;
    }

    .entrevista-title {
        font-size: 0.85rem;
    }

    .entrevista-date {
        font-size: 0.75rem;
    }
}

/* ===================================
   Página Assistir ao Programa - Estilo CNN
   =================================== */

/* Layout Principal - Grid 70/30 */
.assistir-page-cnn {
    display: grid;
    grid-template-columns: 70% 30%;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Coluna do Vídeo Principal */
.assistir-main-video {
    grid-column: 1;
}

.video-destaque-section {
    background: var(--color-bg);
    border-radius: 8px;
    overflow: hidden;
}

.video-preview-wrapper,
.video-player-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background: var(--color-black);
    overflow: hidden;
}

.video-preview-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-player-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 10;
}

.play-button-overlay:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-destaque-info {
    padding: 1.5rem;
}

.video-destaque-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.video-destaque-resumo {
    color: var(--color-text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.video-destaque-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.video-destaque-meta time {
    color: var(--color-text-light);
}

/* Sidebar Últimas Notícias */
.assistir-sidebar-noticias {
    grid-column: 2;
    background: var(--color-bg-light);
    border-radius: 8px;
    overflow: hidden;
    height: fit-content;
    max-height: calc(100vh - 150px);
    position: sticky;
    top: 100px;
}

.assistir-noticias-header {
    background: var(--color-secondary);
    padding: 1rem 1.5rem;
    border-bottom: 3px solid var(--color-secondary);
}

.noticias-title {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.noticias-icon {
    font-size: 1.3rem;
    font-weight: 400;
}

.assistir-noticias-list {
    overflow-y: auto;
    max-height: calc(100vh - 250px);
    background: var(--color-white);
}

/* Scrollbar personalizada */
.assistir-noticias-list::-webkit-scrollbar {
    width: 6px;
}

.assistir-noticias-list::-webkit-scrollbar-track {
    background: var(--color-gray-100);
}

.assistir-noticias-list::-webkit-scrollbar-thumb {
    background: var(--color-gray-400);
    border-radius: 3px;
}

.assistir-noticias-list::-webkit-scrollbar-thumb:hover {
    background: var(--color-gray-500);
}

/* Cards de Notícias */
.assistir-noticia-card {
    border-bottom: 1px solid var(--color-border);
    transition: background-color 0.2s ease;
}

.assistir-noticia-card:last-child {
    border-bottom: none;
}

.assistir-noticia-card:hover {
    background-color: var(--color-gray-50);
}

.noticia-card-link {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    text-decoration: none;
    color: inherit;
    align-items: flex-start;
}

.noticia-card-thumbnail {
    flex-shrink: 0;
    width: 100px;
    height: 75px;
    border-radius: 4px;
    overflow: hidden;
    background: var(--color-gray-200);
}

.noticia-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.assistir-noticia-card:hover .noticia-card-thumbnail img {
    transform: scale(1.05);
}

.noticia-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gray-200);
    color: var(--color-gray-400);
}

.noticia-placeholder .dashicons {
    font-size: 2rem;
}

.noticia-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.noticia-card-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    color: var(--color-text);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.assistir-noticia-card:hover .noticia-card-title {
    color: var(--color-accent);
}

.noticia-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
}

.noticia-badge {
    display: inline-block;
    background: var(--color-secondary);
    color: var(--color-white);
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.3px;
}

.noticia-date {
    color: var(--color-text-light);
}

/* Botão Ver Detalhes */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--color-secondary);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Responsividade */
@media screen and (max-width: 1024px) {
    .assistir-page-cnn {
        grid-template-columns: 65% 35%;
        gap: 1.5rem;
    }

    .video-destaque-title {
        font-size: 1.5rem;
    }

    .noticia-card-thumbnail {
        width: 80px;
        height: 60px;
    }

    .noticia-card-title {
        font-size: 0.9rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
}

@media screen and (max-width: 768px) {
    .assistir-page-cnn {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1rem;
    }

    .assistir-main-video {
        grid-column: 1;
    }

    .assistir-sidebar-noticias {
        grid-column: 1;
        position: static;
        max-height: 600px;
    }

    .assistir-noticias-list {
        max-height: 500px;
    }

    .video-destaque-title {
        font-size: 1.3rem;
    }

    .video-destaque-info {
        padding: 1rem;
    }

    .noticia-card-link {
        padding: 0.75rem;
    }

    .noticia-card-thumbnail {
        width: 90px;
        height: 68px;
    }
}

@media screen and (max-width: 480px) {
    .assistir-page-cnn {
        padding: 0.5rem;
        gap: 1rem;
    }

    .noticias-title {
        font-size: 1rem;
    }

    .noticia-card-thumbnail {
        width: 70px;
        height: 53px;
    }

    .noticia-card-title {
        font-size: 0.85rem;
    }

    .noticia-card-meta {
        font-size: 0.7rem;
    }

    .noticia-badge {
        font-size: 0.65rem;
        padding: 0.15rem 0.4rem;
    }

    .video-destaque-title {
        font-size: 1.1rem;
    }

    .video-destaque-resumo {
        font-size: 0.9rem;
    }
}

/* ===================================
   Seções de Vídeos Estilo CNN Money
   =================================== */

.assistir-secoes-container {
    max-width: 1400px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.assistir-secao-videos {
    margin-bottom: 3rem;
}

.secao-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--color-border);
}

.secao-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0;
}

.btn-ver-todos {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border: 2px solid var(--color-secondary);
    border-radius: 4px;
}

.btn-ver-todos:hover {
    background: var(--color-secondary);
    color: var(--color-white);
    transform: translateX(5px);
}

/* Carrossel de Vídeos */
.videos-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
}

/* Scrollbar personalizada para carrossel */
.videos-carousel::-webkit-scrollbar {
    height: 8px;
}

.videos-carousel::-webkit-scrollbar-track {
    background: var(--color-gray-100);
    border-radius: 4px;
}

.videos-carousel::-webkit-scrollbar-thumb {
    background: var(--color-secondary);
    border-radius: 4px;
}

.videos-carousel::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* Card de Vídeo */
.video-card {
    min-width: 280px;
    max-width: 320px;
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.video-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Thumbnail do Vídeo */
.video-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    background: var(--color-gray-200);
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.1);
}

.video-thumbnail-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-gray-200) 0%, var(--color-gray-300) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumbnail-placeholder::before {
    content: '▶';
    font-size: 3rem;
    color: var(--color-gray-400);
}

/* Badge do Vídeo */
.video-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 0.3rem 0.7rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-white);
    border-radius: 3px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Play Overlay */
.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 5;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.video-card:hover .play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.15);
}

.play-overlay::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: radial-gradient(circle, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    z-index: -1;
}

/* Título do Vídeo */
.video-card-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-text);
    margin: 0;
    padding: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.video-card:hover .video-card-title {
    color: var(--color-secondary);
}

/* Responsividade */
@media screen and (max-width: 1200px) {
    .videos-carousel {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }

    .video-card {
        min-width: 260px;
    }

    .secao-title {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    .assistir-secoes-container {
        margin: 2rem auto;
        padding: 0 0.75rem;
    }

    .assistir-secao-videos {
        margin-bottom: 2.5rem;
    }

    .secao-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .secao-title {
        font-size: 1.3rem;
    }

    .btn-ver-todos {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
        width: 100%;
        text-align: center;
    }

    .videos-carousel {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .video-card {
        min-width: 100%;
        max-width: 100%;
    }

    .video-card-title {
        font-size: 0.95rem;
        padding: 0.85rem;
    }
}

@media screen and (max-width: 480px) {
    .assistir-secao-videos {
        margin-bottom: 2rem;
    }

    .secao-title {
        font-size: 1.1rem;
    }

    .btn-ver-todos {
        font-size: 0.8rem;
    }

    .video-badge {
        font-size: 0.6rem;
        padding: 0.25rem 0.5rem;
    }

    .play-overlay svg {
        width: 40px;
        height: 40px;
    }

    .video-card-title {
        font-size: 0.9rem;
    }
}

/* ===================================
   Botão "Ver Mais" - Página Jurídico
   =================================== */

.juridico-load-more-wrapper {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
}

.btn-ver-mais-noticias {
    background: var(--color-secondary);
    color: var(--color-white);
    border: none;
    padding: 0.875rem 2.5rem;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-ver-mais-noticias:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-ver-mais-noticias:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.btn-ver-mais-noticias[data-loading="true"] {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-ver-mais-noticias:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-loading {
    display: inline-block;
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
}

/* Responsividade */
@media screen and (max-width: 768px) {
    .juridico-load-more-wrapper {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .btn-ver-mais-noticias {
        width: 100%;
        max-width: 300px;
        padding: 0.75rem 2rem;
        font-size: 0.95rem;
    }
}

@media screen and (max-width: 480px) {
    .btn-ver-mais-noticias {
        max-width: 100%;
        font-size: 0.9rem;
        padding: 0.7rem 1.5rem;
    }
}
