:root {
  --bg: #e8f1dc;
  --bg-soft: #dce9ca;
  --surface: #fffdf8;
  --surface-strong: #fffefb;
  --text: #2f3428;
  --muted: #6d7763;
  --accent: #7dac57;
  --accent-deep: #5f8740;
  --donate: #d92d2d;
  --donate-deep: #aa1f1f;
  --line: rgba(83, 108, 58, 0.14);
  --shadow: none;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(245, 250, 237, 0.32), transparent 28%),
    radial-gradient(circle at right 18%, rgba(255, 255, 255, 0.1), transparent 24%),
    linear-gradient(180deg, #edf5e3 0%, var(--bg) 52%, #e1ecd1 100%);
}

img {
  max-width: 100%;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 1rem 0;
  backdrop-filter: blur(8px);
  background: rgba(248, 250, 242, 0.92);
  border-bottom: 1px solid rgba(54, 77, 35, 0.08);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand strong {
  font-size: 1rem;
}

.brand-logo {
  display: block;
  width: 5rem;
  height: 5rem;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--muted);
  font-weight: 600;
  transition: color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  transform: translateY(-1px);
}

.site-nav a.is-active {
  color: var(--text);
}

.nav-cta {
  padding: 0.8rem 1rem;
  border-radius: 14px;
  background: var(--accent);
  color: white !important;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.25rem;
}

.nav-toggle span {
  display: block;
  width: 1.5rem;
  height: 2px;
  margin: 0.3rem 0;
  background: var(--text);
}

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

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

.eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 24px;
  font-weight: 800;
  color: var(--accent-deep);
}

.hero h1,
.page-hero h1,
.section h2 {
  margin: 0;
  font-family: "Playfair Display", serif;
  line-height: 1.05;
}

.hero h1,
.page-hero h1 {
  font-size: 4px;
  line-height: 1.2;
  max-width: 100%;
}

.hero-title-small {
  font-size: 40px !important;
  line-height: 1.2 !important;
}

