/* =============================================================
   Stadtentwässerung Homburg — Design System
   ============================================================= */

/* Kumbh Sans wird lokal eingebunden (siehe /assets/fonts/kumbh-sans.css),
   kein Remote-Import von Google Fonts -> kein Drittland-Transfer. */

/* ── Design tokens ─────────────────────────────────────────── */
:root {
  --green:    #13763d;
  --green-dk: #0e5c30;
  --text:     #797d7f;
  --ink:      #161d22;
  --bg:       #fff;
  --section:  #eef1f3;
  --header-h: 120px;
  /* Einheitlicher Außenabstand (links/rechts zum Bildschirmrand).
     Wiederverwendbar fuer Header und spaeter weitere Sektionen. */
  --edge-gap: 4.5rem;
}

/* ── Reset / base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Smooth Scroll fuer Anker-Links und Zurueck-nach-oben.
   scroll-padding-top sorgt dafuer, dass Ziel-Elemente nicht unter dem
   sticky Header verschwinden. Bei prefers-reduced-motion deaktiviert. */
html { scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: "Kumbh Sans", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: clamp(1rem, 1.15vw, 1.125rem);
}

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

a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
  font-family: "Kumbh Sans", sans-serif;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.15;
}

h1 { font-size: clamp(1.8rem, 5vw, 3rem); }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

ul { list-style: none; }

/* ── Skip link ──────────────────────────────────────────────── */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green);
  color: #fff;
  padding: .5rem 1rem;
  z-index: 9999;
  font-weight: 600;
}
.skip:focus { left: 0; }

/* ── Typography helpers ─────────────────────────────────────── */
.kicker {
  display: block;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .75rem;
  color: var(--text);
  font-weight: 600;
  margin-bottom: .6rem;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  background: var(--green);
  color: #fff;
  padding: .85rem 1.8rem;
  border: 2px solid var(--green);
  border-radius: 0;
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: background .18s, color .18s;
  font-family: inherit;
  line-height: 1.2;
}
.btn:hover, .btn:focus-visible {
  background: var(--green-dk);
  border-color: var(--green-dk);
  color: #fff;
  text-decoration: none;
}
.btn-outline {
  background: transparent;
  color: var(--green);
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: var(--green);
  color: #fff;
}
.btn-white {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.btn-white:hover, .btn-white:focus-visible {
  background: var(--section);
  border-color: var(--section);
  color: var(--ink);
}

/* ── Reveal animations (Einblenden beim Laden / Scrollen) ─────── */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s ease, transform .6s ease, background .18s ease, color .18s ease;
  will-change: opacity, transform;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Section wrapper ────────────────────────────────────────── */
.section {
  padding: 4rem 0;
}
.section--alt {
  background: var(--section);
}
.section--dark {
  background: var(--ink);
  color: rgba(255,255,255,.75);
}
.section--dark h1,
.section--dark h2,
.section--dark h3 {
  color: #fff;
}

.container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-header {
  margin-bottom: 2.5rem;
}
.section-header--center {
  text-align: center;
}

/* ── Site header ────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  height: var(--header-h);
  transition: height .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled {
  height: 76px;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 3px 14px rgba(0,0,0,.12);
}
.site-logo img {
  transition: height .25s ease;
}
.site-header.scrolled .site-logo img {
  height: 44px;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 0 var(--edge-gap);
  gap: 0;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.site-logo img {
  height: 56px;
  width: auto;
}

/* Nav */
.site-nav {
  margin-left: 4.5rem;
}
.site-nav__list {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.site-nav__list a {
  display: block;
  padding: .5rem .9rem;
  color: var(--ink);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.site-nav__list a:hover,
.site-nav__list a:focus-visible {
  color: var(--green);
  border-bottom-color: var(--green);
  text-decoration: none;
}
.site-nav__list a.active,
.site-nav__list a[aria-current="page"] {
  color: var(--green);
  border-bottom-color: var(--green);
}

/* Header CTA */
.site-header__cta {
  flex-shrink: 0;
  margin-left: auto;
  padding-left: 1.5rem;
}
.site-header__cta .btn {
  padding: .95rem 2.6rem;
}

/* Hamburger */
.site-header__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}
.site-header__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform .2s, opacity .2s;
}

/* ── Chips (news filter) ─────────────────────────────────────── */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2rem;
}
.chip {
  display: inline-block;
  padding: .35rem 1rem;
  border: 2px solid var(--green);
  color: var(--green);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.chip:hover,
.chip.active {
  background: var(--green);
  color: #fff;
  text-decoration: none;
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  overflow: hidden;
  color: #fff;
}
.hero__slides {
  position: absolute;
  inset: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s ease, visibility .9s ease;
}
.hero__slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(22,29,34,.5);
}
.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
}
.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
  transform: translateY(-3vh);
}
/* Inhalt der aktiven Folie sanft einblenden */
.hero__slide .hero__content {
  opacity: 0;
  transition: opacity .7s ease .3s;
}
.hero__slide.is-active .hero__content {
  opacity: 1;
}
/* Fortschrittsbalken (Ladebalken bis zum naechsten Wechsel) */
.hero__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: rgba(255,255,255,.25);
  z-index: 2;
}
.hero__progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: var(--green);
}
.hero h1 {
  color: #fff;
  margin-bottom: .9rem;
  font-size: clamp(3rem, 7vw, 5rem);
}
.hero p {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  margin-bottom: 2rem;
  opacity: .92;
}
.hero .hero__sub {
  font-size: clamp(1.25rem, 2.6vw, 1.9rem);
  font-weight: 600;
  opacity: .95;
}
/* Laengere Subheading (z. B. Folie 2) kleiner + lesbar umbrechen */
.hero .hero__sub--long {
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 500;
  line-height: 1.5;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.hero .btn {
  margin-top: 1.25rem;
}

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 2.5rem;
}
.faq-intro__lead { }
.faq-intro__text p { font-size: clamp(1rem, 1.2vw, 1.15rem); }

