/*
Theme Name: Tonight in Providence
Theme URI: https://tonightinprovidence.com
Author: Tonight in Providence
Description: Lightweight custom theme for tonightinprovidence.com. Today's events first, then the weekend, then guides. Works with The Events Calendar and Yoast SEO.
Version: 1.0.9
Requires at least: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: tonightinprovidence
*/

/* Layout: a dark harbor-slate header, a "today" board with coral time numerals,
   then warm paper sections for the weekend, guides and articles. */
:root {
	--night: #0f1c17; --night-2: #16271f; --night-line: #2b4136; --night-ink: #f3efe6; --night-muted: #a3b5aa;
	--amber: #e6b24a; --amber-deep: #8a6110; --amber-wash: #fbf2dc;
	--white: #ffffff; --paper: #f6f3ec; --ink: #121a1c; --muted: #58666a; --line: #e4e1da; --sand: #efe5dc;
	--serif: "Fraunces", Georgia, "Times New Roman", serif;
	--cond: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
	--sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--max: 1160px;
	--narrow: 700px;
	color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img, video, iframe { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { text-wrap: balance; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--amber); color: var(--night); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 12px; }
[hidden] { display: none !important; }

.gutter { padding-inline: max(16px, calc((100% - var(--max)) / 2)); }
.narrow { max-width: var(--narrow); margin-inline: auto; }
.label { font-family: var(--cond); font-stretch: 80%; font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.muted { color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--sans); font-weight: 700; font-size: .92rem; line-height: 1.2; border-radius: 999px; padding: 11px 18px; border: 0; cursor: pointer; text-align: center; }
.btn-amber { background: var(--amber); color: var(--night); }
.btn-amber:hover { background: #f0c66f; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-ghost-light { background: transparent; color: var(--night-ink); box-shadow: inset 0 0 0 1.5px var(--night-line); }
.btn-dark { background: var(--ink); color: var(--white); }

/* ---------- Header ---------- */
.site-head { background: var(--night); color: var(--night-ink); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
.admin-bar .site-head { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-head { top: 0; } }
.site-head .in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.site-head .logo img { height: 54px; width: auto; }
.nav { display: flex; align-items: center; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; font-weight: 600; font-size: .95rem; }
.nav-list a { color: var(--night-muted); }
.nav-list a:hover, .nav-list .current-menu-item a { color: var(--night-ink); }
.nav-cta { display: none; }
.menu-btn { display: none; background: none; border: 1px solid var(--night-line); color: var(--night-ink); border-radius: 10px; padding: 8px 14px; font: 600 .88rem var(--sans); cursor: pointer; }
@media (max-width: 900px) {
	.site-head .logo img { height: 46px; }
	.head-cta { display: none; }
	.menu-btn { display: inline-flex; }
	.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--night); border-top: 1px solid var(--night-line); padding: 8px 16px 20px; flex-direction: column; align-items: stretch; gap: 12px; }
	.nav-open .nav { display: flex; }
	.nav-list { flex-direction: column; gap: 0; font-size: 1.05rem; }
	.nav-list a { display: block; padding: 12px 0; border-bottom: 1px solid var(--night-line); color: var(--night-ink); }
	.nav-cta { display: inline-flex; }
}

/* ---------- Today board (homepage, event header) ---------- */
.today { background: var(--white); color: var(--ink); padding-block: 40px 52px; border-bottom: 1px solid var(--line); background-image: radial-gradient(ellipse 60% 70% at 92% 0%, rgba(230, 178, 74, .16), transparent 70%); }
.today .date { color: var(--amber-deep); }
.today h1, .page-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.5rem, 7vw, 4.6rem); line-height: 1; margin: .25em 0 0; letter-spacing: -.01em; }
.today h1 em { color: var(--amber-deep); }
.sub { color: var(--muted); margin: .8em 0 0; max-width: 52ch; }
.sub a, .empty a, .prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 3px; }

.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.chip { font: 600 .86rem var(--sans); color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; background: transparent; cursor: pointer; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.on { background: var(--ink); color: var(--white); border-color: var(--ink); }

.board { margin-top: 26px; border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) auto; gap: 6px 22px; align-items: center; padding-block: 18px; border-bottom: 1px solid var(--line); }
.row time { font-family: var(--cond); font-stretch: 68%; font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--amber-deep); font-variant-numeric: tabular-nums; letter-spacing: -.01em; white-space: nowrap; }
.row time small { font-size: .9rem; font-weight: 700; letter-spacing: .06em; margin-left: 3px; text-transform: uppercase; }
.row h3 { font-family: var(--sans); font-weight: 700; font-size: 1.15rem; margin: 0; line-height: 1.25; }
.row p { margin: 3px 0 0; color: var(--muted); font-size: .92rem; }
.row:hover h3 { text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; }
.tag { font-family: var(--cond); font-stretch: 80%; font-weight: 700; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); border: 1px solid var(--line); border-radius: 6px; padding: 4px 8px; white-space: nowrap; }
.tag.free { color: var(--amber-deep); border-color: rgba(184, 57, 31, .4); background: var(--amber-wash); }
.board-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.board-foot a.more { font-weight: 700; border-bottom: 2px solid var(--amber); }
.paper .board { background: transparent; }
@media (max-width: 640px) {
	.today { padding-block: 28px 40px; }
	.row { grid-template-columns: 4.6rem minmax(0, 1fr); padding-block: 15px; }
	.row time { font-size: 1.9rem; }
	.row .tag { grid-column: 2; justify-self: start; }
}

.empty { margin-top: 24px; padding: 20px 22px; border: 1px dashed #d3cdc0; border-radius: 12px; background: var(--paper); max-width: 680px; }
.empty p { margin: 0; }
.paper .empty { background: var(--white); }

/* ---------- Sections on paper ---------- */
.paper { padding-block: 56px 8px; }
.paper:last-of-type { padding-bottom: 56px; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.sec-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 5vw, 3rem); line-height: 1; margin: .2em 0 0; }
.sec-head .label { color: var(--amber-deep); }
.sec-head > a { font-weight: 700; border-bottom: 2px solid var(--amber); }

.weekend { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.weekend.solo { grid-template-columns: 1fr; }
/* No roundup to feature: lay Friday/Saturday/Sunday side by side instead of one half-width column. */
.weekend.solo .days { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); column-gap: 36px; }
@media (max-width: 860px) { .weekend { grid-template-columns: 1fr; } }
.feature { position: relative; border-radius: 16px; overflow: hidden; background: var(--night); color: var(--night-ink); min-height: 360px; display: flex; align-items: end; }
.feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 26, 31, 0) 25%, rgba(14, 26, 31, .92) 100%); }
.feature .txt { position: relative; z-index: 1; padding: 26px; display: grid; gap: 8px; }
.feature .label { color: var(--amber); }
.feature h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 3.6vw, 2.3rem); line-height: 1.05; margin: 0; }
.feature p { margin: 0; color: #d5d9e3; max-width: 52ch; }
.days { display: grid; gap: 22px; }
.day h4 { margin: 0 0 6px; font-family: var(--cond); font-stretch: 80%; font-weight: 800; font-size: 1rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: flex; gap: 10px; align-items: baseline; }
.day h4 span { color: var(--ink); }
.li { display: grid; grid-template-columns: 4.8rem minmax(0, 1fr); gap: 12px; padding-block: 11px; border-bottom: 1px solid var(--line); }
.li time { font-family: var(--cond); font-stretch: 72%; font-weight: 800; font-size: 1.05rem; color: var(--amber-deep); font-variant-numeric: tabular-nums; padding-top: 1px; white-space: nowrap; }
.li time.multi { white-space: normal; line-height: 1.15; }
.li time.multi span { display: block; font-size: .78em; letter-spacing: .04em; text-transform: uppercase; }
.row time.multi { font-size: 1.7rem; }
.row time.multi small { display: block; margin: 4px 0 0; }
.li b { display: block; font-weight: 700; line-height: 1.3; }
.li small { color: var(--muted); font-size: .86rem; display: block; }
.li:hover b { text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; }
.narrow-list { gap: 0; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); column-gap: 40px; }

.guides { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.guides.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .guides, .guides.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .guides, .guides.three { grid-template-columns: 1fr; } }
.guide { display: grid; gap: 10px; align-content: start; }
.ph { display: block; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--night); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.guide:hover .ph img, .post-card:hover .ph img { transform: scale(1.04); }
.ph-fallback { width: 100%; height: 100%; display: grid; place-items: center; background: var(--night); }
.ph-fallback img { width: 40%; height: auto; object-fit: contain; opacity: .85; }
.guide .label { color: var(--amber-deep); font-size: .7rem; }
.guide h3 { margin: 0; font-family: var(--sans); font-weight: 700; font-size: 1.08rem; line-height: 1.3; }
@media (prefers-reduced-motion: reduce) { .ph img { transition: none; } }

/* ---------- Bands ---------- */
.bands { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; padding-block: 56px 64px; }
@media (max-width: 860px) { .bands { grid-template-columns: 1fr; } }
.band { border-radius: 16px; padding: 30px; display: grid; gap: 12px; align-content: start; }
.band h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 3.4vw, 2.1rem); line-height: 1.05; margin: 0; }
.band p { margin: 0; max-width: 46ch; }
.band.mail { background: var(--night); color: var(--night-ink); }
.band.mail p { color: var(--night-muted); }
.band.mail .label { color: var(--amber); }
.band.submit { background: var(--sand); color: var(--ink); }
.band.submit .label { color: var(--amber-deep); }
.band-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.signup form { display: flex; gap: 8px; flex-wrap: wrap; margin: 0; }
.signup p { margin: 0; }
.signup input[type="email"] { flex: 1 1 200px; min-width: 0; width: 100%; border-radius: 999px; border: 1px solid var(--night-line); background: var(--night-2); color: var(--night-ink); padding: 11px 16px; font: 500 .95rem var(--sans); }
.signup button, .signup input[type="submit"] { background: var(--amber); color: var(--night); border: 0; border-radius: 999px; padding: 11px 18px; font: 700 .92rem var(--sans); cursor: pointer; }