.hero-text {
  max-width: 100%;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-copy-wide {
  margin-top: 2rem;
  width: 100%;
}

.page-intro {
  max-width: 100%;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.8;
}

.page-hero-copy {
  width: 100%;
  margin-top: 2rem;
}

.hero-actions {
  container-type: inline-size;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: min(100%, 36rem);
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 3.25rem;
  padding: 0.9rem 1.3rem;
  border-radius: 14px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.button-primary {
  background: var(--accent);
  color: white;
}

.button-secondary {
  border: 1px solid var(--line);
  background: #fffef9;
}

.button-donate {
  background: var(--donate);
  color: white;
}

.button-donate:hover,
.button-donate:focus-visible {
  background: var(--donate-deep);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  list-style: none;
  margin: 2.25rem 0 0;
}

.hero-stats li,
.hero-card,
.info-card,
.profile-card,
.news-card,
.contact-card {
  background: var(--surface);
  border: 1px solid rgba(122, 155, 88, 0.1);
}

.hero-stats li {
  padding: 1.25rem;
  border-radius: var(--radius-md);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats span {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-card-image {
  min-height: 440px;
  background-position: center;
  background-size: cover;
}

.hero-slider {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #dfe8d3;
  border: 1px solid rgba(122, 155, 88, 0.12);
}

.hero-slider .hero-card-image {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 600ms ease;
}

.hero-slider .hero-card-image.is-visible {
  opacity: 1;
}

.hero-banner {
  width: 100%;
  min-height: 440px;
  box-shadow: none;
}

.slider-dots {
  display: flex;
  gap: 0.45rem;
  margin-top: 1rem;
}

.slider-dot {
  width: 0.65rem;
  height: 0.65rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(83, 125, 49, 0.22);
  cursor: pointer;
}

.slider-dot.is-active {
  background: var(--accent);
}

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

.hero-dots {
  position: absolute;
  left: 1.25rem;
  bottom: 1.15rem;
  z-index: 1;
  margin: 0;
}

.section {
  padding: 5rem 0;
}

.hero + .section,
.page-hero + .section {
  padding-top: 2rem;
}

.section-alt {
  background: linear-gradient(180deg, rgba(236, 243, 226, 0.7), rgba(236, 243, 226, 0.3));
}

.section-highlight {
  padding-top: 1rem;
}

.section-heading {
  max-width: 60rem;
  margin-bottom: 2rem;
}

.section h2 {
  font-size: clamp(1.5rem, 2.7vw, 2.2rem);
  max-width: 16ch;
}

.section-heading h2 {
  max-width: 15ch;
}

.home-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 2rem;
  align-items: start;
}

.home-main {
  display: grid;
  gap: 1.5rem;
}

.content-block,
.sidebar-card {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid rgba(122, 155, 88, 0.1);
}

.content-block h2,
.content-block h3,
.sidebar-card h3 {
  margin-top: 0;
  font-family: "Playfair Display", serif;
}

.content-block h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
}

.single-line-title {
  font-size: clamp(1.28rem, 1.75vw, 1.75rem) !important;
  white-space: nowrap;
}

.content-block h3,
.sidebar-card h3 {
  margin-bottom: 0.9rem;
  font-size: clamp(1.08rem, 1.35vw, 1.4rem);
}

.content-block p {
  margin: 0;
  color: var(--text);
  line-height: 1.9;
  font-size: 1.02rem;
}

.content-block p + p,
.content-block h3 + p,
.content-block p + h3 {
  margin-top: 1rem;
}

.home-sidebar {
  display: grid;
  gap: 1.5rem;
}

.facebook-card {
  border-color: rgba(24, 119, 242, 0.2);
  background: var(--surface);
}

.facebook-card-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.facebook-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.15rem;
  height: 3.15rem;
  border-radius: 999px;
  background: #1877f2;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1;
}

.facebook-label {
  margin: 0 0 0.15rem;
  color: #245c9f;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.facebook-card h3 {
  margin: 0;
}

.lessons-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: start;
}

.org-layout {
  display: grid;
  gap: 1.5rem;
}

.subtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.subtabs a {
  display: inline-flex;
  align-items: center;
  min-height: 2.8rem;
  padding: 0.7rem 1rem;
  border-radius: 14px;
  background: #f7fbf0;
  border: 1px solid rgba(122, 155, 88, 0.16);
  color: var(--accent-deep);
  font-weight: 700;
}

.board-table {
  display: grid;
  gap: 0.65rem;
  margin: 1.4rem 0;
}

.board-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1.2fr 0.8fr 1fr;
  gap: 0.9rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: #f6faef;
  border: 1px solid rgba(122, 155, 88, 0.12);
}

.board-head {
  background: #edf5df;
}

.board-row span,
.board-row strong {
  line-height: 1.6;
}

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

.horse-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid rgba(122, 155, 88, 0.1);
}

.horse-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.horse-card-body {
  padding: 1.15rem 1.15rem 1.25rem;
}

.horse-card h3 {
  margin: 0 0 0.65rem;
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
}

.horse-card p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.photo-wall {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.photo-wall img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid rgba(122, 155, 88, 0.1);
}

.sponsor-panel {
  margin-top: 1.75rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid rgba(122, 155, 88, 0.1);
  text-align: center;
}

.sponsor-panel p {
  margin: 0 0 1rem;
}

.sponsor-panel img {
  max-width: 220px;
  width: 100%;
  height: auto;
}

.news-list {
  display: grid;
  gap: 1rem;
}

.lessons-main,
.lessons-sidebar {
  display: grid;
  gap: 1.5rem;
}

.sidebar-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-links li + li {
  margin-top: 0.85rem;
}

.sidebar-links a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.sidebar-button {
  margin-top: 1.4rem;
  width: 100%;
}

