/*
Theme Name: Trails Club 2026
Theme URI: https://dev.trailsclub.org/
Author: Trails Club of Oregon
Description: Lightweight block theme for the Trails Club of Oregon, modeled on the 2026 website prototype. Fir, snow, lantern amber and cedar; Zilla Slab and Source Sans 3; section patterns editors can drop into any page.
Version: 0.1.0
Requires at least: 6.6
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: tco
*/

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

/* ---------- section bands ---------- */
.tco-band { padding-top: var(--wp--preset--spacing--70); padding-bottom: var(--wp--preset--spacing--70); }
.tco-band.has-paper-background-color { border-top: 1px solid var(--wp--preset--color--rule); border-bottom: 1px solid var(--wp--preset--color--rule); }
.tco-band > * + * { margin-block-start: 1.1rem; }

/* eyebrow label */
.is-style-eyebrow { font-size: .78rem !important; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--wp--preset--color--amber-ink); margin-bottom: .2rem !important; }
.tco-hero .is-style-eyebrow, .tco-on-dark .is-style-eyebrow { color: #f3d397; }

/* hero */
.tco-hero h1 { max-width: 18ch; color: #fff; }
.tco-hero p { max-width: 54ch; }
.tco-hero .wp-block-cover__inner-container { width: 100%; max-width: var(--wp--style--global--wide-size); margin-inline: auto; padding-block: 3rem 3.5rem; }
.tco-hero .is-style-outline .wp-block-button__link { color: #fff; border-color: #fff; }

/* trail sign: routed cedar sign with cream lettering */
.is-style-trail-sign { display: inline-flex !important; flex-direction: column; gap: 0 !important; width: auto !important; background: var(--wp--preset--color--cedar); color: var(--wp--preset--color--sign-text); padding: 8px 16px 9px; border-radius: 4px; box-shadow: inset 0 0 0 2px rgba(0,0,0,.18), 0 2px 0 rgba(0,0,0,.25); font-family: var(--wp--preset--font-family--display); line-height: 1.15; }
.is-style-trail-sign > * { margin: 0 !important; }
.is-style-trail-sign > p:first-child { font-size: 1.15rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.is-style-trail-sign > p + p { font-size: .85rem; opacity: .92; }

/* cards */
.is-style-card { background: var(--wp--preset--color--paper); border: 1px solid var(--wp--preset--color--rule); border-radius: 10px; padding: 1.25rem 1.4rem 1.4rem; }
.tco-lodge { padding: 0 !important; overflow: hidden; display: flex; flex-direction: column; }
.tco-lodge > .wp-block-image { margin: 0 !important; }
.tco-lodge > .wp-block-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.tco-lodge > .is-style-trail-sign { margin: -3.2rem 0 0 16px !important; position: relative; align-self: flex-start; }
.tco-lodge > :not(.wp-block-image):not(.is-style-trail-sign) { margin-left: 1.5rem; margin-right: 1.5rem; }
.tco-lodge > :last-child { margin-bottom: 1.5rem; }
.tco-lodge .tco-more { margin-top: auto; font-weight: 600; }

/* rates band */
.tco-rates { gap: 1px !important; background: var(--wp--preset--color--rule); border: 1px solid var(--wp--preset--color--rule); border-radius: 10px; overflow: hidden; }
.tco-rates > .wp-block-column { background: var(--wp--preset--color--paper); padding: 1.2rem 1.4rem; margin: 0 !important; }
.tco-rates p { margin: 0; }
.tco-rate-num { font: 600 2.4rem/1 var(--wp--preset--font-family--display); color: var(--wp--preset--color--fir); font-variant-numeric: tabular-nums; }
.tco-rate-label { font-weight: 600; margin-top: .4rem !important; }
.tco-rate-note { color: var(--wp--preset--color--stone); font-size: .88rem; }

/* photo trio */
.tco-photo-trio { display: grid !important; grid-template-columns: 1fr 1fr; gap: 12px !important; }
.tco-photo-trio > * { margin: 0 !important; }
.tco-photo-trio img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; aspect-ratio: 4 / 3; display: block; }
.tco-photo-trio > :first-child { grid-row: span 2; }
.tco-photo-trio > :first-child img { aspect-ratio: auto; }

/* dashed placeholder for content still to collect */
.tco-placeholder { border: 2px dashed var(--wp--preset--color--rule); border-radius: 8px; padding: 1rem 1.1rem; color: var(--wp--preset--color--stone); font-style: italic; }
.tco-placeholder strong { font-style: normal; color: var(--wp--preset--color--amber-ink); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; display: block; }

/* activity tiles (cover blocks) */
.tco-tiles { gap: 16px !important; flex-wrap: wrap !important; }
.tco-tiles > .wp-block-column { flex-basis: calc(33.333% - 11px) !important; flex-grow: 0 !important; margin: 0 !important; }
@media (max-width: 900px) { .tco-tiles > .wp-block-column { flex-basis: calc(50% - 8px) !important; } }
@media (max-width: 560px) { .tco-tiles > .wp-block-column { flex-basis: 100% !important; } }
.tco-tile { border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; min-height: 0 !important; }
.tco-tile .wp-block-cover__background { background: linear-gradient(180deg, rgba(8,12,10,0) 35%, rgba(8,12,10,.78)) !important; opacity: 1 !important; }
.tco-tile h3 { color: #fff; font-size: 1.3rem; margin: 0; }
.tco-tile p { margin: .1rem 0 0; font-size: .92rem; }
.tco-tile a { color: inherit; text-decoration: none; }
.tco-tile a::after { content: ""; position: absolute; inset: 0; z-index: 2; }

/* checklist & milestones */
.is-style-checklist { list-style: none; padding-left: 0; display: grid; gap: .6rem; }
.is-style-checklist li { padding-left: 28px; position: relative; }
.is-style-checklist li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 3px solid var(--wp--preset--color--amber); border-bottom: 3px solid var(--wp--preset--color--amber); transform: rotate(-45deg); }
.is-style-milestones { list-style: none; padding-left: 0; border-left: 2px solid var(--wp--preset--color--fir); }
.is-style-milestones li { position: relative; padding: 0 0 1.3rem 1.4rem; }
.is-style-milestones li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--wp--preset--color--paper); border: 2px solid var(--wp--preset--color--fir); }
.is-style-milestones strong { display: block; font: 600 1.25rem var(--wp--preset--font-family--display); color: var(--wp--preset--color--fir); }

/* join band */
.tco-join .tco-price { font: 600 3.2rem/1 var(--wp--preset--font-family--display); }
.tco-join .is-style-outline .wp-block-button__link { color: var(--wp--preset--color--paper); border-color: var(--wp--preset--color--paper); }
.tco-join a:not(.wp-block-button__link) { color: inherit; }

/* numbered steps */
.tco-steps { counter-reset: step; }
.tco-steps > .wp-block-column { counter-increment: step; }
.tco-steps > .wp-block-column::before { content: counter(step); font: 600 2rem/1 var(--wp--preset--font-family--display); color: var(--wp--preset--color--amber); display: block; margin-bottom: .4rem; }

/* header & footer */
.tco-header { border-bottom: 1px solid var(--wp--preset--color--rule); transition: box-shadow .2s; }
header.wp-block-template-part:has(.tco-header) { position: sticky; top: 0; z-index: 30; }
.admin-bar header.wp-block-template-part:has(.tco-header) { top: var(--wp-admin--admin-bar--height, 32px); }
html { scroll-padding-top: 88px; }
.tco-header { position: relative; }

.tco-header .wp-block-site-title a { text-decoration: none; color: var(--wp--preset--color--ink); }
.tco-tagline { font-size: .66rem !important; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--stone); margin: 0 !important; }
.tco-header .wp-block-navigation a { padding: 6px 8px; border-radius: 6px; }
.tco-header .wp-block-navigation a:hover, .tco-header .wp-block-navigation .current-menu-item > a { background: var(--wp--preset--color--fir-soft); color: var(--wp--preset--color--fir); }
.tco-header .tco-join-btn .wp-block-button__link { background: var(--wp--preset--color--fir); color: var(--wp--preset--color--paper); padding: .5rem 1rem; }
.tco-footer h4, .tco-footer .tco-foot-head { font: 600 .78rem var(--wp--preset--font-family--body) !important; letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--stone); }
.tco-footer a { color: var(--wp--preset--color--ink); text-decoration: none; }
.tco-footer a:hover { text-decoration: underline; }
.tco-footer .wp-block-list { list-style: none; padding-left: 0; }

