/*
Theme Name: Maiocchi Advogados
Theme URI: https://maiocchi.com.br
Author: Roger Maiocchi
Author URI: https://maiocchi.com.br
Description: Tema premium para escritório de advocacia com design glassmorphism, tipografia fluida e efeitos visuais de alta qualidade.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: maiocchi-theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, one-column, two-columns, right-sidebar, blog, portfolio, law
*/

/* =========================================
   CSS RESET & BASE
   ========================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

/* =========================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ========================================= */
:root {
    /* Colors */
    --color-primary: #FFB800;
    --color-primary-hover: #e5a600;
    --color-text: #1D1D1F;
    --color-text-secondary: #424245;
    --color-text-muted: #86868B;
    --color-background: #F5F5F7;
    --color-surface: #FFFFFF;
    --color-border: #D2D2D7;
    --color-border-light: rgba(210, 210, 215, 0.3);
    --color-dark: #080809;
    --color-success: #25D366;
    --color-danger: #EF4444;
    --color-purple: #A855F7;

    /* Typography */
    --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-serif: "Georgia", "Times New Roman", Times, serif;
    --font-mono: "SF Mono", SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-3xl: 2rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 40px 80px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 15px var(--color-primary);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-premium: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================
   BASE STYLES
   ========================================= */
body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
    color: var(--color-primary-hover);
}

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

/* =========================================
   FLUID TYPOGRAPHY SYSTEM
   ========================================= */
.text-fluid-xs {
    font-size: clamp(0.625rem, 0.5rem + 0.5vw, 0.75rem);
}

.text-fluid-sm {
    font-size: clamp(0.75rem, 0.6rem + 0.6vw, 1rem);
}

.text-fluid-base {
    font-size: clamp(0.875rem, 0.7rem + 0.7vw, 1.125rem);
}

.text-fluid-lg {
    font-size: clamp(1rem, 0.8rem + 0.8vw, 1.375rem);
}

.text-fluid-xl {
    font-size: clamp(1.125rem, 0.9rem + 1vw, 1.625rem);
}

.text-fluid-2xl {
    font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
}

.text-fluid-3xl {
    font-size: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
}

.text-fluid-4xl {
    font-size: clamp(2.5rem, 1.8rem + 3vw, 4.5rem);
}

.text-fluid-hero {
    font-size: clamp(3rem, 2rem + 5vw, 7rem);
}

/* =========================================
   GLASSMORPHISM SYSTEM
   ========================================= */
