/* ===========================================
   EDVR TECH — STYLE v3.0 (Ultimate V6)
   =========================================== */

/* --- VARIABLES --- */
:root {
    /* Dark Theme (Ocean Travel Vibe) */
    --bg: #040914;
    /* Deep Ocean Background */
    --bg2: #0a1526;
    /* Dark Navy Cards */
    --bg3: #11223b;
    /* Lighter Navy Highlights */
    /* TheByteVoyage Tech/Travel Blue */
    --accent: #00d4ff;
    /* Travel Sunset Orange */
    --accent-alt: #ff7e67;
    --accent2: #ff7e67;
    --text: #f0f4f8;
    --text2: #94a3b8;
    --radius: 14px;
    --border: var(--border);
}

body.light-theme {
    /* Light Theme */
    --bg: #f4f6f8;
    --bg2: #ffffff;
    --bg3: #e2e8f0;
    --text: #0f172a;
    --text2: #334155;
    /* Darker slate for better contrast */
    --border: rgba(0, 0, 0, 0.08);

    /* Light Theme Elegant Color Variables */
    --accent-light: #0284c7 !important;
    /* Elegant Tech Blue */
    --accent2: #e11d48 !important;
    /* Elegant Rose/Red instead of Neon Pink */

    /* Override Customizer Inline Variables */
    --bg-dark: #f4f6f8 !important;
    --bg-card: #ffffff !important;
    --text-main: #0f172a !important;
    --text-muted: #475569 !important;
    --accent: var(--accent-light) !important;
    /* Elegant Blue */
    --primary: #0369a1 !important;
}

/* --- LIGHT THEME PRIMARY BUTTON LUXURY OVERRIDE --- */
body.light-theme .btn-primary {
    background: #0f172a !important;
    /* Dark slate for perfect contrast on white */
    color: #ffffff !important;
    /* White text */
}

body.light-theme .btn-primary:hover {
    background: var(--accent-light) !important;
    /* Highlight elegant blue on hover */
    color: #ffffff !important;
}

body {
    transition: background-color 0.3s ease, color 0.3s ease;
}

.site-header,
.edvr-header,
.bento-main,
.bento-side,
.p-card,
.widget-rank,
.feed-card,
.list-card,
.list-search input,
.edvr-price-card,
.edvr-specs-box,
.ticker {
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

/* --- V13 GLOBAL POLISH --- */
::selection {
    background: var(--accent);
    color: #000;
}

::-moz-selection {
    background: var(--accent);
    color: #000;
}

::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--bg3);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

@keyframes tbvPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 212, 255, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0);
    }
}

.edvr-pulse {
    animation: tbvPulse 2s infinite;
}

/* --- RESET / GLOBAL --- */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg) !important;
    color: var(--text) !important;
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color .15s;
}

a:hover {
    color: #fff;
}

/* Hide ALL default theme chrome */
.site-header,
.site-footer,
.entry-header,
.sidebar,
.widget-area,
.site-info,
.navigation,
.nav-links,
.entry-meta {
    display: none !important;
}

.site-content {
    padding: 0 !important;
    margin: 0 !important;
}

.separate-containers .inside-article,
.separate-containers .site-main>*,
article.page {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

.entry-content {
    max-width: 100% !important;
    margin: 0 !important;
}

/* --- HEADER --- */
.edvr-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(11, 15, 25, .92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(16px, 4vw, 40px);
    height: 60px;
}

.logo {
    font-weight: 900;
    font-size: 1.4rem;
    color: #fff !important;
    letter-spacing: -1px;
}

.logo span {
    color: var(--accent);
}

.nav-main a {
    color: var(--text2);
    font-size: .88rem;
    font-weight: 600;
    margin-left: 28px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.nav-main a:hover {
    color: var(--accent);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- TICKER --- */
.ticker {
    background: var(--bg2);
    display: flex;
    align-items: center;
    padding: 0 clamp(16px, 4vw, 40px);
    height: 44px;
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.ticker-label {
    font-weight: 800;
    color: var(--accent2);
    font-size: .78rem;
    text-transform: uppercase;
    margin-right: 20px;
    white-space: nowrap;
}

.ticker-items {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scrollbar-width: none;
}

.ticker-items::-webkit-scrollbar {
    display: none;
}

.ticker-items a {
    color: var(--text2);
    font-size: .85rem;
    font-weight: 500;
    white-space: nowrap;
}

.ticker-items a:hover {
    color: #fff;
}

/* ===========================================
   V6 HOME OVERHAUL (Bento & Utility UI)
   =========================================== */

/* --- BENTO HERO --- */
.bento-hero {
    display: grid;
    grid-template-columns: 2fr 1.1fr;
    grid-template-rows: 250px 250px;
    gap: 20px;
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 clamp(16px, 4vw, 40px);
}

.bento-main,
.bento-side {
    background-size: cover;
    background-position: center;
    background-color: var(--bg3);
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1), border-color .3s;
}

.bento-main:hover,
.bento-side:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: var(--accent);
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.bento-main {
    grid-column: 1;
    grid-row: 1 / span 2;
    display: flex;
    align-items: flex-end;
}

.bside-1 {
    grid-column: 2;
    grid-row: 1;
}

.bside-2 {
    grid-column: 2;
    grid-row: 2;
}

.bento-overlay {
    background: linear-gradient(0deg, rgba(8, 12, 20, 0.95) 0%, rgba(8, 12, 20, 0.4) 60%, transparent);
    width: 100%;
    padding: 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.bento-overlay.sm {
    padding: 25px;
}

.bento-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.bento-main h2 {
    margin: 0;
    font-size: 2.8rem;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -1px;
}

.bento-main h2 a {
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.bento-main h2 a:hover {
    color: var(--accent);
}

.bento-side h3 {
    margin: 10px 0 0;
    font-size: 1.4rem;
    line-height: 1.2;
    font-weight: 800;
}

.bento-side h3 a {
    color: #fff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.bento-side h3 a:hover {
    color: var(--accent);
}

.bento-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: .85rem;
    font-weight: 700;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, .1);
    max-width: max-content;
}

/* --- SCORE BADGES --- */
.score-badge {
    background: var(--accent);
    color: #000;
    font-weight: 900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.main-score {
    width: 60px;
    height: 60px;
    font-size: 1.4rem;
    border: 3px solid #000;
    position: absolute;
    top: 30px;
    right: 30px;
}

.mini-score {
    width: 45px;
    height: 45px;
    font-size: 1rem;
    position: absolute;
    top: 20px;
    right: 20px;
    border: 2px solid #000;
}

.p-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    width: calc(100% - 32px);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    z-index: 2;
}

.p-badges .score-badge {
    margin-left: auto;
    width: 40px;
    height: 40px;
    font-size: .95rem;
    border: 2px solid #000;
    flex-shrink: 0;
}

.card-cat {
    background: var(--bg3);
    color: var(--text2);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 75%;
    display: inline-block;
}

/* Dynamic Tag Colors */
.card-cat.cat-analisis,
.card-cat.cat-reviews {
    background: var(--accent);
    color: #000;
}

.card-cat.cat-noticias {
    background: var(--accent2);
    color: #FFF;
}

.card-cat.cat-guias {
    background: #5865F2;
    color: #FFF;
}

.card-cat.cat-hardware {
    background: #E67E22;
    color: #FFF;
}

.card-cat.cat-viajes {
    background: #0ea5e9;
    color: #FFF;
}

/* --- HOME LAYOUT GRID (Feed + Sidebar) --- */
.home-layout-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 clamp(16px, 4vw, 40px);
}

.section-title {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.section-title h2 {
    margin: 0 20px 0 0;
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
}

.section-title .line {
    flex-grow: 1;
    height: 2px;
    background: var(--border);
}

/* --- PREMIUM FEED CARDS --- */
.premium-feed {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.p-card {
    background: var(--bg2);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
    display: flex;
    flex-direction: column;
}

.p-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, .15);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.15);
}

.p-card:hover .p-thumb {
    transform: scale(1.05);
}

.p-thumb {
    height: 180px;
    background-size: cover;
    background-position: center;
    background-color: var(--bg3);
    position: relative;
    transition: transform 0.4s ease;
}

.p-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.p-body h3 {
    margin: 0 0 10px;
    font-size: 1.3rem;
    line-height: 1.25;
}

.p-body h3 a {
    color: #fff;
}

.p-body h3 a:hover {
    color: var(--accent);
}

.p-body p {
    color: var(--text2);
    font-size: .9rem;
    margin: 0 0 20px;
    flex-grow: 1;
}

.p-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 15px;
}