.agenda-card {
  background: var(--surface);
  border-color: rgba(122, 155, 88, 0.1);
}

.agenda-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.agenda-item {
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: rgba(255, 252, 247, 0.92);
  border: 1px solid rgba(125, 91, 67, 0.13);
  box-shadow: 0 10px 24px rgba(93, 69, 52, 0.05);
}

.agenda-date {
  display: inline-block;
  margin-bottom: 0.45rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(151, 93, 57, 0.1);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8f4e2f;
}

.agenda-text {
  display: block;
  color: #342b26;
  font-weight: 700;
  line-height: 1.4;
  font-size: 1rem;
}

.price-table {
  display: grid;
  gap: 0.75rem;
  margin: 1.4rem 0;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: #f4f8eb;
  border: 1px solid rgba(120, 169, 75, 0.14);
}

.price-row span,
.price-row strong {
  display: block;
}

.instructor-card {
  display: grid;
  grid-template-columns: 124px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem 0;
}

.instructor-card + .instructor-card {
  border-top: 1px solid var(--line);
}

.instructor-card img {
  width: 124px;
  height: 124px;
  object-fit: cover;
  border-radius: 22px;
  display: block;
  border: 3px solid #f1f6e8;
}

.instructor-card h4 {
  margin: 0 0 0.5rem;
  font-family: "Playfair Display", serif;
  font-size: 1.18rem;
}

.instructor-card p {
  margin: 0.2rem 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.donation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: stretch;
}

.donation-card,
.donation-note {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid rgba(122, 155, 88, 0.1);
}

.donation-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}

.donation-card-featured {
  border-color: rgba(201, 120, 47, 0.28);
  background: #fff8ef;
}

.donation-card h3,
.donation-note h2 {
  margin: 0 0 0.75rem;
  font-family: "Playfair Display", serif;
}

.donation-card p,
.donation-note p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.donation-card p {
  margin-bottom: 1.5rem;
}

.donation-card .button {
  margin-top: auto;
  width: 100%;
}

.donation-note {
  margin-top: 1.5rem;
}

.payment-layout {
  width: 100%;
  margin: 0 auto;
}

.payment-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

.payment-highlight,
.payment-sidecard {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(122, 155, 88, 0.12);
  background: var(--surface);
}

.payment-highlight {
  padding: 1.9rem;
  background:
    linear-gradient(135deg, rgba(255, 251, 241, 0.95), rgba(236, 244, 223, 0.94)),
    var(--surface);
}

.payment-highlight h2,
.payment-sidecard h3 {
  margin: 0 0 0.8rem;
  font-family: "Playfair Display", serif;
}

