/* ============================================================
   HALCOTT MAGAZINE — Global Stylesheet (Complete)
   ============================================================ */

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

:root {
    --color-bg: #fafaf8;
    --color-surface: #ffffff;
    --color-text: #1a1a1a;
    --color-text-muted: #5c5c5c;
    --color-accent: #b8860b;
    --color-accent-hover: #9a7209;
    --color-border: #e2e0dc;
    --color-border-light: #f0eeea;
    --color-footer-bg: #1a1a1a;
    --color-footer-text: #cccccc;
    --color-pros: #2d6a30;
    --color-cons: #9c5a1c;
    --color-rating: #d4850a;
    --font-heading: "Georgia", "Times New Roman", serif;
    --font-body: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --max-width: 1140px;
    --radius: 6px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--color-accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-accent-hover); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    padding: 24px 0 20px;
    text-align: center;
}
.header-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.site-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: -0.5px;
    text-decoration: none;
}
.site-logo:hover { color: var(--color-accent); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
    margin-top: 12px;
}
.site-nav a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0 14px;
    text-decoration: none;
    transition: color 0.2s;
}
.site-nav a:hover {
    color: var(--color-accent);
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumb {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    padding: 20px 0 8px;
}
.breadcrumb a { color: var(--color-text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--color-accent); }
.breadcrumb-sep { margin: 0 6px; color: #ccc; }

/* ============================================================
   HERO (Homepage)
   ============================================================ */
.hero {
    text-align: center;
    padding: 64px 0 48px;
    max-width: 760px;
    margin: 0 auto;
}
.hero h1 {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-text);
    margin-bottom: 16px;
}
.hero-sub {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ============================================================
   CATEGORY HERO
   ============================================================ */
.category-hero {
    padding: 32px 0 28px;
    border-bottom: 1px solid var(--color-border-light);
    margin-bottom: 32px;
}
.category-hero h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 10px;
}
.category-description {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 720px;
    margin-bottom: 12px;
}
.category-reviewer {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}
.category-reviewer strong { color: var(--color-text); }

/* ============================================================
   SECTION STYLING
   ============================================================ */
.section-divider {
    border: none;
    border-top: 1px solid var(--color-border-light);
    margin: 48px auto;
    max-width: 200px;
}
.section-intro {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    max-width: 680px;
    margin: 0 auto 32px;
    text-align: center;
    line-height: 1.7;
}
.team-section, .niche-listings, .all-categories {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}
.team-section h2, .niche-listings h2, .all-categories h2 {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    text-align: center;
    margin-bottom: 12px;
    color: var(--color-text);
}

/* ============================================================
   TEAM GRID (Homepage)
   ============================================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 24px;
    margin-bottom: 48px;
}
.team-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s;
}
.team-card:hover { box-shadow: var(--shadow-md); }
.team-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}
.team-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: var(--color-text);
}
.team-role {
    font-size: 0.85rem;
    color: var(--color-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}
.team-bio {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ============================================================
   NICHE SECTIONS (Homepage)
   ============================================================ */
.niche-section {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--color-border-light);
}
.niche-section:last-child { border-bottom: none; }
.niche-section h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    text-align: left;
    margin-bottom: 4px;
}
.niche-section h2 a { color: var(--color-text); }
.niche-section h2 a:hover { color: var(--color-accent); }
.niche-reviewer {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}
.niche-reviewer strong { color: var(--color-text); }

/* ============================================================
   CARDS (Homepage niche cards)
   ============================================================ */
.card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s;
}
.card:hover { box-shadow: var(--shadow-md); }
.card h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--color-text);
}
.card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 14px;
    line-height: 1.6;
}

/* ============================================================
   PRODUCT CARDS (Category pages)
   ============================================================ */
.product-list { margin-bottom: 32px; }
.product-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s;
}
.product-card:hover { box-shadow: var(--shadow-md); }
.product-card h3 { font-family: var(--font-heading); font-size: 1.2rem; margin-bottom: 6px; }
.product-card h3 a { color: var(--color-text); }
.product-card h3 a:hover { color: var(--color-accent); }
.card-verdict { font-size: 0.95rem; color: var(--color-text-muted); margin-bottom: 10px; line-height: 1.5; }
.card-meta { font-size: 0.9rem; color: var(--color-text-muted); margin-bottom: 10px; }
.card-meta strong { color: var(--color-text); font-weight: 600; }
.card-specs {
    font-size: 0.85rem; color: var(--color-text-muted); margin-bottom: 14px;
    display: flex; flex-wrap: wrap; gap: 8px 16px;
}
.card-specs span {
    background: var(--color-border-light); padding: 3px 10px; border-radius: 3px; white-space: nowrap;
}

