:root {
  --navy: #353e43;
  --navy-light: #465158;
  --accent: #7a8f87;
  --accent-hover: #667972;
  --cta-accent: #7a8f87;
  --cta-hover: #667972;
  --bg: #eef2f0;
  --bg-white: #ffffff;
  --text: #20272b;
  --text-secondary: #56635d;
  --text-light: #78857f;
  --border: #ccd5d1;
  --border-light: #e0e7e4;
  --code-bg: #e7edeb;
  --hero-surface: linear-gradient(135deg, #2f363a 0%, #43504d 58%, #6d8179 145%);
  --hero-radial: radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 30%);
  --hero-shadow: 0 24px 60px rgba(15, 24, 29, 0.26);
  --executive-summary-bg: linear-gradient(135deg, #e9efec, #dde6e1);
  --taxonomy-muted-border: rgba(53, 62, 67, 0.14);
  --taxonomy-muted-bg: rgba(53, 62, 67, 0.06);
  --taxonomy-muted-bg-hover: rgba(53, 62, 67, 0.1);
  --section-panel-bg: rgba(255, 255, 255, 0.88);
  --section-panel-border: rgba(200, 209, 213, 0.9);
  --panel-shadow: 0 18px 40px rgba(15, 24, 29, 0.12);
  --soft-tint: rgba(122, 143, 135, 0.09);
  --soft-tint-strong: rgba(122, 143, 135, 0.13);
  --card-gradient-end: rgba(233, 239, 236, 0.96);
  --cookie-bg: #353e43;
  --max-width: 980px;
  --max-width-wide: 1320px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --radius: 8px;
}

html[data-theme="bronze"] {
  --navy: #46362b;
  --navy-light: #6a5443;
  --accent: #9f7650;
  --accent-hover: #896344;
  --cta-accent: #b88a5f;
  --cta-hover: #9e744d;
  --bg: #f6f1eb;
  --bg-white: #ffffff;
  --text: #31271f;
  --text-secondary: #67564a;
  --text-light: #8b7a6d;
  --border: #dccfc4;
  --border-light: #eee4da;
  --code-bg: #f3ece5;
  --hero-surface: linear-gradient(135deg, #3c2e24 0%, #5e4a3b 58%, #9f7650 145%);
  --hero-radial: radial-gradient(circle at top right, rgba(255, 255, 255, 0.2), transparent 30%);
  --hero-shadow: 0 24px 60px rgba(26, 39, 68, 0.2);
  --executive-summary-bg: linear-gradient(135deg, #f4ece4, #eee2d6);
  --taxonomy-muted-border: rgba(77, 54, 39, 0.1);
  --taxonomy-muted-bg: rgba(77, 54, 39, 0.05);
  --taxonomy-muted-bg-hover: rgba(77, 54, 39, 0.09);
  --section-panel-bg: rgba(255, 255, 255, 0.88);
  --section-panel-border: rgba(220, 207, 196, 0.92);
  --panel-shadow: 0 18px 40px rgba(26, 39, 68, 0.08);
  --soft-tint: rgba(159, 118, 80, 0.07);
  --soft-tint-strong: rgba(159, 118, 80, 0.1);
  --card-gradient-end: rgba(247, 241, 234, 0.92);
  --cookie-bg: #46362b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  transition: padding-top 0.3s ease;
}

body.cookie-banner-visible {
  padding-top: var(--cookie-banner-height, 0px);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent-hover);
}

img {
  max-width: 100%;
  height: auto;
}

.site-header {
  background: var(--navy);
  color: #fff;
}

.header-inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.site-nav a:hover {
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.3rem;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.article-page {
  max-width: var(--max-width-wide);
}

.home-page {
  max-width: var(--max-width-wide);
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  border: 1px solid var(--border-light);
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

article {
  margin-bottom: 2rem;
}

article header {
  margin-bottom: 1.5rem;
}

article header h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.article-meta {
  color: var(--text-light);
  font-size: 0.88rem;
  margin-top: 0.6rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.article-meta .separator {
  color: var(--border);
}

.article-meta-rich {
  margin-top: 1rem;
  gap: 0.6rem;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(21, 30, 35, 0.22);
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.82rem;
  font-weight: 600;
}

.audience-badge {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.executive-summary {
  background: var(--executive-summary-bg);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.2rem 1.5rem;
  margin-bottom: 2rem;
}

.article-detail {
  margin-bottom: 0;
}

.article-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
  padding: 2.4rem;
  border-radius: 28px;
  background: var(--hero-radial), var(--hero-surface);
  color: #fff;
  box-shadow: var(--hero-shadow);
}

.article-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.article-taxonomy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.taxonomy-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(21, 30, 35, 0.18);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.taxonomy-pill:hover {
  color: #fff;
  background: rgba(21, 30, 35, 0.3);
}

.taxonomy-pill-muted {
  border-color: var(--taxonomy-muted-border);
  background: var(--taxonomy-muted-bg);
  color: var(--navy);
}

.taxonomy-pill-muted:hover {
  color: var(--navy);
  background: var(--taxonomy-muted-bg-hover);
}

.article-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.05;
  margin-bottom: 0.9rem;
}

.home-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(210px, 0.5fr);
  gap: 1.2rem;
  align-items: end;
  padding: 2.4rem;
  border-radius: 30px;
  background: var(--hero-radial), var(--hero-surface);
  color: #fff;
  box-shadow: var(--hero-shadow);
}

.home-hero-copy h1 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(2.3rem, 4vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.home-hero-copy p {
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.75;
}

.home-eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-hero-card .home-eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.home-hero-stats {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-self: stretch;
  justify-content: flex-end;
}

.home-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.3rem;
  padding: 1.05rem 1rem;
  min-height: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.home-stat strong {
  font-family: "Montserrat", sans-serif;
  font-size: 1.2rem;
}

.home-stat span {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.35;
}

.article-lead {
  max-width: 68ch;
  font-size: 1.14rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.95fr) minmax(300px, 0.75fr);
  gap: 2rem;
  align-items: start;
}

.home-section-panel {
  padding: 1.7rem;
  border-radius: 28px;
  background: var(--section-panel-bg);
  border: 1px solid var(--section-panel-border);
  box-shadow: var(--panel-shadow);
}

.home-section-panel-soft {
  background: linear-gradient(180deg, var(--soft-tint), rgba(255, 255, 255, 0.94));
}

.home-section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.home-section-header .section-subtitle {
  max-width: 36ch;
  margin-bottom: 0;
  text-align: right;
}

.article-main-column {
  min-width: 0;
}

.article-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--section-panel-border);
  border-radius: 24px;
  box-shadow: var(--panel-shadow);
}

.article-body {
  padding: 2.15rem 2.45rem;
}

.article-body .entry-content > :first-child {
  margin-top: 0;
}

.article-body .entry-content > :last-child {
  margin-bottom: 0;
}

.article-tags-panel {
  margin-top: 1.2rem;
  padding: 1.3rem 1.5rem;
}

.article-tags-panel h3 {
  font-family: "Montserrat", sans-serif;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 1rem;
}

.article-sidebar-card {
  padding: 1.25rem 1.25rem 1.35rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--section-panel-border);
  border-radius: 22px;
  box-shadow: var(--panel-shadow);
}