.p-tag {
    font-size: .8rem;
    font-weight: 700;
    color: var(--accent);
    background: rgba(0, 212, 255, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
}

.p-date {
    font-size: .8rem;
    color: var(--text2);
    font-weight: 600;
    text-transform: uppercase;
}

/* --- SIDEBAR WIDGETS --- */
.widget-rank {
    background: var(--bg2);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 30px;
}

.widget-rank h3 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 1.4rem;
}

.widget-rank p {
    color: var(--text2);
    font-size: .9rem;
    margin: 0 0 25px;
}

.rank-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.r-num {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg3);
    color: #fff;
    font-weight: 900;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .1);
}

.rank-item:nth-child(3) .r-num {
    background: linear-gradient(135deg, #ffd700, #b8860b);
    color: #000;
    border: none;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.2);
}

/* Gold */
.rank-item:nth-child(4) .r-num {
    background: linear-gradient(135deg, #e3e4e5, #a4a5a6);
    color: #000;
    border: none;
}

/* Silver */
.rank-item:nth-child(5) .r-num {
    background: linear-gradient(135deg, #cd7f32, #8b4513);
    color: #000;
    border: none;
}

/* Bronze */

.r-info {
    flex-grow: 1;
}

.r-info strong {
    display: block;
    color: #fff;
    font-size: .95rem;
    line-height: 1.2;
    margin-bottom: 2px;
}

.r-info span {
    display: block;
    color: var(--text2);
    font-size: .75rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 6px;
}

.r-bar {
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.r-bar .fill {
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
}


/* ===========================================
   V5 & GLOBAL PAGES (Categorias, Comunidad, List View)
   =========================================== */

/* --- FEED GRID (Legacy/Fallback) --- */
.feed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
    padding: 32px clamp(16px, 4vw, 40px);
    max-width: 1400px;
    margin: 0 auto;
}

.feed-card {
    background: var(--bg2);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform .25s, border-color .25s;
}

.feed-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
}

.card-thumb {
    display: block;
    height: 200px;
    background: linear-gradient(135deg, var(--bg3), var(--bg2));
    background-size: cover;
    background-position: center;
    position: relative;
}

.placeholder-label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 2rem;
    color: rgba(255, 255, 255, .06);
    letter-spacing: 4px;
}

.card-cat {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--accent);
    color: #000;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: .72rem;
    font-weight: 800;
    text-transform: uppercase;
}

.card-body {
    padding: 22px;
}

.card-body h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
    line-height: 1.3;
}

.card-body h3 a {
    color: #fff;
}

.card-body h3 a:hover {
    color: var(--accent);
}

.card-body p {
    color: var(--text2);
    font-size: .9rem;
    margin: 0 0 16px;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: .78rem;
    color: var(--text2);
}

.empty-msg {
    text-align: center;
    color: var(--text2);
    padding: 60px 20px;
}

/* --- LIST VIEW --- */
.list-view-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.list-header {
    text-align: center;
    margin-bottom: 50px;
}

.list-header h1 {
    font-size: 2.8rem;
    font-weight: 900;
    margin: 0 0 10px;
}

.list-header p {
    color: var(--text2);
    font-size: 1.15rem;
    margin-bottom: 30px;
}

.list-search {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
}

.list-search input {
    flex-grow: 1;
    padding: 16px 20px;
    font-size: 1.1rem;
    background: var(--bg2);
    border: 1px solid rgba(255, 255, 255, .1);
    color: #fff;
    border-radius: 8px 0 0 8px;
    border-right: none;
    outline: none;
}