.apple-blur {
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-subtle {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* =========================================
   HERO & LIQUID GLASS EFFECTS
   ========================================= */
.liquid-glass-hero {
    position: relative;
    isolation: isolate;
}

.liquid-mask {
    mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
}

.mist-gray-fusion {
    background: linear-gradient(to top,
            var(--color-background) 0%,
            rgba(245, 245, 247, 0.98) 5%,
            rgba(245, 245, 247, 0.85) 15%,
            rgba(245, 245, 247, 0.4) 35%,
            rgba(245, 245, 247, 0.1) 60%,
            transparent 100%);
}

/* =========================================
   BENTO CARDS
   ========================================= */
.bento-card {
    background: var(--color-surface);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border-light);
    transition: all var(--transition-normal);
}

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

.bento-card-dark {
    background: var(--color-dark);
    color: var(--color-surface);
    border-color: rgba(255, 255, 255, 0.1);
}

/* =========================================
   ACTION PODS (Header Buttons)
   ========================================= */
.action-pod {
    width: 48px;
    height: 48px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition-premium);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.action-pod:active {
    transform: scale(0.9);
}

.action-pod--glass {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.action-pod--glass:hover {
    background: var(--color-surface);
    color: var(--color-text);
}

.action-pod--glass.scrolled {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-text);
}

.action-pod--glass.scrolled:hover {
    background: var(--color-dark);
    color: var(--color-primary);
}

.action-pod--whatsapp {
    background: var(--color-success);
    color: white;
    border: none;
}

.action-pod--whatsapp:hover {
    transform: scale(1.1);
}

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes ping {

    75%,
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.5s ease-out both;
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out both;
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-ping {
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.animate-spin {
    animation: spin 1s linear infinite;
}

/* =========================================
   PROSE LUXURY - CONTENT TYPOGRAPHY
   ========================================= */
.prose-luxury {
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--color-text);
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

.prose-luxury>*+* {
    margin-top: 1.5em;
}

.prose-luxury h1 {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 2.5em;
    margin-bottom: 0.8em;
    color: var(--color-text);
}

.prose-luxury h2 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 2em;
    margin-bottom: 0.75em;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 0.5em;
}

.prose-luxury h3 {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 1.75em;
    margin-bottom: 0.5em;
    color: var(--color-text);
}

.prose-luxury h4 {
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.5;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
    color: var(--color-text);
}

.prose-luxury p {
    margin-top: 1.25em;
    margin-bottom: 1.25em;
}

.prose-luxury strong {
    font-weight: 700;
    color: var(--color-text);
}

.prose-luxury em {
    font-style: italic;
}

.prose-luxury a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.prose-luxury a:hover {
    color: var(--color-primary-hover);
}

.prose-luxury ul,
.prose-luxury ol {
    margin-top: 1.25em;
    margin-bottom: 1.25em;
    padding-left: 1.75em;
}

.prose-luxury ul {
    list-style-type: disc;
}

.prose-luxury ol {
    list-style-type: decimal;
}

.prose-luxury li {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    padding-left: 0.375em;
}

.prose-luxury li::marker {
    color: var(--color-primary);
    font-weight: 600;
}

.prose-luxury blockquote {
    margin: 1.5em 0;
    padding: 1em 1.5em;
    border-left: 4px solid var(--color-primary);
    background-color: var(--color-background);
    font-style: italic;
    color: var(--color-text-secondary);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.prose-luxury blockquote p {
    margin: 0;
}

.prose-luxury pre {
    background-color: var(--color-text);
    color: var(--color-background);
    padding: 1em 1.5em;
    border-radius: var(--radius-lg);
    overflow-x: auto;
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 1.5em 0;
}

.prose-luxury code {
    font-family: var(--font-mono);
    font-size: 0.875em;
    background-color: var(--color-background);
    padding: 0.2em 0.4em;
    border-radius: var(--radius-sm);
}

.prose-luxury pre code {
    background-color: transparent;
    padding: 0;
}

.prose-luxury hr {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 2.5em 0;
}

.prose-luxury img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    margin: 1.5em 0;
}

.prose-luxury table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
}

.prose-luxury th,
.prose-luxury td {
    padding: 0.75em 1em;
    border: 1px solid var(--color-border);
    text-align: left;
}

.prose-luxury th {
    background-color: var(--color-background);
    font-weight: 600;
}

.prose-luxury tr:nth-child(even) {
    background-color: #fafafa;
}

/* =========================================
   LAYOUT UTILITIES
   ========================================= */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-4);
    padding-right: var(--space-4);
}

@media (min-width: 640px) {
    .container {
        padding-left: var(--space-6);
        padding-right: var(--space-6);
    }
}

@media (min-width: 1024px) {
    .container {
        padding-left: var(--space-8);
        padding-right: var(--space-8);
    }
}

.container-narrow {
    max-width: 768px;
}

.container-wide {
    max-width: 1536px;
}

/* Flexbox Utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.items-end {
    align-items: flex-end;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-end {
    justify-content: flex-end;
}

.gap-2 {
    gap: var(--space-2);
}

.gap-3 {
    gap: var(--space-3);
}

.gap-4 {
    gap: var(--space-4);
}

.gap-6 {
    gap: var(--space-6);
}

.gap-8 {
    gap: var(--space-8);
}

/* Spacing Utilities */
.section-spacing {
    padding-top: var(--space-6);
    /* 1.5rem ~ 24px */
    padding-bottom: var(--space-6);
}

@media (min-width: 768px) {
    .section-spacing {
        padding-top: var(--space-8);
        /* 2rem ~ 32px */
        padding-bottom: var(--space-8);
    }
}

