/*
Theme Name: TMC Blog
Theme URI: https://thementorscircle.com/blogs/
Author: The Mentors Circle
Author URI: https://thementorscircle.com/
Description: Custom WordPress theme for The Mentors Circle blog. Wraps the global site-header.php and site-footer.php from /public_html/includes/. Editorial black-and-white reading experience inside the site shell — Sora sans-serif (site-wide font since Jul 2026), neutral palette, Substack-style longform layout. Maroon brand colour is kept only in the inherited site nav and footer.
Version: 1.8.3
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: Proprietary
Text Domain: tmc-blog
*/

/* ============================================================
   TMC Blog — Editorial Theme (v1.2)
   Black & white. Sora (site-wide font). Maroon-black cover heroes.
   ============================================================ */

/* ── Neutral palette (overrides for this theme only) ── */
.tmc-blog-shell,
.tmc-related,
.tmc-newsletter {
  --ink:    #0f0f0f;
  --body:   #1f2937;
  --mid:    #4b5563;
  --muted:  #6b7280;
  --line:   #e5e7eb;
  --line-2: #f3f4f6;
  --bg:     #ffffff;
  --bg-2:   #fafafa;
  --bg-3:   #f3f4f6;
  --accent: #0f0f0f;
  --accent-soft: rgba(15,15,15,0.04);
}

/* ── Typography reset for blog content ── */
.tmc-blog-shell,
.tmc-blog-shell *,
.tmc-related,
.tmc-related *,
.tmc-newsletter,
.tmc-newsletter * {
  font-family: 'Sora', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}
.tmc-blog-shell { color: var(--body); background: var(--bg); }

/* Outer shell — generous horizontal padding so article + sidebar
   never touch the visible column edges. */
.tmc-blog-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 24px 56px 80px;
  background: transparent;
}

/* ============== ARCHIVE / INDEX ============== */
.tmc-archive-header {
  text-align: center;
  margin: 16px 0 56px;
  padding: 32px 16px 32px;
  border-bottom: 1px solid var(--line);
}
.tmc-archive-header h1 {
  font-size: 44px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 12px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.tmc-archive-header h1 em {
  font-style: normal;
  color: var(--muted);
  font-weight: 400;
}
.tmc-archive-header .lede {
  font-size: 17px;
  color: var(--mid);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Card grid */
.tmc-post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}
.tmc-post-card {
  background: var(--bg);
  border-radius: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.tmc-post-card:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.tmc-post-card-image {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--bg-3);
}
.tmc-post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}
.tmc-post-card:hover .tmc-post-card-image img {
  transform: scale(1.03);
}
.tmc-post-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.tmc-post-card-meta {
  font-size: 11.5px;
  color: var(--muted);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}
.tmc-post-card-cat {
  color: var(--ink);
  font-weight: 700;
}
.tmc-post-card-title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: -0.01em;
}
.tmc-post-card-title a {
  color: var(--ink);
  text-decoration: none;
}
.tmc-post-card-title a:hover {
  color: var(--mid);
}
.tmc-post-card-excerpt {
  font-size: 14.5px;
  color: var(--mid);
  line-height: 1.6;
  margin: 0 0 18px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tmc-post-card-readmore {
  display: inline-block;
  align-self: flex-start;
  color: var(--ink);
  font-weight: 600;
  font-size: 13.5px;
  text-decoration: none;
  padding: 9px 16px;
  border: 1px solid var(--ink);
  border-radius: 0;
  transition: all .2s ease;
}
.tmc-post-card-readmore:hover {
  background: var(--ink);
  color: #fff;
}

/* ============== SINGLE POST — FULL-WIDTH SINGLE COLUMN ==============
   Sidebar removed Jul 2026: TOC is now a collapsible box above the
   article, share panel sits at the end of the article. */
.tmc-post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: start;
  margin: 0 auto;
  max-width: 1060px;
}

.tmc-post {
  background: var(--bg);
  border-radius: 0;
  padding: 0 32px;       /* internal breathing room so content doesn't hug the column edge */
  box-shadow: none;
  border: none;
  min-width: 0;
}

.tmc-post-breadcrumb { display: none; }

.tmc-post-header {
  margin: 0 0 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.tmc-post-cat-tag {
  display: inline-block;
  background: transparent;
  color: var(--mid);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0 0 3px;
  margin-bottom: 10px;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.tmc-post-cat-tag:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.tmc-post-header h1 {
  font-size: 32px;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ----- Meta strip ----- */
.tmc-post-meta-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--muted);
  margin: 0 0 12px;
}
.tmc-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: var(--mid);
}
.tmc-meta-item svg { color: var(--muted); }
.tmc-meta-divider { color: var(--line); }
.tmc-meta-share {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 0;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  margin-left: auto;
  transition: all .2s ease;
}
.tmc-meta-share:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ----- Inline byline (in meta strip) ----- */
.tmc-meta-byline a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}
.tmc-meta-byline a:hover { color: var(--mid); }
.tmc-author-updated {
  color: var(--mid);
  font-weight: 500;
}
.tmc-author-verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  background: var(--ink);
  color: #fff;
  font-size: 9px;
  border-radius: 50%;
  font-weight: 700;
  cursor: help;
}

/* ----- About the author (bottom of post) ----- */
.tmc-author-bio {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin: 56px 0 0;
  padding: 24px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ink);
  border-radius: 0;
}
.tmc-author-bio-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--line);
  object-fit: cover;
  flex-shrink: 0;
}
.tmc-author-bio-text { flex: 1; min-width: 0; }
.tmc-author-bio-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 6px;
}
.tmc-author-bio-name {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.01em;
}
.tmc-author-bio-name a { color: inherit; text-decoration: none; }
.tmc-author-bio-name a:hover { color: var(--mid); }
.tmc-author-bio-role {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 600px) {
  .tmc-author-bio { padding: 18px; gap: 14px; }
  .tmc-author-bio-avatar { width: 48px; height: 48px; }
  .tmc-author-bio-name { font-size: 16px; }
}

/* Global breadcrumb bar hidden on cover posts — the theme renders its
   own breadcrumb below the hero instead (SEO BreadcrumbList JSON-LD from
   the site header is unaffected). */
