:root {
  --bg: #eef1ee;
  --bg-alt: #e5eae5;
  --panel: #ffffff;
  --panel-soft: #f5f7f5;
  --text: #1b2920;
  --muted: #536257;
  --primary: #187a35;
  --primary-strong: #105f29;
  --accent: #2d913f;
  --border: rgba(35, 68, 42, 0.16);
  --shadow: 0 16px 36px rgba(31, 48, 35, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

body {
  isolation: isolate;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(ellipse at 12% 5%, rgba(65, 143, 77, 0.1), transparent 32rem),
    radial-gradient(ellipse at 92% 42%, rgba(58, 126, 70, 0.07), transparent 34rem),
    linear-gradient(145deg, #f3f5f2 0%, #e9eee9 52%, #f2f4f1 100%);
  color: var(--text);
  line-height: 1.6;
}

body::before {
  animation: ambient-drift 36s ease-in-out infinite alternate;
  background-image:
    linear-gradient(rgba(35, 89, 47, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 89, 47, 0.025) 1px, transparent 1px),
    radial-gradient(ellipse at 70% 15%, rgba(78, 155, 74, 0.07), transparent 38%);
  background-size: 48px 48px, 48px 48px, 100% 100%;
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

@keyframes ambient-drift {
  from {
    transform: translate3d(-1%, -1%, 0);
  }

  to {
    transform: translate3d(1%, 1%, 0);
  }
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  background: var(--accent);
  border-radius: 8px;
  color: #1a1a1a;
  font-weight: 700;
  left: 12px;
  padding: 10px 14px;
  position: fixed;
  top: 12px;
  transform: translateY(-160%);
  z-index: 20;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  background: rgba(247, 249, 247, 0.94);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  backdrop-filter: blur(16px);
  z-index: 10;
}

.header-inner {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
  justify-content: center;
  padding: 10px 0 6px;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 3rem);
}

.top-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.top-nav a {
  align-items: center;
  color: var(--muted);
  display: inline-flex;
  min-height: 44px;
  padding: 4px 12px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 180ms ease, color 180ms ease;
}

.top-nav a:hover,
.top-nav a[aria-current="page"] {
  background: rgba(36, 132, 56, 0.09);
  border-radius: 999px;
  color: var(--primary);
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  justify-content: center;
  text-decoration: none;
}

.brand-image {
  border: 1px solid rgba(36, 132, 56, 0.28);
  border-radius: 9px;
  box-shadow: 0 0 24px rgba(36, 132, 56, 0.12);
  height: 48px;
  object-fit: cover;
  object-position: center 38%;
  width: 116px;
}

.brand-signature {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
}

.brand-name {
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.9rem;
  line-height: 1.05;
}

.brand-byline {
  color: var(--primary);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  line-height: 1.3;
}

.top-nav a:focus-visible {
  color: var(--text);
}

.hero {
  padding: 72px 0 40px;
}

.hero-inner {
  display: grid;
  place-items: center;
}

.hero-copy {
  max-width: 760px;
  text-align: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 34px 28px;
  box-shadow: var(--shadow);
}

.tag {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
}

.hero-copy h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.08;
  margin-bottom: 14px;
}

.hero-copy p {
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.button {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 14px 22px;
  transition: 0.2s ease;
}

.button.primary {
  background: var(--accent);
  color: #1a1a1a;
}

.button.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

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

.section {
  padding: 50px 0;
}

.section.alt {
  background: rgba(220, 227, 221, 0.52);
}

.interests-section {
  background:
    radial-gradient(ellipse at 92% 20%, rgba(99, 151, 75, 0.09), transparent 38rem),
    #f5f7f3;
}

.home-about-card {
  align-items: center;
  background:
    radial-gradient(ellipse at 0% 50%, rgba(54, 145, 66, 0.1), transparent 54%),
    linear-gradient(135deg, #ffffff, #f5f8f5);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  display: grid;
  gap: clamp(24px, 5vw, 56px);
  grid-template-columns: minmax(140px, 210px) minmax(0, 1fr);
  overflow: hidden;
  padding: clamp(22px, 4vw, 40px);
}

.home-about-card .about-portrait {
  justify-self: center;
  max-width: 210px;
  width: 100%;
}

.home-about-copy h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin: 0 0 18px;
}

.home-about-copy > p:not(.eyebrow) {
  color: var(--muted);
}

.home-about-copy .interest-link {
  display: inline-block;
  margin-top: 4px;
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading h3 {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  margin-bottom: 0;
}

.category-grid,
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.interest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 18px;
}

.interest-card {
  --interest-accent: #31864a;
  background: linear-gradient(160deg, #fff, #edf5ee);
  border: 1px solid color-mix(in srgb, var(--interest-accent) 24%, white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 370px;
  overflow: hidden;
  position: relative;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
  animation: tile-arrive 520ms both;
}

.interest-card:nth-child(2) {
  --interest-accent: #b58436;
  background: linear-gradient(160deg, #fffefa, #f7f0e3);
  animation-delay: 70ms;
}

.interest-card:nth-child(3) {
  --interest-accent: #526cb2;
  background: linear-gradient(160deg, #fff, #edf1fa);
  animation-delay: 140ms;
}

.interest-card:nth-child(4) {
  --interest-accent: #a9623f;
  background: linear-gradient(160deg, #fff, #f8eee8);
  animation-delay: 210ms;
}

.interest-card:hover {
  border-color: var(--interest-accent);
  box-shadow: 0 20px 42px rgba(31, 48, 35, 0.14), 0 0 22px rgba(35, 132, 55, 0.08);
  transform: translateY(-4px);
}

.interest-card-image {
  aspect-ratio: 16 / 9;
  background: color-mix(in srgb, var(--interest-accent) 12%, white);
  display: block;
  object-fit: cover;
  transition: transform 300ms ease;
  width: 100%;
}

.interest-card:hover .interest-card-image {
  transform: scale(1.025);
}

.interest-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 22px 22px;
}

.interest-label {
  color: var(--interest-accent, var(--accent));
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.interest-card h3 {
  font-size: 1.35rem;
  line-height: 1.25;
  margin-bottom: 10px;
}

.interest-card > p:not(.interest-label) {
  color: var(--muted);
  margin-bottom: 18px;
}

.interest-note,
.interest-link {
  font-size: 0.92rem;
  font-weight: 700;
  margin-top: auto;
}

.interest-note {
  color: var(--muted);
}

.interest-link {
  color: var(--interest-accent, var(--primary));
  text-decoration: none;
}

.interest-link:hover {
  color: var(--accent);
}

.interest-details {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  margin-top: 24px;
}

.sports-scores-section {
  background: rgba(229, 234, 229, 0.7);
  border-block: 1px solid var(--border);
  scroll-margin-top: 120px;
}

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

.sports-score-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  min-width: 0;
  padding: 18px;
}

.sports-score-card-heading {
  align-items: center;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding-bottom: 12px;
}

.sports-score-card-heading h3 {
  font-size: 1.15rem;
  margin: 0;
}

.sports-score-card-heading a {
  color: var(--primary-strong);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.sports-score-card-heading a:hover {
  text-decoration: underline;
}

.sports-score-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sports-game {
  border-bottom: 1px solid var(--border);
  padding: 12px 0 10px;
}

.sports-team-score,
.sports-player-score {
  align-items: baseline;
  display: flex;
  font-size: 0.9rem;
  gap: 8px;
  justify-content: space-between;
  line-height: 1.4;
  padding: 3px 0;
}

.sports-team-score span,
.sports-player-score span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.sports-team-score strong,
.sports-player-score strong {
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
}

.sports-event-status,
.sports-score-status,
.sports-scores-attribution {
  color: var(--muted);
  font-size: 0.78rem;
}

.sports-event-status {
  margin: 6px 0 0;
}

.sports-game.is-live .sports-event-status::before,
.sports-score-card.is-live .sports-score-card-heading h3::after {
  background: #c13b32;
  border-radius: 50%;
  content: "";
  display: inline-block;
  height: 0.55em;
  margin-right: 6px;
  vertical-align: 0.02em;
  width: 0.55em;
}

.sports-score-status {
  margin: 12px 0 0;
  min-height: 1.25em;
}

.sports-scores-attribution {
  margin: 14px 0 0;
  text-align: right;
}

.interest-detail-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(47, 142, 62, 0.06), transparent 30rem),
    rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: none;
  min-width: 0;
  padding: 22px;
}

.interest-detail-card:target {
  display: block;
}

.interest-detail-card h3 {
  font-size: 1.35rem;
  line-height: 1.25;
  margin: 0 0 14px;
}

.cookbook-cta {
  align-items: center;
  background: linear-gradient(120deg, var(--primary), var(--primary-strong));
  border: 1px solid var(--primary-strong);
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(24, 122, 53, 0.16);
  color: #fff;
  display: flex;
  gap: 14px;
  margin: 20px 0;
  min-height: 82px;
  padding: 15px 18px;
  text-decoration: none;
  transition: box-shadow 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.cookbook-cta:hover {
  box-shadow: 0 14px 28px rgba(24, 122, 53, 0.24);
  color: #fff;
  transform: translateY(-2px);
}

.cookbook-cta-icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 11px;
  display: flex;
  flex: 0 0 48px;
  height: 48px;
  justify-content: center;
}

.cookbook-cta-icon svg {
  fill: none;
  height: 29px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 29px;
}

.cookbook-cta-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
}

.cookbook-cta-copy strong {
  font-size: 1.05rem;
}

.cookbook-cta-copy > span {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.88rem;
}

.cookbook-cta-arrow {
  font-size: 1.5rem;
  font-weight: 700;
  transition: transform 180ms ease;
}

.cookbook-cta:hover .cookbook-cta-arrow {
  transform: translateX(4px);
}

.meal-photo-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  margin-top: 18px;
}

.kitchen-gear-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  margin-top: 18px;
}

.meal-photo-grid figure,
.kitchen-gear-grid figure {
  margin: 0;
  min-width: 0;
}

.meal-photo-grid img {
  border: 1px solid var(--border);
  border-radius: 12px;
  display: block;
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.kitchen-gear-heading {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-top: 20px;
}

.kitchen-gear-heading h4 {
  margin: 0;
}

.kitchen-gear-grid img {
  aspect-ratio: 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  display: block;
  height: auto;
  object-fit: contain;
  padding: 8px;
  width: 100%;
}

.kitchen-gear-grid figcaption {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 8px;
}

.kitchen-brand-link {
  display: inline-flex;
  flex: 0 0 auto;
}

.kitchen-brand-logo {
  display: block;
  height: auto;
  max-width: 160px;
  width: 32vw;
}

.kitchen-gear-grid a,
.kitchen-gear-list a {
  color: var(--primary);
}

.kitchen-gear-list {
  margin-bottom: 20px;
}

.race-results-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.race-results-heading {
  color: var(--text);
  font-size: 1rem;
  margin: 0 0 6px;
}

.race-result-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.race-result {
  align-items: baseline;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 9px 0;
}

.race-result:last-child {
  border-bottom: 0;
}

.platform-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}

.platform-list li {
  align-items: baseline;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  justify-content: space-between;
  padding: 10px 0;
}

.platform-list li:last-child {
  border-bottom: 0;
}

.platform-list a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.platform-list a:hover {
  text-decoration: underline;
}

.platform-list li > span {
  color: var(--muted);
  font-size: 0.9rem;
}

.golf-round-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.golf-round {
  align-items: center;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 12px 0;
}

.golf-round:last-child {
  border-bottom: 0;
}

.golf-round-details {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
}

.golf-round-details strong,
.golf-round-score {
  color: var(--accent);
}

.golf-round-score {
  flex: 0 0 auto;
  text-align: right;
}

.golf-handicap {
  align-items: baseline;
  background: rgba(36, 132, 56, 0.07);
  border: 1px solid rgba(36, 132, 56, 0.2);
  border-radius: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin: 0 0 14px;
  padding: 12px 14px;
}

.golf-handicap-label {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.golf-handicap > strong {
  color: var(--accent);
  font-size: 1.25rem;
}

.golf-handicap-method {
  color: var(--muted);
  flex-basis: 100%;
  font-size: 0.8rem;
  line-height: 1.45;
}

.race-result > :last-child {
  color: var(--accent);
  flex: 0 0 auto;
  white-space: nowrap;
}

.stats-source,
.snapshot-team {
  color: var(--muted);
  font-size: 0.9rem;
}

.stats-source {
  margin: 14px 0 0;
}

.stats-source a {
  color: var(--primary);
}

.snapshot-team {
  margin: -4px 0 16px;
}

.snapshot-stats {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.snapshot-stats div {
  background: rgba(40, 89, 49, 0.055);
  border-radius: 12px;
  padding: 12px;
}

.snapshot-stats dt {
  color: var(--muted);
  font-size: 0.82rem;
}

.snapshot-stats dd {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 4px 0 0;
}

.category-card,
.post-card {
  background: linear-gradient(145deg, #ffffff, #f1f5f1);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.category-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  font-weight: 700;
  font-size: 1.05rem;
}

.post-card {
  animation: tile-arrive 520ms both;
  overflow: hidden;
  position: relative;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.post-card::before {
  background: linear-gradient(90deg, var(--primary), transparent);
  content: "";
  height: 2px;
  inset: 0 25% auto 0;
  opacity: 0.65;
  position: absolute;
}

.post-card:nth-child(3n + 2)::before {
  background: linear-gradient(90deg, var(--accent), transparent);
  inset-inline: 12% 0;
}

.post-card:nth-child(3n)::before {
  background: linear-gradient(90deg, #81b989, transparent);
  inset-inline: 0 12%;
}

.post-card:nth-child(1) {
  animation-delay: 40ms;
}

.post-card:nth-child(2) {
  animation-delay: 100ms;
}

.post-card:nth-child(3) {
  animation-delay: 160ms;
}

.post-card:hover {
  border-color: rgba(30, 126, 52, 0.38);
  box-shadow: 0 20px 46px rgba(31, 48, 35, 0.15), 0 0 20px rgba(35, 132, 55, 0.07);
  transform: translateY(-4px);
}

@keyframes tile-arrive {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

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

.post-card .thumb {
  height: 170px;
  border-radius: 14px;
  margin-bottom: 16px;
  background:
    radial-gradient(circle at 76% 24%, rgba(255, 255, 255, 0.76), transparent 12%),
    linear-gradient(135deg, #398c4b, #a8d29c 48%, #26713b);
  display: grid;
  place-items: center;
  color: #102b18;
  font-size: 1.2rem;
  font-weight: 800;
  overflow: hidden;
  position: relative;
}

.post-card h4 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.post-card p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0 40px;
}

.footer-inner {
  color: var(--muted);
  text-align: center;
}

@media (max-width: 640px) {
  .home-about-card {
    gap: 20px;
    grid-template-columns: minmax(0, 1fr);
  }

  .home-about-card .about-portrait {
    max-width: 170px;
  }

  .header-inner {
    align-items: center;
    flex-direction: column;
    gap: 2px;
    justify-content: center;
    padding: 8px 0 4px;
  }

  .top-nav {
    gap: 2px;
    width: 100%;
  }

  .top-nav a {
    padding-inline: 9px;
  }

  .brand-image {
    height: 42px;
    width: 94px;
  }

  .brand-name {
    font-size: 1.7rem;
  }

  .hero {
    padding: 40px 0 24px;
  }

  .hero-copy {
    padding: 26px 20px;
  }

  .section {
    padding: 36px 0;
  }

  .interest-card {
    min-height: 0;
  }

  .interest-card-image {
    aspect-ratio: 16 / 8;
  }

  .post-grid,
  .category-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .post-card {
    min-height: 0;
  }

  .race-result {
    align-items: flex-start;
    font-size: 0.9rem;
  }

  .race-results-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .sports-score-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .interest-detail-card {
    padding: 18px;
  }

  .button {
    min-height: 44px;
    padding: 11px 18px;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .sports-score-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.hero-copy h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.08;
  margin: 0 0 14px;
}

.section-heading h2 {
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  margin-bottom: 0;
}

.intro-copy {
  color: var(--muted);
  margin: 10px 0 0;
}

.post-card {
  display: flex;
  flex-direction: column;
  min-height: 250px;
}

.post-card h3 {
  font-size: 1.2rem;
  line-height: 1.35;
  margin: 0 0 10px;
}

.post-card h3 a,
.post-card .text-link,
.section-action a,
.footer-inner a,
.back-link a,
.article-content a {
  color: var(--primary);
  text-decoration: none;
}

.post-card h3 a:hover,
.post-card .text-link:hover,
.section-action a:hover,
.footer-inner a:hover,
.back-link a:hover,
.article-content a:hover {
  text-decoration: underline;
}

.post-card .post-meta,
.post-meta {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  margin: 0 0 10px;
}

.post-card .text-link {
  font-weight: 700;
  margin-top: auto;
  padding-top: 18px;
}

.section-action {
  margin: 24px 0 0;
  text-align: right;
  font-weight: 700;
}

.category-card {
  color: var(--text);
  text-decoration: none;
}

a.category-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.search-label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}

.search-input {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font: inherit;
  margin-bottom: 24px;
  max-width: 520px;
  padding: 12px 14px;
  width: 100%;
}

.search-input:focus {
  border-color: var(--primary);
  outline: 2px solid rgba(36, 132, 56, 0.24);
}

.category-filter {
  color-scheme: light;
}

.results-status {
  color: var(--muted);
  font-size: 0.92rem;
  min-height: 1.5em;
  margin: -12px 0 18px;
}

.empty-state {
  color: var(--muted);
  grid-column: 1 / -1;
  padding: 20px 0;
}

.article-container {
  max-width: 820px;
}

.article-card {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: clamp(22px, 5vw, 44px);
}

.article-card h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.1;
  margin: 0 0 28px;
}

.about-page-layout {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(140px, 200px) minmax(0, 1fr);
}

.about-portrait {
  background: rgba(40, 89, 49, 0.055);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin: 0;
  overflow: hidden;
}

.about-portrait img {
  height: auto;
  width: 100%;
}

.video-page-card h2 {
  font-size: clamp(1.4rem, 4vw, 2rem);
  line-height: 1.2;
  margin: 0 0 10px;
}

.video-page-card p {
  color: var(--muted);
}

.video-page-card .video-frame {
  margin: 24px 0 18px;
  max-width: none;
}

.video-source-link {
  color: var(--primary);
  text-decoration: none;
}

.video-source-link:hover {
  text-decoration: underline;
}

.article-content {
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.8;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.article-content img {
  border-radius: 12px;
  height: auto;
  margin: 20px 0;
  max-width: 100%;
}

.article-content blockquote {
  border-left: 3px solid var(--accent);
  color: var(--muted);
  margin: 24px 0;
  padding-left: 20px;
}

.back-link {
  margin: 0 0 18px;
  font-weight: 700;
}

.comments {
  border-top: 1px solid var(--border);
  margin-top: 36px;
  padding-top: 26px;
}

.comments h2 {
  font-size: 1.5rem;
}

.comment {
  border-left: 2px solid var(--border);
  margin: 20px 0 0;
  padding-left: 18px;
}

.video-frame {
  aspect-ratio: 16 / 9;
  margin: 24px 0;
  max-width: 720px;
}

.video-frame iframe {
  border: 0;
  border-radius: 12px;
  height: 100%;
  width: 100%;
}

.embed-link {
  background: rgba(40, 89, 49, 0.055);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: inline-block;
  padding: 12px 16px;
}

.loading-message,
.error-message {
  color: var(--muted);
}

.media-fallback {
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
}

@media (max-width: 640px) {
  .about-page-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-portrait {
    justify-self: center;
    max-width: 200px;
  }
}

.error-message {
  color: #ffb4a9;
}