.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 640px) {
    .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.btn:active {
    transform: scale(0.95);
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-dark);
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    box-shadow: var(--shadow-glow);
}

.btn-dark {
    background: var(--color-dark);
    color: var(--color-surface);
}

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

.btn-ghost {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-ghost:hover {
    background: var(--color-background);
    border-color: var(--color-text);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: 1rem;
}

.btn-icon {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: var(--radius-xl);
}

/* =========================================
   HEADER STYLES
   ========================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    transition: all var(--transition-premium);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.site-header.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

/* Header Navigation Container */
.header-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 115px;
    /* Increased from 110px */
    padding: 0 40px;
}

@media (min-width: 1400px) {
    .header-nav {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        padding: 0 120px;
        column-gap: 40px;
    }
}

@media (min-width: 768px) {
    .header-nav {
        height: 155px;
        /* Increased from 150px */
        padding: 0 80px;
    }
}

.site-branding {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    cursor: pointer;
    z-index: 1100;
    transition: transform var(--transition-slow);
}

.site-branding:active {
    transform: scale(0.95);
}

.site-title {
    font-family: var(--font-serif);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 0.9;
    display: flex;
    align-items: baseline;
}

.site-title .dot {
    position: relative;
    display: flex;
    width: 12px;
    height: 12px;
    margin-left: 8px;
}

.site-title .dot::before {
    content: '';
    position: absolute;
    display: inline-flex;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    background: var(--color-primary);
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
    opacity: 0.75;
}

.site-title .dot::after {
    content: '';
    position: relative;
    display: inline-flex;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    background: var(--color-primary);
}


.nav-desktop {
    display: none;
    height: 115px;
    align-items: center;
    gap: 24px;
    margin: 0 5px;
    /* Minimum 5px spacing from neighbors */
}

@media (min-width: 1400px) {
    .nav-desktop {
        display: flex;
    }
}

@media (min-width: 1400px) {
    .nav-desktop {
        height: 155px;
        /* Match header height */
        gap: 56px;
    }
}

.nav-link {
    font-size: 0.625rem;
    font-weight: 900;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    position: relative;
    padding: 12px 0;
    color: white;
    opacity: 0.8;
    transition: all var(--transition-slow);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--color-primary);
    box-shadow: var(--shadow-glow);
    transition: width var(--transition-slow);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.scrolled .nav-link {
    color: var(--color-text);
    text-shadow: none;
}

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

/* Header Action Pods */
.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    z-index: 1200;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
}

@media (min-width: 1400px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 250;
    background: var(--color-surface);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-close {
    position: absolute;
    top: 32px;
    right: 32px;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: var(--color-dark);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: transform var(--transition-normal);
}

.mobile-menu-close:hover {
    transform: scale(1.1);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mobile-nav-label {
    font-size: 0.875rem;
    font-weight: 900;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 24px;
}

.mobile-nav-link {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: white;
    transition: color var(--transition-slow);
}

@media (min-width: 768px) {
    .mobile-nav-link {
        font-size: 1.875rem;
    }
}

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

/* =========================================
   FOOTER STYLES
   ========================================= */
.site-footer {
    position: relative;
    z-index: 10;
    width: 100%;
    background: var(--color-dark);
    color: var(--color-surface);
    overflow: hidden;
    border-top: 1px solid #424245;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 184, 0, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.footer-content {
    margin: 0 auto;
    padding-top: 16px;
    padding-bottom: 64px;
    position: relative;
    z-index: 10;
}

@media (min-width: 768px) {
    .footer-content {
        padding-top: 48px;
        padding-bottom: 64px;
    }
}

.footer-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
}

@media (min-width: 768px) {
    .footer-main {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-branding {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    font-family: var(--font-serif);
    font-weight: 700;
    letter-spacing: -0.02em;
    cursor: pointer;
    display: flex;
    align-items: baseline;
    transition: transform var(--transition-normal);
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-logo:active {
    transform: scale(0.95);
}

.footer-logo .dot {
    color: var(--color-primary);
    margin-left: 2px;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.footer-mission {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.6875rem;
    line-height: 1.6;
    font-weight: 300;
    font-style: italic;
    max-width: 360px;
    letter-spacing: 0.02em;
}

/* Social Icons */
.footer-socials {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.social-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-slow);
}

.social-icon:hover {
    background: var(--color-primary);
    color: var(--color-dark);
}

.footer-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 8px;
}

.footer-whatsapp {
    height: 48px;
    padding: 0 24px;
    background: var(--color-success);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-surface);
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-slow);
}

.footer-whatsapp:hover {
    transform: scale(1.05);
    color: var(--color-surface);
}

.footer-whatsapp svg {
    transition: transform var(--transition-normal);
}

.footer-whatsapp:hover svg {
    transform: rotate(12deg);
}

/* Copyright */
.footer-copyright {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}

.footer-copyright p {
    font-size: 0.5625rem;
    font-weight: 900;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
}

.footer-copyright .certification {
    color: var(--color-primary);
    font-size: 0.5rem;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 150;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--color-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(48px);
    visibility: hidden;
    transition: all var(--transition-premium);
}

.scroll-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--color-primary);
    color: var(--color-dark);
}