.article-sidebar-card-accent {
  background: linear-gradient(180deg, var(--soft-tint-strong), rgba(255, 255, 255, 0.96));
}

.sidebar-eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-facts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.article-facts li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border-light);
}

.article-facts li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.article-facts strong {
  color: var(--navy);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.article-facts span {
  color: var(--text-secondary);
  font-size: 0.97rem;
}

.author-strip-stacked {
  margin-top: 0;
}

.author-strip-stacked .author-links {
  flex-wrap: wrap;
}

.toc-card .toc-content > nav > ul,
.toc-card .toc-content > ul {
  list-style: none;
  padding-left: 0;
}

.toc-card li {
  margin-bottom: 0.55rem;
}

.toc-card ul ul {
  margin-top: 0.45rem;
  padding-left: 0.9rem;
}

.toc-card a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.45;
}

.toc-card a:hover {
  color: var(--accent);
}

.executive-summary h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.executive-summary p,
.executive-summary ul {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.executive-summary ul {
  padding-left: 1.2rem;
}

.executive-summary li {
  margin-bottom: 0.3rem;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  font-family: "Montserrat", sans-serif;
  color: var(--navy);
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  letter-spacing: -0.01em;
}

.entry-content h2 {
  font-size: 1.5rem;
}

.entry-content h3 {
  font-size: 1.25rem;
}

.entry-content p {
  margin-bottom: 1.1rem;
}

.entry-content ul,
.entry-content ol {
  margin-bottom: 1.1rem;
  padding-left: 1.5rem;
}

.entry-content li {
  margin-bottom: 0.35rem;
}

.entry-content blockquote {
  border-left: 4px solid var(--accent);
  padding: 0.8rem 1.2rem;
  background: var(--code-bg);
  color: var(--text-secondary);
  margin: 1.2rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.entry-content pre {
  background: var(--navy);
  color: #e2e8f0;
  padding: 1.2rem;
  overflow-x: auto;
  border-radius: var(--radius);
  margin-bottom: 1.2rem;
  font-size: 0.88rem;
  line-height: 1.5;
}

.entry-content code {
  background: var(--code-bg);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  font-size: 0.88em;
}

.entry-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}

.entry-content strong {
  font-weight: 600;
}

.entry-content img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin: 0.5rem 0;
}

