/*
Theme Name: GoEfte
Theme URI: https://goefte.com
Author: Md. Efte Khairul Islam
Author URI: https://goefte.com
Description: A lightweight, responsive, SEO-friendly WordPress theme designed for blogs, reviews, tutorials, and affiliate websites.
Version: 1.0.0
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: goefte
Tags: blog, news, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, one-column, two-columns, right-sidebar
*/


/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
    --bg: #FAF8F2;
    --surface: #FFFFFF;
    --surface-2: #F1EEE2;
    --ink: #1A1D16;
    --ink-soft: #5B6152;
    --ink-faint: #8B8F7F;
    --pine: #26503D;
    --pine-light: #386B52;
    --pine-pale: #E4EEE6;
    --moss: #7C8F5E;
    --ochre: #B0812E;
    --ochre-light: #F4E6C6;
    --ochre-deep: #7C5A1F;
    --border: #E1DCC9;
    --border-strong: #CFC8AE;
    --danger: #A6402F;
    --white: #FFFFFF;
    --font-display: "Fraunces", Georgia, serif;
    --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
    --container: 1200px;
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --gap: 24px;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
    outline: 2px solid var(--pine);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ============================================
   LAYOUT
   ============================================ */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); font-weight: 600; line-height: 1.15; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 500; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; }
h4 { font-family: var(--font-display); color: var(--ink); font-weight: 600; font-size: 1rem; margin-bottom: 0.8rem; }
p { margin: 0 0 1rem; color: var(--ink-soft); }

/* ============================================
   GLOBAL UTILITIES
   ============================================ */
.text-center { text-align: center; }
.flex-center { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.5em; font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pine); }
.eyebrow::before { content: ""; width: 16px; height: 2px; background: var(--ochre); display: inline-block; }
.meta-dot { width: 3px; height: 3px; background: var(--border-strong); border-radius: 50%; flex-shrink: 0; }

/* ============================================
   BUTTONS
   ============================================ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; font-family: var(--font-body); font-weight: 600; font-size: 0.9rem; padding: 0.85em 1.6em; border-radius: 100px; border: 1.5px solid transparent; cursor: pointer; transition: all var(--transition); box-shadow: var(--shadow-sm); }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--pine); box-shadow: var(--shadow-md); }
.btn-secondary { background: var(--pine); color: var(--white); }
.btn-secondary:hover { background: var(--pine-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: var(--surface); border-color: var(--border-strong); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-sm { padding: 0.6em 1.2em; font-size: 0.82rem; }
.btn-block { width: 100%; }

/* Icon-only button (e.g. search submit) — matches the height of a 44px input */
.search-form-btn {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.search-form-btn i {
    font-size: 1.1rem;
    line-height: 1;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translate(2px, 8px); /* compensates for this icon glyph's off-center weighting */
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(250, 248, 242, 0.8); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(225, 220, 201, 0.5); transition: all var(--transition); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--pine); display: flex; align-items: center; gap: 0.4em; }
.logo i { font-size: 1.6rem; }
.logo-tag { font-family: var(--font-body); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); margin-left: 0.6em; padding-left: 0.7em; border-left: 1px solid var(--border-strong); }

.nav-links { display: flex; gap: 2.5rem; }
.nav-links a { font-size: 0.88rem; font-weight: 500; color: var(--ink-soft); position: relative; transition: color var(--transition); }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--pine); transition: width var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 1rem; }

.nav-search-wrapper { position: relative; display: flex; align-items: center; }
.nav-search-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--ink-soft); cursor: pointer; transition: background var(--transition); background: none; border: none; padding: 0; font-family: inherit; }
.nav-search-btn:hover { background: var(--surface-2); }
.nav-search-area { position: absolute; right: 0; top: 50%; transform: translateY(-50%); background: var(--surface); border: 1px solid var(--border); border-radius: 100px; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; width: 0; padding: 0; transition: all 0.3s ease; overflow: hidden; display: flex; align-items: center; z-index: 50; }
.nav-search-area.is-active { opacity: 1; pointer-events: all; width: 280px; padding: 4px 4px 4px 16px; }
.nav-search-form { display: flex; align-items: center; width: 100%; gap: 8px; }
.nav-search-form input { border: none; background: none; width: 100%; font-family: var(--font-body); font-size: 0.9rem; outline: none; color: var(--ink); }
.nav-search-form input::placeholder { color: var(--ink-faint); }
.nav-search-form button { background: var(--pine); color: white; border: none; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; transition: background var(--transition); }
.nav-search-form button:hover { background: var(--pine-light); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: all var(--transition); display: block; }