.scroll-to-top svg {
    transition: transform var(--transition-slow);
}

.scroll-to-top:hover svg {
    transform: translateY(-4px);
}

@media (max-width: 640px) {
    .scroll-to-top {
        bottom: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
    }
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
    position: relative;
    isolation: isolate;
    min-height: 80vh;
    width: 100%;
    overflow: hidden;
    background: var(--color-dark);
    display: flex;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 0;
}

.hero-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    transition: transform var(--transition-premium);
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.35);
    /* Base dimming for text coverage */
    pointer-events: none;
}

/* Natural Gradient Fade Effect */
.hero-overlay.mist-gray-fusion {
    background:
        /* Dark overlay for text readability */
        linear-gradient(to bottom,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.5) 40%,
            rgba(0, 0, 0, 0.3) 70%,
            transparent 100%),
        /* Natural fade to background color */
        linear-gradient(to top,
            var(--color-background) 0%,
            rgba(245, 245, 247, 0.95) 8%,
            rgba(245, 245, 247, 0.7) 20%,
            rgba(245, 245, 247, 0.3) 40%,
            transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 20;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

@media (min-width: 640px) {
    .hero-content {
        padding-top: 160px;
        padding-bottom: 80px;
    }
}

@media (min-width: 768px) {
    .hero-content {
        padding-top: 192px;
        padding-bottom: 128px;
    }
}

@media (min-width: 1024px) {
    .hero-content {
        padding: 192px var(--site-gutter) 128px;
    }
}

.hero-inner {
    max-width: 1152px;
    animation: fadeIn 0.5s ease-out forwards;
}

/* Hero Accent Line */
.hero-accent {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}

.hero-accent-line {
    height: 2px;
    width: 56px;
    background: var(--color-primary);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-glow);
}

