:root {
  --color-forest: #14532d;
  --color-leaf: #2f855a;
  --color-mint: #dff5e7;
  --color-lime: #b8e986;
  --color-earth: #6b5d45;
  --color-ink: #17231c;
  --color-muted: #607065;
  --color-line: #d9e7dc;
  --color-bg: #f7fbf6;
  --color-card: #ffffff;
  --color-ad: #eef1ee;
  --shadow-soft: 0 18px 45px rgba(20, 83, 45, 0.12);
  --radius: 8px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 251, 246, 0.96);
  border-bottom: 1px solid var(--color-line);
  backdrop-filter: blur(10px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 18px;
}

.logo {
  color: var(--color-forest);
  font-size: 1.2rem;
  font-weight: 800;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-logo-image {
  display: block;
  width: min(250px, 58vw);
  height: auto;
  filter: drop-shadow(0 10px 18px rgba(20, 83, 45, 0.08));
  transform-origin: left center;
  transition: filter 220ms ease, transform 220ms ease;
}

.brand-logo:hover .brand-logo-image {
  filter: drop-shadow(0 16px 24px rgba(20, 83, 45, 0.18));
  transform: translateY(-1px) scale(1.015);
}

.brand-mark {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 36%, #ffffff 0 26%, transparent 27%),
    linear-gradient(145deg, var(--color-forest), var(--color-leaf));
  border: 3px solid #ffffff;
  border-radius: 50% 50% 46% 46%;
  box-shadow: 0 10px 26px rgba(20, 83, 45, 0.22);
  color: #ffffff;
  font-weight: 900;
  transform: rotate(-5deg);
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-copy span {
  font-size: 1.16rem;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--color-leaf);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  background: var(--color-card);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-forest);
}

.nav-links {
  position: absolute;
  top: 68px;
  left: 18px;
  right: 18px;
  display: none;
  margin: 0;
  padding: 12px;
  list-style: none;
  background: var(--color-card);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.nav-links.is-open {
  display: block;
}

.nav-links a {
  display: block;
  padding: 12px;
  color: var(--color-muted);
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--color-forest);
}

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 56px 18px;
}

.hero {
  display: grid;
  align-items: center;
  padding-top: clamp(72px, 10vw, 132px);
  padding-bottom: clamp(72px, 10vw, 132px);
  background:
    linear-gradient(90deg, rgba(247, 251, 246, 0.95) 0%, rgba(223, 245, 231, 0.86) 42%, rgba(20, 83, 45, 0.22) 100%),
    linear-gradient(180deg, rgba(247, 251, 246, 0.25), rgba(247, 251, 246, 0.82)),
    url("../img/hero-environmental-hazard.png");
  background-position: center, center, center right;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-content {
  max-width: 760px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--color-leaf);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: var(--color-forest);
  font-size: 2.35rem;
  line-height: 1.08;
}

h2 {
  margin: 0;
  color: var(--color-forest);
  font-size: 1.75rem;
  line-height: 1.18;
}

h3 {
  margin: 0 0 10px;
  color: var(--color-forest);
  font-size: 1.08rem;
}

.hero-lead {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--color-muted);
  font-size: 1.08rem;
}

.menu-page-intro p {
  margin: 0 0 10px;
}

.menu-page-intro p:last-child {
  margin-bottom: 0;
}

