/* ==========================================================================
   O LEGADO - PORTAL DE NOTÍCIAS DE ANGOLA
   Estilos Globais, Componentes e Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,400&display=swap');

:root {
    --primary: #0D1F4E;
    --primary-hover: #091638;
    --primary-light: rgba(13, 31, 78, 0.1);
    --secondary: #C9A84C;
    --secondary-hover: #a88836;
    --secondary-light: rgba(201, 168, 76, 0.15);
    --accent: #1a3a7a;

    /* Light Theme Tokens */
    --bg-body: #F8FAFC;
    --bg-card: #FFFFFF;
    --bg-header: #FFFFFF;
    --bg-footer: #070F26;
    --bg-ticker: #0D1F4E;
    --text-main: #0F172A;
    --text-muted: #64748B;
    --text-light: #94A3B8;
    --text-footer: #E2E8F0;
    --border-color: #E2E8F0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -1px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --gold-glow: 0 0 20px rgba(201, 168, 76, 0.35);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --primary: #C9A84C;
    --primary-hover: #E5C158;
    --primary-light: rgba(201, 168, 76, 0.15);
    --accent: #D4AF37;
    --bg-body: #080F24;
    --bg-card: #0F1D3D;
    --bg-header: #0D1F4E;
    --bg-footer: #040A17;
    --bg-ticker: #06112B;
    --text-main: #F1F5F9;
    --text-muted: #94A3B8;
    --text-light: #64748B;
    --border-color: #1e3068;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.5);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.6);
}

/* Header Logo White Filter */
.site-header .brand-logo-img,
.site-header .brand-logo img,
[data-theme="dark"] .brand-logo-img,
[data-theme="dark"] .brand-logo img {
    filter: brightness(0) invert(1) !important;
}

[data-theme="dark"] .ticker-label {
    background-color: #C9A84C;
    color: #040A17;
}

[data-theme="dark"] .video-header-badge {
    background-color: #C9A84C;
    color: #040A17;
}

[data-theme="dark"] .category-badge,
[data-theme="dark"] .nav-link.active,
[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .blue-text,
[data-theme="dark"] .text-blue,
[data-theme="dark"] .popular-num,
[data-theme="dark"] .dual-title-fama,
[data-theme="dark"] .dual-title-fama:hover {
    color: #C9A84C !important;
}

[data-theme="dark"] .ribbon-purple,
[data-theme="dark"] .ribbon-blue,
.ribbon-purple,
.ribbon-blue {
    color: #FFFFFF !important;
}

[data-theme="dark"] .nav-link.active {
    border-bottom-color: #C9A84C;
}

[data-theme="dark"] .btn-submit {
    background-color: #C9A84C;
    color: #0D1F4E;
    font-weight: 700;
}

[data-theme="dark"] .btn-submit:hover {
    background-color: #E5C158;
}

/* Base Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Utility Bar & Breaking News Ticker */
.top-bar {
    background-color: var(--bg-ticker);
    color: #FFFFFF;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.date-badge {
    color: #94A3B8;
    font-weight: 500;
}

.ticker-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-label {
    background-color: var(--primary);
    color: #FFFFFF;
    padding: 2px 10px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.ticker-content {
    display: flex;
    gap: 30px;
    animation: marquee 25s linear infinite;
}

.ticker-item {
    color: #E2E8F0;
    font-weight: 400;
}

.ticker-item:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Header & Brand Logo */
.site-header {
    background-color: var(--bg-header);
    border-bottom: 2px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo-img {
    height: 52px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(13, 31, 78, 0.25));
    transition: var(--transition);
}

.brand-logo:hover .brand-logo-img {
    filter: drop-shadow(0 4px 16px rgba(201, 168, 76, 0.4));
    transform: scale(1.02);
}

/* Keep for footer fallback */
.brand-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #FFFFFF;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 10px rgba(13, 31, 78, 0.4);
}

.brand-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-main);
    line-height: 1;
}

.brand-title span {
    color: var(--secondary);
}

.brand-tagline {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* Main Navigation Menu */
.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;
    list-style: none;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background-color: var(--primary-light);
}

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

.action-btn {
    background: transparent;
    border: 1.5px solid var(--border-color);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0;
    line-height: 0;
}

.action-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: var(--transition);
}

.action-btn:hover {
    background-color: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(13,31,78,0.3);
}

/* Hero Highlight Section */
.hero-section {
    padding: 30px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}

.hero-main-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 460px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: flex-end;
}

.hero-main-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-main-card:hover img {
    transform: scale(1.04);
}

.hero-overlay {
    position: relative;
    z-index: 2;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.6) 60%, rgba(0,0,0,0) 100%);
    padding: 35px;
    color: #FFFFFF;
    width: 100%;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--primary);
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.badge-outline {
    background-color: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
}