.list-search input:focus {
    border-color: var(--accent);
}

.list-search button {
    border-radius: 0 8px 8px 0;
    padding: 0 30px;
    font-size: 1.1rem;
    border: 1px solid var(--accent);
}

.list-hero {
    border-radius: var(--radius);
    overflow: hidden;
    height: 380px;
    background-color: var(--bg3);
    background-size: cover;
    background-position: center;
    position: relative;
    margin: 40px 0;
    border: 1px solid var(--border);
}

.l-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(8, 12, 20, 0.95), rgba(8, 12, 20, 0.2) 70%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 40px;
    box-sizing: border-box;
}

.l-hero-overlay h2 {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 10px 0;
}

.l-hero-overlay h2 a {
    color: #fff;
}

.l-hero-overlay h2 a:hover {
    color: var(--accent);
}

.l-hero-overlay p {
    color: #c9d1d9;
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 0 10px;
}

.list-items {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.list-card {
    display: flex;
    background: var(--bg2);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.list-card:hover {
    transform: translateX(5px);
    border-color: var(--accent);
    box-shadow: 0 10px 30px rgba(0, 229, 160, 0.15);
}

.list-card:hover .list-thumb {
    transform: scale(1.05);
}

.list-thumb {
    width: 300px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--bg3);
    position: relative;
    transition: transform 0.4s ease;
}

.list-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.list-body .card-cat {
    position: absolute;
    top: 20px;
    right: 20px;
    left: auto;
}

.list-body h2 {
    font-size: 1.6rem;
    margin: 0 0 12px;
    line-height: 1.2;
}

.list-body h2 a {
    color: #fff;
}

.list-body p {
    color: var(--text2);
    margin: 0 0 16px;
    font-size: 1rem;
}

.list-meta {
    color: var(--accent);
    font-weight: 600;
    font-size: .85rem;
    text-transform: uppercase;
}

/* --- SINGLE ARTICLE ENHANCEMENTS --- */
.edvr-author-box {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    margin: 60px 0 40px;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--bg);
}

.author-info h4 {
    margin: 0 0 8px;
    font-size: 1.2rem;
    color: #fff;
}

.author-info h4 span {
    color: var(--accent);
}

.author-info p {
    margin: 0;
    color: var(--text2);
    font-size: .95rem;
}

.edvr-related {
    margin: 50px 0;
}

.edvr-related h3 {
    border-bottom: 2px solid var(--accent);
    display: inline-block;
    padding-bottom: 6px;
    margin-bottom: 24px;
}

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

.related-card {
    display: block;
    height: 160px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
}

.related-card:hover {
    border-color: var(--accent);
}

.related-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.2));
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.related-overlay h4 {
    color: #fff;
    margin: 0;
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 700;
}


/* --- CATEGORIES HUB --- */
.hub-header {
    text-align: center;
    padding: 60px 20px 30px;
}

.hub-header h1 {
    font-size: 2.8rem;
    font-weight: 900;
    margin: 0 0 10px;
}

.hub-header p {
    color: var(--text2);
    font-size: 1.15rem;
    margin: 0;
}

.hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    padding: 0 clamp(16px, 4vw, 40px) 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.hub-tile {
    background: var(--bg2);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    border: 1px solid var(--border);
    transition: transform .2s, border-color .2s;
    display: block;
}

.hub-tile:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.hub-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.hub-tile h3 {
    color: #fff;
    margin: 0 0 8px;
    font-size: 1.25rem;
}

.hub-tile p {
    color: var(--text2);
    font-size: .88rem;
    margin: 0 0 12px;
}

.hub-count {
    color: var(--accent);
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* --- COMMUNITY PAGE --- */
.community-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 40px);
}

.community-hero {
    text-align: center;
    padding: 60px 0 40px;
}

.community-hero h1 {
    font-size: 2.8rem;
    font-weight: 900;
    margin: 0 0 10px;
}

.community-hero p {
    color: var(--text2);
    font-size: 1.15rem;
}

.community-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
}

.community-left h3,
.community-right h3 {
    margin-top: 0;
}

.disc-list {
    list-style: none;
    padding: 0;
}

.disc-list li {
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}

.disc-meta {
    font-size: .85rem;
    margin-bottom: 6px;
}

.disc-meta strong {
    color: var(--accent);
}

.disc-meta a {
    color: var(--text2);
}

.disc-text {
    color: var(--text2);
    font-size: .92rem;
}

.empty-state {
    text-align: center;
    padding: 40px;
    background: var(--bg2);
    border-radius: var(--radius);
}

.empty-state p {
    color: var(--text2);
    margin-bottom: 20px;
}

.quick-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.qlink {
    display: block;
    padding: 14px 18px;
    background: var(--bg2);
    border-radius: 10px;
    color: var(--text) !important;
    font-weight: 600;
    border: 1px solid var(--border);
    transition: border-color .2s;
}

.qlink:hover {
    border-color: var(--accent);
}

.newsletter-box {
    background: var(--bg2);
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.newsletter-box h4 {
    margin: 0 0 6px;
    color: #fff;
}

.newsletter-box p {
    color: var(--text2);
    font-size: .9rem;
    margin: 0 0 14px;
}

.nl-input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    background: var(--bg);
    border: 1px solid rgba(255, 255, 255, .1);
    color: #fff;
    margin-bottom: 10px;
}

.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background: var(--accent);
    color: #000 !important;
    font-weight: 800;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background .2s;
}

.btn-primary:hover {
    background: #fff;
}

.full-w {
    width: 100%;
}

/* --- FOOTER (Horizontal) --- */
.edvr-footer {
    background: var(--bg2);
    border-top: 1px solid var(--border);
    margin-top: 80px;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px clamp(16px, 4vw, 40px);
    flex-wrap: wrap;
    gap: 12px;
}

.footer-brand {
    font-weight: 900;
    font-size: 1.1rem;
    color: #fff;
}

.footer-brand span {
    color: var(--accent);
}

