/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-black: #000000;
    --color-white: #ffffff;
    --color-gray-light: #f5f5f5;
    --color-gray: #666666;
    --color-gray-dark: #333333;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --spacing-xxl: 8rem;
}

/* Modo Noite */
[data-theme="dark"] {
    --color-black: #ffffff;
    --color-white: #1a1a1a;
    --color-gray-light: #2a2a2a;
    --color-gray: #999999;
    --color-gray-dark: #cccccc;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-black);
    background-color: var(--color-white);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

/* Container para páginas de artigo - 100% width sem limitações */
.article-page .container {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.article-page .article-navigation,
.article-page .article-comments {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

.article-page .single-post {
    width: 100%;
    padding: 0;
}

/* Ajustar padding da navegação e comentários */
@media (max-width: 768px) {
    .article-page .article-navigation,
    .article-page .article-comments {
        padding: 0 1.5rem;
    }
}

/* Header - Minimalista */
.site-header {
    background: var(--color-white);
    padding: 2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

[data-theme="dark"] .site-header {
    background: rgba(26, 26, 26, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.site-branding {
    flex: 1;
}

/* Logos personalizados para light/dark mode */
.custom-logo-link {
    display: inline-block;
    line-height: 0;
}

.custom-logo {
    max-height: 60px;
    width: auto;
    height: auto;
    display: block;
}

/* Quando ambos os logos (light + dark) estão definidos */
.logo-light {
    display: block;
}

.logo-dark {
    display: none;
}

[data-theme="dark"] .logo-light {
    display: none;
}

[data-theme="dark"] .logo-dark {
    display: block;
}

/* Logo padrão do WordPress (the_custom_logo) - sempre visível */
.custom-logo-link img.custom-logo:not(.logo-light):not(.logo-dark) {
    display: block;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.2;
}

.site-title a {
    text-decoration: none;
    color: var(--color-black);
    transition: opacity 0.3s ease;
}

.site-title a:hover {
    opacity: 0.7;
}

.site-description {
    font-size: 0.875rem;
    color: var(--color-gray);
    margin: 0.25rem 0 0 0;
    font-weight: 300;
}

/* Navigation - Minimalista */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 3rem;
    align-items: center;
    margin: 0;
    padding: 0;
    flex: 1;
}

.header-icons-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
}

.user-info-wrapper {
    position: relative;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-direction: row;
}

.user-name {
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--color-black);
    text-transform: none;
    letter-spacing: 0;
    order: 1;
}

.account-toggle {
    order: 2;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    padding: 0.5rem 0;
    display: none;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.user-dropdown.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

[data-theme="dark"] .user-dropdown {
    background: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--color-black);
    font-size: 0.9375rem;
    font-weight: 400;
    transition: background-color 0.3s ease;
}

.user-dropdown-item:hover {
    background-color: var(--color-gray-light);
}

.dropdown-icon {
    font-size: 1rem;
    width: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.account-toggle {
    background: none;
    border: 2px solid var(--color-black);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.account-toggle:hover {
    opacity: 0.7;
    transform: scale(1.05);
}

/* WooCommerce Header Icons */
.woocommerce-header-icons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cart-icon-link,
.account-icon-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 2px solid var(--color-black);
    border-radius: 50%;
    text-decoration: none;
    color: var(--color-black);
    transition: all 0.3s ease;
    background: transparent;
}

.cart-icon-link:hover,
.account-icon-link:hover {
    opacity: 0.7;
    transform: scale(1.05);
}

.cart-icon,
.account-icon {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--color-black);
    color: var(--color-white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
}

[data-theme="dark"] .cart-icon-link,
[data-theme="dark"] .account-icon-link {
    border-color: var(--color-black);
}

[data-theme="dark"] .cart-count {
    background: var(--color-white);
    color: var(--color-black);
}


.main-navigation a {
    text-decoration: none;
    color: var(--color-black);
    font-weight: 400;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
    position: relative;
}

.main-navigation a:hover {
    opacity: 0.6;
}

/* Mega Menu de Categorias */
.categories-mega-menu-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-left: 34px;
}

.categories-mega-item-wrapper {
    position: relative;
}

.categories-mega-toggle {
    background: none;
    border: none;
    color: var(--color-black);
    font-weight: 400;
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    font-family: inherit;
}

.categories-mega-toggle:hover {
    opacity: 0.6;
}

.dropdown-arrow {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
}

.categories-mega-menu-wrapper.active .dropdown-arrow {
    transform: rotate(180deg);
}

/* Modal Overlay */
.categories-mega-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.categories-mega-overlay.active {
    display: block;
    opacity: 1;
}

.categories-mega-menu {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    min-width: 600px;
    max-width: 900px;
    max-height: 80vh;
    padding: var(--spacing-xl);
    display: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    overflow-y: auto;
    margin: 0;
}

.categories-mega-item-wrapper .categories-mega-menu {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    margin: 0;
}

.categories-mega-menu.active {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    top: 340px !important;
    left: 50% !important;
}

[data-theme="dark"] .categories-mega-menu {
    background: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}


.categories-mega-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-black);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;
    padding: 0;
}

.categories-mega-close:hover {
    opacity: 0.6;
    transform: rotate(90deg);
}

.categories-mega-close svg {
    width: 24px;
    height: 24px;
}

.categories-mega-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    padding-top: 1rem;
}