body.tmc-cover-post .breadcrumbs { display: none; }
.tmc-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--mid);
  margin: -4px 0 24px;
  line-height: 1.5;
}
.tmc-crumb a { color: var(--maroon-deep, #4b0000); text-decoration: none; font-weight: 500; }
.tmc-crumb a:hover { text-decoration: underline; }
.tmc-crumb span { color: var(--muted); }
.tmc-crumb strong { color: var(--ink); font-weight: 600; }
@media (max-width: 768px) { .tmc-crumb { font-size: 12px; gap: 6px; } }

/* ----- Cover hero (category photo + overlay / typographic fallback) -----
   FULL-BLEED: spans the entire viewport width like the main-site hub
   heroes; the text inside stays aligned to the article column. */
body { overflow-x: hidden; }  /* absorbs the 100vw scrollbar sliver */
.tmc-cover-hero {
  position: relative;
  min-height: clamp(340px, 34vw, 460px);   /* medium default; grows with content */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  margin: 0 0 28px;
}
/* Width: contained (default, article column) vs full-bleed */
.tmc-cover-hero.w-full {
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  margin-top: -24px;   /* pulls up over the shell's top padding */
}
/* Height presets (admin → Blog settings) */
.tmc-cover-hero.hh-compact { min-height: clamp(240px, 24vw, 320px); }
.tmc-cover-hero.hh-medium  { min-height: clamp(340px, 34vw, 460px); }
.tmc-cover-hero.hh-tall    { min-height: clamp(420px, 44vw, 620px); }
/* Overlay strength (admin → Blog settings). Light = photo stays vivid,
   only the text zone darkens from the bottom. */
.tmc-cover-ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,12,.78) 0%, rgba(8,8,12,.32) 42%, rgba(8,8,12,0) 70%);
}
.tmc-cover-hero.ov-medium .tmc-cover-ov {
  background: linear-gradient(to top, rgba(8,8,12,.86) 0%, rgba(8,8,12,.48) 48%, rgba(8,8,12,.1) 100%);
}
.tmc-cover-hero.ov-dark .tmc-cover-ov {
  background: linear-gradient(10deg, rgba(10,10,14,.92) 0%, rgba(10,10,14,.6) 50%, rgba(10,10,14,.12) 100%);
}
.tmc-cover-hero.is-typo {
  /* Maroon-blackish: deep darkened maroon, not black with a maroon hint */
  background: radial-gradient(700px 500px at 88% -10%, rgba(164,29,29,.55) 0%, rgba(164,29,29,0) 55%),
              linear-gradient(125deg, #3a0505 0%, #4a0808 55%, #240303 100%);
}
.tmc-cover-hero.is-typo .tmc-cover-ov { background: none; }
.tmc-cover-hero.is-typo::after {
  content: '';
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 320px;
  height: 320px;
  border: 2px solid rgba(201,168,76,.25);
  border-radius: 50%;
}
.tmc-cover-hero, .tmc-cover-hero * { box-sizing: border-box; }
.tmc-cover-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1060px;      /* aligns the title with the article column */
  margin: 0 auto;
  padding: 72px 48px 40px;   /* top padding keeps content clear of the photo's upper area */
  color: #fff;
}
.tmc-cover-cat {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #C9A84C;
  text-decoration: none;
  margin-bottom: 14px;
}
.tmc-cover-cat:hover { color: #fff; }
.tmc-cover-hero h1 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
  max-width: 760px;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.tmc-cover-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
  font-size: 12.5px;
  color: rgba(255,255,255,.78);
}
.tmc-cover-meta a { color: #fff; font-weight: 600; text-decoration: none; }
.tmc-cover-meta a:hover { color: #C9A84C; }
.tmc-cover-share {
  border-color: rgba(255,255,255,.45);
  color: #fff;
  background: transparent;
}
.tmc-cover-share:hover { background: #fff; color: #0f0f0f; border-color: #fff; }
.tmc-cover-rule {
  position: absolute;
  left: max(48px, calc(50% - 482px));   /* tracks the content column edge */
  bottom: 0;
  width: 84px;
  height: 5px;
  background: #C9A84C;
  z-index: 2;
}
@media (max-width: 768px) {
  .tmc-cover-hero { min-height: clamp(280px, 72vw, 400px); margin: 0 -18px 24px; width: auto; left: auto; transform: none; }
  .tmc-cover-hero.w-full { width: 100vw; left: 50%; transform: translateX(-50%); margin: -20px 0 24px; }
  .tmc-cover-hero.hh-compact { min-height: clamp(220px, 58vw, 320px); }
  .tmc-cover-hero.hh-tall { min-height: clamp(320px, 82vw, 460px); }
  .tmc-cover-inner { padding: 48px 20px 24px; }
  .tmc-cover-hero h1 { font-size: 21px; line-height: 1.25; }
  .tmc-cover-cat { font-size: 10.5px; margin-bottom: 10px; }
  .tmc-cover-meta { font-size: 11.5px; gap: 7px; margin-top: 12px; }
  /* keep the Share button compact inside the hero (higher specificity
     than the generic full-width mobile share rule, whatever the order) */
  .tmc-cover-meta .tmc-cover-share,
  .tmc-cover-meta button.tmc-meta-share {
    width: auto; margin: 0 0 0 auto; justify-content: center; padding: 5px 12px; margin-top: 0;
  }
  .tmc-cover-rule { left: 20px; width: 56px; height: 4px; }
}

/* ----- Hero ----- */
.tmc-post-hero {
  margin: 0 0 28px;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid var(--line);
}
.tmc-post-hero img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ----- Article body ----- */
.tmc-post-content {
  font-size: 17px;
  line-height: 1.78;
  color: var(--body);
  letter-spacing: -0.003em;
}
.tmc-post-content p { margin: 0 0 22px; }
.tmc-post-content h2 {
  font-size: 28px;
  margin: 48px 0 18px;
  color: var(--ink);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
  scroll-margin-top: 96px;
}
.tmc-post-content h3 {
  font-size: 22px;
  margin: 36px 0 14px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.01em;
  scroll-margin-top: 96px;
}
.tmc-post-content a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--muted);
}
.tmc-post-content a:hover {
  text-decoration-color: var(--ink);
  background: var(--bg-3);
}
.tmc-post-content img {
  margin: 32px 0;
  border-radius: 0;
  border: 1px solid var(--line);
  max-width: 100%;
  height: auto;
}
.tmc-post-content blockquote {
  border-left: 3px solid var(--ink);
  padding: 14px 24px;
  margin: 32px 0;
  background: var(--bg-2);
  font-style: italic;
  font-size: 18px;
  color: var(--mid);
}
.tmc-post-content ul,
.tmc-post-content ol {
  margin: 0 0 22px;
  padding-left: 26px;
}
.tmc-post-content li {
  margin-bottom: 10px;
}

/* Tables — strict editorial style */
.tmc-post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14.5px;
  border: 1px solid var(--line);
}
.tmc-post-content table thead {
  background: var(--ink) !important;
  color: #fff !important;
}
.tmc-post-content table thead th {
  padding: 12px 14px;
  text-align: left;
  font-weight: 600;
  border: none;
  background: var(--ink) !important;
  color: #fff !important;
}
.tmc-post-content table tbody td {
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.tmc-post-content table tbody tr:nth-child(even) td {
  background: var(--bg-2);
}

/* ============== POST FOOTER (tags / category) ============== */
.tmc-post-footer {
  margin-top: 48px;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--mid);
  background: transparent !important;
}
.tmc-post-footer * {
  background: transparent;
  color: inherit;
}
.tmc-post-footer strong {
  color: var(--ink);
  font-weight: 600;
}
.tmc-post-tags-block { margin-bottom: 12px; }
.tmc-post-tags-block a,
.tmc-post-cat-block a {
  display: inline-block;
  font-size: 12.5px;
  background: var(--bg-2);
  color: var(--mid);
  padding: 5px 12px;
  border-radius: 0;
  border: 1px solid var(--line);
  margin: 4px 4px 0 0;
  text-decoration: none;
}
.tmc-post-tags-block a:hover,
.tmc-post-cat-block a:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ============== SIDEBAR ============== */
.tmc-post-sidebar {
  position: relative;
}
.tmc-sidebar-sticky {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ----- TOC (collapsible, above the article body) ----- */
.tmc-toc {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ink);
  border-radius: 0;
  padding: 16px 20px;
}
.tmc-toc-inline { margin: 0 0 28px; }
.tmc-toc-title {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 14px;
}
.tmc-toc-inline > summary.tmc-toc-title {
  cursor: pointer;
  margin: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
}
.tmc-toc-inline > summary.tmc-toc-title::-webkit-details-marker { display: none; }
.tmc-toc-inline > summary.tmc-toc-title::after {
  content: "+";
  font-size: 16px;
  font-weight: 700;
  color: var(--mid);
  transition: transform .2s ease;
}
.tmc-toc-inline[open] > summary.tmc-toc-title::after { transform: rotate(45deg); }
.tmc-toc-inline[open] > summary.tmc-toc-title { margin-bottom: 14px; }
.tmc-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: tmc-toc;
}
.tmc-toc-list li {
  counter-increment: tmc-toc;
  position: relative;
  padding: 8px 0 8px 26px;
  border-top: 1px solid var(--line-2);
  font-size: 13.5px;
  line-height: 1.45;
}
.tmc-toc-list li:first-child { border-top: 0; padding-top: 0; }
.tmc-toc-list li::before {
  content: counter(tmc-toc, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 8px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.tmc-toc-list li:first-child::before { top: 0; }
.tmc-toc-list li.is-h3 {
  padding-left: 38px;
  font-size: 13px;
  color: var(--mid);
}
.tmc-toc-list li.is-h3::before { left: 18px; color: var(--muted); }
.tmc-toc-list a {
  color: var(--mid);
  text-decoration: none;
  display: block;
}
.tmc-toc-list a:hover { color: var(--ink); }
.tmc-toc-list li.is-active > a {
  color: var(--ink);
  font-weight: 600;
}

/* ----- CTA card ----- */
.tmc-cta-card {
  background: var(--ink);
  border: none;
  border-radius: 0;
  padding: 0;
  text-align: left;
  color: #fff;
  overflow: hidden;
}
.tmc-cta-card-pic {
  position: relative;
  height: 96px;
  margin: 0;
  background: linear-gradient(135deg, #0f0f0f 0%, #1f2937 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 16px 20px;
}
.tmc-cta-card-badge {
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 0;
  border: 1px solid rgba(255,255,255,0.2);
}
.tmc-cta-card-title {
  font-size: 17px;
  font-weight: 700;
  margin: 18px 20px 6px;
  color: #fff;
  letter-spacing: -0.01em;
}
.tmc-cta-card-body {
  font-size: 13.5px;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
  margin: 0 20px 18px;
}
.tmc-cta-card-btn {
  display: block;
  margin: 0 20px 18px;
  background: #fff;
  color: var(--ink) !important;
  font-weight: 600;
  font-size: 14.5px;
  padding: 12px 16px;
  border-radius: 0;
  text-decoration: none;
  text-align: center;
  transition: all .2s ease;
}
.tmc-cta-card-btn:hover {
  background: rgba(255,255,255,0.85);
}
.tmc-cta-card-proof {
  font-size: 11.5px;
  color: rgba(255,255,255,0.5);
  margin: 0 20px 18px;
  letter-spacing: 0.02em;
}
.tmc-cta-card-proof span { color: rgba(255,255,255,0.7); }
.tmc-cta-card-proof strong { color: #fff; }

/* ----- Share panel (end of article) ----- */
.tmc-share-panel {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 16px 18px;
}
.tmc-post .tmc-share-panel { margin-top: 28px; scroll-margin-top: 96px; }
.tmc-post .tmc-share-buttons { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 600px) {
  .tmc-post .tmc-share-buttons { grid-template-columns: 1fr 1fr; }
}
.tmc-share-title {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 12px;
}
.tmc-share-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.tmc-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--mid);
  font-size: 12.5px;
  font-weight: 500;
  padding: 9px 12px;
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  transition: all .2s ease;
}
.tmc-share-btn:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.tmc-share-btn.is-copied {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ----- Recent posts ----- */
.tmc-recent-posts {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 16px 18px;
}
.tmc-recent-title {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 12px;
}
.tmc-recent-list { list-style: none; margin: 0; padding: 0; }
.tmc-recent-item { border-top: 1px solid var(--line-2); }
.tmc-recent-item:first-child { border-top: 0; }
.tmc-recent-item a {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  text-decoration: none;
  color: inherit;
  align-items: center;
}
.tmc-recent-thumb {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 0;
  overflow: hidden;
  background: var(--bg-3);
  border: 1px solid var(--line);
}
.tmc-recent-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tmc-recent-text { flex: 1; min-width: 0; }
.tmc-recent-post-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--ink);
}
.tmc-recent-item a:hover .tmc-recent-post-title { color: var(--mid); }
.tmc-recent-post-meta {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

/* ============== MID-ARTICLE CTA ============== */
.tmc-mid-cta {
  margin: 40px 0;
  padding: 22px 26px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ink);
  border-radius: 0;
}
.tmc-mid-cta-body {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.tmc-mid-cta-text { flex: 1; min-width: 220px; }
.tmc-mid-cta-text strong {
  display: block;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 4px;
  font-weight: 700;
}
.tmc-mid-cta-text p {
  margin: 0 !important;
  font-size: 14.5px;
  color: var(--mid);
  line-height: 1.55;
}
.tmc-mid-cta-btn {
  background: var(--ink);
  color: #fff !important;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 0;
  text-decoration: none !important;
  transition: all .2s ease;
  white-space: nowrap;
}
.tmc-mid-cta-btn:hover {
  background: var(--mid) !important;
}

/* ============== CALLOUTS (opt-in inside post) ============== */
.tmc-post-content .quick-read {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--ink);
  padding: 22px 26px;
  margin: 32px 0;
  border-radius: 0;
}
.tmc-post-content .quick-read::before {
  content: "Quick Read";
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 12px;
}
.tmc-post-content .quick-read ul,
.tmc-post-content .quick-read ol { margin-bottom: 0; }

.tmc-post-content .counsellor-insight {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--mid);
  padding: 18px 26px;
  margin: 32px 0;
  border-radius: 0;
  font-style: italic;
  color: var(--mid);
}
/* Quick-facts card grid — paste-in block for any post:
   <section class="quick-facts">
     <div class="fact-card"><div class="fact-label">💰 Tuition Fees</div><p>€12,000–35,000/year</p></div>
     …
   </section>
   Use <div class="fact-label">, NOT <h3> — h3s would get pulled into the
   auto Table of Contents. 2–8 cards; wraps responsively. */