.image-caption {
  margin: 1.5rem 0;
  text-align: center;
}

.image-caption a {
  display: inline-block;
}

.image-caption figcaption {
  margin-top: 0.65rem;
  font-size: 0.88rem;
  color: var(--text-light);
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
  margin-bottom: 1.2rem;
}

.entry-content th,
.entry-content td {
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  text-align: left;
}

.entry-content th {
  background: var(--code-bg);
  color: var(--navy);
}

.entry-content hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

.entry-content iframe {
  width: 100%;
  max-width: 100%;
  border: 0;
}

.entry-content a {
  font-weight: 500;
}

.callout {
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.callout-takeaway {
  background: #f0f9f8;
  border-left: 4px solid var(--accent);
}

.callout-warning {
  background: #fef3cd;
  border-left: 4px solid #d97706;
}

.callout strong {
  display: block;
  margin-bottom: 0.3rem;
}

.tags {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tags a {
  display: inline-block;
  background: var(--bg);
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.tags a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  text-decoration: none;
}

.post-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

.home-post-list {
  gap: 1.1rem;
}

.home-post-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.3rem 1.35rem;
  border-radius: 24px;
  border: 1px solid var(--section-panel-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), var(--card-gradient-end));
  box-shadow: 0 18px 38px rgba(15, 24, 29, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.home-post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 44px rgba(15, 24, 29, 0.14);
}

.home-card-taxonomy {
  margin-bottom: 0.8rem;
}

.post-list li {
  transition: box-shadow 0.2s, transform 0.2s;
}

.post-list h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.3rem;
  line-height: 1.35;
}

.post-list h3 a {
  color: var(--navy);
}

.post-list h3 a:hover {
  color: var(--accent);
}

.post-list .meta {
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 500;
}

.post-list .summary {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-top: 0.4rem;
  line-height: 1.55;
}

.post-list .post-tags {
  margin-top: 0.5rem;
}

.post-list .post-tags a {
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 12px;
  background: var(--bg);
  color: var(--text-light);
  border: 1px solid var(--border);
}

/* Hugo's _internal/pagination.html emits ul.pagination > li.page-item > a.page-link */
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.pagination .page-item {
  display: flex;
}

.pagination .page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1;
  background: var(--bg-white);
  border: 1px solid var(--border);
  color: var(--text);
}