.categories-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.category-mega-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0.75rem 1rem;
    text-decoration: none;
    color: var(--color-black);
    font-size: 0.9375rem;
    font-weight: 400;
    border-radius: 6px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.category-mega-item:hover {
    background-color: var(--color-gray-light);
    color: var(--color-black);
}

.category-name {
    flex: 1;
}


/* Botão Modo Noite */
.dark-mode-toggle {
    background: none;
    border: 2px solid var(--color-black);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dark-mode-toggle:hover {
    opacity: 0.7;
    transform: scale(1.05);
}

.dark-mode-toggle .dark-mode-icon,
.dark-mode-toggle .light-mode-icon {
    position: absolute;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dark-mode-toggle .dark-mode-icon {
    opacity: 1;
    transform: rotate(0deg);
}

.dark-mode-toggle .light-mode-icon {
    opacity: 0;
    transform: rotate(180deg);
}

[data-theme="dark"] .dark-mode-toggle {
    border-color: var(--color-black);
}

[data-theme="dark"] .dark-mode-toggle .dark-mode-icon {
    opacity: 0;
    transform: rotate(-180deg);
}

[data-theme="dark"] .dark-mode-toggle .light-mode-icon {
    opacity: 1;
    transform: rotate(0deg);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--color-black);
}

/* Hero Section - Inspirado no site */
.page-header {
    padding: var(--spacing-xxl) 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: var(--spacing-xl);
}

[data-theme="dark"] .page-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-header-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-xxl);
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}

.page-header-title-section {
    display: flex;
    flex-direction: column;
}

.page-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0;
    color: #000000 !important;
    text-transform: none;
}

[data-theme="dark"] .page-title {
    color: #ffffff !important;
}

[data-theme="dark"] .page-title *:not(.highlight-innovation) {
    color: #ffffff !important;
}

.highlight-innovation {
    background: #8b5cf6;
    color: #ffffff !important;
    padding: 0.15em 0.4em;
    border-radius: 6px;
    display: inline-block;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
    transition: transform 0.15s ease-out;
    transform-origin: center center;
    position: relative;
    white-space: nowrap;
}

[data-theme="dark"] .highlight-innovation {
    background: #7c3aed;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.4);
}

.page-header-description-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: var(--spacing-sm);
}

.archive-description {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: rgba(0, 0, 0, 0.7);
    margin: 0;
    font-weight: 400;
    line-height: 1.6;
}

[data-theme="dark"] .archive-description {
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive para page-header */
@media (max-width: 1024px) {
    .page-header-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .page-header-description-section {
        padding-top: 0;
    }
}

/* Content */
.site-content {
    min-height: calc(100vh - 200px);
}

.site-main {
    padding: 0;
    min-height: 60vh;
}

/* Página de artigo - sem padding para imagem tocar na navbar */
.article-page {
    padding: 0;
}

/* Posts Container - Layout moderno */
.posts-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: var(--spacing-xl);
}