.disclosure-bar { background: var(--ink); color: #E9F1EA; font-size: 0.78rem; text-align: center; padding: 0.5em 1rem; }
.disclosure-bar a { text-decoration: underline; color: #fff; font-weight: 500; }

/* ============================================
   MOBILE DRAWER
   ============================================ */
.mobile-menu { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(26, 29, 22, 0.5); z-index: 100; opacity: 0; pointer-events: none; transition: opacity var(--transition); }
.mobile-menu.is-open { opacity: 1; pointer-events: all; }
.mobile-menu-inner { background: var(--bg); width: 300px; height: 100%; padding: 2rem 1.5rem; transform: translateX(-100%); transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.mobile-menu.is-open .mobile-menu-inner { transform: translateX(0); }
.mobile-menu-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--ink); margin-bottom: 2rem; display: block; margin-left: auto; }
.mobile-search-form { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.mobile-search-form input { flex: 1; height: 44px; padding: 0 1rem; border-radius: 100px; border: 1px solid var(--border); background: var(--surface); font-family: var(--font-body); font-size: 0.95rem; color: var(--ink); }
.mobile-search-form input:focus { outline: none; border-color: var(--pine); }
.mobile-search-form button { width: 44px; height: 44px; border-radius: 50%; border: none; background: var(--pine); color: white; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mobile-menu-links { display: flex; flex-direction: column; gap: 1.5rem; }
.mobile-menu-links a { font-size: 1.2rem; font-weight: 600; color: var(--ink); }

/* ============================================
   HERO
   ============================================ */
.hero { padding: 3rem 0 3.5rem; border-bottom: 1px solid var(--border); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; }
.hero h1 { margin: 0.3em 0 0.8em; }
.hero-lede { font-size: 1.1rem; max-width: 48ch; line-height: 1.7; }
.hero-meta { display: flex; gap: 1.5rem; margin-top: 1.5rem; font-size: 0.85rem; color: var(--ink-faint); }
.hero-meta strong { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.hero-art { border-radius: var(--radius-lg); aspect-ratio: 4/3; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); background-color: var(--surface-2); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 6s ease; }
.hero-art:hover img { transform: scale(1.03); }
.hero-badge { position: absolute; bottom: 16px; left: 16px; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(8px); border-radius: 100px; padding: 0.6em 1.1em; font-size: 0.8rem; font-weight: 600; display: flex; align-items: center; gap: 0.5em; box-shadow: var(--shadow-md); }

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 4rem 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 2rem; gap: 1rem; }
.section-head p { margin: 0; }
.section-head-note { max-width: 280px; font-size: 0.9rem; margin: 0; color: var(--ink-soft); }
.section-alt { background: var(--surface-2); }

/* ============================================
   LEAF RATING
   ============================================ */
.leaf-rating { display: inline-flex; align-items: center; gap: 2px; }
.leaf-rating i { font-size: 14px; color: var(--border-strong); }
.leaf-rating i.is-filled { color: var(--moss); }
.leaf-rating i.is-half { position: relative; color: var(--border-strong); }
.leaf-rating i.is-half::before { content: "\ee3d"; position: absolute; left: 0; top: 0; color: var(--moss); clip-path: inset(0 50% 0 0); font-size: 12px; font-family: "tabler-icons"; }
.leaf-score { font-size: 0.82rem; font-weight: 700; color: var(--ink); margin-left: 6px; }
.leaf-rating-sm i { font-size: 12px; }

/* ============================================
   PRODUCT CARDS
   ============================================ */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: all var(--transition); box-shadow: var(--shadow-sm); }
.product-card:hover { border-color: transparent; transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-media { aspect-ratio: 4/3; overflow: hidden; position: relative; background: var(--surface-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.product-card:hover .card-media img { transform: scale(1.05); }
.card-tag { position: absolute; top: 12px; left: 12px; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(4px); color: var(--ink); font-size: 0.7rem; font-weight: 700; padding: 0.4em 0.8em; border-radius: 100px; text-transform: uppercase; letter-spacing: 0.04em; z-index: 3; }
.card-body { padding: 1.2rem 1.4rem 1.4rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.card-body h3 { margin: 0; }
.card-body .card-note { font-size: 0.88rem; margin: 0; line-height: 1.5; }
.card-price-row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--surface-2); position: relative; }
.card-price { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); }
.card-price span { font-size: 0.75rem; color: var(--ink-faint); font-family: var(--font-body); display: block; }

/* ============================================
   CATEGORY GRID
   ============================================ */
.category-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.category-tile { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem 0.8rem; text-align: center; transition: all var(--transition); }
.category-tile:hover { border-color: var(--pine); background: var(--pine-pale); transform: translateY(-2px); }
.category-tile i { font-size: 1.3rem; color: var(--pine); margin-bottom: 0.6rem; display: block; }
.category-tile span { font-weight: 600; font-size: 0.82rem; color: var(--ink); display: block; }
.category-tile small { display: block; color: var(--ink-faint); font-size: 0.7rem; margin-top: 3px; }

@media (max-width: 940px) {
    .category-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
}
@media (max-width: 600px) {
    .category-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
@media (max-width: 400px) {
    .category-grid { grid-template-columns: 1fr; gap: 10px; }
}

/* ============================================
   ARTICLE LIST
   ============================================ */
.article-list { display: flex; flex-direction: column; }
.article-row { display: grid; grid-template-columns: 280px 1fr; gap: 1.5rem; padding: 1.8rem 0; border-bottom: 1px solid var(--border); transition: all var(--transition); align-items: center; }
.article-row:first-child { padding-top: 0; }
.article-row:last-child { border-bottom: none; }
.article-thumb { background: var(--surface-2); border-radius: var(--radius); aspect-ratio: 16/10; overflow: hidden; flex-shrink: 0; position: relative; }
.article-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.article-row:hover .article-thumb img { transform: scale(1.05); }
.article-content h3 { margin-bottom: 0.4rem; transition: color var(--transition); }
.article-row:hover .article-content h3 { color: var(--pine); }
.article-content .card-note { font-size: 0.9rem; }
.article-content .card-meta { display: flex; align-items: center; gap: 0.8rem; margin-top: 0.6rem; font-size: 0.78rem; color: var(--ink-faint); flex-wrap: wrap; }
.article-content .card-meta strong { color: var(--ink-soft); font-weight: 600; }

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-container { max-width: 840px; margin: 2rem auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: border var(--transition), box-shadow var(--transition); }
.faq-item:hover { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.faq-item.is-open { border-color: var(--pine); box-shadow: var(--shadow-md); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; text-align: left; padding: 1.25rem 1.5rem; background: none; border: none; font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--ink); cursor: pointer; transition: color var(--transition); }
.faq-item:hover .faq-question { color: var(--pine); }
.faq-question::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--ink-soft); border-bottom: 2px solid var(--ink-soft); transform: rotate(45deg); transition: transform var(--transition), border-color var(--transition); flex-shrink: 0; margin-left: 1rem; }
.faq-item.is-open .faq-question::after { transform: rotate(-135deg); border-color: var(--pine); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--transition); }
.faq-answer-inner { padding: 0 1.5rem 1.5rem; font-family: var(--font-body); font-size: 0.95rem; color: var(--ink-soft); line-height: 1.6; }
.faq-answer-inner p:last-child { margin-bottom: 0; }

/* ============================================
   NEWSLETTER — reused by the Top Pick promo banner
   ============================================ */
