/*
 * The Daily Chronicle — design system
 * Vintage 1950s American newspaper turned into a web publication.
 */

:root {
  --paper: #E8DCC4;
  --paper-light: #F1E8D4;
  --ink: #171512;
  --ink-soft: #39342C;
  --ink-muted: #5F584D;
  --rule: #8E8474;
  --masthead-red: #9E2B22;
  --masthead-red-dark: #741D18;
  --cream: #F5F0E6;
  --radius: 2px;

  --font-masthead: "UnifrakturCook", "Old English Text MT", serif;
  --font-headline: "Playfair Display", "Times New Roman", Georgia, serif;
  --font-body: "Source Serif 4", "Libre Baskerville", Georgia, serif;
  --font-ui: "IBM Plex Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: var(--rule);
}

html {
  background-color: var(--paper);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Subtle aged-paper texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  background-image:
    radial-gradient(ellipse at 20% 10%, rgba(196, 168, 120, 0.25), transparent 55%),
    radial-gradient(ellipse at 80% 90%, rgba(180, 150, 100, 0.25), transparent 55%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.25 0 0 0 0 0.2 0 0 0 0 0.12 0 0 0 0.09 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

h1, h2, h3, h4 {
  font-family: var(--font-headline);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input { font: inherit; }

.dc-shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.dc-main {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  width: 100%;
  max-width: 1400px;
  flex: 1;
  padding: 1.5rem 1rem;
}

@media (min-width: 768px) {
  .dc-main {
    padding: 2rem 1.5rem;
  }
}

/* ========== Utilities ========== */

.sepia-photo {
  filter: grayscale(1) sepia(0.35) contrast(1.08) brightness(0.96);
  transition: filter 300ms ease;
}

.sepia-photo-hover:hover img {
  filter: grayscale(1) sepia(0.2) contrast(1.1) brightness(1.02);
}

.kicker {
  display: inline-block;
  background-color: var(--masthead-red);
  color: var(--cream);
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  line-height: 1.2;
}

.section-title {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.4rem;
  margin-bottom: 0.9rem;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  height: 1px;
  width: 100%;
  background-color: var(--rule);
}

.rule-double {
  border-top: 3px double var(--ink);
}

.rule-thin {
  border-top: 1px solid var(--rule);
}

.paper-box {
  background-color: var(--paper-light);
  border: 1px solid var(--rule);
  box-shadow: inset 0 0 0 3px var(--paper-light), inset 0 0 0 4px var(--rule);
}

.meta-text {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--ink-muted);
  letter-spacing: 0.01em;
}

.btn-ink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background-color: var(--ink);
  color: var(--cream);
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.6rem 1rem;
  border: 1px solid var(--ink);
  transition: background-color 200ms ease;
}

.btn-ink:hover {
  background-color: var(--ink-soft);
}

.btn-outline-ink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background-color: transparent;
  color: var(--ink);
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--ink);
  transition: background-color 200ms ease, color 200ms ease;
}

.btn-outline-ink:hover {
  background-color: var(--ink);
  color: var(--cream);
}

.input-paper {
  width: 100%;
  background-color: var(--paper-light);
  border: 1px solid var(--rule);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.85rem;
  padding: 0.55rem 0.75rem;
  outline: none;
}

.input-paper::placeholder {
  color: var(--ink-muted);
}

.input-paper:focus {
  border-color: var(--ink);
}

.headline-link {
  transition: color 200ms ease;
}

.headline-link:hover {
  color: var(--masthead-red-dark);
}

.prose-article {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--ink);
}

.prose-article p {
  margin-bottom: 1.25rem;
}

.prose-article p:first-of-type::first-letter {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 3.6rem;
  float: left;
  line-height: 0.85;
  padding-right: 0.5rem;
  padding-top: 0.25rem;
  color: var(--ink);
}

.prose-article h2 {
  font-size: 1.6rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--rule);
}

.prose-article h3 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.prose-article a {
  color: var(--masthead-red-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose-article strong { font-weight: 700; }
.prose-article em { font-style: italic; }

.prose-article ul {
  list-style: none;
  margin: 0 0 1.25rem 0;
  padding: 0;
}

.prose-article ul li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.5rem;
}

.prose-article ul li::before {
  content: "■";
  position: absolute;
  left: 0;
  top: 0.1em;
  font-size: 0.6rem;
  color: var(--masthead-red);
}

.prose-article blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem 1.25rem 1.75rem;
  border-left: 3px solid var(--masthead-red);
  background-color: var(--paper-light);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.5;
}

.prose-article blockquote footer {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  font-style: normal;
  color: var(--ink-muted);
  text-align: right;
}

.prose-article figure {
  margin: 2rem 0;
}

.prose-article figure img {
  width: 100%;
  height: auto;
  border: 1px solid var(--rule);
}