.hero-tag {
    color: var(--color-primary);
    font-size: clamp(0.625rem, 0.5rem + 0.5vw, 0.75rem);
    font-weight: 900;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@media (min-width: 640px) {
    .hero-tag {
        letter-spacing: 0.5em;
    }
}

/* Hero Title */
.hero-title {
    font-family: var(--font-serif);
    color: var(--color-surface);
    font-weight: 700;
    line-height: 0.85;
    letter-spacing: -0.02em;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 32px;
}

@media (min-width: 640px) {
    .hero-title {
        margin-bottom: 48px;
    }
}

.hero-title .dot {
    color: var(--color-surface);
}

/* Hero Description */
.hero-description {
    color: var(--color-surface);
    font-weight: 300;
    font-style: italic;
    max-width: 896px;
    line-height: 1.6;
    text-shadow: 0 0 40px rgba(0, 0, 0, 0.6), 0 0 80px rgba(0, 0, 0, 0.4), 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Hero Clickable Links - Hover Effects */
.hero-title-link {
    display: block;
    transition: all var(--transition-normal);
}

.hero-title-link:hover .hero-title {
    color: var(--color-primary);
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), var(--shadow-glow);
}

.hero-title-link:hover .dot {
    color: var(--color-primary);
}

.hero-content a[style*="text-decoration: none"]:hover .hero-description {
    opacity: 0.85;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Card Clickable Links - Hover Effects */
.card-image-link {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.card-image-link:hover .card-image {
    transform: scale(1.02);
}

.card-image-link .card-image {
    transition: transform var(--transition-normal);
}

.card-description-link:hover .card-description {
    color: var(--color-text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin-top: 32px;
}

@media (min-width: 768px) {
    .hero-cta {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.hero-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all var(--transition-slow);
}

.hero-btn:active {
    transform: scale(0.95);
}

.hero-btn-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-xl);
    background: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-premium);
}

@media (min-width: 768px) {
    .hero-btn-icon {
        width: 56px;
        height: 56px;
    }
}

.hero-btn-icon svg {
    color: var(--color-primary);
    transition: all var(--transition-slow);
}

.hero-btn:hover .hero-btn-icon {
    transform: scale(1.1);
    background: var(--color-primary);
}

.hero-btn:hover .hero-btn-icon svg {
    color: var(--color-dark);
    transform: rotate(-45deg);
}

/* =========================================
   POST/PAGE CARDS
   ========================================= */
.content-overlap {
    position: relative;
    z-index: 30;
    margin-top: -128px !important;
    /* Force overlap */
    background: var(--color-surface);
    /* Solid background to cover hero */
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.15);
    /* Depth shadow */
    overflow: hidden;
    /* Ensure content respects border radius */
}

.post-card {
    background: var(--color-surface);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    transition: all var(--transition-normal);
    border: 1px solid var(--color-border-light);
}

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

.post-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.post-card:hover .post-card-image img {
    transform: scale(1.05);
}

.post-card-content {
    padding: var(--space-6);
}

.post-card-meta {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
    font-size: 0.625rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.post-card-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--space-3);
    color: var(--color-text);
    transition: color var(--transition-fast);
}

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

.post-card-excerpt {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Post Tags */
.post-tag {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: rgba(255, 184, 0, 0.1);
    color: var(--color-primary);
    font-size: 0.5625rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
}

/* =========================================
   CUSTOM SCROLLBAR
   ========================================= */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-background);
}

::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-text-muted);
}

/* =========================================
   WORDPRESS SPECIFIC STYLES
   ========================================= */
/* Admin Bar Adjustment */
.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

/* Alignments */
.alignleft {
    float: left;
    margin-right: var(--space-6);
    margin-bottom: var(--space-4);
}

.alignright {
    float: right;
    margin-left: var(--space-6);
    margin-bottom: var(--space-4);
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.alignwide {
    max-width: 1152px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
}

/* Screen Reader Text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: var(--color-background);
    border-radius: var(--radius-sm);
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: var(--color-text);
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Comments */
.comment-list {
    list-style: none;
    padding: 0;
}

.comment-body {
    padding: var(--space-6);
    background: var(--color-background);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-4);
}

.comment-author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
}

.comment-author img {
    border-radius: var(--radius-full);
}

.comment-author .fn {
    font-weight: 600;
}

.comment-metadata {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.comment-content {
    margin-top: var(--space-4);
}

.comment-reply-link {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-12);
}

.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--space-3);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
    transition: all var(--transition-fast);
}

.page-numbers:hover,
.page-numbers.current {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-dark);
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-family: var(--font-sans);
    font-size: 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
    color: var(--color-text);
    transition: all var(--transition-fast);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.1);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

/* Search Form */
.search-form {
    display: flex;
    gap: var(--space-2);
}

.search-form .search-field {
    flex: 1;
}

.search-form .search-submit {
    flex-shrink: 0;
}

/* =========================================
   RESPONSIVE UTILITIES
   ========================================= */
.hidden {
    display: none !important;
}