/* misc */
.tco-measure { max-width: 66ch; }
.wp-block-details { border-bottom: 1px solid var(--wp--preset--color--rule); padding: .9rem 0; }
.wp-block-details summary { font-weight: 600; cursor: pointer; }
:where(.wp-site-blocks) :focus-visible { outline: 3px solid var(--wp--preset--color--amber); outline-offset: 2px; }
.tco-lead { font-size: 1.2rem; }

/* ---- layout fixes ---- */
.wp-block-cover.tco-hero.has-custom-content-position .wp-block-cover__inner-container { margin-inline: auto !important; max-width: var(--wp--style--global--wide-size) !important; width: 100% !important; }
.wp-block-cover.tco-hero { padding-left: max(20px, 4vw); padding-right: max(20px, 4vw); }
.tco-hero p.has-large-font-size { font-size: 1.2rem !important; line-height: 1.55; }
.wp-block-column > .tco-lodge { height: 100%; }
.wp-block-cover.tco-tile { min-height: 240px !important; aspect-ratio: auto; padding: 1rem; }
.tco-photo img { border-radius: 10px; width: 100%; display: block; }
.tco-wide-intro { margin-bottom: .4rem; }

/* news */
.tco-news-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.tco-news-filters a { text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--wp--preset--color--ink); border: 1px solid var(--wp--preset--color--rule); background: var(--wp--preset--color--paper); padding: 6px 14px; border-radius: 999px; }
.tco-news-filters a:hover { border-color: var(--wp--preset--color--fir); color: var(--wp--preset--color--fir); }
.tco-news-card { padding: 0 !important; overflow: hidden; display: flex; flex-direction: column; align-self: start; }
.tco-news-card > * { margin-left: 1.2rem !important; margin-right: 1.2rem !important; }
.tco-news-card > .wp-block-post-featured-image { margin: 0 0 .4rem !important; }
.tco-news-card > :last-child { margin-bottom: 1.2rem !important; }
.tco-news-card .wp-block-post-title a { text-decoration: none; color: var(--wp--preset--color--ink); }
.tco-news-card .wp-block-post-title { font-size: 1.3rem; }
.tco-news-card .wp-block-post-terms a, .is-style-eyebrow a { color: inherit; text-decoration: none; }