/* Post Card - Design minimalista (apenas para listagens) */
.posts-container .post {
    background: var(--color-white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: row;
    gap: 0;
    align-items: stretch;
    border-radius: 50px;
    overflow: hidden;
    margin-top: 35px;
    margin-bottom: 35px;
}

[data-theme="dark"] .posts-container .post {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.posts-container .post:hover {
    background-color: var(--color-gray-light);
}

.posts-container .post:last-child {
    border-bottom: none;
}

.posts-container .post-thumbnail-wrapper {
    flex: 0 0 33.333%;
    max-width: 33.333%;
    height: 100%;
    overflow: hidden;
    background: var(--color-gray-light);
}

.posts-container .post-thumbnail {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.post-thumbnail-placeholder {
    background: #f5f5f5;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

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

.posts-container .post:hover .post-thumbnail img {
    transform: scale(1.05);
}

.posts-container .post-content {
    flex: 1;
    padding: var(--spacing-xl);
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-meta {
    color: var(--color-gray);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-sm);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.post-meta span {
    margin-right: 1.5rem;
}

.post-title {
    font-size: clamp(1.125rem, 2.5vw, 1.75rem);
    font-weight: 300;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.post-title a {
    text-decoration: none;
    color: var(--color-black);
    transition: opacity 0.3s ease;
}

.post-title a:hover {
    opacity: 0.6;
}

.post-lock-icon {
    display: inline-block;
    margin-left: 0.5rem;
    font-size: 0.875em;
    vertical-align: middle;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.post-title a:hover .post-lock-icon {
    opacity: 1;
}

.entry-summary {
    margin-bottom: var(--spacing-md);
    color: var(--color-gray-dark);
    font-size: 1.125rem;
    line-height: 1.7;
    font-weight: 300;
}

/* Badge de Categoria */
.post-categories {
    margin-bottom: var(--spacing-md);
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.category-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #000000;
    color: #ffffff;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: opacity 0.3s ease, background-color 0.3s ease;
    border: none;
}

[data-theme="dark"] .category-badge {
    background: #ffffff;
    color: #000000;
}

.read-more {
    display: inline-block;
    color: var(--color-black);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: opacity 0.3s ease;
    position: relative;
    padding-bottom: 0.25rem;
}

.read-more::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.read-more:hover {
    opacity: 0.6;
}

.read-more:hover::after {
    transform: translateX(5px);
}

/* Single Post - Design idêntico ao site de referência */
.single-post {
    background: var(--color-white);
    padding: 0;
    margin-bottom: var(--spacing-xl);
    width: 100%;
    max-width: 100%;
    display: block !important;
    grid-template-columns: none !important;
}

/* Remover grid da classe .post quando está em artigos individuais */
.single-post.post,
.article-page .post,
article.post.single-post {
    display: block !important;
    grid-template-columns: none !important;
    gap: 0 !important;
}

/* Article Meta */
.article-meta {
    display: none;
}

.article-date {
    color: var(--color-black);
}

.article-author {
    color: var(--color-gray);
}

/* Article Title - quando não há imagem */
.article-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--color-black);
    margin: 0 0 var(--spacing-xl) 0;
    padding: 0;
}

[data-theme="dark"] .article-title {
    color: #ffffff !important;
}

/* Featured Image Wrapper - para título sobreposto */
.article-featured-image-wrapper {
    position: relative;
    width: 100%;
    margin: 0 0 var(--spacing-xxl) 0;
    overflow: hidden;
    margin-top: 0;
}

/* Article Meta Bar - barra em baixo da imagem */
.article-meta-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(139, 92, 246, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 5;
    overflow: visible;
}

[data-theme="dark"] .article-meta-bar {
    background: rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .article-meta-bar .article-date,
[data-theme="dark"] .article-meta-bar .article-author {
    color: #ffffff;
}

.article-meta-bar .article-date {
    color: var(--color-white);
}

.article-meta-bar .article-author {
    color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 768px) {
    .article-meta-bar {
        padding: var(--spacing-sm) var(--spacing-xl);
        font-size: 0.9375rem;
    }
}

@media (min-width: 1200px) {
    .article-meta-bar {
        padding: var(--spacing-sm) var(--spacing-xxl);
    }
}

.article-featured-image {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.article-featured-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35); /* valor padrão, substituído pelo backoffice */
    pointer-events: none;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Article Title Overlay - título sobre a imagem */
.article-title-overlay {
    position: absolute;
    bottom: 3.5rem;
    left: 0;
    right: 0;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #ffffff !important;
    margin: 0;
    padding: 0 var(--spacing-lg);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7), 0 1px 3px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

@media (min-width: 768px) {
    .article-title-overlay {
        padding: 0 var(--spacing-xl);
        bottom: 4rem;
    }
}

@media (min-width: 1200px) {
    .article-title-overlay {
        padding: 0 var(--spacing-xxl);
        bottom: 4.5rem;
    }
}

/* Article Content - Ocupa quase toda a largura */
.article-content {
    line-height: 1.9;
    font-size: 1.125rem;
    font-weight: 300;
    color: var(--color-gray-dark);
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .article-content {
        padding: 0 var(--spacing-xl);
    }
}

@media (min-width: 1200px) {
    .article-content {
        padding: 0 var(--spacing-xxl);
    }
}

@media (min-width: 1400px) {
    .article-content {
        padding: 0 calc(var(--spacing-xxl) * 2);
    }
}

.article-content p {
    margin-bottom: var(--spacing-lg);
}

.article-content p:first-of-type {
    margin-top: 0;
}

.article-content p:last-of-type {
    margin-bottom: 0;
}

/* Headings no conteúdo */
.article-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-black);
    margin: var(--spacing-xxl) 0 var(--spacing-lg);
    padding-top: var(--spacing-lg);
}

.article-content h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--color-black);
    margin: var(--spacing-xl) 0 var(--spacing-md);
}

.article-content h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 400;
    line-height: 1.4;
    color: var(--color-black);
    margin: var(--spacing-lg) 0 var(--spacing-md);
}

/* Listas */
.article-content ul,
.article-content ol {
    margin: var(--spacing-lg) 0;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
}

.article-content ul li {
    list-style-type: disc;
}

.article-content ol li {
    list-style-type: decimal;
}

/* Links no conteúdo */
.article-content a {
    color: var(--color-black);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: opacity 0.3s ease;
}

.article-content a:hover {
    opacity: 0.6;
}

/* Imagens no conteúdo */
.article-content img {
    max-width: 100%;
    height: auto;
    margin: var(--spacing-xxl) 0;
    display: block;
}

/* Espaçamento entre seções */
.article-content > * + * {
    margin-top: var(--spacing-md);
}

/* Espaçamento especial após headings */
.article-content h2 + p,
.article-content h3 + p,
.article-content h4 + p {
    margin-top: var(--spacing-md);
}

/* Article Footer */
.article-footer {
    margin-top: var(--spacing-xxl);
    padding: var(--spacing-lg) 0 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.article-tags {
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--color-gray);
}

.article-tags a {
    color: var(--color-black);
    text-decoration: none;
    margin-right: var(--spacing-sm);
    transition: opacity 0.3s ease;
    display: inline-block;
}

.article-tags a:hover {
    opacity: 0.6;
}

/* Espaçamento vertical especial (zero-width space para criar espaçamento visual) */
.article-content .zero-width-space {
    display: block;
    height: var(--spacing-xl);
    content: '';
}

/* Premium Content */
.premium-content-restriction {
    background: var(--color-black);
    color: var(--color-white);
    padding: var(--spacing-xl);
    text-align: center;
    margin: var(--spacing-xl) 0;
}

.premium-content-restriction h3 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
    font-weight: 300;
    letter-spacing: -0.02em;
}

.premium-content-restriction p {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
    font-weight: 300;
}

.premium-button {
    display: inline-block;
    background: var(--color-white);
    color: var(--color-black);
    padding: 1rem 2.5rem;
    text-decoration: none;
    margin-top: var(--spacing-md);
    font-weight: 400;
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    border: 1px solid var(--color-white);
    border-radius: 0.75rem;
}