.newsletter { background: var(--pine); border-radius: var(--radius-lg); padding: 3rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; color: #fff; position: relative; overflow: hidden; margin: 0 auto; max-width: var(--container); }
.newsletter > div { flex: 1; min-width: 0; }
.newsletter h2 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); margin-bottom: 0.3rem; }
.newsletter p { font-size: clamp(0.9rem, 1.2vw, 1rem); max-width: 42ch; }
.newsletter-form { display: flex; gap: 0.6rem; flex-shrink: 0; min-width: 0; max-width: 100%; }
.newsletter-form input { height: 48px; padding: 0 1.2rem; border-radius: 100px; border: 2px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.1); color: #fff; min-width: 200px; width: 260px; font-family: var(--font-body); transition: border var(--transition); }
.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.6); }
.newsletter-form input:focus { outline: none; border-color: var(--ochre); background: rgba(255, 255, 255, 0.15); }
.newsletter-form .btn { height: 48px; background: var(--ochre); white-space: nowrap; padding: 0 1.6em; }
.newsletter-form .btn:hover { background: var(--ochre-deep); }
.newsletter-success { margin-top: 1rem; padding: 0.8rem 1.2rem; background: rgba(255, 255, 255, 0.2); border-radius: var(--radius); color: #fff; text-align: center; animation: fadeIn 0.3s ease; width: 100%; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 940px) {
    .newsletter { flex-direction: column; text-align: center; padding: 2rem 1.5rem; border-radius: var(--radius); margin: 0 1rem; }
    .newsletter h2 { font-size: 1.5rem; }
    .newsletter p { max-width: 100%; margin: 0 auto 0.5rem; }
    .newsletter-form { width: 100%; max-width: 400px; justify-content: center; }
    .newsletter-form input { width: 100%; min-width: 0; }
}
@media (max-width: 600px) {
    .newsletter { padding: 1.5rem 1rem; border-radius: 0; margin: 0; width: 100%; }
    .newsletter h2 { font-size: 1.2rem; }
    .newsletter p { font-size: 0.9rem; }
    .newsletter-form { flex-direction: column; width: 100%; max-width: 100%; gap: 0.6rem; }
    .newsletter-form input { width: 100%; height: 44px; padding: 0 1rem; font-size: 0.95rem; }
    .newsletter-form .btn { height: 44px; width: 100%; justify-content: center; }
    .newsletter-success { font-size: 0.9rem; padding: 0.6rem 1rem; }
}
@media (max-width: 380px) {
    .newsletter { padding: 1.2rem 0.8rem; }
    .newsletter h2 { font-size: 1.1rem; }
    .newsletter-form input { height: 40px; font-size: 0.85rem; }
    .newsletter-form .btn { height: 40px; font-size: 0.85rem; }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer { border-top: 1px solid var(--border); padding: 3.5rem 0 2rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.footer-grid h3 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-faint); margin-bottom: 1rem; }
.footer-grid ul li { margin-bottom: 0.6rem; }
.footer-grid ul a { font-size: 0.9rem; color: var(--ink-soft); transition: color var(--transition); }
.footer-grid ul a:hover { color: var(--pine); }
.footer-about { margin-top: 0.8rem; font-size: 0.88rem; color: var(--ink-soft); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.5rem; border-top: 1px solid var(--border); font-size: 0.8rem; color: var(--ink-faint); flex-wrap: wrap; gap: 1rem; }
.footer-disclosure { max-width: 640px; font-size: 0.78rem; color: var(--ink-faint); line-height: 1.5; }

/* ============================================
   RESPONSIVE — TABLET (≤940px)
   ============================================ */