.prose-article figcaption {
  font-style: italic;
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-top: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--rule);
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========== Header ========== */

.dc-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--ink);
}

.dc-header__inner {
  margin: 0 auto;
  max-width: 1400px;
  padding: 1rem 1rem 0.75rem;
}

@media (min-width: 768px) {
  .dc-header__inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.dc-header__grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .dc-header__grid {
    grid-template-columns: 1fr auto 1fr;
  }
}

.dc-header__motto {
  display: none;
}

@media (min-width: 768px) {
  .dc-header__motto {
    display: block;
  }
}

.dc-header__motto p {
  display: inline-block;
  border: 1px solid var(--rule);
  padding: 0.5rem 1rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-style: italic;
  line-height: 1.375;
  color: var(--ink-soft);
}

.dc-header__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.dc-header__brand-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .dc-header__brand-row {
    gap: 1rem;
  }
}

.dc-header__globe {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--ink);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .dc-header__globe {
    width: 3.5rem;
    height: 3.5rem;
  }
}

.dc-header__masthead {
  font-family: var(--font-masthead);
  font-size: 2.35rem;
  line-height: 1;
  color: var(--ink);
}

@media (min-width: 640px) {
  .dc-header__masthead { font-size: 3rem; }
}

@media (min-width: 768px) {
  .dc-header__masthead { font-size: 3.75rem; }
}

@media (min-width: 1024px) {
  .dc-header__masthead { font-size: 4.5rem; }
}

.dc-header__tagline {
  margin-top: 0.5rem;
  font-family: var(--font-headline);
  font-size: 0.6rem;
  letter-spacing: 0.42em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .dc-header__tagline { font-size: 0.75rem; }
}

.dc-header__edition {
  display: none;
}

@media (min-width: 768px) {
  .dc-header__edition {
    display: block;
    justify-self: end;
  }
}

.dc-header__edition-box {
  border: 1px solid var(--rule);
  padding: 0.5rem 1rem;
  font-family: var(--font-headline);
  font-size: 0.62rem;
  line-height: 1.625;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

.dc-header__edition-mobile {
  text-align: center;
  font-family: var(--font-headline);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  color: var(--ink-muted);
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .dc-header__edition-mobile { display: none; }
}

/* ========== Navigation ========== */

.dc-nav {
  position: relative;
  z-index: 50;
  border-bottom: 2px solid var(--ink);
  background-color: var(--paper);
}

.dc-nav__inner {
  margin: 0 auto;
  max-width: 1400px;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .dc-nav__inner {
    padding: 0 1.5rem;
  }
}

.dc-nav__desktop {
  display: none;
  align-items: stretch;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .dc-nav__desktop { display: flex; }
}

.dc-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.dc-nav__list > li {
  display: flex;
  align-items: stretch;
}

.dc-nav__list > li + li {
  border-left: 1px solid rgba(142, 132, 116, 0.6);
}

.dc-nav__link {
  display: block;
  padding: 0.625rem 0.75rem;
  font-family: var(--font-headline);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink);
  transition: color 200ms ease, background-color 200ms ease;
}

@media (min-width: 1024px) {
  .dc-nav__link { padding-left: 1rem; padding-right: 1rem; }
}

.dc-nav__link:hover {
  color: var(--masthead-red-dark);
}

.dc-nav__link.is-active {
  background-color: var(--masthead-red-dark);
  color: var(--cream);
}

.dc-nav__link.is-active:hover {
  color: var(--cream);
}

.dc-nav__search-btn {
  padding: 0 0.5rem;
  color: var(--ink);
  transition: color 200ms ease;
  display: flex;
  align-items: center;
}

.dc-nav__search-btn:hover {
  color: var(--masthead-red-dark);
}

.dc-nav__search-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.dc-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
  flex-shrink: 0;
  position: relative;
  min-height: 2.5rem;
}

.dc-nav__icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.55rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: color 200ms ease, background-color 200ms ease;
  align-self: stretch;
}

.dc-nav__icon-btn:hover,
.dc-nav__icon-btn[aria-expanded="true"] {
  color: var(--masthead-red-dark);
}

.dc-nav__icon-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Inline search expands to the left of the icons */
.dc-nav-search {
  display: flex;
  align-items: center;
  width: 0;
  max-width: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  border: 1px solid transparent;
  background: var(--paper);
  transition: width 220ms ease, max-width 220ms ease, opacity 180ms ease, margin 220ms ease;
}

.dc-nav-search.is-open {
  width: min(14.5rem, 46vw);
  max-width: min(14.5rem, 46vw);
  margin-right: 0.35rem;
  opacity: 1;
  pointer-events: auto;
  border-color: var(--ink);
  overflow: visible;
}

.dc-nav-search[hidden] {
  display: flex !important;
}

