:root {
  --ink: #1f2933;
  --muted: #52616b;
  --paper: #eef5f0;
  --surface: rgba(255, 255, 255, 0.72);
  --line: rgba(255, 255, 255, 0.55);
  --green: #5d9c46;
  --green-dark: #3f7430;
  --teal: #3b8f9b;
  --yellow: #f4dd72;
  --red: #b94a48;
  --blue: #69a9d8;
  --focus: #0b5fff;
  --shadow: 0 18px 35px rgba(31, 41, 51, 0.14);
  --shadow-strong: 0 24px 50px rgba(31, 41, 51, 0.2);
  --glass: rgba(255, 255, 255, 0.48);
  --glass-strong: rgba(255, 255, 255, 0.68);
  --panel-radius: 18px;
  --panel-padding: 1.25rem;
  --panel-min-height: 12rem;
  --title-panel-min-height: 11rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

body {
  margin: 0;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  background:
    radial-gradient(circle at 10% 12%, rgba(244, 221, 114, 0.24), transparent 24rem),
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.66), transparent 20rem),
    radial-gradient(circle at 85% 78%, rgba(59, 143, 155, 0.18), transparent 30rem),
    radial-gradient(circle at 20% 85%, rgba(93, 156, 70, 0.14), transparent 26rem),
    var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: var(--green-dark);
}

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

a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
  outline: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--ink);
  color: #ffffff;
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.72), transparent 14rem),
    radial-gradient(circle at 82% 18%, rgba(160, 169, 178, 0.34), transparent 18rem),
    radial-gradient(circle at 50% 110%, rgba(175, 184, 190, 0.42), transparent 20rem),
    linear-gradient(180deg, rgba(238, 240, 242, 0.98), rgba(205, 212, 216, 0.94));
  border-bottom: 0;
  backdrop-filter: blur(16px) saturate(135%);
}

.header-inner,
.wrap {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.header-inner {
  display: block;
  padding: 1rem 0 0;
  text-align: center;
}

.brand {
  display: inline-block;
  color: var(--ink);
  text-decoration: none;
}

.brand-logo {
  width: 260px;
  max-width: 80vw;
  margin: 0 auto;
  filter: drop-shadow(0 10px 18px rgba(31, 41, 51, 0.12));
}

.brand-text {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-nav ul {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.38rem;
  margin: 1rem auto 0;
  list-style: none;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.03) 34%),
    rgba(22, 48, 33, 0.58);
  border: 0;
  outline: 0;
  outline-offset: 0;
  border-radius: 999px;
  overflow: hidden;
  box-shadow:
    0 18px 36px rgba(0, 0, 0, 0.24),
    inset 0 1px 1px rgba(255, 255, 255, 0.45),
    inset 0 -1px 1px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(28px) saturate(180%);
}

.site-nav ul::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.24), transparent 4rem),
    radial-gradient(circle at 50% 45%, rgba(0, 0, 0, 0.12), transparent 6rem);
  transition: opacity 0.18s ease;
}

.site-nav ul:hover::before,
.site-nav ul:focus-within::before {
  opacity: 1;
}

.site-nav a {
  position: relative;
  z-index: 1;
  display: block;
  min-height: 44px;
  padding: 0.7rem 1.05rem;
  border-radius: 999px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.28);
  transition: background-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.site-nav a:hover,
.site-nav a:focus {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2),
    0 9px 18px rgba(0, 0, 0, 0.2);
}

.site-nav [aria-current="page"] {
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -1px 0 rgba(0, 0, 0, 0.16),
    0 8px 18px rgba(0, 0, 0, 0.14);
}

.site-nav a::after {
  content: none;
}

.hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.5)),
    url("https://i0.wp.com/leedsfoodaidnetwork.co.uk/wp-content/uploads/2024/10/unnamed-1.jpg?w=1600&ssl=1");
  background-position: center;
  background-size: cover;
  color: #ffffff;
  padding: 3.5rem 0;
  border-bottom: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.6rem;
  color: #f4dd72;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: 2.3rem;
}

