/*
Theme Name: TCN Network
Theme URI: https://thecigarnetwork.com/
Author: Sevilla Local Media / The Cigar Network
Author URI: https://sevillalocalmedia.com/
Description: Mobile-first editorial, directory and community theme built for The Cigar Network. Designed to work with TCN Community Core while preserving standard WordPress posts, pages, menus, comments and WooCommerce compatibility.
Version: 1.1.7
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tcn-network
Tags: news, blog, custom-logo, custom-menu, featured-images, one-column, two-columns, wide-blocks, accessibility-ready
*/

:root {
  --tcn-ink: #171411;
  --tcn-charcoal: #24201c;
  --tcn-brown: #4c3424;
  --tcn-tobacco: #7b5433;
  --tcn-brass: #b98a49;
  --tcn-gold: #d3a45e;
  --tcn-cream: #f4efe7;
  --tcn-paper: #fffdf9;
  --tcn-muted: #716b64;
  --tcn-line: #e4ddd3;
  --tcn-success: #2e6544;
  --tcn-danger: #8a332f;
  --tcn-shadow: 0 18px 50px rgba(23,20,17,.10);
  --tcn-radius: 18px;
  --tcn-radius-sm: 12px;
  --tcn-max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--tcn-ink);
  background: var(--tcn-paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: var(--tcn-brown); text-decoration-thickness: .08em; text-underline-offset: .15em; }
a:hover { color: var(--tcn-tobacco); }
button, input, select, textarea { font: inherit; }
button, .button { cursor: pointer; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  position: fixed !important; left: 16px; top: 16px;
  width: auto; height: auto; padding: 12px 16px; margin: 0;
  clip: auto; z-index: 99999; color: #fff; background: #000;
}