.dc-nav-search:not(.is-open) {
  width: 0;
  max-width: 0;
  margin-right: 0;
  opacity: 0;
  pointer-events: none;
  border-color: transparent;
}

.dc-nav-search__input {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  height: 2rem;
  padding: 0 0.55rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
}

.dc-nav-search__input::placeholder {
  color: var(--ink-muted);
}

.dc-nav-search__go {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-left: 1px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  cursor: pointer;
}

.dc-nav-search__go svg {
  width: 0.95rem;
  height: 0.95rem;
}

/* Account dropdown — newspaper theme */
.dc-user-menu {
  position: relative;
  display: flex;
  align-items: stretch;
  z-index: 60;
}

.dc-user-menu__dropdown {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  z-index: 70;
  min-width: 15.5rem;
  padding: 0.85rem 0 0.45rem;
  background: var(--paper-light);
  border: 1px solid var(--ink);
  box-shadow:
    inset 0 0 0 3px var(--paper-light),
    inset 0 0 0 4px var(--rule),
    0 10px 24px rgba(23, 21, 18, 0.22);
}

.dc-user-menu__dropdown[hidden] {
  display: none !important;
}

.dc-user-menu__profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.15rem 0.95rem 0.75rem;
}

.dc-user-menu__avatar {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--rule);
  background: var(--cream);
}

.dc-user-menu__avatar svg {
  display: block;
  width: 100%;
  height: 100%;
}

.dc-user-menu__meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.dc-user-menu__name-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  flex-wrap: wrap;
}

.dc-user-menu__name {
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dc-user-menu__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.4rem;
  border: 1px solid var(--masthead-red-dark);
  background: var(--masthead-red-dark);
  color: var(--cream);
  font-family: var(--font-headline);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.dc-user-menu__email {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--ink-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dc-user-menu__divider {
  height: 0;
  margin: 0.15rem 0.85rem 0.35rem;
  border: 0;
  border-top: 1px solid var(--rule);
}

.dc-user-menu__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.95rem;
  font-family: var(--font-headline);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 140ms ease, color 140ms ease;
}

.dc-user-menu__item svg {
  flex-shrink: 0;
  color: var(--ink-muted);
}

.dc-user-menu__item:hover,
.dc-user-menu__item:focus {
  background: color-mix(in srgb, var(--ink) 8%, var(--paper-light));
  color: var(--masthead-red-dark);
  outline: none;
}

.dc-user-menu__item:hover svg,
.dc-user-menu__item:focus svg {
  color: var(--masthead-red-dark);
}

.dc-nav__mobile-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .dc-nav__mobile-bar { display: none; }
}

.dc-nav__toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 0;
  font-family: var(--font-headline);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ink);
  text-transform: uppercase;
}

.dc-nav__toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

.dc-nav__mobile-menu {
  display: none;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--rule);
}

.dc-nav__mobile-menu.is-open {
  display: grid;
}

@media (min-width: 768px) {
  .dc-nav__mobile-menu,
  .dc-nav__mobile-menu.is-open {
    display: none !important;
  }
}

.dc-nav__mobile-menu li {
  border-bottom: 1px solid rgba(142, 132, 116, 0.6);
}

.dc-nav__mobile-menu li:nth-child(even) {
  border-left: 1px solid rgba(142, 132, 116, 0.6);
}

/* ========== Layout grids ========== */

.dc-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .dc-layout {
    grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
    gap: 2rem;
  }
}

.dc-layout__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.dc-layout__side {
  min-width: 0;
}

@media (min-width: 1024px) {
  .dc-layout__side {
    border-left: 1px solid var(--rule);
    padding-left: 2rem;
  }
}

.dc-aside {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

/* Hero + featured side */

.dc-hero-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .dc-hero-row {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  }
}

.dc-featured-side {
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .dc-featured-side {
    border-left: 1px solid var(--rule);
    padding-left: 1.5rem;
  }
}

.dc-featured-side__item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
}

.dc-featured-side__item:first-child {
  padding-top: 0;
}

.dc-featured-side__item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

/* Category columns */

.dc-cat-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-top: 1.25rem;
}

@media (min-width: 640px) {
  .dc-cat-cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .dc-cat-cols {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }

  .dc-cat-cols__col {
    padding-right: 1.25rem;
  }

  .dc-cat-cols__col + .dc-cat-cols__col {
    border-left: 1px solid var(--rule);
    padding-left: 1.25rem;
  }

  .dc-cat-cols__col:last-child {
    padding-right: 0;
  }
}

/* Editorial + big feature */

.dc-editorial-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-top: 1.5rem;
}

@media (min-width: 1024px) {
  .dc-editorial-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr);
  }
}

.dc-editorial-row__right {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .dc-editorial-row__right {
    border-left: 1px solid var(--rule);
    padding-left: 2rem;
  }
}

/* ========== Featured article ========== */

.dc-featured {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--rule);
}

