/* ==========================================================================
   Tent Clubs — Ghost theme
   Outdoor magazine / Wirecutter-style Amazon affiliate design
   ========================================================================== */

:root {
    --tc-pine: #1B4332;
    --tc-forest: #2D6A4F;
    --tc-pine-soft: #40916C;
    --tc-mint: #D8F3DC;
    --tc-amber: #D97706;
    --tc-amber-hover: #B45309;
    --tc-bg: #FAF9F6;
    --tc-white: #FFFFFF;
    --tc-charcoal: #1F2937;
    --tc-slate: #4B5563;
    --tc-muted: #6B7280;
    --tc-border: #E5E7EB;
    --tc-footer: #132A1F;
    --tc-danger: #B42318;
    --tc-danger-bg: #FEF3F2;
    --tc-success: #157347;
    --tc-success-bg: #ECFDF3;
    --tc-shadow: 0 10px 30px rgba(19, 42, 31, 0.08);
    --tc-shadow-sm: 0 4px 14px rgba(19, 42, 31, 0.06);
    --tc-radius: 16px;
    --tc-radius-sm: 10px;
    --tc-wrap: 1180px;
    --tc-article: 760px;
    --tc-header-h: 76px;
    --gh-font-heading: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
    --gh-font-body: "Inter", system-ui, -apple-system, sans-serif;
    --tc-font-sans: var(--gh-font-heading), "Plus Jakarta Sans", "Inter", system-ui, -apple-system, sans-serif;
    --tc-font-body: var(--gh-font-body), "Inter", system-ui, -apple-system, sans-serif;
    --tc-ease: 180ms ease;
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    margin: 0;
    background: var(--tc-bg);
    color: var(--tc-charcoal);
    font-family: var(--tc-font-body);
    font-size: 17px;
    line-height: 1.75;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.tc-nav-open {
    overflow: hidden;
}

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

a {
    color: var(--tc-forest);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.16em;
}

a:hover {
    color: var(--tc-pine);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--tc-font-sans);
    font-weight: 700;
    line-height: 1.2;
    color: var(--tc-pine);
    letter-spacing: -0.03em;
    margin: 0 0 0.6em;
}

p {
    margin: 0 0 1em;
}

ul, ol {
    margin: 0;
    padding: 0;
}

button,
input {
    font: inherit;
}

figure {
    margin: 0;
}

.tc-skip {
    position: absolute;
    left: 12px;
    top: -48px;
    z-index: 1000;
    background: var(--tc-pine);
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
}

.tc-skip:focus {
    top: 12px;
    color: #fff;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.tc-wrap {
    width: min(var(--tc-wrap), calc(100% - 40px));
    margin: 0 auto;
}

.tc-main {
    min-height: 50vh;
}

.tc-section {
    padding: 72px 0;
}

.tc-section-head {
    max-width: 680px;
    margin: 0 auto 40px;
    text-align: center;
}

.tc-section-head h2 {
    font-size: clamp(1.7rem, 3vw, 2.25rem);
    margin-bottom: 0.4em;
}

.tc-section-lede,
.tc-archive-lede {
    color: var(--tc-slate);
    margin: 0;
    font-size: 1.05rem;
}