.tcn-shell { width: min(calc(100% - 32px), var(--tcn-max)); margin-inline: auto; }
.tcn-narrow { width: min(calc(100% - 32px), 820px); margin-inline: auto; }
.tcn-section { padding: 72px 0; }
.tcn-section--soft { background: var(--tcn-cream); }
.tcn-section--dark { background: var(--tcn-ink); color: #fff; }
.tcn-section--dark a { color: #fff; }
.tcn-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 10px; color: var(--tcn-tobacco);
  font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
}
.tcn-section--dark .tcn-kicker { color: var(--tcn-gold); }
.tcn-section-head {
  display: flex; align-items: end; justify-content: space-between; gap: 24px;
  margin-bottom: 30px;
}
.tcn-section-head h2 { margin: 0; font-size: clamp(1.85rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -.035em; }
.tcn-section-head p { max-width: 670px; margin: 8px 0 0; color: var(--tcn-muted); }
.tcn-section--dark .tcn-section-head p { color: #cfc7be; }
.tcn-more { white-space: nowrap; font-weight: 800; text-decoration: none; }

/* Header */
.tcn-topbar { background: #0f0e0d; color: #d8d0c8; font-size: .82rem; }
.tcn-topbar .tcn-shell { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.tcn-topbar a { color: #fff; text-decoration: none; }
.tcn-topbar-links { display: flex; gap: 16px; flex-wrap: wrap; }
.tcn-site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255,253,249,.96); border-bottom: 1px solid rgba(76,52,36,.10);
  backdrop-filter: blur(14px);
}
.admin-bar .tcn-site-header { top: 32px; }
.tcn-header-row { min-height: 78px; display: flex; align-items: center; gap: 28px; }
.tcn-brand { display: flex; align-items: center; min-width: 210px; text-decoration: none; }
.tcn-brand .custom-logo { max-height: 56px; width: auto; }
.tcn-wordmark { display: grid; line-height: 1; }
.tcn-wordmark strong { color: var(--tcn-ink); font-size: 1.24rem; letter-spacing: .09em; text-transform: uppercase; }
.tcn-wordmark span { color: var(--tcn-tobacco); font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; margin-top: 6px; }
.tcn-primary-nav { margin-left: auto; }
.tcn-primary-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.tcn-primary-nav a { display: block; padding: 13px 10px; color: var(--tcn-ink); font-size: .91rem; font-weight: 750; text-decoration: none; border-radius: 9px; }
.tcn-primary-nav a:hover, .tcn-primary-nav .current-menu-item > a { background: var(--tcn-cream); color: var(--tcn-brown); }
.tcn-header-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 17px; border-radius: 999px; color: #fff; background: var(--tcn-brown); font-size: .85rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.tcn-header-cta:hover { color: #fff; background: var(--tcn-tobacco); }
.tcn-menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--tcn-line); border-radius: 12px; background: #fff; }
.tcn-menu-toggle span, .tcn-menu-toggle::before, .tcn-menu-toggle::after { content: ""; display: block; width: 21px; height: 2px; margin: 5px auto; background: var(--tcn-ink); transition: .2s ease; }
.tcn-menu-toggle.is-open span { opacity: 0; }
.tcn-menu-toggle.is-open::before { transform: translateY(7px) rotate(45deg); }
.tcn-menu-toggle.is-open::after { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.tcn-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 600px; display: grid; align-items: center;
  background:
    radial-gradient(circle at 82% 30%, rgba(211,164,94,.22), transparent 30%),
    radial-gradient(circle at 15% 90%, rgba(123,84,51,.42), transparent 38%),
    linear-gradient(118deg, #100f0e 0%, #1c1815 48%, #2b211a 100%);
  color: #fff;
}
.tcn-hero.has-image::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--tcn-hero-image) center/cover no-repeat; }
.tcn-hero.has-image::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12,10,9,.92) 0%, rgba(12,10,9,.76) 48%, rgba(12,10,9,.44) 100%); }
.tcn-hero-inner { padding: 80px 0 92px; max-width: 790px; }
.tcn-hero-badge { display: inline-flex; align-items: center; padding: 8px 12px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: #f3dfbd; background: rgba(255,255,255,.06); font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.tcn-hero h1 { margin: 20px 0 20px; max-width: 760px; font-size: clamp(3rem, 7vw, 6.3rem); line-height: .92; letter-spacing: -.065em; }
.tcn-hero h1 em { color: var(--tcn-gold); font-style: normal; }
.tcn-hero p { max-width: 690px; margin: 0 0 30px; color: #e4ddd5; font-size: clamp(1.06rem, 2vw, 1.3rem); }
.tcn-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tcn-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 18px; border: 1px solid transparent; border-radius: 999px;
  font-weight: 800; text-decoration: none; transition: transform .16s ease, background .16s ease, color .16s ease, border-color .16s ease;
}
.tcn-btn:hover { transform: translateY(-1px); }
.tcn-btn--gold { background: var(--tcn-gold); color: #21190f; }
.tcn-btn--gold:hover { background: #e4b86f; color: #21190f; }
.tcn-btn--outline { border-color: rgba(255,255,255,.36); color: #fff; background: rgba(255,255,255,.04); }
.tcn-btn--outline:hover { color: #fff; background: rgba(255,255,255,.11); }
.tcn-btn--dark { background: var(--tcn-ink); color: #fff; }
.tcn-btn--dark:hover { color: #fff; background: var(--tcn-brown); }

/* Action dashboard */
.tcn-quick-wrap { position: relative; z-index: 4; margin-top: -38px; }
.tcn-quick-grid { display: grid; grid-template-columns: repeat(6, 1fr); background: #fff; border: 1px solid var(--tcn-line); border-radius: 20px; box-shadow: var(--tcn-shadow); overflow: hidden; }
.tcn-quick { min-height: 136px; padding: 24px 18px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; color: var(--tcn-ink); text-decoration: none; border-right: 1px solid var(--tcn-line); }
.tcn-quick:last-child { border-right: 0; }
.tcn-quick:hover { color: var(--tcn-ink); background: #faf6ef; }
.tcn-quick svg { width: 26px; height: 26px; stroke: var(--tcn-tobacco); fill: none; stroke-width: 1.8; }
.tcn-quick strong { display: block; font-size: .93rem; line-height: 1.2; }
.tcn-quick span { color: var(--tcn-muted); font-size: .78rem; line-height: 1.35; }

/* Cards */
.tcn-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.tcn-grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.tcn-card { overflow: hidden; background: #fff; border: 1px solid var(--tcn-line); border-radius: var(--tcn-radius); box-shadow: 0 10px 28px rgba(23,20,17,.05); }
.tcn-card-media { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; background: #2a241f; }
.tcn-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.tcn-card:hover .tcn-card-media img { transform: scale(1.025); }
.tcn-card-body { padding: 21px; }
.tcn-card-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 9px; color: var(--tcn-muted); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.tcn-card h3 { margin: 0 0 10px; font-size: 1.18rem; line-height: 1.25; letter-spacing: -.02em; }
.tcn-card h3 a { color: var(--tcn-ink); text-decoration: none; }
.tcn-card p { margin: 0; color: var(--tcn-muted); font-size: .94rem; }
.tcn-card-link { display: inline-block; margin-top: 16px; font-size: .87rem; font-weight: 800; text-decoration: none; }
.tcn-placeholder-media { display: grid; place-items: center; height: 100%; background: linear-gradient(145deg,#241c17,#5b3d28); color: rgba(255,255,255,.72); font-size: .78rem; font-weight: 900; letter-spacing: .18em; }
.tcn-badge { position: absolute; left: 14px; top: 14px; padding: 6px 9px; border-radius: 999px; color: #2c2012; background: var(--tcn-gold); font-size: .68rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.tcn-score { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #fff; background: var(--tcn-brown); font-size: 1.06rem; font-weight: 900; }

/* Editorial split */
.tcn-news-layout { display: grid; grid-template-columns: 1.35fr .85fr; gap: 30px; align-items: start; }
.tcn-feature-story { position: relative; overflow: hidden; min-height: 510px; display: flex; align-items: end; border-radius: 24px; background: #1d1814; color: #fff; }
.tcn-feature-story img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .73; }
.tcn-feature-story::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.82)); }
.tcn-feature-copy { position: relative; z-index: 1; padding: 34px; }
.tcn-feature-copy h3 { max-width: 700px; margin: 8px 0 12px; font-size: clamp(1.8rem, 4vw, 3.1rem); line-height: 1.03; letter-spacing: -.04em; }
.tcn-feature-copy a { color: #fff; text-decoration: none; }
.tcn-feature-copy p { color: #e5ded7; }
.tcn-story-list { display: grid; gap: 14px; }
.tcn-story-row { display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--tcn-line); }
.tcn-story-row:last-child { border-bottom: 0; }
.tcn-story-thumb { aspect-ratio: 1/1; overflow: hidden; border-radius: 12px; background: #33281f; }
.tcn-story-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tcn-story-row h3 { margin: 4px 0 5px; font-size: 1rem; line-height: 1.28; }
.tcn-story-row h3 a { color: var(--tcn-ink); text-decoration: none; }
.tcn-story-row time { color: var(--tcn-muted); font-size: .72rem; }

/* Community / FB */
.tcn-community-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.tcn-panel { padding: 28px; border: 1px solid var(--tcn-line); border-radius: 20px; background: #fff; }
.tcn-panel h3 { margin-top: 0; font-size: 1.5rem; }
.tcn-panel p { color: var(--tcn-muted); }
.tcn-facebook-frame { overflow: hidden; min-height: 500px; border-radius: 16px; background: #f0ece7; }
.tcn-facebook-frame iframe { width: 100%; max-width: 100%; min-height: 500px; border: 0; }
.tcn-topic-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.tcn-topic-list a { display: flex; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--tcn-line); color: var(--tcn-ink); font-weight: 750; text-decoration: none; }
.tcn-topic-list a span { color: var(--tcn-muted); font-size: .8rem; font-weight: 600; }

/* CTA */
.tcn-business-cta { display: grid; grid-template-columns: 1.2fr .8fr; gap: 36px; align-items: center; padding: 46px; border-radius: 24px; background: linear-gradient(135deg,#241c16,#4b3324); color: #fff; }
.tcn-business-cta h2 { margin: 0 0 12px; font-size: clamp(2rem,4vw,3.4rem); line-height: 1; }
.tcn-business-cta p { color: #e2d8ce; }
.tcn-business-points { display: grid; gap: 10px; }
.tcn-business-points div { padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.07); font-weight: 700; }

/* Standard content */
.tcn-main { min-height: 55vh; }
.tcn-page-hero { padding: 64px 0 38px; background: var(--tcn-cream); border-bottom: 1px solid var(--tcn-line); }
.tcn-page-hero h1 { margin: 0; font-size: clamp(2.2rem,6vw,4.7rem); line-height: .98; letter-spacing: -.055em; }
.tcn-page-hero p { max-width: 760px; color: var(--tcn-muted); }
.tcn-content-wrap { padding: 54px 0 76px; }
.tcn-content { font-size: 1.02rem; }
.tcn-content > *:first-child { margin-top: 0; }
.tcn-content h2, .tcn-content h3, .tcn-content h4 { line-height: 1.16; letter-spacing: -.025em; }
.tcn-content h2 { margin-top: 2em; font-size: 1.9rem; }
.tcn-content h3 { margin-top: 1.8em; font-size: 1.45rem; }
.tcn-content blockquote { margin: 2em 0; padding: 20px 24px; border-left: 4px solid var(--tcn-gold); background: var(--tcn-cream); }
.tcn-content table { width: 100%; border-collapse: collapse; }
.tcn-content th, .tcn-content td { padding: 12px; border: 1px solid var(--tcn-line); text-align: left; }
.tcn-archive-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.tcn-pagination { margin-top: 34px; display: flex; justify-content: center; }
.tcn-pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.tcn-pagination .page-numbers { min-width: 40px; min-height: 40px; display: grid; place-items: center; padding: 0 10px; border: 1px solid var(--tcn-line); border-radius: 9px; text-decoration: none; }
.tcn-pagination .current { color: #fff; background: var(--tcn-brown); border-color: var(--tcn-brown); }

/* Forms / plugin compatibility */
.tcn-content input[type="text"], .tcn-content input[type="email"], .tcn-content input[type="url"], .tcn-content input[type="tel"], .tcn-content input[type="number"], .tcn-content input[type="search"], .tcn-content select, .tcn-content textarea,
.tcn-form input, .tcn-form select, .tcn-form textarea, .tcn-search input, .tcn-search select {
  width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #d6cec3; border-radius: 10px; color: var(--tcn-ink); background: #fff;
}
.tcn-form textarea { min-height: 140px; }
.tcn-form-wrap { margin: 20px 0 42px; padding: clamp(20px,4vw,36px); border: 1px solid var(--tcn-line); border-radius: 20px; background: #fff; box-shadow: 0 16px 50px rgba(23,20,17,.06); }
.tcn-form-head h2 { margin: 0; }
.tcn-form-head p { color: var(--tcn-muted); }
.tcn-fields { display: grid; gap: 16px; margin-bottom: 16px; }
.tcn-fields.two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.tcn-fields.three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.tcn-form label { display: grid; gap: 6px; margin-bottom: 16px; font-weight: 750; }
.tcn-form small { color: var(--tcn-muted); font-weight: 500; }
.tcn-form .tcn-btn, .tcn-search .tcn-btn { width: auto; }
.tcn-search { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr auto; gap: 10px; align-items: end; margin-bottom: 22px; }
.tcn-result-head { margin: 18px 0; }
.tcn-action-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.tcn-action { padding: 21px; border: 1px solid var(--tcn-line); border-radius: 14px; background: #fff; color: var(--tcn-ink); text-decoration: none; }
.tcn-action strong, .tcn-action span { display: block; }
.tcn-action span { margin-top: 6px; color: var(--tcn-muted); font-size: .9rem; }

/* Footer */
.tcn-footer { background: #12100f; color: #cbc3bb; }
.tcn-footer-main { padding: 58px 0 40px; display: grid; grid-template-columns: 1.35fr repeat(3,1fr); gap: 36px; }
.tcn-footer h3, .tcn-footer h4 { color: #fff; margin-top: 0; }
.tcn-footer a { color: #d9d0c7; text-decoration: none; }
.tcn-footer a:hover { color: #fff; }
.tcn-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tcn-footer-brand { max-width: 360px; }
.tcn-footer-brand p { color: #aba199; }
.tcn-footer-bottom { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: .79rem; }
.tcn-footer-bottom .tcn-shell { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.tcn-socials { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.tcn-socials a { padding: 7px 10px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; font-size: .78rem; }

/* WooCommerce */
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { border: 1px solid var(--tcn-line); border-radius: 14px; padding: 14px; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button { border-radius: 999px; background: var(--tcn-brown); color: #fff; }

/* Mobile sticky actions */
.tcn-mobile-bar { display: none; }

@media (max-width: 1120px) {
  .tcn-primary-nav a { padding-inline: 7px; font-size: .85rem; }
  .tcn-header-cta { display: none; }
  .tcn-quick-grid { grid-template-columns: repeat(3,1fr); }
  .tcn-quick:nth-child(3) { border-right: 0; }
  .tcn-quick:nth-child(-n+3) { border-bottom: 1px solid var(--tcn-line); }
  .tcn-grid--4 { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tcn-search { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 860px) {
  .admin-bar .tcn-site-header { top: 46px; }
  .tcn-topbar { display: none; }
  .tcn-header-row { min-height: 68px; }
  .tcn-menu-toggle { display: block; }
  .tcn-primary-nav {
    position: fixed; inset: 68px 0 auto 0; z-index: 89; display: none;
    max-height: calc(100vh - 68px); overflow-y: auto; padding: 14px 16px 26px;
    background: #fff; border-bottom: 1px solid var(--tcn-line); box-shadow: 0 20px 40px rgba(0,0,0,.10);
  }
  .admin-bar .tcn-primary-nav { inset: 114px 0 auto 0; }
  .tcn-primary-nav.is-open { display: block; }
  .tcn-primary-nav ul { display: grid; gap: 2px; }
  .tcn-primary-nav a { padding: 13px 12px; font-size: 1rem; }
  .tcn-primary-nav .sub-menu { margin-left: 12px; }
  .tcn-hero { min-height: 540px; }
  .tcn-hero-inner { padding: 62px 0 86px; }
  .tcn-quick-wrap { margin-top: -28px; }
  .tcn-news-layout, .tcn-community-panel, .tcn-business-cta { grid-template-columns: 1fr; }
  .tcn-grid, .tcn-archive-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .tcn-footer-main { grid-template-columns: 1.2fr 1fr 1fr; }
  .tcn-footer-brand { grid-column: 1/-1; }
}

@media (max-width: 620px) {
  body { padding-bottom: 68px; }
  .tcn-shell, .tcn-narrow { width: min(calc(100% - 24px), var(--tcn-max)); }
  .tcn-brand { min-width: 0; }
  .tcn-brand .custom-logo { max-width: 218px; max-height: 46px; }
  .tcn-wordmark strong { font-size: 1.02rem; }
  .tcn-wordmark span { font-size: .58rem; }
  .tcn-hero { min-height: 500px; }
  .tcn-hero h1 { font-size: clamp(2.7rem,14vw,4.25rem); }
  .tcn-hero-actions .tcn-btn { width: 100%; }
  .tcn-section { padding: 54px 0; }
  .tcn-section-head { align-items: start; flex-direction: column; gap: 10px; }
  .tcn-quick-grid { grid-template-columns: repeat(2,1fr); }
  .tcn-quick { min-height: 122px; border-right: 1px solid var(--tcn-line) !important; border-bottom: 1px solid var(--tcn-line); }
  .tcn-quick:nth-child(even) { border-right: 0 !important; }
  .tcn-quick:nth-last-child(-n+2) { border-bottom: 0; }
  .tcn-grid, .tcn-grid--4, .tcn-archive-grid { grid-template-columns: 1fr; }
  .tcn-feature-story { min-height: 420px; }
  .tcn-feature-copy { padding: 24px; }
  .tcn-story-row { grid-template-columns: 92px 1fr; }
  .tcn-business-cta { padding: 28px 22px; }
  .tcn-footer-main { grid-template-columns: 1fr 1fr; }
  .tcn-footer-brand { grid-column: 1/-1; }
  .tcn-footer-bottom .tcn-shell { align-items: start; flex-direction: column; }
  .tcn-fields.two, .tcn-fields.three, .tcn-search, .tcn-action-grid { grid-template-columns: 1fr; }
  .tcn-mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 99;
    height: 68px; display: grid; grid-template-columns: repeat(4,1fr);
    border-top: 1px solid var(--tcn-line); background: rgba(255,255,255,.98); backdrop-filter: blur(12px);
  }
  .tcn-mobile-bar a { display: grid; place-items: center; align-content: center; gap: 2px; color: var(--tcn-ink); font-size: .68rem; font-weight: 800; text-decoration: none; }
  .tcn-mobile-bar svg { width: 20px; height: 20px; fill: none; stroke: var(--tcn-brown); stroke-width: 1.8; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; }
}


/* === TCN v1.1.0 visual refresh === */
:root {
  --tcn-ink: #14110f;
  --tcn-charcoal: #241a14;
  --tcn-brown: #6b4624;
  --tcn-tobacco: #8c5a2b;
  --tcn-brass: #b1a02f;
  --tcn-gold: #dfc33a;
  --tcn-cream: #f7f3eb;
  --tcn-paper: #ffffff;
  --tcn-muted: #635b55;
  --tcn-line: #111111;
  --tcn-success: #3f6f2a;
  --tcn-danger: #8a332f;
  --tcn-shadow: 0 16px 34px rgba(0,0,0,.08);
}
body { background: var(--tcn-paper); color: var(--tcn-ink); }
a { color: var(--tcn-success); }
a:hover { color: var(--tcn-tobacco); }
.tcn-section--soft { background: #f4eee4; }
.tcn-section--dark { background: #14110f; color: #fff; }
.tcn-kicker { color: var(--tcn-success); }
.tcn-section--dark .tcn-kicker { color: var(--tcn-gold); }
.tcn-topbar { background: var(--tcn-ink); border-bottom: 2px solid var(--tcn-gold); }
.tcn-topbar a:hover { color: var(--tcn-gold); }
.tcn-site-header { background: rgba(255,255,255,.98); border-bottom: 2px solid var(--tcn-line); }
.tcn-header-row { min-height: 84px; }
.tcn-brand-wrap { display: flex; align-items: center; min-width: 0; }
.tcn-brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.tcn-brand .custom-logo-link { display: inline-flex; }
.tcn-brand .custom-logo { max-height: 56px; width: auto; }
.tcn-wordmark strong { color: var(--tcn-ink); font-size: 1.3rem; letter-spacing: .08em; text-transform: uppercase; }
.tcn-wordmark span { color: var(--tcn-success); font-size: .69rem; letter-spacing: .14em; text-transform: uppercase; margin-top: 6px; }
.tcn-primary-nav { margin-left: auto; }
.tcn-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 10px; }
.tcn-menu > li { position: relative; }
.tcn-menu > li > a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 10px; color: var(--tcn-ink); font-size: .95rem; font-weight: 800; text-decoration: none; border-bottom: 2px solid transparent; }
.tcn-menu > li:hover > a, .tcn-menu > li.is-open > a { color: var(--tcn-success); border-color: var(--tcn-gold); }
.tcn-submenu-toggle { display: none; }
.tcn-menu .sub-menu { position: absolute; left: 0; top: calc(100% + 6px); min-width: 250px; list-style: none; margin: 0; padding: 12px; display: none; background: #fff; border: 2px solid var(--tcn-line); border-radius: 14px; box-shadow: var(--tcn-shadow); }
.tcn-menu li:hover > .sub-menu, .tcn-menu li.is-open > .sub-menu { display: grid; gap: 4px; }
.tcn-menu .sub-menu a { display: block; padding: 10px 12px; color: var(--tcn-ink); font-size: .92rem; font-weight: 700; text-decoration: none; border-radius: 10px; }
.tcn-menu .sub-menu a:hover { background: #f4eee4; color: var(--tcn-success); }
.tcn-header-cta { background: var(--tcn-gold); color: #111; border: 2px solid var(--tcn-line); }
.tcn-header-cta:hover { background: #f0d95c; color: #111; }
.tcn-menu-toggle { border: 2px solid var(--tcn-line); }
.tcn-hero {
  background:
    linear-gradient(90deg, rgba(20,17,15,.86), rgba(20,17,15,.66)),
    radial-gradient(circle at 80% 30%, rgba(223,195,58,.35), transparent 26%),
    radial-gradient(circle at 18% 88%, rgba(63,111,42,.35), transparent 30%),
    linear-gradient(128deg, #17120e 0%, #352214 50%, #5b3a22 100%);
  border-bottom: 2px solid var(--tcn-line);
}
.tcn-hero--image::before { content: ''; position: absolute; inset: 0; z-index: -2; background: var(--tcn-hero-image) center/cover no-repeat; }
.tcn-hero--image::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,17,15,.85), rgba(20,17,15,.68)); }
.tcn-hero-badge { border: 2px solid rgba(255,255,255,.25); color: #fff1a8; background: rgba(0,0,0,.2); }
.tcn-hero h1 em { color: var(--tcn-gold); }
.tcn-btn { border: 2px solid var(--tcn-line); }
.tcn-btn--gold { background: var(--tcn-gold); color: #111; }
.tcn-btn--gold:hover { background: #eed867; color: #111; }
.tcn-btn--outline { border-color: #ffffff; color: #fff; background: transparent; }
.tcn-btn--dark { background: var(--tcn-success); color: #fff; }
.tcn-btn--dark:hover { background: #325a21; }
.tcn-quick-grid, .tcn-card, .tcn-panel, .tcn-feature-story, .tcn-story-row, .tcn-business-cta, .tcn-form-wrap, .tcn-action, .woocommerce ul.products li.product, .woocommerce-page ul.products li.product { border: 2px solid var(--tcn-line); box-shadow: none; }
.tcn-quick-grid { border-radius: 24px; }
.tcn-quick { background: #fff; }
.tcn-quick svg, .tcn-mobile-bar svg { fill: none; stroke: var(--tcn-success); stroke-width: 1.8; }
.tcn-quick strong, .tcn-card h3 a, .tcn-feature-copy h3 a, .tcn-story-row h3 a, .tcn-topic-list a { color: var(--tcn-ink); }
.tcn-card-link, .tcn-more { color: var(--tcn-success); }
.tcn-card-media, .tcn-story-thumb { border-bottom: 2px solid var(--tcn-line); }
.tcn-badge { background: var(--tcn-gold); color: #111; border: 2px solid var(--tcn-line); }
.tcn-placeholder-media { display: grid; place-items: center; min-height: 220px; padding: 24px; text-align: center; color: #fff; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; background: linear-gradient(135deg,#50311a,#315022); }
.tcn-panel { background: #fff; border-radius: 22px; }
.tcn-panel--media { background: #fff; }
.tcn-panel--topics { max-width: 760px; }
.tcn-culture-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.tcn-culture-card { overflow: hidden; background: #fff; border: 2px solid var(--tcn-line); border-radius: 22px; }
.tcn-culture-media img, .tcn-culture-media .tcn-placeholder-media { width: 100%; min-height: 280px; object-fit: cover; display: block; }
.tcn-culture-copy { padding: 22px; }
.tcn-culture-copy h3 { margin: 0 0 10px; font-size: 1.6rem; line-height: 1.05; }
.tcn-video-frame, .tcn-facebook-frame { position: relative; border: 2px solid var(--tcn-line); border-radius: 18px; overflow: hidden; background: #fff; }
.tcn-video-frame iframe, .tcn-facebook-frame iframe { width: 100%; min-height: 420px; border: 0; }
.tcn-topic-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.tcn-topic-list a { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 18px; border: 2px solid var(--tcn-line); border-radius: 14px; text-decoration: none; background: #fff; }
.tcn-topic-list a span { color: var(--tcn-success); font-size: .9rem; }
.tcn-business-cta { background: linear-gradient(135deg,#20160f,#684220 52%, #4c6a28 100%); border-radius: 26px; }
.tcn-business-points div { border: 2px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); }
.tcn-content blockquote { border-left: 6px solid var(--tcn-gold); }
.tcn-content th, .tcn-content td, .tcn-content input[type="text"], .tcn-content input[type="email"], .tcn-content input[type="url"], .tcn-content input[type="tel"], .tcn-content input[type="number"], .tcn-content input[type="search"], .tcn-content select, .tcn-content textarea, .tcn-form input, .tcn-form select, .tcn-form textarea, .tcn-search input, .tcn-search select { border: 2px solid var(--tcn-line); }
.tcn-footer { background: #14110f; color: #d9d0c5; border-top: 2px solid var(--tcn-gold); }
.tcn-footer h3, .tcn-footer h4 { color: #fff; }
.tcn-footer a:hover { color: var(--tcn-gold); }
.tcn-socials a { border: 2px solid rgba(255,255,255,.2); }
.tcn-footer-bottom { border-top: 2px solid rgba(255,255,255,.12); }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button { border: 2px solid var(--tcn-line); border-radius: 999px; background: var(--tcn-success); color: #fff; }

@media (max-width: 1120px) {
  .tcn-menu > li > a { font-size: .89rem; padding-inline: 8px; }
}

@media (max-width: 860px) {
  .tcn-header-row { min-height: 74px; }
  .tcn-primary-nav { position: fixed; inset: 74px 0 auto 0; z-index: 89; display: none; max-height: calc(100vh - 74px); overflow-y: auto; padding: 18px 16px 26px; background: #fff; border-bottom: 2px solid var(--tcn-line); box-shadow: 0 20px 40px rgba(0,0,0,.14); }
  .admin-bar .tcn-primary-nav { inset: 120px 0 auto 0; }
  .tcn-primary-nav.is-open { display: block; }
  .tcn-menu { display: grid; gap: 8px; }
  .tcn-menu > li { border: 2px solid var(--tcn-line); border-radius: 16px; overflow: hidden; background: #fff; }
  .tcn-menu > li > a { width: calc(100% - 54px); padding: 14px 14px; border-bottom: 0; }
  .tcn-menu > li.menu-item-has-children { position: relative; }
  .tcn-submenu-toggle { position: absolute; right: 10px; top: 8px; display: grid; place-items: center; width: 38px; height: 38px; border: 2px solid var(--tcn-line); border-radius: 12px; background: #fff; }
  .tcn-submenu-toggle span, .tcn-submenu-toggle span::before { content: ''; display: block; width: 14px; height: 2px; background: var(--tcn-ink); }
  .tcn-submenu-toggle span::before { transform: rotate(90deg); }
  .menu-item-has-children.is-open .tcn-submenu-toggle span::before { transform: rotate(0); }
  .tcn-menu .sub-menu { position: static; min-width: 0; display: none; padding: 0 10px 10px; border: 0; border-top: 2px solid var(--tcn-line); border-radius: 0; box-shadow: none; }
  .tcn-menu .sub-menu a { padding: 12px 10px; }
  .tcn-menu li.is-open > .sub-menu { display: grid; }
  .tcn-culture-grid, .tcn-community-panel { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .tcn-brand { gap: 10px; }
  .tcn-brand .custom-logo { max-height: 44px; }
  .tcn-wordmark strong { font-size: .98rem; }
  .tcn-wordmark span { font-size: .56rem; }
  .tcn-video-frame iframe, .tcn-facebook-frame iframe { min-height: 360px; }
  .tcn-culture-media img, .tcn-culture-media .tcn-placeholder-media { min-height: 220px; }
  .tcn-mobile-bar { border-top: 2px solid var(--tcn-line); background: #fff; }
  .tcn-mobile-bar a { color: var(--tcn-ink); }
}

/* === TCN v1.1.1 header + photography refinement === */
.tcn-header-row { width: calc(100% - 36px); max-width: none; margin: 0 auto; display:flex; align-items:center; gap:24px; }
.tcn-brand-wrap { flex: 0 0 auto; margin-right: 6px; }
.tcn-brand-wrap .custom-logo-link { display:flex; align-items:center; margin:0; padding:0; }
.tcn-brand-wrap .custom-logo { width:auto; max-width:210px; max-height:64px; object-fit:contain; }
.tcn-logo-fallback { display:inline-block; color:var(--tcn-ink); font-weight:900; text-transform:uppercase; letter-spacing:.06em; text-decoration:none; font-size:1.15rem; }
.tcn-wordmark { display:none !important; }
.tcn-hero { min-height: 620px; }
.tcn-hero--image::before { background-position:center; filter:saturate(.9) contrast(1.05); }
.tcn-hero--image::after { background:linear-gradient(90deg,rgba(15,12,9,.9) 0%,rgba(34,22,13,.72) 48%,rgba(48,63,28,.34) 100%); }
.tcn-culture-media { aspect-ratio: 4 / 3; overflow:hidden; border-bottom:2px solid var(--tcn-line); background:#2d3b1f; }
.tcn-culture-media img { width:100%; height:100%; min-height:0; object-fit:cover; object-position:center; }
.tcn-culture-card:nth-child(3) .tcn-culture-media img { object-position:center 30%; }
.tcn-social-cta { min-height:420px; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:16px; padding:32px; background:linear-gradient(145deg,#f7f3eb,#fff); }
.tcn-social-cta p { max-width:420px; font-size:1.05rem; }
@media (max-width: 860px) {
  .tcn-header-row { width:calc(100% - 24px); min-height:72px; }
  .tcn-brand-wrap .custom-logo { max-width:180px; max-height:50px; }
}
@media (max-width: 620px) {
  .tcn-brand-wrap .custom-logo { max-width:150px; max-height:44px; }
  .tcn-hero { min-height:540px; }
}


/* v1.1.4 fallback community feature styles */
.tcn-hp{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.tcn-checkgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:10px 0 18px}.tcn-checkgrid label{display:flex;align-items:center;gap:8px;font-weight:600}.tcn-checkgrid input{width:auto!important;min-height:auto!important}.tcn-consent{display:flex!important;grid-template-columns:auto 1fr!important;align-items:flex-start;gap:10px}.tcn-consent input{width:auto!important;min-height:auto!important;margin-top:.3rem}.tcn-alert{padding:14px 16px;border:2px solid var(--tcn-line);border-radius:12px;background:#fff}.tcn-alert-success{background:#edf6e8;border-color:var(--tcn-success)}.tcn-search--simple{grid-template-columns:1.5fr 1fr 1fr auto}.tcn-form fieldset{margin:0 0 18px;padding:16px;border:2px solid var(--tcn-line);border-radius:14px}.tcn-form legend{padding:0 8px;font-weight:800}.tcn-result-head{display:flex;align-items:center;gap:8px;margin:18px 0 24px;font-size:1rem}
@media(max-width:760px){.tcn-checkgrid{grid-template-columns:1fr 1fr}.tcn-search--simple{grid-template-columns:1fr}}
@media(max-width:520px){.tcn-checkgrid{grid-template-columns:1fr}}


/* === TCN v1.1.5 inner-page system === */
.tcn-page-hero {
  position: relative;
  overflow: hidden;
  padding: 52px 0 48px;
  color: #fff;
  background:
    radial-gradient(circle at 82% 15%, rgba(223,195,58,.17), transparent 23%),
    radial-gradient(circle at 12% 120%, rgba(63,111,42,.34), transparent 31%),
    linear-gradient(112deg, #17110d 0%, #3b2516 54%, #26341e 100%);
  border-top: 0;
  border-bottom: 3px solid #111;
}
.tcn-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image:
    repeating-linear-gradient(135deg, transparent 0 44px, rgba(255,255,255,.06) 45px 46px),
    repeating-linear-gradient(45deg, transparent 0 70px, rgba(223,195,58,.05) 71px 72px);
}
.tcn-page-hero > .tcn-shell,
.tcn-page-hero > .tcn-narrow { position: relative; z-index: 1; }
.tcn-page-hero .tcn-kicker {
  margin-bottom: 12px;
  color: #e7ce48;
  font-size: .76rem;
  letter-spacing: .16em;
}
.tcn-page-hero h1 {
  max-width: 980px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.45rem, 5vw, 4.15rem);
  line-height: .98;
  letter-spacing: -.05em;
}
.tcn-page-hero p {
  max-width: 760px;
  margin: 16px 0 0;
  color: rgba(255,255,255,.80);
  font-size: 1.02rem;
  line-height: 1.65;
}
.tcn-page-hero .tcn-card-meta { margin-bottom: 14px; color: #e7ce48; }
.tcn-page-hero .tcn-card-meta span { color: #e7ce48; }
.tcn-content-wrap {
  padding: 58px 0 78px;
  background: #fff;
}
.tcn-main > .tcn-content-wrap:first-of-type { border-top: 0; }
body.post-type-archive-tcn_review .tcn-page-hero,
body.post-type-archive-tcn_lounge .tcn-page-hero,
body.post-type-archive-tcn_classified .tcn-page-hero,
body.page-template-page-cigar-reviews .tcn-page-hero,
body.page-template-page-cigar-lounges .tcn-page-hero,
body.page-template-page-cigar-classifieds .tcn-page-hero {
  background:
    radial-gradient(circle at 80% 15%, rgba(223,195,58,.15), transparent 22%),
    linear-gradient(115deg, #17110d 0%, #5b371d 58%, #334523 100%);
}
@media (max-width: 620px) {
  .tcn-page-hero { padding: 38px 0 34px; }
  .tcn-page-hero h1 { font-size: clamp(2.2rem, 12vw, 3.2rem); }
  .tcn-page-hero p { font-size: .96rem; }
  .tcn-content-wrap { padding: 42px 0 60px; }
}


/* === TCN v1.1.6 featured story refinement === */
.tcn-feature-story {
  position: relative;
  display: grid;
  grid-template-rows: minmax(260px, 0.9fr) auto;
  min-height: 0;
  overflow: hidden;
  border: 2px solid var(--tcn-line);
  border-radius: 24px;
  background: #fff;
  color: var(--tcn-ink);
}
.tcn-feature-story::after { display: none; }
.tcn-feature-media {
  position: relative;
  display: block;
  min-height: 280px;
  overflow: hidden;
  background: #1a1714;
  border-bottom: 2px solid var(--tcn-line);
}
.tcn-feature-media img {
  position: static;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  max-height: 360px;
  object-fit: cover;
  object-position: center;
  opacity: 1;
}
.tcn-feature-media .tcn-placeholder-media { min-height: 280px; }
.tcn-feature-copy {
  position: static;
  z-index: auto;
  padding: 30px 32px 32px;
  background: #fff;
}
.tcn-feature-copy .tcn-kicker { margin-bottom: 8px; color: var(--tcn-success); }
.tcn-feature-copy h3 {
  max-width: 760px;
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.03;
  letter-spacing: -.035em;
}
.tcn-feature-copy h3 a { color: var(--tcn-ink) !important; text-decoration: none; }
.tcn-feature-copy p {
  max-width: 720px;
  margin: 0 0 22px;
  color: var(--tcn-muted);
  font-size: 1rem;
  line-height: 1.58;
}
.tcn-feature-copy .tcn-btn--gold { color: #111 !important; }

@media (max-width: 860px) {
  .tcn-feature-story { grid-template-rows: minmax(240px, auto) auto; }
  .tcn-feature-media, .tcn-feature-media img { min-height: 240px; }
  .tcn-feature-copy { padding: 26px; }
}

@media (max-width: 620px) {
  .tcn-feature-media, .tcn-feature-media img { min-height: 210px; max-height: 280px; }
  .tcn-feature-copy { padding: 22px; }
  .tcn-feature-copy h3 { font-size: 1.85rem; }
}


/* v1.1.7 footer bottom strip */
.tcn-footer-bottom {
  background: #ffffff;
  color: #14110f;
  border-top: 2px solid #14110f;
}
.tcn-footer-bottom a { color: #14110f; }