.dc-featured__img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

@media (min-width: 640px) {
  .dc-featured__img { aspect-ratio: 16 / 11; }
  .dc-featured--large .dc-featured__img { aspect-ratio: 16 / 8; }
}

.dc-featured__gradient {
  pointer-events: none;
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 75%;
  background: linear-gradient(to top, rgba(28, 24, 18, 0.94) 0%, rgba(28, 24, 18, 0.6) 45%, transparent 100%);
}

.dc-featured__body {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1rem;
}

@media (min-width: 640px) {
  .dc-featured__body { padding: 1.5rem; }
}

.dc-featured__title {
  margin-top: 0.75rem;
  color: var(--cream);
  font-size: 1.55rem;
}

@media (min-width: 640px) {
  .dc-featured__title { font-size: 1.875rem; }
}

@media (min-width: 1024px) {
  .dc-featured__title { font-size: 2.4rem; }
}

.dc-featured--large .dc-featured__title {
  font-size: 1.25rem;
}

@media (min-width: 640px) {
  .dc-featured--large .dc-featured__title { font-size: 1.5rem; }
}

@media (min-width: 1024px) {
  .dc-featured--large .dc-featured__title { font-size: 1.75rem; }
}

.dc-featured__title a:hover {
  opacity: 0.85;
}

.dc-featured__body .dc-meta {
  margin-top: 0.75rem;
}

.dc-featured__excerpt {
  margin-top: 0.5rem;
  max-width: 42rem;
  font-family: var(--font-body);
  color: rgba(245, 240, 230, 0.85);
  line-height: 1.625;
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .dc-featured__excerpt {
    font-size: 0.95rem;
    -webkit-line-clamp: unset;
    display: block;
  }
}

.dc-featured--large .dc-featured__excerpt {
  font-size: 0.85rem;
}

/* ========== Article cards ========== */

.dc-card {
  display: flex;
  gap: 0.75rem;
}

.dc-card__photo {
  display: block;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid var(--rule);
}

.dc-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dc-card--side .dc-card__photo {
  width: 6rem;
  height: 5rem;
}

@media (min-width: 640px) {
  .dc-card--side .dc-card__photo {
    width: 7rem;
    height: 6rem;
  }
}

.dc-card--thumb .dc-card__photo {
  width: 5rem;
  height: 4rem;
}

.dc-card--list {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
}

@media (min-width: 640px) {
  .dc-card--list {
    grid-template-columns: 8rem 1fr;
  }
}

.dc-card--list .dc-card__photo {
  height: 5rem;
}

@media (min-width: 640px) {
  .dc-card--list .dc-card__photo {
    height: 6rem;
  }
}

.dc-card--column {
  display: block;
}

.dc-card--column .dc-card__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.dc-card--column .dc-card__body {
  margin-top: 0.75rem;
}

.dc-card__body {
  min-width: 0;
}

.dc-card__title {
  margin-top: 0.375rem;
  font-size: 0.98rem;
  line-height: 1.375;
  font-weight: 700;
}

.dc-card--list .dc-card__title {
  font-size: 1.125rem;
}

.dc-card--column .dc-card__title {
  margin-top: 0.5rem;
  font-size: 1.05rem;
}

.dc-card--thumb .dc-card__title {
  margin-top: 0.125rem;
  font-size: 0.88rem;
}

.dc-card__cat-label {
  font-family: var(--font-headline);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--masthead-red);
  text-transform: uppercase;
}

.dc-card__excerpt {
  margin-top: 0.375rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.625;
  color: var(--ink-soft);
}

.dc-card--list .dc-card__excerpt {
  font-size: 0.85rem;
}

.dc-list-divide > * + * {
  border-top: 1px solid var(--rule);
}

.dc-list-divide-soft > * + * {
  border-top: 1px solid rgba(142, 132, 116, 0.6);
}

/* ========== Meta ========== */

.dc-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--ink-muted);
}

.dc-meta--dark {
  color: rgba(245, 240, 230, 0.85);
}

.dc-meta__item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.dc-meta__item svg {
  width: 0.875rem;
  height: 0.875rem;
  flex-shrink: 0;
}

.dc-meta__item--border {
  border-left: 1px solid currentColor;
  opacity: 1;
  padding-left: 1rem;
  border-left-color: rgba(95, 88, 77, 0.4);
}

.dc-meta--dark .dc-meta__item--border {
  border-left-color: rgba(245, 240, 230, 0.4);
}

/* ========== Editorial ========== */