.payment-highlight p,
.payment-sidecard p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.bank-card {
  margin-top: 1.5rem;
  padding: 1.4rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(95, 135, 64, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.bank-card-label {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep) !important;
}

.bank-card-value {
  margin-top: 0.35rem !important;
  font-size: 1.08rem;
  color: var(--text) !important;
  font-weight: 700;
}

.bank-card-iban {
  margin-top: 0.35rem !important;
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  letter-spacing: 0.08em;
  color: var(--text) !important;
  font-weight: 800;
}

.payment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.payment-sidecard {
  padding: 1.6rem;
}

.three-up {
  align-items: stretch;
}

.info-card,
.profile-card,
.news-card {
  padding: 1.5rem;
  border-radius: var(--radius-md);
}

.news-card h3 {
  margin-top: 0;
}

.news-more {
  margin-top: 0.85rem;
}

.news-toggle {
  margin-top: 1rem;
  border: 1px solid var(--line);
  color: var(--accent-deep);
  font: inherit;
  cursor: pointer;
}

.card-link {
  display: block;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.card-link:hover,
.card-link:focus-visible {
  transform: translateY(-4px);
}

.text-link-strong {
  color: #8f4e2f;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.text-link-strong:hover,
.text-link-strong:focus-visible {
  color: #6e3920;
}

.document-links {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.document-links li {
  margin: 0;
}

.info-card p,
.profile-card p,
.news-card p,
.split-layout p,
.fundraiser p,
.contact-panel p {
  color: var(--muted);
  line-height: 1.75;
}

.split-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: start;
}

.tag,
.news-date {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(159, 107, 59, 0.12);
  color: var(--accent-deep);
  font-size: 0.82rem;
  font-weight: 800;
}

.fundraiser {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #f8f9ec, #dce9c8);
  border: 1px solid rgba(83, 125, 49, 0.08);
}

.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  grid-auto-rows: 160px;
}

.gallery-tile {
  border-radius: var(--radius-md);
  background:
    linear-gradient(rgba(31, 40, 24, 0.08), rgba(31, 40, 24, 0.22)),
    url("https://images.unsplash.com/photo-1516961642265-531546e84af2?auto=format&fit=crop&w=1200&q=80")
      center/cover;
  border: 1px solid rgba(122, 155, 88, 0.1);
}

.gallery-tile:nth-child(2) {
  background-image:
    linear-gradient(rgba(31, 40, 24, 0.08), rgba(31, 40, 24, 0.18)),
    url("https://images.unsplash.com/photo-1553284965-83fd3e82fa5a?auto=format&fit=crop&w=1200&q=80");
}

.gallery-tile:nth-child(3) {
  background-image:
    linear-gradient(rgba(31, 40, 24, 0.08), rgba(31, 40, 24, 0.18)),
    url("https://images.unsplash.com/photo-1510312305653-8ed496efae75?auto=format&fit=crop&w=1200&q=80");
}

.gallery-tile:nth-child(4) {
  background-image:
    linear-gradient(rgba(31, 40, 24, 0.08), rgba(31, 40, 24, 0.18)),
    url("https://images.unsplash.com/photo-1508672019048-805c876b67e2?auto=format&fit=crop&w=1200&q=80");
}

.gallery-tile:nth-child(5) {
  background-image:
    linear-gradient(rgba(31, 40, 24, 0.08), rgba(31, 40, 24, 0.18)),
    url("https://images.unsplash.com/photo-1517846693594-1567da72af75?auto=format&fit=crop&w=1200&q=80");
}

.gallery-tile.tall {
  grid-row: span 2;
}

.gallery-tile.wide {
  grid-column: span 2;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  align-items: start;
}

.contact-card {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
}

.facebook-plugin-shell {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: #f7fbf0;
  border: 1px solid rgba(122, 155, 88, 0.16);
  overflow: auto;
}

.facebook-posts-stack {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.site-nav a,
.button,
.content-block,
.sidebar-card,
.price-row,
.instructor-card img,
.gallery-tile,
.hero-slider,
.nav-cta {
  transition: all 180ms ease;
}

.site-footer {
  padding: 1.5rem 0 2rem;
}

.footer-shell {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  .home-layout,
  .lessons-layout,
  .horse-grid,
  .photo-wall,
  .split-layout,
  .contact-panel,
  .card-grid,
  .donation-grid,
  .gallery-grid,
  .hero-stats,
  .payment-main {
    grid-template-columns: 1fr;
  }

  .gallery-tile.wide,
  .gallery-tile.tall {
    grid-column: auto;
    grid-row: auto;
  }

  .board-row {
    grid-template-columns: 1fr;
  }

  .fundraiser,
  .footer-shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 1rem;
    right: 1rem;
    display: none;
    padding: 1rem;
    border-radius: var(--radius-md);
    background: rgba(250, 253, 245, 0.96);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: grid;
  }

  .nav-toggle {
    display: inline-block;
  }
}

@media (max-width: 760px) {
  .hero-actions {
    gap: 0.35rem;
    width: 100%;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 2.55rem;
    padding: 0.5rem 0.2rem;
    border-radius: 10px;
    font-size: clamp(0.48rem, 3.2cqw, 0.82rem);
    line-height: 1.15;
  }
}

@media (max-width: 430px) {
  .hero-actions .button {
    min-height: 2.35rem;
    padding-inline: 0.12rem;
  }
}

@media (max-width: 360px) {
  .hero-actions {
    gap: 0.25rem;
  }

  .hero-actions .button {
    min-height: 2.25rem;
    border-radius: 8px;
    padding-inline: 0.08rem;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 1rem;
  }

  .section {
    padding: 4rem 0;
  }

  .eyebrow {
    font-size: 1rem;
    line-height: 1.2;
  }

  .hero h1 {
    max-width: 100%;
  }

  .hero-title-small,
  .content-block h2,
  .content-block h3,
  .sidebar-card h3,
  .news-card h3,
  .horse-card h3,
  .donation-card h3,
  .donation-note h2,
  .payment-highlight h2,
  .payment-sidecard h3 {
    font-size: 1.08rem !important;
    line-height: 1.18 !important;
  }

  .bank-card-iban {
    letter-spacing: 0.04em;
  }

  body[data-page="betalen"] .page-hero {
    padding: 1rem 0 0.75rem;
  }

  body[data-page="betalen"] .hero-banner {
    min-height: 210px;
    border-radius: 18px;
  }

  body[data-page="betalen"] .page-hero-copy {
    margin-top: 1.25rem;
  }

  body[data-page="betalen"] .page-intro {
    margin-top: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
  }

  body[data-page="betalen"] .section {
    padding: 1.75rem 0 3rem;
  }

  body[data-page="betalen"] .payment-main {
    gap: 0.9rem;
  }

  body[data-page="betalen"] .payment-highlight,
  body[data-page="betalen"] .payment-sidecard {
    padding: 1rem;
    border-radius: 16px;
    min-width: 0;
  }

  body[data-page="betalen"] .bank-card {
    padding: 1rem;
    border-radius: 14px;
  }

  body[data-page="betalen"] .bank-card-value,
  body[data-page="betalen"] .bank-card-iban {
    overflow-wrap: anywhere;
  }

  body[data-page="betalen"] .payment-actions .button {
    width: 100%;
    white-space: normal;
  }

  .single-line-title {
    white-space: normal;
  }

  .hero-card-image,
  .hero-banner {
    min-height: 320px;
  }

  .instructor-card {
    grid-template-columns: 1fr;
  }

  .instructor-card img {
    width: 100%;
    height: auto;
    max-width: 220px;
  }

  body[data-page="doneer"] .page-hero {
    padding: 1rem 0 0.75rem;
  }

  body[data-page="doneer"] .hero-banner {
    min-height: 210px;
    border-radius: 18px;
  }

  body[data-page="doneer"] .page-hero-copy {
    margin-top: 1.25rem;
  }

  body[data-page="doneer"] .page-intro {
    margin-top: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
  }

  body[data-page="doneer"] .section {
    padding: 1.75rem 0 3rem;
  }

  body[data-page="doneer"] .donation-grid {
    gap: 0.9rem;
  }

  body[data-page="doneer"] .donation-card {
    padding: 1rem;
    border-radius: 16px;
  }

  body[data-page="doneer"] .donation-card h3 {
    margin-bottom: 0.6rem;
  }

  body[data-page="doneer"] .donation-card p {
    margin-bottom: 1rem;
    font-size: 0.92rem;
    line-height: 1.6;
  }

  body[data-page="doneer"] .donation-card .button {
    min-height: 2.85rem;
    padding: 0.7rem 0.9rem;
    white-space: normal;
    line-height: 1.2;
  }
}

@media (max-width: 360px) {
  body[data-page="doneer"] .donation-card {
    padding: 0.9rem;
  }

  body[data-page="doneer"] .donation-card .button {
    font-size: 0.88rem;
  }
}