/* ============================================================
   BUTTONS / CTAs
   ============================================================ */
.cta {
    display: inline-block; background: var(--color-accent); color: #fff;
    font-weight: 600; font-size: 0.9rem; padding: 10px 22px;
    border-radius: var(--radius); text-decoration: none;
    transition: background 0.2s; border: none; cursor: pointer;
}
.cta:hover { background: var(--color-accent-hover); color: #fff; }
.secondary {
    display: inline-block; color: var(--color-accent); font-weight: 600;
    font-size: 0.9rem; padding: 10px 22px; border: 1px solid var(--color-accent);
    border-radius: var(--radius); text-decoration: none; transition: all 0.2s;
}
.secondary:hover { background: var(--color-accent); color: #fff; }
.card-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }

/* ============================================================
   PRODUCT PAGE
   ============================================================ */
.product-page { max-width: 820px; }
.product-header {
    padding: 24px 0 28px; border-bottom: 1px solid var(--color-border-light); margin-bottom: 32px;
}
.product-brand-label {
    font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 1px; color: var(--color-accent); margin-bottom: 6px;
}
.product-header h1 {
    font-family: var(--font-heading); font-size: 2rem; font-weight: 700;
    color: var(--color-text); line-height: 1.2; margin-bottom: 12px;
}
.product-verdict {
    font-size: 1.1rem; color: var(--color-text-muted); font-style: italic;
    line-height: 1.6; margin-bottom: 16px;
}
.product-meta-bar {
    display: flex; align-items: center; gap: 20px; margin-bottom: 20px; flex-wrap: wrap;
}
.product-rating { font-size: 1.05rem; font-weight: 700; color: var(--color-rating); }
.product-price { font-size: 1.3rem; font-weight: 700; color: var(--color-text); }
.product-cta-bar { display: flex; gap: 12px; flex-wrap: wrap; }

.product-body { margin-bottom: 32px; }
.product-body h2 {
    font-family: var(--font-heading); font-size: 1.4rem; margin-bottom: 12px; color: var(--color-text);
}
.product-description { font-size: 1.05rem; line-height: 1.8; color: var(--color-text); }

.product-pros-cons { margin-bottom: 32px; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pros, .cons {
    background: var(--color-surface); border: 1px solid var(--color-border);
    border-radius: var(--radius); padding: 20px;
}
.pros h3 { color: var(--color-pros); font-size: 1rem; margin-bottom: 10px; }
.cons h3 { color: var(--color-cons); font-size: 1rem; margin-bottom: 10px; }
.pros ul, .cons ul { list-style: none; padding: 0; }
.pros li, .cons li {
    font-size: 0.9rem; padding: 6px 0;
    border-bottom: 1px solid var(--color-border-light); line-height: 1.5;
}
.pros li:last-child, .cons li:last-child { border-bottom: none; }

.product-features { margin-bottom: 32px; }
.product-features h2 {
    font-family: var(--font-heading); font-size: 1.4rem; margin-bottom: 12px; color: var(--color-text);
}
.product-features ul { list-style: none; padding: 0; }
.product-features li {
    font-size: 0.95rem; padding: 8px 0 8px 20px;
    border-bottom: 1px solid var(--color-border-light); position: relative; line-height: 1.5;
}
.product-features li:last-child { border-bottom: none; }
.product-features li::before {
    content: "\2713"; position: absolute; left: 0; color: var(--color-accent); font-weight: 700;
}

.product-specs { margin-bottom: 32px; }
.product-specs h2 {
    font-family: var(--font-heading); font-size: 1.4rem; margin-bottom: 12px; color: var(--color-text);
}
table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 0.9rem; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--color-border-light); }
th { font-weight: 600; color: var(--color-text); width: 35%; background: var(--color-bg); }
td { color: var(--color-text-muted); }

.product-best-for { margin-bottom: 32px; }
.product-best-for h2 {
    font-family: var(--font-heading); font-size: 1.4rem; margin-bottom: 12px; color: var(--color-text);
}
.product-best-for ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.product-best-for li {
    background: var(--color-border-light); color: var(--color-text-muted);
    padding: 5px 14px; border-radius: 20px; font-size: 0.85rem; font-weight: 500;
}

.reviewer-byline {
    background: var(--color-bg); border: 1px solid var(--color-border);
    border-radius: var(--radius); padding: 20px 24px; margin: 32px 0;
}
.reviewer-byline p { font-size: 0.9rem; }
.reviewer-byline strong { color: var(--color-text); }
.reviewer-bio-text {
    color: var(--color-text-muted); margin-top: 4px; font-size: 0.85rem; line-height: 1.6;
}