/* the arrow glyphs are wrapped in a span; keep them from inheriting link padding */
.pagination .page-link span {
  padding: 0;
}

.pagination .page-link[href]:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  text-decoration: none;
}

.pagination .page-item.active .page-link {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 700;
  cursor: default;
}

.pagination .page-item.disabled .page-link {
  opacity: 0.45;
  cursor: default;
}

.taxonomy-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.taxonomy-list a {
  display: inline-block;
  background: var(--bg-white);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all 0.2s;
}

.taxonomy-list a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  text-decoration: none;
}

.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  padding: 3.5rem 1.5rem;
  text-align: center;
}

.hero-inner,
.section-inner,
.footer-inner {
  max-width: var(--max-width-wide);
  margin: 0 auto;
}

.hero h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 1.8rem;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(21, 30, 35, 0.22);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-secondary:hover {
  background: rgba(21, 30, 35, 0.34);
  color: #fff;
}

.section {
  padding: 3rem 1.5rem;
}

.section-white {
  background: var(--bg-white);
}

.section-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.expertise-card {
  text-align: center;
  padding: 1.8rem 1.2rem;
}

.home-expertise-card {
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), var(--card-gradient-end));
  box-shadow: 0 18px 38px rgba(15, 24, 29, 0.1);
}

.expertise-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.expertise-icon svg {
  width: 2rem;
  height: 2rem;
  fill: currentColor;
}

.expertise-icon-guitar {
  color: var(--text);
}

.expertise-card h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.expertise-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.author-strip {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  border: 1px solid var(--border-light);
  margin-top: 2.5rem;
}

.author-strip .author-info h4 {
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
}

.author-strip .author-info p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: 0.3rem;
  line-height: 1.5;
}

.author-strip .author-links {
  margin-top: 0.5rem;
  display: flex;
  gap: 0.8rem;
}

.author-strip .author-links a {
  font-size: 0.82rem;
  font-weight: 500;
}

.entry-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  gap: 1rem;
}

.entry-nav-cards {
  gap: 1rem;
}

.entry-nav-card {
  padding: 1.1rem 1.2rem;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--panel-shadow);
}

.entry-nav .prev,
.entry-nav .next {
  max-width: 45%;
}

.entry-nav .label {
  display: block;
  color: var(--text-light);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}

.entry-nav a {
  color: var(--navy);
  font-weight: 500;
  font-size: 0.92rem;
}

.entry-nav a:hover {
  color: var(--accent);
}

.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.social-links {
  margin-bottom: 1rem;
}

.social-links a {
  display: inline-block;
  margin: 0 0.6rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.social-links a:hover {
  color: var(--accent);
  text-decoration: none;
}

.theme-reset-link {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.theme-reset-link:hover {
  color: var(--accent);
}

.theme-reset-link[hidden] {
  display: none !important;
}

.site-footer p {
  font-size: 0.82rem;
}

#cookie-consent-banner {
  position: fixed;
  top: 0;
  left: 50%;
  width: min(calc(100% - 2rem), var(--max-width-wide));
  z-index: 99999;
  background: var(--cookie-bg);
  color: rgba(255, 255, 255, 0.9);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.9rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  border-radius: 0 0 18px 18px;
  transition: opacity 0.3s, transform 0.3s;
  transform: translate3d(-50%, 0, 0);
}

#cookie-consent-banner strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
}

#cookie-consent-banner span {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

.consent-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.consent-actions button {
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

#cookie-accept {
  background: #556861;
  color: #fff;
}

#cookie-accept:hover {
  background: #475850;
}

#cookie-decline {
  background: rgba(0, 0, 0, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

#cookie-decline:hover {
  background: rgba(0, 0, 0, 0.28);
}