.tmc-post-content .quick-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  margin: 32px 0;
}
.tmc-post-content .fact-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-top: 3px solid var(--ink);
  padding: 18px 16px;
  text-align: center;
}
.tmc-post-content .fact-card .fact-label,
.tmc-post-content .fact-card h3 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 8px;
}
.tmc-post-content .fact-card p {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.tmc-post-content .fact-card p small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--mid);
  margin-top: 4px;
}
@media (max-width: 600px) {
  .tmc-post-content .quick-facts { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tmc-post-content .fact-card p { font-size: 16px; }
}

.tmc-post-content .counsellor-insight::before {
  content: "Counsellor's note";
  display: block;
  font-style: normal;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 10px;
}

/* ============== RELATED POSTS ============== */
.tmc-related {
  margin: 64px auto 0;
  max-width: 1200px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.tmc-related-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 28px;
  text-align: left;
  letter-spacing: -0.02em;
}
.tmc-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.tmc-related-grid .tmc-post-card-image img { aspect-ratio: 16 / 9; }

/* ============== NEWSLETTER STRIP ============== */
.tmc-newsletter {
  margin: 48px auto 0;
  max-width: 1200px;
  background: var(--ink);
  border-radius: 0;
  padding: 36px 40px;
  color: #fff;
}
.tmc-newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.tmc-newsletter-text { flex: 1; min-width: 280px; }
.tmc-newsletter-text h3 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 8px;
  color: #fff;
  letter-spacing: -0.02em;
}
.tmc-newsletter-text p {
  font-size: 14.5px;
  color: rgba(255,255,255,0.7);
  margin: 0;
  line-height: 1.55;
}
.tmc-newsletter-btn {
  background: #fff;
  color: var(--ink) !important;
  font-weight: 600;
  font-size: 14.5px;
  padding: 13px 22px;
  border-radius: 0;
  text-decoration: none;
  transition: all .2s ease;
  white-space: nowrap;
}
.tmc-newsletter-btn:hover {
  background: rgba(255,255,255,0.85);
}