.footer-nav a {
    color: var(--text2);
    margin: 0 14px;
    font-size: .85rem;
    font-weight: 500;
}

.footer-nav a:hover {
    color: var(--accent);
}

.footer-copy {
    color: rgba(255, 255, 255, .25);
    font-size: .8rem;
}

/* --- TABLE OF CONTENTS (AGGRESSIVE) --- */
div#ez-toc-container,
#ez-toc-container {
    background: var(--bg2) !important;
    border: 1px solid rgba(255, 255, 255, .08) !important;
    border-radius: var(--radius) !important;
    box-shadow: none !important;
    padding: 20px !important;
    color: var(--text) !important;
}

#ez-toc-container p.ez-toc-title {
    color: var(--accent) !important;
    font-weight: 700 !important;
}

#ez-toc-container ul li a {
    color: var(--text2) !important;
}

#ez-toc-container ul li a:hover {
    color: #fff !important;
}

#ez-toc-container .ez-toc-list {
    background: transparent !important;
}

/* --- COMMENTS (AGGRESSIVE) --- */
#respond,
.comments-area,
.comment-list,
.comment-body,
.comment-content,
.comment-respond {
    background: var(--bg2) !important;
    color: var(--text) !important;
    border: none !important;
}

#respond {
    padding: 30px !important;
    border-radius: var(--radius) !important;
    border: 1px solid rgba(255, 255, 255, .06) !important;
}

#reply-title {
    color: #fff !important;
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
textarea,
input[type="text"],
input[type="email"] {
    background: var(--bg) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, .1) !important;
    border-radius: 8px !important;
    padding: 12px !important;
}

input[type="submit"],
.form-submit input {
    background: var(--accent) !important;
    color: #000 !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
}

input[type="submit"]:hover {
    background: var(--text) !important;
}

/* Hide fallback GP featured image if it still shows */
.single .featured-image {
    display: none !important;
}

/* --- PURE PREMIUM EDITORIAL TYPOGRAPHY --- */
.entry-content {
    font-size: 1.15rem;
    line-height: 1.85;
    color: var(--text2);
    /* Softer base text for high contrast against headings */
}

/* 1. Lead-in Paragraph (The Hook) */
.entry-content>p:first-of-type {
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 35px;
    letter-spacing: -0.2px;
}

/* 2. Spacing */
.entry-content p {
    margin-bottom: 32px;
}

/* 3. Structural Headings */
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5 {
    color: var(--text);
    font-weight: 900;
    line-height: 1.25;
}

.entry-content h2 {
    font-size: 2.2rem;
    margin-top: 2.5em;
    margin-bottom: 0.8em;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(128, 128, 128, 0.15);
    letter-spacing: -0.5px;
}

.entry-content h3 {
    font-size: 1.6rem;
    margin-top: 2em;
    margin-bottom: 0.8em;
    padding-left: 18px;
    border-left: 5px solid var(--accent);
}

/* 4. Custom Elegant Lists */
.entry-content ul,
.entry-content ol {
    margin: 0 0 35px 0;
    padding-left: 10px;
    list-style: none;
    /* Strip native bullets */
}

.entry-content ul li,
.entry-content ol li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 16px;
    line-height: 1.7;
}

.entry-content ul li::before {
    content: "";
    /* Custom glowing bullet */
    position: absolute;
    left: 0;
    top: 12px;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 229, 160, 0.4);
}

/* 5. Luxury Pull-Quotes */
.entry-content blockquote {
    margin: 45px 0;
    padding: 35px 40px;
    background: linear-gradient(135deg, rgba(0, 229, 160, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-left: 6px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 1.4rem;
    font-weight: 600;
    font-style: italic;
    color: var(--text);
    line-height: 1.6;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.entry-content blockquote p {
    margin: 0 !important;
}

/* 6. Premium Media Handling */
.entry-content img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin: 40px 0;
    display: block;
    max-width: 100%;
}

figure.wp-block-image {
    margin: 45px 0;
}

figure.wp-block-image figcaption {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text2);
    margin-top: 12px;
    font-style: italic;
}

.entry-content a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(0, 229, 160, 0.4);
    transition: text-decoration-color 0.2s;
}

.entry-content a:hover {
    text-decoration-color: var(--accent);
    color: #fff;
}

/* Product Box (inline in posts) */
.product-box {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    margin: 30px 0;
    transition: border-color .2s;
}

.product-box:hover {
    border-color: var(--accent);
}

.product-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 12px;
}

.product-description {
    color: var(--text2);
    margin-bottom: 18px;
}