@media (max-width: 940px) {
    .nav-links, .nav-actions .btn { display: none; }
    .nav-search-wrapper { display: none; }
    .nav-toggle { display: flex; }
    .mobile-menu { display: block; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .section-head-note { max-width: 100% !important; }
    .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
    .hero-art { order: -1; aspect-ratio: 16/9; }
    .card-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .newsletter { flex-direction: column; text-align: center; padding: 2rem; }
    .article-row { grid-template-columns: 160px 1fr; gap: 1rem; }
}

/* ============================================
   RESPONSIVE — MOBILE (≤600px)
   ============================================ */
@media (max-width: 600px) {
    .card-grid { grid-template-columns: 1fr; }
    .category-grid { grid-template-columns: 1fr; }
    .newsletter-form { flex-direction: column; width: 100%; }
    .newsletter-form input { width: 100%; }
    .article-row { grid-template-columns: 1fr; }
    .article-thumb { aspect-ratio: 16/9; width: 100%; }
    .faq-question { font-size: 1rem; padding: 1.1rem 1.2rem; }
    .faq-answer-inner { padding: 0 1.2rem 1.2rem; }
}

/* ============================================
   RESPONSIVE — LOGO TAG (≤1100px)
   ============================================ */
@media (max-width: 1100px) {
    .logo-tag { display: none; }
}

/* ============================================
   JOURNAL & ARCHIVES — Page-Specific Styles
   ============================================ */
.journal-hero { padding: 3rem 0 2.5rem; border-bottom: 1px solid var(--border); }
.journal-hero-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.journal-hero h1 { margin-bottom: 0.2em; }
.journal-hero-lede { font-size: 1.05rem; max-width: 52ch; line-height: 1.7; }
.journal-hero-count { font-size: 0.88rem; color: var(--ink-faint); white-space: nowrap; }
.journal-hero-count strong { color: var(--ink); font-weight: 600; }

.filter-bar { padding: 1.5rem 0; border-bottom: 1px solid var(--border); position: sticky; top: 72px; background: rgba(250, 248, 242, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); z-index: 30; }
.filter-bar-inner { display: flex; align-items: center; gap: 0.6rem; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.filter-bar-inner::-webkit-scrollbar { display: none; }
.filter-btn { display: inline-flex; align-items: center; gap: 0.4em; font-family: var(--font-body); font-weight: 600; font-size: 0.82rem; padding: 0.55em 1.15em; border-radius: 100px; border: 1.5px solid var(--border); background: var(--surface); color: var(--ink-soft); cursor: pointer; white-space: nowrap; transition: all var(--transition); }
.filter-btn:hover { border-color: var(--border-strong); color: var(--ink); }
.filter-btn.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.filter-btn i { font-size: 0.9rem; }
.filter-sep { width: 1px; height: 20px; background: var(--border); flex-shrink: 0; }
.filter-search-wrapper { position: relative; display: flex; align-items: center; margin-left: 0.5rem; flex-shrink: 0; }
.filter-search-wrapper input { height: 34px; padding: 0 1rem 0 2.2rem; border-radius: 100px; border: 1.5px solid var(--border); background: var(--surface); font-family: var(--font-body); font-size: 0.82rem; width: 200px; transition: width var(--transition), border-color var(--transition); color: var(--ink); }
.filter-search-wrapper input:focus { outline: none; width: 260px; border-color: var(--pine); }
.filter-search-wrapper input::placeholder { color: var(--ink-faint); }
.filter-search-wrapper > i { position: absolute; left: 0.75rem; color: var(--ink-faint); font-size: 1rem; pointer-events: none; }
.filter-view-toggle { display: flex; border: 1.5px solid var(--border); border-radius: 100px; overflow: hidden; margin-left: auto; flex-shrink: 0; }
.filter-view-toggle button { background: var(--surface); border: none; width: 38px; height: 34px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink-faint); transition: all var(--transition); font-size: 1.1rem; }
.filter-view-toggle button.is-active { background: var(--ink); color: var(--white); }
.filter-view-toggle button:hover:not(.is-active) { color: var(--ink); }

.featured-article { padding: 2.5rem 0 0; }
.featured-card { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition); box-shadow: var(--shadow-sm); }
.featured-card:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.featured-card-media { aspect-ratio: 16/10; overflow: hidden; }
.featured-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.featured-card:hover .featured-card-media img { transform: scale(1.03); }
.featured-card-body { padding: 2rem 2rem 2rem 0; display: flex; flex-direction: column; gap: 0.6rem; }
.featured-card-body .eyebrow { margin-bottom: 0.3rem; }
.featured-card-body h2 { font-size: clamp(1.3rem, 2vw, 1.7rem); margin-bottom: 0.3rem; transition: color var(--transition); }
.featured-card:hover .featured-card-body h2 { color: var(--pine); }
.featured-card-body .card-note { font-size: 0.92rem; line-height: 1.6; }
.featured-card-meta { display: flex; align-items: center; gap: 1rem; margin-top: 0.8rem; font-size: 0.82rem; color: var(--ink-faint); flex-wrap: wrap; }
.featured-card-meta strong { color: var(--ink); font-weight: 600; }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.article-grid-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: all var(--transition); box-shadow: var(--shadow-sm); }
.article-grid-card:hover { border-color: transparent; transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.article-grid-card .card-media { aspect-ratio: 16/10; overflow: hidden; position: relative; background: var(--surface-2); }
.article-grid-card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.article-grid-card:hover .card-media img { transform: scale(1.05); }
.article-grid-card .card-body { padding: 1.2rem 1.4rem 1.4rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.article-grid-card .card-body h3 { margin: 0; transition: color var(--transition); }
.article-grid-card:hover .card-body h3 { color: var(--pine); }
.article-grid-card .card-meta { display: flex; align-items: center; gap: 0.8rem; margin-top: auto; padding-top: 0.8rem; border-top: 1px solid var(--surface-2); font-size: 0.78rem; color: var(--ink-faint); flex-wrap: wrap; }
.article-grid-card .card-meta strong { color: var(--ink-soft); font-weight: 600; }

.article-list-view { display: flex; flex-direction: column; }
.article-list-view .article-row { display: grid; grid-template-columns: 280px 1fr; gap: 1.5rem; padding: 1.8rem 0; border-bottom: 1px solid var(--border); transition: all var(--transition); align-items: center; }
.article-list-view .article-row:first-child { padding-top: 0; }
.article-list-view .article-row:last-child { border-bottom: none; }
.article-list-view .article-row:hover .article-thumb img { transform: scale(1.05); }
.article-list-view .article-row:hover .article-content h3 { color: var(--pine); }

.load-more-wrap { text-align: center; padding: 2rem 0 0.5rem; }
.no-results { text-align: center; padding: 4rem 1rem; display: none; }
.no-results.is-visible { display: block; }
.no-results i { font-size: 2.5rem; color: var(--border-strong); margin-bottom: 1rem; display: block; }
.no-results h3 { color: var(--ink); margin-bottom: 0.3rem; }
.no-results p { max-width: 36ch; margin: 0 auto; }
.no-results > .btn-outline { margin-top: 2rem; }

.toast { position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(120%); background: var(--ink); color: #fff; padding: 0.85em 1.6em; border-radius: 100px; font-size: 0.88rem; font-weight: 600; z-index: 200; opacity: 0; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); pointer-events: none; white-space: nowrap; box-shadow: var(--shadow-lg); }
.toast.is-visible { transform: translateX(-50%) translateY(0); opacity: 1; }

@media (max-width: 940px) {
    .article-grid { grid-template-columns: repeat(2, 1fr); }
    .featured-card { grid-template-columns: 1fr; }
    .featured-card-body { padding: 1.4rem; }
    .article-list-view .article-row { grid-template-columns: 180px 1fr; }
    .filter-search-wrapper input { width: 140px; }
    .filter-search-wrapper input:focus { width: 180px; }
}
@media (max-width: 600px) {
    .article-grid { grid-template-columns: 1fr; }
    .article-list-view .article-row { grid-template-columns: 1fr; }
    .article-thumb { aspect-ratio: 16/9; width: 100%; }
    .journal-hero-inner { flex-direction: column; align-items: flex-start; }
    .filter-view-toggle { display: none; }
    .filter-search-wrapper input { width: 100px; }
    .filter-search-wrapper input:focus { width: 140px; }
}

/* ============================================
   SINGLE REVIEW — Page-Specific Styles
   ============================================ */
.breadcrumb { font-size: 0.82rem; color: var(--ink-faint); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--ink-soft); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--pine); }

.review-hero { padding: 2.5rem 0 3rem; border-bottom: 1px solid var(--border); }
.review-title-row { display: grid; grid-template-columns: 1fr 360px; gap: 3rem; align-items: start; }
.review-title-row > div:first-child .eyebrow { margin-bottom: 0.5rem; }
.review-title-row h1 { margin-bottom: 0.6em; }
.review-title-row > div:first-child > p { font-size: 1.05rem; max-width: 52ch; line-height: 1.7; }
.byline { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem; font-size: 0.88rem; color: var(--ink-faint); }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--pine); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; flex-shrink: 0; }

.verdict-box { background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow-md); position: sticky; top: 90px; }
.verdict-box .eyebrow { margin-bottom: 0.3rem; }
.verdict-box > p { font-size: 0.9rem; line-height: 1.6; margin-bottom: 1.2rem; }
.verdict-price { font-size: 0.82rem; color: var(--ink-faint); margin-bottom: 1rem; }
.verdict-price strong { color: var(--ink); display: block; font-size: 0.9rem; }

