/* Editorial content blocks (city intros, city x event guides, category guides).
   2026-10-23. Colours come only from theme tokens, so dark (default) and
   light (data-theme="light") both work without overrides. */
.tc-content {
  margin: 2rem 0 1.25rem;
  padding: clamp(1.1rem, 2.6vw, 1.75rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
}
.tc-content > :first-child { margin-top: 0; }
.tc-content h2 { font-size: clamp(1.2rem, 2vw, 1.4rem); line-height: 1.25; margin: 0 0 .7rem; color: var(--ink); }
.tc-content h3 { font-size: 1.04rem; margin: 1.4rem 0 .55rem; color: var(--ink); letter-spacing: .01em; }
.tc-content p, .tc-content li { color: var(--ink-2); max-width: 74ch; }
.tc-content p { margin: 0 0 .85rem; }
.tc-content strong { color: var(--ink); }
.tc-content a:not(.btn) { color: var(--brand); }
.tc-content ul, .tc-content ol { padding-left: 1.2rem; margin: 0 0 1rem; }
.tc-content li { margin-bottom: .35rem; }

/* Planning tips: a compact card grid instead of a long bullet list. */
.tc-content ul.tc-tips { list-style: none; padding: 0; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.tc-content ul.tc-tips li { margin: 0; max-width: none; padding: .7rem .85rem; background: var(--surface-2); border: 1px solid var(--line); border-left: 3px solid var(--brand); border-radius: var(--r); font-size: .94rem; line-height: 1.5; }
.tc-content ul.tc-tips li strong { display: block; margin-bottom: .15rem; }

/* Live "highest rated" list filled from {{top_rated}}. */
.tc-content ul.tc-content__top { list-style: none; padding: 0; margin: .3rem 0 1rem; display: grid; gap: .35rem; }
.tc-content ul.tc-content__top li { margin: 0; padding: .45rem .7rem; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: var(--surface-2); }
.tc-content ul.tc-content__top .muted { font-size: .86rem; color: var(--ink-3); }

/* Call-out (e.g. the wedding section on a city page without a wedding page). */
.tc-callout { margin: 1.3rem 0 .4rem; padding: 1rem 1.1rem; border: 1px solid var(--brand); background: var(--brand-tint); border-radius: var(--r); }
.tc-callout h3 { margin-top: 0; }
.tc-callout .btn { margin-top: .2rem; }

/* Cost / style tables in guides. */
.tc-content .tc-table-wrap { overflow-x: auto; margin: .6rem 0 1.1rem; }
.tc-content table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 520px; }
.tc-content th, .tc-content td { text-align: left; vertical-align: top; padding: .55rem .75rem; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.tc-content thead th { background: var(--surface-2); color: var(--ink); font-weight: 650; }
.tc-content td:first-child { color: var(--ink); font-weight: 600; white-space: nowrap; }
.tc-content .tc-note { font-size: .86rem; color: var(--ink-3); }
.tc-content ol.tc-timeline { counter-reset: tl; list-style: none; padding: 0; }
.tc-content ol.tc-timeline li { counter-increment: tl; position: relative; padding-left: 2.1rem; margin-bottom: .6rem; }
.tc-content ol.tc-timeline li::before { content: counter(tl); position: absolute; left: 0; top: .05rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--brand-tint); border: 1px solid var(--brand); color: var(--brand); font-size: .8rem; font-weight: 700; display: grid; place-items: center; }
@media (max-width: 640px) { .tc-content { margin-inline: -.25rem; } }