.tc-eyebrow {
    display: inline-block;
    margin: 0 0 10px;
    color: var(--tc-forest);
    font-family: var(--tc-font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.tc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 12px 22px;
    border-radius: 999px;
    border: 2px solid transparent;
    font-family: var(--tc-font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-decoration: none;
    transition: background var(--tc-ease), color var(--tc-ease), border-color var(--tc-ease), transform var(--tc-ease), box-shadow var(--tc-ease);
}

.tc-btn-amber {
    background: var(--tc-amber);
    color: #111827;
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.28);
}

.tc-btn-amber:hover {
    background: var(--tc-amber-hover);
    color: #fff;
}

.tc-btn-outline {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
}

.tc-btn-outline:hover {
    background: #fff;
    color: var(--tc-pine);
    border-color: #fff;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.tc-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(19, 42, 31, 0.97);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    transition: box-shadow var(--tc-ease), border-color var(--tc-ease);
}

.tc-header.is-scrolled {
    border-bottom-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.tc-header-inner {
    width: min(var(--tc-wrap), calc(100% - 32px));
    margin: 0 auto;
    min-height: var(--tc-header-h);
    display: flex;
    align-items: center;
    gap: 28px;
}

.tc-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #F8FBF9;
    flex-shrink: 0;
}

.tc-logo:hover {
    color: #FFFFFF;
}

.tc-logo-mark {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.tc-logo-mark svg {
    width: 40px;
    height: 40px;
}

.tc-logo-img {
    display: block;
    height: 52px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
}

.tc-logo-word {
    font-family: var(--tc-font-sans);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.04em;
    line-height: 1;
}

.tc-nav {
    margin-left: auto;
}

.tc-nav .nav,
.tc-mobile-nav .nav,
.tc-footer .nav,
.tc-footer-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tc-nav .nav a {
    display: inline-flex;
    padding: 8px 12px;
    color: rgba(248, 251, 249, 0.9);
    text-decoration: none;
    font-family: var(--tc-font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 999px;
    transition: background var(--tc-ease), color var(--tc-ease);
}

.tc-nav .nav a:hover,
.tc-nav .nav-current a {
    background: rgba(255, 255, 255, 0.14);
    color: #FFFFFF;
}

.tc-mobile-nav .nav a {
    display: inline-flex;
    padding: 8px 12px;
    color: var(--tc-charcoal);
    text-decoration: none;
    font-family: var(--tc-font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 999px;
    transition: background var(--tc-ease), color var(--tc-ease);
}

.tc-mobile-nav .nav a:hover,
.tc-mobile-nav .nav-current a {
    background: #EEF4F0;
    color: var(--tc-pine);
}

.tc-header-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.tc-icon-btn {
    appearance: none;
    background: transparent;
    border: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #F8FBF9;
    cursor: pointer;
    transition: background var(--tc-ease);
}

.tc-icon-btn:hover,
.tc-icon-btn:focus-visible {
    background: rgba(255, 255, 255, 0.14);
    outline: none;
}

.tc-menu-toggle {
    display: none;
}

.tc-menu-bars,
.tc-menu-bars::before,
.tc-menu-bars::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    position: relative;
    transition: transform var(--tc-ease), opacity var(--tc-ease);
}

.tc-menu-bars::before,
.tc-menu-bars::after {
    content: "";
    position: absolute;
    left: 0;
}

.tc-menu-bars::before { top: -6px; }
.tc-menu-bars::after { top: 6px; }

.tc-menu-toggle.is-open .tc-menu-bars {
    background: transparent;
}

.tc-menu-toggle.is-open .tc-menu-bars::before {
    top: 0;
    transform: rotate(45deg);
}

.tc-menu-toggle.is-open .tc-menu-bars::after {
    top: 0;
    transform: rotate(-45deg);
}

.tc-mobile-nav {
    display: none;
    border-top: 1px solid var(--tc-border);
    background: #fff;
}

.tc-mobile-nav-inner {
    width: min(var(--tc-wrap), calc(100% - 32px));
    margin: 0 auto;
    padding: 12px 0 20px;
}

.tc-mobile-nav .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
}

.tc-mobile-nav .nav a {
    width: 100%;
    padding: 12px 14px;
}

@media (max-width: 900px) {
    .tc-nav {
        display: none;
    }

    .tc-menu-toggle {
        display: inline-flex;
    }

    .tc-mobile-nav.is-open {
        display: block;
    }
}

/* --------------------------------------------------------------------------
   Homepage hero
   -------------------------------------------------------------------------- */

.tc-hero {
    position: relative;
    isolation: isolate;
    min-height: 620px;
    display: flex;
    align-items: flex-end;
    color: #fff;
    overflow: hidden;
    background: #0B1F16;
}

.tc-hero-bg,
.tc-hero-overlay,
.tc-hero-art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.tc-hero-bg {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transform: scale(1.04);
}

.tc-hero-fallback {
    background:
        radial-gradient(ellipse at 20% 10%, rgba(217, 119, 6, 0.18), transparent 40%),
        radial-gradient(ellipse at 90% 20%, rgba(64, 145, 108, 0.28), transparent 42%),
        linear-gradient(180deg, #0B1F16 0%, #1B4332 48%, #132A1F 100%);
}

.tc-hero-overlay {
    background:
        linear-gradient(180deg, rgba(11, 31, 22, 0.35) 0%, rgba(11, 31, 22, 0.55) 42%, rgba(11, 31, 22, 0.88) 100%),
        linear-gradient(90deg, rgba(19, 42, 31, 0.35), rgba(19, 42, 31, 0.05) 55%);
}

.tc-hero-inner {
    position: relative;
    z-index: 2;
    width: min(var(--tc-wrap), calc(100% - 40px));
    margin: 0 auto;
    padding: 120px 0 64px;
    max-width: 860px;
}

.tc-hero-badge {
    display: inline-flex;
    margin: 0 0 18px;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #F4F1EA;
    font-family: var(--tc-font-sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.tc-hero-title {
    margin: 0 0 16px;
    color: #fff;
    font-size: clamp(2.25rem, 6vw, 3.7rem);
    letter-spacing: -0.045em;
    line-height: 1.08;
}

.tc-hero-sub {
    margin: 0 0 28px;
    max-width: 620px;
    color: rgba(250, 249, 246, 0.86);
    font-size: 1.12rem;
    line-height: 1.65;
}

.tc-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 36px;
}

.tc-hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    list-style: none;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.tc-hero-trust li {
    position: relative;
    color: rgba(250, 249, 246, 0.9);
    font-family: var(--tc-font-sans);
    font-size: 0.88rem;
    font-weight: 600;
    padding-left: 18px;
}

.tc-hero-trust li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--tc-amber);
}

/* --------------------------------------------------------------------------
   Category cards
   -------------------------------------------------------------------------- */

.tc-cat-grid,
.tc-post-grid,
.tc-why-grid {
    display: grid;
    gap: 22px;
}

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

.tc-cat-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--tc-white);
    border: 1px solid var(--tc-border);
    border-radius: var(--tc-radius);
    padding: 24px 22px 26px;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--tc-shadow-sm);
    transition: transform var(--tc-ease), box-shadow var(--tc-ease), border-color var(--tc-ease);
}

