/* Mucanto Blog — brand: dark #1d1d1d, lime #D5FE5F, Montserrat */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/montserrat-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/fonts/montserrat-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #1d1d1d;
  --bg-raised: #262626;
  --bg-sunken: #161616;
  --line: #343434;
  --text: #f4f4f1;
  --text-muted: #a9a9a3;
  --lime: #d5fe5f;
  --on-lime: #141414;
  --danger: #ff6b5b;
  --radius: 14px;
  --wrap: 1120px;
  --measure: 720px;
  --font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lime); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--lime); color: var(--on-lime); }
button, input, select, textarea { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--lime); color: var(--on-lime); padding: 8px 14px; border-radius: 8px; z-index: 20; }
.skip-link:focus { left: 8px; }

.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--lime); color: var(--on-lime); border: 1px solid var(--lime);
  font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer;
  padding: 12px 22px; border-radius: 999px; line-height: 1.2;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { background: #e4ff8f; color: var(--on-lime); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { background: var(--bg-raised); color: var(--text); }
.btn--outline { background: transparent; color: var(--lime); border-color: var(--lime); }
.btn--outline:hover { background: var(--lime); color: var(--on-lime); }
.btn--danger { background: transparent; color: var(--danger); border-color: #5a2a24; }
.btn--danger:hover { background: var(--danger); color: #1d1d1d; }
.btn-sm { padding: 8px 15px; font-size: 13.5px; }

.tag {
  display: inline-block; font-size: 12.5px; font-weight: 600; text-decoration: none;
  color: var(--text-muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px;
}
a.tag:hover { color: var(--on-lime); background: var(--lime); border-color: var(--lime); }
.tag-list { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }

.meta { font-size: 13px; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 6px 14px; }
.empty { color: var(--text-muted); }

.bars { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; }
.bars i { display: block; width: 3px; border-radius: 2px; background: var(--lime); }
.bars i:nth-child(4n+1) { height: 55%; } .bars i:nth-child(4n+2) { height: 100%; }
.bars i:nth-child(4n+3) { height: 40%; } .bars i:nth-child(4n+4) { height: 80%; }
.bars.big { gap: 7px; height: 56px; }
.bars.big i { width: 7px; border-radius: 4px; }
.bars.big i:nth-child(1) { height: 40%; } .bars.big i:nth-child(2) { height: 85%; } .bars.big i:nth-child(3) { height: 55%; }
.bars.big i:nth-child(4) { height: 100%; } .bars.big i:nth-child(5) { height: 30%; } .bars.big i:nth-child(6) { height: 70%; } .bars.big i:nth-child(7) { height: 45%; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(29, 29, 29, .9); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand-label { color: var(--on-lime); background: var(--lime); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; line-height: 1.4; }
.site-header nav { display: flex; align-items: center; gap: 12px; }
.site-header .nav-link { margin: 0 6px; }
.site-header .btn { white-space: nowrap; }
.nav-link { color: var(--text); text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; }
.nav-link:hover { color: var(--lime); }
.nav-search input {
  width: 170px; background: var(--bg-raised); border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; font-size: 14px; transition: width .2s ease, border-color .2s;
}
.nav-search input:focus { width: 220px; border-color: var(--lime); outline: none; }
@media (max-width: 860px) { .nav-search { display: none; } }
@media (max-width: 560px) {
  .nav-link { display: none; }
  .brand svg { height: 22px; width: auto; }
  .site-header .btn-sm { padding: 7px 11px; font-size: 12.5px; }
  .site-header nav { gap: 6px; }
  .brand-label { display: none; }
}

/* ---------- footer ---------- */
.site-footer { margin-top: 96px; border-top: 1px solid var(--line); background: var(--bg-sunken); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .about p { color: var(--text-muted); font-size: 14px; max-width: 340px; margin: 16px 0 0; }
.site-footer h2 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin: 4px 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: 8px; }
.site-footer li a { color: var(--text); text-decoration: none; font-size: 14px; }
.site-footer li a:hover { color: var(--lime); }
.legal { display: flex; justify-content: space-between; align-items: center; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-muted); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .site-footer .about { grid-column: 1 / -1; } }

/* ---------- home ---------- */
.hero { padding-top: 72px; padding-bottom: 48px; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.hero h1 { font-size: clamp(34px, 5.4vw, 60px); line-height: 1.07; letter-spacing: -.025em; font-weight: 800; margin: 18px 0; max-width: 900px; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero p { color: var(--text-muted); font-size: 18px; max-width: 620px; margin: 0; }
.hero--small { padding-bottom: 32px; }
.hero--small h1 { font-size: clamp(28px, 4vw, 40px); }
.posts { display: flex; flex-direction: column; gap: 28px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } .hero { padding-top: 48px; } }

.card {
  position: relative; display: flex; flex-direction: column; background: var(--bg-raised);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color .2s ease, transform .2s ease;
}
.card:hover { border-color: #4a4a4a; transform: translateY(-2px); }
.card .cover { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-sunken); }
.card .cover img { width: 100%; height: 100%; object-fit: cover; }
.placeholder { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(120% 90% at 85% 10%, rgba(213, 254, 95, .16), transparent 60%), linear-gradient(135deg, #222 0%, #191919 100%); }
.card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h2 { font-size: 19px; line-height: 1.3; margin: 0; }
.card h2 a { color: var(--text); text-decoration: none; }
.card h2 a::after { content: ''; position: absolute; inset: 0; }
.card h2 a:hover { color: var(--lime); }
.card p { margin: 0; color: var(--text-muted); font-size: 15px; line-height: 1.55; flex: 1; }
.card .meta { margin-top: 6px; }
.card.featured { display: grid; grid-template-columns: 1.15fr 1fr; }
.card.featured .cover { aspect-ratio: auto; min-height: 320px; }
.card.featured .body { padding: 34px 36px; justify-content: center; }
.card.featured h2 { font-size: 30px; line-height: 1.2; }
.card.featured p { flex: 0; font-size: 16px; }
@media (max-width: 860px) {
  .card.featured { display: flex; }
  .card.featured .cover { aspect-ratio: 16 / 9; min-height: 0; }
  .card.featured .body { padding: 22px; }
  .card.featured h2 { font-size: 23px; }
}

.banner {
  margin-top: 56px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  padding: 34px 36px; border-radius: var(--radius); border: 1px solid var(--line);
  background: radial-gradient(90% 140% at 100% 0%, rgba(213, 254, 95, .14), transparent 55%), var(--bg-raised);
}
.banner h2 { margin: 8px 0 6px; font-size: 26px; line-height: 1.2; }
.banner p { margin: 0; color: var(--text-muted); max-width: 620px; }

.pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.pager-info { color: var(--text-muted); font-size: 14px; }

.list-head { padding-top: 48px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.list-head h1 { font-size: clamp(32px, 5vw, 50px); margin: 0; letter-spacing: -.02em; font-weight: 800; line-height: 1.1; }
.list-head p { margin: 0; color: var(--text-muted); }
.crumbs { font-size: 13.5px; color: var(--text-muted); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.crumbs a { color: var(--text-muted); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--lime); }
.big-search { display: flex; gap: 10px; width: 100%; max-width: 620px; margin-top: 8px; }
.big-search input { flex: 1; min-width: 0; background: var(--bg-raised); border: 1px solid var(--line); border-radius: 999px; padding: 12px 18px; }
.big-search input:focus { outline: none; border-color: var(--lime); }

/* ---------- article ---------- */
.post { padding-top: 40px; }
.post-head { max-width: var(--measure); }
.post-head h1 { font-size: clamp(30px, 4.6vw, 48px); line-height: 1.12; letter-spacing: -.02em; font-weight: 800; margin: 12px 0 16px; }
.lede { font-size: 20px; line-height: 1.5; color: #d6d6d0; margin: 0 0 20px; }
.post-cover { margin: 36px 0 8px; }
.post-cover img { width: 100%; max-width: 1080px; border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; }
.post-layout { margin-top: 36px; }
.post-main { max-width: var(--measure); }
.toc { background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 22px; margin-bottom: 32px; font-size: 15px; }
.toc summary { cursor: pointer; font-weight: 700; color: var(--lime); }
.toc ol { margin: 12px 0 2px; padding-left: 20px; }
.toc li { margin: 4px 0; }
.toc li.lvl-3 { margin-left: 16px; list-style: circle; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--lime); }
.post-tags { margin-top: 40px; }
.author-box { margin-top: 40px; padding: 24px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-sunken); }
.author-box h2 { margin: 6px 0 6px; font-size: 20px; }
.author-box p { margin: 0 0 8px; color: var(--text-muted); font-size: 15px; }
.cta { margin-top: 48px; display: grid; gap: 16px; }
.cta.double { grid-template-columns: 1fr 1fr; }
.cta-block {
  padding: 28px; border-radius: var(--radius); border: 1px solid var(--line);
  background: radial-gradient(110% 120% at 100% 0%, rgba(213, 254, 95, .14), transparent 55%), var(--bg-raised);
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
}
.cta-block h2 { margin: 0; font-size: 22px; line-height: 1.25; }
.cta-block p { margin: 0 0 8px; color: var(--text-muted); font-size: 15px; line-height: 1.55; }
@media (max-width: 640px) { .cta.double { grid-template-columns: 1fr; } .lede { font-size: 18px; } .post { padding-top: 28px; } }
.share { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; font-size: 14px; }
.share span { color: var(--text-muted); font-weight: 600; }
.share a { font-weight: 600; text-decoration: none; }
.copy-link { background: none; border: 0; padding: 0; color: var(--lime); font-weight: 600; cursor: pointer; font-size: 14px; }
.adjacent { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.adjacent a { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); font-weight: 600; font-size: 15px; line-height: 1.4; }
.adjacent a:hover { border-color: var(--lime); }
.adjacent a.right { text-align: right; }
.adjacent small { display: block; color: var(--text-muted); font-weight: 500; font-size: 12.5px; margin-bottom: 4px; }
.related { margin-top: 80px; }
.related > h2 { font-size: 24px; margin: 0 0 22px; }

/* Article typography (also used inside the editor) */
.prose { font-size: 18px; line-height: 1.75; }
.prose > * + * { margin-top: 1.15em; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose pre, .prose figure { margin-bottom: 0; }
.prose h2 { font-size: 1.55em; line-height: 1.25; margin: 2em 0 0; letter-spacing: -.01em; }
.prose h3 { font-size: 1.2em; line-height: 1.3; margin: 1.7em 0 0; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li > p { margin: 0; }
.prose li::marker { color: var(--lime); }
.prose strong { color: #fff; }
.prose blockquote { margin-left: 0; margin-right: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--lime); color: #dcdcd6; font-style: italic; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.prose img { border-radius: var(--radius); margin-left: auto; margin-right: auto; }
.prose code { font-size: .88em; background: var(--bg-raised); padding: 2px 6px; border-radius: 6px; }
.prose pre { background: var(--bg-sunken); border: 1px solid var(--line); padding: 18px; border-radius: var(--radius); overflow-x: auto; font-size: 14px; line-height: 1.6; }
.prose pre code { background: none; padding: 0; }
.prose div[data-youtube-video] { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.prose div[data-youtube-video] iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose th { color: var(--lime); }
@media (max-width: 640px) { body { font-size: 16px; } .prose { font-size: 17px; } }

/* ---------- 404 / thanks ---------- */
.nf { padding-top: 110px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.nf-bars { height: 40px; gap: 5px; }
.nf-bars i { width: 6px; }
.nf h1 { font-size: clamp(32px, 5vw, 52px); margin: 8px 0 0; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.nf p { color: var(--text-muted); margin: 0 0 12px; max-width: 560px; }

/* ---------- forms (guest + admin) ---------- */
.write { padding-top: 40px; max-width: 860px; }
.write-intro h1 { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.1; margin: 12px 0 14px; font-weight: 800; letter-spacing: -.02em; }
.write-intro p { color: #d6d6d0; }
.checks { list-style: none; padding: 0; margin: 18px 0 32px; display: grid; gap: 6px; font-size: 15px; color: var(--text-muted); }
.checks li::before { content: '✓'; color: var(--lime); font-weight: 800; margin-right: 10px; }
.editor-form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px 8px; margin: 0 0 22px; background: var(--bg-raised); }
.editor-form legend { padding: 0 8px; font-weight: 700; color: var(--lime); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.editor-form label, .editor-form .field { display: block; margin-bottom: 18px; font-weight: 600; font-size: 14.5px; }
.editor-form .label { display: block; margin-bottom: 6px; }
.editor-form small { color: var(--text-muted); font-weight: 500; }
.editor-form small.good { color: var(--lime); }
.editor-form small.warn { color: #f5c26b; }
.req { color: var(--lime); }
.editor-form input:not([type=checkbox]):not([type=file]), .editor-form textarea, .editor-form select {
  display: block; width: 100%; margin-top: 6px; background: var(--bg-sunken); border: 1px solid var(--line);
  border-radius: 10px; padding: 11px 13px; font-weight: 500; font-size: 15px;
}
.editor-form input:focus, .editor-form textarea:focus, .editor-form select:focus { outline: none; border-color: var(--lime); }
.editor-form textarea { resize: vertical; line-height: 1.5; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 640px) { .two { grid-template-columns: 1fr; } }
.consent { display: flex !important; gap: 12px; align-items: flex-start; font-weight: 500 !important; color: var(--text-muted); font-size: 14px !important; }
.consent input { margin-top: 4px; accent-color: var(--lime); width: 18px; height: 18px; flex-shrink: 0; }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 18px; }
.hint { color: var(--text-muted); font-size: 13.5px; margin: 6px 0 0; font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.cf-turnstile { margin-top: 12px; min-height: 65px; }
.alert { border-radius: 12px; padding: 14px 18px; margin: 0 0 22px; font-size: 15px; }
.alert ul { margin: 6px 0 0; padding-left: 20px; }
.alert--error { background: #3a1d1a; border: 1px solid #6b2e27; color: #ffd4cf; }
.alert--ok { background: #2a3313; border: 1px solid #4d5f1e; color: #e9ffb0; }

.cover-field { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 6px 0 10px; }
.cover-field img { width: 100%; max-height: 260px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.cover-field input[type=file] { font-size: 13.5px; color: var(--text-muted); max-width: 100%; }
.cover-field input[type=file]::file-selector-button { background: var(--bg-sunken); color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; margin-right: 10px; cursor: pointer; font-weight: 600; }

/* Editor */
.toolbar {
  position: sticky; top: 68px; z-index: 5; display: flex; flex-wrap: wrap; gap: 4px; align-items: center;
  margin-top: 6px; padding: 6px; background: #202020; border: 1px solid var(--line); border-bottom: 0; border-radius: 10px 10px 0 0;
}
.toolbar button {
  background: transparent; border: 1px solid transparent; color: var(--text); border-radius: 7px;
  padding: 5px 9px; font-size: 13.5px; font-weight: 700; cursor: pointer; min-width: 32px;
}
.toolbar button:hover { background: var(--bg-raised); border-color: var(--line); }
.toolbar button.on { background: var(--lime); color: var(--on-lime); }
.toolbar .sep { width: 1px; height: 20px; background: var(--line); margin: 0 4px; }
.editor { background: var(--bg-sunken); border: 1px solid var(--line); border-radius: 0 0 10px 10px; font-weight: 400; }
.editor:focus-within { border-color: #575757; }
.editor-content { min-height: 380px; padding: 22px 24px; outline: none; }
.editor-content img.ProseMirror-selectednode, .editor-content div[data-youtube-video].ProseMirror-selectednode { outline: 3px solid var(--lime); }
.editor-content p.is-editor-empty:first-child::before { content: attr(data-placeholder); color: #6d6d68; float: left; height: 0; pointer-events: none; }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 50; background: #2b2b2b; color: var(--text); border: 1px solid var(--line); padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.toast.ok { border-color: var(--lime); }
.toast.fail { border-color: var(--danger); color: #ffd4cf; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* App store badges in the footer */
.store-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.store-badges a { display: block; border-radius: 9px; transition: transform .15s ease; }
.store-badges a:hover { transform: translateY(-1px); }
.store-badges img { height: 44px; width: auto; }

/* Cookie consent banner — Mucanto theme */
#cc-main {
  --cc-font-family: var(--font);
  --cc-bg: #262626;
  --cc-primary-color: #f4f4f1;
  --cc-secondary-color: #b5b5af;
  --cc-btn-primary-bg: #d5fe5f;
  --cc-btn-primary-color: #141414;
  --cc-btn-primary-border-color: #d5fe5f;
  --cc-btn-primary-hover-bg: #e4ff8f;
  --cc-btn-primary-hover-color: #141414;
  --cc-btn-primary-hover-border-color: #e4ff8f;
  --cc-btn-secondary-bg: #d5fe5f;
  --cc-btn-secondary-color: #141414;
  --cc-btn-secondary-border-color: #d5fe5f;
  --cc-btn-secondary-hover-bg: #e4ff8f;
  --cc-btn-secondary-hover-color: #141414;
  --cc-btn-secondary-hover-border-color: #e4ff8f;
  --cc-btn-border-radius: 999px;
  --cc-modal-border-radius: 14px;
  --cc-separator-border-color: #343434;
  --cc-toggle-on-bg: #d5fe5f;
  --cc-toggle-on-knob-bg: #141414;
  --cc-toggle-off-bg: #4a4a4a;
  --cc-toggle-off-knob-bg: #f4f4f1;
  --cc-toggle-enabled-icon-color: #d5fe5f;
  --cc-toggle-disabled-icon-color: #f4f4f1;
  --cc-toggle-readonly-bg: #3a3a3a;
  --cc-toggle-readonly-knob-bg: #8a8a85;
  --cc-toggle-readonly-knob-icon-color: #3a3a3a;
  --cc-section-category-border: #343434;
  --cc-cookie-category-block-bg: #1d1d1d;
  --cc-cookie-category-block-border: #343434;
  --cc-cookie-category-block-hover-bg: #222;
  --cc-cookie-category-block-hover-border: #444;
  --cc-cookie-category-expanded-block-bg: #1d1d1d;
  --cc-cookie-category-expanded-block-hover-bg: #222;
  --cc-overlay-bg: rgba(0, 0, 0, .7);
  --cc-footer-bg: #1d1d1d;
  --cc-footer-color: #b5b5af;
  --cc-footer-border-color: #343434;
  --cc-link-color: #d5fe5f;
  --cc-webkit-scrollbar-bg: #3a3a3a;
  --cc-webkit-scrollbar-hover-bg: #555;
}
#cc-main .cm, #cc-main .pm { border: 1px solid #343434; }
#cc-main .cm__btn, #cc-main .pm__btn { font-weight: 700; }
#cc-main .cm__btn[data-role="show"] { background: transparent; color: #f4f4f1; border-color: #4a4a4a; }
#cc-main .cm__btn[data-role="show"]:hover { background: #2f2f2f; color: #f4f4f1; border-color: #5a5a5a; }

/* Topic filter bar (home + topic pages) */
.topic-bar { width: 100%; }
.topic-bar .tag-list { margin-top: 24px; }
.tag-count { opacity: .6; font-weight: 500; margin-left: 2px; }
.tag.is-active { background: var(--lime); border-color: var(--lime); color: var(--on-lime); }
.tag.is-active .tag-count { opacity: .7; }
.back-link { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--text-muted); margin-bottom: 8px; }
.back-link:hover { color: var(--lime); }
@media (max-width: 640px) {
  /* one swipeable row on phones instead of many wrapped lines */
  .topic-bar .tag-list { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; margin-right: -20px; padding-right: 20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .topic-bar .tag-list::-webkit-scrollbar { display: none; }
  .topic-bar .tag { white-space: nowrap; }
}

/* Language menu */
.lang-switch { position: relative; }
.lang-switch summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 700; padding: 7px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--text);
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary:hover, .lang-switch[open] summary { border-color: var(--lime); }
.lang-caret { font-size: 10px; opacity: .7; }
.lang-switch ul {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; list-style: none; margin: 0; padding: 6px;
  background: #262626; border: 1px solid var(--line); border-radius: 12px; min-width: 170px; box-shadow: 0 14px 40px rgba(0,0,0,.45);
}
.lang-switch li a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: 14px; font-weight: 600; }
.lang-switch li a:hover { background: #303030; color: var(--lime); }
.lang-switch li a.is-active { color: var(--lime); }
@media (max-width: 560px) { .lang-switch summary { padding: 6px 8px; font-size: 12px; } }

.translated-note { font-size: 13.5px; color: var(--text-muted); margin: 14px 0 0; padding: 8px 12px; border-left: 3px solid var(--lime); background: var(--bg-raised); border-radius: 0 8px 8px 0; }

/* Musician Spotlight */
.book-box {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 18px 22px; border-radius: var(--radius); border: 1px solid var(--lime);
  background: radial-gradient(120% 160% at 100% 0%, rgba(213, 254, 95, .16), transparent 60%), var(--bg-raised);
}
.book-box--top { margin-bottom: 32px; }
.book-box--bottom { margin-top: 40px; }
.book-box strong { display: block; font-size: 17px; color: #fff; }
.book-box span { font-size: 14px; color: var(--text-muted); }
.card--spotlight { border-color: #4b5a20; }
.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.promo-grid .banner { margin-top: 0; flex-direction: column; align-items: flex-start; justify-content: space-between; }
.banner--spotlight { border-color: #4b5a20; background: radial-gradient(90% 140% at 100% 0%, rgba(213, 254, 95, .22), transparent 55%), var(--bg-raised); }
@media (max-width: 800px) { .promo-grid { grid-template-columns: 1fr; } }

.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 10px 0 14px; }
.photo-grid:empty { display: none; }
.photo-grid figure { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: var(--bg-sunken); border: 1px solid var(--line); display: grid; place-items: center; font-size: 12.5px; color: var(--text-muted); text-align: center; padding: 0; }
.photo-grid figure img { width: 100%; height: 100%; object-fit: cover; }
.photo-grid figure.is-cover { border-color: var(--lime); }
.photo-grid figure.is-cover::after { content: 'Cover'; position: absolute; left: 6px; top: 6px; background: var(--lime); color: var(--on-lime); font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 6px; }
.photo-grid figure.is-error { color: #ffb4aa; padding: 8px; }
.photo-grid figure button { position: absolute; right: 6px; top: 6px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0,0,0,.7); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; }
@media (max-width: 640px) { .photo-grid { grid-template-columns: repeat(2, 1fr); } }
.spotlight-apply fieldset small { font-weight: 500; }

/* Phones: header on two rows so it fits every language (logo / language + buttons) */
@media (max-width: 560px) {
  .bar { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; row-gap: 10px; }
  .site-header nav { width: 100%; gap: 8px; }
  .site-header nav .btn { flex: 1; }
  .site-header .lang-switch summary { padding: 7px 10px; }
  .brand-label { display: inline-block; }
  html { scroll-padding-top: 120px; }
  .toolbar { position: static; }
  .lang-switch ul { left: 0; right: auto; }
}
.editor-form fieldset { min-width: 0; }
.editor-form input[type=file] { max-width: 100%; }
@media (max-width: 560px) {
  .site-header nav .btn { flex: 1 1 0; min-width: 0; white-space: normal; text-align: center; line-height: 1.2; padding: 8px 8px; font-size: 12.5px; }
}
/* Tablets: drop "Write for us" from the header (it's in the footer and on the home page) */
@media (max-width: 960px) { .site-header .nav-link { display: none; } }

/* Search button: shown when the header search box is hidden (tablets and phones) */
.search-btn { display: none; width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line); color: var(--text); align-items: center; justify-content: center; }
.search-btn:hover { border-color: var(--lime); color: var(--lime); }
@media (max-width: 860px) {
  .search-btn { display: inline-flex; margin-left: auto; }
  .bar { gap: 12px; }
}
/* Never let anything make the page wider than the screen */
html, body { overflow-x: clip; }
.wrap { min-width: 0; }
.grid > *, .posts > * { min-width: 0; }
.card h2, .card p { overflow-wrap: anywhere; }

/* Gig profile card (Musician Spotlight) */
.gig-card {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); margin-bottom: 32px;
  border: 1px solid var(--lime); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text);
  background: radial-gradient(120% 160% at 100% 0%, rgba(213, 254, 95, .14), transparent 60%), var(--bg-raised);
  transition: transform .15s ease;
}
.gig-card:hover { transform: translateY(-2px); color: var(--text); }
.gig-card__img { display: block; aspect-ratio: 1200 / 630; background: var(--bg-sunken); }
.gig-card__img img { width: 100%; height: 100%; object-fit: cover; }
.gig-card__body { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 20px 22px; align-items: flex-start; }
.gig-card__site { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
.gig-card strong { font-size: 18px; line-height: 1.3; color: #fff; }
.gig-card__desc { font-size: 14px; line-height: 1.5; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.gig-card .btn { margin-top: 6px; }
@media (max-width: 640px) { .gig-card { grid-template-columns: 1fr; } }
.post-cover figcaption { margin-top: 8px; font-size: 12.5px; color: var(--text-muted); text-align: right; }
