:root {
  --tc-red: #8b1e1e;
  --tc-red-dark: #681515;
  --tc-gold: #c6a15b;
  --tc-ivory: #f8f3ea;
  --tc-paper: #fffaf2;
  --tc-ink: #1d1d1d;
  --tc-muted: #6f665e;
  --tc-line: rgba(29, 29, 29, .12);
  --tc-shadow: 0 18px 55px rgba(52, 30, 20, .12);
  --tc-radius: 18px;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--tc-ink);
  background: var(--tc-ivory);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--tc-red); }
img { max-width: 100%; height: auto; display: block; }
.tc-container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 250, 242, .92);
  border-bottom: 1px solid var(--tc-line);
  backdrop-filter: blur(14px);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 74px; }
.site-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .2px; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--tc-red); color: #fff; font-weight: 800; }
.brand-text { font-size: 22px; font-family: Georgia, "Times New Roman", serif; }
.primary-nav { flex: 1; }
.primary-nav ul { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 0; padding: 0; list-style: none; }
.primary-nav a { font-size: 14px; font-weight: 650; color: #312821; }
.header-subscribe, .btn, .read-button, .culture-search-form button {
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 999px; font-weight: 800; cursor: pointer;
}
.header-subscribe { padding: 9px 16px; background: var(--tc-red); color: #fff; font-size: 13px; }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 24px; }
.home-hero { position: relative; }
.hero-slide {
  min-height: 520px; display: flex; align-items: center; position: relative; overflow: hidden;
  background:
    linear-gradient(115deg, rgba(20,12,10,.74), rgba(80,20,18,.38), rgba(198,161,91,.18)),
    radial-gradient(circle at 78% 28%, rgba(255,255,255,.28), transparent 22%),
    linear-gradient(135deg, #3d1512 0%, #9b2b23 34%, #d7b66d 100%);
}
.hero-slide:after {
  content: ""; position: absolute; inset: 0; opacity: .22;
  background-image: linear-gradient(45deg, rgba(255,255,255,.15) 25%, transparent 25%), linear-gradient(-45deg, rgba(255,255,255,.1) 25%, transparent 25%);
  background-size: 44px 44px;
}
.hero-content { position: relative; z-index: 2; color: #fff; padding: 60px 0 130px; }
.hero-kicker { color: #f5d28b; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; }
.hero-content h1 { max-width: 720px; margin: 14px 0 16px; font: 800 clamp(38px, 6vw, 72px)/1.05 Georgia, "Times New Roman", serif; }
.hero-content p { max-width: 650px; margin: 0 0 28px; font-size: 18px; color: rgba(255,255,255,.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { padding: 12px 20px; }
.btn-primary { background: var(--tc-red); color: #fff; box-shadow: 0 12px 25px rgba(139,30,30,.24); }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.55); }
.culture-search-wrap { margin-top: -78px; position: relative; z-index: 5; }
.culture-search-card { background: #fff; border-radius: 20px; padding: 18px; box-shadow: var(--tc-shadow); border: 1px solid rgba(255,255,255,.55); }
.search-tabs, .feed-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.search-tabs button, .feed-tabs button, .feed-tabs a { border: 0; padding: 8px 14px; border-radius: 999px; background: #f4eee5; color: #4c4037; font-weight: 750; }
.search-tabs .is-active, .feed-tabs .is-active { background: var(--tc-red); color: #fff; }
.culture-search-form { display: flex; gap: 12px; margin-top: 14px; }
.culture-search-form input { flex: 1; border: 1px solid var(--tc-line); border-radius: 999px; padding: 15px 20px; font-size: 16px; outline: none; }
.culture-search-form button { padding: 0 28px; background: var(--tc-gold); color: #21170d; }
.section-shortcuts, .featured-guides, .latest-news, .editor-picks { padding: 54px 0; }
.section-heading span, .feed-header span, .seasonal-banner span, .archive-header span { color: var(--tc-red); text-transform: uppercase; font-size: 12px; letter-spacing: .1em; font-weight: 900; }
.section-heading h2, .feed-header h2, .seasonal-banner h2 { margin: 4px 0 24px; font: 800 34px/1.2 Georgia, "Times New Roman", serif; }
.row-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.row-heading > a { color: var(--tc-red); font-weight: 800; }
.shortcut-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.shortcut-card { min-height: 190px; padding: 18px; background: #fff; border: 1px solid var(--tc-line); border-radius: var(--tc-radius); transition: transform .2s ease, box-shadow .2s ease; }
.shortcut-card:hover { transform: translateY(-4px); box-shadow: var(--tc-shadow); color: inherit; }
.shortcut-icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 14px; border-radius: 14px; background: var(--tc-ivory); color: var(--tc-red); font-weight: 900; }
.shortcut-card strong { display: block; line-height: 1.18; margin-bottom: 9px; }
.shortcut-card p { margin: 0; color: var(--tc-muted); font-size: 13px; line-height: 1.45; }
.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card { background: #fff; border-radius: var(--tc-radius); overflow: hidden; border: 1px solid var(--tc-line); box-shadow: 0 10px 28px rgba(40,20,12,.06); }
.feature-image { height: 210px; background: linear-gradient(135deg, #8b1e1e, #d7b66d); }
.feature-image img { width: 100%; height: 100%; object-fit: cover; }
.feature-body { padding: 20px; }
.card-category { display: inline-flex; color: var(--tc-red); font-size: 12px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.feature-body h3, .list-content h3 { margin: 8px 0; line-height: 1.25; }
.feature-body h3 { font-size: 22px; }
.feature-body p, .list-content p { color: var(--tc-muted); margin: 0; }
.content-hub-layout { display: grid; grid-template-columns: 230px minmax(0,1fr) 260px; gap: 24px; align-items: start; }
.feed-header { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.article-list-card { display: grid; grid-template-columns: 210px minmax(0,1fr) auto; gap: 18px; align-items: center; padding: 16px; margin-bottom: 16px; background: #fff; border: 1px solid var(--tc-line); border-radius: var(--tc-radius); }
.list-thumb { min-height: 135px; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, #efe1cc, #b14235); }
.list-thumb img { width: 100%; height: 135px; object-fit: cover; }
.list-content h3 { font-size: 21px; }
.list-meta { margin-top: 10px; color: #8b8178; font-size: 13px; }
.read-button { padding: 9px 15px; background: #f2e3cb; color: var(--tc-red); white-space: nowrap; }
.sidebar-box { background: #fff; border: 1px solid var(--tc-line); border-radius: var(--tc-radius); padding: 18px; margin-bottom: 16px; }
.sidebar-box h3 { margin: 0 0 10px; font-size: 18px; }
.sidebar-link-list { list-style: none; margin: 0; padding: 0; }
.sidebar-link-list li { border-top: 1px solid var(--tc-line); }
.sidebar-link-list li:first-child { border-top: 0; }
.sidebar-link-list a { display: block; padding: 10px 0; font-weight: 700; }
.sidebar-ad-stack { display: grid; gap: 14px; margin: 16px 0; }
.sidebar-ad-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--tc-line);
  border-radius: var(--tc-radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(40,20,12,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.sidebar-ad-card:hover { transform: translateY(-3px); box-shadow: var(--tc-shadow); }
.sidebar-ad-card img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; }
.muted-box { background: #fff8eb; }
.cta-box { background: var(--tc-red); color: #fff; }
.cta-box p { color: rgba(255,255,255,.82); }
.cta-box .btn-primary { background: #fff; color: var(--tc-red); box-shadow: none; }
.notice-box { background: #fbf6ee; }
.seasonal-banner { display: flex; align-items: center; justify-content: space-between; gap: 26px; padding: 34px; border-radius: 24px; background: linear-gradient(135deg, #fff, #f5e7d2); border: 1px solid var(--tc-line); }
.seasonal-banner p { max-width: 720px; margin: 0; color: var(--tc-muted); }
.site-footer { margin-top: 70px; padding: 54px 0 22px; background: #201917; color: rgba(255,255,255,.78); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1.2fr; gap: 32px; }
.footer-brand { color: #fff; font: 800 28px Georgia, "Times New Roman", serif; }
.site-footer h3 { color: #fff; margin-top: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 8px 0; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input { min-width: 0; flex: 1; border: 0; border-radius: 999px; padding: 11px 14px; }
.newsletter-form button { border: 0; border-radius: 999px; padding: 11px 14px; background: var(--tc-gold); font-weight: 800; }
.newsletter-form input[disabled], .newsletter-form button[disabled] { opacity: .5; cursor: not-allowed; }
.newsletter-pending { margin: 8px 0 0; font-size: 12px; color: var(--tc-muted); }
.newsletter-admin-hint { margin: 6px 0 0; font-size: 11px; color: #b14235; background: #fff4ee; border: 1px dashed #e6b8a3; padding: 6px 8px; border-radius: 6px; }
.newsletter-admin-hint code { font-size: 10px; background: #fff; padding: 1px 4px; border-radius: 3px; }
.sidebar-eyebrow { display: block; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--tc-red); margin-bottom: 6px; }
.newsletter-slot-box { background: linear-gradient(180deg, #fff8eb 0%, #fff 100%); border-color: #ead7b4; }
.newsletter-slot-box .sidebar-eyebrow { color: #8b1e1e; }
.inline-newsletter { max-width: 860px; margin: 36px auto 0; padding: 28px 30px; border-radius: 20px; background: linear-gradient(135deg, #fdf6e9 0%, #fff 60%); border: 1px solid #ead7b4; box-shadow: 0 6px 24px rgba(177, 66, 53, .06); }
.inline-newsletter-inner { display: flex; flex-direction: column; gap: 8px; }
.inline-newsletter-kicker { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--tc-red); }
.inline-newsletter h3 { margin: 0; font: 800 clamp(22px, 2.6vw, 28px)/1.2 Georgia, "Times New Roman", serif; color: #2b211b; }
.inline-newsletter p { margin: 4px 0 12px; color: var(--tc-muted); font-size: 15px; }
.inline-newsletter .newsletter-form { background: #fff; padding: 6px; border-radius: 999px; border: 1px solid #ead7b4; max-width: 520px; }
.inline-newsletter .newsletter-form input { background: transparent; padding: 10px 14px; }
.inline-newsletter .newsletter-form button { padding: 10px 22px; }
@media (max-width: 600px) {
  .inline-newsletter { padding: 22px 18px; border-radius: 16px; }
  .inline-newsletter .newsletter-form { flex-direction: column; border-radius: 14px; padding: 8px; }
  .inline-newsletter .newsletter-form input,
  .inline-newsletter .newsletter-form button { border-radius: 10px; width: 100%; }
}
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; }
.article-page, .archive-page, .main-layout { padding: 46px 0; }
.single-article { max-width: 860px; margin: 0 auto; }
.article-header h1 { font: 800 clamp(34px,5vw,56px)/1.08 Georgia, "Times New Roman", serif; margin: 10px 0 14px; }
.article-meta, .article-breadcrumb { color: var(--tc-muted); font-size: 14px; }
.article-featured-image { margin: 28px 0; border-radius: 24px; overflow: hidden; }
.article-content { font-size: 18px; background: #fff; padding: 34px; border-radius: 24px; border: 1px solid var(--tc-line); }
.article-content > h2 {
  margin: 36px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--tc-red);
  font: 800 clamp(24px, 3.4vw, 32px)/1.25 Georgia, "Times New Roman", serif;
  color: var(--tc-ink);
}
.article-content > h3 {
  margin: 28px 0 12px;
  padding-left: 12px;
  border-left: 4px solid var(--tc-red);
  font: 800 clamp(20px, 2.8vw, 24px)/1.3 Georgia, "Times New Roman", serif;
  color: var(--tc-ink);
}
.article-content > p {
  margin: 0 0 18px;
  color: #2b211b;
  line-height: 1.75;
}
/* Legal page — Privacy + Disclaimer single page (page-legal.php) */
.legal-article { max-width: 860px; }
.legal-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tc-red);
  background: #fff4ee;
  border: 1px solid #e6b8a3;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.legal-meta strong { color: var(--tc-ink); font-weight: 700; }
.legal-intro {
  margin: 14px 0 22px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--tc-muted);
  padding: 16px 18px;
  background: #fdf8ef;
  border-left: 3px solid var(--tc-gold);
  border-radius: 0 10px 10px 0;
}
.legal-intro a { color: var(--tc-red); }

/* Table of Contents — sticky-friendly card */
.legal-toc {
  margin: 0 0 28px;
  padding: 22px 26px;
  background: linear-gradient(180deg, #fff8eb 0%, #fff 100%);
  border: 1px solid #ead7b4;
  border-radius: 18px;
  box-shadow: 0 4px 14px rgba(139, 30, 30, .04);
}
.legal-toc-label {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--tc-red);
}
.legal-toc ol,
.legal-toc ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}
.legal-toc > ol > li {
  margin: 6px 0;
  font-weight: 700;
  font-size: 15px;
  color: var(--tc-ink);
}
.legal-toc > ol > li > a {
  color: var(--tc-ink);
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: color .15s ease, border-color .15s ease;
}
.legal-toc > ol > li > a:hover {
  color: var(--tc-red);
  border-bottom-color: var(--tc-red);
}
.legal-toc ul {
  margin: 6px 0 4px 18px;
  padding-left: 14px;
  border-left: 2px solid #ead7b4;
}
.legal-toc ul li {
  margin: 3px 0;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.6;
}
.legal-toc ul li a {
  color: var(--tc-muted);
  text-decoration: none;
  transition: color .15s ease;
}
.legal-toc ul li a:hover {
  color: var(--tc-red);
}

/* Body & sections */
.legal-body { scroll-padding-top: 80px; }
.legal-section {
  margin: 36px 0 8px;
  padding-top: 12px;
  scroll-margin-top: 80px; /* avoid sticky header overlap on anchor jump */
}
.legal-section > h2:first-child {
  margin-top: 0;
}
.legal-section ul {
  margin: 6px 0 18px;
  padding-left: 22px;
}
.legal-section ul li {
  margin: 4px 0;
  line-height: 1.7;
  color: #2b211b;
}
.legal-section strong { color: var(--tc-ink); }

/* Contact block */
.legal-contact-list {
  list-style: none;
  padding: 16px 20px;
  margin: 14px 0 18px;
  background: #fdf8ef;
  border-radius: 12px;
  border: 1px solid #ead7b4;
}
.legal-contact-list li {
  margin: 4px 0;
  font-size: 16px;
  color: var(--tc-ink);
}
.legal-contact-list a { color: var(--tc-red); }

/* Draft / not-legal-advice notice (only shown when content is the bundled draft) */
.legal-disclaimer-note {
  margin-top: 22px;
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.6;
  color: #681515;
  background: #fff4ee;
  border: 1px dashed #e6b8a3;
  border-radius: 10px;
}

/* Highlight anchor target briefly when jumping from TOC */
.legal-section:target {
  animation: legal-flash 1.4s ease-out 1;
}
@keyframes legal-flash {
  0%   { background: rgba(198, 161, 91, .22); }
  100% { background: transparent; }
}

/* Responsive */
@media (max-width: 720px) {
  .legal-toc { padding: 18px 18px; border-radius: 14px; }
  .legal-toc > ol > li { font-size: 14px; }
  .legal-toc ul li { font-size: 13px; }
  .legal-intro { font-size: 15px; padding: 14px 14px; }
  .legal-contact-list { padding: 14px 14px; }
  .legal-contact-list li { font-size: 15px; }
}
@media (max-width: 480px) {
  .legal-section { margin-top: 28px; }
}

.archive-header { margin-bottom: 28px; }
.archive-header h1 { font: 800 42px Georgia, "Times New Roman", serif; margin: 4px 0; }
.category-hub-page { padding: 38px 0 10px; }
.category-hero {
  display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 28px; align-items: stretch;
  margin-bottom: 22px; padding: 34px; border-radius: 28px; color: #fff;
  background:
    radial-gradient(circle at 86% 20%, rgba(255,255,255,.24), transparent 22%),
    linear-gradient(135deg, #5f1514 0%, #8b1e1e 48%, #c6a15b 100%);
  box-shadow: var(--tc-shadow); overflow: hidden;
}
.category-kicker { color: #f6d799; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; font-weight: 900; }
.category-hero h1 { max-width: 760px; margin: 8px 0 12px; font: 800 clamp(36px,5vw,62px)/1.06 Georgia, "Times New Roman", serif; }
.category-description { max-width: 760px; color: rgba(255,255,255,.9); font-size: 17px; }
.category-description p { margin: 0; }
.category-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.category-stats span { padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); font-size: 13px; font-weight: 800; }
.category-hero-card { align-self: end; padding: 22px; border-radius: 22px; background: rgba(255,250,242,.94); color: var(--tc-ink); }
.category-hero-card span { color: var(--tc-red); text-transform: uppercase; letter-spacing: .1em; font-size: 11px; font-weight: 900; }
.category-hero-card strong { display: block; margin: 7px 0 18px; font: 800 22px/1.18 Georgia, "Times New Roman", serif; }
.category-topic-nav { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 24px; }
.category-topic-nav a { padding: 9px 14px; border: 1px solid var(--tc-line); border-radius: 999px; background: #fff; color: #3f342d; font-size: 13px; font-weight: 850; }
.category-topic-nav a.is-current, .category-topic-nav a:hover { background: var(--tc-red); border-color: var(--tc-red); color: #fff; }
.category-hub-layout { display: grid; grid-template-columns: 230px minmax(0,1fr) 260px; gap: 24px; align-items: start; }
.category-main-feed { min-width: 0; }
.category-featured-story { display: grid; grid-template-columns: 290px minmax(0,1fr); gap: 22px; margin-bottom: 24px; padding: 18px; background: #fff; border: 1px solid var(--tc-line); border-radius: 24px; box-shadow: 0 10px 28px rgba(40,20,12,.06); }
.category-featured-thumb { min-height: 220px; border-radius: 18px; overflow: hidden; background: linear-gradient(135deg, #efe1cc, #b14235); }
.category-featured-thumb img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.category-featured-body h2 { margin: 8px 0 10px; font: 800 30px/1.18 Georgia, "Times New Roman", serif; }
.category-featured-body p { margin: 0 0 14px; color: var(--tc-muted); }
.category-feed-header { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin: 6px 0 16px; }
.category-feed-header span { color: var(--tc-red); text-transform: uppercase; font-size: 12px; letter-spacing: .1em; font-weight: 900; }
.category-feed-header h2 { margin: 4px 0 0; font: 800 32px/1.18 Georgia, "Times New Roman", serif; }
.tc-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 24px; }
.tc-pagination .page-numbers { min-width: 38px; padding: 8px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--tc-line); color: #4c4037; font-weight: 800; text-align: center; }
.tc-pagination .page-numbers.current, .tc-pagination a.page-numbers:hover { background: var(--tc-red); border-color: var(--tc-red); color: #fff; }
.empty-feed-card { padding: 34px; background: #fff; border: 1px solid var(--tc-line); border-radius: 24px; }
.empty-feed-card h2 { margin-top: 0; font: 800 30px Georgia, "Times New Roman", serif; }
@media (max-width: 1080px) {
  .shortcut-grid { grid-template-columns: repeat(3, 1fr); }
  .content-hub-layout, .category-hub-layout { grid-template-columns: 1fr; }
  .hub-sidebar, .category-sidebar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .sidebar-box { margin-bottom: 0; }
  .category-hero { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  .header-inner { height: auto; min-height: 66px; flex-wrap: wrap; padding: 12px 0; }
  .menu-toggle { display: block; margin-left: auto; }
  .header-subscribe { display: none; }
  .primary-nav { display: none; width: 100%; order: 5; }
  .primary-nav.is-open { display: block; }
  .primary-nav ul { display: grid; gap: 8px; justify-content: stretch; }
  .primary-nav a { display: block; padding: 9px 0; }
  .hero-slide { min-height: 470px; }
  .hero-content { padding-bottom: 118px; }
  .culture-search-form { flex-direction: column; }
  .culture-search-form button { padding: 14px 18px; }
  .shortcut-grid, .featured-grid, .footer-grid, .hub-sidebar, .category-sidebar, .category-featured-story { grid-template-columns: 1fr; }
  .category-hero { padding: 24px; border-radius: 22px; }
  .article-list-card { grid-template-columns: 1fr; }
  .list-thumb img { height: 190px; }
  .read-button { justify-self: start; }
  .feed-header, .row-heading, .seasonal-banner, .footer-bottom, .category-feed-header { flex-direction: column; align-items: start; }
  .article-content { padding: 22px; font-size: 16px; }
}

/* Category channel page: two-column news layout inspired by classic portal channels */
.category-channel-page { padding: 34px 0 12px; }
.category-channel-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 24px;
  align-items: end;
  padding: 28px 0 20px;
  border-bottom: 3px solid var(--tc-red);
}
.category-channel-head h1 {
  margin: 6px 0 8px;
  font: 800 clamp(34px, 5vw, 54px)/1.08 Georgia, "Times New Roman", serif;
}
.category-channel-head .category-description { max-width: 780px; color: var(--tc-muted); font-size: 16px; }
.category-channel-meta {
  justify-self: end;
  min-width: 138px;
  padding: 18px 14px;
  text-align: center;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--tc-line);
  box-shadow: 0 8px 20px rgba(40,20,12,.05);
}
.category-channel-meta strong { display: block; color: var(--tc-red); font-size: 34px; line-height: 1; }
.category-channel-meta span { color: var(--tc-muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.category-channel-nav { margin: 18px 0 26px; }
.category-channel-layout {
  display: grid;
  grid-template-columns: minmax(0, 780px) 330px;
  gap: 34px;
  align-items: start;
}
.category-channel-main,
.category-channel-side { min-width: 0; }
.category-channel-lead {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 22px;
  padding-bottom: 22px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--tc-line);
}
.category-channel-lead-thumb {
  min-height: 235px;
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(135deg, #efe1cc, #b14235);
}
.category-channel-lead-thumb img { width: 100%; height: 235px; object-fit: cover; }
.category-channel-lead-body { align-self: center; }
.category-channel-lead-body h2 {
  margin: 8px 0 10px;
  font: 800 32px/1.18 Georgia, "Times New Roman", serif;
}
.category-channel-lead-body p { margin: 0 0 12px; color: var(--tc-muted); }
.channel-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d8c9b7;
}
.channel-section-title h2 { margin: 0; font: 800 26px Georgia, "Times New Roman", serif; }
.channel-section-title span { color: var(--tc-muted); font-size: 13px; }
.category-channel-list { background: #fffaf2; }
.channel-news-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--tc-line);
}
.channel-news-thumb {
  height: 126px;
  overflow: hidden;
  border-radius: 3px;
  background: linear-gradient(135deg, #eadcc9, #b14235);
}
.channel-news-thumb img { width: 100%; height: 126px; object-fit: cover; }
.channel-news-body h3 { margin: 5px 0 7px; font-size: 22px; line-height: 1.26; }
.channel-news-body p { margin: 0; color: var(--tc-muted); font-size: 15px; line-height: 1.55; }
.category-channel-side { position: sticky; top: 94px; }
.channel-side-card {
  margin-bottom: 18px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--tc-line);
  border-top: 3px solid var(--tc-red);
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(40,20,12,.05);
}
.channel-side-title span {
  color: var(--tc-red);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 11px;
  font-weight: 900;
}
.channel-side-title h3 { margin: 2px 0 12px; font-size: 20px; }
.channel-rank-list { margin: 0; padding: 0; list-style: none; counter-reset: rank; }
.channel-rank-list li {
  counter-increment: rank;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  padding: 11px 0;
  border-top: 1px solid var(--tc-line);
  line-height: 1.35;
}
.channel-rank-list li:first-child { border-top: 0; }
.channel-rank-list li:before {
  content: counter(rank);
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f0e0c8;
  color: var(--tc-red);
  font-weight: 900;
  font-size: 12px;
}
.channel-rank-list li:nth-child(-n+3):before { background: var(--tc-red); color: #fff; }
.channel-rank-list a { font-weight: 750; }
.channel-topic-list { display: grid; gap: 8px; }
.channel-topic-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  border-bottom: 1px solid var(--tc-line);
  color: #3f342d;
  font-weight: 750;
}
.channel-topic-list a:after { content: "›"; color: var(--tc-red); font-weight: 900; }
.channel-topic-list a.is-current { color: var(--tc-red); }
.side-muted { color: var(--tc-muted); margin: 0; }
@media (max-width: 1080px) {
  .category-channel-layout { grid-template-columns: 1fr; }
  .category-channel-side { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .category-channel-side .sidebar-box { margin-bottom: 0; }
}
@media (max-width: 780px) {
  .category-channel-head { grid-template-columns: 1fr; }
  .category-channel-meta { justify-self: stretch; }
  .category-channel-lead,
  .channel-news-row,
  .category-channel-side { grid-template-columns: 1fr; }
  .category-channel-lead-thumb,
  .category-channel-lead-thumb img { min-height: 210px; height: 210px; }
  .channel-news-thumb,
  .channel-news-thumb img { height: 190px; }
  .channel-section-title { align-items: flex-start; flex-direction: column; }
}

/* Local-only refinement: portal-style category channel polish */
.category-channel-page { width: min(1180px, calc(100% - 32px)); }
.category-channel-head {
  background: linear-gradient(180deg, rgba(255,255,255,.62), rgba(255,250,242,0));
}
.category-channel-head .category-kicker { color: var(--tc-red); }
.category-channel-head .category-description { color: #5f544b; }
.category-channel-nav {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(139,30,30,.18);
}
.channel-kicker-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: -6px 0 24px;
  border: 1px solid var(--tc-line);
  border-left: 0;
  background: #fff;
}
.channel-kicker-strip span {
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 8px 10px;
  border-left: 1px solid var(--tc-line);
  color: #5a4b40;
  font-size: 13px;
  font-weight: 850;
}
.channel-kicker-strip span:first-child { color: var(--tc-red); }
.category-channel-layout { grid-template-columns: minmax(0, 790px) 320px; }
.category-channel-lead {
  background: #fff;
  padding: 16px;
  border: 1px solid var(--tc-line);
  border-top: 3px solid var(--tc-red);
  box-shadow: 0 10px 26px rgba(40,20,12,.05);
}
.category-channel-lead-thumb,
.channel-news-thumb { position: relative; }
.category-channel-lead-thumb:empty:before,
.channel-news-thumb:empty:before,
.channel-placeholder-art:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 25%, rgba(255,255,255,.42), transparent 20%),
    linear-gradient(135deg, #781b1a 0%, #b73a2e 48%, #d8b86e 100%);
}
.category-channel-lead-thumb:empty:after,
.channel-placeholder-art:after {
  content: "TodayChinese";
  position: absolute;
  left: 20px;
  bottom: 18px;
  color: rgba(255,255,255,.88);
  font: 800 24px Georgia, "Times New Roman", serif;
}
.channel-empty-lead .category-channel-lead-body h2 { color: #2b211b; }
.channel-section-title {
  margin-top: 22px;
  border-top: 2px solid #2b211b;
  border-bottom: 1px solid var(--tc-line);
  padding: 12px 0 10px;
}
.channel-section-title h2 { color: #2b211b; }
.category-channel-list { background: transparent; }
.channel-news-row {
  background: #fffaf2;
  transition: background .18s ease, transform .18s ease;
}
.channel-news-row:hover { background: #fff; transform: translateX(3px); }
.channel-news-body h3 a { color: #221a15; }
.channel-news-body h3 a:hover { color: var(--tc-red); }
.channel-news-body .card-category { font-size: 11px; }
.channel-empty-state {
  padding: 26px 28px;
  background: #fff;
  border: 1px dashed rgba(139,30,30,.32);
  border-radius: 6px;
}
.channel-empty-state h2 { margin: 0 0 8px; font: 800 26px Georgia, "Times New Roman", serif; }
.channel-empty-state p { margin: 0; color: var(--tc-muted); }
.category-channel-side .cta-box { border-radius: 4px; }
.channel-side-card { border-top-color: #2b211b; }
.channel-side-rank { border-top-color: var(--tc-red); }
.channel-rank-list li { grid-template-columns: 28px minmax(0, 1fr); }
.channel-rank-list li em {
  grid-column: 2;
  color: #988a7d;
  font-size: 12px;
  font-style: normal;
  margin-top: -3px;
}
.channel-side-note {
  background: linear-gradient(135deg, #fff, #f7ebd9);
}
.channel-side-note p { color: var(--tc-muted); margin: 0; }
@media (max-width: 1080px) {
  .channel-kicker-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .channel-kicker-strip { grid-template-columns: 1fr; }
  .category-channel-head { padding-top: 18px; }
  .category-channel-lead { padding: 12px; }
  .channel-news-row:hover { transform: none; }
}

.load-more-wrap { text-align: center; padding: 24px 0 8px; }
.load-more-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border: 2px solid var(--tc-line); border-radius: 50%;
  background: #fff; color: var(--tc-muted); font-size: 22px; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.load-more-btn:hover { background: var(--tc-red); color: #fff; border-color: var(--tc-red); }
.load-more-btn.is-loaded svg { transform: rotate(180deg); }
.load-more-btn svg { transition: transform .25s ease; }
/* Related articles — refined card grid */
.related-articles {
  max-width: 860px;
  margin: 56px auto 0;
  padding-top: 34px;
  border-top: 1px solid var(--tc-line);
}
.related-header { margin-bottom: 22px; }
.related-kicker {
  display: block;
  color: var(--tc-red);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 900;
}
.related-header h2 {
  margin: 5px 0 0;
  font: 800 26px/1.2 Georgia, "Times New Roman", serif;
  color: var(--tc-ink);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.related-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--tc-line);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(40,20,12,.05);
  transition: box-shadow .28s ease, transform .28s ease, border-color .28s ease;
}
.related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(40,20,12,.14);
  border-color: rgba(139,30,30,.28);
  color: inherit;
}
.related-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #efe1cc, #b14235);
}
.related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.related-card:hover .related-thumb img { transform: scale(1.06); }
.related-thumb.is-empty:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 74% 24%, rgba(255,255,255,.4), transparent 22%),
    linear-gradient(135deg, #781b1a 0%, #b73a2e 48%, #d8b86e 100%);
}
.related-thumb.is-empty:after {
  content: "\6587";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.85);
  font: 800 40px Georgia, "Times New Roman", serif;
}
.related-tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(24,16,12,.62);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .03em;
}
.related-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
  padding: 14px 16px 16px;
}
.related-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--tc-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.related-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--tc-red);
  font-size: 13px;
  font-weight: 800;
}
.related-more svg { transition: transform .25s ease; }
.related-card:hover .related-more svg { transform: translateX(4px); }
@media (max-width: 900px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .related-grid { grid-template-columns: 1fr; }
  .related-thumb { aspect-ratio: 16 / 9; }
}

/* Homepage admin-managed featured block */
.section-subnote {
  max-width: 720px;
  margin: -12px 0 22px;
  color: var(--tc-muted);
  font-size: 14px;
}
.section-subnote strong { color: var(--tc-red); }

/* ============================================================
   ABOUT PAGE (page-about.php)
   Mirrors the static about.html visual design.
   ============================================================ */
.about-page { padding: 38px 0 64px; }

/* ----- About hero ----- */
.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 28px;
  align-items: stretch;
  margin: 38px 0 22px;
  padding: 34px;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 20%, rgba(255,255,255,.24), transparent 22%),
    linear-gradient(135deg, #5f1514 0%, #8b1e1e 48%, #c6a15b 100%);
  box-shadow: var(--tc-shadow);
  overflow: hidden;
}
.about-hero .kicker {
  color: #f6d799;
  text-transform: uppercase; letter-spacing: .1em;
  font-size: 12px; font-weight: 900;
}
.about-hero h1 {
  max-width: 760px;
  margin: 8px 0 14px;
  font: 800 clamp(36px, 5vw, 58px)/1.08 Georgia, "Times New Roman", serif;
}
.about-hero p {
  max-width: 680px;
  margin: 0;
  font-size: 17px;
  color: rgba(255,255,255,.92);
}
.about-hero-card {
  align-self: end;
  padding: 22px;
  border-radius: 22px;
  background: rgba(255,250,242,.94);
  color: #1d1d1d;
}
.about-hero-card span {
  color: var(--tc-red);
  text-transform: uppercase; letter-spacing: .1em;
  font-size: 11px; font-weight: 900;
}
.about-hero-card strong {
  display: block;
  margin: 7px 0 12px;
  font: 800 22px/1.22 Georgia, "Times New Roman", serif;
}
.about-hero-card ul { margin: 0; padding-left: 18px; color: var(--tc-muted); font-size: 14px; }
.about-hero-card li { margin: 4px 0; }

/* ----- Mission strip ----- */
.mission-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 38px;
  border: 1px solid var(--tc-line);
  background: #fff;
}
.mission-strip > div {
  min-height: 96px;
  display: grid;
  place-items: center;
  padding: 16px 18px;
  border-left: 1px solid var(--tc-line);
  text-align: center;
}
.mission-strip > div:first-child { border-left: 0; }
.mission-strip strong {
  display: block;
  font: 800 18px/1.2 Georgia, "Times New Roman", serif;
  color: var(--tc-red);
  margin-bottom: 4px;
}
.mission-strip span { color: var(--tc-muted); font-size: 13px; }

/* ----- Team grid ----- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.team-card {
  background: #fff;
  border: 1px solid var(--tc-line);
  border-top: 3px solid var(--tc-red);
  border-radius: 22px;
  padding: 24px 22px 22px;
  box-shadow: 0 10px 28px rgba(40,20,12,.06);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.team-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fdf6e9 0%, #f1e2c8 100%);
  display: grid; place-items: center;
  border: 1.5px solid var(--tc-line);
  box-shadow: 0 4px 10px rgba(120, 70, 30, .08);
  overflow: hidden;
}
.team-avatar svg { display: block; width: 100%; height: 100%; }
.team-role {
  display: inline-flex;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f4eee5;
  color: var(--tc-red);
  font-size: 12px; font-weight: 900;
  letter-spacing: .05em; text-transform: uppercase;
}
.team-name {
  margin: 0;
  font: 800 22px/1.2 Georgia, "Times New Roman", serif;
  color: #1d1d1d;
}
.team-meta { margin: 0; color: var(--tc-muted); font-size: 13px; }
.team-bio { margin: 0; color: #2b211b; font-size: 15px; line-height: 1.65; }
.team-email {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  margin: 14px 0 0;
  padding: 7px 13px 7px 11px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .1px;
  color: var(--tc-red);
  background: rgba(198, 161, 91, .12);
  border: 1px solid rgba(198, 161, 91, .32);
  border-radius: 999px;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, transform .18s ease, color .18s ease;
}
.team-email:hover {
  background: rgba(139, 30, 30, .08);
  border-color: rgba(139, 30, 30, .35);
  color: var(--tc-red-dark);
  transform: translateY(-1px);
}
.team-email:focus-visible {
  outline: 2px solid var(--tc-red);
  outline-offset: 2px;
}
.team-email svg { width: 13px; height: 13px; flex-shrink: 0; }
.team-quote {
  margin: 8px 0 0;
  padding: 12px 14px;
  border-left: 3px solid var(--tc-gold);
  background: #fffaf2;
  font: italic 600 14px/1.55 Georgia, "Times New Roman", serif;
  color: #4c4037;
  border-radius: 0 10px 10px 0;
}
.team-skills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.team-skills span {
  padding: 4px 10px;
  border-radius: 999px;
  background: #fffaf2;
  border: 1px solid var(--tc-line);
  font-size: 12px;
  color: #4c4037;
  font-weight: 700;
}

/* ----- 1 + 1 + 1 > 3 formula ----- */
.formula {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1.2fr;
  align-items: stretch;
  gap: 14px;
  margin: 8px 0 36px;
}
.formula-step {
  background: #fff;
  border: 1px solid var(--tc-line);
  border-radius: 18px;
  padding: 22px 20px;
  text-align: center;
}
.formula-step span {
  color: var(--tc-red);
  font-size: 12px; font-weight: 900;
  letter-spacing: .12em; text-transform: uppercase;
}
.formula-step strong {
  display: block;
  margin: 6px 0 6px;
  font: 800 24px/1.15 Georgia, "Times New Roman", serif;
  color: #1d1d1d;
}
.formula-step p { margin: 0; color: var(--tc-muted); font-size: 14px; }
.formula-op {
  display: grid;
  place-items: center;
  font: 800 36px Georgia, "Times New Roman", serif;
  color: var(--tc-red);
}
.formula-result {
  background: linear-gradient(135deg, #5f1514 0%, #8b1e1e 48%, #c6a15b 100%);
  color: #fff;
  border: 0;
  border-radius: 18px;
  padding: 22px 22px;
  text-align: center;
  box-shadow: var(--tc-shadow);
}
.formula-result span {
  color: #f6d799;
  font-size: 12px; font-weight: 900;
  letter-spacing: .12em; text-transform: uppercase;
}
.formula-result strong {
  display: block;
  margin: 6px 0 6px;
  font: 800 26px/1.15 Georgia, "Times New Roman", serif;
}
.formula-result p { margin: 0; color: rgba(255,255,255,.86); font-size: 14px; }

/* ----- Belief ----- */
.belief {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  margin: 0 0 56px;
  padding: 34px;
  background: linear-gradient(135deg, #fff, #f5e7d2);
  border: 1px solid var(--tc-line);
  border-radius: 24px;
  align-items: center;
}
.belief-kicker {
  display: block;
  color: var(--tc-red);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px; font-weight: 900;
}
.belief h2 {
  margin: 6px 0 14px;
  font: 800 32px/1.18 Georgia, "Times New Roman", serif;
}
.belief p { margin: 0 0 12px; color: #2b211b; font-size: 16px; line-height: 1.7; max-width: 640px; }
.belief-sig {
  margin-top: 18px;
  display: flex; align-items: center; gap: 12px;
  color: var(--tc-muted);
  font: italic 600 14px Georgia, "Times New Roman", serif;
}
.belief-sig::before {
  content: "";
  width: 32px; height: 1px; background: var(--tc-red);
}
.belief-card {
  background: #fff;
  border: 1px solid var(--tc-line);
  border-radius: 22px;
  padding: 22px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(40,20,12,.06);
}
.belief-card span {
  display: block;
  color: var(--tc-red);
  font-size: 12px; font-weight: 900;
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 6px;
}
.belief-card strong {
  font: 800 20px/1.25 Georgia, "Times New Roman", serif;
  color: #1d1d1d;
}
.belief-card p { margin: 8px 0 0; color: var(--tc-muted); font-size: 14px; }

/* About extra (any WP editor content appended after the static blocks) */
.about-extra {
  max-width: 860px;
  margin: 24px auto 0;
  font-size: 17px;
  line-height: 1.75;
  color: #2b211b;
}

/* ----- Responsive ----- */
@media (max-width: 1080px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .formula { grid-template-columns: repeat(4, 1fr); }
  .formula-op { display: none; }
  .formula-result { grid-column: span 4; }
  .belief { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  .about-hero { grid-template-columns: 1fr; padding: 24px; border-radius: 22px; }
  .mission-strip { grid-template-columns: 1fr; }
  .mission-strip > div { border-left: 0; border-top: 1px solid var(--tc-line); }
  .mission-strip > div:first-child { border-top: 0; }
  .team-grid { grid-template-columns: 1fr; }
  .formula { grid-template-columns: 1fr; gap: 10px; }
  .formula-result { grid-column: span 1; }
  .belief { padding: 24px; }
}
