/* ==========================================================================
   ISQA theme (isqa.or.id). Same structure as the ISQA Conference theme,
   in ISQA green instead of conference violet.
   ========================================================================== */

:root {
	--ink: #0c1912;
	--ink-2: #13251b;
	--ink-3: #1d3527;
	--green: #3db54a;
	--green-600: #1f8a3b;
	--green-700: #176b2e;
	--green-50: #edf8ef;
	--lime: #8dc63f;
	--amber: #ffc107;

	--text: #14201a;
	--muted: #56625b;
	--line: #e3e9e5;
	--bg: #ffffff;
	--tint: #f5f8f6;

	--on-dark: #f2f7f3;
	--on-dark-muted: #a9bcb0;
	--line-dark: rgba(255, 255, 255, .12);

	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(12, 25, 18, .06), 0 8px 24px rgba(12, 25, 18, .06);
	--shadow-lg: 0 24px 60px rgba(12, 25, 18, .22);

	--font-head: "Montserrat", system-ui, sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

	--container: 1180px;
	--gutter: 24px;
	--header-h: 72px;
}

/* chapter colours: text colour --c, soft background --c-bg */
.c-green  { --c: #1f8a3b; --c-bg: #e7f6ea; }
.c-blue   { --c: #1d4ed8; --c-bg: #e6eeff; }
.c-violet { --c: #5b3ff0; --c-bg: #efebff; }
.c-amber  { --c: #a35400; --c-bg: #fff3d6; }
.c-pink   { --c: #be185d; --c-bg: #ffe6f1; }
.c-cyan   { --c: #0e7490; --c-bg: #e0f7fc; }

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 16px/1.6 var(--font-body);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--green-600); text-underline-offset: 3px; }
a:hover { color: var(--green-700); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--green-600); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 600px) { :root { --gutter: 16px; } }

.icon { width: 1.1em; height: 1.1em; flex: none; }
.muted { color: var(--muted); }
.h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; letter-spacing: -.02em; }
.h3 { font-size: 22px; font-weight: 800; margin-top: 40px; }
.h4 { font-size: 17px; font-weight: 700; }

/* ---------- buttons & chips ---------- */

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .8em 1.3em; border-radius: 999px; border: 1.5px solid transparent;
	font: 600 15px/1.2 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: transform .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 1.05em; height: 1.05em; }
.btn-sm { padding: .55em 1em; font-size: 14px; }
.btn-lg { padding: .95em 1.5em; font-size: 16px; }
.btn-icon { padding: .55em; }
.btn-primary { background: var(--green-600); color: #fff; }
.btn-primary:hover { background: var(--green-700); color: #fff; }
.btn-light { background: rgba(255, 255, 255, .08); color: var(--on-dark); border-color: rgba(255, 255, 255, .28); }
.btn-light:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); color: #fff; }
.btn-ghost { background: #fff; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green-600); color: var(--green-600); }

.pill {
	display: inline-flex; align-items: center; gap: .4em; padding: .35em .85em; border-radius: 999px; margin-bottom: 20px;
	font: 600 13px/1.2 var(--font-body); background: rgba(141, 198, 63, .16); color: var(--lime);
}
.eyebrow {
	margin: 0 0 .75em; font: 700 13px/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--green-600);
}
.badge { display: inline-block; padding: 3px 9px; border-radius: 6px; font-size: 12px; font-weight: 700; letter-spacing: .02em; background: var(--tint); color: var(--muted); border: 1px solid var(--line); }
.badge-on-dark { background: rgba(255, 255, 255, .08); color: var(--on-dark); border-color: rgba(255, 255, 255, .2); }
.badge-postponed { background: #fff3d6; color: #7a4100; border-color: #ffe0a3; }
.badge-cancelled { background: #fee2e2; color: #8f1d1d; border-color: #fecaca; }
.chapter-tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--c-bg); color: var(--c); }
.chapter-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ---------- header ---------- */

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .9); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; margin-right: auto; text-decoration: none; color: var(--green-600); }
.brand-logo { height: 40px; width: auto; }
.brand-text { font: 800 24px/1 var(--font-head); letter-spacing: .02em; }

.site-nav { display: flex; align-items: center; gap: 20px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
	display: inline-flex; align-items: center; padding: 8px 12px; border-radius: 8px;
	color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500;
}
.nav-links a:hover { color: var(--text); background: var(--tint); }
.nav-links .current-menu-item > a, .nav-links .current_page_item > a { color: var(--green-600); font-weight: 600; }
.nav-cta { display: flex; gap: 8px; }