.premium-button:hover {
    background: transparent;
    color: var(--color-white);
}

/* Sidebar */
.sidebar {
    margin-top: var(--spacing-xl);
}

.widget {
    background: var(--color-white);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--color-black);
}

/* Footer - Minimalista */
.site-footer {
    background: var(--color-white);
    color: var(--color-gray-dark);
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

[data-theme="dark"] .site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.footer-column .widget {
    background: transparent;
    border: none;
    padding: 0;
}

.footer-column .widget-title {
    color: var(--color-black);
    font-weight: 400;
}

.footer-column .widget a {
    color: var(--color-gray);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 300;
}

.footer-column .widget a:hover {
    color: var(--color-black);
}

.site-info {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--color-gray);
    font-size: 0.875rem;
    font-weight: 300;
}

/* Pagination - Minimalista */
.pagination {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: var(--spacing-xl) 0;
    padding: var(--spacing-lg) 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.pagination .page-numbers {
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--color-black);
    transition: all 0.3s ease;
    font-weight: 300;
    font-size: 0.9375rem;
}

[data-theme="dark"] .pagination .page-numbers {
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--color-black);
    color: var(--color-white);
    border-color: var(--color-black);
}

/* Search Form */
.search-form {
    display: flex;
    gap: 0.5rem;
    margin: var(--spacing-md) 0;
    max-width: 500px;
}

.search-field {
    flex: 1;
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 1rem;
    font-weight: 300;
    background: var(--color-white);
    color: var(--color-black);
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

[data-theme="dark"] .search-field {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: var(--color-white);
}

.search-field:focus {
    outline: none;
    border-color: var(--color-black);
}

.search-submit {
    padding: 1rem 2rem;
    background: var(--color-black);
    color: var(--color-white);
    border: 1px solid var(--color-black);
    cursor: pointer;
    font-weight: 400;
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.search-submit:hover {
    background: transparent;
    color: var(--color-black);
}

/* Mega Menu de Pesquisa */
.search-mega-menu-wrapper {
    position: relative;
    margin: var(--spacing-lg) 0 var(--spacing-xl);
    width: 100%;
}

.mega-search-form {
    max-width: 100%;
    margin: 0;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--color-white);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 80px;
    overflow: hidden;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    width: 100%;
}

[data-theme="dark"] .search-input-wrapper {
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.search-input-wrapper:focus-within {
    border-color: var(--color-black);
}

.mega-search-field {
    flex: 1;
    padding: 1.25rem 1.5rem;
    border: none;
    font-size: 1rem;
    font-weight: 300;
    background: transparent;
    color: var(--color-black);
    outline: none;
}

.mega-search-field::placeholder {
    color: var(--color-gray);
}

.search-submit {
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.search-submit:hover {
    background: transparent;
    opacity: 0.7;
}

.search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.search-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.search-icon svg .search-icon-circle {
    stroke: #000000;
    fill: none;
}

.search-icon svg .search-icon-path {
    fill: #000000;
    stroke: none;
}

[data-theme="dark"] .search-icon svg .search-icon-circle {
    stroke: #ffffff;
    fill: none;
}

[data-theme="dark"] .search-icon svg .search-icon-path {
    fill: #ffffff;
    stroke: none;
}

/* Resultados do Mega Menu */
.search-results-mega {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-height: 600px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    margin-top: -2px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

[data-theme="dark"] .search-results-mega {
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.search-results-mega.active {
    display: block;
}

.search-results-header {
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--color-gray-light);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--color-gray-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

[data-theme="dark"] .search-results-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
}

.search-results-list {
    max-height: 500px;
    overflow-y: auto;
}

.search-result-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    text-decoration: none;
    color: var(--color-black);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease;
}

.search-result-item:hover {
    background-color: var(--color-gray-light);
}

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

.search-result-thumbnail {
    flex: 0 0 80px;
    width: 80px;
    height: 60px;
    overflow: hidden;
    border-radius: 4px;
    background: var(--color-gray-light);
}

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

.search-result-placeholder {
    background: var(--color-gray-light);
}

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

.search-result-date {
    font-size: 0.75rem;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
    font-weight: 300;
}

.search-result-title {
    font-size: 1rem;
    font-weight: 400;
    margin: 0 0 0.5rem 0;
    color: var(--color-black);
    line-height: 1.3;
}

.search-result-excerpt {
    font-size: 0.875rem;
    color: var(--color-gray-dark);
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-no-results {
    padding: var(--spacing-xl);
    text-align: center;
    color: var(--color-gray);
    font-size: 0.9375rem;
}

.search-results-footer {
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--color-gray-light);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.search-results-footer a {
    color: var(--color-black);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9375rem;
    transition: opacity 0.3s ease;
}

.search-results-footer a:hover {
    opacity: 0.7;
}

/* Notícia em Destaque Principal */
.main-featured-news {
    margin: var(--spacing-xl) 0;
    width: 100%;
}

.main-featured-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.main-featured-link:hover {
    opacity: 0.9;
}

.main-featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    background: var(--color-gray-light);
    border-radius: 16px;
    padding: var(--spacing-xl);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="dark"] .main-featured-content {
    background: #2a2a2a;
}

.main-featured-link:hover .main-featured-content {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .main-featured-link:hover .main-featured-content {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.main-featured-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--spacing-md);
}

.main-featured-category {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-xs);
}

[data-theme="dark"] .main-featured-category {
    color: rgba(255, 255, 255, 0.6);
}

.main-featured-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #000000;
    margin: 0;
    transition: color 0.3s ease;
}

[data-theme="dark"] .main-featured-title {
    color: #ffffff;
}

.main-featured-excerpt {
    font-size: 1.125rem;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.7);
    margin: 0;
}