.tc-cat-card:hover {
    transform: translateY(-3px);
    border-color: #C5D5CC;
    box-shadow: var(--tc-shadow);
    color: inherit;
}

.tc-cat-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #EEF6F1;
    color: var(--tc-forest);
}

.tc-cat-icon svg {
    width: 28px;
    height: 28px;
}

.tc-cat-card h3 {
    margin: 0;
    font-size: 1.15rem;
    color: var(--tc-pine);
}

.tc-cat-card p {
    margin: 0;
    color: var(--tc-slate);
    font-size: 0.95rem;
    line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Post cards & grids
   -------------------------------------------------------------------------- */

.tc-latest {
    padding-top: 24px;
}

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

.tc-card {
    display: flex;
    flex-direction: column;
    background: var(--tc-white);
    border: 1px solid var(--tc-border);
    border-radius: var(--tc-radius);
    overflow: hidden;
    box-shadow: var(--tc-shadow-sm);
    transition: transform var(--tc-ease), box-shadow var(--tc-ease);
}

.tc-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--tc-shadow);
}

.tc-card-media {
    display: block;
    aspect-ratio: 16 / 10;
    background: #1B4332;
    overflow: hidden;
}

.tc-card-media img,
.tc-card-placeholder,
.tc-card-placeholder-svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tc-card-placeholder {
    height: 100%;
    background:
        radial-gradient(circle at 20% 20%, rgba(217, 119, 6, 0.16), transparent 40%),
        linear-gradient(160deg, #1B4332, #2D6A4F 60%, #40916C);
}

.tc-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 20px 22px;
    flex: 1;
}

.tc-pill {
    align-self: flex-start;
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 999px;
    background: #EEF6F1;
    color: var(--tc-forest);
    font-family: var(--tc-font-sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
}

.tc-pill:hover {
    background: #DCEFE4;
    color: var(--tc-pine);
}

.tc-card-title {
    margin: 0;
    font-size: 1.15rem;
    letter-spacing: -0.03em;
}

.tc-card-title a {
    color: var(--tc-pine);
    text-decoration: none;
}

.tc-card-title a:hover {
    color: var(--tc-forest);
}

.tc-card-excerpt {
    margin: 0;
    color: var(--tc-slate);
    font-size: 0.95rem;
    line-height: 1.6;
}

.tc-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 8px;
    color: var(--tc-muted);
    font-size: 0.84rem;
}