.product-button {
    display: inline-block;
    padding: 14px 28px;
    background: var(--accent);
    color: #000 !important;
    font-weight: 800;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.product-button:hover {
    background: var(--text);
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .bento-hero {
        grid-template-columns: 1fr;
        grid-template-rows: 300px 200px;
    }

    .bento-main {
        grid-column: 1;
        grid-row: 1;
    }

    .bside-1 {
        grid-column: 1;
        grid-row: 2;
    }

    .bside-2 {
        display: none;
    }

    /* Hide 3rd on tablet */

    .home-layout-grid {
        grid-template-columns: 1fr;
    }

    .premium-feed {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .community-content {
        grid-template-columns: 1fr;
    }

    .hub-grid {
        grid-template-columns: 1fr 1fr;
    }

    .list-card {
        flex-direction: column;
    }

    .list-thumb {
        width: 100%;
        height: 200px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .edvr-author-box {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .nav-main {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--bg);
        padding: 20px;
        flex-direction: column;
    }

    .nav-main.open {
        display: flex;
    }

    .nav-main a {
        margin: 8px 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .bento-hero {
        margin: 20px auto;
        padding: 0 16px;
        grid-template-rows: auto auto auto;
        grid-template-columns: 1fr;
        height: auto;
    }

    .bento-main {
        min-height: 300px;
    }

    .bento-side {
        min-height: 200px;
    }

    .bento-main h2 {
        font-size: 1.6rem;
    }

    .bento-side h3 {
        font-size: 1.1rem;
    }

    .main-score {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .feed-grid {
        grid-template-columns: 1fr;
        padding: 16px;
        gap: 18px;
    }

    .hub-grid {
        grid-template-columns: 1fr;
    }

    .hub-header h1 {
        font-size: 2rem;
    }

    .community-hero h1 {
        font-size: 2rem;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .list-search {
        flex-direction: column;
    }

    .list-search input {
        border-radius: 8px;
        margin-bottom: 10px;
        border-right: 1px solid rgba(255, 255, 255, .1);
    }

    .list-search button {
        border-radius: 8px;
        width: 100%;
    }
}

/* --- BULLETPROOF TOC HIDER --- */
/* Solo permitimos la tabla de contenidos nativa dentro de los artículos (single posts) */
body:not(.single-post) #ez-toc-container,
body:not(.single-post) .ez-toc-container,
body:not(.single-post) nav:has(.ez-toc-list),
body:not(.single-post) nav .ez-toc-list,
body:not(.single-post) .ez-toc-v2_0_69_1 {
    display: none !important;
}

/* =========================================================================
   V10: UTILITY SHORTCODES (Buttons, Alerts, Highlights)
   ========================================================================= */

/* --- Button --- */
.edvr-btn {
    display: inline-flex;
    align-items: center;
    background: var(--accent);
    color: #000;
    padding: 12px 24px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin: 15px 0;
}

.edvr-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 229, 160, 0.3);
    color: #000;
}

/* --- Alerts --- */
.edvr-alert {
    padding: 20px;
    border-radius: var(--radius);
    margin: 20px 0;
    font-size: 1.05rem;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: var(--bg2);
    border-left: 4px solid var(--accent);
    color: var(--text);
}

.edvr-alert.alert-warning {
    border-left-color: #f1c40f;
    background: rgba(241, 196, 15, 0.05);
}

.edvr-alert.alert-danger {
    border-left-color: #e74c3c;
    background: rgba(231, 76, 60, 0.05);
}

.edvr-alert.alert-info {
    border-left-color: #3498db;
    background: rgba(52, 152, 219, 0.05);
}

/* --- Highlight --- */
.edvr-high {
    background: rgba(0, 229, 160, 0.15);
    color: var(--accent);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
}

/* --- Blockquote --- */
.edvr-quote {
    margin: 30px 0;
    padding: 20px 30px;
    background: linear-gradient(90deg, rgba(0, 229, 160, 0.1) 0%, rgba(25, 32, 47, 0) 100%);
    border-left: 4px solid var(--accent);
    font-size: 1.3rem;
    font-style: italic;
    color: #fff;
    border-radius: 0 8px 8px 0;
}

.edvr-quote p {
    margin: 0;
}

.edvr-quote cite {
    display: block;
    margin-top: 15px;
    font-size: 0.95rem;
    color: var(--accent);
    font-weight: bold;
    font-style: normal;
}

/* --- Accordion (Spoiler) --- */
.edvr-spoiler {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin: 20px 0;
    overflow: hidden;
}

.edvr-spoiler summary {
    padding: 18px 20px;
    font-weight: bold;
    cursor: pointer;
    background: var(--bg3);
    color: #fff;
    list-style: none;
    /* Hide default arrow */
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.edvr-spoiler summary::-webkit-details-marker {
    display: none;
}

.edvr-spoiler summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent);
    transition: transform 0.3s;
}

.edvr-spoiler[open] summary::after {
    transform: rotate(45deg);
}

.spoiler-content {
    padding: 20px;
    border-top: 1px solid var(--border);
}

/* --- Specs Box --- */
.edvr-specs-box {
    background: var(--bg2);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin: 20px 0;
    overflow: hidden;
}

.specs-title {
    background: var(--accent);
    color: #000;
    padding: 12px 20px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.specs-body {
    padding: 20px;
    font-family: monospace;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* --- YouTube Wrapper (16:9 Responsive) --- */
.edvr-yt-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 30px 0;
    border-radius: var(--radius);
    background: #000;
}

.edvr-yt-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- AUTO REVIEW SUMMARY BOX --- */
.edvr-review-summary {
    background: var(--bg2);
    border-radius: var(--radius);
    border: 1px solid rgba(0, 229, 160, 0.3);
    padding: 30px;
    margin-bottom: 40px;
}

.rs-header {
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.rs-score {
    background: var(--accent);
    color: #000;
    font-size: 2.5rem;
    font-weight: 900;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 4px solid #000;
    flex-shrink: 0;
    box-shadow: 0 5px 20px rgba(0, 229, 160, 0.4);
}

.rs-verdict h4 {
    margin: 0 0 5px;
    color: var(--text2);
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rs-verdict p {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.rs-lists {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.rs-pros h5,
.rs-cons h5 {
    margin: 0 0 15px;
    font-size: 1.1rem;
    color: #fff;
}

.rs-pros ul,
.rs-cons ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.rs-pros li,
.rs-cons li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--text);
}

.rs-pros li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.rs-cons li::before {
    content: '✕';
    position: absolute;
    left: 0;
    color: var(--accent2);
    font-weight: bold;
}

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

/* --- AUTHOR BIO --- */
.edvr-author-box {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg2);
    padding: 30px;
    border-radius: var(--radius);
    margin: 60px 0 40px;
    border: 1px solid var(--border);
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--accent);
}

.author-info h4 {
    margin: 0 0 5px;
    font-size: 1.2rem;
}

.author-info h4 span {
    color: var(--accent);
    font-weight: 900;
}

.author-info p {
    margin: 0;
    color: var(--text2);
    font-size: .95rem;
}

/* --- RELATED REVIEWS --- */
.edvr-related h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
    padding-bottom: 5px;
}

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

.related-card {
    height: 160px;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
}

.related-card:hover {
    border-color: var(--accent);
}

.related-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(8, 12, 20, 0.9), transparent);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.related-overlay h4 {
    margin: 0;
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.2;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

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

/* ═══════════════════════════════════════════════════
   V7: HOMEPAGE DASHBOARD — CAROUSEL
   ═══════════════════════════════════════════════════ */
.home-carousel {
    position: relative;
    width: 100%;
    height: 480px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 40px;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 50px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}

.carousel-overlay h2 {
    font-size: 2rem;
    margin: 10px 0 8px;
    line-height: 1.2;
}

.carousel-overlay h2 a {
    color: #fff;
    text-decoration: none;
}

.carousel-overlay h2 a:hover {
    color: var(--accent);
}

.carousel-excerpt {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin: 0 0 12px;
    max-width: 600px;
}

.carousel-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

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

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s;
    margin: 0 4px;
    padding: 0;
}

.carousel-dots .dot.active {
    background: #fff;
    transform: scale(1.3);
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    font-size: 1.8rem;
    cursor: pointer;
    border-radius: 50%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    padding: 0;
    margin: 0;
}

.carousel-arrow i,
.carousel-arrow svg {
    display: block;
    margin: auto;
    padding: 0;
    line-height: 1;
}

.carousel-arrow:hover {
    background: var(--accent);
    color: #000;
}

.arrow-left {
    left: 16px;
}

.arrow-right {
    right: 16px;
}

/* ═══════════════════════════════════════════════════
   V7: ÚLTIMAS NOTICIAS GRID (4 cards)
   ═══════════════════════════════════════════════════ */
.home-section {
    margin-bottom: 50px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.section-title h2 {
    margin: 0;
    white-space: nowrap;
}

.section-link {
    color: var(--accent);
    font-size: 0.9rem;
    white-space: nowrap;
    text-decoration: none;
    font-weight: 600;
    margin-left: auto;
}

.section-link:hover {
    text-decoration: underline;
}

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

.news-card-mini {
    background: var(--bg2);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.04);
    transition: transform 0.2s, border-color 0.2s;
}

.news-card-mini:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.ncm-thumb {
    display: block;
    height: 160px;
    background-size: cover;
    background-position: center;
    background-color: var(--bg3);
    position: relative;
}

.ncm-thumb .card-cat {
    position: absolute;
    top: 10px;
    left: 10px;
}

.ncm-body {
    padding: 15px;
}

.ncm-body h3 {
    font-size: 0.95rem;
    line-height: 1.3;
    margin: 0 0 8px;
}

.ncm-body h3 a {
    color: #fff;
    text-decoration: none;
}

.ncm-body h3 a:hover {
    color: var(--accent);
}

.ncm-date {
    font-size: 0.8rem;
    color: var(--text2);
}

/* ═══════════════════════════════════════════════════
   V7: CATEGORÍAS GRID
   ═══════════════════════════════════════════════════ */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.cat-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 25px 15px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.cat-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    background: rgba(0, 229, 160, 0.05);
}

.cat-icon {
    font-size: 2rem;
}

.cat-card strong {
    font-size: 0.95rem;
}

.cat-count {
    font-size: 0.8rem;
    color: var(--text2);
}

/* ═══════════════════════════════════════════════════
   V7: GUÍAS DESTACADAS GRID
   ═══════════════════════════════════════════════════ */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.guide-card {
    display: block;
    height: 220px;
    border-radius: var(--radius);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: var(--bg3);
    position: relative;
    text-decoration: none;
    transition: transform 0.2s;
}

.guide-card:hover {
    transform: translateY(-4px);
}

.guide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}