/* ============================================================
   SIDEBAR (Category + Product pages)
   ============================================================ */
.category-sidebar { margin-bottom: 48px; }
.category-sidebar h2 {
    font-family: var(--font-heading); font-size: 1.3rem; margin-bottom: 12px; color: var(--color-text);
}
.sidebar-list { list-style: none; padding: 0; columns: 2; column-gap: 24px; }
.sidebar-list li { padding: 5px 0; font-size: 0.9rem; break-inside: avoid; }
.sidebar-list li a { color: var(--color-text-muted); }
.sidebar-list li a:hover { color: var(--color-accent); }

/* ============================================================
   ALL CATEGORIES LIST (Homepage)
   ============================================================ */
.all-categories h3 {
    font-family: var(--font-heading); font-size: 1.15rem; margin-top: 20px;
    margin-bottom: 6px; text-align: left;
}
.all-categories ul { list-style: none; padding: 0; columns: 2; column-gap: 32px; }
.all-categories li { padding: 4px 0; font-size: 0.9rem; }
.all-categories li a { color: var(--color-text-muted); }
.all-categories li a:hover { color: var(--color-accent); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-page { max-width: 820px; }
.about-hero {
    padding: 32px 0 28px; border-bottom: 1px solid var(--color-border-light); margin-bottom: 36px;
}
.about-hero h1 {
    font-family: var(--font-heading); font-size: 2.2rem; font-weight: 700;
    color: var(--color-text); margin-bottom: 12px;
}
.about-lede {
    font-size: 1.15rem; color: var(--color-text-muted); line-height: 1.7; font-style: italic;
}
.about-story { margin-bottom: 40px; }
.about-story h2 {
    font-family: var(--font-heading); font-size: 1.5rem; color: var(--color-text); margin-bottom: 16px;
}
.about-story p {
    font-size: 1.05rem; line-height: 1.8; color: var(--color-text); margin-bottom: 16px;
}
.about-story em { color: var(--color-text-muted); }

.about-principles { margin-bottom: 48px; }
.about-principles h2 {
    font-family: var(--font-heading); font-size: 1.5rem; color: var(--color-text); margin-bottom: 20px;
}
.principles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.principle-card {
    background: var(--color-surface); border: 1px solid var(--color-border);
    border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm);
}
.principle-card h3 {
    font-family: var(--font-heading); font-size: 1.05rem; color: var(--color-text); margin-bottom: 8px;
}
.principle-card p { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.6; }