.tc-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
    display: inline-block;
    opacity: 0.7;
}

.tc-empty {
    text-align: center;
    background: var(--tc-white);
    border: 1px dashed #D1D5DB;
    border-radius: var(--tc-radius);
    padding: 56px 28px;
    max-width: 640px;
    margin: 0 auto;
}

.tc-empty-icon {
    width: 64px;
    height: 64px;
    display: inline-block;
    margin-bottom: 16px;
}

.tc-empty h3 {
    margin-bottom: 8px;
}

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

/* --------------------------------------------------------------------------
   Why trust
   -------------------------------------------------------------------------- */

.tc-why {
    padding-top: 8px;
}

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

.tc-why-card {
    background: var(--tc-white);
    border: 1px solid var(--tc-border);
    border-radius: var(--tc-radius);
    padding: 28px 26px;
    box-shadow: var(--tc-shadow-sm);
}

.tc-why-card h3 {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 12px;
    font-size: 1.15rem;
}

.tc-why-card h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 3px;
    border-radius: 3px;
    background: var(--tc-amber);
}

.tc-why-card p {
    margin: 0;
    color: var(--tc-slate);
}

/* --------------------------------------------------------------------------
   Pagination
   -------------------------------------------------------------------------- */

.tc-pagination,
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 42px;
}

.page-number {
    color: var(--tc-slate);
    font-family: var(--tc-font-sans);
    font-size: 0.9rem;
    font-weight: 600;
}

.tc-page-link,
.newer-posts,
.older-posts {
    color: var(--tc-pine);
    font-family: var(--tc-font-sans);
    font-weight: 700;
    text-decoration: none;
}

.tc-page-link:hover,
.newer-posts:hover,
.older-posts:hover {
    color: var(--tc-forest);
}

.tc-page-link.is-disabled {
    color: #9CA3AF;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.tc-footer {
    background: var(--tc-footer);
    color: rgba(250, 249, 246, 0.84);
    margin-top: 24px;
    padding: 64px 0 28px;
}

.tc-footer-inner {
    width: min(var(--tc-wrap), calc(100% - 40px));
    margin: 0 auto;
}

.tc-footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tc-footer-tagline {
    margin: 14px 0 0;
    max-width: 360px;
    color: rgba(250, 249, 246, 0.72);
}

.tc-logo-footer .tc-logo-word,
.tc-footer .tc-logo {
    color: #fff;
}

.tc-footer-nav-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.tc-footer-heading {
    margin: 0 0 14px;
    color: #fff;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.tc-footer-links,
.tc-footer .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.tc-footer-links a,
.tc-footer .nav a {
    color: rgba(250, 249, 246, 0.8);
    text-decoration: none;
    font-weight: 500;
}

.tc-footer-links a:hover,
.tc-footer .nav a:hover {
    color: #fff;
}

.tc-footer-legal {
    padding-top: 24px;
}

.tc-footer-amazon {
    margin: 0 0 12px;
    font-size: 0.82rem;
    line-height: 1.65;
    color: rgba(250, 249, 246, 0.58);
    max-width: 860px;
}

.tc-footer-copy {
    margin: 0;
    font-size: 0.88rem;
    color: rgba(250, 249, 246, 0.72);
}

/* --------------------------------------------------------------------------
   Archives
   -------------------------------------------------------------------------- */

.tc-archive-hero {
    background:
        radial-gradient(ellipse at 80% 0%, rgba(45, 106, 79, 0.18), transparent 50%),
        linear-gradient(180deg, #E8F0EB, var(--tc-bg));
    padding: 56px 0 28px;
    border-bottom: 1px solid var(--tc-border);
}

.tc-archive-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 10px;
}

.tc-archive-count {
    margin: 12px 0 0;
    color: var(--tc-muted);
    font-size: 0.92rem;
}

.tc-author-head {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.tc-author-photo {
    width: 112px;
    height: 112px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: var(--tc-shadow-sm);
}

.tc-author-links a {
    font-weight: 600;
}

.tc-archive-count {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --------------------------------------------------------------------------
   Article / post layout
   -------------------------------------------------------------------------- */

.tc-article {
    padding: 36px 0 72px;
}

.tc-article-wrap {
    width: min(1100px, calc(100% - 40px));
}

.tc-article-header,
.tc-feature,
.tc-page-main {
    width: min(var(--tc-article), 100%);
    margin-left: auto;
    margin-right: auto;
}

.tc-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--tc-muted);
    font-size: 0.88rem;
    font-weight: 600;
}

.tc-breadcrumb a {
    color: var(--tc-forest);
    text-decoration: none;
}

.tc-breadcrumb a:hover {
    text-decoration: underline;
}

.tc-article-title {
    font-size: clamp(2rem, 5vw, 3.1rem);
    margin-bottom: 14px;
}

.tc-article-deck {
    font-size: 1.15rem;
    color: var(--tc-slate);
    margin-bottom: 18px;
}

.tc-article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
    color: var(--tc-muted);
    font-size: 0.92rem;
}