.guide-overlay h3 {
    font-size: 1.1rem;
    color: #fff;
    margin: 8px 0 4px;
}

.guide-overlay p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* ═══════════════════════════════════════════════════
   V7: NEW POST SHORTCODES
   ═══════════════════════════════════════════════════ */

/* Price Card */
.edvr-price-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(0, 229, 160, 0.08), rgba(0, 229, 160, 0.02));
    border: 1px solid rgba(0, 229, 160, 0.2);
    border-radius: var(--radius);
    padding: 20px 25px;
    margin: 25px 0;
    gap: 20px;
}

.price-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.price-name {
    font-size: 1.1rem;
    color: #fff;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-old {
    font-size: 0.95rem;
    color: var(--text2);
    text-decoration: line-through;
}

.price-current {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--accent);
}

.price-store {
    font-size: 0.85rem;
    color: var(--text2);
}

.price-btn {
    white-space: nowrap;
    padding: 12px 28px !important;
    font-size: 1rem !important;
}

/* Comparison Table */
.edvr-comparison {
    background: var(--bg2);
    border-radius: var(--radius);
    overflow: hidden;
    margin: 25px 0;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.comp-title {
    padding: 15px 20px;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.comp-table {
    width: 100%;
    border-collapse: collapse;
}

.comp-table th,
.comp-table td {
    padding: 12px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.comp-table th {
    background: rgba(0, 229, 160, 0.08);
    color: var(--accent);
    font-weight: 700;
    font-size: 1rem;
}

.comp-table td {
    color: var(--text2);
    font-size: 0.95rem;
}

.comp-table tr:last-child td {
    border-bottom: none;
}

/* Gallery */
.edvr-gallery {
    display: grid;
    gap: 10px;
    margin: 25px 0;
}

.gal-item {
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
}

.gal-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.gal-item:hover img {
    transform: scale(1.05);
}

.gal-item figcaption {
    padding: 8px 10px;
    font-size: 0.8rem;
    color: var(--text2);
    background: var(--bg2);
    text-align: center;
}

/* Rating Bar */
.edvr-rating-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 10px 0;
}

.rb-label {
    min-width: 120px;
    font-size: 0.95rem;
    color: #fff;
    font-weight: 600;
}

.rb-track {
    flex: 1;
    height: 8px;
    background: var(--bg3);
    border-radius: 4px;
    overflow: hidden;
}

.rb-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.6s ease;
}

.rb-score {
    font-size: 1rem;
    font-weight: 700;
    min-width: 40px;
    text-align: right;
}

/* TL;DR Box */
.edvr-tldr {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.1), rgba(88, 101, 242, 0.03));
    border: 1px solid rgba(88, 101, 242, 0.25);
    border-left: 4px solid #5865F2;
    border-radius: var(--radius);
    padding: 20px 25px;
    margin: 25px 0;
}