.about-team { margin-bottom: 48px; }
.about-team h2 {
    font-family: var(--font-heading); font-size: 1.5rem; color: var(--color-text); margin-bottom: 8px;
}
.team-profiles { margin-top: 24px; }
.team-profile {
    display: flex; gap: 24px; align-items: flex-start;
    padding: 28px 0; border-bottom: 1px solid var(--color-border-light);
}
.team-profile:last-child { border-bottom: none; }
.team-avatar-lg {
    width: 72px; height: 72px; min-width: 72px; border-radius: 50%;
    background: var(--color-accent); color: #fff; font-family: var(--font-heading);
    font-size: 1.8rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.team-profile-info h3 {
    font-family: var(--font-heading); font-size: 1.2rem; color: var(--color-text); margin-bottom: 2px;
}
.team-profile-info .team-role { margin-bottom: 10px; }
.team-profile-bio {
    font-size: 0.95rem; color: var(--color-text); line-height: 1.7; margin-bottom: 10px;
}
.team-covers { font-size: 0.85rem; color: var(--color-text-muted); line-height: 1.5; }

.about-contact {
    background: var(--color-bg); border: 1px solid var(--color-border);
    border-radius: var(--radius); padding: 32px; margin-bottom: 32px;
}
.about-contact h2 {
    font-family: var(--font-heading); font-size: 1.3rem; color: var(--color-text); margin-bottom: 12px;
}
.about-contact p {
    font-size: 0.95rem; color: var(--color-text); line-height: 1.6; margin-bottom: 8px;
}
.about-note {
    font-size: 0.85rem; color: var(--color-text-muted); font-style: italic; margin-top: 8px;
}

/* ============================================================
   EDITORIAL LIST (Editorial Policy page)
   ============================================================ */
.editorial-list {
    list-style: none;
    padding: 0;
    margin: 16px 0 20px;
}
.editorial-list li {
    font-size: 0.95rem;
    line-height: 1.7;
    padding: 8px 0 8px 24px;
    position: relative;
    border-bottom: 1px solid var(--color-border-light);
}
.editorial-list li:last-child { border-bottom: none; }
.editorial-list li::before {
    content: "\2022";
    position: absolute;
    left: 8px;
    color: var(--color-accent);
    font-weight: 700;
}
.editorial-list li strong { color: var(--color-text); }

/* ============================================================
   LEGAL PAGES (Privacy / Terms / Contact)
   ============================================================ */
.legal-page { max-width: 780px; }
.legal-page h1 {
    font-family: var(--font-heading); font-size: 2rem; color: var(--color-text);
    margin: 20px 0 6px;
}
.legal-updated { font-size: 0.85rem; color: var(--color-text-muted); margin-bottom: 24px; }
.legal-page h2 {
    font-family: var(--font-heading); font-size: 1.3rem; color: var(--color-text);
    margin: 28px 0 10px;
}
.legal-page p, .legal-page li { font-size: 1rem; line-height: 1.75; color: var(--color-text); }
.legal-page ul { margin: 10px 0 10px 22px; }
.legal-page li { margin-bottom: 6px; }

/* ============================================================
   IMAGE-FREE COVER TILES (product cards + product page header)
   Deterministic monogram tile stands in for a product photo so pages
   read as intentionally designed rather than missing an image.
   ============================================================ */
.cover-tile {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 118px;
    border-radius: 8px;
    margin-bottom: 16px;
    background: var(--cover-accent, #3b6064);
    overflow: hidden;
}
.cover-tile::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.14), rgba(0,0,0,0.24));
}
.cover-tile::after {
    content: "";
    position: absolute; right: -26px; top: -26px;
    width: 110px; height: 110px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.16), transparent 70%);
}
.cover-mono {
    position: relative; z-index: 1;
    font-family: var(--font-heading);
    font-size: 2.8rem; font-weight: 700; line-height: 1;
    color: rgba(255,255,255,0.94);
    letter-spacing: 0.02em;
    text-shadow: 0 1px 2px rgba(0,0,0,0.18);
}
.cover-tile-lg {
    height: 200px; border-radius: 12px; margin-bottom: 22px;
}
.cover-tile-lg .cover-mono { font-size: 4.4rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--color-footer-bg); color: var(--color-footer-text);
    padding: 48px 0 32px; margin-top: 64px;
}
.footer-inner {
    max-width: var(--max-width); margin: 0 auto; padding: 0 24px; text-align: center;
}
.footer-brand {
    font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700;
    color: #ffffff; margin-bottom: 4px;
}
.footer-tagline { font-size: 0.9rem; color: #999; font-style: italic; margin-bottom: 20px; }
.footer-links { margin-bottom: 24px; }
.footer-links a {
    color: var(--color-footer-text); margin: 0 14px; font-size: 0.9rem; font-weight: 500;
}
.footer-links a:hover { color: #ffffff; }
.footer-disclosure {
    font-size: 0.8rem; color: #777; max-width: 600px; margin: 0 auto 16px; line-height: 1.6;
}
.footer-copy { font-size: 0.8rem; color: #555; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .hero h1 { font-size: 1.8rem; }
    .hero { padding: 40px 0 32px; }
    .team-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
    .pros-cons { grid-template-columns: 1fr; }
    .all-categories ul { columns: 1; }
    .sidebar-list { columns: 1; }
    .card-actions { flex-direction: column; }
    .secondary { margin-left: 0; }
    .product-header h1 { font-size: 1.6rem; }
    .product-meta-bar { gap: 12px; }
    .product-cta-bar { flex-direction: column; }
    .product-cta-bar .secondary { margin-left: 0; }
    .category-hero h1 { font-size: 1.6rem; }
    .principles-grid { grid-template-columns: 1fr; }
    .team-profile { flex-direction: column; align-items: center; text-align: center; }
    .team-avatar-lg { margin-bottom: 8px; }
    .about-hero h1 { font-size: 1.7rem; }
    .site-nav a { margin: 0 8px; font-size: 0.85rem; }
    .cover-tile-lg { height: 150px; }
    .cover-tile-lg .cover-mono { font-size: 3.2rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.5rem; }
    .site-logo { font-size: 1.6rem; }
    .niche-section h2 { font-size: 1.2rem; }
    .product-header h1 { font-size: 1.4rem; }
    .product-price { font-size: 1.1rem; }
    .category-hero h1 { font-size: 1.4rem; }
    .site-nav a { margin: 0 6px; font-size: 0.8rem; }
}