.nav-toggle { display: none; background: none; border: 0; color: var(--text); padding: 8px; cursor: pointer; }
.nav-toggle .icon { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }

@media (max-width: 900px) {
	.nav-toggle { display: inline-flex; }
	.site-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 12px; padding: 12px var(--gutter) 20px;
		background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
		max-height: calc(100vh - var(--header-h)); overflow-y: auto;
	}
	.site-header.is-open .site-nav { display: flex; }
	.site-header.is-open .icon-open { display: none; }
	.site-header.is-open .icon-close { display: block; }
	.nav-links { flex-direction: column; align-items: stretch; }
	.nav-links a { padding: 12px 8px; font-size: 16px; }
	.nav-cta .btn { width: 100%; }
}

/* ---------- hero ---------- */

.hero, .page-hero {
	position: relative; overflow: hidden; isolation: isolate;
	background:
		radial-gradient(60% 70% at 85% 10%, rgba(61, 181, 74, .38), transparent 70%),
		radial-gradient(40% 50% at 10% 95%, rgba(141, 198, 63, .2), transparent 70%),
		var(--ink);
	color: var(--on-dark);
}
.hero::before, .page-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 88px; }
.hero h1 { font-size: clamp(38px, 5.6vw, 66px); font-weight: 800; letter-spacing: -.03em; line-height: 1.04; margin-bottom: 20px; }
.hl { background: linear-gradient(90deg, var(--lime), var(--green)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: 18px; color: var(--on-dark-muted); max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero-media { position: relative; }
.hero-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--line-dark); }
.next-card {
	position: absolute; left: -28px; bottom: -28px; max-width: 340px; display: flex; flex-direction: column; gap: 4px;
	padding: 18px 20px; border-radius: 14px; background: #fff; color: var(--text); text-decoration: none; box-shadow: var(--shadow-lg);
	transition: transform .15s;
}
.next-card:hover { transform: translateY(-2px); color: var(--text); }
.next-label { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-600); }
.next-card strong { font: 700 17px/1.3 var(--font-head); }
.next-meta { color: var(--muted); font-size: 14px; }
.hero-media:not(:has(.hero-photo)) .next-card { position: static; max-width: none; }
@media (max-width: 900px) {
	.hero-inner { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; padding-bottom: 64px; }
	.next-card { position: static; max-width: none; margin-top: -40px; margin-inline: 16px; }
}