/* ============== PAGINATION ============== */
.tmc-pagination {
  text-align: center;
  margin-top: 56px;
}
.tmc-pagination .page-numbers {
  display: inline-block;
  padding: 10px 16px;
  margin: 0 3px;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 0;
  font-weight: 500;
  background: var(--bg);
  transition: all .2s ease;
}
.tmc-pagination .page-numbers:hover,
.tmc-pagination .page-numbers.current {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ============== 404 / NO POSTS ============== */
.tmc-no-posts {
  text-align: center;
  padding: 60px 20px;
  color: var(--mid);
}
.tmc-no-posts h2 {
  font-size: 26px;
  color: var(--ink);
  margin-bottom: 14px;
  font-weight: 800;
}

/* ============== RICH ARTICLES ([tmc_article] posts) ============== */
/* Full-width single column — the embedded article brings its own
   hero, sidebar and section styling. */
.tmc-post-layout.is-rich { grid-template-columns: minmax(0, 1fr); }
.tmc-post--rich { padding: 0; }
.tmc-post--rich .tmc-post-content { font-size: 16px; }

/* ============== RESPONSIVE ============== */
@media (max-width: 1280px) {
  .tmc-blog-shell { padding: 36px 40px 80px; }
}
@media (max-width: 1100px) {
  .tmc-post-header h1 { font-size: 34px; }
  .tmc-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .tmc-blog-shell { padding: 32px 32px 80px; }
  .tmc-post { padding: 0 16px; }
  .tmc-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .tmc-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .tmc-blog-shell { padding: 20px 18px 60px; }
  .tmc-post { padding: 0; }
  .tmc-archive-header { padding: 20px 8px 24px; margin: 8px 0 32px; }
  .tmc-archive-header h1 { font-size: 30px; }
  .tmc-archive-header .lede { font-size: 15.5px; line-height: 1.55; }
  .tmc-post-grid { grid-template-columns: 1fr; gap: 20px; }
  .tmc-post-card-body { padding: 20px; }
  .tmc-post-card-title { font-size: 18px; }

  .tmc-post-header h1 { font-size: 26px; line-height: 1.22; }
  .tmc-post-content { font-size: 16.5px; line-height: 1.75; }
  .tmc-post-content h2 { font-size: 22px; margin: 36px 0 14px; }
  .tmc-post-content h3 { font-size: 18.5px; margin: 28px 0 10px; }
  .tmc-post-hero { margin: 0 -18px 24px; border-left: none; border-right: none; }
  .tmc-post-cat-tag { font-size: 11px; }

  .tmc-meta-share { margin-left: 0; width: 100%; justify-content: center; margin-top: 8px; }
  .tmc-author-block { gap: 10px; }
  .tmc-author-dates { text-align: left; flex-direction: row; gap: 8px; flex-wrap: wrap; }

  .tmc-sidebar-sticky > * { flex-basis: 100%; }
  .tmc-share-buttons { grid-template-columns: 1fr 1fr; }

  .tmc-mid-cta { padding: 18px 20px; }
  .tmc-mid-cta-body { gap: 14px; }
  .tmc-mid-cta-btn { width: 100%; text-align: center; }

  .tmc-related-grid { grid-template-columns: 1fr; }

  .tmc-newsletter { padding: 26px 22px; }
  .tmc-newsletter-text h3 { font-size: 20px; }
  .tmc-newsletter-btn { width: 100%; text-align: center; }
}

/* ============================================================
   PREMIUM EDITORIAL REDESIGN — v1.7 (Nov 2026)
   Maroon/gold editorial look, three-column rails, serif display
   headings. APPENDED after the base theme so these rules win the
   cascade. Rollback = restore style.css.bak-* and single.php.bak-*.
   ============================================================ */
.tmc-blog-shell{
  --wine:#650d16; --wine-deep:#4a0b11; --wine-soft:#8a0f1f;
  --gold:#c9a34b; --gold-soft:#e4c46b;
  --blush:#fbf5f4; --sage:#f3f6f2; --cream:#f7f5f1;
}
.tmc-post-content h2,
.tmc-cover-hero h1{
  font-family:Georgia,"Times New Roman",serif !important;
  font-weight:500 !important;
  letter-spacing:-.022em;
}
.tmc-post-content h2{ color:#20242a; }
.tmc-post-content h3{ color:#292b30; }
.tmc-post-content > p:first-of-type{
  font-family:Georgia,"Times New Roman",serif !important;
  font-size:21px; line-height:1.6; color:#34363a;
}
@media (max-width:768px){ .tmc-post-content > p:first-of-type{ font-size:19px; } }
.tmc-post-content a{ color:var(--wine); text-decoration-color:rgba(101,13,22,.38); }
.tmc-post-content a:hover{ text-decoration-color:var(--wine); background:transparent; }
.tmc-post-content table{ border:1px solid #e7e3df; }
.tmc-post-content table thead,
.tmc-post-content table thead th{ background:var(--wine-deep) !important; color:#fff !important; }
.tmc-post-content table tbody tr:nth-child(even) td{ background:#faf9f7; }
.tmc-post-content .quick-read{
  position:relative; background:#fbfaf8; border:1px solid #e8e3dc;
  border-left:1px solid #e8e3dc; padding:24px 26px 22px;
}
.tmc-post-content .quick-read::after{
  content:""; position:absolute; top:-1px; left:-1px; width:46px; height:3px; background:var(--gold);
}
.tmc-post-content .quick-read::before{ color:var(--wine); }
.tmc-mid-cta{ background:var(--blush); border:1px solid #f0e5e2; border-left:3px solid var(--gold); }
.tmc-mid-cta-btn{ background:var(--wine); }
.tmc-mid-cta-btn:hover{ background:var(--wine-deep) !important; }
.tmc-cover-hero h1{ font-size:clamp(30px,3.3vw,46px); line-height:1.1; }
.tmc-crumb a{ color:var(--wine); }

.tmc-post-layout.tmc-premium{
  display:grid; grid-template-columns:188px minmax(0,1fr) 248px;
  gap:40px; max-width:1200px; margin:0 auto; align-items:start;
}
.tmc-post-layout.tmc-premium > .tmc-cover-hero,
.tmc-post-layout.tmc-premium > .tmc-crumb{ grid-column:1 / -1; }
.tmc-post-layout.tmc-premium .tmc-post{ padding:0; grid-column:2; }
.tmc-post-layout.tmc-premium .tmc-left-rail{ grid-column:1; }
.tmc-post-layout.tmc-premium .tmc-right-rail{ grid-column:3; }
.tmc-post-layout.tmc-premium.is-rich{ grid-template-columns:minmax(0,1fr); max-width:1060px; }

.tmc-left-rail{ position:sticky; top:24px; align-self:start; }
.tmc-rail-label{ font-size:10px; letter-spacing:.16em; font-weight:800; color:#99918b; margin:0 0 12px 14px; text-transform:uppercase; }
.tmc-toc-rail{ background:transparent !important; border:0 !important; border-left:1px solid #e8e3df !important; padding:0 !important; margin:0 !important; border-radius:0; }
.tmc-toc-rail > summary.tmc-toc-title{ display:none; }
.tmc-toc-rail .tmc-toc-list li{ counter-increment:none; border-top:0; padding:0; margin:0 0 2px; }
.tmc-toc-rail .tmc-toc-list li::before{ content:none; }
.tmc-toc-rail .tmc-toc-list a{ display:block; padding:8px 12px; margin-left:-1px; border-left:2px solid transparent; font-size:12px; line-height:1.45; color:#73777d; transition:.2s; }
.tmc-toc-rail .tmc-toc-list li.is-h3 a{ padding-left:24px; font-size:11.5px; }
.tmc-toc-rail .tmc-toc-list a:hover{ color:var(--wine); }
.tmc-toc-rail .tmc-toc-list li.is-active a{ color:var(--wine); font-weight:700; border-left-color:var(--wine); background:linear-gradient(90deg,#fbf4f3,transparent); }
.tmc-rail-note{ margin-top:26px; padding:16px; background:var(--cream); border:1px solid #eee8e0; }
.tmc-rail-note small{ font-size:9px; letter-spacing:.14em; color:var(--wine); font-weight:800; }
.tmc-rail-note p{ font-family:Georgia,serif; font-size:15px; line-height:1.4; margin:9px 0 12px; color:#38332f; }
.tmc-rail-note a{ font-size:11px; color:var(--wine); font-weight:800; border-bottom:1px solid #c7a7a1; padding-bottom:2px; }

.tmc-right-rail{ position:sticky; top:24px; align-self:start; }
.tmc-help-card{ background:#fff; border:1px solid #e9e3dc; border-top:3px solid var(--gold); box-shadow:0 18px 55px rgba(36,24,20,.08); padding:21px 19px; }
.tmc-help-card .eyebrow-small{ font-size:9px; letter-spacing:.15em; color:var(--wine); font-weight:800; text-transform:uppercase; }
.tmc-help-card h3{ font-family:Georgia,serif; font-size:21px; line-height:1.25; font-weight:500; margin:12px 0; color:#20242a; }
.tmc-help-card p{ font-size:12px; line-height:1.6; color:#73777d; margin:0 0 16px; }
.tmc-help-btn{ display:block; text-align:center; background:var(--wine); color:#fff !important; font-weight:800; font-size:11px; letter-spacing:.04em; padding:12px 14px; text-decoration:none; }
.tmc-help-btn:hover{ background:var(--wine-deep); }
.tmc-help-trust{ margin-top:15px; padding:13px 14px; background:#f7f6f3; }
.tmc-help-trust b{ display:block; font-size:19px; color:var(--wine); font-family:Georgia,serif; font-weight:500; }
.tmc-help-trust span{ font-size:10px; color:#777; }
.tmc-rail-recent-label{ font-size:10px; letter-spacing:.16em; color:#9a928c; font-weight:800; margin:26px 0 10px; text-transform:uppercase; }
.tmc-rail-recent a{ display:flex; gap:10px; align-items:flex-start; padding:11px 0; border-bottom:1px solid #eee9e4; text-decoration:none; }
.tmc-rail-recent .mini-thumb{ width:54px; height:46px; flex:0 0 54px; background:#e9e2d9 center/cover; }
.tmc-rail-recent b{ font-size:11px; line-height:1.4; display:block; color:#34373c; }
.tmc-rail-recent small{ font-size:9px; color:#918b85; text-transform:uppercase; letter-spacing:.06em; }

.tmc-reading-progress{ position:fixed; top:0; left:0; width:100%; height:3px; background:transparent; z-index:60; }
.tmc-reading-progress span{ display:block; height:100%; width:0; background:var(--gold); }

.tmc-post-content .insight{ margin:31px 0; padding:21px 24px; background:var(--sage); border-left:3px solid #78947d; }
.tmc-post-content .insight .insight-label{ font-size:9px; letter-spacing:.16em; text-transform:uppercase; color:#477050; font-weight:800; margin-bottom:7px; }
.tmc-post-content .insight p{ font-family:Georgia,serif; font-size:17px; line-height:1.55; color:#37443a; margin:0; }
.tmc-post-content .warning{ margin:28px 0; padding:19px 22px; background:#fff8e9; border:1px solid #f1e4c8; border-left:3px solid var(--gold); }
.tmc-post-content .warning strong{ color:#765819; }
.tmc-post-content .inline-cta{ margin:37px 0; padding:22px 24px; background:var(--blush); border:1px solid #f0e5e2; display:flex; justify-content:space-between; align-items:center; gap:20px; flex-wrap:wrap; }
.tmc-post-content .inline-cta h3{ font-family:Georgia,serif; font-size:20px; font-weight:500; margin:0 0 4px; }
.tmc-post-content .inline-cta p{ font-size:12px; margin:0; line-height:1.5; color:#777; }
.tmc-post-content .inline-cta .btn{ display:inline-block; background:var(--wine); color:#fff; padding:12px 17px; font-size:11px; font-weight:800; letter-spacing:.04em; text-decoration:none; white-space:nowrap; }
.tmc-post-content .summary-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin:18px 0; }
.tmc-post-content .summary-stat{ background:#fff; border:1px solid #eeeae5; padding:14px 13px; }
.tmc-post-content .summary-stat b{ display:block; font-family:Georgia,serif; color:var(--wine); font-size:25px; line-height:1.1; font-weight:500; margin-bottom:6px; }
.tmc-post-content .summary-stat span{ display:block; font-size:11px; line-height:1.4; color:#71747a; }

@media (max-width:1120px){
  .tmc-post-layout.tmc-premium{ grid-template-columns:176px minmax(0,1fr); gap:30px; }
  .tmc-post-layout.tmc-premium .tmc-right-rail{ display:none; }
}
@media (max-width:860px){
  .tmc-post-layout.tmc-premium{ display:block; }
  .tmc-left-rail{ position:relative; top:auto; margin-bottom:18px; }
  .tmc-rail-label{ display:none; }
  .tmc-toc-rail{ border-left:0 !important; }
  .tmc-toc-rail .tmc-toc-list{ display:flex; overflow-x:auto; white-space:nowrap; gap:2px; border:1px solid #e9e4df; padding:6px; background:#fff; }
  .tmc-toc-rail .tmc-toc-list li{ margin:0; }
  .tmc-toc-rail .tmc-toc-list a{ border-left:0; border-bottom:2px solid transparent; }
  .tmc-toc-rail .tmc-toc-list li.is-active a{ border-left:0; border-bottom-color:var(--wine); }
  .tmc-toc-rail .tmc-toc-list li.is-h3 a{ padding-left:12px; }
  .tmc-rail-note{ display:none; }
  .tmc-post-content .summary-grid{ grid-template-columns:1fr 1fr; }
}

/* Fix: hide the in-content .qr-label — the theme's .quick-read::before already
   prints the "Quick Read" heading, so the two together duplicated it. (v1.7.1) */
.tmc-post-content .quick-read .qr-label{ display:none; }

/* ---- v1.7.2 polish: lead size, breathing room, hero inner spacing ---- */
.tmc-post-layout.tmc-premium{ gap:48px; }
.tmc-post-content > p:first-of-type{ font-size:19.5px; line-height:1.62; margin:0 0 24px; }
.tmc-post-content .quick-read{ margin:26px 0 34px; }
.tmc-cover-inner{ padding-top:84px; padding-bottom:46px; }
.tmc-cover-hero.hh-medium{ min-height:clamp(360px,36vw,480px); }
/* keep the article text column from running too wide on big screens */
.tmc-post-layout.tmc-premium .tmc-post-content{ max-width:720px; }

/* ============================================================
   HERO TREATMENT v1.7.3 — matches the approved premium dummy:
   left→right maroon gradient over photo, gold "TMC Insights /"
   kicker, serif title, standfirst deck, avatar byline + Share button.
   ============================================================ */
.tmc-cover-hero.is-photo{ justify-content:center; }
.tmc-cover-hero.is-photo .tmc-cover-ov{
  background:linear-gradient(90deg,rgba(48,4,10,.98) 0%,rgba(67,7,15,.91) 48%,rgba(53,5,11,.40) 100%) !important;
}
.tmc-cover-hero.is-photo .tmc-cover-rule,
.tmc-cover-hero .tmc-cover-rule{ display:none; }   /* dummy has no bottom rule */
.tmc-cover-hero.is-photo .tmc-cover-inner{ max-width:1200px; padding:56px 48px 52px; }

.tmc-cover-kicker{
  display:flex; align-items:center; gap:12px; flex-wrap:wrap;
  color:var(--gold-soft,#e4c46b); font-size:11px; font-weight:800;
  letter-spacing:.19em; text-transform:uppercase; margin:0 0 20px;
}
.tmc-cover-kicker:before{ content:""; height:1px; width:27px; background:var(--gold,#c9a34b); }
.tmc-cover-kicker i{ font-style:normal; color:var(--gold,#c9a34b); margin:0 2px; }
.tmc-cover-kicker a{ color:var(--gold-soft,#e4c46b); text-decoration:none; }
.tmc-cover-kicker a:hover{ color:#fff; }

.tmc-cover-deck{
  font-size:17px; line-height:1.62; color:#eadfe0; max-width:650px; margin:0 0 26px;
}
.tmc-cover-avatar{
  width:31px; height:31px; border-radius:50%; background:#f0dfd2; color:var(--wine,#650d16);
  display:grid; place-items:center; font-weight:900; font-size:10px; flex:0 0 31px;
}
.tmc-cover-meta .dot{ width:3px; height:3px; border-radius:50%; background:var(--gold,#c9a34b); display:inline-block; }
.tmc-cover-share2{
  margin-left:12px; border:1px solid rgba(255,255,255,.45); border-radius:3px;
  padding:9px 15px; color:#fff; background:rgba(255,255,255,.05);
  font-size:12.5px; cursor:pointer; display:inline-flex; align-items:center; gap:7px;
}
.tmc-cover-share2:hover{ background:#fff; color:var(--wine,#650d16); border-color:#fff; }
@media (max-width:768px){
  .tmc-cover-hero.is-photo .tmc-cover-ov{ background:linear-gradient(90deg,rgba(48,4,10,.96),rgba(53,5,11,.72)) !important; }
  .tmc-cover-hero.is-photo .tmc-cover-inner{ padding:40px 20px 36px; }
  .tmc-cover-deck{ font-size:15px; }
  .tmc-cover-share2{ margin-left:0; margin-top:4px; }
}

/* ============================================================
   v1.7.4 — Finished-banner hero + content top cleanup
   When a post has a Featured Image it is treated as a complete
   banner (shown clean, theme adds no text). Also drops WP's empty
   leading <p> and the fragile serif "lead" on the first paragraph.
   ============================================================ */
.tmc-cover-hero.is-banner{ min-height:0 !important; background:none !important; margin:0 0 6px !important; display:block; }
.tmc-cover-hero.is-banner .tmc-banner-img{ display:block; width:100%; height:auto; }
.tmc-post-content p:empty{ display:none; }
.tmc-post-content > p:first-of-type{ font-family:inherit; font-size:inherit; line-height:inherit; margin:0 0 22px; }

/* ============================================================
   v1.8.0 — DUMMY PARITY: article + components ported from the
   approved premium editorial mockup, scoped to .tmc-post-content
   so post bodies using these classes render identically.
   ============================================================ */
.tmc-post-content{ font-size:16px; line-height:1.85; color:#505761; }
.tmc-post-content p{ font-size:16px; line-height:1.85; color:#505761; margin:0 0 22px; }
.tmc-post-content .lead{ font-family:Georgia,"Times New Roman",serif !important; font-size:22px; line-height:1.58; color:#34363a; margin:0 0 30px; }
.tmc-post-content h2{ font-family:Georgia,"Times New Roman",serif !important; font-size:32px; line-height:1.2; letter-spacing:-.025em; font-weight:500 !important; color:#222326; margin:55px 0 19px; }
.tmc-post-content h3{ font-family:'Sora',sans-serif !important; font-size:19px; line-height:1.35; margin:30px 0 12px; color:#292b30; font-weight:700; }
.tmc-post-content strong{ color:#282b30; font-weight:750; }

/* At-a-glance summary */
.tmc-post-content .summary{ border:1px solid #e8e3dc; background:#fbfaf8; padding:25px 26px 23px; margin:0 0 42px; position:relative; }
.tmc-post-content .summary:before{ content:""; position:absolute; top:-1px; left:-1px; width:46px; height:3px; background:var(--gold); }
.tmc-post-content .summary-top{ display:flex; justify-content:space-between; align-items:center; gap:15px; margin-bottom:18px; }
.tmc-post-content .summary-label{ font-size:10px; letter-spacing:.17em; color:var(--wine); font-weight:900; }
.tmc-post-content .summary-read{ font-size:10px; color:#888; font-weight:700; }
.tmc-post-content .summary h2{ font-family:'Sora',sans-serif !important; font-size:18px; font-weight:800 !important; letter-spacing:0; margin:0; color:#282b30; }
.tmc-post-content .summary-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin:18px 0; }
.tmc-post-content .summary-stat{ background:#fff; border:1px solid #eeeae5; padding:14px 13px; min-height:88px; }
.tmc-post-content .summary-stat b{ display:block; font-family:Georgia,serif; color:var(--wine); font-size:25px; line-height:1.1; font-weight:500; margin-bottom:7px; }
.tmc-post-content .summary-stat span{ display:block; font-size:11px; line-height:1.4; color:#71747a; }
.tmc-post-content .summary ul{ padding:0; margin:12px 0 0; list-style:none; display:grid; grid-template-columns:1fr 1fr; gap:10px 20px; }
.tmc-post-content .summary li{ font-size:12px; line-height:1.55; color:#555b62; padding-left:18px; position:relative; margin:0; }
.tmc-post-content .summary li:before{ content:"\2713"; position:absolute; left:0; color:var(--green); font-weight:900; }

/* insight / warning / inline-cta */
.tmc-post-content .insight{ margin:31px 0; padding:21px 24px 22px; background:#f3f6f2; border-left:3px solid #78947d; }
.tmc-post-content .insight-label{ font-size:9px; letter-spacing:.16em; text-transform:uppercase; color:#477050; font-weight:900; margin-bottom:7px; }
.tmc-post-content .insight p{ font-family:Georgia,serif; font-size:17px; line-height:1.55; color:#37443a; margin:0; }
.tmc-post-content .warning{ margin:28px 0; padding:19px 22px; background:#fff8e9; border:1px solid #f1e4c8; border-left:3px solid var(--gold); }
.tmc-post-content .warning strong{ color:#765819; }
.tmc-post-content .inline-cta{ margin:37px 0; padding:22px 24px; background:var(--blush); border:1px solid #f0e5e2; display:flex; justify-content:space-between; align-items:center; gap:20px; flex-wrap:wrap; }
.tmc-post-content .inline-cta h3{ font-family:Georgia,serif !important; font-size:20px; font-weight:500 !important; margin:0 0 4px; }
.tmc-post-content .inline-cta p{ font-size:12px; margin:0; line-height:1.5; color:#777; }
.tmc-post-content .inline-cta .primary{ display:inline-block; background:var(--wine); color:#fff !important; padding:12px 17px; font-size:11px; font-weight:850; letter-spacing:.04em; white-space:nowrap; text-decoration:none; }

/* table-wrap */
.tmc-post-content .table-wrap{ overflow-x:auto; border:1px solid #e7e3df; margin:25px 0 30px; }
.tmc-post-content .table-wrap table{ border:0 !important; margin:0; min-width:590px; font-size:13px; }
.tmc-post-content .table-wrap thead,
.tmc-post-content .table-wrap th{ background:var(--wine-deep) !important; color:#fff !important; font-size:11px; letter-spacing:.035em; padding:14px 15px; font-weight:800; }
.tmc-post-content .table-wrap td{ padding:15px; border-top:1px solid #ebe8e4; color:#555c64; line-height:1.55; }
.tmc-post-content .table-wrap td:first-child{ font-weight:750; color:#30343a; }

/* FAQ accordions */
.tmc-post-content .faq{ border-top:1px solid #e9e5e0; margin-top:15px; }
.tmc-post-content .faq details{ border-bottom:1px solid #e9e5e0; padding:17px 0; }
.tmc-post-content .faq summary{ cursor:pointer; list-style:none; font-size:14px; font-weight:750; color:#30343a; display:flex; justify-content:space-between; gap:20px; }
.tmc-post-content .faq summary::-webkit-details-marker{ display:none; }
.tmc-post-content .faq summary:after{ content:"+"; font-size:19px; font-weight:400; color:var(--wine); line-height:1; }
.tmc-post-content .faq details[open] summary:after{ content:"\2212"; }
.tmc-post-content .faq details p{ font-size:14px; margin:12px 0 0; }

@media(max-width:600px){
  .tmc-post-content .summary ul{ grid-template-columns:1fr; }
  .tmc-post-content h2{ font-size:28px; }
  .tmc-post-content .inline-cta{ display:block; }
  .tmc-post-content .inline-cta .primary{ display:block; text-align:center; margin-top:12px; }
}

/* ============================================================
   v1.8.1 — DUMMY FONT PAIRING: Inter body + Georgia serif display
   (the look JT approved). Overrides the site-wide Sora force inside
   the article + rails only.
   ============================================================ */
.tmc-post-content, .tmc-post-content *,
.tmc-left-rail, .tmc-left-rail *,
.tmc-right-rail, .tmc-right-rail *,
.tmc-crumb, .tmc-crumb *{
  font-family:'Inter','Segoe UI',Arial,sans-serif !important;
}
.tmc-post-content h2,
.tmc-post-content .lead,
.tmc-post-content .summary-stat b,
.tmc-post-content .insight p,
.tmc-post-content .inline-cta h3,
.tmc-help-card h3,
.tmc-rail-note p,
.tmc-cover-hero h1{
  font-family:Georgia,"Times New Roman",serif !important;
}

/* v1.8.2 — remove the white article card so content sits on the page
   background (no floating box / false misalignment), matching the dummy. */
.tmc-post{ background:transparent !important; }

/* ============================================================
   v1.8.3 — HERO SPACING: tighten the gap between the hero
   headline and the deck (sub-headline) so they read as one
   block instead of a floating sub-line. Theme-wide (every post).
   ============================================================ */
.tmc-cover-hero h1{ line-height:1.04 !important; margin-bottom:0 !important; }
.tmc-cover-hero .tmc-cover-deck{ margin-top:0 !important; line-height:1.5 !important; }