.dc-editorial {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.dc-editorial__badge {
  display: inline-block;
  background-color: var(--ink);
  color: var(--cream);
  font-family: var(--font-headline);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
}

.dc-editorial__title {
  margin-top: 0.75rem;
  font-size: 1.5rem;
  line-height: 1.25;
}

@media (min-width: 1024px) {
  .dc-editorial__title { font-size: 1.7rem; }
}

.dc-editorial__text {
  margin-top: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.625;
  color: var(--ink-soft);
}

.dc-editorial__sign {
  margin-top: 0.75rem;
  text-align: right;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-style: italic;
  color: var(--ink-muted);
}

.dc-editorial__opinion {
  padding-top: 1.25rem;
}

.dc-editorial__author-row {
  margin-top: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.dc-editorial__avatar {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  border-radius: 9999px;
  border: 1px solid var(--rule);
  object-fit: cover;
}

.dc-editorial__opinion-title {
  font-size: 1.05rem;
  line-height: 1.375;
}

.dc-editorial__by {
  margin-top: 0.25rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.dc-editorial__readmore {
  margin-top: 0.75rem;
  display: inline-block;
  font-family: var(--font-headline);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
}

.dc-editorial__quote {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  min-height: 11.5rem;
  margin: 0;
  padding: 1.5rem 1.35rem 1.25rem;
  background-color: var(--paper);
  border: 1px solid var(--ink);
  box-shadow:
    inset 0 0 0 3px var(--paper),
    inset 0 0 0 4px var(--ink);
}

.dc-editorial__quote-mark {
  position: absolute;
  top: 0.85rem;
  left: 1rem;
  font-family: var(--font-headline);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: color-mix(in srgb, var(--ink) 35%, var(--paper));
  pointer-events: none;
}

.dc-editorial__quote-text {
  margin: 0;
  padding: 0.35rem 0.35rem 0;
  font-family: var(--font-headline);
  font-size: 1.15rem;
  font-weight: 700;
  font-style: italic;
  line-height: 1.4;
  color: var(--ink);
  text-align: center;
}

.dc-editorial__quote-foot {
  margin: 0;
  margin-top: auto;
  padding-top: 0.35rem;
  text-align: right;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
}

/* ========== Latest ========== */

.dc-latest__list {
  /* divide via children borders */
}

/* ========== Breadcrumbs ========== */

.dc-crumbs {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.dc-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
}

.dc-crumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.dc-crumbs a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.dc-crumbs__current {
  color: var(--ink-soft);
}

/* ========== Category page ========== */

.dc-cat-header {
  margin-top: 1rem;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 0.75rem;
}

.dc-cat-header h1 {
  font-size: 2.25rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (min-width: 640px) {
  .dc-cat-header h1 { font-size: 3rem; }
}

.dc-cat-header p {
  margin-top: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-style: italic;
  color: var(--ink-muted);
}

.dc-cat-body {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* ========== Article page ========== */

.dc-article-header {
  margin-top: 1.25rem;
}

.dc-article-header h1 {
  margin-top: 1rem;
  font-size: 2rem;
  line-height: 1.05;
}

@media (min-width: 640px) {
  .dc-article-header h1 { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
  .dc-article-header h1 { font-size: 3.1rem; }
}

.dc-article-header__excerpt {
  margin-top: 1rem;
  max-width: 48rem;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.625;
  color: var(--ink-soft);
}

@media (min-width: 640px) {
  .dc-article-header__excerpt { font-size: 1.25rem; }
}

.dc-article-header__meta {
  margin-top: 1.25rem;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 0.75rem 0;
  font-size: 0.78rem;
}

.dc-article-figure {
  margin-top: 1.5rem;
}

.dc-article-figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--rule);
}

.dc-article-figure figcaption {
  margin-top: 0.5rem;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-style: italic;
  color: var(--ink-muted);
}

.dc-article-body {
  margin-top: 2rem;
  width: 100%;
  max-width: none;
}

.dc-article-tags {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  border-top: 1px solid var(--rule);
  padding-top: 1rem;
}

.dc-article-tags__label {
  font-family: var(--font-headline);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dc-article-tags__tag {
  border: 1px solid var(--rule);
  padding: 0.125rem 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--ink-soft);
}

/* Reader comments */
.dc-comments {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
}

.dc-comments__count {
  font-weight: 400;
  color: var(--ink-muted);
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.85rem;
}

.dc-comments__empty {
  font-family: var(--font-body);
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.dc-comments__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dc-comments__item {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule);
}

.dc-comments__item:last-child {
  border-bottom: none;
}

.dc-comments__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  margin-bottom: 0.4rem;
}

.dc-comments__author {
  font-family: var(--font-headline);
  font-size: 0.95rem;
  color: var(--ink);
}

.dc-comments__date {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.dc-comments__body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.dc-comments__reply-btn {
  margin-top: 0.55rem;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  cursor: pointer;
}

.dc-comments__reply-btn:hover {
  text-decoration: underline;
}

.dc-comments__replies {
  margin: 0.85rem 0 0;
  padding: 0 0 0 1.1rem;
  border-left: 2px solid var(--rule);
}

.dc-comments__item--reply {
  padding: 0.85rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--rule) 70%, transparent);
}

.dc-comments__item--reply:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.dc-comment-form {
  margin: 1.25rem 0 1.75rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--rule);
  background: color-mix(in srgb, var(--paper) 92%, var(--ink) 8%);
}

.dc-comment-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.dc-comment-form__reply-hint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin: 0 0 0.85rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.dc-comment-form__reply-hint[hidden] {
  display: none;
}

.dc-comment-form__cancel-reply {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
}

.dc-comment-form__row {
  margin-bottom: 0.9rem;
}

.dc-comment-form__label {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.dc-comment-form__input,
.dc-comment-form__textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.45;
  resize: vertical;
}

.dc-comment-form__input:focus,
.dc-comment-form__textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 55%, transparent);
  outline-offset: 1px;
}