h2 {
  margin: 0 0 1rem;
  font-size: 1.6rem;
}

h3 {
  margin: 0 0 0.65rem;
  font-size: 1.25rem;
}

.lead {
  max-width: 720px;
  margin: 1.1rem 0 0;
  font-size: 1.2rem;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--glass-strong);
  color: var(--ink);
  border: 0;
  border-radius: var(--panel-radius);
  min-height: var(--panel-min-height);
  padding: var(--panel-padding);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(22px) saturate(150%);
}

.hero-panel p {
  margin-top: 0;
}

.partner-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.partner-strip img {
  width: auto;
  max-width: 120px;
  max-height: 72px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 999px;
  background: var(--green-dark);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  box-shadow:
    0 12px 24px rgba(31, 95, 62, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.button:hover,
.button:focus {
  background: var(--teal);
  color: #ffffff;
  box-shadow:
    0 16px 30px rgba(8, 127, 140, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
  transform: translateY(-2px);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.86);
  color: var(--green-dark);
  box-shadow:
    0 12px 24px rgba(31, 41, 51, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.button.secondary:hover,
.button.secondary:focus {
  background: #eef8f3;
  color: var(--green-dark);
}

main {
  padding: 2.5rem 0 0;
}

.section {
  padding: 1.5rem 0;
}

.section + .section {
  margin-top: 0.6rem;
}

.section.tint {
  background: rgba(255, 255, 255, 0.28);
}

.section.warning {
  background: rgba(255, 244, 201, 0.6);
}

.grid {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

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

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

.home-main-links .grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.home-main-links .urgent {
  grid-row: auto;
}

.network-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 1.25rem;
  align-items: start;
  margin-top: 1.25rem;
}

.card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--glass);
  border: 0;
  border-radius: var(--panel-radius);
  min-height: var(--panel-min-height);
  padding: var(--panel-padding);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(150%);
  transition: transform 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease;
}

.card:hover,
.card:focus-within,
.hero-panel:hover,
.title-panel:hover,
.text-panel:hover,
.steps-panel:hover,
.map-node:hover,
.feature-image:hover {
  box-shadow: var(--shadow-strong);
  transform: translateY(-4px);
}

.card::before,
.hero-panel::before,
.title-panel::before,
.text-panel::before,
.steps-panel::before,
.map-node::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  opacity: 0;
  background:
    radial-gradient(circle at 35% 20%, rgba(255, 255, 255, 0.42), transparent 4.8rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 36%, rgba(255, 255, 255, 0.12) 70%, transparent);
  transition: opacity 0.2s ease;
}

.card::after,
.hero-panel::after,
.title-panel::after,
.text-panel::after,
.steps-panel::after,
.map-node::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.2) 45%, transparent 70%);
  opacity: 0.38;
  transform: translateX(-75%);
  transition: transform 0.5s ease;
}

.card:hover::after,
.hero-panel:hover::after,
.title-panel:hover::after,
.text-panel:hover::after,
.steps-panel:hover::after,
.map-node:hover::after {
  transform: translateX(75%);
}

.card:hover::before,
.card:focus-within::before,
.hero-panel:hover::before,
.hero-panel:focus-within::before,
.title-panel:hover::before,
.title-panel:focus-within::before,
.text-panel:hover::before,
.text-panel:focus-within::before,
.steps-panel:hover::before,
.steps-panel:focus-within::before,
.map-node:hover::before,
.map-node:focus-within::before {
  opacity: 1;
}

.card > *,
.hero-panel > *,
.title-panel > *,
.text-panel > *,
.steps-panel > *,
.map-node > * {
  position: relative;
  z-index: 1;
}

.card > :first-child {
  margin-top: 0;
}

.card > :last-child {
  margin-bottom: 0;
}

.interactive-card a {
  align-self: flex-start;
  margin-top: auto;
}

.card p:last-of-type {
  margin-bottom: 1rem;
}

.media-card {
  overflow: hidden;
  padding: 0;
}

.media-card img {
  width: 100%;
}

.media-card .media-body {
  padding: var(--panel-padding);
}