.hero-summary {
    font-size: 1rem;
    color: #E2E8F0;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.meta-info {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    color: #94A3B8;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Side Highlights Column */
.hero-side-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.side-card {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 14px;
    background-color: var(--bg-card);
    padding: 12px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.side-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.side-card-img {
    width: 100px;
    height: 90px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.side-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.side-card-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Section Title Styling */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 70px;
    height: 2px;
    background-color: var(--primary);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-main);
}

/* DUAL CATEGORY SECTIONS (FAMA & TECNOLOGIA - AngoRussia Style) */
.dual-category-section {
    padding: 35px 0;
    margin-bottom: 20px;
}

.dual-section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Header Ribbon Badge Styling */
.category-header-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 30px;
}

.category-header-wrap::before {
    content: '';
    position: absolute;
    inset: 50% 0 auto 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--border-color) 20%, var(--border-color) 80%, transparent 100%);
    z-index: 1;
}

.category-ribbon-badge {
    position: relative;
    z-index: 2;
    padding: 8px 32px;
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #FFFFFF;
    box-shadow: var(--shadow-md);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    clip-path: polygon(15px 0%, calc(100% - 15px) 0%, 100% 50%, calc(100% - 15px) 100%, 15px 100%, 0% 50%);
}

.ribbon-purple {
    background: linear-gradient(135deg, #0D1F4E, #1a3a7a);
}

.ribbon-gold {
    background: linear-gradient(135deg, #C9A84C, #a88836);
    color: #0D1F4E;
}

.ribbon-blue {
    background: linear-gradient(135deg, #0D1F4E, #1e3a8a);
}

/* Horizontal News Item */
.dual-card-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
    padding-bottom: 18px;
    border-bottom: 1px dashed var(--border-color);
    transition: var(--transition);
}

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

.dual-card-thumb {
    width: 150px;
    height: 105px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.dual-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.dual-card-item:hover .dual-card-thumb img {
    transform: scale(1.08);
}

.dual-card-content {
    flex: 1;
}

.dual-title-fama {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dual-title-fama:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.dual-title-tech {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--secondary);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dual-title-tech:hover {
    color: var(--primary);
    text-decoration: underline;
}

.dual-card-summary {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Main Layout Grid (Content + Sidebar) */
.main-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
    padding: 20px 0 50px 0;
}

.main-content-column {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Articles Cards Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.news-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.news-card-thumb {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.news-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.news-card:hover .news-card-thumb img {
    transform: scale(1.06);
}

.news-card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 8px 0 10px 0;
    color: var(--text-main);
}

.news-card-summary {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.news-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-light);
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
    margin-top: auto;
}

/* Sidebar Widgets */
.sidebar-widget {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary);
}

.popular-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.popular-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.popular-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    opacity: 0.6;
}

.popular-title {
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-main);
}

.popular-title:hover {
    color: var(--primary);
}

/* Article Detail Page */
.article-header {
    margin-bottom: 24px;
}

.article-category {
    margin-bottom: 12px;
}

.article-main-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text-main);
}

.article-lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 20px;
}

.article-author-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 25px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.article-featured-image {
    width: 100%;
    max-height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
}

.article-body-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-main);
}

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

/* Inline image blocks inside article body */
.article-body-content figure.article-block-image {
    margin: 30px 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.article-body-content figure.article-block-image img {
    display: block;
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
}

.article-body-content figure.article-block-image figcaption {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 8px;
    font-style: italic;
    padding: 0 10px 10px;
}


/* Comments Section */
.comments-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.comment-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
}

.comment-author {
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}

.comment-date {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background-color: var(--bg-card);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    margin-top: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.95rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.btn-submit {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-hover));
    color: var(--primary);
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    align-self: flex-start;
    letter-spacing: 0.5px;
}

.btn-submit:hover {
    background: linear-gradient(135deg, var(--secondary-hover), #8a6e2a);
    box-shadow: var(--gold-glow);
    transform: translateY(-1px);
}

/* Footer */
.site-footer {
    background-color: var(--bg-footer);
    color: var(--text-footer);
    padding: 50px 0 20px 0;
    margin-top: 60px;
}

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

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #94A3B8;
}

.footer-links a:hover {
    color: #FFFFFF;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    color: #64748B;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .dual-section-grid {
        grid-template-columns: 1fr;
    }
    .main-layout {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    .article-main-title {
        font-size: 1.8rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   ÚLTIMOS VÍDEOS SECTION STYLES
   ========================================================================== */
.videos-section {
    margin-top: 40px;
    margin-bottom: 40px;
}

.video-header-badge-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.video-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #F97316, #EA580C);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 8px 24px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
}

.main-video-card {
    background: #000000;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
    margin-bottom: 16px;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--border-color);
}