.dc-comment-form__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.dc-comment-form__status {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.dc-comment-form__status.is-error {
  color: #8b1e1e;
}

.dc-comment-form__status.is-success {
  color: #1e5a3a;
}

.dc-comments__list[hidden],
.dc-comments__empty[hidden] {
  display: none;
}

.dc-related-block {
  margin-top: 3rem;
}

.dc-related-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-top: 1.25rem;
}

@media (min-width: 640px) {
  .dc-related-cols {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .dc-related-cols__col {
    padding-right: 1.25rem;
  }

  .dc-related-cols__col + .dc-related-cols__col {
    border-left: 1px solid var(--rule);
    padding-left: 1.25rem;
  }

  .dc-related-cols__col:last-child {
    padding-right: 0;
  }
}

.dc-related-side__item {
  padding: 0.75rem 0;
}

.dc-related-side__item:first-child {
  padding-top: 0;
}

/* ========== Sidebar widgets ========== */

.dc-search {
  display: flex;
  align-items: stretch;
  width: 100%;
}

.dc-search .input-paper {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  border-right: 0;
}

.dc-search .btn-ink {
  flex: 0 0 2.45rem;
  width: 2.45rem;
  min-height: 100%;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dc-search .btn-ink svg {
  width: 1rem;
  height: 1rem;
}

.dc-popular ol li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(142, 132, 116, 0.6);
}

.dc-popular ol li:last-child {
  border-bottom: none;
}

.dc-popular__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
  border-radius: 9999px;
  background-color: var(--masthead-red);
  font-family: var(--font-headline);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--cream);
}

.dc-popular__title {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.375;
  font-weight: 600;
}

.dc-quote-block {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
}

.dc-quote-block img {
  width: 7rem;
  height: 7rem;
  flex-shrink: 0;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.dc-quote-block__text {
  font-family: var(--font-headline);
  font-size: 1.05rem;
  line-height: 1.375;
  font-weight: 700;
  font-style: italic;
}

.dc-quote-block__brand {
  margin-top: 0.5rem;
  font-family: var(--font-masthead);
  font-size: 1rem;
  color: var(--ink-soft);
}

.dc-weather {
  padding: 1.25rem;
}

.dc-weather__row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.dc-weather__icon {
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  color: var(--ink-soft);
}

.dc-weather__city {
  font-family: var(--font-headline);
  font-size: 0.875rem;
  font-weight: 700;
}

.dc-weather__temp {
  font-family: var(--font-headline);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
}

.dc-weather__cond {
  margin-top: 0.25rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--ink-muted);
}

.dc-weather__range {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--ink-soft);
}

.dc-weather__forecast {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(142, 132, 116, 0.6);
  padding-top: 0.75rem;
}

.dc-weather__day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-align: center;
  border-left: 1px solid rgba(142, 132, 116, 0.6);
}

.dc-weather__day:first-child {
  border-left: none;
}

.dc-weather__day-name {
  font-family: var(--font-headline);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dc-weather__day svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--ink-soft);
}

.dc-weather__day-temp {
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: var(--ink-muted);
}

.dc-gallery {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--rule);
}

.dc-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.dc-gallery__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(28, 24, 18, 0.9), transparent 70%);
}

.dc-gallery__overlay h2 {
  font-size: 1.125rem;
  line-height: 1.375;
  color: var(--cream);
}

.dc-gallery__overlay .btn-outline-ink {
  margin-top: 0.75rem;
  align-self: flex-start;
  border-color: var(--cream);
  color: var(--cream);
}

.dc-gallery__overlay .btn-outline-ink:hover {
  background-color: var(--cream);
  color: var(--ink);
}

.dc-cats-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-family: var(--font-body);
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(142, 132, 116, 0.6);
  transition: color 200ms ease;
}

.dc-cats-list li:last-child a {
  border-bottom: none;
}

.dc-cats-list a:hover {
  color: var(--masthead-red-dark);
}

.dc-cats-list__left {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
}