.review-layout { display: grid; grid-template-columns: 1fr 300px; gap: 3rem; padding: 3rem 0; }
.review-body { min-width: 0; }
.review-body h2:first-child { margin-top: 0; }
.review-body p { line-height: 1.75; }
.review-body [id] { scroll-margin-top: 92px; }
.review-body [id].is-flash { animation: sectionFlash 0.8s ease-out; }
@keyframes sectionFlash {
    0% { background-color: var(--ochre-light); border-radius: var(--radius); margin-left: -12px; margin-right: -12px; padding-left: 12px; padding-right: 12px; }
    100% { background-color: transparent; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
}

.review-media { aspect-ratio: 16/9; background: var(--surface-2); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 2.5rem; position: relative; border: 1px solid var(--border); }
.review-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.review-media:hover img { transform: scale(1.02); }
.media-caption { position: absolute; bottom: 12px; right: 16px; background: rgba(255,255,255,0.85); backdrop-filter: blur(6px); padding: 0.35em 0.8em; border-radius: 100px; font-size: 0.72rem; color: var(--ink-faint); font-weight: 500; display: flex; align-items: center; gap: 4px; }

.callout { background: var(--ochre-light); border-left: 4px solid var(--ochre); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.2rem 1.5rem; margin: 1.5rem 0; font-size: 0.92rem; line-height: 1.6; }
.callout strong { color: var(--ochre-deep); }

.spec-table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.92rem; }
.spec-table tr { border-bottom: 1px solid var(--border); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td { padding: 0.85rem 0; vertical-align: top; line-height: 1.55; }
.spec-table td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; padding-right: 1.5rem; width: 35%; }
.spec-table td:last-child { color: var(--ink-soft); }

.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin: 1.5rem 0 2rem; }
.pros-cons .box { border-radius: var(--radius); padding: 1.4rem; }
.pros-cons .pros { background: var(--pine-pale); border: 1px solid rgba(38, 80, 61, 0.15); }
.pros-cons .cons { background: #fdf2f0; border: 1px solid rgba(166, 64, 47, 0.12); }
.pros-cons h4 { font-family: var(--font-body); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.8rem; }
.pros-cons .pros h4 { color: var(--pine); }
.pros-cons .cons h4 { color: var(--danger); }
.pros-cons li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 0.65rem; line-height: 1.5; }
.pros-cons li:last-child { margin-bottom: 0; }
.pros-cons li i { flex-shrink: 0; margin-top: 3px; }
.pros-cons .pros li i { color: var(--pine); }
.pros-cons .cons li i { color: var(--danger); }

.faq { display: flex; flex-direction: column; gap: 10px; margin-top: 1rem; }
.faq .faq-question { font-size: 1.05rem; padding: 1.15rem 1.4rem; gap: 1rem; }
.faq .faq-question i { font-size: 1.1rem; color: var(--ink-faint); transition: transform var(--transition), color var(--transition); flex-shrink: 0; }
.faq .faq-item.is-open .faq-question i { transform: rotate(45deg); color: var(--pine); }

.review-sidebar { position: sticky; top: 90px; align-self: start; display: flex; flex-direction: column; gap: 1.5rem; }
.buy-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.retailer-row { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; padding: 0.75rem 0; border-bottom: 1px solid var(--surface-2); }
.retailer-row:last-of-type { border-bottom: none; }
.retailer-name { font-size: 0.88rem; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 0.5em; }
.retailer-name i { color: var(--ink-faint); }
.price-updated { font-size: 0.75rem; color: var(--ink-faint); margin: 0.8rem 0 0; line-height: 1.4; }

.toc-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.toc-box h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-faint); margin-bottom: 0.8rem; }
.toc-box ul { display: flex; flex-direction: column; gap: 0.15rem; }
.toc-box a { font-size: 0.88rem; color: var(--ink-soft); padding: 0.4rem 0 0.4rem 0.8rem; display: flex; align-items: center; gap: 0.5em; transition: color var(--transition), border-color var(--transition); border-left: 2px solid transparent; }
.toc-box a:hover { color: var(--pine); border-left-color: var(--pine); }
.toc-box a.is-active { color: var(--pine); font-weight: 600; border-left-color: var(--ochre); }

.share-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.share-box h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-faint); margin-bottom: 0.8rem; }
.share-buttons { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.share-btn { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--border); background: var(--surface); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink-soft); font-size: 1.1rem; transition: all var(--transition); flex-shrink: 0; }
.share-btn:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.share-btn.is-copied { border-color: var(--pine); color: var(--pine); background: var(--pine-pale); }

.mobile-sticky-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: var(--surface); border-top: 1px solid var(--border); padding: 0.8rem 1.2rem; z-index: 45; box-shadow: 0 -4px 16px rgba(0,0,0,0.08); align-items: center; justify-content: space-between; }
.mobile-sticky-cta > div { display: flex; align-items: center; gap: 0.7rem; }
.mobile-sticky-cta strong { font-family: var(--font-display); font-size: 0.95rem; color: var(--ink); }

