:root {
  --bg: #f6f1e7;
  --bg-soft: #fbf8f2;
  --surface: #ffffff;
  --surface-alt: #f0eadc;
  --ink: #102118;
  --ink-soft: #516057;
  --ink-faint: #718077;
  --line: rgba(16, 33, 24, 0.12);
  --line-strong: rgba(16, 33, 24, 0.2);
  --brand: #19c37d;
  --brand-dark: #0f3a2c;
  --accent: #e6b84c;
  --danger: #b64838;
  --warning: #c58a21;
  --shadow-sm: 0 10px 30px rgba(16, 33, 24, 0.06);
  --shadow-md: 0 22px 55px rgba(16, 33, 24, 0.11);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --container: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(25, 195, 125, 0.08), transparent 30%),
    linear-gradient(180deg, #f8f4eb 0%, var(--bg) 100%);
  line-height: 1.7;
}

body.nav-open,
body.search-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  padding: 0.95rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(25, 195, 125, 0.55);
  box-shadow: 0 0 0 4px rgba(25, 195, 125, 0.12);
}

textarea {
  resize: vertical;
  min-height: 140px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

p {
  margin: 0;
}

.container {
  width: min(var(--container), calc(100% - 2.5rem));
  margin: 0 auto;
}

.main-content {
  padding-bottom: 5rem;
}

.section-shell {
  padding: 1.5rem 0 2rem;
}

.section-shell--tight {
  padding-top: 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
}

.section-heading h1,
.section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.section-copy {
  margin-top: 0.6rem;
  max-width: 48rem;
  color: var(--ink-soft);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(25, 195, 125, 0.12);
  color: var(--brand-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-light {
  background: rgba(16, 33, 24, 0.08);
  color: var(--ink-soft);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--brand-dark);
  font-weight: 600;
}

.text-link:hover {
  color: var(--brand);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand);
  color: var(--brand-dark);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: #15b873;
}

.btn-secondary {
  background: rgba(16, 33, 24, 0.04);
  border-color: var(--line);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: rgba(16, 33, 24, 0.28);
  background: rgba(16, 33, 24, 0.08);
}

.btn-block {
  width: 100%;
}

.badge,
.meta-pill,
.chip,
.status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
}

.badge {
  padding: 0.36rem 0.8rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge-dark {
  background: rgba(16, 33, 24, 0.92);
  color: #f8f4eb;
}

.badge-ghost {
  background: rgba(16, 33, 24, 0.06);
  color: var(--ink-soft);
}

.meta-pill {
  padding: 0.35rem 0.75rem;
  background: rgba(248, 244, 235, 0.18);
  color: rgba(248, 244, 235, 0.88);
  font-size: 0.8rem;
}

.meta-pill-light {
  background: rgba(16, 33, 24, 0.06);
  color: var(--ink-soft);
}

.story-kicker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 244, 235, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(16, 33, 24, 0.08);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: max-content;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-dark), #1d5b46);
  color: var(--brand);
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 800;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-copy strong {
  font-size: 0.98rem;
}

.brand-copy span {
  color: var(--ink-faint);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.main-nav a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 600;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--ink);
}

.mobile-nav-auth {
  display: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.icon-button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(16, 33, 24, 0.04);
  color: var(--ink);
}

.icon-button svg {
  width: 18px;
  height: 18px;
  margin: 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.lang-switch {
  display: inline-flex;
  padding: 0.25rem;
  background: rgba(16, 33, 24, 0.05);
  border-radius: 999px;
}

.lang-switch a {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.lang-switch a.active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(16, 33, 24, 0.04);
}

.mobile-nav-toggle span {
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 999px;
}

.search-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(7, 18, 12, 0.7);
}

.search-overlay.is-open {
  display: flex;
}

.search-dialog {
  position: relative;
  width: min(720px, 100%);
  padding: 2.2rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.search-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(16, 33, 24, 0.06);
  color: var(--ink);
  font-size: 1.6rem;
}