.dc-cats-list__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background-color: var(--ink);
  color: var(--cream);
}

.dc-cats-list__icon svg {
  width: 0.75rem;
  height: 0.75rem;
}

.dc-cats-list__count {
  font-family: var(--font-headline);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.dc-share__btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.dc-share__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--ink);
  color: var(--cream);
  transition: background-color 200ms ease;
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 700;
}

.dc-share__btn:hover {
  background-color: var(--masthead-red-dark);
}

.dc-share__btn svg {
  width: 1rem;
  height: 1rem;
}

.dc-share__copied {
  font-style: italic;
}

/* ========== Newsletter ========== */

.dc-newsletter {
  background-color: var(--ink);
  padding: 1.25rem;
  color: var(--cream);
}

.dc-newsletter h2 {
  font-family: var(--font-headline);
  font-size: 1.125rem;
  line-height: 1.375;
  font-weight: 700;
  color: var(--cream);
}

.dc-newsletter__lead {
  margin-top: 0.25rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(245, 240, 230, 0.7);
}

.dc-newsletter form {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dc-newsletter .btn-ink {
  border-color: rgba(245, 240, 230, 0.4);
  background-color: transparent;
}

.dc-newsletter .btn-ink:hover {
  background-color: rgba(245, 240, 230, 0.1);
}

.dc-newsletter__brand {
  margin-top: 1.25rem;
  border-top: 1px solid rgba(245, 240, 230, 0.2);
  padding-top: 0.75rem;
  text-align: center;
  font-family: var(--font-masthead);
  font-size: 1.25rem;
  color: var(--cream);
}

.dc-newsletter__tag {
  text-align: center;
  font-family: var(--font-headline);
  font-size: 0.55rem;
  letter-spacing: 0.35em;
  color: rgba(245, 240, 230, 0.7);
  text-transform: uppercase;
}

.dc-newsletter--footer h3 {
  font-family: var(--font-headline);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--cream);
}

.dc-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 100;
  background-color: var(--ink);
  color: var(--cream);
  font-family: var(--font-headline);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--rule);
  transition: transform 300ms ease;
  pointer-events: none;
}

.dc-toast.is-visible {
  transform: translateX(-50%) translateY(0);
}

/* Back to top */
.dc-back-top {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 70;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  min-width: 3.1rem;
  padding: 0.55rem 0.5rem 0.45rem;
  background: var(--paper-light);
  color: var(--ink);
  border: 1px solid var(--ink);
  box-shadow:
    inset 0 0 0 2px var(--paper-light),
    inset 0 0 0 3px var(--rule),
    0 8px 18px rgba(23, 21, 18, 0.18);
  font-family: var(--font-headline);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.6rem);
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease, background-color 160ms ease, color 160ms ease;
}

.dc-back-top[hidden] {
  display: none !important;
}

.dc-back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dc-back-top:hover {
  background: var(--ink);
  color: var(--cream);
  box-shadow:
    inset 0 0 0 2px var(--ink),
    inset 0 0 0 3px color-mix(in srgb, var(--cream) 35%, var(--ink)),
    0 8px 18px rgba(23, 21, 18, 0.22);
}

.dc-back-top svg {
  width: 1.15rem;
  height: 1.15rem;
}

@media (max-width: 640px) {
  .dc-back-top {
    right: 0.85rem;
    bottom: 0.85rem;
  }

  .dc-back-top span {
    display: none;
  }
}

/* ========== Footer ========== */

.dc-footer {
  position: relative;
  z-index: 10;
  margin-top: 3.5rem;
  background-color: var(--ink);
  color: var(--cream);
}

.dc-footer__grid {
  margin: 0 auto;
  max-width: 1400px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 3rem 1rem;
}

@media (min-width: 768px) {
  .dc-footer__grid {
    grid-template-columns: 1fr 1fr;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .dc-footer__grid {
    grid-template-columns: 1.3fr 1fr 0.8fr 1.1fr;
  }
}

.dc-footer__masthead {
  font-family: var(--font-masthead);
  font-size: 1.875rem;
  color: var(--cream);
}

.dc-footer__tagline {
  margin-top: 0.5rem;
  border-top: 1px solid rgba(245, 240, 230, 0.3);
  padding-top: 0.5rem;
  font-family: var(--font-headline);
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  color: rgba(245, 240, 230, 0.7);
  text-transform: uppercase;
}

.dc-footer__blurb {
  margin-top: 1rem;
  max-width: 20rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  line-height: 1.625;
  color: rgba(245, 240, 230, 0.6);
}

.dc-footer__heading {
  font-family: var(--font-headline);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
}

.dc-footer__links {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(245, 240, 230, 0.85);
}

.dc-footer__links li + li {
  border-left: 1px solid rgba(245, 240, 230, 0.3);
  padding-left: 0.75rem;
}

.dc-footer__links a:hover {
  color: var(--cream);
  text-decoration: underline;
}

.dc-footer__social {
  margin-top: 0.75rem;
}

.dc-footer__social li + li {
  margin-top: 0.5rem;
}

.dc-footer__social a {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(245, 240, 230, 0.85);
}

.dc-footer__social a:hover {
  color: var(--cream);
}

.dc-footer__social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(245, 240, 230, 0.4);
}