.main-video-card iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Video Carousel Slider */
.video-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
}

.video-carousel-viewport {
    overflow: hidden;
    width: 100%;
    border-radius: var(--radius-sm);
}

.video-carousel-track {
    display: flex;
    gap: 16px;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.video-carousel-track .secondary-video-card {
    flex: 0 0 calc((100% - 32px) / 3);
    min-width: calc((100% - 32px) / 3);
    margin: 0;
}

@media (max-width: 768px) {
    .video-carousel-track .secondary-video-card {
        flex: 0 0 calc((100% - 16px) / 2);
        min-width: calc((100% - 16px) / 2);
    }
}

@media (max-width: 480px) {
    .video-carousel-track .secondary-video-card {
        flex: 0 0 100%;
        min-width: 100%;
    }
}

.video-carousel-arrow {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    z-index: 10;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.video-carousel-arrow:hover {
    background: #F97316;
    color: #FFFFFF;
    border-color: #F97316;
    transform: scale(1.1);
}

.video-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
}

.video-carousel-dots .vdot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-carousel-dots .vdot.active {
    background: #F97316;
    width: 20px;
    border-radius: 10px;
}

.secondary-videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.secondary-video-card {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    background-color: #000000;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.secondary-video-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: #F97316;
}

.secondary-video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.secondary-video-card:hover img {
    opacity: 1;
    transform: scale(1.04);
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.9);
    color: #1E293B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
    z-index: 2;
}

.secondary-video-card:hover .video-play-btn {
    background: #FF0000;
    color: #FFFFFF;
    transform: translate(-50%, -50%) scale(1.15);
}

.secondary-video-title-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 20px 10px 8px 10px;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 0.78rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

@media (max-width: 600px) {
    .secondary-videos-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   TOP ADVERTISING BANNER SLIDER STYLES
   ========================================================================== */
.top-ad-slider-container {
    width: 100%;
    background-color: var(--bg-body);
    padding: 12px 0 6px 0;
    border-bottom: 1px solid var(--border-color);
}

.ad-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    background: #000000;
}

.ad-slide-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.ad-slide-item {
    min-width: 100%;
    position: relative;
    display: block;
}

.ad-slide-item img {
    width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-md);
}

.ad-label-badge {
    position: absolute;
    top: 8px;
    right: 12px;
    background: rgba(0, 0, 0, 0.65);
    color: #FFFFFF;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
    pointer-events: none;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.2);
}

.ad-slider-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
}

.ad-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.ad-dot.active {
    background: #FFFFFF;
    width: 22px;
    border-radius: 10px;
}

.ad-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.5);
    color: #FFFFFF;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
}

.ad-slider-wrapper:hover .ad-slider-arrow {
    opacity: 1;
}

.ad-slider-arrow.prev { left: 10px; }
.ad-slider-arrow.next { right: 10px; }

/* ==========================================================================
   ESTILO DE VIDA SECTION STYLES
   ========================================================================== */
.lifestyle-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 10px;
}

.lifestyle-badge {
    background: linear-gradient(135deg, #F97316, #EA580C);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 1rem;
    padding: 6px 18px;
    border-radius: var(--radius-sm);
    text-transform: capitalize;
}

.lifestyle-tabs {
    display: flex;
    list-style: none;
    gap: 16px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.lifestyle-tabs a {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
}

.lifestyle-tabs a:hover,
.lifestyle-tabs a.active {
    color: #F97316;
}

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

.lifestyle-card {
    display: flex;
    flex-direction: column;
    background-color: var(--bg-card);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
}

.lifestyle-card:hover {
    transform: translateY(-2px);
}

.lifestyle-card-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.lifestyle-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.lifestyle-card:hover .lifestyle-card-thumb img {
    transform: scale(1.04);
}

.lifestyle-card-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: #000000;
    color: #FFFFFF;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 3px;
    text-transform: uppercase;
}

.lifestyle-card-body {
    padding-top: 12px;
}

.lifestyle-card-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-main);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lifestyle-card-title a {
    color: var(--text-main);
    transition: color 0.2s ease;
}

.lifestyle-card-title a:hover {
    color: #F97316;
}

.lifestyle-card-summary {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   SIDEBAR CONNECTA-SE SOCIAL WIDGET STYLES
   ========================================================================== */
.social-connect-widget {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.social-connect-header {
    background: linear-gradient(135deg, #F97316, #EA580C);
    color: #FFFFFF;
    text-align: center;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    padding: 10px 15px;
    text-transform: uppercase;
}

.social-connect-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 16px;
}

.social-connect-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    color: var(--text-main);
    background: var(--bg-body);
    transition: var(--transition);
    text-decoration: none;
}

.social-connect-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: #F97316;
}

.social-connect-btn .icon-box {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    flex-shrink: 0;
}

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