.search-eyebrow {
  margin-bottom: 0.75rem;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.search-dialog h2 {
  margin-bottom: 1.2rem;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
}

.search-form {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.search-form input {
  flex: 1;
}

.search-hint {
  margin-top: 0.9rem;
  color: var(--ink-faint);
  font-size: 0.92rem;
}

.breadcrumbs {
  border-bottom: 1px solid rgba(16, 33, 24, 0.08);
}

.breadcrumbs-shell {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  min-height: 56px;
  color: var(--ink-faint);
  font-size: 0.9rem;
}

.breadcrumbs-shell a:hover {
  color: var(--ink);
}

.breadcrumbs .current {
  color: var(--ink);
  font-weight: 600;
}

.hero-shell {
  padding: 2rem 0 1.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.5rem;
  align-items: stretch;
}

.hero-copy,
.hero-feature-card,
.empty-panel,
.newsletter-band,
.page-hero__inner,
.prose-panel,
.info-card,
.auth-card,
.form-panel,
.table-panel,
.article-panel,
.author-card,
.share-card,
.mini-feature,
.search-result,
.stat-card,
.quick-links a,
.admin-table,
.admin-form,
.search-dialog {
  border: 1px solid rgba(16, 33, 24, 0.08);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  padding: clamp(1.8rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(25, 195, 125, 0.24), transparent 36%),
    linear-gradient(135deg, #0d3024 0%, #144433 52%, #1d4f3f 100%);
  color: #f8f4eb;
  box-shadow: var(--shadow-md);
}

.hero-copy h1 {
  max-width: 12ch;
  font-size: clamp(2.6rem, 6vw, 5rem);
}

.hero-summary {
  max-width: 34rem;
  margin-top: 1.2rem;
  color: rgba(248, 244, 235, 0.78);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 2rem;
}

.stat-tile {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(248, 244, 235, 0.08);
}

.stat-tile strong {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.stat-tile span {
  color: rgba(248, 244, 235, 0.72);
  font-size: 0.88rem;
}

.hero-feature-card {
  display: grid;
  grid-template-rows: 320px auto;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.hero-feature-card__media,
.story-card__media,
.search-result__media {
  position: relative;
  display: block;
  overflow: hidden;
}

.hero-feature-card__media img,
.story-card__media img,
.search-result__media img,
.article-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.hero-feature-card:hover .hero-feature-card__media img,
.story-card:hover .story-card__media img,
.search-result:hover .search-result__media img {
  transform: scale(1.04);
}

.hero-feature-card__placeholder,
.story-card__placeholder,
.search-result__placeholder,
.article-hero__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #d9d3c4, #eee7d9);
  color: var(--ink-faint);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-feature-card__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
}

.hero-feature-card__body h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.hero-feature-card__body p {
  color: var(--ink-soft);
}

.hero-feature-card__footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  margin-top: auto;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 0.92rem;
}

.feature-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.mini-feature {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.35rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
}

.mini-feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.mini-feature__category {
  color: var(--brand-dark);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mini-feature h3 {
  font-size: 1.25rem;
}

.mini-feature p,
.mini-feature__meta {
  color: var(--ink-soft);
}

.mini-feature__meta {
  font-size: 0.9rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.chip {
  padding: 0.7rem 1rem;
  background: rgba(16, 33, 24, 0.05);
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 600;
}

.chip small {
  color: var(--ink-faint);
  font-size: 0.78rem;
}

.chip:hover,
.chip-active {
  background: rgba(25, 195, 125, 0.16);
  color: var(--brand-dark);
}

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

.story-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(25, 195, 125, 0.35);
}

.story-card__media {
  height: 230px;
}

.story-card__placeholder,
.search-result__placeholder {
  height: 100%;
}

.story-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.2rem;
  flex: 1;
}

.story-card__topline,
.search-result__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.story-card__readtime,
.search-result__meta {
  color: var(--ink-faint);
  font-size: 0.85rem;
}

.story-card h3 {
  font-size: 1.3rem;
}

.story-card p {
  color: var(--ink-soft);
}

.story-card__footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 0.95rem;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 0.9rem;
}

.newsletter-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 0% 100%, rgba(230, 184, 76, 0.26), transparent 32%),
    linear-gradient(135deg, #f5efe3 0%, #fffdf8 100%);
  box-shadow: var(--shadow-sm);
}

.newsletter-band h2 {
  max-width: 16ch;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.newsletter-band p {
  margin-top: 0.8rem;
  color: var(--ink-soft);
  max-width: 40rem;
}

.newsletter-band__form,
.footer-subscribe {
  display: flex;
  gap: 0.8rem;
  width: min(420px, 100%);
}

.page-hero {
  padding: 1.8rem 0 1rem;
}

.page-hero__inner {
  padding: clamp(1.6rem, 4vw, 2.6rem);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-sm);
}

.page-hero__inner h1 {
  font-size: clamp(2.3rem, 4.5vw, 4rem);
}

.page-hero__inner p {
  max-width: 44rem;
  margin-top: 1rem;
  color: var(--ink-soft);
}

.filter-bar {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding: 0.45rem;
  border-radius: 999px;
  background: rgba(16, 33, 24, 0.05);
}

.filter-bar a {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 600;
}

.filter-bar a.active,
.filter-bar a:hover {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.context-note {
  margin-bottom: 1rem;
  color: var(--ink-soft);
}

.empty-panel {
  padding: clamp(1.8rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.75);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.empty-panel h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}

.empty-panel p {
  max-width: 34rem;
  margin: 0.9rem auto 0;
  color: var(--ink-soft);
}

.empty-panel .btn {
  margin-top: 1.2rem;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  color: var(--ink-soft);
}

.pagination a {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-weight: 600;
}

.pagination a:hover {
  border-color: rgba(25, 195, 125, 0.35);
  color: var(--brand-dark);
}

.article-hero {
  position: relative;
  min-height: clamp(420px, 58vh, 660px);
  display: flex;
  align-items: end;
  overflow: hidden;
}

.article-hero__image,
.article-hero__placeholder {
  position: absolute;
  inset: 0;
}

.article-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 30, 21, 0.16), rgba(10, 24, 18, 0.84));
}