[data-theme="dark"] .main-featured-excerpt {
    color: rgba(255, 255, 255, 0.8);
}

.main-featured-date {
    font-size: 0.9375rem;
    color: rgba(0, 0, 0, 0.6);
    margin-top: var(--spacing-sm);
}

[data-theme="dark"] .main-featured-date {
    color: rgba(255, 255, 255, 0.6);
}

.main-featured-image {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 300px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-gray-light);
}

[data-theme="dark"] .main-featured-image {
    background: #1a1a1a;
}

.main-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-featured-link:hover .main-featured-image img {
    transform: scale(1.05);
}

.main-featured-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
}

.main-featured-placeholder svg {
    width: 100%;
    height: 100%;
    max-width: 400px;
    max-height: 400px;
}

/* Responsive para Notícia em Destaque */
@media (max-width: 768px) {
    .main-featured-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        padding: var(--spacing-lg);
    }
    
    .main-featured-title {
        font-size: 1.875rem;
    }
    
    .main-featured-excerpt {
        font-size: 1rem;
    }
    
    .main-featured-image {
        min-height: 250px;
    }
}

/* Banner do Próximo Artigo */
.next-article-banner {
    margin: var(--spacing-xxl) 0;
    background: rgba(139, 92, 246, 0.9);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    overflow: hidden;
}

[data-theme="dark"] .next-article-banner {
    background: #2c2c2c;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.next-article-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    padding: var(--spacing-xl);
}

.next-article-text {
    flex: 1;
    color: #ffffff;
}

[data-theme="dark"] .next-article-text {
    color: #e0e0e0;
}

.next-article-label {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-sm);
    font-weight: 300;
}

[data-theme="dark"] .next-article-label {
    color: #999;
}

.next-article-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 400;
    color: #ffffff;
    margin: 0 0 var(--spacing-md) 0;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

[data-theme="dark"] .next-article-title {
    color: #e0e0e0;
}

.next-article-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 var(--spacing-lg) 0;
    font-weight: 300;
    line-height: 1.5;
}

[data-theme="dark"] .next-article-subtitle {
    color: #b0b0b0;
}

.next-article-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 400;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .next-article-button {
    background: #3a3a3a;
    color: #e0e0e0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.next-article-button:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    transform: translateX(5px);
}

[data-theme="dark"] .next-article-button:hover {
    background: #4a4a4a;
}