.related-section { background: var(--surface-2); padding: 3.5rem 0; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.related-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: all var(--transition); box-shadow: var(--shadow-sm); }
.related-card:hover { border-color: transparent; transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.related-card .card-media { aspect-ratio: 16/10; overflow: hidden; position: relative; background: var(--surface-2); }
.related-card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.related-card:hover .card-media img { transform: scale(1.05); }
.related-card .card-body { padding: 1.2rem 1.4rem 1.4rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.related-card .card-body h3 { margin: 0; font-size: 1.05rem; transition: color var(--transition); }
.related-card:hover .card-body h3 { color: var(--pine); }
.related-card .card-body .card-note { font-size: 0.88rem; margin: 0; line-height: 1.5; }
.related-card .card-meta { display: flex; align-items: center; gap: 0.8rem; margin-top: auto; padding-top: 0.8rem; border-top: 1px solid var(--surface-2); font-size: 0.78rem; color: var(--ink-faint); }
.related-card .card-meta strong { color: var(--ink-soft); font-weight: 600; }

@media (max-width: 940px) {
    .review-title-row { grid-template-columns: 1fr; }
    .verdict-box { position: static; }
    .review-layout { grid-template-columns: 1fr; }
    .review-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
    .review-sidebar > * { flex: 1; min-width: 220px; }
    .mobile-sticky-cta { display: flex; }
    body.has-mobile-cta { padding-bottom: 72px; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .pros-cons { grid-template-columns: 1fr; }
    .review-sidebar { flex-direction: column; }
    .review-sidebar > * { min-width: 0; }
    .spec-table td:first-child { width: 40%; }
    .review-hero { padding: 1.5rem 0 2rem; }
    .review-layout { padding: 2rem 0; }
    .related-grid { grid-template-columns: 1fr; }
    .share-buttons { gap: 0.4rem; }
    .share-btn { width: 38px; height: 38px; }
}

/* ============================================
   CATEGORY PAGE — Page-Specific Styles
   ============================================ */
.cat-hero { padding: 3rem 0 3.5rem; border-bottom: 1px solid var(--border); }
.cat-hero-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; }
.cat-hero-icon { width: 56px; height: 56px; border-radius: var(--radius); background: var(--pine-pale); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.cat-hero-icon i { font-size: 1.6rem; color: var(--pine); }
.cat-hero h1 { margin-bottom: 0.3em; }
.cat-hero-lede { font-size: 1.05rem; max-width: 48ch; line-height: 1.7; }
.cat-hero-stats { display: flex; gap: 2rem; margin-top: 1.5rem; }
.cat-stat { font-size: 0.85rem; color: var(--ink-faint); }
.cat-stat strong { color: var(--ink); font-weight: 600; font-size: 1.1rem; display: block; font-family: var(--font-display); }
.cat-hero-art { border-radius: var(--radius-lg); aspect-ratio: 4/3; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); background-color: var(--surface-2); }
.cat-hero-art img { width: 100%; height: 100%; object-fit: cover; transition: transform 6s ease; }
.cat-hero-art:hover img { transform: scale(1.03); }

.subcat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.subcat-tile { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem 1rem; text-align: center; transition: all var(--transition); }
.subcat-tile:hover { border-color: var(--pine); background: var(--pine-pale); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.subcat-tile i { font-size: 1.5rem; color: var(--pine); margin-bottom: 0.7rem; display: block; }
.subcat-tile span { font-weight: 600; font-size: 0.88rem; color: var(--ink); display: block; }
.subcat-tile small { display: block; color: var(--ink-faint); font-size: 0.75rem; margin-top: 3px; }

.featured-review { display: grid; grid-template-columns: 1fr 340px; gap: 0; background: var(--surface); border: 1.5px solid var(--ink); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); transition: all var(--transition); }
.featured-review:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.featured-review-media { aspect-ratio: 4/3; overflow: hidden; }
.featured-review-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.featured-review:hover .featured-review-media img { transform: scale(1.04); }
.featured-review-body { padding: 2rem; display: flex; flex-direction: column; gap: 0.5rem; }
.featured-review-body h2, .featured-review-body h3 { font-size: 1.3rem; transition: color var(--transition); }
.featured-review:hover .featured-review-body h3 { color: var(--pine); }
.featured-review-body .card-note { font-size: 0.9rem; line-height: 1.6; }
.featured-review-meta { display: flex; align-items: center; gap: 1rem; margin-top: 0.8rem; font-size: 0.82rem; color: var(--ink-faint); flex-wrap: wrap; }
.featured-review-meta strong { color: var(--ink); font-weight: 600; }
.featured-review-cta { margin-top: auto; padding-top: 1.2rem; }

.ranked-controls { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; gap: 1rem; flex-wrap: wrap; }
.compare-bar { display: flex; align-items: center; gap: 0.8rem; }
.compare-bar-label { font-size: 0.85rem; color: var(--ink-faint); }
.compare-count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; border-radius: 100px; background: var(--border-strong); color: var(--white); font-size: 0.72rem; font-weight: 700; transition: background var(--transition); }
.compare-count.has-items { background: var(--pine); }
.compare-bar-actions { display: flex; gap: 0.5rem; }
.btn-compare { display: inline-flex; align-items: center; gap: 0.4em; font-family: var(--font-body); font-weight: 600; font-size: 0.82rem; padding: 0.55em 1.1em; border-radius: 100px; border: 1.5px solid var(--pine); background: transparent; color: var(--pine); cursor: pointer; transition: all var(--transition); }
.btn-compare:hover:not(:disabled) { background: var(--pine); color: var(--white); }
.btn-compare:disabled { opacity: 0.35; cursor: not-allowed; }
.btn-clear-compare { display: inline-flex; align-items: center; gap: 0.3em; font-family: var(--font-body); font-weight: 500; font-size: 0.82rem; padding: 0.55em 0.8em; border-radius: 100px; border: none; background: none; color: var(--ink-faint); cursor: pointer; transition: color var(--transition); }
.btn-clear-compare:hover { color: var(--danger); }

.ranked-list { display: flex; flex-direction: column; gap: 16px; }
.ranked-item { display: grid; grid-template-columns: 200px 1fr; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition); box-shadow: var(--shadow-sm); position: relative; }
.ranked-item:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.ranked-item.is-first { border: 1.5px solid var(--ink); box-shadow: var(--shadow-md); }
.ranked-item.is-comparing { border-color: var(--pine); box-shadow: 0 0 0 2px var(--pine-pale), var(--shadow-md); }
.ranked-item-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--surface-2); }
.ranked-item-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.ranked-item:hover .ranked-item-media img { transform: scale(1.05); }
.ranked-number { position: absolute; top: 12px; left: 12px; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; z-index: 2; }
.ranked-check { position: absolute; bottom: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink-soft); transition: all var(--transition); z-index: 2; }
.ranked-check:hover { border-color: var(--pine); color: var(--pine); }
.ranked-check.is-checked { background: var(--pine); border-color: var(--pine); color: var(--white); }
.ranked-item-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.ranked-item-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.ranked-badge { background: var(--ochre-light); color: var(--ochre-deep); padding: 0.3em 0.8em; border-radius: 100px; font-size: 0.75rem; font-weight: 700; display: inline-flex; align-items: center; gap: 0.3em; }
.ranked-specs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.ranked-spec { background: var(--surface-2); padding: 0.3em 0.7em; border-radius: 100px; font-size: 0.78rem; color: var(--ink-soft); }
.ranked-spec.is-cat { background: var(--pine-pale); color: var(--pine); font-weight: 600; }
.ranked-item-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--surface-2); }
.ranked-price { font-size: 0.88rem; color: var(--ink-soft); }
.ranked-price span { display: block; font-size: 0.75rem; color: var(--ink-faint); }