@media (min-width: 640px) {
    .sm\:block {
        display: block !important;
    }

    .sm\:hidden {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .md\:block {
        display: block !important;
    }

    .md\:hidden {
        display: none !important;
    }

    .md\:flex {
        display: flex !important;
    }
}

@media (min-width: 1024px) {
    .lg\:block {
        display: block !important;
    }

    .lg\:hidden {
        display: none !important;
    }

    .lg\:flex {
        display: flex !important;
    }
}

@media (min-width: 1280px) {
    .xl\:block {
        display: block !important;
    }

    .xl\:hidden {
        display: none !important;
    }
}

/* =========================================
   FOOTER RESPONSIVE
   ========================================= */
.footer-desktop {
    display: none;
}

.footer-mobile {
    display: flex;
}

@media (min-width: 768px) {
    .footer-desktop {
        display: block;
    }

    .footer-mobile {
        display: none;
    }
}

/* =========================================
   FAQ SECTION
   ========================================= */
.faq-section {
    background: var(--color-background);
    padding: 24px 0 96px;
    /* Reduced top padding from 64px */
}

.faq-container {
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 48px;
}

.faq-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.faq-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 500;
    color: var(--color-text);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.faq-item.active {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(0, 0, 0, 0.02);
}

.faq-number {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-muted);
    min-width: 32px;
}

.faq-item.active .faq-number {
    color: var(--color-primary);
}

.faq-question-text {
    flex: 1;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
    line-height: 1.5;
}

@media (min-width: 640px) {
    .faq-question-text {
        font-size: 1.125rem;
    }
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--color-primary);
}

.faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-answer[hidden] {
    display: block;
    max-height: 0;
    padding: 0 28px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 28px 28px;
}

.faq-answer p {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    padding-left: 52px;
    margin: 0;
}

/* =========================================
   SHARE BUTTONS
   ========================================= */
.share-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.share-btn {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: white;
    border: 1px solid var(--color-border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.share-btn i,
.share-btn svg {
    width: 20px;
    height: 20px;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--color-border);
}

.share-divider {
    width: 1px;
    height: 32px;
    background: var(--color-border-light);
    margin: 0 4px;
}

.share-btn-copy {
    background: var(--color-dark);
    border-color: var(--color-dark);
    color: var(--color-primary);
}

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

.share-btn-copy.copied {
    background: var(--color-success);
    border-color: var(--color-success);
    color: white;
}

/* =========================================
   POST NAVIGATION CARDS
   ========================================= */
.nav-card {
    transition: all 0.4s ease;
}

.nav-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.nav-card-image {
    overflow: hidden;
}

.nav-card-image img {
    filter: grayscale(100%);
    transition: all 0.5s ease;
}

.nav-card:hover .nav-card-image img {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.nav-card .nav-title {
    transition: color 0.3s ease;
}

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

/* =========================================
   COMMENTS SECTION
   ========================================= */
.comments-section {
    margin-top: 64px;
}

.comments-area {
    background: white;
    border-radius: var(--radius-2xl);
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.comments-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border-light);
}

/* Comment Form */
#respond {
    margin-top: 32px;
}

#reply-title {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

#reply-title::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--color-primary);
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-form label {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
    display: block;
}

.comment-form .required {
    color: var(--color-primary);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 16px 20px;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-text);
    background: var(--color-background);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    outline: none;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.15);
    background: white;
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.comment-form-cookies-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.comment-form-cookies-consent input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--color-primary);
    margin-top: 2px;
    flex-shrink: 0;
}

.comment-form-cookies-consent label {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.form-submit {
    margin-top: 8px;
}

.comment-form input[type="submit"],
.form-submit .submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-dark);
    background: var(--color-primary);
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all 0.4s ease;
}

.comment-form input[type="submit"]:hover,
.form-submit .submit:hover {
    background: var(--color-primary-hover);
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(255, 184, 0, 0.4);
}

/* Comment List */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment {
    padding: 24px 0;
    border-bottom: 1px solid var(--color-border-light);
}