.faq-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid #dde0e2;
}
.faq-item {
  padding: 1.75rem 1.75rem 1.75rem 1.75rem;
  border-bottom: 1px solid #dde0e2;
  border-right: 1px solid #dde0e2;
}
.faq-item:first-child {
  padding-left: 0;
}
.faq-item:last-child {
  border-right: none;
  padding-right: 0;
}
.faq-item h3 {
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .5rem;
}
.faq-item__link {
  display: inline-block;
  color: var(--green);
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
  margin-top: .25rem;
  transition: transform .15s;
}
.faq-item__link:hover { transform: translateX(3px); }

/* ── News grid ───────────────────────────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.news-card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: box-shadow .2s;
}
.news-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.12);
  text-decoration: none;
}
.news-card__img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}
.news-card__body {
  padding: .9rem .25rem;
}
.news-card__body h3 {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--ink);
  line-height: 1.35;
  font-weight: 700;
}
.news-card__date {
  font-size: .8rem;
  color: var(--text);
  margin-top: .35rem;
}
.news-card__excerpt {
  font-size: .92rem;
  color: var(--text);
  margin-top: .5rem;
  line-height: 1.5;
}
.news-card__img--placeholder {
  background: var(--section);
  border: 1px solid #dde0e2;
}

/* ── CTA / Meldeportal ───────────────────────────────────────── */
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
  align-items: center;
}
.cta-badge {
  background: var(--ink);
  background-image: linear-gradient(rgba(22,29,34,.45), rgba(22,29,34,.78)), url('/assets/img/hero.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 2rem;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  min-height: 240px;
  display: flex;
  align-items: flex-end;
}
.cta-text .kicker {
  display: block;
  margin-bottom: .5rem;
}
.cta-text h2 {
  margin-bottom: .75rem;
}
.cta-text p {
  margin-bottom: 1.5rem;
}

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.65);
  font-size: .9rem;
}