.tco-news-filters a[aria-current="page"] { background: var(--wp--preset--color--fir); color: var(--wp--preset--color--paper); border-color: var(--wp--preset--color--fir); }
.tco-search-page { margin: 1rem 0 2rem; max-width: 560px; }
.tco-search-page .wp-block-search__input { border: 1px solid var(--wp--preset--color--rule); border-radius: 6px; background: var(--wp--preset--color--paper); padding: 10px 12px; min-height: 46px; font: 400 1rem var(--wp--preset--font-family--body); }
.tco-search-page .wp-block-search__button { background: var(--wp--preset--color--fir); color: var(--wp--preset--color--paper); border: 0; border-radius: 6px; padding: 0 1.2rem; font-weight: 600; }
.tco-header .tco-join-btn .wp-block-button__link { white-space: nowrap; }
.tco-header .tco-join-btn { flex-shrink: 0; }
@media (max-width: 560px) { .tco-header .tco-tagline { display: none; } }
/* Checkout header (payment forms, receipts): brand + way back, like lodge pay. */
.tco-checkout-nav { display: flex; align-items: center; gap: 14px; margin: 0; font-size: .95rem; }
.tco-checkout-nav a { color: var(--wp--preset--color--fir); font-weight: 600; text-decoration: none; white-space: nowrap; }
.tco-checkout-nav a:hover { text-decoration: underline; }
.tco-secure-badge { background: var(--wp--preset--color--fir-soft); color: var(--wp--preset--color--fir); font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 560px) { .tco-secure-badge { display: none; } }
.tco-checkout-main { padding-bottom: 4rem; }
.tco-footer .tco-social { gap: 10px; margin-top: 14px; }
.tco-footer .tco-social .wp-social-link { color: var(--wp--preset--color--fir); }
.tco-footer .tco-social .wp-social-link a { padding: 0; }
.tco-footer .tco-social .wp-social-link svg { width: 28px; height: 28px; }
.tco-footer .tco-social .wp-social-link:hover { color: var(--wp--preset--color--amber); transform: none; }
/* Switch to the ☰ menu below 1080px (core only does it below 600px, so the menu wrapped on tablets). */
@media (max-width: 1079px) {
	.tco-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
	.tco-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none !important; }
	.tco-header .tco-tagline { display: none; }
}
/* Opened ☰ menu: roomy, left-aligned, club colors */
.tco-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--wp--preset--color--snow) !important; padding: 18px 20px 28px !important; }
.tco-header .is-menu-open .wp-block-navigation__responsive-close { max-width: 640px; margin: 0 auto; width: 100%; }
.tco-header .is-menu-open .wp-block-navigation__responsive-container-close { top: 4px; right: 0; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 8px; }
.tco-header .is-menu-open .wp-block-navigation__responsive-container-close:hover { background: var(--wp--preset--color--fir-soft); }
.tco-header .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 56px !important; align-items: stretch !important; }
.tco-header .is-menu-open .wp-block-navigation__container { width: 100%; align-items: stretch !important; gap: 0 !important; }
.tco-header .is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid var(--wp--preset--color--rule); }
.tco-header .is-menu-open .wp-block-navigation-item a { display: block; width: 100%; padding: 14px 4px !important; font: 600 1.35rem/1.2 var(--wp--preset--font-family--display); color: var(--wp--preset--color--ink); text-align: left; border-radius: 0; }
.tco-header .is-menu-open .wp-block-navigation-item a:hover { background: transparent; color: var(--wp--preset--color--fir); }