.comment:last-child {
    border-bottom: none;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.comment-author .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.comment-author .fn {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
}

.comment-metadata {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.comment-metadata a {
    color: inherit;
    text-decoration: none;
}

.comment-content {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.comment-content p {
    margin: 0 0 12px;
}

.comment-reply-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.comment-reply-link:hover {
    text-decoration: underline;
}

/* No comments */
.no-comments {
    text-align: center;
    padding: 40px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* =========================================
   PRINT STYLES
   ========================================= */
@media print {

    /* Set A4 Page and Margins */
    @page {
        size: A4;
        margin: 3cm 2cm 2cm 3cm;
        /* top right bottom left */
    }

    /* Hide everything except content */
    #site-header,
    .site-footer,
    .share-bar,
    .share-section,
    .share-buttons,
    .post-navigation,
    .comments-section,
    .scroll-to-top,
    .hero-section,
    .article-tags,
    .author-box,
    .related-posts,
    .mobile-menu-overlay,
    .search-backdrop,
    .search-capsule,
    nav,
    aside,
    button:not(.print-btn),
    .must-log-in {
        display: none !important;
    }

    /* Reset page */
    body {
        background: white !important;
        color: black !important;
        font-size: 12pt !important;
        line-height: 1.6 !important;
    }

    /* Content container */
    .article-container,
    .page-container {
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Print header with article meta */
    .print-header {
        display: block !important;
        padding: 0 0 24px;
        margin-bottom: 24px;
        border-bottom: 1px solid #ccc;
    }

    .print-accent {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 16px;
    }

    .print-accent-line {
        width: 40px;
        height: 3px;
        background: #B8860B;
    }

    .print-accent-text {
        font-size: 9pt;
        font-weight: 700;
        letter-spacing: 0.2em;
        color: #B8860B !important;
    }

    .print-title {
        font-size: 22pt !important;
        font-weight: 700;
        line-height: 1.2;
        margin: 0 0 12px;
        color: black !important;
    }

    .print-excerpt {
        font-size: 11pt;
        color: #444 !important;
        line-height: 1.5;
        margin: 0 0 16px;
    }

    .print-meta-info {
        display: flex !important;
        flex-wrap: wrap;
        gap: 16px;
        margin-top: 12px;
    }

    .print-meta-item {
        display: flex !important;
        align-items: center;
        gap: 6px;
        font-size: 9pt;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: #666 !important;
    }

    .print-meta-item i {
        width: 12px;
        height: 12px;
        color: #B8860B !important;
    }

    .print-category {
        display: none;
    }

    .print-meta {
        display: none;
    }

    .print-tag {
        display: none;
    }

    /* Content styles for print */
    .prose-luxury {
        text-align: justify !important;
        hyphens: auto !important;
        font-size: 11pt !important;
    }

    .prose-luxury h1 {
        font-size: 18pt !important;
        text-align: left !important;
    }

    .prose-luxury h2 {
        font-size: 14pt !important;
        text-align: left !important;
    }

    .prose-luxury h3 {
        font-size: 12pt !important;
        text-align: left !important;
    }

    .prose-luxury img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }

    /* Page breaks */
    h1,
    h2,
    h3 {
        page-break-after: avoid;
    }

    p,
    blockquote {
        orphans: 3;
        widows: 3;
    }

    /* ABNT Citation footer */
    .print-citation {
        display: block !important;
        margin-top: 40px;
        padding-top: 20px;
        border-top: 1px solid #000;
        font-size: 10pt;
        text-align: left;
    }

    .print-citation::before {
        content: "Referência:";
        display: block;
        font-weight: bold;
        margin-bottom: 5px;
    }

    /* Links */
    a {
        color: black !important;
        text-decoration: underline !important;
    }

    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 9pt;
        color: #666;
    }

    a[href^="#"]::after,
    a[href^="javascript"]::after {
        content: "";
    }

    /* Hide navigation bar when printing */
    .article-nav-bar,
    .article-toc-sidebar,
    .toc-sidebar-backdrop {
        display: none !important;
    }
}

/* Print elements - hidden on screen */
.print-header,
.print-citation {
    display: none;
}

/* =========================================
   ARTICLE NAVIGATION BAR (Vertical Translucent Stack)
   ========================================= */
.article-nav-bar {
    position: fixed;
    top: 200px;
    left: 24px;
    z-index: 1000;
    pointer-events: none;
}

.article-nav-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: auto;
}

.article-nav-btn {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(29, 29, 31, 0.4);
    /* Translucent dark */
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.article-nav-btn i {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.article-nav-btn:hover {
    background: rgba(45, 45, 47, 0.6);
    transform: translateX(4px);
    border-color: rgba(255, 255, 255, 0.2);
}

.article-nav-btn:hover i {
    transform: scale(1.1);
}

/* Nav Separator */
.nav-separator {
    width: 24px;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
    margin: 4px auto;
}

/* Premium Tooltips */
.article-nav-btn[data-tooltip] {
    position: relative;
}

.article-nav-btn[data-tooltip]::after {
    content: attr(data-tooltip);
    position: absolute;
    left: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(-10px);
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.article-nav-btn[data-tooltip]:hover::after {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Copy success state */
.article-nav-btn.copied {
    border-color: #34c759;
    background: rgba(52, 199, 89, 0.2);
}

.article-nav-btn.copied i {
    color: #34c759;
}

.article-back-btn:hover i {
    transform: translateX(-2px);
}

.article-toc-toggle:hover i {
    transform: rotate(90deg);
}

.article-print-btn:hover i {
    transform: translateY(-2px);
}

/* =========================================
   TOC SIDEBAR - Modern Design
   ========================================= */
.toc-sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
}

.toc-sidebar-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.article-toc-sidebar {
    position: fixed;
    top: 24px;
    left: 24px;
    bottom: 24px;
    width: 360px;
    max-width: calc(100vw - 48px);
    background: rgba(255, 255, 255, 0.75);
    /* Translucent background */
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-2xl);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.15);
    transform: translateX(calc(-100% - 48px));
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1002;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.article-toc-sidebar.active {
    transform: translateX(0);
}

.toc-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    background: rgba(255, 255, 255, 0.4);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.toc-sidebar-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--color-dark);
}

.toc-accent-line {
    width: 32px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
}

.toc-sidebar-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ff5f57;
    /* System close red */
    color: white;
    border: none;
    border-radius: 50%;
    /* Circle for window close look */
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 95, 87, 0.2);
}