.page-hero .container { padding-top: 56px; padding-bottom: 64px; }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; letter-spacing: -.02em; max-width: 22ch; }
.page-hero .eyebrow { color: var(--lime); }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 24px; color: var(--on-dark-muted); text-decoration: none; font-size: 14px; }
.back-link:hover { color: #fff; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 24px; list-style: none; margin: 16px 0 0; }
.hero-facts li { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.hero-facts .icon { color: var(--lime); }
.page-hero .meetup-tags { margin-bottom: 16px; }
.page-hero .chapter-tag { background: rgba(255, 255, 255, .92); }

/* ---------- stats ---------- */

.stats-band { background: var(--ink-2); color: var(--on-dark); border-top: 1px solid var(--line-dark); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin: 0; }
/* Number above label; justify to the top so numbers line up when a label wraps. */
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; padding: 28px 20px; border-left: 1px solid var(--line-dark); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat dd { margin: 0 0 4px; font: 800 clamp(28px, 3.4vw, 40px)/1.1 var(--font-head); color: #fff; }
.stat dt { color: var(--on-dark-muted); font-size: 14px; }
@media (max-width: 700px) {
	.stats { grid-template-columns: 1fr 1fr; }
	.stat { padding: 20px 0; border-left: 0; border-top: 1px solid var(--line-dark); }
	.stat:nth-child(-n+2) { border-top: 0; }
}

/* ---------- sections ---------- */

.section { padding: 88px 0; }
.section-tight { padding: 40px 0 88px; }
.section-tint { background: var(--tint); }
@media (max-width: 700px) { .section { padding: 60px 0; } }

.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.02em; }
.section-head .lead, .lead { font-size: 18px; color: var(--muted); }
.section-head .lead { margin: 0; }
.section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; margin-bottom: 36px; }
.section-head-row .section-head { margin-bottom: 0; }
.group-title { font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 40px 0 20px; display: flex; align-items: center; gap: 16px; }
.group-title:first-of-type { margin-top: 8px; }
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ---------- meetup cards ---------- */

.meetup-list { list-style: none; display: grid; gap: 14px; }
.meetup-card {
	display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 20px; align-items: center;
	padding: 20px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s;
}
.meetup-card:hover { border-color: #c4dccb; box-shadow: var(--shadow); }
.meetup-card.is-past { background: var(--tint); }
.meetup-card.is-cancelled .meetup-title a { text-decoration: line-through; color: var(--muted); }
.date-chip { display: flex; flex-direction: column; align-items: center; padding: 8px 0 10px; border-radius: 12px; background: var(--green-50); color: var(--green-700); line-height: 1.1; text-align: center; }
.is-past .date-chip { background: #eef1ef; color: var(--muted); }
.date-month { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.date-day { font: 800 30px/1.05 var(--font-head); }
.date-dow { font-size: 12px; }
.meetup-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 8px; }
.meetup-title { font-size: 19px; font-weight: 700; margin: 0 0 6px; line-height: 1.3; }
.meetup-title a { color: var(--text); text-decoration: none; }
.meetup-title a:hover { color: var(--green-600); }
.meetup-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; color: var(--muted); font-size: 14px; }
.meetup-meta li { display: inline-flex; align-items: center; gap: 6px; }
.meetup-meta .icon { color: var(--green-600); }
.meetup-cta { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
@media (max-width: 720px) {
	.meetup-card { grid-template-columns: 60px minmax(0, 1fr); gap: 14px; padding: 16px; align-items: start; }
	.date-day { font-size: 24px; }
	.meetup-cta { grid-column: 1 / -1; flex-direction: row; }
	.meetup-cta .btn { flex: 1; }
}

.empty-state { padding: 40px 24px; border-radius: var(--radius); border: 1.5px dashed #c9d6cd; background: #fff; text-align: center; }
.empty-state > .icon { width: 36px; height: 36px; margin: 0 auto 12px; color: var(--green-600); }
.empty-state p { margin: 0 0 8px; color: var(--muted); }
.empty-state p strong { color: var(--text); }
.empty-state .btn { margin-top: 8px; }
.empty-state.is-inline { margin-top: 20px; padding: 18px 20px; text-align: left; border-style: solid; }
.empty-state.is-inline p { margin: 0; }

/* ---------- announcements (calendar switched off) ---------- */

.channel-grid { margin-top: 0; }
.channel-grid .contact-item { background: #fff; }
.announce-note { margin: 20px 0 0; color: var(--muted); }

/* ---------- highlights ---------- */

.highlight-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
/* Exactly four cards: 4 across, then 2 × 2, never 3 + 1. */
.highlight-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .highlight-grid:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .highlight-grid:has(> :nth-child(4):last-child) { grid-template-columns: 1fr; } }
.highlight { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.highlight h3 { font-size: 24px; font-weight: 800; }
.highlight p { color: var(--muted); }
.highlight .btn { margin-top: auto; max-width: 100%; white-space: normal; text-align: left; }
.highlight.is-dark { background: radial-gradient(80% 80% at 100% 0, rgba(107, 74, 255, .45), transparent 70%), #0d0e1f; border-color: #0d0e1f; color: #f4f4ff; }
.highlight.is-dark .eyebrow { color: #00d9ff; }
.highlight.is-dark p { color: #b4b6d6; }
.highlight.is-dark .btn-primary { background: #6b4aff; }
.highlight.is-dark .btn-primary:hover { background: #5534f0; }
.highlight.is-green { background: linear-gradient(160deg, var(--green-50), #fff 70%); border-color: #cfe8d5; }
.highlight-note { margin: auto 0 0; padding: .45em .9em; border-radius: 999px; background: #fff; border: 1px solid #cfe8d5; font-size: 14px; font-weight: 600; color: var(--green-700) !important; }

/* ---------- about block ---------- */

.about-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.about-grid.is-single { grid-template-columns: minmax(0, 760px); }
.about-grid .lead { margin-bottom: 24px; }
.video-frame { margin: 0; }
.video-frame video { width: 100%; border-radius: var(--radius); background: var(--ink); box-shadow: var(--shadow-lg); }
.video-frame figcaption { margin-top: 10px; color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- chapters ---------- */

.chapter-grid { list-style: none; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin: 0 0 1.5em; padding: 0; }
.chapter-card { position: relative; padding: 24px 24px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; }
.chapter-card::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--c); }
.chapter-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.chapter-city { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--c); font-weight: 600; margin-bottom: 10px; }
.chapter-summary { color: var(--muted); font-size: 15px; }
.chapter-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; font-size: 14px; font-weight: 600; }
.chapter-links a, .chapter-links span { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.chapter-links span { color: var(--muted); }
.prose .chapter-grid { font-size: 16px; }

/* ---------- join band ---------- */

.join-band { background: var(--green-600); color: #fff; }
.join-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding-top: 48px; padding-bottom: 48px; }
.join-inner h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-bottom: 4px; }
.join-inner p { margin: 0; color: #dff3e3; }
.join-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.join-links a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3); color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; }
.join-links a:hover { background: #fff; color: var(--green-700); }

/* ---------- calendar page ---------- */

.cal-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.chip-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-filter a {
	display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
	color: var(--text); text-decoration: none; font-size: 14px; font-weight: 600;
}
.chip-filter a i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.chip-filter a:hover { border-color: var(--green-600); }
.chip-filter a[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.view-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--tint); border: 1px solid var(--line); }
.view-toggle a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; }
.view-toggle a[aria-current] { background: #fff; color: var(--text); box-shadow: var(--shadow); }

.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.cal-head h2 { font-size: 26px; font-weight: 800; margin: 0; }
.cal-nav { display: flex; gap: 8px; }

.calendar { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.cal-weekdays, .cal-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-weekdays span { padding: 10px 12px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--tint); border-bottom: 1px solid var(--line); }
.cal-day { min-height: 116px; padding: 8px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.cal-week .cal-day:last-child { border-right: 0; }
.cal-week:last-child .cal-day { border-bottom: 0; }
.cal-day.is-outside { background: #fafbfa; }
.cal-day.is-outside .cal-date { color: #b3bdb7; }
.cal-date { font-size: 13px; font-weight: 600; color: var(--muted); padding: 2px 4px; align-self: flex-start; }
.cal-dow, .cal-month { display: none; }
.cal-day.is-today .cal-date { background: var(--green-600); color: #fff; border-radius: 999px; min-width: 26px; text-align: center; }
.cal-event {
	display: flex; flex-direction: column; padding: 6px 8px; border-radius: 8px; border-left: 3px solid var(--c);
	background: var(--c-bg); color: var(--text); text-decoration: none; font-size: 13px; line-height: 1.3;
}
.cal-event:hover { color: var(--text); filter: brightness(.97); }
.cal-event.is-cancelled .cal-title { text-decoration: line-through; }
.cal-time { font-weight: 700; color: var(--c); font-size: 12px; }
.cal-title { font-weight: 600; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; }
.cal-chapter { font-size: 11px; color: var(--muted); }

/* Phones: the grid becomes a list of the days that have meetups. */
@media (max-width: 760px) {
	.cal-weekdays { display: none; }
	.cal-week { display: block; }
	.cal-day { display: none; min-height: 0; border-right: 0; padding: 14px 16px; }
	.cal-day.has-meetups:not(.is-outside) { display: flex; }
	.cal-dow, .cal-month { display: inline; }
	.cal-date { font-size: 14px; color: var(--text); padding: 0 0 4px; }
	.cal-day.is-today .cal-date { background: none; color: var(--green-600); }
	.cal-event { font-size: 15px; padding: 10px 12px; }
	.calendar.is-empty { display: none; }
	.cal-head h2 { font-size: 22px; }
}

.admin-hint { margin-top: 24px; font-size: 14px; }

/* ---------- single meetup ---------- */

.meetup-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.meetup-poster { margin: 0 0 28px; }
.meetup-poster img { border-radius: var(--radius); border: 1px solid var(--line); }
.meetup-aside { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 24px); }
.side-card { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.side-card[class*="c-"] { border-top: 4px solid var(--c); }
.side-card p:last-child { margin-bottom: 0; }
.key-list { margin: 0; display: grid; gap: 12px; }
.key-list div { display: grid; gap: 2px; }
.key-list dt { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.key-list dd { margin: 0; font-weight: 600; display: grid; gap: 2px; }
.key-list dd .muted { font-weight: 400; font-size: 14px; }
.key-list dd a { font-size: 14px; }
.notice-box { padding: 14px 18px; border-radius: 10px; margin-bottom: 24px; }
.notice-box.is-warning { background: #fff3d6; border: 1px solid #ffe0a3; color: #5b3200; }
.speaker-list { list-style: none; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.speaker-list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: 12px; }
.speaker-list li > span:last-child { display: grid; gap: 2px; }
.speaker-list .muted { font-size: 14px; }
.speaker-topic { font-size: 14px; font-style: italic; }
.avatar { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--lime)); color: #fff; font: 800 18px var(--font-head); }
@media (max-width: 900px) {
	.meetup-layout { grid-template-columns: 1fr; gap: 32px; }
	.meetup-aside { position: static; }
}

/* ---------- pages & block content ---------- */

.page-body { padding-top: 56px; padding-bottom: 88px; }
.prose { max-width: 780px; font-size: 17px; }
.page-body .prose { margin: 0 auto; }
.prose > * + * { margin-top: 0; }
.prose p, .prose li { color: #2f3b34; }
.prose h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-top: 56px; letter-spacing: -.02em; }
.prose h3 { font-size: 20px; font-weight: 700; margin-top: 32px; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose ul:not([class]), .prose ol:not([class]), .prose .wp-block-list:not(.timeline) { padding-left: 1.3em; margin-bottom: 1em; }
.prose li { margin-bottom: .35em; }
.prose .lead { font-size: 20px; color: var(--muted); }
.prose img { border-radius: var(--radius-sm); }
.prose .wp-block-image { margin: 28px 0; }
.prose figcaption { color: var(--muted); font-size: 14px; margin-top: 8px; }

.wp-block-quote { margin: 32px 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--green); }
.wp-block-quote p { font: 600 20px/1.5 var(--font-head); color: var(--text) !important; }
.wp-block-quote cite { display: block; font-style: normal; font-size: 14px; color: var(--muted); }

.wp-block-columns { display: flex; flex-wrap: wrap; gap: 20px; margin: 28px 0; }
.wp-block-column { flex: 1 1 260px; min-width: 0; }
.card-columns .wp-block-column { padding: 24px; border-radius: var(--radius); background: var(--tint); border: 1px solid var(--line); }
.card-columns .wp-block-column h3 { margin-top: 0; color: var(--green-700); }
.card-columns .wp-block-column p:last-child { margin-bottom: 0; }

/* Classic themes wrap group content in .wp-block-group__inner-container. */
.value-grid { margin: 24px 0; }
.value-grid > .wp-block-group__inner-container { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.value-grid .wp-block-group .wp-block-group__inner-container { height: 100%; padding: 20px; border-radius: 12px; border: 1px solid var(--line); }
.value-grid h3 { font-size: 17px; margin: 0 0 6px; }
.value-grid p { font-size: 15px; margin: 0; color: var(--muted); }

.prose .timeline, .timeline { list-style: none; position: relative; padding: 0 0 0 28px; margin: 24px 0 32px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--green), var(--lime)); border-radius: 2px; }
.timeline li { position: relative; padding-bottom: 22px; margin: 0; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -28px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--green); }
.timeline li:last-child::before { background: var(--lime); border-color: var(--lime); }
.timeline strong { font-family: var(--font-head); color: var(--green-700); }

.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0; }
.wp-block-button__link { display: inline-flex; align-items: center; padding: .8em 1.3em; border-radius: 999px; background: var(--green-600); color: #fff; font: 600 15px/1.2 var(--font-body); text-decoration: none; border: 1.5px solid var(--green-600); }
.wp-block-button__link:hover { background: var(--green-700); color: #fff; }
.is-style-outline .wp-block-button__link { background: #fff; color: var(--green-600); }
.is-style-outline .wp-block-button__link:hover { background: var(--green-50); color: var(--green-700); }

.wp-block-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.wp-block-table th, .wp-block-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.wp-block-separator { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.alignwide { max-width: 1100px; }

.contact-grid { list-style: none; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); padding: 0 !important; margin: 24px 0 8px; }
.contact-grid li { margin: 0; }
.contact-item { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; color: var(--text); font-size: 15px; transition: border-color .15s; }
.contact-item:hover { border-color: var(--green-600); color: var(--text); }
.contact-item > .icon { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--green-50); color: var(--green-600); }
.contact-item span { display: grid; min-width: 0; color: var(--muted); overflow-wrap: anywhere; }
.contact-item strong { color: var(--text); }

.post-item + .post-item { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }

/* ---------- footer ---------- */

.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: 64px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-title { font: 500 17px/1.4 var(--font-head); color: #fff; }
.footer-title strong { font-weight: 800; color: var(--lime); margin-right: 4px; }
.footer-head { color: #fff; font-weight: 700; margin-bottom: 12px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.social { display: flex !important; flex-wrap: wrap; gap: 8px !important; margin-top: 16px !important; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line-dark); border-radius: 50%; }
.social a:hover { border-color: #fff; color: #fff; }
.social .icon { width: 17px; height: 17px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--line-dark); font-size: 13px; }
.footer-bottom p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