/* ---------- club history page ---------- */
/* era jump links */
.tco-era-nav { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tco-era-nav li { margin: 0; }
.tco-era-nav a { display: inline-block; text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--wp--preset--color--fir); background: var(--wp--preset--color--fir-soft); padding: 6px 14px; border-radius: 999px; }
.tco-era-nav a:hover { background: var(--wp--preset--color--fir); color: var(--wp--preset--color--paper); }
.tco-era-nav a span { font-weight: 400; opacity: .8; margin-left: .35em; }

/* era heading: big years over the title */
.tco-era-years { font: 600 clamp(2.4rem, 6vw, 4rem)/1 var(--wp--preset--font-family--display) !important; color: var(--wp--preset--color--amber); letter-spacing: -.01em; margin-bottom: 0 !important; }
.tco-era .wp-block-columns { gap: clamp(1.5rem, 4vw, 3.5rem); }
.tco-era .wp-block-column { min-width: 0; }

/* timeline: club milestones solid, "meanwhile" context dashed */
.tco-timeline { list-style: none; padding-left: 0; margin: 0; border-left: 2px solid var(--wp--preset--color--fir); }
.tco-timeline li { position: relative; padding: 0 0 1.15rem 1.4rem; margin: 0; }
.tco-timeline li::before { content: ""; position: absolute; left: -7px; top: .45em; width: 12px; height: 12px; border-radius: 50%; background: var(--wp--preset--color--fir); }
.tco-timeline li strong { display: block; font: 600 1.15rem/1.2 var(--wp--preset--font-family--display); color: var(--wp--preset--color--fir); }
.tco-timeline li.is-context { color: var(--wp--preset--color--stone); font-size: .95rem; }
.tco-timeline li.is-context::before { background: var(--wp--preset--color--paper); border: 2px dashed var(--wp--preset--color--stone); }
.tco-timeline li.is-context strong { color: var(--wp--preset--color--stone); font-size: 1rem; }
.tco-tag { display: inline-block; font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--wp--preset--color--amber-ink); margin-left: .5em; vertical-align: .15em; font-family: var(--wp--preset--font-family--body); }
.tco-timeline-key { font-size: .85rem; color: var(--wp--preset--color--stone); display: flex; gap: 1.2rem; flex-wrap: wrap; }
.tco-timeline-key span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: .45em; background: var(--wp--preset--color--fir); vertical-align: -.05em; }
.tco-timeline-key span + span::before { background: transparent; border: 2px dashed var(--wp--preset--color--stone); width: 8px; height: 8px; }