.compare-panel { position: fixed; bottom: 0; left: 0; right: 0; background: var(--surface); border-top: 1px solid var(--border); padding: 1rem 1.5rem; z-index: 50; box-shadow: 0 -4px 20px rgba(0,0,0,0.1); transform: translateY(100%); transition: transform 0.3s ease; }
.compare-panel.is-visible { transform: translateY(0); }
.compare-panel-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.8rem; }
.compare-panel-title { font-size: 0.9rem; color: var(--ink-soft); display: flex; align-items: center; gap: 0.5rem; }
.compare-panel-actions { display: flex; gap: 0.5rem; }
.compare-chips { display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 0.5rem; }
.compare-chip { display: flex; align-items: center; gap: 0.5rem; background: var(--surface-2); padding: 0.4rem 0.8rem; border-radius: 100px; font-size: 0.82rem; white-space: nowrap; border: 1px solid var(--border); }
.compare-chip img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.compare-chip-remove { background: none; border: none; cursor: pointer; color: var(--ink-faint); padding: 0; font-size: 0.9rem; }
.compare-chip-remove:hover { color: var(--danger); }
.compare-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 200; opacity: 0; pointer-events: none; transition: opacity var(--transition); }
.compare-overlay.is-visible { opacity: 1; pointer-events: all; }
.compare-modal { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.95); background: var(--surface); border-radius: var(--radius-lg); width: 90%; max-width: 900px; max-height: 80vh; overflow-y: auto; z-index: 210; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: all var(--transition); }
.compare-modal.is-visible { opacity: 1; pointer-events: all; transform: translate(-50%, -50%) scale(1); }
.compare-modal-head { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--surface); z-index: 2; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.compare-modal-head h3 { margin: 0; }
.compare-modal-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--ink-faint); }
.compare-modal-body { padding: 1.5rem; }
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 0.8rem; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.compare-table th { color: var(--ink-faint); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.compare-table img.compare-table-img { width: 80px; height: 80px; object-fit: cover; border-radius: var(--radius); }

.explore-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.explore-tile { display: flex; align-items: center; gap: 1.2rem; padding: 1.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: all var(--transition); }
.explore-tile:hover { border-color: var(--pine); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.explore-tile-icon { width: 56px; height: 56px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.explore-tile-icon i { font-size: 1.5rem; }
.explore-tile-text h4 { margin: 0 0 0.2rem; font-size: 1.05rem; }
.explore-tile-text p { margin: 0; font-size: 0.85rem; }

body.has-compare-panel { padding-bottom: 100px; }

@media (max-width: 940px) {
    .cat-hero-inner { grid-template-columns: 1fr; }
    .cat-hero-art { max-height: 300px; }
    .subcat-grid { grid-template-columns: repeat(3, 1fr); }
    .featured-review { grid-template-columns: 1fr; }
    .ranked-item { grid-template-columns: 180px 1fr; }
    .explore-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .subcat-grid { grid-template-columns: repeat(2, 1fr); }
    .ranked-item { grid-template-columns: 1fr; }
    .ranked-item-media { aspect-ratio: 16/9; }
}

/* ============================================
   SINGLE STANDARD POST — Page-Specific Styles
   ============================================ */
.post-hero { padding: 2.5rem 0 0; border-bottom: 1px solid var(--border); }
.featured-img { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 2.5rem; position: relative; border: 1px solid var(--border); }
.featured-img img { width: 100%; height: auto; }
.featured-img figcaption { position: absolute; bottom: 12px; right: 16px; background: rgba(255,255,255,0.85); backdrop-filter: blur(6px); padding: 0.35em 0.8em; border-radius: 100px; font-size: 0.72rem; color: var(--ink-faint); font-weight: 500; display: flex; align-items: center; gap: 4px; }
.tag-pill { background: var(--surface-2); color: var(--ink-soft); padding: 0.4em 0.9em; border-radius: 100px; font-size: 0.82rem; font-weight: 500; transition: all var(--transition); border: 1px solid transparent; }
.tag-pill:hover { border-color: var(--pine); color: var(--pine); background: var(--pine-pale); }

/* ============================================
   CENTERING TITLES & META — page-specific overrides
   ============================================ */

/* Homepage category tiles — icon only, no description */
.front-page .category-tile { background: var(--surface); border: 1px solid var(--border); padding: 1.8rem 1rem; }
.front-page .category-tile:hover { background: var(--pine-pale); border-color: var(--pine); }
.front-page .category-tile i { font-size: 2rem; color: var(--pine); margin-bottom: 0.8rem; }

/* Standard single post — centered title block */
.post-title-row { text-align: center; max-width: 800px; margin-left: auto; margin-right: auto; padding-top: 2rem; }
.post-title-row .eyebrow { justify-content: center; }
.post-meta-single { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.6rem; font-size: 0.88rem; color: var(--ink-faint); margin-top: 0.5rem; }
.post-meta-single strong { color: var(--ink); font-weight: 600; }
.post-meta-single i { vertical-align: middle; }

/* Review single post keeps its native two-column layout (title/excerpt left,
   sticky verdict box right) — no centering override here by design, so the
   article content stays reachable without extra scrolling. */

/* ============================================
   COMMENT SECTION STYLING
   ============================================ */
#comments { padding: 2rem 0; }
#comments .comments-title,
#reply-title { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); margin-bottom: 1.5rem; }
.comment-list { list-style: none; padding: 0; }
.comment-body { padding: 1.5rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 1.5rem; }
.comment-author { font-weight: 600; color: var(--ink); }
.comment-meta { font-size: 0.82rem; color: var(--ink-faint); margin-bottom: 1rem; }
.comment-content p { line-height: 1.7; }

#commentform p { margin-bottom: 1.2rem; }
#commentform label { display: block; font-weight: 600; font-size: 0.85rem; color: var(--ink); margin-bottom: 0.5rem; }
#commentform input[type="text"],
#commentform input[type="email"],
#commentform input[type="url"] {
    width: 100%; padding: 0.85rem 1rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    background: var(--surface); font-family: var(--font-body); font-size: 0.95rem; color: var(--ink);
    transition: border-color var(--transition);
}
#commentform input:focus { outline: none; border-color: var(--pine); }
#commentform textarea {
    width: 100%; padding: 1rem; border: 1.5px solid var(--border); border-radius: var(--radius);
    background: var(--surface); font-family: var(--font-body); font-size: 0.95rem; color: var(--ink);
    min-height: 150px; resize: vertical; transition: border-color var(--transition);
}
#commentform textarea:focus { outline: none; border-color: var(--pine); }
#commentform .form-submit { margin-top: 0.5rem; }
#commentform .submit {
    background: var(--pine) !important; color: var(--white) !important; border: none !important;
    padding: 0.85em 2.2em !important; border-radius: 100px !important; font-family: var(--font-body) !important;
    font-weight: 600 !important; font-size: 0.9rem !important; cursor: pointer; transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}