.feature-image {
  transition: transform 0.24s ease, box-shadow 0.24s ease;
  border: 0;
  border-radius: var(--panel-radius);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: var(--shadow);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  align-items: center;
}

.logo-grid img {
  max-width: 150px;
  max-height: 86px;
  margin: 0 auto;
}

.urgent {
  border-left: 0;
}

.home-main-links .urgent {
  border-left: 0;
}

.tag {
  display: inline-block;
  margin-bottom: 0.8rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(231, 243, 235, 0.82);
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.88rem;
}

.steps {
  counter-reset: steps;
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps li {
  counter-increment: steps;
  position: relative;
  margin-bottom: 0.85rem;
  padding-left: 3rem;
  transition: transform 0.2s ease;
}

.steps li:hover {
  transform: translateX(0.35rem);
}

.steps li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--green);
  color: #ffffff;
  font-weight: 700;
}

.service-list {
  padding-left: 1.2rem;
}

.service-list li {
  margin-bottom: 0.45rem;
  transition: transform 0.2s ease;
}

.service-list li:hover {
  transform: translateX(0.25rem);
}

.network-map {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 0;
}

.map-node {
  position: relative;
  overflow: hidden;
  min-height: var(--panel-min-height);
  border-radius: var(--panel-radius);
  padding: var(--panel-padding);
  color: #263238;
  box-shadow: var(--shadow);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.map-node.signpost {
  background: rgba(244, 221, 114, 0.82);
  backdrop-filter: blur(10px);
}

.map-node.food {
  background: rgba(93, 156, 70, 0.86);
  backdrop-filter: blur(10px);
}

.map-node.support {
  background: rgba(105, 169, 216, 0.86);
  backdrop-filter: blur(10px);
}

.map-node ul {
  padding-left: 1.1rem;
  margin-bottom: 0;
}

.map-node h3 {
  display: inline-block;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.16)),
    rgba(255, 255, 255, 0.22);
  box-shadow:
    0 8px 16px rgba(31, 41, 51, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.52);
  backdrop-filter: blur(12px) saturate(145%);
}

.page-title {
  padding: 1.8rem 0;
  background: rgba(231, 243, 235, 0.78);
  backdrop-filter: blur(10px);
}

.find-food-page .page-title {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 30px rgba(63, 116, 48, 0.14);
  backdrop-filter: blur(16px);
}

.find-food-page .title-panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.28)),
    rgba(255, 255, 255, 0.42);
  border: 0;
  border-radius: var(--panel-radius);
  min-height: var(--title-panel-min-height);
  padding: var(--panel-padding);
  box-shadow: 0 16px 30px rgba(31, 41, 51, 0.12);
  backdrop-filter: blur(22px) saturate(150%);
}

.find-food-page .section.warning {
  background: rgba(93, 156, 70, 0.18);
}

.find-food-page .section.tint {
  background: rgba(93, 156, 70, 0.14);
}

.find-food-page .urgent {
  background: rgba(255, 255, 255, 0.68);
}

.find-food-page .food-support-section .card {
  background: rgba(255, 246, 194, 0.34);
  border-color: rgba(244, 221, 114, 0.46);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.find-food-page .food-support-section .card:hover,
.find-food-page .food-support-section .card:focus-within {
  background: rgba(255, 246, 194, 0.48);
  box-shadow: 0 20px 35px rgba(116, 92, 25, 0.12);
  transform: translateY(-5px);
}

.donate-page .page-title {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
}

.donate-page .title-panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.28)),
    rgba(255, 255, 255, 0.42);
  border: 0;
  border-radius: var(--panel-radius);
  min-height: var(--title-panel-min-height);
  padding: var(--panel-padding);
  box-shadow: 0 16px 30px rgba(63, 116, 48, 0.13);
  backdrop-filter: blur(22px) saturate(150%);
}