.tc-author-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--tc-charcoal);
    font-weight: 600;
    text-decoration: none;
}

.tc-author-link:hover {
    color: var(--tc-forest);
}

.tc-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.tc-feature {
    margin: 32px auto 8px;
}

.tc-feature img {
    width: 100%;
    border-radius: 18px;
    object-fit: cover;
}

.tc-feature figcaption {
    margin-top: 10px;
    color: var(--tc-muted);
    font-size: 0.88rem;
    text-align: center;
}

.tc-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 48px;
    align-items: start;
    margin-top: 36px;
}

.tc-page .tc-article-layout,
.tc-page-main {
    display: block;
    margin-top: 32px;
}

.tc-toc {
    position: sticky;
    top: 104px;
    padding: 18px 18px 16px;
    border: 1px solid var(--tc-border);
    border-radius: 14px;
    background: #fff;
}

.tc-toc[hidden] {
    display: none;
}

.tc-toc-label {
    margin: 0 0 10px;
    font-family: var(--tc-font-sans);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--tc-forest);
}

.tc-toc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tc-toc-item a {
    display: block;
    color: var(--tc-slate);
    text-decoration: none;
    font-size: 0.88rem;
    line-height: 1.45;
    padding-left: 10px;
    border-left: 2px solid transparent;
}

.tc-toc-item.is-h3 a {
    padding-left: 20px;
    font-size: 0.84rem;
}

.tc-toc-item a:hover,
.tc-toc-item a.is-active {
    color: var(--tc-pine);
    border-left-color: var(--tc-amber);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Affiliate disclosure
   -------------------------------------------------------------------------- */

.tc-disclosure {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 0 0 28px;
    padding: 14px 16px;
    background: #FFF7ED;
    border: 1px solid #F6D7B0;
    border-left: 4px solid var(--tc-amber);
    border-radius: 12px;
    color: #7C4A03;
}

.tc-disclosure p {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.55;
}

.tc-disclosure-icon {
    color: var(--tc-amber-hover);
    flex-shrink: 0;
    margin-top: 2px;
}

/* --------------------------------------------------------------------------
   Post typography + affiliate utilities
   -------------------------------------------------------------------------- */

.tc-post-content {
    color: var(--tc-charcoal);
}

.tc-post-content > *:first-child {
    margin-top: 0;
}

.tc-post-content h2,
.tc-post-content h3,
.tc-post-content h4 {
    margin: 1.6em 0 0.55em;
}

.tc-post-content h2 { font-size: 1.7rem; }
.tc-post-content h3 { font-size: 1.3rem; }

.tc-post-content a {
    color: var(--tc-forest);
    font-weight: 600;
}

.tc-post-content a:hover {
    color: var(--tc-amber-hover);
}

.tc-post-content ul,
.tc-post-content ol {
    margin: 0 0 1.3em 1.3em;
    padding: 0;
}

.tc-post-content li + li {
    margin-top: 0.35em;
}

.tc-post-content blockquote {
    margin: 1.5em 0;
    padding: 8px 0 8px 20px;
    border-left: 4px solid var(--tc-amber);
    color: var(--tc-slate);
    font-size: 1.05rem;
}

.tc-post-content hr {
    border: 0;
    border-top: 1px solid var(--tc-border);
    margin: 2.2em 0;
}

.tc-post-content code,
.tc-post-content kbd {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.88em;
    background: #F3F4F6;
    padding: 0.1em 0.35em;
    border-radius: 5px;
}

.tc-post-content pre {
    overflow: auto;
    background: #132A1F;
    color: #F3F4F6;
    padding: 18px 20px;
    border-radius: 12px;
    margin: 1.5em 0;
}

.tc-post-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

.tc-post-content figcaption {
    color: var(--tc-muted);
    font-size: 0.88rem;
    text-align: center;
    margin-top: 0.7em;
}

.tc-amazon-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 16px;
    padding: 12px 20px;
    border-radius: 8px;
    background: var(--tc-amber);
    color: #111827 !important;
    font-family: var(--tc-font-sans);
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none !important;
    box-shadow: 0 6px 16px rgba(217, 119, 6, 0.25);
    transition: background var(--tc-ease), color var(--tc-ease);
}