.consent-actions a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
  text-decoration: underline;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .article-hero {
    padding: 1.5rem 1.25rem;
    border-radius: 22px;
  }

  .home-hero-card {
    grid-template-columns: 1fr;
    padding: 1.5rem 1.25rem;
    border-radius: 24px;
  }

  .home-hero-stats {
    width: 100%;
  }

  .home-section-panel {
    padding: 1.25rem;
    border-radius: 22px;
  }

  .home-section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-section-header .section-subtitle {
    max-width: none;
    text-align: left;
  }

  .article-lead {
    font-size: 1rem;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }

  .article-body {
    padding: 1.35rem 1.2rem;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 2.5rem 1rem;
  }

  .hero h2 {
    font-size: 1.7rem;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding-top: 0.8rem;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 0.5rem 0;
    text-align: left;
  }

  .nav-toggle {
    display: block;
  }

  .container {
    padding: 1.5rem 1rem;
  }

  .entry-nav {
    flex-direction: column;
  }

  .entry-nav .prev,
  .entry-nav .next {
    max-width: 100%;
  }

  .author-strip {
    flex-direction: column;
  }

  article header h1 {
    font-size: 1.6rem;
  }

  #cookie-consent-banner {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
    width: calc(100% - 1rem);
    border-radius: 0 0 16px 16px;
  }

  .consent-actions {
    justify-content: center;
  }
}

.cover-widget {
  margin: 2.5rem 0;
  padding: clamp(0.4rem, 1vw, 0.85rem) clamp(1.5rem, 3vw, 2.75rem) clamp(1.5rem, 3vw, 2.75rem);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.92)),
    repeating-linear-gradient(
      180deg,
      rgba(32, 39, 43, 0.025) 0,
      rgba(32, 39, 43, 0.025) 3px,
      rgba(255, 255, 255, 0.12) 3px,
      rgba(255, 255, 255, 0.12) 11px
    );
  border: 1px solid rgba(53, 62, 67, 0.14);
  border-radius: 20px;
  box-shadow: 0 22px 46px rgba(15, 24, 29, 0.12);
}

.cover-widget-title {
  margin: 0;
  padding: 0 0 1.5rem;
  border-bottom: 1px solid rgba(53, 62, 67, 0.28);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.15rem, 5.2vw, 3.85rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: #171717;
  text-wrap: balance;
}

.cover-widget-body {
  display: grid;
  grid-template-columns: minmax(280px, 1.2fr) minmax(0, 0.9fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: center;
  padding-top: 2rem;
}

.cover-widget-media {
  display: flex;
  justify-content: center;
}

.cover-widget-photo-frame {
  width: min(100%, 410px);
  padding: 0.5rem 0.5rem 0.9rem;
  background: linear-gradient(180deg, #ffffff 0%, #f4f4f1 100%);
  border: 8px solid #ffffff;
  border-bottom-width: 16px;
  box-shadow: 0 26px 38px rgba(15, 24, 29, 0.18);
  transform: rotate(-4deg);
}

.cover-widget-photo-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.cover-widget-copy {
  display: flex;
  align-items: center;
}

.cover-widget-detail {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.15rem, 1.9vw, 1.7rem);
  line-height: 1.2;
  font-style: italic;
  color: rgba(23, 23, 23, 0.94);
  text-wrap: balance;
}

.cover-widget-detail::before,
.cover-widget-detail::after {
  content: "\"";
  color: rgba(53, 62, 67, 0.55);
}

@media (max-width: 1080px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .article-sidebar {
    position: static;
    top: auto;
  }
}

@media (max-width: 960px) {
  .cover-widget-body {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-top: 1.5rem;
  }

  .cover-widget-copy {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .cover-widget {
    margin: 2rem 0;
    padding: 0.45rem 1.25rem 1.25rem;
    border-radius: 18px;
  }

  .cover-widget-title {
    font-size: clamp(1.9rem, 9vw, 2.8rem);
    line-height: 1.12;
  }

  .cover-widget-body {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-top: 1.5rem;
  }

  .cover-widget-copy {
    text-align: center;
  }

  .cover-widget-photo-frame {
    width: min(88vw, 320px);
    transform: rotate(-3deg);
  }
}