.donate-page .donation-types-section .card {
  background: rgba(255, 255, 255, 0.44);
  border: 0;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.donate-page .donation-types-section .card:hover,
.donate-page .donation-types-section .card:focus-within {
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 20px 35px rgba(63, 116, 48, 0.12);
  transform: translateY(-5px);
}

.donate-page .donation-steps-section {
  background: rgba(244, 221, 114, 0.16);
}

.steps-panel,
.text-panel {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.58);
  border: 0;
  border-radius: var(--panel-radius);
  min-height: var(--panel-min-height);
  padding: var(--panel-padding);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(150%);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.donate-page .business-donation-section .card {
  background: rgba(255, 255, 255, 0.72);
}

.advice-page .page-title {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
}

.advice-page .title-panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.28)),
    rgba(255, 255, 255, 0.42);
  border: 0;
  border-radius: var(--panel-radius);
  min-height: var(--title-panel-min-height);
  padding: var(--panel-padding);
  box-shadow: 0 16px 30px rgba(63, 116, 48, 0.13);
  backdrop-filter: blur(22px) saturate(150%);
}

.advice-page .support-areas-section .card {
  background: rgba(255, 255, 255, 0.52);
  border: 0;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.advice-page .support-areas-section {
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.72), transparent 18rem),
    radial-gradient(circle at 85% 80%, rgba(244, 221, 114, 0.32), transparent 20rem),
    rgba(255, 246, 194, 0.22);
}

.advice-page .support-areas-section .card:hover,
.advice-page .support-areas-section .card:focus-within {
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 20px 35px rgba(31, 91, 98, 0.12);
  transform: translateY(-5px);
}

.advice-page .support-workers-section {
  background: rgba(224, 246, 248, 0.2);
}

.advice-page .support-workers-section .card {
  border-left: 0;
}

.about-page .page-title {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
}

.about-page .title-panel {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.28)),
    rgba(255, 255, 255, 0.42);
  border: 0;
  border-radius: var(--panel-radius);
  min-height: var(--title-panel-min-height);
  padding: var(--panel-padding);
  box-shadow: 0 16px 30px rgba(63, 116, 48, 0.12);
  backdrop-filter: blur(22px) saturate(150%);
}

.about-page .about-purpose-section .text-panel {
  border-left: 0;
}

.about-page .about-purpose-section .card {
  background: rgba(255, 246, 194, 0.32);
}

.about-page .about-photo-section .media-card {
  background: rgba(255, 255, 255, 0.66);
}

.about-page .contact-section {
  background: rgba(224, 246, 248, 0.18);
}

.about-page .contact-section form.card {
  background: rgba(255, 255, 255, 0.58);
  border: 0;
}

.about-page .contact-section form.card input,
.about-page .contact-section form.card select,
.about-page .contact-section form.card textarea {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(93, 156, 70, 0.68);
}

.about-page .contact-section form.card input:focus-visible,
.about-page .contact-section form.card select:focus-visible,
.about-page .contact-section form.card textarea:focus-visible {
  outline-color: var(--green-dark);
}

.about-page .contact-section form.card .button {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: #ffffff;
}

.about-page .contact-section form.card .button:hover,
.about-page .contact-section form.card .button:focus {
  background: var(--green);
  border-color: var(--green);
  color: #ffffff;
}

.page-title p {
  max-width: 760px;
  margin: 0.8rem 0 0;
  font-size: 1.15rem;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.2rem;
}

.page-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.08)),
    rgba(93, 156, 70, 0.24);
  color: var(--green-dark);
  text-decoration: none;
  font-weight: 700;
  box-shadow:
    0 10px 20px rgba(31, 41, 51, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(14px) saturate(145%);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.find-food-page .page-actions a {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.08)),
    rgba(93, 156, 70, 0.32);
  color: var(--green-dark);
  box-shadow:
    0 12px 24px rgba(63, 116, 48, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px) saturate(155%);
}

.find-food-page .page-actions a:hover,
.find-food-page .page-actions a:focus {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.12)),
    rgba(93, 156, 70, 0.44);
  color: var(--green-dark);
  box-shadow:
    0 16px 30px rgba(63, 116, 48, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    inset 0 -1px 0 rgba(255, 255, 255, 0.24);
}