.footer-cta {
  background: var(--ink);
  padding: 4rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-cta .kicker {
  color: rgba(255,255,255,.5);
  margin-bottom: .75rem;
}
.footer-cta h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  margin-bottom: 1.75rem;
}
.footer-cta__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.footer-cta__logo {
  height: 52px;
  width: auto;
  margin: 0 auto;
  opacity: .9;
}

.footer-nav-band {
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-nav-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.footer-nav-band__logo {
  height: 44px;
  width: auto;
  opacity: .9;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-nav a {
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}
.footer-nav a:hover { color: #fff; }

.footer-info {
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-info__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-info__col h4 {
  color: #fff;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: .75rem;
}
.footer-info__col p,
.footer-info__col a {
  color: rgba(255,255,255,.65);
  font-size: .875rem;
  line-height: 1.7;
}
.footer-info__col a:hover { color: #fff; }

.footer-bottom {
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-bottom a {
  color: rgba(255,255,255,.4);
  text-decoration: none;
}
.footer-bottom a:hover { color: rgba(255,255,255,.8); }
.footer-bottom__links {
  display: flex;
  gap: 1rem;
}

/* ── Back-to-top button ──────────────────────────────────────── */
.to-top {
  position: fixed;
  right: var(--edge-gap);
  bottom: 2rem;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 0;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease, background .15s ease;
}
.to-top:hover { background: var(--green-dk); }
.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.to-top__arrow {
  display: block;
  width: 12px;
  height: 12px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(-45deg);
  margin-top: 3px;
  animation: toTopBounce 1.4s ease-in-out infinite;
}
@keyframes toTopBounce {
  0%, 100% { transform: rotate(-45deg) translate(0, 0); }
  50%      { transform: rotate(-45deg) translate(-3px, 3px); }
}
@media (prefers-reduced-motion: reduce) {
  .to-top__arrow { animation: none; }
}

/* ── Cookie banner ───────────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: #2c3a45;
  color: #e8eaeb;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 -4px 16px rgba(0,0,0,.25);
}
.cookie-banner__inner {
  max-width: 1340px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cookie-banner__text {
  flex: 1;
  min-width: 240px;
}
.cookie-banner__title {
  margin: 0 0 .4rem;
  font-weight: 700;
  font-size: .95rem;
  color: #fff;
}
.cookie-banner p {
  margin: 0;
  font-size: .875rem;
  line-height: 1.55;
}
.cookie-banner__note {
  margin-top: .45rem;
  font-size: .8rem;
  color: rgba(255,255,255,.65);
}
.cookie-banner p a {
  color: #8fd4a8;
  text-decoration: underline;
}
.cookie-banner__actions {
  display: flex;
  gap: .75rem;
  flex-shrink: 0;
}
.cookie-banner__actions .btn {
  padding: .65rem 1.6rem;
  font-size: .9rem;
  white-space: nowrap;
}
.cookie-banner__actions .btn-ghost {
  background: transparent;
  color: rgba(255,255,255,.65);
  border-color: rgba(255,255,255,.3);
}
.cookie-banner__actions .btn-ghost:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
}

/* ── Neuigkeiten list page ───────────────────────────────────── */
.neuigkeiten-section .section-header {
  margin-bottom: 1.5rem;
}
.neuigkeiten-empty {
  text-align: center;
  color: var(--text);
  padding: 3rem 0;
  font-size: 1.05rem;
}

/* ── Utilities ───────────────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.text-green { color: var(--green); }
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }

/* ── Mobile responsive ───────────────────────────────────────── */
@media (max-width: 768px) {

  /* Header */
  .site-header__toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
    z-index: 99;
    padding: .75rem 0;
  }
  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-nav__list a {
    padding: .85rem 1.5rem;
    border-bottom: 1px solid var(--section);
    border-left: none;
    font-size: 1rem;
  }
  .site-nav__list a:last-child {
    border-bottom: none;
  }

  body.nav-open .site-nav {
    display: block;
  }
  body.nav-open .site-header__toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  body.nav-open .site-header__toggle span:nth-child(2) {
    opacity: 0;
  }
  body.nav-open .site-header__toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-header__cta { display: none; }

  /* Hero */
  .hero { min-height: 360px; }

  /* FAQ */
  .faq-intro {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .faq-item:nth-child(odd) {
    padding-right: 0;
    border-right: none;
  }
  .faq-item:nth-child(even) {
    padding-left: 0;
  }

  /* News */
  .news-grid {
    grid-template-columns: 1fr;
  }

  /* CTA block */
  .cta-block {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Footer */
  .footer-info__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer-cta__buttons {
    flex-direction: column;
    align-items: center;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Cookie */
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .cookie-banner__actions .btn {
    width: 100%;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .faq-intro {
    gap: 2rem;
  }
}

/* ── Single post (beitrag.php) ──────────────────────────────── */
.post {
  max-width: 780px;
  margin: 3rem auto;
  padding: 0 1.25rem;
}

.post-hero {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 2rem;
  object-fit: cover;
}

.post h1 {
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.post-date {
  font-size: 0.875rem;
  color: var(--text);
  margin-bottom: 1rem;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.post-body {
  line-height: 1.8;
  color: var(--ink);
}

.post-body p { margin-bottom: 1.25rem; }
.post-body h2 { font-size: 1.5rem; margin: 2rem 0 0.75rem; }
.post-body h3 { font-size: 1.25rem; margin: 1.75rem 0 0.6rem; }
.post-body h4 { font-size: 1.1rem; margin: 1.5rem 0 0.5rem; }
.post-body ul,
.post-body ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.post-body li { margin-bottom: 0.4rem; }
.post-body blockquote {
  border-left: 4px solid var(--green);
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0;
  background: var(--section);
  border-radius: 0 6px 6px 0;
  font-style: italic;
}
.post-body a { color: var(--green); text-decoration: underline; }
.post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 1rem 0;
}
.post-body figure {
  margin: 1.5rem 0;
  text-align: center;
}
.post-body figcaption {
  font-size: 0.85rem;
  color: var(--text);
  margin-top: 0.4rem;
}
.post-body hr {
  border: none;
  border-top: 1px solid var(--section);
  margin: 2rem 0;
}

@media (max-width: 600px) {
  .post { margin: 1.5rem auto; }
  .post h1 { font-size: 1.5rem; }
}

/* ── Static content pages (servicebereiche, about, kontakt, faq, etc.) ─ */
.wrap.page-content {
  max-width: 900px;
  margin: 3rem auto;
  padding: 0 1.25rem;
  line-height: 1.8;
}

.wrap.page-content h1 {
  margin-bottom: 1.5rem;
  color: var(--ink);
}

.wrap.page-content h2 {
  margin: 2rem 0 0.75rem;
  color: var(--ink);
}

.wrap.page-content h3 {
  margin: 1.75rem 0 0.6rem;
  color: var(--ink);
}

.wrap.page-content p {
  margin-bottom: 1rem;
  color: var(--ink);
}

.wrap.page-content ul,
.wrap.page-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.wrap.page-content li {
  margin-bottom: 0.4rem;
}

.wrap.page-content a {
  color: var(--green);
  text-decoration: underline;
}

.wrap.page-content a:hover {
  text-decoration: underline;
}

.wrap.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 1rem 0;
}

.wrap.page-content blockquote {
  border-left: 4px solid var(--green);
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0;
  background: var(--section);
  border-radius: 0 6px 6px 0;
  font-style: italic;
}

.wrap.page-content figure {
  margin: 1.5rem 0;
  text-align: center;
}

.wrap.page-content figcaption {
  font-size: 0.85rem;
  color: var(--text);
  margin-top: 0.4rem;
}

.wrap.page-content hr {
  border: none;
  border-top: 1px solid var(--section);
  margin: 2rem 0;
}

@media (max-width: 600px) {
  .wrap.page-content {
    margin: 1.5rem auto;
    padding: 0 1rem;
  }
  .wrap.page-content h1 {
    font-size: 1.5rem;
  }
}