#commentform .submit:hover { background: var(--pine-light) !important; box-shadow: var(--shadow-md); transform: translateY(-1px); }

/* ============================================
   HOMEPAGE JOURNAL LINK
   ============================================ */
.journal-link { text-align: center; margin-top: 2.5rem; }
.journal-link a { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.95rem; color: var(--pine); text-decoration: none; transition: all var(--transition); }
.journal-link a i { transition: transform var(--transition); }
.journal-link a:hover { color: var(--ink); }
.journal-link a:hover i { transform: translateX(4px); }

/* ============================================
   PAGINATION — Premium Journal Style
   ============================================ */
.load-more-wrap { display: flex; justify-content: center; align-items: center; padding: 3rem 0 1rem; margin-top: 1rem; border-top: 1px solid var(--border); }
.load-more-wrap .nav-links { display: flex !important; flex-direction: row !important; align-items: center !important; gap: 0.5rem !important; flex-wrap: wrap !important; justify-content: center !important; }
.load-more-wrap .nav-links a::after { display: none !important; }
.load-more-wrap .page-numbers {
    display: inline-flex !important; align-items: center; justify-content: center; min-width: 44px; height: 44px;
    padding: 0 1rem; border-radius: 100px; border: 1.5px solid var(--border); background: var(--surface);
    color: var(--ink-soft); font-family: var(--font-body); font-size: 0.9rem; font-weight: 600;
    transition: all var(--transition); box-shadow: var(--shadow-sm); text-decoration: none; line-height: 1; position: static;
}
.load-more-wrap .page-numbers:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.load-more-wrap .page-numbers.current { background: var(--ink); color: var(--white); border-color: var(--ink); box-shadow: var(--shadow-md); pointer-events: none; }
.load-more-wrap .page-numbers.dots { border: none; background: none; box-shadow: none; color: var(--ink-faint); pointer-events: none; min-width: 20px; }
.load-more-wrap .page-numbers.prev,
.load-more-wrap .page-numbers.next { padding: 0 1.2rem; }

@media (max-width: 600px) {
    .load-more-wrap { padding: 2rem 0 0.5rem; }
    .load-more-wrap .nav-links { gap: 0.4rem !important; }
    .load-more-wrap .page-numbers { min-width: 38px; height: 38px; font-size: 0.85rem; padding: 0 0.8rem; }
    .load-more-wrap .page-numbers.prev,
    .load-more-wrap .page-numbers.next { padding: 0 0.8rem; font-size: 0.82rem; }
    .load-more-wrap .page-numbers:not(.prev):not(.next):not(.current):not(.dots) { display: none; }
}

.compare-panel-inner { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }

/* ============================================
   POST CONTENT — Lists, Links, Anchors, Spacing
   ============================================ */
.entry-content ol,
ol.wp-block-list { list-style-type: decimal !important; margin-left: 25px !important; margin-bottom: 20px !important; }
.entry-content ul,
ul.wp-block-list { list-style-type: disc !important; margin-left: 25px !important; margin-bottom: 20px !important; }
.entry-content li,
.wp-block-list li { margin-top: 6px !important; margin-bottom: 6px !important; padding-left: 5px !important; line-height: 1.7 !important; }

.entry-content a,
.wp-block a {
    color: var(--pine, #2f5233) !important;
    font-weight: 500 !important;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    transition: color 0.15s ease, text-decoration-thickness 0.15s ease;
}
.entry-content a:hover,
.entry-content a:focus,
.wp-block a:hover {
    color: var(--ochre, #c17f2b) !important;
    text-decoration-thickness: 2px;
}
.entry-content a:visited { color: var(--pine, #2f5233) !important; opacity: 0.85; }

/* Same-page anchor jump highlight — content only, not sitewide */
.entry-content [id]:target {
    scroll-margin-top: 100px !important;
    background: var(--ochre-light) !important;
    padding: 15px 20px !important;
    border-radius: var(--radius) !important;
    border-left: 4px solid var(--ochre) !important;
    transition: all 0.3s ease !important;
}

/* External link indicator — content links only */
.entry-content a[href^="http"]:not([href*="goefte.com"])::after {
    content: "↗";
    font-size: 0.8em;
    margin-left: 4px;
    opacity: 0.7;
    display: inline-block;
    transition: transform 0.2s ease;
}
.entry-content a[href^="http"]:not([href*="goefte.com"]):hover::after { transform: translate(2px, -2px); opacity: 1; }

/* Content spacing */
.entry-content p { margin-bottom: 25px !important; }
.entry-content h2 { margin-top: 45px !important; margin-bottom: 20px !important; }
.entry-content h3 { margin-top: 35px !important; margin-bottom: 15px !important; }
.entry-content h4 { margin-top: 30px !important; margin-bottom: 12px !important; }
.entry-content .wp-block-group,
.entry-content .wp-block-columns,
.entry-content .wp-block-image,
.entry-content .wp-block-cover,
.entry-content .wp-block-media-text { margin-bottom: 30px !important; }
.entry-content ul,
.entry-content ol,
.entry-content .wp-block-list { margin-bottom: 25px !important; }
.entry-content ul + p,
.entry-content ol + p,
.entry-content .wp-block-list + p { margin-top: 20px !important; }

/* Tag pills ("Topics:") — must win over the .entry-content a rules above,
   since tag pills live inside .entry-content but need their own pill look */
.entry-content .tag-pill {
    text-decoration: none !important;
    border-bottom: none !important;
    padding: 0.4em 0.9em !important;
    background: var(--surface-2) !important;
    color: var(--ink-soft) !important;
    border: 1px solid transparent !important;
    border-radius: 100px !important;
}
.entry-content .tag-pill:hover {
    border-color: var(--pine) !important;
    color: var(--pine) !important;
    background: var(--pine-pale) !important;
    padding: 0.4em 0.9em !important;
}

/* ============================================
   404 PAGE — Popular link pills
   ============================================ */
.popular-link-pill {
    display: inline-block;
    background: var(--surface-2);
    color: var(--ink-soft);
    padding: 0.5em 1em;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all var(--transition);
}
.popular-link-pill:hover { border-color: var(--pine); color: var(--pine); background: var(--pine-pale); }