.page-actions a:hover,
.page-actions a:focus {
  color: var(--green-dark);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.12)),
    rgba(93, 156, 70, 0.34);
  box-shadow:
    0 14px 28px rgba(31, 41, 51, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.interactive-card {
  cursor: pointer;
}

.interactive-card h3,
.interactive-card h2 {
  transition: transform 0.22s ease, color 0.22s ease;
}

.interactive-card:hover h3,
.interactive-card:hover h2,
.interactive-card:focus-within h3,
.interactive-card:focus-within h2 {
  color: var(--green-dark);
  transform: translateX(0.25rem);
}

.interactive-card a {
  font-weight: 700;
}

.donate-page .donation-types-section .grid.two,
.about-page .about-purpose-section .grid.two,
.about-page .contact-section .grid.two {
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
}

.donate-page .business-donation-section .grid.two,
.advice-page .support-workers-section .grid.two {
  grid-template-columns: minmax(300px, 1.05fr) minmax(0, 0.95fr);
  align-items: stretch;
}

.donate-page .business-donation-section .text-panel,
.donate-page .business-donation-section .card,
.advice-page .support-workers-section .text-panel,
.advice-page .support-workers-section .card {
  min-height: var(--panel-min-height);
  height: 100%;
}

.donate-page .donation-types-section .card:first-child,
.advice-page .support-areas-section .card:nth-child(2),
.advice-page .support-areas-section .card:nth-child(5) {
  margin-top: 0;
}

.advice-page .support-areas-section .grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.advice-page .support-areas-section .card {
  grid-column: auto;
}

.advice-page .support-areas-section .card:nth-child(1),
.advice-page .support-areas-section .card:nth-child(6) {
  grid-column: auto;
}

.about-page .about-photo-section .media-card {
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--glass-strong);
  box-shadow: var(--shadow);
}

.info-table th,
.info-table td {
  padding: 0.85rem;
  border: 0;
  text-align: left;
  vertical-align: top;
}

.info-table th {
  background: rgba(237, 247, 242, 0.85);
}

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

label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

input,
textarea,
select {
  width: 100%;
  min-height: 44px;
  padding: 0.7rem;
  border: 1px solid #aeb8c2;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  font: inherit;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

input:hover,
textarea:hover,
select:hover {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 18px rgba(31, 41, 51, 0.08);
}

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

button.button {
  cursor: pointer;
}

.site-footer {
  margin-top: 2.5rem;
  padding: 2rem 0;
  background: rgba(31, 41, 51, 0.94);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.site-footer a {
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

@media (max-width: 820px) {
  .header-inner,
  .hero-grid,
  .grid.two,
  .grid.three,
  .home-main-links .grid.three,
  .network-layout,
  .network-map,
  .footer-grid,
  .donate-page .donation-types-section .grid.two,
  .donate-page .business-donation-section .grid.two,
  .advice-page .support-workers-section .grid.two,
  .about-page .about-purpose-section .grid.two,
  .about-page .contact-section .grid.two,
  .about-page .about-photo-section .media-card {
    grid-template-columns: 1fr;
  }

  .home-main-links .urgent,
  .advice-page .support-areas-section .card,
  .advice-page .support-areas-section .card:nth-child(1),
  .advice-page .support-areas-section .card:nth-child(6) {
    grid-column: auto;
    grid-row: auto;
  }

  .donate-page .donation-types-section .card:first-child,
  .advice-page .support-areas-section .card:nth-child(2),
  .advice-page .support-areas-section .card:nth-child(5) {
    margin-top: 0;
  }

  .header-inner {
    display: block;
  }

  .site-nav ul {
    justify-content: center;
  }

  .hero {
    padding: 3rem 0 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media (max-width: 520px) {
  .header-inner,
  .wrap {
    width: min(100% - 1rem, 1120px);
  }

  .site-nav ul {
    display: grid;
    grid-template-columns: 1fr;
    width: min(100%, 260px);
  }

  .brand-logo {
    max-width: 220px;
  }

  .site-nav a {
    padding: 0.6rem;
  }

  .button-row,
  .button {
    width: 100%;
  }
}