.dc-footer__social-icon svg {
  width: 0.75rem;
  height: 0.75rem;
}

.dc-footer__social-x {
  font-family: var(--font-headline);
  font-size: 0.65rem;
  font-weight: 700;
}

.dc-footer__bottom {
  border-top: 1px solid rgba(245, 240, 230, 0.2);
}

.dc-footer__bottom-inner {
  margin: 0 auto;
  max-width: 1400px;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: rgba(245, 240, 230, 0.6);
}

@media (min-width: 640px) {
  .dc-footer__bottom-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  .dc-footer__bottom-inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.dc-footer__bottom-inner .italic {
  font-style: italic;
}

.dc-footer__meta {
  margin: 0;
  text-align: left;
}

@media (min-width: 640px) {
  .dc-footer__meta {
    text-align: right;
  }
}

.dc-footer__credit {
  color: rgba(245, 240, 230, 0.75);
  font-style: normal;
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 240, 230, 0.25);
  transition: color 160ms ease, border-color 160ms ease;
}

.dc-footer__credit:hover {
  color: var(--cream);
  border-bottom-color: var(--cream);
}

/* ========== Empty / not found ========== */

.dc-empty {
  padding: 5rem 0;
  text-align: center;
}

.dc-empty h1 {
  font-size: 2.25rem;
}

.dc-empty p {
  margin-top: 0.75rem;
  font-family: var(--font-body);
  color: var(--ink-muted);
}

.dc-empty .btn-ink {
  margin-top: 1.5rem;
}

.dc-reset {
  max-width: 28rem;
  margin: 0 auto;
  text-align: left;
}

.dc-reset h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-headline);
  font-size: 2rem;
}

.dc-reset > p {
  margin: 0 0 1.25rem;
  font-family: var(--font-body);
  color: var(--ink-soft);
}

.dc-reset__form {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.5rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--ink);
  background: var(--paper-light);
  box-shadow:
    inset 0 0 0 3px var(--paper-light),
    inset 0 0 0 4px var(--rule);
}

.dc-reset__form .dc-auth__submit {
  width: 100%;
}

/* Auth modal */
.dc-auth[hidden] {
  display: none !important;
}

.dc-auth {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.dc-auth__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 24, 20, 0.55);
  cursor: pointer;
}

.dc-auth__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 26rem);
  max-height: min(92vh, 40rem);
  overflow: auto;
  padding: 2.85rem 1.5rem 1.5rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  box-shadow: 0 18px 40px rgba(28, 24, 20, 0.28);
}

.dc-auth__close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid transparent;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.dc-auth__close:hover {
  color: var(--masthead-red-dark);
  border-color: var(--rule);
}

.dc-auth__close svg {
  width: 1.15rem;
  height: 1.15rem;
}

.dc-auth__tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0 0 1.25rem;
  border: 1px solid var(--rule);
}

.dc-auth__tab {
  padding: 0.55rem 0.35rem;
  border: 0;
  border-right: 1px solid var(--rule);
  background: transparent;
  font-family: var(--font-headline);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  cursor: pointer;
}

.dc-auth__tab:last-child {
  border-right: 0;
}

.dc-auth__tab.is-active {
  background: var(--masthead-red-dark);
  color: var(--cream);
}

.dc-auth__panel[hidden] {
  display: none !important;
}

.dc-auth__kicker {
  margin: 0 0 0.35rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--masthead-red-dark);
}

.dc-auth__title {
  margin: 0 0 1rem;
  font-family: var(--font-headline);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

.dc-auth__lead {
  margin: 0 0 1.25rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.dc-auth__form {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.dc-auth__label {
  margin-top: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.dc-auth__input {
  width: 100%;
  box-sizing: border-box;
}

.dc-auth__check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.65rem 0 0.35rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--ink-soft);
  cursor: pointer;
}

.dc-auth__submit {
  margin-top: 0.85rem;
  width: 100%;
  justify-content: center;
}

.dc-auth__status {
  min-height: 1.25rem;
  margin: 0.55rem 0 0;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.dc-auth__status.is-error {
  color: #8b1e1e;
}

.dc-auth__status.is-success {
  color: #1e5a3a;
}

.dc-auth__account-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dc-auth__link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border: 1px solid var(--ink);
  font-family: var(--font-headline);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}

.dc-auth__link-btn:hover {
  background: var(--ink);
  color: var(--cream);
}

body.dc-auth-open {
  overflow: hidden;
}