.tldr-badge {
    display: inline-block;
    background: #5865F2;
    color: #fff;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.tldr-content {
    color: var(--text2);
    font-size: 1rem;
    line-height: 1.6;
}

.tldr-content p {
    margin: 0;
}

/* ═══════════════════════════════════════════════════
   V7: RESPONSIVE
   ═══════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .home-carousel {
        height: 350px;
    }

    .carousel-overlay {
        padding: 25px 20px;
    }

    .carousel-overlay h2 {
        font-size: 1.4rem;
    }

    .news-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .guides-grid {
        grid-template-columns: 1fr;
    }

    .cat-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .edvr-price-card {
        flex-direction: column;
        text-align: center;
    }

    .rb-label {
        min-width: 80px;
        font-size: 0.85rem;
    }
}

@media (max-width: 600px) {
    .home-carousel {
        height: 280px;
    }

    .carousel-overlay h2 {
        font-size: 1.15rem;
    }

    .carousel-excerpt {
        display: none;
    }

    .news-grid-4 {
        grid-template-columns: 1fr;
    }

    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .comp-table th,
    .comp-table td {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
}

/* LIGHT THEME OVERRIDES FOR TEXT AND SPECIFIC ELEMENTS */
body.light-theme .logo,
body.light-theme a:hover,
body.light-theme .card-body h3 a,
body.light-theme .feed-card h3 a,
body.light-theme .p-card h3 a,
body.light-theme .list-card h2 a,
body.light-theme .bento-main h2 a,
body.light-theme .bento-side h3 a,
body.light-theme .ncm-body h3 a,
body.light-theme .widget-rank h3,
body.light-theme .r-info strong,
body.light-theme .comp-title,
body.light-theme .rb-label,
body.light-theme .price-name,
body.light-theme .rs-verdict-title,
body.light-theme .rs-pros div,
body.light-theme .rs-cons div,
body.light-theme .section-title h2,
body.light-theme .list-header h1,
body.light-theme h1,
body.light-theme h2,
body.light-theme h3,
body.light-theme .price-current,
body.light-theme .edvr-review-summary .rs-score,
body.light-theme .card-body p,
body.light-theme .feed-card p,
body.light-theme .p-body p,
body.light-theme .widget-rank p,
body.light-theme .list-header p {
    color: var(--text) !important;
    text-shadow: none;
}

body.light-theme .card-meta,
body.light-theme .p-date,
body.light-theme .r-info span,
body.light-theme .price-store,
body.light-theme .rs-verdict p,
body.light-theme .carousel-meta span,
body.light-theme .carousel-excerpt {
    color: var(--text2) !important;
}

body.light-theme .carousel-overlay {
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.95));
}

body.light-theme .carousel-overlay h2 a {
    color: var(--text) !important;
}

body.light-theme .bento-overlay {
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.4) 60%, transparent);
}

body.light-theme .bento-tag {
    background: rgba(0, 0, 0, 0.05);
    color: #000;
    border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .related-overlay div {
    color: #fff !important;
    /* Keep related cover text white over image */
}

body.light-theme .guide-overlay h3,
body.light-theme .guide-overlay p {
    color: #fff !important;
    /* Keep image overlays white */
}

body.light-theme .l-hero-overlay h2 a,
body.light-theme .l-hero-overlay p {
    color: #fff !important;
}

/* THEME TOGGLE BUTTON */
.theme-toggle-btn {
    background: var(--bg3);
    border: 1px solid var(--border);
    color: var(--text);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 20px;
    transition: all 0.2s;
    padding: 0;
    /* Ensures the inner icon is exactly perfectly centered */
}

.theme-toggle-btn i,
.theme-toggle-btn svg {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    line-height: 1;
}

.theme-toggle-btn:hover {
    background: var(--accent);
    color: #000;
}

/* NEW PRICE CARD WITH IMAGE SUPPORT */
.edvr-price-card {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.2s, border-color 0.2s;
}

.edvr-price-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.edvr-price-card.has-img {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 25px;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
}

.price-img {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.price-img img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
}

.price-content {
    padding: 20px 25px 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
}

@media (max-width: 768px) {
    .edvr-price-card.has-img {
        grid-template-columns: 1fr;
    }

    .price-img {
        border-bottom: 1px solid var(--border);
    }

    .price-content {
        padding: 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .price-info {
        margin-right: 0 !important;
    }

    .price-btn {
        width: 100%;
        text-align: center;
    }
}

/* --- NEW FEATURES CSS --- */
.edvr-progress-container {
    position: fixed;
    top: 60px;
    /* Below header */
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 998;
}

.edvr-progress-bar {
    height: 100%;
    background: var(--accent);
    width: 0%;
    transition: width 0.1s ease;
}

.edvr-btt {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: #000;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
}

.edvr-btt.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.edvr-btt:hover {
    transform: translateY(-5px) scale(1.05);
    background: #000;
    color: var(--accent);
}

/* --- COMPREHENSIVE LIGHT THEME OVERRIDES --- */
body.light-theme .edvr-header {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
}

body.light-theme .nav-main a {
    color: #475569 !important;
}

body.light-theme .nav-main a:hover {
    color: var(--accent-light) !important;
}

body.light-theme .ticker {
    background: var(--bg2);
    border-color: var(--border);
}

body.light-theme .ticker-items a {
    color: #475569;
}

body.light-theme .ticker-items a:hover {
    color: #000;
}

body.light-theme .edvr-footer {
    background: var(--bg2);
    border-top: 1px solid var(--border);
}

body.light-theme .footer-nav a {
    color: #475569;
}

body.light-theme .footer-copy {
    color: #94a3b8;
}

body.light-theme .empty-state p,
body.light-theme .empty-msg {
    color: #475569;
}

body.light-theme blockquote {
    background: var(--bg2);
    border-left-color: var(--accent-light);
    color: var(--text);
}

body.light-theme pre,
body.light-theme code {
    background: var(--bg3);
    color: #0f172a;
    border: 1px solid var(--border);
}

body.light-theme .edvr-youtube-wrap {
    border: 5px solid var(--border);
}

body.light-theme .comp-table th {
    background: rgba(0, 0, 0, 0.05);
    color: #000;
}

body.light-theme .comp-table tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.02);
}

