/*
Theme Name: Mancera Editorial
Description: Tema editorial compacto para blogs de opinión, cultura y actualidad.
Author: Alfredo Mancera
Version: 1.4.4.2
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: mancera-editorial
*/

:root {
  --me-green: #004225;
  --me-green-dark: #002f1b;
  --me-green-soft: #dfe8e1;
  --me-ink: #151816;
  --me-night: #080a09;
  --me-night-line: #343a36;
  --me-night-muted: #aeb7b1;
  --me-night-link: #83d19d;
  --me-reading-paper: #f1e6cf;
  --me-reading-paper-ink: #29231b;
  --me-reading-paper-muted: #6e6253;
  --me-reading-paper-line: #c8b892;
  --me-reading-paper-code: #e5d7b8;
  --me-muted: #69706b;
  --me-paper: #f5f2e9;
  --me-surface: #fffdf7;
  --me-line: #cbc8bf;
  --me-white: #ffffff;
  --me-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --me-sans: Inter, "Helvetica Neue", Arial, sans-serif;
  --me-shell: 1240px;
  --me-reading: 760px;
  --me-reading-font-size: 1.15625rem;
  --me-radius: 18px;
  --me-shadow: 0 12px 32px rgba(15, 26, 20, 0.08);
  --me-header-shadow: 0 12px 28px rgba(0, 31, 18, 0.24);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--me-ink);
  background: var(--me-green);
  font-family: var(--me-sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::before {
  display: block;
  width: 100%;
  height: 5px;
  background: var(--me-surface);
  content: "";
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

a:hover,
a:focus {
  color: var(--me-green);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[role="button"]:focus-visible {
  outline: 3px solid #9fe0b3;
  outline-offset: 3px;
  box-shadow: 0 0 0 3px #00351e;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

.screen-reader-text,
.skip-link:not(:focus) {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 10px 14px;
  color: var(--me-white);
  background: var(--me-green);
}

.reading-progress {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 10001;
  height: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.reading-progress-value {
  display: block;
  width: 100%;
  height: 100%;
  background: #9fe0b3;
  box-shadow: 0 0 10px rgba(159, 224, 179, 0.7);
  transform: scaleX(0);
  transform-origin: left center;
}

.admin-bar .reading-progress {
  top: 32px;
}

.site-shell {
  width: min(calc(100% - 40px), var(--me-shell));
  margin-inline: auto;
}

.site-header {
  color: var(--me-white);
  background: var(--me-green);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.header-utility-row {
  background: var(--me-green-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.header-utility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  color: #c9dacf;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-utility p {
  margin: 0;
}

.utility-label {
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.masthead {
  display: flex;
  min-height: 142px;
  align-items: center;
  justify-content: center;
  padding-block: 15px;
}

.site-branding {
  min-width: 0;
  text-align: center;
}

.custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.custom-logo {
  width: auto;
  max-height: 66px;
}

.site-title {
  margin: 0;
  font-family: var(--me-serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.site-title a {
  color: var(--me-white);
  text-decoration: none;
}

.site-title a:hover,
.site-title a:focus {
  color: #dce9df;
}

.header-tagline {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: var(--me-paper);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.065em;
  line-height: 1.45;
  text-align: center;
  text-transform: uppercase;
}

.header-banner {
  display: flex;
  width: min(100%, 900px);
  min-height: 112px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--me-radius);
}

.header-banner > a,
.header-banner > a > img {
  display: block;
  width: 100%;
}

.header-banner > a > img {
  height: 112px;
  object-fit: cover;
}

.header-banner.is-empty .site-branding {
  width: 100%;
  padding: 10px 18px;
}

.header-banner.is-empty span {
  color: #d7e3da;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.header-toolbar {
  color: var(--me-white);
  background: var(--me-night);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(68, 142, 100, 0.78);
}

.header-toolbar-inner {
  display: grid;
  min-height: 54px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: center;
  padding-block: 6px;
}

.header-toolbar-social,
.header-tools {
  min-width: 0;
}

.header-toolbar-social,
.header-tools {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-search-avatar {
  display: grid;
  width: min(100%, 410px);
  grid-template-columns: minmax(0, 1fr) 58px;
  gap: 12px;
  align-items: center;
}

.header-search-avatar.has-reading-mode {
  grid-template-columns: minmax(0, 1fr) auto 58px;
}

.reading-preferences {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.reading-mode-toggle {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
}

.reading-mode-button {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  padding: 0;
  place-items: center;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.reading-mode-button:hover,
.reading-mode-button:focus {
  color: var(--me-white);
  transform: translateY(-1px);
}

.reading-mode-button:focus-visible {
  outline: 2px solid var(--me-white);
  outline-offset: 1px;
}

.reading-mode-button[aria-pressed="true"] {
  color: var(--me-green-dark);
  background: var(--me-white);
}

.reading-mode-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.reading-font-selector {
  position: relative;
  display: inline-flex;
}

.reading-font-trigger {
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  cursor: pointer;
  font-family: var(--me-serif);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  transition: color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.reading-font-trigger:hover,
.reading-font-trigger:focus,
.reading-font-trigger[aria-expanded="true"] {
  color: var(--me-green-dark);
  background: var(--me-white);
  transform: translateY(-1px);
}

.reading-font-trigger:focus-visible {
  outline: 2px solid var(--me-white);
  outline-offset: 2px;
}

.reading-font-menu {
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  z-index: 40;
  width: 178px;
  padding: 6px;
  color: var(--me-white);
  background: var(--me-green-dark);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 12px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.reading-font-menu[hidden] {
  display: none;
}

.reading-font-option {
  display: grid;
  width: 100%;
  min-height: 40px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 7px 10px;
  color: var(--me-white);
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--me-sans);
  font-size: 0.875rem;
  font-weight: 700;
  text-align: left;
}

.reading-font-option small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  font-weight: 600;
}

.reading-font-option:hover,
.reading-font-option:focus,
.reading-font-option[aria-pressed="true"] {
  color: var(--me-green-dark);
  background: var(--me-white);
}

.reading-font-option:hover small,
.reading-font-option:focus small,
.reading-font-option[aria-pressed="true"] small {
  color: var(--me-muted);
}

.site-avatar-wrap {
  width: 58px;
  height: 58px;
  overflow: hidden;
  background: var(--me-green-dark);
  border: 2px solid var(--me-white);
  border-radius: 50%;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.18);
}

.site-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-form {
  display: flex;
  min-width: 0;
  height: 40px;
  overflow: hidden;
  background: var(--me-white);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
}

.search-form label {
  min-width: 0;
  flex: 1;
}

.search-field {
  width: 100%;
  height: 100%;
  padding: 0 8px 0 15px;
  color: var(--me-ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 0.85rem;
}

.search-field::placeholder {
  color: #747b76;
}

.search-form:focus-within {
  outline: 3px solid rgba(255, 255, 255, 0.34);
  outline-offset: 2px;
}

.search-submit {
  display: grid;
  width: 40px;
  flex: 0 0 40px;
  padding: 0;
  place-items: center;
  color: var(--me-white);
  background: var(--me-green-dark);
  border: 0;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}

.search-submit:hover,
.search-submit:focus {
  background: #001f12;
}

.search-submit svg {
  width: 18px;
  height: 18px;
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
}

.header-toolbar .social-links {
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0;
}

.social-link {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--me-white);
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 50%;
  text-decoration: none;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.social-link:hover,
.social-link:focus {
  color: var(--me-green);
  background: var(--me-white);
  transform: translateY(-2px);
}

.social-link svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.editorial-link {
  display: inline-flex;
  width: auto;
  min-height: 44px;
  gap: 6px;
  padding-inline: 13px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.editorial-link svg {
  fill: none;
}

.compact-site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 9998;
  color: var(--me-white);
  background: var(--me-green);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: var(--me-header-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(-100% - 8px));
  transition: opacity 180ms ease, transform 220ms ease, visibility 220ms ease;
  visibility: hidden;
}

.compact-site-header.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.admin-bar .compact-site-header {
  top: 32px;
}

.compact-header-inner {
  display: grid;
  min-height: 62px;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.5fr);
  gap: 20px;
  align-items: center;
}

.compact-site-title {
  overflow: hidden;
  color: var(--me-white);
  font-family: var(--me-serif);
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-site-title:hover,
.compact-site-title:focus {
  color: #dce9df;
}

.compact-site-title-mobile {
  display: none;
}

.compact-header-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 10px;
  align-items: center;
}

.compact-header-tools.has-reading-mode {
  grid-template-columns: minmax(0, 1fr) auto 42px;
}

.compact-header-tools .search-form {
  height: 36px;
}

.compact-avatar-wrap {
  width: 42px;
  height: 42px;
  overflow: hidden;
  background: var(--me-green-dark);
  border: 1px solid var(--me-white);
  border-radius: 50%;
}

.compact-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-main {
  min-height: 55vh;
  background: var(--me-green);
}

.home-main {
  padding-block: 26px 54px;
}

.section-kicker,
.entry-kicker,
.card-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: var(--me-green);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.entry-categories {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 8px;
  color: var(--me-green);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.entry-categories::before {
  width: 18px;
  height: 2px;
  flex: 0 0 18px;
  background: currentColor;
  content: "";
}

.entry-categories-list {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.entry-category-link {
  color: inherit;
  text-decoration: none;
}

.entry-category-link:hover,
.entry-category-link:focus {
  color: var(--me-white);
}

.entry-category-separator {
  opacity: 0.6;
}

.section-kicker::before,
.entry-kicker::before,
.card-kicker::before {
  width: 18px;
  height: 2px;
  background: currentColor;
  content: "";
}

.magazine-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(280px, 0.8fr);
  gap: 18px;
}

.lead-story,
.side-story,
.story-card {
  position: relative;
  overflow: hidden;
  color: var(--me-ink);
  background: var(--me-surface);
  border: 1px solid var(--me-line);
  border-radius: var(--me-radius);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

@media (hover: hover) {
  .lead-story:hover,
  .side-story:hover,
  .story-card:hover,
  .lead-story:focus-within,
  .side-story:focus-within,
  .story-card:focus-within {
    border-color: rgba(0, 66, 37, 0.58);
    box-shadow: 0 16px 36px rgba(0, 31, 18, 0.2);
    transform: translateY(-3px);
  }
}

.lead-story {
  height: clamp(620px, 48vw, 680px);
  min-height: 620px;
  box-shadow: var(--me-shadow);
}

.lead-story > a:first-child {
  position: absolute;
  inset: 0;
  display: block;
}

.lead-story .story-media,
.lead-story .story-media img,
.lead-story .media-placeholder {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.story-media {
  position: relative;
  overflow: hidden;
  margin: 0;
  background: var(--me-green-dark);
}

.story-media img {
  width: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.lead-story:hover .story-media img,
.side-story:hover .story-media img,
.story-card:hover .story-media img {
  transform: scale(1.025);
}

.lead-story .story-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(4, 12, 8, 0.88) 100%);
  content: "";
}

.lead-story-content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: clamp(24px, 5vw, 46px);
  color: var(--me-white);
}

.lead-story .entry-kicker {
  color: #d9efe2;
}

.lead-story-title {
  max-width: 840px;
  margin: 0;
  font-family: var(--me-serif);
  font-size: clamp(2.25rem, 5vw, 4.45rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.lead-story-title a,
.side-story-title a,
.story-card-title a {
  text-decoration: none;
  transition: color 160ms ease;
}

.side-story-title a:hover,
.side-story-title a:focus,
.story-card-title a:hover,
.story-card-title a:focus {
  color: var(--me-green);
}

.lead-story-excerpt {
  max-width: 690px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--me-serif);
  font-size: 1.05rem;
  line-height: 1.5;
}

.lead-story-meta,
.entry-meta,
.card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.lead-story-meta {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.72);
}

.lead-story-meta a,
.entry-meta a,
.card-meta a {
  color: inherit;
  text-decoration: none;
}

.lead-story-meta a:hover,
.lead-story-meta a:focus,
.entry-meta a:hover,
.entry-meta a:focus,
.card-meta a:hover,
.card-meta a:focus {
  color: currentColor;
  text-decoration: underline;
}

.meta-separator {
  opacity: 0.6;
}

.lead-stack {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.side-story {
  display: grid;
  grid-template-columns: 44% minmax(0, 1fr);
  min-height: 239px;
}

.side-story .story-media,
.side-story .story-media img,
.side-story .media-placeholder {
  height: 100%;
  min-height: 237px;
}

.side-story-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
}

.side-story-title {
  margin: 0;
  font-family: var(--me-serif);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.card-meta {
  margin-top: 14px;
  color: var(--me-muted);
}

.media-placeholder {
  display: grid;
  min-height: 220px;
  place-items: center;
  color: rgba(255, 255, 255, 0.88);
  background:
    linear-gradient(135deg, transparent 0 44%, rgba(255, 255, 255, 0.1) 44% 56%, transparent 56%),
    linear-gradient(25deg, var(--me-green-dark), var(--me-green));
  font-family: var(--me-serif);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  letter-spacing: -0.07em;
}

.latest-section {
  margin-top: 42px;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 10px;
  margin-bottom: 18px;
  border-bottom: 3px solid var(--me-white);
}

.section-title {
  margin: 0;
  color: var(--me-white);
  font-family: var(--me-serif);
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.section-rule-label {
  color: #d4e1d7;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 18px;
}

.story-card {
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--me-green);
}

.story-card .story-media,
.story-card .story-media img,
.story-card .media-placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
}

.story-card .story-media img {
  height: 100%;
}

.story-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 20px 18px;
}

.story-card-title {
  margin: 0;
  font-family: var(--me-serif);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.story-card-excerpt {
  margin: 12px 0 0;
  color: #424843;
  font-family: var(--me-serif);
  line-height: 1.5;
}

.story-card .card-meta {
  margin-top: auto;
  padding-top: 16px;
}

.archive-main {
  padding-block: 38px 56px;
}

.archive-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.42fr);
  gap: 32px;
  align-items: end;
  padding-bottom: 22px;
  margin-bottom: 24px;
  border-bottom: 3px solid var(--me-white);
}

.archive-title {
  margin: 0;
  color: var(--me-white);
  font-family: var(--me-serif);
  font-size: clamp(2.5rem, 7vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: -0.055em;
}

.archive-description {
  color: #d4e1d7;
  font-family: var(--me-serif);
  font-size: 1.08rem;
  line-height: 1.45;
}

.archive-description > *:first-child {
  margin-top: 0;
}

.archive-description > *:last-child {
  margin-bottom: 0;
}

.pagination {
  margin-top: 38px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-numbers {
  display: grid;
  min-width: 40px;
  min-height: 40px;
  padding: 6px 11px;
  place-items: center;
  background: var(--me-surface);
  border: 1px solid var(--me-line);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover,
.page-numbers:focus {
  color: var(--me-white);
  background: var(--me-green);
  border-color: var(--me-green);
}

.single-main,
.page-main {
  padding-block: 42px 64px;
}

.single-main > article,
.page-main > article {
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--me-radius);
  box-shadow: 0 18px 45px rgba(0, 25, 14, 0.26);
}

.single-main > article,
.about-main > article {
  color: var(--me-white);
  background: var(--me-night);
  border-color: rgba(255, 255, 255, 0.18);
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.page-main:not(.about-main) > article {
  color: var(--me-ink);
  background: var(--me-surface);
}

.about-main .entry-title {
  font-size: clamp(2.75rem, 7vw, 5.6rem);
}

.about-kicker {
  display: inline-flex;
  margin: 0 0 6px;
  color: var(--me-green);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.archive-main > .section-kicker,
.archive-header .section-kicker {
  color: #dce9df;
}

.article-header {
  width: min(100%, 980px);
  margin-inline: auto;
  text-align: center;
}

.article-header .entry-kicker {
  justify-content: center;
}

.entry-title {
  margin: 6px 0 0;
  font-family: var(--me-serif);
  font-size: clamp(2.75rem, 7vw, 6.1rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.entry-deck {
  max-width: 760px;
  margin: 20px auto 0;
  color: #444a46;
  font-family: var(--me-serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.45;
}

.article-header .entry-meta {
  justify-content: center;
  margin-top: 22px;
  color: var(--me-muted);
}

.entry-actions {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.share-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  color: var(--me-white);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.025em;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.share-button:hover,
.share-button:focus {
  color: var(--me-green-dark);
  background: var(--me-white);
  border-color: var(--me-white);
  transform: translateY(-2px);
}

.share-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.single-main .entry-kicker,
.single-main .entry-categories,
.about-main .about-kicker {
  color: var(--me-night-link);
}

.single-main .entry-deck {
  color: #d2d8d4;
}

.single-main .article-header .entry-meta {
  color: var(--me-night-muted);
}

.article-hero {
  width: min(100%, 1120px);
  margin: 34px auto 0;
  overflow: hidden;
  background: var(--me-surface);
  border: 1px solid var(--me-line);
  border-radius: var(--me-radius);
  box-shadow: var(--me-shadow);
}

.article-hero img {
  width: 100%;
  height: auto;
}

.single-main .article-hero {
  display: grid;
  place-items: center;
  background: var(--me-night);
}

.single-main .article-hero img {
  width: auto;
  max-width: 100%;
  max-height: 72vh;
  object-fit: contain;
}

.about-hero {
  display: grid;
  place-items: center;
  background: var(--me-paper);
}

.about-hero img {
  width: auto;
  max-width: 100%;
  max-height: 760px;
  margin-inline: auto;
  object-fit: contain;
}

.about-hero-fallback {
  display: grid;
  min-height: min(62vw, 620px);
  place-items: center;
  background: linear-gradient(145deg, var(--me-green-dark), var(--me-green));
}

.about-fallback-avatar {
  width: clamp(180px, 34vw, 360px) !important;
  height: clamp(180px, 34vw, 360px) !important;
  border: 5px solid var(--me-surface);
  border-radius: 50%;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
}

.about-content {
  width: min(100%, 820px);
}

.entry-content {
  width: min(100%, var(--me-reading));
  margin: 40px auto 0;
  font-family: var(--me-serif);
  font-size: var(--me-reading-font-size);
  line-height: 1.78;
}

@media (min-width: 721px) {
  html[data-reading-font-size="small"] {
    --me-reading-font-size: 0.9375rem;
  }

  html[data-reading-font-size="normal"] {
    --me-reading-font-size: 1.15625rem;
  }

  html[data-reading-font-size="large"] {
    --me-reading-font-size: 1.625rem;
  }
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
  margin-block: 0 1.35em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin: 1.7em 0 0.55em;
  font-family: var(--me-serif);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.entry-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.entry-content h3 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.entry-content blockquote {
  padding: 4px 0 4px 28px;
  margin: 1.8em 0;
  color: #313833;
  border-left: 5px solid var(--me-green);
  font-size: 1.3em;
  font-style: italic;
  line-height: 1.45;
}

.entry-content a {
  color: var(--me-green);
  font-weight: 600;
}

.single-main .entry-content,
.about-main .entry-content {
  color: #f4f6f4;
}

.single-main .entry-content h2,
.single-main .entry-content h3,
.single-main .entry-content h4,
.about-main .entry-content h2,
.about-main .entry-content h3,
.about-main .entry-content h4 {
  color: var(--me-white);
}

.single-main .entry-content blockquote,
.about-main .entry-content blockquote {
  color: #dce4de;
  border-left-color: var(--me-night-link);
}

.single-main .entry-content a,
.about-main .entry-content a {
  color: var(--me-night-link);
}

.single-main .entry-content a:hover,
.single-main .entry-content a:focus,
.about-main .entry-content a:hover,
.about-main .entry-content a:focus {
  color: var(--me-white);
}

.single-main .entry-content figcaption,
.about-main .entry-content figcaption {
  color: var(--me-night-muted);
}

.single-main .entry-content code,
.single-main .entry-content pre,
.about-main .entry-content code,
.about-main .entry-content pre {
  color: #f4f6f4;
  background: #171b18;
}

.single-main .entry-content hr,
.single-main .entry-content .wp-block-separator,
.about-main .entry-content hr,
.about-main .entry-content .wp-block-separator {
  border-color: var(--me-night-line);
}

.entry-content figure {
  margin-block: 2em;
}

.entry-content figcaption {
  margin-top: 8px;
  color: var(--me-muted);
  font-family: var(--me-sans);
  font-size: 0.76rem;
  line-height: 1.4;
}

.entry-content .alignwide {
  width: min(100vw - 40px, 1040px);
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.entry-content .alignfull {
  width: 100vw;
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.wp-block-table {
  overflow-x: auto;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--me-sans);
  font-size: 0.9rem;
}

.entry-content th,
.entry-content td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--me-line);
  text-align: left;
}

.entry-content th {
  color: var(--me-white);
  background: var(--me-green);
}

.single-main .entry-content th,
.single-main .entry-content td,
.about-main .entry-content th,
.about-main .entry-content td {
  border-bottom-color: var(--me-night-line);
}

.entry-footer {
  display: flex;
  width: min(100%, var(--me-reading));
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  margin: 36px auto 0;
  border-top: 1px solid var(--me-line);
}

.entry-footer--share-only {
  justify-content: flex-end;
}

.entry-footer .entry-actions {
  margin-top: 0;
}

.entry-footer .share-button {
  min-height: 38px;
  padding: 6px 13px;
}

.single-main .sharedaddy,
.single-main .sd-like,
.single-main #jp-relatedposts,
.single-main .jp-relatedposts {
  display: none !important;
}

.tag-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag-links a {
  padding: 5px 9px;
  color: var(--me-green-dark);
  background: var(--me-green-soft);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  text-decoration: none;
}

.single-main .entry-footer {
  border-top-color: var(--me-night-line);
}

.single-main .tag-links a {
  color: #e7f5eb;
  background: #174d31;
}

html[data-reading-mode="paper"] .single-main > article,
html[data-reading-mode="paper"] .about-main > article {
  color: var(--me-reading-paper-ink);
  background: var(--me-reading-paper);
  border-color: rgba(41, 35, 27, 0.2);
}

html[data-reading-mode="paper"] .single-main .article-hero {
  background: var(--me-reading-paper-code);
  border-color: var(--me-reading-paper-line);
}

html[data-reading-mode="paper"] .single-main .entry-kicker,
html[data-reading-mode="paper"] .single-main .entry-categories,
html[data-reading-mode="paper"] .single-main .entry-content a,
html[data-reading-mode="paper"] .about-main .about-kicker,
html[data-reading-mode="paper"] .about-main .entry-content a {
  color: var(--me-green);
}

html[data-reading-mode="paper"] .single-main .entry-category-link:hover,
html[data-reading-mode="paper"] .single-main .entry-category-link:focus {
  color: var(--me-green-dark);
}

html[data-reading-mode="paper"] .single-main .entry-title,
html[data-reading-mode="paper"] .single-main .entry-content,
html[data-reading-mode="paper"] .single-main .entry-content p,
html[data-reading-mode="paper"] .single-main .entry-content li,
html[data-reading-mode="paper"] .single-main .entry-content h2,
html[data-reading-mode="paper"] .single-main .entry-content h3,
html[data-reading-mode="paper"] .single-main .entry-content h4,
html[data-reading-mode="paper"] .single-main .entry-content strong,
html[data-reading-mode="paper"] .single-main .entry-content em,
html[data-reading-mode="paper"] .about-main .entry-title,
html[data-reading-mode="paper"] .about-main .entry-content,
html[data-reading-mode="paper"] .about-main .entry-content p,
html[data-reading-mode="paper"] .about-main .entry-content li,
html[data-reading-mode="paper"] .about-main .entry-content h2,
html[data-reading-mode="paper"] .about-main .entry-content h3,
html[data-reading-mode="paper"] .about-main .entry-content h4,
html[data-reading-mode="paper"] .about-main .entry-content strong,
html[data-reading-mode="paper"] .about-main .entry-content em {
  color: var(--me-reading-paper-ink);
}

html[data-reading-mode="paper"] .single-main .entry-deck,
html[data-reading-mode="paper"] .single-main .article-header .entry-meta,
html[data-reading-mode="paper"] .single-main .entry-content figcaption,
html[data-reading-mode="paper"] .about-main .entry-content figcaption {
  color: var(--me-reading-paper-muted);
}

html[data-reading-mode="paper"] .single-main .share-button {
  color: var(--me-green-dark);
  background: rgba(255, 255, 255, 0.34);
  border-color: var(--me-reading-paper-line);
}

html[data-reading-mode="paper"] .single-main .share-button:hover,
html[data-reading-mode="paper"] .single-main .share-button:focus {
  color: var(--me-white);
  background: var(--me-green);
  border-color: var(--me-green);
}

html[data-reading-mode="paper"] .single-main .entry-content blockquote,
html[data-reading-mode="paper"] .about-main .entry-content blockquote {
  color: var(--me-reading-paper-ink);
  border-left-color: var(--me-green);
}

html[data-reading-mode="paper"] .single-main .entry-content a:hover,
html[data-reading-mode="paper"] .single-main .entry-content a:focus,
html[data-reading-mode="paper"] .about-main .entry-content a:hover,
html[data-reading-mode="paper"] .about-main .entry-content a:focus {
  color: var(--me-green-dark);
}

html[data-reading-mode="paper"] .single-main .entry-content .wp-block-button__link,
html[data-reading-mode="paper"] .single-main .entry-content .wp-block-button__link:hover,
html[data-reading-mode="paper"] .single-main .entry-content .wp-block-button__link:focus,
html[data-reading-mode="paper"] .about-main .entry-content .wp-block-button__link,
html[data-reading-mode="paper"] .about-main .entry-content .wp-block-button__link:hover,
html[data-reading-mode="paper"] .about-main .entry-content .wp-block-button__link:focus {
  color: var(--me-white);
}

html[data-reading-mode="paper"] .single-main .entry-content code,
html[data-reading-mode="paper"] .single-main .entry-content pre,
html[data-reading-mode="paper"] .about-main .entry-content code,
html[data-reading-mode="paper"] .about-main .entry-content pre {
  color: var(--me-reading-paper-ink);
  background: var(--me-reading-paper-code);
}

html[data-reading-mode="paper"] .single-main .entry-content hr,
html[data-reading-mode="paper"] .single-main .entry-content .wp-block-separator,
html[data-reading-mode="paper"] .single-main .entry-content th,
html[data-reading-mode="paper"] .single-main .entry-content td,
html[data-reading-mode="paper"] .single-main .entry-footer,
html[data-reading-mode="paper"] .about-main .entry-content hr,
html[data-reading-mode="paper"] .about-main .entry-content .wp-block-separator,
html[data-reading-mode="paper"] .about-main .entry-content th,
html[data-reading-mode="paper"] .about-main .entry-content td {
  border-color: var(--me-reading-paper-line);
}

html[data-reading-mode="paper"] .single-main .tag-links a {
  color: var(--me-green-dark);
  background: var(--me-green-soft);
}

.author-card {
  display: grid;
  width: min(100%, var(--me-reading));
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 22px;
  margin: 42px auto 0;
  color: var(--me-white);
  background: #111713;
  border: 1px solid var(--me-night-line);
  border-radius: calc(var(--me-radius) * 0.85);
}

.author-card-media {
  width: 112px;
  height: 112px;
  overflow: hidden;
  background: var(--me-green-dark);
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: calc(var(--me-radius) * 0.75);
}

.author-card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-card-kicker {
  margin: 0 0 2px;
  color: var(--me-night-link);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.author-card-title {
  margin: 0;
  font-family: var(--me-serif);
  font-size: 1.75rem;
  line-height: 1.05;
}

.author-card-description {
  margin: 8px 0 0;
  color: var(--me-night-muted);
  font-family: var(--me-serif);
  font-size: 0.98rem;
  line-height: 1.5;
}

.author-card-link {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  margin-top: 13px;
  color: var(--me-white);
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  text-decoration: none;
}

.author-card-link:hover,
.author-card-link:focus {
  color: var(--me-green-dark);
  background: var(--me-white);
}

.author-card-link:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.42);
  outline-offset: 3px;
}

.author-card-link svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

html[data-reading-mode="paper"] .author-card {
  color: var(--me-reading-paper-ink);
  background: var(--me-reading-paper-code);
  border-color: var(--me-reading-paper-line);
}

html[data-reading-mode="paper"] .author-card-media {
  border-color: var(--me-reading-paper-line);
}

html[data-reading-mode="paper"] .author-card-kicker,
html[data-reading-mode="paper"] .author-card-link {
  color: var(--me-green);
}

html[data-reading-mode="paper"] .author-card-description {
  color: var(--me-reading-paper-muted);
}

html[data-reading-mode="paper"] .author-card-link {
  border-color: var(--me-reading-paper-line);
}

html[data-reading-mode="paper"] .author-card-link:hover,
html[data-reading-mode="paper"] .author-card-link:focus {
  color: var(--me-white);
  background: var(--me-green);
}

.newsletter-box {
  display: grid;
  width: min(100%, 980px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 24px;
  align-items: center;
  padding: 24px 26px;
  border-radius: calc(var(--me-radius) * 0.9);
}

.newsletter-box--home {
  margin: 34px auto 0;
  color: var(--me-ink);
  background: var(--me-surface);
  border: 1px solid var(--me-line);
  border-left: 5px solid var(--me-green-dark);
  box-shadow: var(--me-shadow);
}

.newsletter-box--single,
.newsletter-box--about {
  width: min(100%, var(--me-reading));
  margin: 26px auto 0;
  color: var(--me-white);
  background: #111713;
  border: 1px solid var(--me-night-line);
}

.newsletter-kicker {
  margin: 0 0 3px;
  color: var(--me-green);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.newsletter-box--single .newsletter-kicker,
.newsletter-box--about .newsletter-kicker {
  color: var(--me-night-link);
}

.newsletter-title {
  margin: 0;
  font-family: var(--me-serif);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.newsletter-description {
  margin: 7px 0 0;
  color: var(--me-muted);
  font-family: var(--me-serif);
  font-size: 0.94rem;
  line-height: 1.45;
}

.newsletter-box--single .newsletter-description,
.newsletter-box--about .newsletter-description {
  color: var(--me-night-muted);
}

.newsletter-form,
.newsletter-form > div,
.newsletter-form form {
  min-width: 0;
}

.newsletter-form form,
.newsletter-form #subscribe-blog,
.newsletter-form .wp-block-jetpack-subscriptions__form,
.newsletter-form .wp-block-jetpack-subscriptions__container {
  display: flex;
  width: 100%;
  gap: 8px;
  align-items: stretch;
  margin: 0;
}

.newsletter-form p,
.newsletter-form #subscribe-email,
.newsletter-form #subscribe-submit {
  margin: 0;
}

.newsletter-form #subscribe-email,
.newsletter-form .wp-block-jetpack-subscriptions__form-elements {
  min-width: 0;
  flex: 1;
}

.newsletter-form label:not(.screen-reader-text) {
  display: block;
  margin-bottom: 5px;
  font-size: 0.75rem;
  font-weight: 800;
}

.newsletter-form input[type="email"],
.newsletter-form input[type="text"] {
  width: 100%;
  min-height: 44px;
  padding: 9px 13px;
  color: var(--me-ink);
  background: var(--me-white);
  border: 1px solid #8d948f;
  border-radius: 999px;
}

.newsletter-form input[type="submit"],
.newsletter-form button[type="submit"] {
  min-height: 44px;
  padding: 9px 17px;
  color: var(--me-white);
  background: var(--me-green);
  border: 1px solid var(--me-green);
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.newsletter-form input[type="submit"]:hover,
.newsletter-form input[type="submit"]:focus,
.newsletter-form button[type="submit"]:hover,
.newsletter-form button[type="submit"]:focus {
  background: var(--me-green-dark);
  border-color: var(--me-green-dark);
  transform: translateY(-1px);
}

html[data-reading-mode="paper"] .newsletter-box--single,
html[data-reading-mode="paper"] .newsletter-box--about {
  color: var(--me-reading-paper-ink);
  background: var(--me-reading-paper-code);
  border-color: var(--me-reading-paper-line);
}

html[data-reading-mode="paper"] .newsletter-box--single .newsletter-kicker,
html[data-reading-mode="paper"] .newsletter-box--about .newsletter-kicker {
  color: var(--me-green);
}

html[data-reading-mode="paper"] .newsletter-box--single .newsletter-description,
html[data-reading-mode="paper"] .newsletter-box--about .newsletter-description {
  color: var(--me-reading-paper-muted);
}

.related-posts {
  margin-top: 42px;
}

.related-posts-grid {
  gap: 18px;
}

.related-posts-grid .story-card-body {
  min-height: 164px;
}

.related-posts-grid .story-card-title {
  font-size: clamp(1.25rem, 2vw, 1.62rem);
}

.image-lightbox {
  width: min(96vw, 1440px);
  max-width: none;
  height: min(94vh, 1000px);
  max-height: none;
  padding: 52px 20px 20px;
  color: var(--me-white);
  background: rgba(5, 8, 6, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--me-radius);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.58);
}

.image-lightbox::backdrop {
  background: rgba(0, 20, 11, 0.82);
  backdrop-filter: blur(5px);
}

.image-lightbox[open] {
  animation: mancera-lightbox-in 180ms ease-out both;
}

.image-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  place-items: center;
  color: var(--me-white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 50%;
  cursor: pointer;
}

.image-lightbox-close:hover,
.image-lightbox-close:focus {
  color: var(--me-green-dark);
  background: var(--me-white);
}

.image-lightbox-close svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.image-lightbox-figure {
  display: grid;
  height: 100%;
  margin: 0;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 10px;
  place-items: center;
}

.image-lightbox-figure img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.image-lightbox-figure figcaption {
  max-width: 860px;
  color: #d7ded9;
  font-size: 0.8rem;
  line-height: 1.4;
  text-align: center;
}

.is-lightbox-enabled {
  cursor: zoom-in;
}

.has-open-lightbox {
  overflow: hidden;
}

@keyframes mancera-lightbox-in {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.99);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.post-navigation {
  width: min(100%, 980px);
  margin: 42px auto 0;
}

.return-home {
  width: min(100%, var(--me-reading));
  margin: 32px auto 0;
  text-align: center;
}

.return-home-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 8px;
  padding: 8px 17px;
  color: var(--me-white);
  background: rgba(0, 47, 27, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 31, 18, 0.16);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.return-home-link:hover,
.return-home-link:focus {
  color: var(--me-green-dark);
  background: var(--me-white);
  transform: translateY(-2px);
}

.return-home-link:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.48);
  outline-offset: 3px;
}

.return-home-link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.post-navigation .nav-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.post-navigation a {
  display: block;
  height: 100%;
  padding: 18px;
  background: var(--me-surface);
  border: 1px solid var(--me-line);
  border-radius: calc(var(--me-radius) * 0.75);
  text-decoration: none;
}

.post-navigation .nav-next {
  text-align: right;
}

.nav-subtitle {
  display: block;
  color: var(--me-green);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-title {
  display: block;
  margin-top: 6px;
  font-family: var(--me-serif);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}

.comments-area {
  width: min(100%, var(--me-reading));
  margin: 42px auto 0;
  overflow: hidden;
  color: var(--me-ink);
  background: var(--me-surface);
  border: 1px solid rgba(8, 10, 9, 0.22);
  border-radius: var(--me-radius);
  box-shadow: var(--me-shadow);
}

.entry-footer + .comments-area {
  margin-top: 28px;
}

.comments-header {
  padding: 23px 26px 21px;
  color: var(--me-white);
  background: var(--me-night);
  border-bottom: 1px solid rgba(68, 142, 100, 0.72);
}

.comments-kicker {
  margin: 0;
  color: var(--me-night-link);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.comments-heading {
  margin: 5px 0 0;
  color: var(--me-white);
  font-family: var(--me-serif);
  font-size: clamp(1.75rem, 4vw, 2.3rem);
  line-height: 1.05;
}

.comments-intro {
  margin: 8px 0 0;
  color: #c5cec8;
  font-size: 0.88rem;
  line-height: 1.45;
}

.comments-inner {
  padding: 24px 26px 26px;
}

.comments-title,
.comment-reply-title {
  margin: 0 0 18px;
  font-family: var(--me-serif);
  font-size: 1.55rem;
  line-height: 1.1;
}

.comment-respond + .comment-list,
.comment-list + .comment-respond,
.comments-navigation + .comment-respond {
  margin-top: 26px;
}

.comment-list {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.comment-list .children {
  padding-left: 28px;
  list-style: none;
}

.comment-body {
  padding: 18px 0;
  border-bottom: 1px solid var(--me-line);
}

.comment-meta {
  color: var(--me-muted);
  font-size: 0.8rem;
}

.comment-content {
  font-family: var(--me-serif);
  line-height: 1.62;
}

.comment-form {
  display: grid;
  gap: 14px;
}

.comment-form p {
  margin: 0;
}

.comment-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.025em;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 11px 13px;
  color: var(--me-ink);
  background: #ffffff;
  border: 1px solid var(--me-line);
  border-radius: 11px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.comment-form textarea {
  min-height: 160px;
  resize: vertical;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
  border-color: var(--me-green);
  box-shadow: 0 0 0 3px rgba(0, 66, 37, 0.14);
  outline: 0;
}

.comment-form .logged-in-as,
.comment-form .comment-notes {
  color: var(--me-muted);
  font-size: 0.8rem;
}

.comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.comment-form-cookies-consent input {
  margin-top: 3px;
}

.comment-form-cookies-consent label {
  margin: 0;
  font-weight: 500;
  line-height: 1.45;
}

.comment-submit {
  min-height: 44px;
  padding-inline: 19px;
  border-radius: 999px;
}

.comments-inner iframe,
.comments-inner #jetpack_remote_comment {
  width: 100% !important;
  max-width: 100%;
  background: #ffffff;
  border: 0;
  border-radius: 11px;
}

.submit,
.wp-block-button__link {
  padding: 10px 17px;
  color: var(--me-white);
  background: var(--me-green);
  border: 1px solid var(--me-green);
  border-radius: 2px;
  font-weight: 800;
  cursor: pointer;
}

.submit:hover,
.submit:focus,
.wp-block-button__link:hover,
.wp-block-button__link:focus {
  color: var(--me-white);
  background: var(--me-green-dark);
}

.empty-state {
  padding: 56px 24px;
  text-align: center;
  background: var(--me-surface);
  border: 1px solid var(--me-line);
  border-radius: var(--me-radius);
}

.empty-state h1 {
  margin: 0;
  font-family: var(--me-serif);
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1;
}

.empty-state p {
  max-width: 560px;
  margin: 14px auto 0;
  color: var(--me-muted);
}

.site-footer {
  color: #d7e2da;
  background: var(--me-green-dark);
  border-top: 5px solid var(--me-surface);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: end;
  padding-block: 28px;
}

.footer-title {
  margin: 0;
  color: var(--me-white);
  font-family: var(--me-serif);
  font-size: 1.65rem;
  line-height: 1;
}

.footer-description {
  max-width: 580px;
  margin: 8px 0 0;
  color: #adbbb1;
  font-family: var(--me-serif);
  font-size: 0.95rem;
}

.footer-meta {
  margin: 0;
  color: #adbbb1;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-align: right;
  text-transform: uppercase;
}

.footer-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
}

.footer-about-link {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 5px 13px;
  color: var(--me-white);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-decoration: none;
}

.footer-about-link:hover,
.footer-about-link:focus {
  color: var(--me-green-dark);
  background: var(--me-white);
}

@media (max-width: 980px) {
  .header-toolbar-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    padding-block: 8px;
  }

  .header-tagline {
    grid-column: 1 / -1;
  }

  .magazine-lead {
    grid-template-columns: 1fr;
  }

  .lead-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .side-story {
    grid-template-columns: 1fr;
  }

  .side-story .story-media,
  .side-story .story-media img,
  .side-story .media-placeholder {
    min-height: 200px;
    aspect-ratio: 16 / 9;
  }

  .story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .related-posts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .newsletter-box {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  }

  .archive-header {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (min-width: 721px) and (max-width: 980px) {
  body.mancera-fluid-tablet .single-main {
    width: calc(100% - 20px);
  }

  body.mancera-fluid-tablet .single-main > article {
    padding: clamp(32px, 4.5vw, 46px);
  }

  body.mancera-fluid-tablet .single-main .article-header,
  body.mancera-fluid-tablet .single-main .article-hero,
  body.mancera-fluid-tablet .single-main .entry-content,
  body.mancera-fluid-tablet .single-main .entry-footer,
  body.mancera-fluid-tablet .single-main .post-navigation,
  body.mancera-fluid-tablet .single-main .comments-area {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(calc(100% - 26px), var(--me-shell));
  }

  .header-utility {
    min-height: 30px;
    font-size: 0.66rem;
  }

  .masthead {
    min-height: 88px;
    padding-block: 10px;
  }

  .header-banner {
    min-height: 68px;
  }

  .header-banner > a > img {
    height: 68px;
    background: #050605;
    object-fit: contain;
  }

  .header-toolbar-inner {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-block: 10px;
  }

  .header-tagline {
    grid-column: auto;
  }

  .header-toolbar-social,
  .header-tools {
    width: 100%;
  }

  .header-search-avatar {
    width: min(100%, 430px);
    grid-template-columns: minmax(0, 1fr) 52px;
  }

  .header-search-avatar.has-reading-mode {
    grid-template-columns: minmax(0, 1fr) auto 52px;
  }

  .site-avatar-wrap {
    width: 52px;
    height: 52px;
  }

  .social-links {
    justify-content: center;
  }

  .site-title {
    font-size: clamp(2.15rem, 11vw, 3.4rem);
  }

  .compact-header-inner {
    min-height: 56px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .compact-site-title {
    font-size: clamp(1.65rem, 8vw, 2.1rem);
  }

  .compact-site-title-full {
    display: none;
  }

  .compact-site-title-mobile {
    display: inline;
  }

  .reading-font-selector {
    display: none;
  }

  .compact-header-tools {
    grid-template-columns: 40px 38px;
    gap: 8px;
  }

  .compact-header-tools.has-reading-mode {
    grid-template-columns: 40px auto 38px;
  }

  .compact-header-tools .search-form {
    width: 40px;
    height: 38px;
  }

  .compact-header-tools .search-form label {
    display: none;
  }

  .compact-header-tools .search-submit {
    width: 40px;
    flex-basis: 40px;
  }

  .compact-avatar-wrap {
    width: 38px;
    height: 38px;
  }

  .home-main {
    padding-top: 14px;
  }

  .lead-story {
    height: 430px;
    min-height: 430px;
  }

  .lead-story .story-media,
  .lead-story .story-media img,
  .lead-story .media-placeholder {
    height: 100%;
    min-height: 0;
  }

  .lead-story-content {
    padding: 24px 20px;
  }

  .lead-story-title {
    font-size: clamp(2rem, 10vw, 3.4rem);
  }

  .lead-story-excerpt {
    display: none;
  }

  .lead-stack,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .side-story {
    grid-template-columns: 42% minmax(0, 1fr);
  }

  .side-story .story-media,
  .side-story .story-media img,
  .side-story .media-placeholder {
    min-height: 210px;
    aspect-ratio: auto;
  }

  .side-story-content {
    padding: 18px;
  }

  .latest-section {
    margin-top: 30px;
  }

  .section-rule-label {
    display: none;
  }

  .single-main,
  .page-main {
    padding-top: 28px;
  }

  .entry-title {
    font-size: clamp(2.5rem, 13vw, 4.3rem);
  }

  .article-header {
    text-align: left;
  }

  .article-header .entry-kicker,
  .article-header .entry-categories,
  .article-header .entry-meta {
    justify-content: flex-start;
  }

  .entry-categories {
    align-items: flex-start;
    white-space: normal;
  }

  .entry-categories::before {
    margin-top: 0.5em;
  }

  .entry-categories-list {
    flex-wrap: wrap;
    row-gap: 5px;
  }

  .entry-category-separator {
    display: none;
  }

  .entry-actions {
    justify-content: flex-start;
  }

  .entry-footer,
  .entry-footer--share-only {
    justify-content: flex-start;
  }

  .entry-deck {
    font-size: 1.12rem;
  }

  .article-hero {
    margin-top: 24px;
  }

  .entry-content {
    margin-top: 28px;
    font-size: 1.08rem;
    line-height: 1.72;
  }

  .post-navigation .nav-links {
    grid-template-columns: 1fr;
  }

  .post-navigation .nav-next {
    text-align: left;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-meta {
    text-align: left;
  }

  .footer-actions {
    align-items: flex-start;
  }

  .author-card {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
  }

  .author-card-media {
    width: 84px;
    height: 84px;
  }

  .newsletter-box {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }

  .newsletter-form form,
  .newsletter-form #subscribe-blog,
  .newsletter-form .wp-block-jetpack-subscriptions__form,
  .newsletter-form .wp-block-jetpack-subscriptions__container {
    flex-direction: column;
  }

  .newsletter-form input[type="submit"],
  .newsletter-form button[type="submit"] {
    width: 100%;
  }

  .related-posts-grid {
    grid-template-columns: 1fr;
  }

  .image-lightbox {
    width: calc(100vw - 18px);
    height: calc(100dvh - 18px);
    padding: 52px 12px 16px;
    border-radius: calc(var(--me-radius) * 0.75);
  }

  .comments-header,
  .comments-inner {
    padding-right: 20px;
    padding-left: 20px;
  }

  body.mancera-fluid-mobile .single-main {
    width: 100%;
    padding-top: 0;
  }

  body.mancera-fluid-mobile .single-main > article {
    --me-fluid-gutter: clamp(18px, 5vw, 28px);
    padding: 28px var(--me-fluid-gutter) 38px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  body.mancera-fluid-mobile .single-main .article-header,
  body.mancera-fluid-mobile .single-main .entry-content,
  body.mancera-fluid-mobile .single-main .entry-footer,
  body.mancera-fluid-mobile .single-main .author-card,
  body.mancera-fluid-mobile .single-main .newsletter-box {
    width: 100%;
    max-width: none;
  }

  body.mancera-fluid-mobile .single-main .article-hero {
    width: calc(100% + (var(--me-fluid-gutter) * 2));
    max-width: none;
    margin-left: calc(var(--me-fluid-gutter) * -1);
    border-right: 0;
    border-left: 0;
  }

  body.mancera-fluid-mobile .single-main .post-navigation,
  body.mancera-fluid-mobile .single-main .comments-area {
    width: calc(100% - 26px);
  }
}

@media (max-width: 470px) {
  .header-utility {
    font-size: 0.62rem;
    letter-spacing: 0.035em;
  }

  .utility-label span {
    display: none;
  }

  .masthead {
    min-height: 78px;
    padding-block: 8px;
  }

  .header-banner {
    min-height: 58px;
  }

  .header-banner > a > img {
    height: 58px;
  }

  .lead-story {
    height: 390px;
    min-height: 390px;
  }

  .lead-story .story-media,
  .lead-story .story-media img,
  .lead-story .media-placeholder {
    height: 100%;
    min-height: 0;
  }

  .side-story {
    grid-template-columns: 1fr;
  }

  .side-story .story-media,
  .side-story .story-media img,
  .side-story .media-placeholder {
    min-height: 180px;
    aspect-ratio: 16 / 9;
  }

  .author-card {
    grid-template-columns: 1fr;
  }

  .author-card-media {
    width: 96px;
    height: 96px;
  }
}

@media (max-width: 782px) {
  .admin-bar .compact-site-header {
    top: 46px;
  }

  .admin-bar .reading-progress {
    top: 46px;
  }
}

@media (max-width: 600px) {
  .admin-bar .compact-site-header {
    top: 0;
  }

  .admin-bar .reading-progress {
    top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .image-lightbox[open] {
    animation: none;
  }

  .lead-story:hover,
  .side-story:hover,
  .story-card:hover,
  .social-link:hover,
  .reading-mode-button:hover,
  .share-button:hover,
  .return-home-link:hover {
    transform: none;
  }

  .lead-story:hover .story-media img,
  .side-story:hover .story-media img,
  .story-card:hover .story-media img {
    transform: none;
  }
}