/* archival photos: a print border, captions with credit */
.tco-archival img { width: 100%; display: block; border-radius: 3px; border: 7px solid var(--wp--preset--color--paper); box-shadow: 0 1px 2px rgba(27,36,31,.18), 0 6px 18px rgba(27,36,31,.12); }
.tco-archival figcaption, .tco-gallery figcaption { font-size: .86rem; color: var(--wp--preset--color--stone); margin-top: .55rem; line-height: 1.45; text-align: left; }
.tco-archival figcaption em, .tco-gallery figcaption em { display: block; font-size: .78rem; font-style: normal; letter-spacing: .02em; opacity: .85; }
.tco-gallery { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px 18px !important; }
.tco-gallery > * { margin: 0 !important; }
.tco-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 30%; border-radius: 3px; border: 5px solid var(--wp--preset--color--paper); box-shadow: 0 1px 2px rgba(27,36,31,.18), 0 4px 12px rgba(27,36,31,.1); display: block; }
.tco-gallery a { display: block; }
.tco-gallery a:hover img { box-shadow: 0 0 0 3px var(--wp--preset--color--amber); }

/* pull quotes from members' own words */
.tco-quote { border-left: 4px solid var(--wp--preset--color--cedar); padding: .2rem 0 .2rem 1.2rem; margin: 0; }
.tco-quote p { font: 500 1.3rem/1.45 var(--wp--preset--font-family--display); color: var(--wp--preset--color--ink); }
.tco-quote cite { display: block; font-style: normal; font-size: .88rem; color: var(--wp--preset--color--stone); margin-top: .4rem; }

/* people */
.tco-people { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px !important; }
.tco-people > * { margin: 0 !important; }
.tco-people h3 { font-size: 1.25rem; margin: 0 0 .15rem; }
.tco-people .tco-role { font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--wp--preset--color--amber-ink); margin: 0 0 .5rem; }
.tco-people .wp-block-image img { width: 76px; height: 76px; object-fit: cover; border-radius: 50%; filter: grayscale(.2); }
.tco-people p { font-size: .97rem; }

/* sources note */
.tco-sources { font-size: .86rem; color: var(--wp--preset--color--stone); }
@media (max-width: 560px) { .tco-gallery { grid-template-columns: 1fr 1fr; gap: 16px 12px !important; } .tco-gallery figcaption em { display: none; } }