body.light-theme .comp-table td {
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

body.light-theme .edvr-share a {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    color: #fff !important;
}

body.light-theme .tldr-badge {
    color: #fff !important;
    background: #4f46e5 !important;
}

/* Elegant Accents for Light Theme */
body.light-theme .card-cat.cat-noticias {
    background: var(--accent2) !important;
}

body.light-theme .card-cat.cat-guias {
    background: #4f46e5 !important;
}

/* Indigo 600 */
body.light-theme .card-cat.cat-hardware {
    background: #ea580c !important;
}

/* Orange 600 */
body.light-theme .card-cat.cat-laptops {
    background: #9333ea !important;
}

/* Purple 600 */

body.light-theme .edvr-alert.alert-danger {
    border-left-color: var(--accent2) !important;
    background: rgba(225, 29, 72, 0.08) !important;
}

body.light-theme .edvr-alert.alert-warning {
    border-left-color: #d97706 !important;
    background: rgba(217, 119, 6, 0.08) !important;
}

body.light-theme .edvr-alert.alert-info {
    border-left-color: #2563eb !important;
    background: rgba(37, 99, 235, 0.08) !important;
}

body.light-theme .edvr-high {
    background: rgba(5, 150, 105, 0.1) !important;
    color: var(--accent-light) !important;
}

body.light-theme a {
    color: var(--text);
}

body.light-theme a:hover {
    color: var(--accent-light);
}

/* ===========================================
   V8: UTILITY SHORTCODES (Deals, PC Builds, Pros/Cons)
   =========================================== */

/* --- DEAL CARD --- */
.edvr-deal-card {
    background: linear-gradient(135deg, var(--bg3), var(--bg2));
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.deal-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--accent);
    color: #000;
    font-weight: 800;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-bottom-left-radius: 12px;
    text-transform: uppercase;
}

.deal-info {
    flex: 1;
    min-width: 200px;
}

.deal-title {
    margin: 0 0 10px;
    font-size: 1.3rem;
    color: #fff;
}

.deal-prices {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.deal-old {
    text-decoration: line-through;
    color: var(--text2);
    font-size: 1rem;
}

.deal-current {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
}

.deal-btn {
    padding: 12px 24px !important;
    font-size: 1rem !important;
    white-space: nowrap;
}

/* --- PC BUILD LIST --- */
.edvr-pc-build {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin: 30px 0;
}

.build-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
    padding-bottom: 5px;
}

.build-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.build-list li {
    margin-bottom: 12px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
    padding-bottom: 12px;
}

.build-list li:last-child {
    margin: 0;
    border: none;
    padding: 0;
}

.build-list a {
    display: flex;
    justify-content: space-between;
    color: var(--text);
    text-decoration: none;
}

.build-list a:hover {
    color: var(--accent);
}

.build-list li>span,
.build-list a>span {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.build-comp {
    font-weight: 600;
}

.build-price {
    font-weight: 800;
    color: var(--accent);
}

/* --- PROS / CONS SIMPLE --- */
.edvr-pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

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

.pca-pros,
.pca-cons {
    background: var(--bg2);
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid var(--border);
}

.pca-pros {
    border-top: 3px solid #00e5a0;
}

.pca-cons {
    border-top: 3px solid #ff3366;
}

.pca-title {
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.pca-pros ul,
.pca-cons ul {
    padding-left: 20px;
    margin: 0;
}

.pca-pros li,
.pca-cons li {
    margin-bottom: 8px;
    color: var(--text2);
}

/* Light theme overrides for new elements */
body.light-theme .edvr-deal-card {
    background: #fff;
}

body.light-theme .deal-title {
    color: var(--text);
}

body.light-theme .edvr-pc-build {
    background: #fff;
}

body.light-theme .build-title {
    color: var(--text);
}

body.light-theme .pca-title {
    color: var(--text);
}

body.light-theme .pca-pros,
body.light-theme .pca-cons {
    background: #fff;
}

body.light-theme .build-list li {
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

/* ===========================================
   V9: GLASSMORPHISM & NEON GLOW EFFECTS
   =========================================== */

/* Neon Glow on Cards */
.p-card {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s, border-color 0.3s;
}

.news-card-mini {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s, border-color 0.3s;
}

.guide-card {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
}

.edvr-deal-card {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s, border-color 0.3s;
}

.p-card:hover,
.news-card-mini:hover,
.guide-card:hover,
.edvr-deal-card:hover {
    box-shadow: 0 10px 30px rgba(0, 229, 160, 0.15);
    /* Green neon glow */
    transform: translateY(-6px);
}

/* Glassmorphism overlays */
.carousel-overlay {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6)) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.guide-overlay,
.related-overlay {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6)) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Animated Carousel Dots */
.carousel-dots .dot {
    width: 12px !important;
    height: 12px !important;
    border-radius: 6px !important;
    border: none;
    background: rgba(255, 255, 255, 0.3) !important;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    margin: 0 5px !important;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.carousel-dots .dot.active {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: scale(1) !important;
    width: 40px !important;
}

.carousel-dots .dot.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--accent);
    animation: edvrSlideProgress 6s linear forwards;
}

@keyframes edvrSlideProgress {
    to {
        width: 100%;
    }
}

/* Light theme fixes for glassmorphism */
body.light-theme .carousel-overlay,
body.light-theme .guide-overlay,
body.light-theme .related-overlay {
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.8)) !important;
}

body.light-theme .p-card:hover,
body.light-theme .news-card-mini:hover,
body.light-theme .guide-card:hover,
body.light-theme .edvr-deal-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

body.light-theme .carousel-dots .dot {
    background: rgba(0, 0, 0, 0.3) !important;
}

body.light-theme .carousel-dots .dot.active {
    background: rgba(0, 0, 0, 0.6) !important;
}

body.light-theme .carousel-dots .dot.active::after {
    background: var(--accent);
}