.menu-page-intro a {
  color: var(--color-forest);
  font-weight: 800;
  text-decoration: underline;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.quick-launch-card {
  display: grid;
  gap: 12px;
  align-items: center;
  max-width: 680px;
  margin-top: 22px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(47, 133, 90, 0.24);
  border-radius: var(--radius);
  box-shadow: 0 18px 45px rgba(20, 83, 45, 0.13);
  backdrop-filter: blur(12px);
}

.quick-launch-card img {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(20, 83, 45, 0.18);
}

.quick-launch-card strong {
  display: block;
  color: var(--color-forest);
  font-size: 1rem;
}

.quick-launch-card p {
  margin: 3px 0 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.quick-launch-status {
  display: block;
  margin-top: 6px;
  color: var(--color-leaf);
  font-size: 0.86rem;
  font-weight: 800;
}

.quick-launch-status.is-muted {
  color: var(--color-muted);
}

.button-install {
  width: 100%;
  background: linear-gradient(135deg, var(--color-leaf), var(--color-forest));
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(20, 83, 45, 0.18);
}

.button-install:hover {
  background: linear-gradient(135deg, #2b7a52, #0f4022);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  text-align: center;
}

.button-primary {
  background: var(--color-forest);
  color: #ffffff;
}

.button-primary:hover {
  background: #0f4022;
}

.button-secondary {
  background: var(--color-lime);
  color: #1d371f;
}

.button-outline {
  background: #ffffff;
  border-color: var(--color-leaf);
  color: var(--color-forest);
}

.button-large {
  width: 100%;
}

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

.section-heading-row {
  display: grid;
  gap: 16px;
}

.section-heading p:last-child {
  margin-bottom: 0;
  color: var(--color-muted);
}

.report-card,
.info-card,
.marker-card {
  background: var(--color-card);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.report-card {
  padding: 18px;
}

body.report-focus-active {
  overflow-x: hidden;
}

body.report-focus-active::before {
  position: fixed;
  z-index: 30;
  inset: 0;
  background: rgba(8, 24, 13, 0.68);
  content: "";
  pointer-events: none;
}

body.report-focus-active .report-section {
  position: relative;
  z-index: 31;
}

body.report-focus-active .report-card {
  position: relative;
  z-index: 32;
  border-color: rgba(184, 233, 134, 0.95);
  box-shadow:
    0 0 0 1px rgba(184, 233, 134, 0.45),
    0 0 0 8px rgba(184, 233, 134, 0.14),
    0 30px 90px rgba(10, 48, 25, 0.45);
  animation: reportGlow 2.8s ease-in-out infinite;
}

@keyframes reportGlow {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-2px);
  }
}

.form-grid {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

label {
  color: var(--color-forest);
  font-weight: 800;
}

label span {
  color: var(--color-muted);
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--color-ink);
  padding: 12px;
}

input:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(184, 233, 134, 0.9);
  outline-offset: 2px;
}

.input-button-row {
  display: grid;
  gap: 10px;
}

.checkbox-field {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: var(--color-mint);
  border-radius: var(--radius);
}

.checkbox-field input {
  width: 20px;
  height: 20px;
}

.form-message {
  width: 100%;
  margin: 0;
  color: var(--color-forest);
  font-weight: 800;
}

.form-message.is-error {
  color: #9b1c1c;
}

.ad-slot {
  display: flex;
  min-height: 92px;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  justify-content: center;
  max-width: var(--max-width);
  margin: 18px auto;
  padding: 18px;
  background: var(--color-ad);
  border: 1px dashed #a6ada8;
  border-radius: var(--radius);
  color: #6b7280;
  font-weight: 800;
}

.ad-slot-label {
  color: var(--color-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.ad-slot-placeholder {
  display: flex;
  min-height: 62px;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.ad-slot .adsbygoogle {
  min-height: 90px;
  width: 100%;
}

.ad-slot-billboard {
  min-height: 120px;
}

.news-inline-ad {
  grid-column: 1 / -1;
  margin: 4px 0;
}

.ad-slot-mobile {
  width: calc(100% - 36px);
  max-width: var(--max-width);
  margin-right: auto;
  margin-left: auto;
}

.map-layout {
  display: grid;
  gap: 16px;
}

.map-placeholder {
  --map-inset: 30px;
  position: relative;
  display: grid;
  aspect-ratio: 1.42;
  min-height: 320px;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(20, 83, 45, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(20, 83, 45, 0.08) 1px, transparent 1px),
    #e8f5df;
  background-size: 42px 42px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  color: var(--color-forest);
  font-weight: 800;
}

.map-placeholder-live {
  isolation: isolate;
}

.map-placeholder-live::before {
  position: absolute;
  inset: 22px;
  border: 1px dashed rgba(20, 83, 45, 0.22);
  border-radius: 18px;
  content: "";
}

.map-placeholder-live p {
  position: relative;
  z-index: 1;
  max-width: 240px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(20, 83, 45, 0.12);
  border-radius: 8px;
  text-align: center;
}

.map-pin {
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--color-leaf);
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 8px 16px rgba(20, 83, 45, 0.25);
}

.map-pin-live {
  z-index: 2;
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.map-pin-live:hover {
  transform: translate(-50%, -50%) scale(1.28);
  box-shadow: 0 10px 22px rgba(20, 83, 45, 0.35);
}

.map-pin-live.is-gps {
  background: var(--color-forest);
}

.map-pin-live.is-settlement {
  width: 22px;
  height: 22px;
  background: rgba(47, 133, 90, 0.52);
  border-width: 2px;
  box-shadow:
    0 0 0 8px rgba(47, 133, 90, 0.14),
    0 8px 16px rgba(20, 83, 45, 0.2);
}

.pin-one {
  top: 28%;
  left: 26%;
}

.pin-two {
  top: 58%;
  left: 58%;
}

.pin-three {
  top: 38%;
  left: 74%;
}

.marker-list,
.related-grid,
.benefit-grid,
.news-card-grid {
  display: grid;
  gap: 14px;
}

.marker-card,
.info-card,
.news-card {
  padding: 18px;
}

.marker-card a {
  display: inline-flex;
  width: fit-content;
  margin-top: 8px;
  color: var(--color-leaf);
  font-weight: 800;
  text-decoration: none;
}

.postcode-status,
.postcode-selected {
  display: grid;
  gap: 4px;
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.postcode-status strong,
.postcode-selected strong {
  color: var(--color-forest);
}

.postcode-select {
  width: 100%;
  min-height: 42px;
  margin-top: 8px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
  font: inherit;
}

.postcode-link-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.postcode-link-list a {
  padding: 10px 12px;
  background: #f4fbef;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  color: var(--color-forest);
  font-weight: 800;
  text-decoration: none;
}

.location-page-layout {
  display: grid;
  gap: 18px;
}

.location-dynamic-ad-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.location-dynamic-ad-card {
  position: relative;
  display: grid;
  gap: 7px;
  min-height: 138px;
  padding: 18px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(34, 132, 63, 0.13), rgba(255, 255, 255, 0.92)),
    var(--color-card);
  border: 1px solid rgba(34, 132, 63, 0.28);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  color: var(--color-text);
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.location-dynamic-ad-card::after {
  position: absolute;
  top: -45%;
  right: -18%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(58, 168, 83, 0.2), transparent 68%);
  content: "";
  pointer-events: none;
}

.location-dynamic-ad-card:hover {
  border-color: rgba(34, 132, 63, 0.52);
  box-shadow: 0 18px 45px rgba(20, 83, 45, 0.16);
  transform: translateY(-2px);
}

.location-dynamic-ad-card.is-calendar {
  background:
    linear-gradient(135deg, rgba(34, 132, 63, 0.18), rgba(246, 255, 239, 0.96)),
    var(--color-card);
}

.location-dynamic-ad-card.is-classifieds {
  background:
    linear-gradient(135deg, rgba(10, 105, 75, 0.12), rgba(255, 255, 255, 0.95)),
    var(--color-card);
}

.location-dynamic-ad-card span {
  color: var(--color-leaf);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.location-dynamic-ad-card strong {
  color: var(--color-forest);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  line-height: 1.25;
}

.location-dynamic-ad-card small {
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.location-dynamic-ad-card em {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(34, 132, 63, 0.18);
  border-radius: 999px;
  color: var(--color-forest);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.location-network-layout {
  display: grid;
  gap: 16px;
}

.location-main,
.location-side {
  display: grid;
  gap: 16px;
  align-content: start;
}

.location-map-card,
.location-report-card,
.location-search-card,
.location-link-card {
  background: var(--color-card);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.location-link-card {
  padding: 18px;
}

.location-map-card {
  padding: 12px;
}

.county-link-grid,
.city-link-grid {
  display: grid;
  gap: 8px;
}

.county-link-grid a,
.city-link-grid a {
  display: grid;
  gap: 3px;
  min-height: 54px;
  padding: 10px 12px;
  background: #f7fbf2;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  color: var(--color-text);
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.county-link-grid a[hidden],
.city-link-grid a[hidden] {
  display: none;
}

.county-link-grid a:hover,
.city-link-grid a:hover {
  background: #eef8e7;
  border-color: rgba(34, 132, 63, 0.45);
  transform: translateY(-1px);
}

.county-link-grid strong,
.city-link-grid strong {
  color: var(--color-forest);
}

.county-link-grid span,
.city-link-grid span {
  color: var(--color-muted);
  font-size: 0.88rem;
}

.link-network-empty {
  margin: 12px 0 0;
  color: var(--color-muted);
}

.settlement-filter {
  display: grid;
  gap: 8px;
  margin: 10px 0 14px;
  padding: 12px;
  background: #f4fbef;
  border: 1px solid var(--color-line);
  border-radius: 8px;
}

.settlement-filter label {
  color: var(--color-forest);
  font-weight: 800;
}

.settlement-filter input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
}

.settlement-filter-count {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.location-report-grid {
  display: grid;
  gap: 14px;
}

.location-report-card {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.location-report-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  background: #eef4ea;
}

.location-report-card h3 {
  margin: 4px 0 8px;
}

.location-report-card p {
  margin: 0 0 8px;
  color: var(--color-muted);
}

.location-report-card a {
  color: var(--color-leaf);
  font-weight: 800;
  text-decoration: none;
}

.postcode-lookup-form {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.ad-slot-rectangle {
  min-height: 250px;
}

.news-card,
.data-source-note {
  background: var(--color-card);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.home-news-layout {
  display: grid;
  gap: 16px;
  align-items: stretch;
}

.featured-news-card,
.home-news-side {
  overflow: hidden;
  background: var(--color-card);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.featured-news-card {
  display: grid;
}

.featured-news-media {
  position: relative;
  min-height: clamp(220px, 34vw, 390px);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(20, 83, 45, 0.72), rgba(23, 35, 28, 0.92)),
    var(--color-mint);
}

.featured-news-image {
  width: 100%;
  height: 100%;
  min-height: clamp(220px, 34vw, 390px);
  object-fit: cover;
  background: var(--color-mint);
}

.featured-news-media::after {
  position: absolute;
  inset: auto 0 0;
  height: 72%;
  background: linear-gradient(180deg, rgba(8, 24, 13, 0), rgba(8, 24, 13, 0.88));
  content: "";
}

.featured-news-overlay {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 8px;
  padding: clamp(18px, 4vw, 28px);
  color: #ffffff;
}

.featured-news-body {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 18px;
}

.featured-news-body h3 {
  font-size: clamp(1.35rem, 3vw, 2.15rem);
  line-height: 1.12;
}

.featured-news-overlay h3 {
  max-width: 880px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.5rem, 3.4vw, 2.45rem);
  line-height: 1.08;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.featured-news-body p {
  margin: 0;
  color: var(--color-muted);
}

.top-news-meta,
.news-meta,
.guest-meta {
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.featured-news-overlay .top-news-meta {
  width: fit-content;
  padding: 5px 9px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 6px;
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.featured-news-card h3 a,
.news-card a {
  color: var(--color-forest);
  font-weight: 800;
}

.featured-news-overlay h3 a {
  color: #ffffff;
}

.featured-news-card .button-primary,
.news-card .button-primary {
  color: #ffffff;
}

.home-news-side {
  max-height: 520px;
  overflow-y: auto;
  padding: 16px 18px;
  scrollbar-color: var(--color-leaf) #edf5ee;
  scrollbar-width: thin;
}

.home-news-side hr {
  height: 1px;
  margin: 12px 0;
  background: var(--color-line);
  border: 0;
}

.home-news-link {
  display: grid;
  gap: 4px;
  color: var(--color-forest);
  font-weight: 800;
  line-height: 1.35;
}

.home-news-link:hover {
  color: var(--color-leaf);
}

.home-news-link span {
  color: var(--color-muted);
  font-size: 0.84rem;
  font-weight: 700;
}

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

.news-card {
  display: grid;
  overflow: hidden;
  padding: 0;
}

.news-card-body {
  padding: 16px;
}

.news-card-image {
  width: 100%;
  height: 170px;
  object-fit: cover;
  background: var(--color-mint);
}

.subpage-hero {
  padding-bottom: 28px;
}

.data-source-note {
  margin-bottom: 22px;
  padding: 14px 16px;
  color: var(--color-earth);
}

.news-page-layout {
  display: grid;
  gap: 24px;
}

.compact-heading h2 {
  font-size: 1.35rem;
}

.guest-list {
  position: sticky;
  top: 92px;
  padding: 12px 14px;
  background: var(--color-card);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.guest-item {
  display: block;
  padding: 8px 0;
  box-shadow: none;
  color: var(--color-ink);
}

.guest-list hr {
  margin: 0;
  border: 0;
  border-top: 1px solid var(--color-line);
}

.guest-item span,
.guest-item a {
  display: block;
}

.guest-title {
  color: var(--color-ink);
  font-weight: 400;
  line-height: 1.35;
}

.guest-source {
  margin-top: 4px;
  color: var(--color-leaf);
  font-size: 0.9rem;
  font-weight: 500;
}

.guest-source:hover {
  text-decoration: underline;
}

.article-page-section {
  max-width: 1180px;
}

.article-layout {
  display: grid;
  gap: 22px;
}

.article-detail-card,
.article-side-panel {
  background: var(--color-card);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.article-detail-card {
  overflow: hidden;
  padding: 18px;
}

.article-back-link {
  margin-bottom: 14px;
}

.article-detail-card h1 {
  margin: 8px 0 16px;
  color: var(--color-forest);
  font-size: 2rem;
  line-height: 1.16;
}

.article-hero-image {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--color-mint);
  box-shadow: 0 16px 34px rgba(20, 83, 45, 0.14);
}

.article-ad-slot {
  margin: 20px 0;
}

.article-lead {
  margin: 18px 0;
  color: var(--color-earth);
  font-size: 1.12rem;
  font-weight: 700;
}

.article-content {
  color: var(--color-ink);
  font-size: 1.02rem;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.article-side-panel {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 16px;
}

.article-cta {
  display: grid;
  gap: 5px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(20, 83, 45, 0.92), rgba(47, 133, 90, 0.92)),
    var(--color-forest);
  border-radius: var(--radius);
  box-shadow: 0 18px 36px rgba(20, 83, 45, 0.2);
  color: #ffffff;
}

.article-cta span {
  font-size: 1.08rem;
  font-weight: 900;
}

.article-cta small {
  color: #dff5e7;
  font-weight: 700;
}

.article-top-news-list {
  display: grid;
}

.article-top-news-list hr {
  width: 100%;
  margin: 0;
  border: 0;
  border-top: 1px solid var(--color-line);
}

.article-top-news-list a {
  display: grid;
  gap: 3px;
  padding: 10px 0;
  color: var(--color-ink);
  font-weight: 600;
  line-height: 1.35;
}

.article-top-news-list a:hover {
  color: var(--color-forest);
}

.article-top-news-list span {
  color: var(--color-muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.marker-card strong,
.marker-card span {
  display: block;
}

.marker-card span,
.info-card p {
  color: var(--color-muted);
}

.related-grid .button {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 8px;
}

.related-card {
  position: relative;
  overflow: hidden;
}

.related-card.is-submitted::before {
  position: absolute;
  z-index: 1;
  top: 8px;
  left: 50%;
  width: min(140px, 70%);
  height: calc(100% - 82px);
  min-height: 88px;
  border-right: 18px solid rgba(47, 133, 90, 0.32);
  border-bottom: 18px solid rgba(47, 133, 90, 0.32);
  content: "";
  pointer-events: none;
  transform: translateX(-50%) rotate(42deg) scale(0.72);
  transform-origin: 58% 58%;
  animation: relatedCheckIn 620ms cubic-bezier(0.2, 0.9, 0.25, 1.25) both;
}

.related-card.is-submitted::after {
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 12px;
  padding: 4px 8px;
  background: rgba(223, 245, 231, 0.86);
  border: 1px solid rgba(47, 133, 90, 0.22);
  border-radius: var(--radius);
  color: var(--color-forest);
  content: "Beküldve";
  font-size: 0.74rem;
  font-weight: 900;
  pointer-events: none;
}

.related-card.is-submitted h3,
.related-card.is-submitted p {
  position: relative;
  z-index: 2;
}

@keyframes relatedCheckIn {
  from {
    opacity: 0;
    transform: translateX(-50%) rotate(42deg) scale(0.28);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) rotate(42deg) scale(0.72);
  }
}

.legal-page h1 {
  margin-bottom: 20px;
}

.legal-card {
  display: grid;
  gap: 12px;
  max-width: 820px;
}

.legal-card h2 {
  margin-top: 12px;
  font-size: 1.25rem;
}

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

.process-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px;
  background: #ffffff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  color: var(--color-earth);
  font-weight: 800;
}

.process-list span {
  display: inline-flex;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  background: var(--color-mint);
  border-radius: 50%;
  color: var(--color-forest);
}

.mobile-sticky-cta {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 15;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background: var(--color-forest);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  color: #ffffff;
  font-weight: 800;
}

.site-footer {
  display: grid;
  gap: 18px;
  padding: 36px 18px 86px;
  background: var(--color-forest);
  color: #ffffff;
}

.site-footer > * {
  max-width: var(--max-width);
  width: 100%;
  margin-inline: auto;
}

.site-footer p {
  margin: 8px 0 0;
  color: #dceee2;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-menu-list,
.footer-menu-list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-menu-list ul {
  flex-basis: 100%;
  padding-left: 14px;
}

.footer-menu-item,
.footer-menu-child {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-seo-note {
  font-size: 0.92rem;
}

@media (min-width: 720px) {
  h1 {
    font-size: 3.4rem;
  }

  .menu-toggle {
    display: none;
  }

  .nav-links {
    position: static;
    display: flex;
    gap: 6px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

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

  .field-full,
  .gps-field {
    grid-column: 1 / -1;
  }

  .input-button-row {
    grid-template-columns: 1fr auto;
  }

  .button-large {
    width: auto;
    min-width: 180px;
  }

  .quick-launch-card {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .button-install {
    width: auto;
    white-space: nowrap;
  }

  .section-heading-row {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .home-news-layout {
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  }

  .featured-news-card,
  .home-news-side {
    min-height: 560px;
    max-height: 560px;
  }

  .featured-news-card {
    grid-template-rows: minmax(260px, 1fr) auto;
  }

  .map-layout {
    grid-template-columns: 1.4fr 0.8fr;
  }

  .location-page-layout {
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    align-items: start;
  }

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

  .location-network-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: start;
  }

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

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

  .location-side {
    position: sticky;
    top: 92px;
  }

  .location-report-card {
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: start;
  }

  .location-report-card img {
    height: 136px;
  }

  .news-page-layout {
    grid-template-columns: 2fr 1fr;
    align-items: start;
  }

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

  .article-side-panel {
    position: sticky;
    top: 92px;
  }

  .article-detail-card {
    padding: 24px;
  }

  .article-detail-card h1 {
    font-size: 2.55rem;
  }

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

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

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

  .process-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .process-list li {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-sticky-cta {
    display: none;
  }

  .site-footer {
    padding-bottom: 36px;
  }
}

@media (max-width: 719px) {
  .ad-slot-mobile {
    display: flex;
  }
}

.field-label {
  color: var(--color-forest);
  font-weight: 800;
}

.photo-upload-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.photo-upload-button {
  display: grid;
  min-height: 128px;
  place-items: center;
  gap: 6px;
  padding: 16px 12px;
  background: #f3fbef;
  border: 1px solid rgba(47, 133, 90, 0.28);
  border-radius: var(--radius);
  color: var(--color-forest);
  cursor: pointer;
  text-align: center;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.photo-upload-button:hover {
  border-color: var(--color-leaf);
  box-shadow: 0 14px 28px rgba(20, 83, 45, 0.12);
  transform: translateY(-1px);
}

.photo-upload-button small {
  color: var(--color-muted);
  font-weight: 700;
}

.photo-upload-icon {
  position: relative;
  display: block;
  width: 46px;
  height: 38px;
  border: 3px solid var(--color-leaf);
  border-radius: 8px;
  background: #ffffff;
}

.photo-upload-icon::before {
  position: absolute;
  content: "";
}

.photo-upload-icon-camera::before {
  top: 9px;
  left: 13px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--color-forest);
  border-radius: 50%;
}

.photo-upload-icon-camera::after {
  position: absolute;
  top: -10px;
  left: 10px;
  width: 20px;
  height: 8px;
  background: var(--color-leaf);
  border-radius: 4px 4px 0 0;
  content: "";
}

.photo-upload-icon-browse::before {
  right: 7px;
  bottom: 6px;
  width: 24px;
  height: 18px;
  background: linear-gradient(135deg, transparent 0 45%, var(--color-leaf) 46% 100%);
  border-radius: 4px;
}

.photo-file-status {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.report-card .form-actions {
  display: grid;
}

.report-card .button-large {
  width: 100%;
}

.text-link-button {
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--color-forest);
  cursor: pointer;
  font-weight: 800;
  text-decoration: underline;
}

.privacy-field {
  flex-wrap: wrap;
}

.privacy-field label {
  flex: 1 1 240px;
}

.privacy-field[hidden],
.modal-backdrop[hidden] {
  display: none !important;
}

.ad-slot-mobile {
  display: flex;
  width: min(calc(100% - 36px), var(--max-width));
  margin: 18px auto;
}

.hungary-map-outline {
  position: absolute;
  z-index: 0;
  inset: var(--map-inset);
  width: calc(100% - (var(--map-inset) * 2));
  height: calc(100% - (var(--map-inset) * 2));
  object-fit: fill;
  filter: drop-shadow(0 18px 32px rgba(20, 83, 45, 0.16));
}

.map-source-note {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 1;
  padding: 3px 7px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(20, 83, 45, 0.12);
  border-radius: 6px;
  color: var(--color-muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.recent-report-box {
  display: grid;
  align-content: start;
  max-height: 420px;
  overflow: auto;
  padding: 18px;
  background: var(--color-card);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.recent-report-heading {
  margin-bottom: 6px;
}

.recent-report-heading h3 {
  margin-bottom: 0;
}

.recent-report-box hr {
  width: 100%;
  margin: 12px 0;
  border: 0;
  border-top: 1px solid var(--color-line);
}

.recent-report-link {
  display: grid;
  gap: 4px;
  color: var(--color-forest);
}

.recent-report-link span,
.recent-report-link small {
  color: var(--color-muted);
}

.recent-report-link strong {
  line-height: 1.3;
}

.recent-report-empty {
  margin: 8px 0 0;
  color: var(--color-muted);
}

.modal-open {
  overflow: hidden;
}

.modal-backdrop {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(8, 24, 13, 0.7);
}

.privacy-modal {
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
  padding: 24px;
  background: #ffffff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: 0 28px 80px rgba(8, 24, 13, 0.35);
}

.modal-close {
  float: right;
  width: 42px;
  height: 42px;
  background: #f3fbef;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  color: var(--color-forest);
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: 800;
}

.privacy-modal-content {
  color: var(--color-ink);
}

@media (min-width: 720px) {
  .report-card .form-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 0.72fr) minmax(0, 1.36fr);
  }

  .report-card .field-full {
    grid-column: 1 / -1;
  }

  .report-card .location-row-field,
  .report-card .gps-field {
    grid-column: auto;
  }

  .report-card .notify-field {
    align-self: end;
  }

  .report-card .gps-field .input-button-row {
    grid-template-columns: 1fr;
  }
}