.article-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: 2.2rem;
}

.article-hero__copy {
  max-width: 52rem;
  color: #f8f4eb;
}

.article-hero__copy h1 {
  margin-top: 1rem;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
}

.article-hero__copy p {
  margin-top: 1rem;
  color: rgba(248, 244, 235, 0.78);
  font-size: 1.02rem;
}

.article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.2rem;
  color: rgba(248, 244, 235, 0.72);
  font-size: 0.94rem;
}

.article-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.article-aside {
  position: sticky;
  top: 102px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.author-card,
.share-card {
  padding: 1.3rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
}

.author-card__label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--ink-faint);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.author-card strong {
  display: block;
  font-size: 1.15rem;
}

.author-card p,
.share-card a {
  color: var(--ink-soft);
}

.share-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.share-card a:hover {
  color: var(--brand-dark);
}

.article-panel,
.form-panel,
.table-panel,
.prose-panel,
.info-card,
.auth-card {
  padding: clamp(1.4rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
}

.article-body {
  font-size: 1.06rem;
  color: var(--ink-soft);
}

.article-body > * + * {
  margin-top: 1.2rem;
}

.article-body h2,
.article-body h3 {
  color: var(--ink);
}

.article-body h2 {
  margin-top: 2.4rem;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.article-body h3 {
  margin-top: 1.8rem;
  font-size: 1.45rem;
}

.article-body blockquote {
  margin: 1.8rem 0;
  padding: 1.2rem 1.4rem;
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(25, 195, 125, 0.08);
  color: var(--ink);
  font-family: 'Manrope', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.article-body ul,
.article-body ol {
  padding-left: 1.3rem;
}

.article-body li + li {
  margin-top: 0.5rem;
}

.article-body a {
  color: var(--brand-dark);
  text-decoration: underline;
  text-decoration-color: rgba(25, 195, 125, 0.35);
}

.article-body img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.tour-card {
  margin: 2rem 0;
  padding: 1.4rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(16, 33, 24, 0.96), #184937);
  color: #f8f4eb;
}

.tour-card__eyebrow {
  display: inline-block;
  margin-bottom: 0.7rem;
  color: rgba(248, 244, 235, 0.7);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tour-card h4 {
  font-size: 1.45rem;
}

.tour-card p {
  margin-top: 0.7rem;
  color: rgba(248, 244, 235, 0.78);
}

.tour-card .btn {
  margin-top: 1rem;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.7rem 1.8rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(230, 184, 76, 0.9), rgba(241, 210, 135, 0.92));
  box-shadow: var(--shadow-sm);
}

.cta-banner h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.cta-banner p {
  margin-top: 0.65rem;
  color: rgba(16, 33, 24, 0.78);
}

.search-results {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.search-result {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 1rem;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
}

.search-result__media {
  min-height: 220px;
}

.search-result__body {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.3rem;
}

.search-result__body h2 {
  font-size: 1.55rem;
}

.search-result__body p {
  color: var(--ink-soft);
}

.prose-layout,
.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  gap: 1.5rem;
  align-items: start;
}

.prose-panel h2,
.info-card h3,
.auth-card h2,
.auth-intro h1 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.prose-panel > * + *,
.info-card > * + *,
.auth-intro > * + * {
  margin-top: 1rem;
}

.prose-panel ul,
.info-card ul {
  margin: 0;
  padding-left: 1.15rem;
}

.prose-panel li + li,
.info-card li + li {
  margin-top: 0.55rem;
}

.info-grid {
  display: grid;
  gap: 1rem;
}

.info-card p,
.info-card li,
.prose-panel p,
.prose-panel li,
.auth-intro p {
  color: var(--ink-soft);
}

.auth-intro {
  padding: 1.2rem 0;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--ink);
  font-weight: 600;
}

.error-msg {
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(182, 72, 56, 0.12);
  color: #7f281d;
  border: 1px solid rgba(182, 72, 56, 0.2);
}

.auth-footer {
  margin-top: 1rem;
  color: var(--ink-soft);
}

.table-panel {
  overflow-x: auto;
}

.articles-table,
.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.articles-table th,
.articles-table td,
.admin-table th,
.admin-table td {
  padding: 1rem 0.9rem;
  border-bottom: 1px solid rgba(16, 33, 24, 0.08);
  text-align: left;
}

.articles-table th,
.admin-table th {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status {
  padding: 0.35rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: capitalize;
}

.status-pending {
  background: rgba(197, 138, 33, 0.16);
  color: #88580d;
}

.status-approved {
  background: rgba(25, 195, 125, 0.16);
  color: var(--brand-dark);
}

.status-rejected {
  background: rgba(182, 72, 56, 0.14);
  color: #7f281d;
}

.site-footer {
  margin-top: 1rem;
  padding: 3.4rem 0 1.4rem;
  background: linear-gradient(180deg, #0d3024 0%, #07160f 100%);
  color: rgba(248, 244, 235, 0.76);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.footer-brand p,
.footer-column a {
  color: rgba(248, 244, 235, 0.66);
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-column h4 {
  color: #f8f4eb;
  font-size: 1rem;
}

.footer-column a:hover,
.footer-meta-links a:hover {
  color: var(--brand);
}

.brand-footer .brand-mark {
  background: rgba(248, 244, 235, 0.12);
}

.footer-subscribe {
  margin-top: 1.2rem;
}

.footer-subscribe input {
  background: rgba(248, 244, 235, 0.08);
  border-color: rgba(248, 244, 235, 0.14);
  color: #f8f4eb;
}

.footer-subscribe input::placeholder {
  color: rgba(248, 244, 235, 0.48);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(248, 244, 235, 0.1);
  color: rgba(248, 244, 235, 0.52);
}

.footer-meta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-body {
  background:
    radial-gradient(circle at top right, rgba(25, 195, 125, 0.08), transparent 30%),
    linear-gradient(180deg, #f7f3ea 0%, #f1eadb 100%);
}

.admin-page,
.admin-dashboard {
  padding: 1rem 0 4rem;
}

.admin-page h1,
.admin-dashboard h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.stat-card {
  padding: 1.4rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
}

.stat-value {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand-dark);
}

.stat-label {
  color: var(--ink-soft);
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.quick-links a {
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  font-weight: 600;
}

.quick-links a:hover {
  color: var(--brand-dark);
  border-color: rgba(25, 195, 125, 0.35);
}

.admin-table,
.admin-form {
  width: 100%;
  padding: 1.2rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
}

.admin-form .form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-actions,
.admin-table .actions,
.add-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn-approve,
.btn-reject,
.btn-delete {
  padding: 0.65rem 0.95rem;
  border: none;
  border-radius: 999px;
  font-weight: 700;
}

.btn-approve {
  background: rgba(25, 195, 125, 0.18);
  color: var(--brand-dark);
}

.btn-reject {
  background: rgba(197, 138, 33, 0.18);
  color: #8b5e11;
}

.btn-delete {
  background: rgba(182, 72, 56, 0.14);
  color: #7f281d;
}

.current-image img {
  margin-top: 0.7rem;
  border-radius: var(--radius-sm);
}

@media (max-width: 1100px) {
  .hero-grid,
  .article-layout,
  .prose-layout,
  .auth-layout,
  .search-result,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .article-aside {
    position: static;
    order: 2;
  }

  .article-panel {
    order: 1;
  }
}

@media (max-width: 900px) {
  .main-nav {
    position: fixed;
    top: 79px;
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 24px;
    background: rgba(248, 244, 235, 0.98);
    box-shadow: var(--shadow-md);
  }

  .main-nav.is-open {
    display: flex;
  }

  .mobile-nav-auth {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding-top: 0.8rem;
    margin-top: 0.4rem;
    border-top: 1px solid var(--line);
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .header-account,
  .header-cta {
    display: none;
  }

  .section-heading,
  .newsletter-band,
  .cta-banner,
  .footer-bottom,
  .search-form,
  .footer-subscribe {
    flex-direction: column;
    align-items: stretch;
  }

  .feature-rail,
  .story-grid,
  .stat-strip,
  .admin-form .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100% - 1.3rem));
  }

  .header-actions {
    gap: 0.5rem;
  }

  .lang-switch {
    display: none;
  }

  .article-hero__copy,
  .hero-copy,
  .page-hero__inner,
  .article-panel,
  .prose-panel,
  .form-panel,
  .auth-card,
  .info-card,
  .newsletter-band,
  .search-dialog {
    padding: 1.2rem;
  }

  .story-card__media,
  .hero-feature-card {
    grid-template-rows: 240px auto;
  }

  .search-result__media {
    min-height: 180px;
  }

  .article-hero {
    min-height: 380px;
  }

  .article-hero__copy h1,
  .hero-copy h1,
  .page-hero__inner h1 {
    font-size: clamp(2rem, 10vw, 2.9rem);
  }
}