.button-arrow {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.next-article-button:hover .button-arrow {
    transform: translateX(3px);
}

.next-article-image {
    flex: 0 0 300px;
    width: 300px;
    height: 200px;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #1a1a1a;
}

.next-article-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.next-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.next-article-image:hover img {
    transform: scale(1.05);
}

.next-article-placeholder {
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 0.875rem;
}

/* Post Navigation antiga (manter para compatibilidade) */
.post-navigation {
    margin: var(--spacing-xl) 0;
    padding: var(--spacing-lg) 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.nav-previous,
.nav-next {
    font-size: 0.9375rem;
    font-weight: 300;
}

.nav-previous a,
.nav-next a {
    color: var(--color-black);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.nav-previous a:hover,
.nav-next a:hover {
    opacity: 0.6;
}

/* Screen Reader Text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Artigos em Destaque */
.featured-posts-section {
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.featured-posts-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    letter-spacing: -0.02em;
    margin: 0;
    padding: 0;
    color: var(--color-black);
    text-align: center;
}

.featured-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.category-archive-grid {
    margin: var(--spacing-xl) 0;
}

.featured-post {
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

[data-theme="dark"] .featured-post {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.featured-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.featured-post-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--color-gray-light);
}

.featured-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.featured-post:hover .featured-post-thumbnail img {
    transform: scale(1.05);
}

.featured-placeholder {
    width: 100%;
    height: 100%;
    background: var(--color-gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

.featured-post-content {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.featured-post-meta {
    font-size: 0.75rem;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-sm);
    font-weight: 300;
}

.featured-post-title {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin: 0 0 var(--spacing-sm) 0;
}

.featured-post-title a {
    color: var(--color-black);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.featured-post-title a:hover {
    opacity: 0.6;
}

.featured-post-excerpt {
    font-size: 0.9375rem;
    color: var(--color-gray-dark);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-post-categories {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    z-index: 10;
}

.featured-post-categories .category-badge {
    font-size: 0.6875rem;
    padding: 0.5rem 0.875rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-weight: 600;
    color: var(--color-black);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .featured-post-categories .category-badge {
    background: rgba(255, 255, 255, 0.95);
    color: #000000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .featured-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .container {
        padding: 0 2rem;
    }
    
    .posts-container .post {
        flex-direction: column;
        gap: 0;
    }
    
    .posts-container .post-thumbnail-wrapper {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }
    
    .posts-container .post-content {
        flex: 1;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .woocommerce-header-icons {
        margin-bottom: 1rem;
        gap: 1rem;
    }
    
    .cart-icon-link,
    .account-icon-link {
        width: 40px;
        height: 40px;
    }
    
    .cart-icon,
    .account-icon {
        width: 18px;
        height: 18px;
    }
    
    .dark-mode-toggle {
        width: 40px;
        height: 40px;
        font-size: 1.125rem;
        margin-bottom: 1rem;
    }
    
    .main-navigation {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }
    
    .header-icons-right {
        margin-left: 0;
        margin-bottom: 1rem;
        order: -1;
        width: 100%;
        justify-content: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .user-info {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .user-name {
        font-size: 0.875rem;
        order: 1;
    }
    
    .account-toggle {
        order: 2;
    }
    
    .user-dropdown {
        right: 0;
        left: auto;
        min-width: 180px;
    }
    
    .categories-mega-menu {
        min-width: 90%;
        max-width: 90%;
        max-height: 85vh;
        padding: var(--spacing-lg);
    }
    
    .categories-mega-close {
        top: 1rem;
        right: 1rem;
        width: 35px;
        height: 35px;
    }
    
    .categories-mega-content {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
        padding-top: 2rem;
    }
    
    @media (max-width: 480px) {
        .categories-mega-menu {
            min-width: 95%;
            max-width: 95%;
            padding: var(--spacing-md);
        }
        
        .categories-mega-content {
            grid-template-columns: 1fr;
        }
    }
    
    .menu-toggle {
        order: 0;
    }
    
    .main-navigation ul {
        order: 1;
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-white);
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        padding: var(--spacing-md);
        z-index: 999;
        gap: 1.5rem;
    }
    
    .main-navigation ul.active {
        display: flex;
    }
    
    .site-header {
        padding: 1.5rem 0;
    }
    
    .page-header {
        padding: var(--spacing-lg) 0;
    }
    
    .site-main {
        padding: var(--spacing-md) 0;
    }
    
    .posts-container .post {
        padding: var(--spacing-md) 0;
    }
    
    .single-post .entry-content {
        font-size: 1rem;
    }
    
    .footer-widgets {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        grid-template-columns: 1fr;
    }
    
    .next-article-content {
        flex-direction: column;
        padding: var(--spacing-lg);
    }
    
    .next-article-image {
        flex: 0 0 100%;
        width: 100%;
        height: 250px;
        order: -1;
    }
    
    .next-article-text {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .post-title {
        font-size: 1.5rem;
    }
    
    .entry-summary {
        font-size: 1rem;
    }
}

/* Modal de Filtros de Artigos */
.articles-filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.articles-filter-overlay.active {
    display: block;
    opacity: 1;
}

.articles-filter-modal {
    position: fixed;
    top: 340px !important;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    min-width: 1200px;
    max-width: 1600px;
    width: 90%;
    max-height: 80vh;
    padding: var(--spacing-xl);
    display: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    overflow-y: auto;
    margin: 0;
}

.articles-filter-modal.active {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

[data-theme="dark"] .articles-filter-modal {
    background: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.articles-filter-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-black);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;
    padding: 0;
}

.articles-filter-close:hover {
    opacity: 0.6;
    transform: rotate(90deg);
}

.articles-filter-close svg {
    width: 24px;
    height: 24px;
}

.articles-filter-header {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.articles-filter-title {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 600;
    color: var(--color-black);
    margin: 0;
}

.articles-filter-form {
    margin-bottom: var(--spacing-xl);
}

.articles-filter-controls {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-black);
}

.filter-input,
.filter-select {
    padding: 0.75rem 1rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--color-black);
    background: var(--color-white);
    transition: border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.filter-input::placeholder {
    color: rgba(0, 0, 0, 0.5);
    opacity: 1;
}

[data-theme="dark"] .filter-input,
[data-theme="dark"] .filter-select {
    background: #2a2a2a;
    color: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.15);
    color-scheme: dark;
}

[data-theme="dark"] .filter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

/* Data e select sem valor: texto cinzento como os outros placeholders */
[data-theme="dark"] .filter-input[type="date"]:not(:focus) {
    color: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .filter-select:has(option[value=""]:checked) {
    color: rgba(255, 255, 255, 0.5);
}

/* Fallback para browsers sem :has() */
[data-theme="dark"] .filter-select.placeholder-active {
    color: rgba(255, 255, 255, 0.5);
}

.filter-input:focus,
.filter-select:focus {
    outline: none;
    border-color: var(--color-black);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .filter-input:focus,
[data-theme="dark"] .filter-select:focus {
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
    background: #333333;
}

.articles-filter-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

/* Estilos específicos para posts nos resultados dos filtros */
.articles-filter-results .post-thumbnail-wrapper {
    position: relative;
}

.articles-filter-results .post-title {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    font-weight: 400;
}

.articles-filter-results .entry-summary {
    font-size: 0.8125rem;
    line-height: 1.5;
}

.articles-filter-results .post-categories {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    z-index: 10;
}

.articles-filter-results .post-categories .category-badge {
    font-size: 0.6875rem;
    padding: 0.5rem 0.875rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    font-weight: 600;
    color: var(--color-black);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .articles-filter-results .post-categories .category-badge {
    background: rgba(255, 255, 255, 0.95);
    color: #000000;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.articles-filter-results .read-more {
    display: none;
}

.articles-filter-footer {
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.load-more-articles-wrapper {
    text-align: center;
    margin-top: 25px;
    margin-bottom: 25px;
}

.load-more-articles-btn,
.load-more-articles-modal-btn {
    background: var(--color-black);
    color: var(--color-white);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
    font-family: inherit;
    margin: auto;
}

.load-more-articles-btn:hover,
.load-more-articles-modal-btn:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

[data-theme="dark"] .load-more-articles-btn,
[data-theme="dark"] .load-more-articles-modal-btn {
    background: var(--color-white);
    color: var(--color-black);
}

@media (max-width: 1024px) {
    .articles-filter-modal {
        min-width: 90%;
        max-width: 90%;
    }
    
    .articles-filter-controls {
        grid-template-columns: 1fr;
    }
    
    .articles-filter-results {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .articles-filter-modal {
        min-width: 95%;
        max-width: 95%;
        max-height: 90vh;
        padding: var(--spacing-lg);
    }
    
    .articles-filter-results {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   BOTÃO GUARDAR ARTIGO
============================================================ */

.save-post-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--color-black);
    opacity: 0.35;
    transition: opacity 0.2s ease, transform 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    line-height: 1;
    flex-shrink: 0;
}

.save-post-btn:hover {
    opacity: 0.9;
    transform: scale(1.15);
}

.save-post-btn.saved {
    opacity: 1;
}

.save-post-btn.saving {
    pointer-events: none;
    opacity: 0.4;
}

/* Botão guardar no artigo individual (na meta-bar ou fallback sem imagem) */
.article-save-wrapper {
    display: flex;
    padding: 1rem var(--spacing-xl);
}

/* ---- Botão guardar na article-meta-bar ---- */
.save-post-btn--meta {
    /* Layout */
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 13px 5px 9px;
    border: none;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: auto;

    /* Light mode: roxo */
    background: #8b5cf6;
    color: #ffffff;

    /* Stacking para o pulse ficar atrás; opacidade sempre 100% */
    position: relative;
    overflow: visible;
    opacity: 1;
    transition: transform 0.15s ease;
}

/* Anel de pulse — Light mode: branco, opacidade máxima */
.save-post-btn--meta::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    border: 2px solid #ffffff;
    animation: save-pulse 1.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    pointer-events: none;
}

/* Dark mode: botão branco */
[data-theme="dark"] .save-post-btn--meta {
    background: #ffffff;
    color: #1a1a1a;
}

[data-theme="dark"] .save-post-btn--meta svg {
    stroke: #1a1a1a;
}

/* Dark mode: pulse roxo */
[data-theme="dark"] .save-post-btn--meta::before {
    border-color: #8b5cf6;
}

/* Estado guardado: mantém opacidade 100% */
.save-post-btn--meta.saved {
    opacity: 1;
}

.save-post-btn--meta:hover {
    transform: scale(1.06);
    opacity: 1;
}

.save-post-btn--meta.saving {
    pointer-events: none;
    opacity: 0.6;
}

/* Animação de pulse — opacidade máxima para se destacar, só desvanece no fim */
@keyframes save-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    75% {
        transform: scale(1.65);
        opacity: 1;
    }
    100% {
        transform: scale(1.65);
        opacity: 0;
    }
}


/* Entry footer com botão guardar */
.entry-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ============================================================
   PÁGINA ARTIGOS GUARDADOS
============================================================ */

.saved-articles-page {
    padding: 4rem 0 6rem;
    min-height: 60vh;
}

.saved-articles-header {
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding-bottom: 1.5rem;
}

[data-theme="dark"] .saved-articles-header {
    border-bottom-color: rgba(255,255,255,0.1);
}

.saved-articles-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.375rem;
}

.saved-articles-count {
    color: var(--color-gray);
    font-size: 0.9rem;
}

/* Estado vazio */
.saved-articles-empty {
    text-align: center;
    padding: 5rem 1rem;
}

.saved-articles-empty-icon {
    margin-bottom: 1.25rem;
    display: flex;
    justify-content: center;
    color: var(--color-black);
    opacity: 0.35;
}

.saved-articles-empty h2 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.saved-articles-empty p {
    color: var(--color-gray);
    margin-bottom: 2rem;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
}

.saved-articles-btn-explore {
    display: inline-block;
    padding: 12px 28px;
    background: var(--color-black);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: opacity 0.2s ease;
}

.saved-articles-btn-explore:hover {
    opacity: 0.75;
    color: var(--color-white);
}

/* Grid de artigos guardados */
.saved-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.75rem;
}

.saved-article-card {
    border: 1px solid rgba(0,0,0,0.09);
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-white);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

[data-theme="dark"] .saved-article-card {
    border-color: rgba(255,255,255,0.1);
}

.saved-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.09);
}

.saved-article-thumbnail {
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

.saved-article-card:hover .saved-article-thumbnail img {
    transform: scale(1.04);
}

.saved-article-no-image {
    width: 100%;
    height: 100%;
    background: var(--color-gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray);
}

.saved-article-info {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.saved-article-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-gray);
    margin-bottom: 0.5rem;
}

.saved-article-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 0.5rem;
}

.saved-article-title a {
    text-decoration: none;
    color: inherit;
}

.saved-article-title a:hover {
    opacity: 0.7;
}

.saved-article-meta {
    font-size: 0.8rem;
    color: var(--color-gray);
    margin-bottom: 0.75rem;
    display: flex;
    gap: 0.75rem;
}

.saved-article-excerpt {
    font-size: 0.875rem;
    color: var(--color-gray);
    line-height: 1.55;
    margin-bottom: 1.25rem;
    flex: 1;
}

.saved-article-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
}

.saved-btn-read {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--color-black);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.saved-btn-read:hover {
    opacity: 0.75;
    color: var(--color-white);
}

.saved-btn-remove {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    background: none;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--color-gray);
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

[data-theme="dark"] .saved-btn-remove {
    border-color: rgba(255,255,255,0.15);
}

.saved-btn-remove:hover {
    border-color: #c0392b;
    color: #c0392b;
}

.saved-article-card.removing {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

@media (max-width: 768px) {
    .saved-articles-page {
        padding: 2.5rem 0 4rem;
    }

    .saved-articles-header h1 {
        font-size: 1.5rem;
    }

    .saved-articles-grid {
        grid-template-columns: 1fr;
    }

    .article-save-wrapper {
        padding: 0.75rem var(--spacing-sm);
    }

    .save-post-btn--meta {
        font-size: 0.72rem;
        padding: 4px 10px 4px 8px;
    }
}

/* ============================================================
   PÁGINA SOBRE NÓS
   ============================================================ */

.sobre-section {
    padding: var(--spacing-xxl) 0;
}

.sobre-section + .sobre-section {
    padding-top: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .sobre-section + .sobre-section {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Two-column layout */
.sobre-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
}

/* Reversed: SVG on left, text on right */
.sobre-inner--reverse {
    flex-direction: row-reverse;
}

/* Text column */
.sobre-text {
    flex: 1;
    min-width: 0;
    max-width: 600px;
}

.sobre-text .page-title {
    margin-bottom: var(--spacing-md);
}

.sobre-subtitle {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0 0 var(--spacing-md) 0;
    color: var(--color-black);
}

.sobre-body {
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    line-height: 1.65;
    color: var(--color-gray-dark);
    margin: 0 0 var(--spacing-lg) 0;
    font-weight: 400;
}

/* WordPress/Elementor content inside .sobre-text */
.sobre-text .entry-content p {
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    line-height: 1.65;
    color: var(--color-gray-dark);
    margin: 0 0 var(--spacing-md) 0;
}

.sobre-text .entry-content h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    margin: var(--spacing-md) 0 var(--spacing-sm) 0;
    color: var(--color-black);
}

/* SVG column */
.sobre-svg {
    flex-shrink: 0;
    width: 100%;
    max-width: 340px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sobre-svg--pc {
    max-width: 380px;
    aspect-ratio: 4 / 3;
}

.sobre-svg-inner {
    width: 100%;
    height: 100%;
}

/* ============================================================
   SKILL TAG PILLS (Sobre Nós + Elementor)
   Use: <span class="skill-tag">Nome</span>
   Ou aplique a classe "skill-tag" a botões Elementor.
   ============================================================ */

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: var(--spacing-md);
}

.skill-tag {
    display: inline-flex;
    align-items: center;
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 0.6rem 1.3rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    text-decoration: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    border: none;
    cursor: default;
    line-height: 1;
}

.skill-tag:hover {
    opacity: 0.75;
    transform: translateY(-2px);
}

/* Dark mode: invert contrast */
[data-theme="dark"] .skill-tag {
    background-color: var(--color-black);
    color: var(--color-white);
}

/* Elementor button widget with this class */
.elementor-button.skill-tag,
a.skill-tag {
    cursor: pointer;
}

/* ============================================================
   RESPONSIVE — SOBRE NÓS
   ============================================================ */

@media (max-width: 1024px) {
    .sobre-inner,
    .sobre-inner--reverse {
        flex-direction: column;
        gap: var(--spacing-lg);
    }

    .sobre-text {
        max-width: 100%;
    }

    .sobre-svg {
        max-width: 280px;
    }

    .sobre-svg--pc {
        max-width: 340px;
    }
}

@media (max-width: 600px) {
    .sobre-section {
        padding: var(--spacing-lg) 0;
    }

    .sobre-svg {
        max-width: 230px;
    }
}

/* ============================================================
   HORIZONTAL VIDEO GALLERY (SCROLL TO SCROLL)
   ============================================================ */

.h-scroll-wrapper {
    position: relative;
    height: 300vh; /* Adjust this to control how much vertical scroll is required to finish the horizontal scroll */
    margin: var(--spacing-xl) 0;
}

.h-scroll-sticky {
    position: sticky;
    top: 100px; /* Offset from the top, assuming there is a header */
    height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.h-scroll-track {
    display: flex;
    gap: var(--spacing-md);
    width: max-content; /* Critical: allows the track to grow based on its children */
    padding: 0 var(--spacing-xl); /* Add some padding at start/end */
    will-change: transform;
}

.video-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    width: 380px; /* Fixed width for horizontal scrolling */
    flex-shrink: 0;
}

[data-theme="dark"] .video-card {
    background: #252525;
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

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

.video-info {
    padding: var(--spacing-sm);
}

.video-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #a855f7;
    margin-bottom: 0.5rem;
}

.video-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    color: var(--color-black);
}

@media (max-width: 768px) {
    .h-scroll-wrapper {
        height: auto; /* Disable sticky vertical scrolling on mobile */
    }
    .h-scroll-sticky {
        position: relative;
        top: 0;
        height: auto;
        overflow-x: auto; /* Enable native horizontal scroll on mobile */
        scroll-snap-type: x mandatory;
        padding-bottom: var(--spacing-md);
    }
    .h-scroll-track {
        transform: none !important; /* Disable JS transform on mobile */
        padding: 0 var(--spacing-sm);
    }
    .video-card {
        scroll-snap-align: center;
        width: 85vw; /* Almost full width on mobile */
    }
}