/* ---------- Page heads, listings ---------- */
.page-head { background: var(--white); padding-block: 44px 40px; border-bottom: 1px solid var(--line); background-image: radial-gradient(ellipse 60% 70% at 92% 0%, rgba(230, 178, 74, .12), transparent 70%); }
.page-head .label { color: var(--amber-deep); }
.page-head h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 26px; }
@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { display: grid; gap: 12px; align-content: start; }
.post-card .body { display: grid; gap: 6px; }
.post-card .meta { display: flex; gap: 12px; align-items: baseline; font-size: .85rem; color: var(--muted); }
.post-card .meta .label { color: var(--amber-deep); font-size: .7rem; }
.post-card h2 { margin: 0; font-size: 1.2rem; line-height: 1.3; font-weight: 700; }
.post-card h2 a:hover { text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; }
.post-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.pagination, .pager { margin-top: 40px; }
.pagination .nav-links, .pager { display: flex; gap: 8px; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.pagination .page-numbers { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; }
.pagination .page-numbers.current { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pager a { font-weight: 700; border-bottom: 2px solid var(--amber); }
.search-form { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 20px; max-width: 520px; }
.search-form input[type="search"] { flex: 1 1 220px; min-width: 0; border: 1px solid var(--line); border-radius: 999px; padding: 11px 16px; font: 500 1rem var(--sans); background: var(--white); color: var(--ink); }

/* Events calendar list */
.cal { display: grid; gap: 40px; }
.cal-date { margin: 0; font-family: var(--cond); font-stretch: 80%; font-weight: 800; font-size: 1.05rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: flex; gap: 10px; align-items: baseline; }
.cal-date span { color: var(--ink); }
.cal .board { margin-top: 10px; }

/* ---------- Articles ---------- */
.article-head { background: var(--white); padding-block: 44px 28px; }
.article-head .label { color: var(--amber-deep); }
.article-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 5.5vw, 3.5rem); line-height: 1.04; margin: .3em 0 0; }
.dek { font-size: 1.2rem; color: var(--muted); margin: .7em 0 0; }
.byline { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 18px; font-size: .9rem; color: var(--muted); }
.byline span:first-child { color: var(--ink); font-weight: 600; }
.hero-img { margin: 0; background: var(--white); padding-bottom: 8px; }
.hero-img img { width: 100%; max-height: 640px; object-fit: cover; border-radius: 14px; }
.hero-img figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.prose { background: var(--white); padding-block: 28px 56px; }
.page-body { padding-top: 36px; }
.prose .narrow > * { margin-block: 0 1.1em; }
.prose p, .prose li { font-size: 1.08rem; line-height: 1.72; text-align: left; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 4vw, 2.2rem); line-height: 1.1; margin-top: 1.6em; }
.prose h3 { font-size: 1.3rem; line-height: 1.25; margin-top: 1.5em; }
.prose h4 { font-size: 1.1rem; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose blockquote { margin-inline: 0; padding-left: 20px; border-left: 3px solid var(--amber); font-family: var(--serif); font-size: 1.35rem; line-height: 1.35; }
.prose img { border-radius: 10px; }
.prose figure { margin-inline: 0; }
.prose figcaption, .prose .wp-element-caption { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.prose table { border-collapse: collapse; width: 100%; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose .alignwide { max-width: min(1000px, 100vw - 32px); margin-inline: calc((min(1000px, 100vw - 32px) - 100%) / -2); }
.prose .wp-block-button__link { background: var(--amber); color: var(--night); border-radius: 999px; font-weight: 700; text-decoration: none; padding: 11px 18px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2em; }
.share { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); }
.share .label { color: var(--muted); }
.share a, .share button { font: 700 .92rem var(--sans); color: var(--ink); background: none; border: 0; padding: 0; cursor: pointer; border-bottom: 2px solid var(--amber); text-decoration: none; }

/* ---------- Single event ---------- */
.event-head .back { color: var(--muted); display: inline-block; margin-bottom: 18px; }
.past-note { margin: 0 0 14px; display: inline-block; background: var(--amber-wash); color: var(--amber-deep); font-weight: 600; font-size: .9rem; padding: 6px 12px; border-radius: 8px; }
.event-grid { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 28px; align-items: start; }
.when-block { display: grid; justify-items: center; border: 1px solid var(--line); border-radius: 14px; padding: 12px 8px 14px; background: var(--white); }
.when-block .m { font-family: var(--cond); font-stretch: 80%; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-deep); }
.when-block .dnum { font-family: var(--cond); font-stretch: 68%; font-weight: 800; font-size: 3.6rem; line-height: 1; }
.when-block .dow { font-size: .8rem; color: var(--muted); }
.event-head h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); }
.facts { margin: 22px 0 0; display: grid; gap: 10px; }
.facts div { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 12px; }
.facts dt { font-family: var(--cond); font-stretch: 80%; font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.facts dd { margin: 0; font-weight: 600; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
@media (max-width: 640px) {
	.event-grid { grid-template-columns: 1fr; gap: 16px; }
	.when-block { grid-template-columns: auto auto auto; gap: 10px; justify-content: start; align-items: baseline; padding: 8px 14px; justify-self: start; }
	.when-block .dnum { font-size: 1.6rem; }
	.facts div { grid-template-columns: 5.5rem minmax(0, 1fr); }
}
/* Hide The Events Calendar's own chrome that the theme template replaces. */
.tribe-events-pg-template { max-width: none !important; padding: 0 !important; margin: 0 !important; }
.tribe-events-before-html:empty, .tribe-events-after-html:empty { display: none; }

/* ---------- Footer ---------- */
.site-foot { background: var(--night); color: var(--night-muted); padding-block: 44px 32px; font-size: .92rem; }
.site-foot .cols { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 1000px) { .site-foot .cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } .site-foot .about { grid-column: 1 / -1; } }
@media (max-width: 760px) { .site-foot .cols { grid-template-columns: 1fr 1fr; gap: 28px 20px; } .site-foot .about { grid-column: 1 / -1; } }
.site-foot .logo img { height: 52px; width: auto; margin-bottom: 12px; }
.site-foot .about p { margin: 0; max-width: 36ch; }
.foot-h { margin: 0 0 10px; color: var(--night-ink); font-family: var(--cond); font-stretch: 80%; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-list a:hover { color: var(--night-ink); }
.foot-months { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--night-line); }
.foot-months .foot-h { margin: 0 6px 0 0; }
.foot-months a { color: var(--night-muted); } .foot-months a:hover { color: var(--night-ink); }
.site-foot .legal { border-top: 1px solid var(--night-line); margin-top: 20px; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .82rem; }

/* ===========================================================================
   Homepage v2: separated header, news/events band, category colors, tiles.
   =========================================================================== */
.c-music { --c: #c13a7a; } .c-arts { --c: #5a49c9; } .c-family { --c: #17836a; } .c-food { --c: #c2561a; }
.c-community { --c: #2b67b3; } .c-outdoors { --c: #3e7a35; } .c-health { --c: #0f7f8c; } .c-classes { --c: #8a2a17; } .c-city { --c: #4b5a75; }
/* News accents, from the social card template's per-topic colors. */
.c-need { --c: #c8452f; --s1: #ff6b5b; --s2: #ffb36b; } .c-police { --c: #b23a48; --s1: #ff5e6c; --s2: #ff9d7a; }
.c-school { --c: #2f63b8; --s1: #3b82f6; --s2: #7cc4ff; } .c-transit { --c: #137a7f; --s1: #2dd4bf; --s2: #7dd3fc; }
.scard.c-community { --s1: #3ddc84; --s2: #9be15d; } .scard.c-city { --s1: #8b7bff; --s2: #c084fc; } .scard.c-food { --s1: #ff9f43; --s2: #ffd166; }

.site-head { background: rgb(9, 16, 19); border-bottom: 1px solid rgba(230, 178, 74, .45); box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .6); }

.topband { color: #fff; padding-block: 22px 38px; position: relative; overflow: hidden;
	background: radial-gradient(90% 70% at 15% 0%, rgba(230, 178, 74, .10), transparent 60%), linear-gradient(180deg, #16271f, #12211a 60%, var(--night)); }
.topband .label { color: var(--amber); }
.mhead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-block: 14px 14px; }
.mhead .count { font-family: var(--cond); font-weight: 700; font-size: .85rem; color: #8f99ae; font-variant-numeric: tabular-nums; }
.mhead .more { font-weight: 700; font-size: .85rem; color: #fff; border-bottom: 2px solid var(--amber); }
.hero { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: start; }
.hero.solo { grid-template-columns: minmax(0, 1fr); }
.side { border-left: 1px solid rgba(255, 255, 255, .12); padding-left: clamp(20px, 2.5vw, 34px); }
.slides { display: grid; }
.slide { grid-area: 1 / 1; display: grid; gap: 18px; align-content: start; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.slide.on { opacity: 1; visibility: visible; }

/* News card (social card template, widened). */
.scard { position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 18px; min-height: clamp(360px, 34vw, 440px); padding: clamp(18px, 2.4vw, 30px); border-radius: 18px; overflow: hidden; color: #f8fafc; isolation: isolate;
	background: linear-gradient(180deg, rgba(8, 21, 26, .58), rgba(8, 21, 26, .74) 48%, rgba(9, 22, 27, .92)), radial-gradient(65% 65% at 88% 88%, rgba(230, 178, 74, .16), transparent), var(--photo) center / cover, #0a1a1f; }
.contours { position: absolute; right: -4%; bottom: 8%; width: 70%; color: #7ca6e8; opacity: .18; z-index: -1; }
.stop { display: flex; justify-content: space-between; align-items: start; }
.stop img { height: clamp(34px, 3.4vw, 46px); width: auto; filter: drop-shadow(0 6px 14px rgba(0, 10, 12, .4)); }
.stop time { font-weight: 700; font-size: .82rem; letter-spacing: .28em; }
.sbody { align-self: center; display: grid; gap: 12px; max-width: 46rem; }
.scat { font-weight: 700; font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; background: linear-gradient(90deg, var(--s1, #8b7bff), var(--s2, #c084fc)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.srule { display: block; height: 4px; border-radius: 3px; background: linear-gradient(90deg, var(--s1, #8b7bff), var(--s2, #c084fc)); }
.scard h2 { margin: 2px 0 0; font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.6rem); line-height: 1.06; letter-spacing: -.02em; }
.scard p { margin: 0; font-size: clamp(.95rem, 1.3vw, 1.1rem); color: #dde3ee; max-width: 40ch; }
.sfoot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid rgba(248, 250, 252, .35); font-size: .9rem; }
.stag { font-weight: 700; font-size: .68rem; letter-spacing: .24em; text-transform: uppercase; padding: 8px 12px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .3); background: rgba(12, 32, 38, .6); white-space: nowrap; }
.scard:hover h2 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.sactions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Event slide (fallback when there's no recent news). */
.art { position: relative; display: block; aspect-ratio: 2 / 1; border-radius: 18px; overflow: hidden; background: var(--night-2); max-width: 100%; }
.art::before { content: ""; position: absolute; inset: -40px; background: var(--img) center / cover; filter: blur(30px) saturate(1.3); opacity: .55; }
.art img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.eyebrow { display: flex; align-items: center; gap: 8px; font-family: var(--cond); font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #c9d0de; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.info h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 2.6vw, 2.5rem); line-height: 1.05; margin: 10px 0 8px; }
.blurb { color: #c9d0de; margin: 0 0 14px; max-width: 52ch; font-size: .95rem; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 0 0 16px; }
.facts div { display: flex; gap: 8px; align-items: baseline; }
.facts dt { font-family: var(--cond); font-weight: 800; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #8f99ae; }
.facts dd { margin: 0; font-weight: 600; }
.credit { margin: 10px 0 0; font-size: .75rem; color: #7d879b; }

.controls { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.bars { display: flex; gap: 6px; flex: 1; }
.bar { flex: 1; height: 4px; padding: 0; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .18); cursor: pointer; overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: var(--amber); }
.bar.done span { width: 100%; }
.bar.on span { animation: tib-fill var(--dur, 7s) linear forwards; }
.topband.paused .bar.on span { animation-play-state: paused; }
@keyframes tib-fill { to { width: 100%; } }
.arrow { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; font-size: 1.1rem; cursor: pointer; }
.arrow:hover { background: rgba(255, 255, 255, .1); }

.evlist { display: grid; }
.evi { display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.evi:first-child { padding-top: 4px; }
.evi img, .evi-ph { width: 108px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; }
.evi-ph { display: block; background: var(--night-2) url('assets/logo-light.png') center / 50% auto no-repeat; }
.evi div { display: grid; gap: 3px; }
.evi b { font-weight: 600; line-height: 1.3; }
.evi small { color: #aeb6c7; font-size: .82rem; line-height: 1.4; }
.evi:hover b { text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; }
.ntopic { font-family: var(--cond); font-weight: 800; font-size: .68rem; line-height: 1; letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--c) 55%, white); }

.tabs { display: none; }
@media (max-width: 860px) {
	.hero { grid-template-columns: minmax(0, 1fr); }
	.side { border-left: 0; padding-left: 0; }
	.tabs { display: flex; gap: 6px; padding: 4px 0 4px; }
	.tabs button { flex: 1; font: 700 .95rem var(--sans); color: #b9c1d3; background: rgba(255, 255, 255, .06); border: 0; border-radius: 999px; padding: 10px; cursor: pointer; }
	.tabs button[aria-selected="true"] { background: var(--amber); color: var(--night); }
}

/* Today board thumbnails and colored category tags. */
.row.has-thumb { grid-template-columns: 76px 6.5rem minmax(0, 1fr) auto; }
.row .thumb { width: 76px; height: 54px; object-fit: cover; border-radius: 10px; display: block; }
span.thumb { background: var(--night) url('assets/logo-light.png') center / 62% auto no-repeat; }
.tag[class*="c-"] { color: var(--c); border-color: color-mix(in srgb, var(--c) 30%, white); background: color-mix(in srgb, var(--c) 8%, white); }
@media (max-width: 640px) {
	.row.has-thumb { grid-template-columns: 60px minmax(0, 1fr); }
	.row.has-thumb .thumb { grid-row: span 2; width: 60px; height: 60px; }
	.row.has-thumb .tag { display: none; }
}

/* Find your thing. */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 12px; }
.tile { display: grid; gap: 6px; padding: 18px; border-radius: 16px; background: var(--c); color: #fff; min-height: 130px; align-content: end; transition: transform .15s ease; }
.tile:hover { transform: translateY(-3px); }
.tile b { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; line-height: 1.1; }
.tile em { font-style: normal; font-family: var(--cond); font-weight: 800; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }

@media (prefers-reduced-motion: reduce) { .slide, .tile { transition: none; } .bar.on span { animation: none; width: 100%; } }

/* Article v2: news-card header, story + rail. */
.story-head { position: relative; color: #f8fafc; padding-block: clamp(36px, 6vw, 64px) clamp(30px, 5vw, 48px); isolation: isolate;
	background: linear-gradient(180deg, rgba(8, 21, 26, .7), rgba(9, 22, 27, .94)), radial-gradient(60% 80% at 90% 100%, rgba(230, 178, 74, .16), transparent), var(--photo) center 35% / cover, #0a1a1f; }
.story-head-in { max-width: 860px; display: grid; gap: 12px; }
.story-head .scat { justify-self: start; }
.story-head .srule { max-width: 520px; }
.story-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 5.2vw, 3.6rem); line-height: 1.04; margin: 6px 0 0; }
.story-head .dek { margin: 0; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #d6dce8; max-width: 60ch; }
.story-head .byline { color: #aeb6c7; margin-top: 6px; }
.story-head .byline span:first-child { color: #fff; }
.story { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(28px, 4vw, 56px); align-items: start; background: var(--white); padding-block: 36px 56px; }
.story-main { max-width: 700px; background: transparent; padding: 0; }
.story-main > * { margin-block: 0 1.1em; }
.story-img { margin: 0 0 1.4em; }
.story-img img { width: 100%; border-radius: 14px; }
.rail { position: sticky; top: 96px; display: grid; gap: 22px; }
.rail-box { background: var(--paper); border-radius: 16px; padding: 18px 18px 8px; }
.rail-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.rail-head .label { color: var(--amber-deep); }
.rail-head a { font-size: .82rem; font-weight: 700; border-bottom: 2px solid var(--amber); }
.rail-news { display: grid; gap: 3px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.rail-news:last-child { border-bottom: 0; }
.rail-news b { line-height: 1.3; font-size: .98rem; }
.rail-news time { font-size: .8rem; color: var(--muted); }
.rail-news:hover b { text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; }
.rail .ntopic { color: var(--c); }
.rail .evi { border-bottom-color: var(--line); grid-template-columns: 88px minmax(0, 1fr); }
.rail .evi:last-child { border-bottom: 0; }
.rail .evi img, .rail .evi-ph { width: 88px; }
.rail .evi small { color: var(--muted); }
@media (max-width: 960px) {
	.story { grid-template-columns: minmax(0, 1fr); }
	.rail { position: static; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
}

/* Contact and Submit-an-Event forms. */
.form-page .narrow { max-width: 760px; }
.tib-form { display: grid; gap: 22px; margin-top: 8px; }
.tib-form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; }
.tib-form legend { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 10px; padding: 0; }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.fgrid .full { grid-column: 1 / -1; }
.tib-form label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.tib-form .req { color: var(--amber-deep); }
.tib-form .opt { font-weight: 400; color: var(--muted); }
.tib-form input[type="text"], .tib-form input[type="email"], .tib-form input[type="url"], .tib-form input[type="date"], .tib-form input[type="time"], .tib-form select, .tib-form textarea {
	font: 400 1rem/1.4 var(--sans); color: var(--ink); background: var(--white); border: 1.5px solid #d8d2c4; border-radius: 10px; padding: 11px 12px; width: 100%; }
.tib-form input:focus, .tib-form select:focus, .tib-form textarea:focus { outline: 2px solid var(--amber); outline-offset: 1px; border-color: var(--amber); }
.tib-form input[type="file"] { font: 400 .95rem var(--sans); padding: 10px; border: 1.5px dashed #d8d2c4; border-radius: 10px; background: var(--paper); }
.tib-form .check { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.tib-form .check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--amber-deep); flex: none; }
.tib-form button { justify-self: start; padding: 13px 26px; font-size: 1rem; }
.tib-form .fine { margin: -8px 0 0; font-size: .85rem; color: var(--muted); }
.tib-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-done, .form-error { padding: 16px 18px; border-radius: 12px; margin: 10px 0 18px; }
.form-done { background: #e8f5ee; border: 1px solid #b9e0c9; color: #1d5b3a; }
.form-error { background: #fdecea; border: 1px solid #f3c1bb; color: #8a2a1f; }
@media (max-width: 640px) { .fgrid { grid-template-columns: minmax(0, 1fr); } }

/* Author box + byline link (1.4.0) */
.story-head .byline a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.author-box { display: flex; gap: 16px; align-items: flex-start; margin-top: 36px; padding: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.author-box img { border-radius: 50%; flex: none; }
.author-box p { margin: 0 0 6px; font-size: .95rem; color: var(--muted); }
.author-box .author-name { font-weight: 700; color: var(--ink); }
.author-box .author-name a, .author-box .author-links a { color: inherit; }
.author-box .author-links a { color: var(--amber-deep); font-weight: 600; }

/* ---------- Business listings (1.9.0) ---------- */
.place-head .label a { color: inherit; }
.place-card dl { margin: 6px 0 10px; display: grid; gap: 4px; }
.place-card dt { font-family: var(--cond); font-stretch: 80%; font-weight: 700; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.place-card dd { margin: 0; line-height: 1.45; }
.place-card a { color: var(--amber-deep); font-weight: 600; }
.place .known { background: var(--paper); border-left: 3px solid var(--amber); padding: 10px 14px; border-radius: 6px; }
.place .mentions { padding-left: 20px; }
.place .owner-note { margin-top: 28px; color: var(--muted); }
.place-sub { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.4; }
.list-cta { margin-top: 32px; padding: 16px 18px; border: 1px dashed var(--line); border-radius: 12px; }
.list-cta a { color: var(--amber-deep); font-weight: 700; }
.pager { margin-top: 28px; }

.subchips { margin-top: 10px; }
.subchips .chip { font-size: .8rem; padding: 5px 12px; }

/* Listing tile + map (1.10.0) */
.place-map { width: 100%; height: 220px; border: 0; border-radius: 12px; margin: 6px 0 10px; display: block; }
.place-tile img { border-radius: 12px; }

/* Weekend roundup list inside articles (1.13.0) */
.tib-weekend { margin: 18px 0 28px; }
.tib-weekend .tib-weekend-day { font-size: 1.25rem; margin: 26px 0 10px; }
.tib-weekend .board a.row, .tib-weekend .board a.row:hover { text-decoration: none; color: inherit; }
.tib-weekend-over { background: var(--amber-wash); border-left: 3px solid var(--amber); padding: 10px 14px; border-radius: 6px; }
.tib-weekend-empty { color: var(--muted); }
.site-foot .legal .credit { margin: 0; color: inherit; } .site-foot .legal .credit a { text-decoration: underline; }

/* Hubs and event facts (Providence 1.1.0) */
.c-comedy { --c: #b8391f; } .c-trivia { --c: #6b4fd8; } .c-karaoke { --c: #c13a7a; } .c-night { --c: #1f6f8b; } .c-halloween { --c: #c45a00; }
.hub-intro { background: var(--white); padding-block: 8px 32px; }
.hub-note { margin: 28px 0 0; font-size: .85rem; color: var(--muted); max-width: 680px; }
.event-head .checked { margin: 18px 0 0; font-size: .85rem; color: var(--muted); }
.event-head .checked a { color: inherit; text-decoration: underline; }
.hub-intro .narrow { margin-left: 0; max-width: 700px; }

/* Venue profiles (1.3.0) */
.page-head .label a { color: inherit; }
.venue-actions { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; }
.venue-body { background: var(--white); padding-block: 36px 48px; }
.venue-grid { max-width: var(--max); margin: 0 auto; display: grid; gap: 36px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .venue-grid { grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); align-items: start; } }
.venue-overview > :first-child { margin-top: 0; }
.venue-facts { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; }
.venue-facts h2.label { margin: 0 0 12px; font-size: .78rem; color: var(--amber-deep); }
.venue-facts .facts { margin: 0; }
.venue-facts .checked { margin: 16px 0 0; font-size: .82rem; color: var(--muted); }
.venue-facts .checked a { text-decoration: underline; }
.venue-list { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin: 14px 0 34px; }
.venue-card { display: block; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.venue-card:hover { border-color: var(--amber); }
.venue-card h3 { font-family: var(--serif); font-weight: 500; font-size: 1.35rem; margin: 0 0 6px; }
.venue-card p { margin: 0; font-size: .92rem; color: var(--muted); }
.venue-card em { display: block; margin-top: 10px; font-style: normal; font-family: var(--cond); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; color: var(--amber-deep); }

/* Hub "at a glance" (1.3.0) */
.glance { margin: 0 0 34px; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.glance a { display: block; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.glance a:hover { border-color: var(--amber); }
.glance b { display: block; line-height: 1.3; }
.glance span { display: block; margin-top: 4px; font-size: .86rem; color: var(--muted); }
.glance-h { margin: 0 0 12px; }
.venue-facts .facts div { display: grid; grid-template-columns: 5.6rem minmax(0, 1fr); gap: 10px; align-items: baseline; }
.venue-facts .facts dd { margin: 0; font-size: .95rem; line-height: 1.45; }
.hood-venues { margin: 0 0 34px; }

/* 1.5.0: real images, category tiles, photo headers */
span.thumb { background: var(--c, var(--night)); display: grid; place-items: center; padding: 4px; }
span.thumb b { font-family: var(--cond); font-weight: 800; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; text-align: center; line-height: 1.1; }
.row .thumb { width: 76px; height: 76px; }
.row time .doors, .li time .doors { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.li time .doors { font-size: .66rem; margin-top: 1px; }
.photo-head { position: relative; color: #fff; background: linear-gradient(180deg, rgba(10, 20, 24, .35) 0%, rgba(10, 20, 24, .82) 100%), var(--photo) center / cover no-repeat, var(--night); padding-block: 72px 44px; }
.photo-head .label { color: #f3d48f; }
.photo-head h1 { color: #fff; }
.photo-head h1 em { color: var(--amber); }
.photo-head .sub { color: rgba(255, 255, 255, .86); }
.photo-head .sub a { color: #fff; }
.photo-head .photo-credit { position: absolute; right: 16px; bottom: 8px; margin: 0; font-size: .7rem; color: rgba(255, 255, 255, .7); }
.photo-head .photo-credit a { color: inherit; text-decoration: underline; }
.photo-head .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .7); }
@media (min-width: 900px) { .photo-head { padding-block: 120px 56px; } }
.today.after-hero { padding-top: 28px; }
.event-hero-credit { max-width: var(--max); margin: 6px auto 0; font-size: .75rem; color: var(--muted); }
.event-venue { margin: 28px 0 8px; }
.event-venue > p:not(.checked) { margin: 0 0 12px; }
.event-venue .checked a { color: var(--ink); font-weight: 600; text-decoration-color: var(--amber); }
.event-single .hero-img img { max-height: 460px; object-fit: contain; background: var(--paper); }
/* 1.7.0 news topics */
.c-history { --c: #2f8f5b; } .scard.c-history { --s1: #3ddc84; --s2: #9be15d; }
.scard.c-arts { --s1: #8b7bff; --s2: #c084fc; } .scard.c-music { --s1: #ff6a4d; --s2: #ffb36b; } .scard.c-night { --s1: #2dd4bf; --s2: #7dd3fc; }
.event-head .label.date a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; }
.event-head .facts dd a { text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; }

/* Venue guide (1.13.0) */
.venue-jump { margin-top: 20px; }
.photo-head .venue-jump .chip { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .3); }
.photo-head .venue-jump .chip:hover { background: rgba(255, 255, 255, .22); }
.venue-dir { padding-block: 40px 56px; }
.venue-group { max-width: var(--max); margin: 0 auto 44px; scroll-margin-top: 90px; }
.venue-group > h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 3.6vw, 2.2rem); margin: 0 0 18px; }
.vcards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.vcard { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.vcard:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(14, 26, 31, .12); border-color: transparent; }
.vcard-img { position: relative; aspect-ratio: 16 / 10; background: var(--night) center / cover no-repeat; }
.vcard-ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 3.4rem; color: var(--amber); }
.vcard-flag { position: absolute; left: 12px; top: 12px; background: rgba(14, 26, 31, .82); color: #fff; font-family: var(--cond); font-weight: 700; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; }
.vcard-body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.vcard-body .label { color: var(--amber-deep); font-size: .72rem; margin-bottom: 6px; }
.vcard-body h3 { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; line-height: 1.15; margin: 0 0 8px; }
.vcard-body p { margin: 0 0 14px; font-size: .93rem; line-height: 1.5; color: var(--muted); }
.vcard-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; font-size: .86rem; }
.vcard-next { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vcard-count { font-family: var(--cond); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .76rem; color: var(--amber-deep); }
/* 1.13.1: stronger overlay so header text stays readable over busy photos */
.photo-head { background: linear-gradient(180deg, rgba(10, 20, 24, .55) 0%, rgba(10, 20, 24, .9) 100%), var(--photo) center / cover no-repeat, var(--night); }
.photo-head h1, .photo-head .sub, .photo-head .label { text-shadow: 0 1px 12px rgba(0, 0, 0, .55); }

/* Running story lists inside a page ([tib_stories], 1.16.0). */
.prose .tib-stories { margin: 1.5rem 0; }
.prose .tib-stories a.guide { text-decoration: none; color: inherit; }
.prose .tib-stories h3 { margin: .4rem 0 0; font-size: 1.05rem; line-height: 1.25; }

/* Phones (1.16.2): a compact news slider, so the top of the homepage isn't one giant card. */
@media (max-width: 640px) {
	.topband { padding-block: 12px 20px; }
	.tabs button { padding: 7px; font-size: .85rem; }
	.mhead { padding-block: 10px 8px; }
	.scard { min-height: 0; gap: 10px; padding: 16px; border-radius: 14px; grid-template-rows: auto auto auto; }
	.stop img { height: 24px; }
	.stop time { font-size: .7rem; letter-spacing: .2em; }
	.sbody { gap: 8px; }
	.scat { font-size: .66rem; letter-spacing: .24em; }
	.srule { height: 3px; }
	.scard h2 { font-size: 1.3rem; line-height: 1.12; }
	.scard p { font-size: .88rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.sfoot { padding-top: 10px; font-size: .78rem; }
	.sfoot .stag { display: none; }        /* repeats the topic shown above */
	.slide { gap: 0; }
	.sactions { display: none; }           /* the whole card is already a link */
	.controls { margin-top: 12px; }
	.arrow { width: 34px; height: 34px; font-size: .95rem; }
}

/* Today's events as cards, 3 per row (1.17.0). The first 9 show; "Load more events" adds 9 at a time. */
.evgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 18px; }
.evcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; color: inherit; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.evcard:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(14, 26, 31, .45); }
.evcard[hidden] { display: none; }
.evcard-img { position: relative; aspect-ratio: 16 / 9; background: color-mix(in srgb, var(--c, #4b5a75) 14%, white); display: grid; place-items: center; }
.evcard-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.evcard-img > b { font-family: var(--cond); font-weight: 700; font-size: 1.1rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c, #4b5a75); }
.evcard-img .tag { position: absolute; left: 10px; top: 10px; background: rgba(255, 255, 255, .94); }
.evcard-body { padding: 14px 16px 18px; display: grid; gap: 6px; }
.evcard-body time { font-family: var(--cond); font-weight: 700; font-size: 1.05rem; letter-spacing: .04em; color: var(--amber-deep); }
.evcard-body time .doors { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.evcard-body h3 { margin: 0; font-size: 1.08rem; line-height: 1.22; }
.evcard:hover h3 { text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; }
.evcard-body p { margin: 0; font-size: .9rem; color: var(--muted); }
.board-foot [data-more][hidden] { display: none; }
@media (max-width: 960px) { .evgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }
@media (max-width: 560px) {
	.evgrid { grid-template-columns: 1fr; gap: 12px; }
	.evcard { flex-direction: row; }
	.evcard-img { flex: 0 0 104px; aspect-ratio: auto; min-height: 104px; }
	.evcard-img .tag { display: none; }
	.evcard-body { padding: 10px 12px; align-content: center; }
	.evcard-body h3 { font-size: 1rem; }
	.evcard-body p { font-size: .82rem; }
}

/* Footer (1.17.2): grouped columns. */
.site-foot .foot-cta { display: inline-block; margin-top: 18px; padding: 10px 18px; font-size: .9rem; }
.foot-list { gap: 8px; }

/* Hub pages (1.18.0): intro beside a summary panel, and a sliding row of highlight cards. */
.hub-intro { padding-block: 22px 36px; }
.hub-intro-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.hub-intro-grid .prose { max-width: 680px; }
.hub-intro-grid .prose p:first-child { margin-top: 0; font-size: 1.12rem; }
.hub-panel { background: var(--night); color: #fff; border-radius: 16px; padding: 20px; display: grid; gap: 16px; box-shadow: 0 18px 40px -26px rgba(14, 26, 31, .7); }
.hub-panel .label { color: var(--amber); display: block; margin-bottom: 6px; }
.hub-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hub-stats div { background: rgba(255, 255, 255, .06); border-radius: 12px; padding: 12px 14px; }
.hub-stats b { display: block; font-family: var(--cond); font-size: 2.2rem; line-height: 1; color: #fff; }
.hub-stats span { font-size: .82rem; color: var(--night-muted); text-transform: uppercase; letter-spacing: .1em; font-family: var(--cond); font-weight: 700; }
.hub-next { display: block; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 14px; color: #fff; }
.hub-next b { display: block; font-size: 1.05rem; line-height: 1.25; }
.hub-next span:last-child { display: block; margin-top: 4px; font-size: .86rem; color: var(--night-muted); }
.hub-next:hover b { text-decoration: underline; text-decoration-color: var(--amber); }
.hub-related { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 14px; }
.hub-related .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hub-related .chip { color: #fff; border-color: rgba(255, 255, 255, .25); background: transparent; font-size: .85rem; padding: 5px 12px; }
.hub-related .chip:hover { border-color: var(--amber); }
.rail-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.rail-head .glance-h { margin: 0; }
.rail-arrows { display: flex; gap: 8px; }
.rail-arrows .arrow { color: var(--ink); border-color: var(--line); background: var(--white); width: 38px; height: 38px; }
.rail-arrows .arrow:hover { border-color: var(--amber); background: var(--white); }
.rail[data-rail] { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, calc((100% - 3 * 18px) / 4)); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 14px; margin-bottom: 30px; scrollbar-width: thin; }
.rail[data-rail] .evcard { scroll-snap-align: start; }
.evcard-more { display: inline-block; margin-top: 2px; font-size: .78rem; font-weight: 700; color: var(--amber-deep); }
@media (max-width: 900px) {
	.hub-intro-grid { grid-template-columns: 1fr; }
	.rail[data-rail] { grid-auto-columns: 72%; }
	.rail[data-rail] .evcard { flex-direction: column; }
	.rail[data-rail] .evcard-img { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
	.rail[data-rail] .evcard-img .tag { display: inline-block; }
	.rail-arrows { display: none; }
}

/* Cards without any photo: a big date on the category color (1.18.1). */
.evcard-img { background: radial-gradient(120% 90% at 85% 15%, color-mix(in srgb, var(--c, #4b5a75) 30%, white), color-mix(in srgb, var(--c, #4b5a75) 10%, white)); }
.evcard-img > b.evcard-ph { display: grid; justify-items: center; line-height: 1; font-family: var(--cond); font-size: .95rem; letter-spacing: .2em; color: var(--c, #4b5a75); }
.evcard-ph i { font-style: normal; font-size: 3.2rem; letter-spacing: 0; font-weight: 800; }

/* Front page (1.19.0): a newspaper-style top instead of the Lynn-style carousel. Lead story with a full photo,
   a column of headlines, then a sliding "Don't miss" row of event cards. */
.front { background: var(--paper, #f4f2ee); padding-block: 26px 34px; border-bottom: 1px solid var(--line); }
.front-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: stretch; }
.front-grid.solo { grid-template-columns: 1fr; }
.front .kicker { font-family: var(--cond); font-weight: 800; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c, var(--amber-deep)); }
.lead { position: relative; display: block; border-radius: 16px; overflow: hidden; min-height: 420px; color: #fff; background: var(--night); isolation: isolate; }
.lead img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.lead:hover img { transform: scale(1.03); }
.lead::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 15, 18, 0) 25%, rgba(8, 15, 18, .65) 55%, rgba(8, 15, 18, .94)); }
.lead-txt { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(18px, 2.6vw, 32px); display: grid; gap: 8px; }
.lead .kicker { color: #fff; background: var(--c, var(--amber)); justify-self: start; padding: 4px 10px; border-radius: 6px; }
.lead.c-city .kicker, .lead.c-history .kicker, .lead.c-community .kicker, .lead.c-food .kicker, .lead.c-arts .kicker { color: #fff; }
.lead h2 { margin: 0; font-family: var(--serif); font-weight: 700; font-size: clamp(1.7rem, 3.2vw, 2.7rem); line-height: 1.05; letter-spacing: -.01em; max-width: 24ch; text-wrap: balance; }
.lead p { margin: 0; color: #dfe5ea; max-width: 56ch; font-size: 1rem; }
.lead small { color: #b9c3cb; font-size: .82rem; }
.lead:hover h2 { text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.heads { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 6px 18px; }
.heads-top { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0 8px; border-bottom: 2px solid var(--ink); }
.heads-top .label { margin: 0; color: var(--ink); }
.heads-top a { font-weight: 700; font-size: .85rem; border-bottom: 2px solid var(--amber); }
.head { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.head:last-child { border-bottom: 0; }
.head:not(:has(img)) { grid-template-columns: 1fr; }
.head img { width: 76px; height: 76px; object-fit: cover; border-radius: 10px; }
.head b { display: block; font-size: .98rem; line-height: 1.25; margin-top: 2px; }
.head small { display: block; margin-top: 3px; font-size: .78rem; color: var(--muted); }
.head:hover b { text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; }
.dontmiss { margin-top: 30px; }
.dontmiss .rail[data-rail] { margin-bottom: 0; }
.rail-arrows .more { font-weight: 700; font-size: .85rem; border-bottom: 2px solid var(--amber); margin-right: 8px; align-self: center; }
@media (max-width: 900px) {
	.front { padding-block: 16px 24px; }
	.front-grid { grid-template-columns: 1fr; gap: 14px; }
	.lead { min-height: 0; aspect-ratio: 4 / 3.4; }
	.lead p { display: none; }
	.lead h2 { font-size: 1.45rem; }
	.heads { padding: 2px 14px; }
	.head:nth-of-type(n+4) { display: none; }   /* three headlines on phones */
	.head { grid-template-columns: 60px minmax(0, 1fr); padding: 10px 0; }
	.head img { width: 60px; height: 60px; }
	.dontmiss { margin-top: 20px; }
	.rail-arrows { display: flex; } .rail-arrows .arrow { display: none; }
}

/* Front page on the dark background (1.19.1). */
.front { color: #fff; border-bottom: 0;
	background: radial-gradient(90% 70% at 15% 0%, rgba(230, 178, 74, .12), transparent 60%), linear-gradient(180deg, #16271f, #12211a 60%, var(--night)); }
.front .glance-h, .front .heads-top .label { color: var(--amber); }
.heads { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }
.heads-top { border-bottom-color: rgba(255, 255, 255, .7); }
.heads-top a, .front .rail-arrows .more { color: #fff; }
.head { border-bottom-color: rgba(255, 255, 255, .12); color: #fff; }
.head small { color: var(--night-muted); }
.front .head .kicker { color: color-mix(in srgb, var(--c, var(--amber)) 55%, white); }
.front .rail-arrows .arrow { color: #fff; background: transparent; border-color: rgba(255, 255, 255, .3); }
.front .rail-arrows .arrow:hover { background: rgba(255, 255, 255, .1); border-color: var(--amber); }
.front .evcard { border-color: transparent; }
.lead { box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .8); }
.front .evcard { color: var(--ink); }

/* Homepage skyline (1.19.3): melt into the dark front section above and the white list below, no hard edges. */
.front + .photo-head { padding-block: 90px 110px; overflow: hidden;
	background: linear-gradient(180deg, var(--night) 0%, rgba(14, 26, 31, .6) 24%, rgba(10, 20, 24, .58) 50%, rgba(10, 20, 24, .7) 74%, rgba(10, 20, 24, .35) 100%), var(--photo) center 62% / cover no-repeat, var(--night); border-bottom: 0; }
.front + .photo-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; pointer-events: none;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .25) 35%, rgba(255, 255, 255, .85) 75%, var(--white) 100%); height: 70px; }
.front + .photo-head h1, .front + .photo-head .sub { text-shadow: 0 2px 18px rgba(0, 0, 0, .55); }
.front + .photo-head .photo-credit { bottom: 96px; }
.front + .photo-head + .today { border-top: 0; padding-top: 18px; }
@media (min-width: 900px) { .front + .photo-head { padding-block: 120px 150px; } .front + .photo-head .photo-credit { bottom: 100px; } }

/* Hub intro, compact (1.19.5): intro text, then the summary as one slim dark strip, so no empty column. */
.hub-intro { padding-block: 22px 26px; }
.hub-intro-grid { grid-template-columns: 1fr; gap: 18px; }
.hub-intro-grid .prose { max-width: 820px; }
.hub-intro-grid .prose p:last-child { margin-bottom: 0; }
.hub-panel { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1.3fr); align-items: center; gap: 0; padding: 14px 18px; border-radius: 14px; }
.hub-panel > * { padding: 4px 22px; }
.hub-panel > *:first-child { padding-left: 0; }
.hub-stats { grid-template-columns: auto auto; gap: 8px; }
.hub-stats div { padding: 8px 14px; display: flex; align-items: baseline; gap: 8px; }
.hub-stats b { font-size: 1.7rem; }
.hub-next, .hub-related { border-top: 0; padding-top: 4px; border-left: 1px solid rgba(255, 255, 255, .12); }
.hub-panel .label { margin-bottom: 4px; }
@media (max-width: 900px) {
	.hub-panel { grid-template-columns: 1fr; gap: 12px; }
	.hub-panel > * { padding: 0; }
	.hub-next, .hub-related { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 12px; }
}
.hub-intro-grid .prose { padding: 0; margin: 0; }
.hub-intro-grid .prose > :first-child { margin-top: 0; }
.hub-intro + .paper { padding-top: 30px; }

/* Events page (1.20.0): dark header with counts, category chips and a day strip; each day is a card grid. */
.events-head { color: #fff; padding-block: 40px 26px;
	background: radial-gradient(90% 80% at 85% 0%, rgba(230, 178, 74, .16), transparent 60%), linear-gradient(180deg, #16271f, #12211a 70%, var(--night)); }
.events-head .label { color: var(--amber); }
.events-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1; margin: .2em 0 .25em; color: #fff; }
.events-head .sub { color: rgba(255, 255, 255, .8); margin: 0 0 18px; max-width: 60ch; }
.events-head .chip { color: #e8edf0; border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .04); }
.events-head .chip:hover { border-color: var(--amber); }
.events-head .chip.on { background: var(--amber); border-color: var(--amber); color: var(--night); }
.daystrip { display: flex; gap: 8px; overflow-x: auto; margin-top: 18px; padding: 4px 0 6px; scrollbar-width: thin; }
.daystrip a { flex: 0 0 auto; display: grid; justify-items: center; min-width: 64px; padding: 8px 6px 7px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #fff; line-height: 1.1; }
.daystrip a:hover { border-color: var(--amber); background: rgba(230, 178, 74, .12); }
.daystrip small { font-family: var(--cond); font-weight: 700; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--night-muted); }
.daystrip b { font-family: var(--cond); font-size: 1.5rem; }
.daystrip i { font-style: normal; font-size: .7rem; color: var(--amber); font-weight: 700; }
.events-body { padding-top: 30px; }
.ev-day { margin-bottom: 38px; scroll-margin-top: 100px; }
.ev-day .cal-date em { font-style: normal; font-size: .8rem; color: var(--muted); letter-spacing: .08em; margin-left: 8px; }
.ev-day .evgrid { margin-top: 14px; }
.ev-extra { display: contents; }
.ev-extra[hidden] { display: none; }
.ev-showall { margin-top: 16px; background: var(--white); border: 1px solid var(--line); color: var(--ink); }
.ev-showall:hover { border-color: var(--amber); }
@media (max-width: 640px) { .events-head .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; } .events-head .chip { flex: 0 0 auto; } }

/* Homepage "Things to do in Providence" directory (1.24.0). */
.explore { background: var(--white); padding-block: 48px 40px; border-top: 1px solid var(--line); }
.explore .label { color: var(--amber-deep); }
.explore h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 4vw, 2.6rem); margin: .2em 0 .3em; }
.explore-intro { max-width: 62ch; color: var(--muted); margin: 0 0 24px; }
.explore-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.explore-grid h3 { font-family: var(--cond); font-weight: 800; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 10px; color: var(--ink); }
.explore-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.explore-grid a { color: var(--ink); text-decoration: none; border-bottom: 1px solid transparent; }
.explore-grid a:hover { border-bottom-color: var(--amber); }
@media (max-width: 900px) { .explore-grid { grid-template-columns: 1fr 1fr; } }
.hub-venues { padding-top: 10px; } .hub-venues .hv-title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: 0 0 16px; }
.story-note { margin-top: 28px; font-size: .88rem; color: var(--muted); } .story-note a { color: inherit; text-decoration: underline; }
.hub-guide { padding-block: 34px 40px; } .hub-guide h2 { font-family: var(--serif); font-weight: 400; }

/* Rails (1.27.1): keep the cards painted inside their own row. Safari could draw lifted cards over the list below
   while scrolling; clip and isolate the rail, and drop the hover lift inside it. */
/* Highlights scroller: undo the sidebar .rail rules (sticky, row gap) and never scroll up and down */
.rail[data-rail] { position: relative; top: auto; overflow-x: auto; overflow-y: hidden; row-gap: 0; align-items: stretch; overscroll-behavior: contain; touch-action: pan-x pan-y; }
.rail[data-rail] .evcard { transform: none !important; transition: box-shadow .15s ease; }
.rail[data-rail] .evcard:hover { box-shadow: 0 10px 24px -18px rgba(14, 26, 31, .45); }
/* No-photo thumbnails in lists: soft tint like the card placeholders */
span.thumb { background: radial-gradient(120% 90% at 85% 15%, color-mix(in srgb, var(--c, #4b5a75) 30%, white), color-mix(in srgb, var(--c, #4b5a75) 10%, white)); }
span.thumb b { color: var(--c, #4b5a75); }
/* TEC's page wrapper prints an AJAX spinner; its CSS no longer loads (inc/speed.php) */
.tribe-events-ajax-loading { display: none !important; }
/* Seasonal pointer under the homepage hero (tib_season_link) */
.season-link { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 14px; padding: 10px 16px; border-radius: 999px; background: rgba(230, 178, 74, .16); border: 1px solid rgba(230, 178, 74, .55); color: #fff; text-decoration: none; font-size: .95rem; }
.season-link b { font-family: var(--cond); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--amber); }
.season-link span { color: rgba(255, 255, 255, .85); }
.season-link:hover { background: rgba(230, 178, 74, .26); }
@media (max-width: 560px) { .season-link { border-radius: 14px; } }
/* Nine menu items with the seasonal one: keep each on one line and tighten spacing on narrower desktops */
.nav-list a, .head-cta { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1240px) { .nav-list { gap: 16px; font-size: .9rem; } .head-cta { padding-inline: 16px; } }
/* Side rail on long pages (template-parts/side-rail.php, 1.30.0) */
.with-rail { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.with-rail > .prose, .with-rail > .narrow { max-width: 720px; margin: 0; }
.side-rail { top: 96px; }
.wx-now { display: flex; align-items: baseline; gap: 10px; padding: 6px 0 4px; }
.wx-now b { font-family: var(--cond); font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--ink); }
.wx-now span { font-weight: 600; color: var(--ink); }
.wx-next { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 6px; font-size: .9rem; color: var(--muted); }
.wx-next b { color: var(--ink); font-weight: 700; }
.wx-src { margin: 10px 0 8px; font-size: .74rem; color: var(--muted); }
.rail-season { display: grid; gap: 4px; padding-bottom: 16px; background: var(--night); color: #fff; text-decoration: none; }
.rail-season .label { color: var(--amber); }
.rail-season b { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; line-height: 1.15; }
.rail-season span:last-child { color: rgba(255, 255, 255, .8); font-size: .9rem; }
.rail-season:hover b { text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; }
.rail-chips { padding: 6px 0 12px; }
@media (max-width: 1060px) {
	.with-rail { grid-template-columns: minmax(0, 1fr); }
	.side-rail { position: static; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
}
.rail-chips.chips { margin-top: 4px; }
.prose .side-rail a { text-decoration: none; color: inherit; }
.prose .side-rail .rail-head a { color: var(--ink); }
.prose .side-rail p, .prose .side-rail li { font-size: .9rem; line-height: 1.4; }
.prose .side-rail ul { padding-left: 0; }
.prose .side-rail img { border-radius: 8px; }
.prose .side-rail .rail-season { color: #fff; }
/* The side rail shares the .rail name with the scrolling Highlights row; undo the row's layout here */
.rail.side-rail { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: minmax(0, 1fr); overflow: visible; scroll-snap-type: none; padding: 0; margin: 0; gap: 18px; position: sticky; }
@media (max-width: 1060px) { .rail.side-rail { position: static; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); margin-top: 28px; } }
/* "On this page" (inc/toc.php) */
.toc { margin: 1.4em 0 1.8em; padding: 16px 20px; border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: 12px; background: var(--paper); }
.toc .label { display: block; color: var(--amber-deep); margin-bottom: 6px; }
.toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 28px; }
.toc li { font-size: .95rem; line-height: 1.5; break-inside: avoid; }
.prose .toc a { text-decoration: none; }
.prose .toc a:hover { text-decoration: underline; }
@media (max-width: 640px) { .toc ol { columns: 1; } }
h2[id] { scroll-margin-top: 96px; }
/* Section labels that are now real H2s (heading order, 1.32.2) */
h2.label { margin: 0 0 10px; font-size: .78rem; line-height: 1.3; }
.prose h2.label.list-h { font-family: var(--cond); font-size: .78rem; margin: 1.6em 0 10px; }
/* This Weekend (1.33.0): compact head, events first, roundup card in the rail */
.page-head.compact { padding-block: 26px 18px; }
.page-head.compact h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); margin-block: 4px 8px; }
.page-head.compact .sub { margin-bottom: 0; }
.page-head.compact .chips { margin-top: 14px; }
.wk-body { padding-top: 22px; }
.wk-main { min-width: 0; }
.wk-main .cal-day:first-child .cal-date { margin-top: 0; }
.rail-roundup { display: grid; gap: 6px; padding: 0 0 16px; overflow: hidden; background: var(--night); color: #fff; text-decoration: none; }
.rail-roundup img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; border-radius: 0; margin-bottom: 6px; }
.rail-roundup .label, .rail-roundup b, .rail-roundup span:last-child { padding-inline: 16px; }
.rail-roundup .label { color: var(--amber); }
.rail-roundup b { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; line-height: 1.15; }
.rail-roundup span:last-child { color: rgba(255, 255, 255, .8); font-size: .9rem; }
.rail-roundup:hover b { text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; }
@media (max-width: 1060px) { .wk-body .side-rail { order: -1; } .wk-body .side-rail > :not(.rail-roundup) { display: none; } }
@media (max-width: 1060px) { .wk-body .rail-roundup img { display: none; } .wk-body .rail-roundup { padding-top: 14px; margin-bottom: 8px; } }
@media (max-width: 560px) {
	.wk-body .rail-roundup span:last-child { display: none; }
	.wk-body .rail-roundup b { font-size: 1.08rem; }
	.page-head.compact .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
	.page-head.compact .chips .chip { white-space: nowrap; }
	.page-head.compact .sub { font-size: .98rem; }
	.wk-body { padding-top: 14px; }
}
/* Event page: "More at this venue" + "Also tonight" (1.36.0) */
.more-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 28px 48px; align-items: start; }
.more-grid .sec-head h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.event-single .with-rail > .narrow { margin: 0; }
/* /events/ filters (1.39.0) */
.ev-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.ev-filters .chip { text-decoration: none; }
.ev-hood select { font: 600 .86rem var(--sans); color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 7px 30px 7px 14px; }
.ev-clear { font-size: .86rem; font-weight: 700; color: var(--amber-deep); margin-left: 4px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* 1.42.0: "Our pick" badges, "Hide ongoing & weekly" switch, date jump */
.pick-badge { display: inline-block; font-family: var(--cond); font-weight: 800; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; background: var(--amber); color: var(--night); padding: 3px 7px; border-radius: 6px; vertical-align: 2px; }
.evcard-img .pick-badge { position: absolute; right: 10px; top: 10px; z-index: 1; }
.ongoing-toggle { display: inline-flex; align-items: center; gap: 8px; font: 600 .86rem var(--sans); cursor: pointer; padding: 6px 4px; }
.ongoing-toggle input { width: 18px; height: 18px; accent-color: var(--amber); }
.hide-ongoing [data-ongoing] { display: none !important; }
.hide-ongoing .day-empty { display: none !important; }
.ev-jump { display: flex; align-items: center; gap: 10px; margin-top: 12px; flex-wrap: wrap; font: 600 .86rem var(--sans); }
.ev-jump input[type=date] { font: 600 .9rem var(--sans); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; background: var(--white); color: var(--ink); }
.hub-tools { display: flex; justify-content: flex-end; margin: 0 0 6px; }
/* "Find your thing" variants (1.43.0) */
.tile { position: relative; overflow: hidden; isolation: isolate; }
/* A: photo */
.vt-photo .tile { min-height: 190px; background: var(--c); }
.vt-photo .tile::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--img, none) center / cover; transition: transform .4s ease; }
.vt-photo .tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 35%, transparent) 0%, color-mix(in srgb, var(--c) 92%, #000) 78%); }
.vt-photo .tile:hover::before { transform: scale(1.06); }
.vt-next { font-size: .8rem; line-height: 1.3; opacity: .92; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* B: icons */
.vt-icon-tiles .tile { min-height: 170px; align-content: space-between; grid-template-rows: auto 1fr auto auto; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.14) 1px, transparent 0); background-size: 14px 14px; background-color: var(--c); }
.vt-ico { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: rgba(255, 255, 255, .16); }
.vt-icon { width: 34px; height: 34px; }
.vt-count { position: absolute; right: 14px; top: 8px; font-family: var(--cond); font-weight: 800; font-size: 3.4rem; line-height: 1; opacity: .28; }
.vt-icon-tiles .tile:hover .vt-ico { background: rgba(255, 255, 255, .26); }
/* C: bento */
.vt-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 12px; }
.vt-bento .tile { min-height: 0; background-color: var(--c); }
.vt-bento .vt-big { grid-column: span 2; grid-row: span 2; }
.vt-bento .vt-big::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--img, none) center / cover; }
.vt-bento .vt-big::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 15%, color-mix(in srgb, var(--c) 94%, #000) 85%); }
.vt-bento .vt-big b { font-size: 2rem; }
.vt-bento .tile:not(.vt-big) { align-content: space-between; }
.vt-bento .vt-ico { width: 44px; height: 44px; border-radius: 12px; } .vt-bento .vt-icon { width: 28px; height: 28px; }
.vt-list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 4px; font-size: .92rem; }
.vt-list span { font-family: var(--cond); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: .78rem; opacity: .85; margin-right: 6px; }
@media (max-width: 760px) { .vt-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 130px; } .vt-bento .vt-big { grid-row: span 2; } }
/* Don't miss drift controls (1.45.0) */
.rail-pause { font-size: .72rem; letter-spacing: -1px; }
.rail-arrows .rail-pause { display: inline-grid !important; place-items: center; }
/* Accessibility (1.47.0): contrast on light backgrounds and table-of-contents tap targets */
.rail .ntopic, .rail-box .ntopic { color: color-mix(in srgb, var(--c) 72%, #000); }
.venue-facts dt, .event-venue dt { color: #56606b; }
.toc li { padding-block: 3px; }
.toc a { display: inline-block; min-height: 24px; }
/* 1.50.0: on phones, "Things to do in Providence today" and today's events come before the news slider */
@media (max-width: 760px) {
	body.home #main { display: flex; flex-direction: column; }
	body.home #main > .page-head { order: -2; }
	body.home #main > .today { order: -1; }
}
@media (max-width: 760px) {
	.today .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding-inline: max(16px, env(safe-area-inset-left, 0px)); }
	.today .chips::-webkit-scrollbar { display: none; }
	.today .chips .chip { white-space: nowrap; flex: none; }
}
/* Event run dates (1.51.0) */
.run-dates { margin-top: 14px; display: grid; gap: 6px; }
.run-dates ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.run-dates li a, .run-dates li b { display: inline-block; font: 600 .84rem var(--sans); padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; color: inherit; }
.run-dates li b { background: var(--amber); color: var(--night); border-color: var(--amber); }
/* 1.51.2: the scroller rules above are scoped to [data-rail]; story and listing sidebars (.rail without it) stack.
   Sidebar headlines are not underlined except on hover. */
aside.rail:not([data-rail]) .rail-news, aside.rail:not([data-rail]) .rail-news b { text-decoration: none; color: inherit; }

/* 1.52.0 discovery features. Phone first: everything below fits a 360px screen without sideways page scroll. */
/* Card and row tags: closing, sold out, RSVP, on sale, repeat. */
.ebadges { display: flex; flex-wrap: wrap; gap: 4px 6px; margin-top: 2px; }
.eb { display: inline-block; font-family: var(--cond); font-weight: 800; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; line-height: 1; padding: 4px 7px 3px; border-radius: 6px; background: var(--paper); color: var(--muted); border: 1px solid var(--line); white-space: nowrap; }
.eb-end { background: #fff1d6; color: #8a4b00; border-color: #f3d69c; }
.eb-sold { background: #f6e3e3; color: #9b1c1c; border-color: #ebc2c2; }
.eb-rsvp { background: #e3f1ec; color: #146a52; border-color: #bfe0d4; }
.eb-onsale { background: var(--amber-wash); color: var(--amber-deep); border-color: #f6cfc4; }
.eb-rep { background: #eef0f6; color: #3f4a66; border-color: #d9dded; }
.row .ebadges { margin-top: 6px; }
dd .eb { vertical-align: 1px; margin-left: 4px; }

/* Nearest T stop under the venue address. */
.tstop { display: flex; align-items: center; gap: 7px; margin-top: 6px; font-size: .92rem; color: var(--muted); }
.t-roundel { flex: 0 0 auto; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--ink); font: 800 .72rem/1 var(--sans); color: var(--ink); background: #fff; }

/* Starting soon: a swipeable strip on phones, a grid of four on wide screens. */
.soon { margin: 4px 0 26px; padding: 16px 16px 6px; border-radius: 16px; background: var(--night); color: var(--night-ink); }
.soon[hidden] { display: none; }
.soon-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.soon-head .label { margin: 0; color: var(--amber); }
.soon-clock { font-size: .8rem; color: var(--night-muted); }
.soon-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding-bottom: 10px; }
.soon-item { display: grid; gap: 4px; align-content: start; padding: 12px 14px; border-radius: 12px; background: var(--night-2); border: 1px solid var(--night-line); color: #fff; text-decoration: none; min-width: 0; }
.soon-item[hidden] { display: none; }
.soon-item:hover, .soon-item:focus-visible { border-color: var(--amber); }
.soon-when { display: flex; justify-content: space-between; gap: 8px; font-family: var(--cond); font-weight: 800; font-size: 1.15rem; color: var(--amber); }
.soon-when i { font-style: normal; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--night-muted); align-self: center; }
.soon-item b { font-size: .98rem; line-height: 1.25; overflow-wrap: anywhere; }
.soon-item small { font-size: .82rem; color: var(--night-muted); }
@media (max-width: 900px) {
	.soon-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
	.soon-list::-webkit-scrollbar { display: none; }
	.soon-item { flex: 0 0 min(72%, 260px); scroll-snap-align: start; }
}

/* Rain notice: same shape as the seasonal link. */
.rain-link b::before { content: "☂ "; }
.rail-rain { display: grid; gap: 4px; text-decoration: none; color: var(--ink); background: #e8f0f7; padding-bottom: 16px; }
.rail-rain[hidden] { display: none; }
.rail-rain b { font-size: 1.05rem; }
.rail-rain span:last-of-type { font-size: .9rem; color: var(--muted); }

/* Plan ahead uses the standard card scroller; give it room under the section head. */
.plan-ahead .rail[data-rail] { margin-bottom: 8px; }

/* Most read this week: numbered list. */
.poplist { list-style: none; margin: 0; padding: 0; counter-reset: pop; display: grid; gap: 2px; }
.poplist li { counter-increment: pop; }
.poplist a { display: grid; grid-template-columns: 2rem minmax(0, 1fr); column-gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.poplist a::before { content: counter(pop); grid-row: span 2; font-family: var(--cond); font-weight: 800; font-size: 1.7rem; line-height: 1; color: var(--amber-deep); }
.poplist b { font-size: .98rem; line-height: 1.25; }
.poplist small { color: var(--muted); font-size: .82rem; }
.poplist a:hover b { text-decoration: underline; text-decoration-color: var(--amber); }
.pop-sec .popular { max-width: 760px; }
@media (min-width: 900px) { .pop-sec .poplist { grid-template-columns: 1fr 1fr; column-gap: 32px; grid-auto-flow: column; grid-template-rows: repeat(3, auto); } }

/* Map. */
.evmap { margin: 14px 0 6px; }
.evmap-btn { display: inline-flex; align-items: center; gap: 6px; background: #fff; }
.events-head .evmap-btn { background: transparent; }
.evmap-box { height: min(62vh, 440px); margin-top: 12px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); z-index: 0; position: relative; }
.evmap-box[hidden], .evmap-note[hidden] { display: none; }
.evmap-note { font-size: .8rem; color: var(--muted); margin: 6px 0 0; }
.evmap-pop a, .evmap-pop b { font-weight: 700; color: var(--ink); }
.evmap-pop small { display: block; color: var(--muted); margin-top: 2px; }
.evmap-pop ul { margin: 6px 0 0; padding-left: 16px; }
.evmap-pop li { margin: 3px 0; }
.evmap-pop li span { color: var(--muted); font-size: .85em; }
.hub-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.hub-tools .evmap { margin: 0; flex: 1 1 100%; }

/* What's new on this page. */
.changelog { margin: 0 0 24px; padding: 12px 16px; border-radius: 12px; background: var(--paper); border-left: 4px solid var(--amber); font-size: .95rem; }
.changelog .label { display: block; margin-bottom: 4px; color: var(--amber-deep); }
.changelog ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.changelog time { font-weight: 700; margin-right: 4px; }
.changelog details { margin-top: 6px; }
.changelog summary { cursor: pointer; font-size: .88rem; color: var(--muted); }
.changelog details ul { margin-top: 6px; }

/* Share button in the event actions only shows where the phone has a share sheet. */
[data-share][hidden] { display: none !important; }
@media (max-width: 640px) {
	.event-single .actions .btn { flex: 1 1 calc(50% - 8px); text-align: center; }
	.event-single .actions .btn-amber { flex-basis: 100%; }
}

/* 1.52.2 under a story: nearby listings, the area's guide, related guides. Stories now use the full side rail. */
.story .side-rail { position: sticky; top: 96px; }
@media (max-width: 960px) { .story .side-rail { position: static; } }
.story-extras { display: grid; gap: 18px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.sx-head h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.4rem, 3vw, 1.8rem); margin: 4px 0 0; }
.sx-head .label { color: var(--amber-deep); }
.sx-events { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 560px) { .sx-events { grid-template-columns: 1fr; gap: 10px; } }
.story-main .sx-events a, .story-main .sx-hood { text-decoration: none; color: inherit; }
.story-main .sx-events h3 { font-family: var(--sans); }
.sx-hood { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; align-items: center; background: var(--paper); border-radius: 14px; overflow: hidden; }
.sx-hood img { width: 100%; height: 100%; min-height: 130px; object-fit: cover; border-radius: 0; }
.sx-hood > span { display: grid; gap: 4px; padding: 14px 16px 14px 0; }
.sx-hood b { font-size: 1.1rem; line-height: 1.25; }
.sx-hood small { color: var(--muted); font-size: .9rem; line-height: 1.4; }
@media (max-width: 560px) { .sx-hood { grid-template-columns: 1fr; } .sx-hood img { aspect-ratio: 16 / 9; height: auto; } .sx-hood > span { padding: 0 16px 16px; } }
.sx-guides { display: grid; gap: 8px; }
.sx-guides .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.story-main .sx-guides .chip { text-decoration: none; }

/* 1.52.3 card scrollers: no grey scrollbar track. The bar is invisible until you hover the row, then a thin
   white bar on the dark homepage band (a dark one on light sections) with nothing behind it. */
.rail[data-rail] { scrollbar-width: auto; }
.rail[data-rail]::-webkit-scrollbar { height: 6px; background: transparent; }
.rail[data-rail]::-webkit-scrollbar-track { background: transparent; }
.rail[data-rail]::-webkit-scrollbar-thumb { background: transparent; border-radius: 999px; }
.rail[data-rail]:hover::-webkit-scrollbar-thumb { background: rgba(14, 26, 31, .45); }
.front .rail[data-rail]:hover::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .9); }
@supports (scrollbar-color: red blue) {
	.rail[data-rail] { scrollbar-width: thin; scrollbar-color: transparent transparent; }
	.rail[data-rail]:hover { scrollbar-color: rgba(14, 26, 31, .45) transparent; }
	.front .rail[data-rail]:hover { scrollbar-color: rgba(255, 255, 255, .9) transparent; }
}

/* 1.52.4 answer box at the top of a guide (Snowport): the facts searchers want, before the story. */
.answer-box { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: 12px; padding: 14px 18px 4px; margin: 0 0 1.4em; }
.answer-box > p:first-child, .prose .answer-box > p:first-child { margin: 0 0 6px; font-family: var(--cond); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; color: var(--amber-deep); }
.answer-box ul { margin: 0 0 10px; padding-left: 18px; }
.answer-box li { margin: 4px 0; }

/* 1.0.9: homepage date chips over the hero photo */
.home-jump { margin-top: 18px; }
.photo-head .home-jump .chip { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .3); }