/* ---------- club history: footnotes and the source-document viewer ---------- */
.tco-fn { font-size: .66em; line-height: 1; vertical-align: .6em; margin-left: .15em; }
.tco-fn a { display: inline-block; min-width: 1.5em; padding: .12em .38em; line-height: 1.25; border-radius: 999px; text-align: center; font-weight: 700; text-decoration: none;
	color: var(--wp--preset--color--amber-ink); background: #f6e7c8; font-variant-numeric: tabular-nums; }
.tco-fn a:hover, .tco-fn a:focus-visible { background: var(--wp--preset--color--amber); color: #fff; }
.tco-source-list { padding-left: 2.2em; font-size: .95rem; columns: 2 26rem; column-gap: 2.5rem; }
.tco-source-list li { break-inside: avoid; margin: 0 0 .6rem; scroll-margin-top: 6rem; }
.tco-source-list li::marker { color: var(--wp--preset--color--amber-ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.tco-source-list a { font-weight: 600; }
.tco-source-list span { display: block; color: var(--wp--preset--color--stone); font-size: .85rem; }
.tco-source-list li:target { background: #f6e7c8; border-radius: 4px; }

.tco-viewer-open, .tco-viewer-open body { overflow: hidden; }
.tco-viewer { --v-bg: #141a17; --v-panel: #1f2723; --v-ink: #eef1ec; --v-dim: #a9b4ad; --v-accent: #e0a73f;
	position: fixed; inset: 0; z-index: 100000; display: flex; flex-direction: column; background: var(--v-bg); color: var(--v-ink); }
.tco-viewer[hidden] { display: none; }
.tco-viewer-bar { display: flex; gap: 1rem; align-items: flex-start; justify-content: space-between; padding: .8rem 1rem .7rem 1.25rem;
	padding-top: calc(.8rem + env(safe-area-inset-top, 0px)); border-bottom: 1px solid #2d3832; }
.tco-viewer-kind { margin: 0; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--v-accent); }
.tco-viewer-title { margin: .15rem 0 0; font-size: clamp(1.05rem, 2.2vw, 1.4rem); line-height: 1.25; color: var(--v-ink); text-wrap: balance; }
.tco-viewer button { font: inherit; color: var(--v-ink); background: var(--v-panel); border: 1px solid #3a4740; border-radius: 6px; cursor: pointer; }
.tco-viewer button:hover:not(:disabled), .tco-viewer button:focus-visible { border-color: var(--v-accent); }
.tco-viewer button:disabled { opacity: .35; cursor: default; }
.tco-viewer-close { flex: none; width: 2.6rem; height: 2.6rem; font-size: 1.6rem !important; line-height: 1; }
.tco-viewer-main { flex: 1; display: flex; min-height: 0; }
.tco-viewer-stage { flex: 1; min-width: 0; overflow: auto; padding: 1rem; display: flex; justify-content: center; align-items: flex-start; }
.tco-viewer-stage img { display: block; width: 100%; max-width: 1100px; height: auto; background: #fff; cursor: zoom-in; box-shadow: 0 6px 30px rgba(0,0,0,.45); }
.tco-viewer.is-cited .tco-viewer-stage img { outline: 3px solid var(--v-accent); outline-offset: 4px; }
.tco-viewer.is-zoomed .tco-viewer-stage { display: block; }
.tco-viewer.is-zoomed .tco-viewer-stage img { width: 220%; max-width: none; cursor: zoom-out; }
.tco-viewer.is-private .tco-viewer-stage img, .tco-viewer.is-private .tco-viewer-pager, .tco-viewer.is-private .tco-viewer-full, .tco-viewer.is-private .tco-viewer-label { display: none; }
.tco-viewer.is-private .tco-viewer-stage { flex: none; padding: 2rem 1.25rem 0; }
.tco-viewer.is-private .tco-viewer-side { flex: 1; max-height: none; width: auto; max-width: 40rem; margin: 0 auto; background: transparent; border: 0; }
.tco-viewer-private { align-self: center; max-width: 30rem; color: var(--v-dim); text-align: center; }
.tco-viewer-side { flex: none; width: 22rem; overflow: auto; padding: 1.1rem 1.25rem 1.5rem; background: var(--v-panel); border-left: 1px solid #2d3832; }
.tco-viewer-pager { display: flex; gap: .5rem; align-items: center; }
.tco-viewer-pager [data-step] { width: 2.4rem; height: 2.4rem; font-size: 1.4rem !important; line-height: 1; }
.tco-viewer-count { flex: 1; text-align: center; font-variant-numeric: tabular-nums; color: var(--v-dim); font-size: .9rem; }
.tco-viewer-zoom { padding: .45rem .75rem; font-size: .85rem !important; }
.tco-viewer-zoom[aria-pressed="true"] { border-color: var(--v-accent); color: var(--v-accent); }
.tco-viewer-label { margin: .7rem 0 0; font-size: .82rem; color: var(--v-accent); }
.tco-viewer-says { margin: 1.1rem 0 .3rem; font-size: .75rem; letter-spacing: .07em; text-transform: uppercase; color: var(--v-dim); }
.tco-viewer-quote { margin: 0; padding: 0 0 0 .9rem; border-left: 3px solid var(--v-accent); font-size: 1rem; line-height: 1.55; color: var(--v-ink); font-style: normal; }
.tco-viewer-where { margin: 1rem 0 0; font-size: .82rem; color: var(--v-dim); }
.tco-viewer-full { color: var(--v-accent); font-size: .9rem; }
@media (max-width: 760px) {
	.tco-viewer-main { flex-direction: column; }
	.tco-viewer-stage { padding: .6rem; }
	.tco-viewer-side { width: auto; max-height: 40vh; border-left: 0; border-top: 1px solid #2d3832; padding: .8rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px)); }
	.tco-viewer-quote { font-size: .95rem; }
}