.toc-sidebar-close i {
    width: 16px;
    height: 16px;
}

.toc-sidebar-close:hover {
    background: #ff3b30;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 6px 16px rgba(255, 95, 87, 0.3);
}

.toc-sidebar-search {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.toc-sidebar-search i {
    width: 18px;
    height: 18px;
    color: var(--color-text-muted);
    flex-shrink: 0;
}

.toc-sidebar-search input {
    flex: 1;
    border: none;
    background: none;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: var(--color-dark);
    outline: none;
}

.toc-sidebar-search input::placeholder {
    color: var(--color-text-muted);
}

.toc-sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 10px 20px 30px;
}

.toc-item {
    display: block;
    padding: 14px 12px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-dark);
    text-decoration: none;
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
    margin-bottom: 2px;
}

.toc-item:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--color-primary);
}

.toc-item.active {
    background: rgba(212, 175, 55, 0.15);
    color: var(--color-primary);
}

.toc-item-h3 {
    padding-left: 28px;
    font-weight: 500;
    font-size: 0.8rem;
    opacity: 0.8;
}

.toc-item-h4 {
    padding-left: 44px;
    font-weight: 400;
    font-size: 0.75rem;
    opacity: 0.7;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .article-nav-bar {
        top: 150px;
        left: 16px;
    }

    .article-nav-btn {
        width: 44px;
        height: 44px;
    }

    .article-nav-stack {
        gap: 8px;
    }

    .article-toc-sidebar {
        top: 16px;
        left: 16px;
        bottom: 16px;
        width: calc(100vw - 32px);
    }
}