.tc-amazon-btn::after {
    content: "";
    width: 14px;
    height: 14px;
    background-repeat: no-repeat;
    background-size: 14px 14px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'><path d='M7 17L17 7'/><path d='M8 7h9v9'/></svg>");
}

.tc-amazon-btn:hover {
    background: var(--tc-amber-hover);
    color: #fff !important;
}

.tc-amazon-btn:hover::after {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'><path d='M7 17L17 7'/><path d='M8 7h9v9'/></svg>");
}

.tc-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 1.6em 0;
}

.tc-pros-cons > div,
.tc-pros,
.tc-cons {
    border-radius: 14px;
    padding: 18px 18px 8px;
    border: 1px solid transparent;
}

.tc-pros-cons h3,
.tc-pros-cons h4,
.tc-pros h3,
.tc-cons h3 {
    margin-top: 0 !important;
    font-size: 1rem !important;
}

.tc-pros-cons > div:first-child,
.tc-pros {
    background: var(--tc-success-bg);
    border-color: #BBF7D0;
}

.tc-pros-cons > div:last-child,
.tc-cons {
    background: var(--tc-danger-bg);
    border-color: #FECDCA;
}

.tc-pros-cons > div:first-child h3,
.tc-pros-cons > div:first-child h4,
.tc-pros h3 {
    color: var(--tc-success);
}

.tc-pros-cons > div:last-child h3,
.tc-pros-cons > div:last-child h4,
.tc-cons h3 {
    color: var(--tc-danger);
}

.tc-verdict {
    margin: 1.8em 0;
    padding: 22px 24px;
    background: #F4FBF6;
    border: 1px solid #C5E7D3;
    border-left: 5px solid var(--tc-forest);
    border-radius: 14px;
}

.tc-verdict > *:first-child {
    margin-top: 0;
}

.tc-verdict > *:last-child {
    margin-bottom: 0;
}

.tc-post-content table,
.kg-card table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.6em 0;
    background: #fff;
    font-size: 0.92rem;
    overflow: hidden;
    border: 1px solid var(--tc-border);
    border-radius: 12px;
}

.tc-post-content .tc-table-wrap,
.tc-post-content > div:has(> table) {
    overflow-x: auto;
    margin: 1.6em 0;
}

.tc-post-content table {
    display: table;
    min-width: 520px;
}

.tc-post-content th,
.tc-post-content td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--tc-border);
    text-align: left;
    vertical-align: top;
}

.tc-post-content thead th {
    background: var(--tc-pine);
    color: #fff;
    font-family: var(--tc-font-sans);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.tc-post-content tbody tr:nth-child(even) {
    background: #F7F8F6;
}

.tc-post-content tbody tr:hover {
    background: #EEF6F1;
}

/* --------------------------------------------------------------------------
   Koenig / Ghost editor cards
   -------------------------------------------------------------------------- */

.kg-canvas {
    --wide: min(1100px, calc(100vw - 40px));
}

.kg-width-wide {
    position: relative;
    width: var(--wide);
    max-width: var(--wide);
    margin-left: calc(50% - var(--wide) / 2);
    margin-right: calc(50% - var(--wide) / 2);
}

.kg-width-full {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.kg-image-card,
.kg-gallery-card,
.kg-embed-card,
.kg-video-card,
.kg-audio-card,
.kg-file-card,
.kg-product-card,
.kg-bookmark-card,
.kg-callout-card,
.kg-toggle-card,
.kg-button-card,
.kg-header-card,
.kg-signup-card,
.kg-nft-card,
.kg-code-card {
    margin: 2em 0;
}

.kg-image-card img,
.kg-image {
    width: 100%;
    border-radius: 14px;
}

.kg-image-card.kg-card-hascaption,
.kg-gallery-card figcaption,
.kg-embed-card figcaption,
.kg-video-card figcaption {
    text-align: center;
}

.kg-gallery-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.kg-gallery-row {
    display: flex;
    gap: 10px;
}

.kg-gallery-image {
    flex: 1;
    margin: 0;
}

.kg-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.kg-bookmark-card {
    background: #fff;
    border: 1px solid var(--tc-border);
    border-radius: 14px;
    overflow: hidden;
}

.kg-bookmark-container {
    display: flex;
    text-decoration: none !important;
    color: inherit !important;
    min-height: 148px;
}

.kg-bookmark-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px 20px;
    min-width: 0;
}

.kg-bookmark-title {
    font-family: var(--tc-font-sans);
    font-weight: 700;
    color: var(--tc-pine);
    margin-bottom: 6px;
}

.kg-bookmark-description {
    color: var(--tc-slate);
    font-size: 0.92rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kg-bookmark-metadata {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
    color: var(--tc-muted);
    font-size: 0.8rem;
}

.kg-bookmark-icon {
    width: 18px;
    height: 18px;
    border-radius: 3px;
}

.kg-bookmark-author + .kg-bookmark-publisher::before {
    content: "•";
    margin: 0 6px 0 0;
}

.kg-bookmark-thumbnail {
    flex: 0 0 180px;
    max-width: 180px;
}

.kg-bookmark-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kg-callout-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 20px;
    border-radius: 14px;
    background: #EEF6F1;
    border: 1px solid #D5E8DC;
}

.kg-callout-card-grey { background: #F3F4F6; border-color: #E5E7EB; }
.kg-callout-card-blue { background: #EFF6FF; border-color: #BFDBFE; }
.kg-callout-card-green { background: #ECFDF3; border-color: #BBF7D0; }
.kg-callout-card-yellow { background: #FFFBEB; border-color: #FDE68A; }
.kg-callout-card-red { background: #FEF3F2; border-color: #FECDCA; }
.kg-callout-card-pink { background: #FDF2F8; border-color: #FBCFE8; }
.kg-callout-card-purple { background: #F5F3FF; border-color: #DDD6FE; }
.kg-callout-card-accent { background: #FFF7ED; border-color: #F6D7B0; }

.kg-callout-emoji {
    font-size: 1.2rem;
    line-height: 1.4;
}

.kg-callout-text {
    min-width: 0;
}

.kg-button-card {
    text-align: center;
}

.kg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 999px;
    background: var(--tc-amber);
    color: #111827 !important;
    font-family: var(--tc-font-sans);
    font-weight: 800;
    text-decoration: none !important;
}

.kg-btn:hover {
    background: var(--tc-amber-hover);
    color: #fff !important;
}

.kg-toggle-card {
    border: 1px solid var(--tc-border);
    border-radius: 12px;
    background: #fff;
    padding: 4px 6px;
}

.kg-toggle-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    padding: 12px 12px;
    font-family: var(--tc-font-sans);
    font-weight: 700;
    color: var(--tc-pine);
}

.kg-toggle-card-icon {
    width: 16px;
    height: 16px;
}

.kg-toggle-content {
    padding: 0 12px 14px;
}

.kg-video-card video,
.kg-video-container {
    width: 100%;
    border-radius: 14px;
}

.kg-audio-card,
.kg-file-card,
.kg-product-card {
    background: #fff;
    border: 1px solid var(--tc-border);
    border-radius: 14px;
    overflow: hidden;
}

.kg-audio-card {
    padding: 14px 16px;
}

.kg-file-card a,
.kg-file-card-container {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    text-decoration: none;
    color: inherit;
}

.kg-product-card {
    padding: 20px;
    text-align: center;
}

.kg-product-card-image img {
    margin: 0 auto 12px;
    border-radius: 10px;
}

.kg-product-card-title {
    font-family: var(--tc-font-sans);
    font-weight: 700;
    color: var(--tc-pine);
}

.kg-product-card-button {
    display: inline-flex;
    margin-top: 12px;
    padding: 10px 18px;
    border-radius: 8px;
    background: var(--tc-amber);
    color: #111827 !important;
    font-weight: 800;
    text-decoration: none !important;
}

.kg-header-card,
.kg-signup-card {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    padding: 56px 28px;
    text-align: center;
    background: var(--tc-pine);
    color: #fff;
}

.kg-header-card h2,
.kg-header-card h3,
.kg-signup-card h2 {
    color: #fff;
}

.kg-nft-card {
    max-width: 420px;
}

.kg-embed-card iframe,
.kg-embed-card video {
    width: 100%;
    border: 0;
    border-radius: 14px;
}

.kg-code-card {
    position: relative;
}

.kg-code-card pre {
    margin: 0;
}

/* --------------------------------------------------------------------------
   Error page
   -------------------------------------------------------------------------- */

.tc-error-page,
body.error-template,
body.error404,
body.error500 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(45, 106, 79, 0.16), transparent 45%),
        var(--tc-bg);
}

.tc-error {
    width: min(560px, calc(100% - 40px));
    text-align: center;
    padding: 48px 0;
}

.tc-error .tc-logo {
    justify-content: center;
    margin-bottom: 28px;
}

.tc-error-code {
    margin: 0;
    font-family: var(--tc-font-sans);
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -0.06em;
    color: var(--tc-pine);
    line-height: 1;
}

.tc-error h1 {
    margin: 8px 0 12px;
}

.tc-error-text {
    color: var(--tc-slate);
    margin-bottom: 24px;
}

/* --------------------------------------------------------------------------
   Ghost helpers / search portal compatibility
   -------------------------------------------------------------------------- */

.gh-search-icon,
[data-ghost-search] {
    cursor: pointer;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
    .tc-cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tc-article-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .tc-toc {
        position: static;
        margin-bottom: 28px;
        order: -1;
    }

    .tc-article-layout {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 820px) {
    .tc-post-grid,
    .tc-why-grid,
    .tc-footer-top,
    .tc-pros-cons {
        grid-template-columns: 1fr 1fr;
    }

    .tc-hero {
        min-height: 540px;
    }

    .tc-section {
        padding: 56px 0;
    }

    .kg-bookmark-container {
        flex-direction: column-reverse;
    }

    .kg-bookmark-thumbnail {
        flex: auto;
        max-width: none;
        height: 180px;
    }

    .kg-width-wide,
    .kg-width-full {
        width: calc(100vw - 32px);
        max-width: calc(100vw - 32px);
        margin-left: calc(50% - 50vw + 16px);
        margin-right: calc(50% - 50vw + 16px);
        left: auto;
    }
}

@media (max-width: 640px) {
    .tc-cat-grid,
    .tc-post-grid,
    .tc-why-grid,
    .tc-footer-top,
    .tc-footer-nav-cols,
    .tc-pros-cons {
        grid-template-columns: 1fr;
    }

    .tc-wrap,
    .tc-hero-inner,
    .tc-footer-inner,
    .tc-article-wrap {
        width: min(var(--tc-wrap), calc(100% - 28px));
    }

    .tc-hero-inner {
        padding: 100px 0 48px;
    }

    .tc-hero-ctas,
    .tc-hero-trust {
        flex-direction: column;
        align-items: flex-start;
    }

    .tc-author-head {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .tc-article-meta {
        justify-content: flex-start;
    }

    .tc-header-inner {
        min-height: 66px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}

/* Focus visibility */
:focus-visible {
    outline: 3px solid var(--tc-amber);
    outline-offset: 2px;
}
