/*
Theme Name: PPP Hallenbau – Bewegung baut Zukunft
Author: Projektteam Parkinson-Ping Pong
Description: Barrierearmes, datenschutzfreundliches WordPress-Theme für die Darstellung und Finanzierung eines inklusiven Parkinson-Ping-Pong- und Begegnungszentrums. Schwerpunkt: Projektfortschritt, Fundraising, Transparenz und Beteiligung.
Version: 1.2.1
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ppp-hallenbau
Tags: accessibility-ready, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, wide-blocks, blog, education, nonprofit
*/

:root {
  --ppp-navy: #123b5d;
  --ppp-blue: #1f6d9b;
  --ppp-sky: #dceef7;
  --ppp-green: #3d7d68;
  --ppp-green-dark: #285c4b;
  --ppp-gold: #c99a34;
  --ppp-red: #b34242;
  --ppp-ink: #1b2933;
  --ppp-muted: #5b6b76;
  --ppp-line: #d7e0e6;
  --ppp-surface: #ffffff;
  --ppp-surface-soft: #f5f8fa;
  --ppp-surface-blue: #edf6fa;
  --ppp-radius-sm: 0.45rem;
  --ppp-radius: 0.85rem;
  --ppp-radius-lg: 1.4rem;
  --ppp-shadow: 0 16px 40px rgba(18, 59, 93, 0.10);
  --ppp-content: 76rem;
  --ppp-text: 44rem;
  --ppp-header-height: 5.25rem;
  --ppp-font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  margin: 0;
  color: var(--ppp-ink);
  background: var(--ppp-surface);
  font-family: var(--ppp-font);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
input[type="submit"],
input[type="button"] {
  cursor: pointer;
}

a {
  color: var(--ppp-blue);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--ppp-navy);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 0.22rem solid var(--ppp-gold);
  outline-offset: 0.18rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ppp-navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75em;
}

h1 {
  font-size: clamp(2.45rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

h3 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

p,
ul,
ol,
blockquote,
table,
figure {
  margin-top: 0;
  margin-bottom: 1.35rem;
}

blockquote {
  border-left: 0.35rem solid var(--ppp-green);
  margin-left: 0;
  padding: 0.5rem 0 0.5rem 1.4rem;
  color: var(--ppp-navy);
  font-size: 1.2rem;
}

hr {
  border: 0;
  border-top: 1px solid var(--ppp-line);
  margin: 2.5rem 0;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  clip: auto !important;
  clip-path: none;
  background: #fff;
  color: var(--ppp-navy);
  display: block;
  font-size: 1rem;
  font-weight: 700;
  height: auto;
  left: 0.75rem;
  padding: 0.85rem 1rem;
  top: 0.75rem;
  width: auto;
  z-index: 100000;
}

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

.ppp-narrow {
  width: min(calc(100% - 2rem), var(--ppp-text));
  margin-inline: auto;
}

.ppp-section {
  padding: clamp(4rem, 8vw, 7.5rem) 0;
  scroll-margin-top: calc(var(--ppp-header-height) + 1rem);
}

.ppp-section--soft {
  background: var(--ppp-surface-soft);
}

.ppp-section--blue {
  background: var(--ppp-surface-blue);
}

.ppp-section--dark {
  background: var(--ppp-navy);
  color: #fff;
}

.ppp-section--dark h2,
.ppp-section--dark h3,
.ppp-section--dark a {
  color: #fff;
}

.ppp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: var(--ppp-green-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ppp-eyebrow::before {
  content: "";
  width: 2.25rem;
  height: 0.18rem;
  background: var(--ppp-gold);
  border-radius: 99px;
}

.ppp-lead {
  max-width: 48rem;
  color: var(--ppp-muted);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
}

.ppp-grid {
  display: grid;
  gap: 1.5rem;
}

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

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

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

.ppp-button,
.wp-block-button__link,
input[type="submit"] {
  appearance: none;
  align-items: center;
  background: var(--ppp-green);
  border: 2px solid var(--ppp-green);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  gap: 0.55rem;
  justify-content: center;
  line-height: 1.2;
  min-height: 3.15rem;
  padding: 0.78rem 1.35rem;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.ppp-button:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover {
  background: var(--ppp-green-dark);
  border-color: var(--ppp-green-dark);
  color: #fff;
  transform: translateY(-1px);
}

.ppp-button--secondary {
  background: #fff;
  border-color: #fff;
  color: var(--ppp-navy);
}

.ppp-button--secondary:hover {
  background: var(--ppp-sky);
  border-color: var(--ppp-sky);
  color: var(--ppp-navy);
}

.ppp-button--outline {
  background: transparent;
  border-color: var(--ppp-navy);
  color: var(--ppp-navy);
}

.ppp-button--outline:hover {
  background: var(--ppp-navy);
  border-color: var(--ppp-navy);
  color: #fff;
}

.ppp-button--small {
  min-height: 2.65rem;
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
}

.ppp-button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.75rem;
}

.ppp-card {
  background: var(--ppp-surface);
  border: 1px solid var(--ppp-line);
  border-radius: var(--ppp-radius);
  box-shadow: 0 8px 24px rgba(18, 59, 93, 0.06);
  padding: 1.65rem;
}

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

.ppp-icon {
  align-items: center;
  background: var(--ppp-sky);
  border-radius: 50%;
  color: var(--ppp-navy);
  display: inline-flex;
  height: 3rem;
  justify-content: center;
  margin-bottom: 1rem;
  width: 3rem;
}

.ppp-icon svg {
  height: 1.55rem;
  width: 1.55rem;
}

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(18, 59, 93, 0.09);
  min-height: var(--ppp-header-height);
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(12px);
}

.admin-bar .site-header {
  top: 32px;
}

.site-header__inner {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  min-height: var(--ppp-header-height);
}

.site-branding {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 0.75rem;
  max-width: 18rem;
}

.custom-logo-link {
  display: block;
  line-height: 0;
}

.custom-logo {
  max-height: 3.2rem;
  width: auto;
}

.ppp-brand-mark {
  align-items: center;
  background: var(--ppp-navy);
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 auto;
  height: 3rem;
  justify-content: center;
  width: 3rem;
}

.ppp-brand-mark svg {
  height: 2rem;
  width: 2rem;
}

.site-title {
  color: var(--ppp-navy);
  display: block;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.15;
  text-decoration: none;
}

.site-description {
  color: var(--ppp-muted);
  display: block;
  font-size: 0.76rem;
  line-height: 1.25;
  margin-top: 0.15rem;
}

.main-navigation {
  align-items: center;
  display: flex;
  gap: 1rem;
  margin-left: auto;
}

.main-navigation ul {
  align-items: center;
  display: flex;
  gap: 0.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  border-radius: 0.45rem;
  color: var(--ppp-ink);
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.65rem 0.75rem;
  text-decoration: none;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
  background: var(--ppp-surface-blue);
  color: var(--ppp-navy);
}

.main-navigation ul ul {
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--ppp-line);
  border-radius: var(--ppp-radius-sm);
  box-shadow: var(--ppp-shadow);
  display: none;
  flex-direction: column;
  left: 0;
  min-width: 15rem;
  padding: 0.4rem;
  position: absolute;
  top: calc(100% + 0.35rem);
}

.main-navigation li:hover > ul,
.main-navigation li:focus-within > ul {
  display: flex;
}

.menu-toggle {
  align-items: center;
  background: #fff;
  border: 2px solid var(--ppp-navy);
  border-radius: 50%;
  color: var(--ppp-navy);
  display: none;
  height: 3rem;
  justify-content: center;
  width: 3rem;
}

.menu-toggle svg {
  height: 1.45rem;
  width: 1.45rem;
}

.header-support {
  white-space: nowrap;
}

/* Hero */
.ppp-hero {
  background: var(--ppp-navy);
  color: #fff;
  min-height: min(48rem, calc(100vh - var(--ppp-header-height)));
  overflow: hidden;
  position: relative;
}

.ppp-hero::before {
  background: linear-gradient(90deg, rgba(8, 31, 50, 0.93) 0%, rgba(8, 31, 50, 0.78) 42%, rgba(8, 31, 50, 0.22) 100%);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.ppp-hero__image {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.ppp-hero__inner {
  align-items: center;
  display: grid;
  min-height: inherit;
  padding: clamp(4rem, 8vw, 8rem) 0;
  position: relative;
  z-index: 2;
}

.ppp-hero__content {
  max-width: 48rem;
}

.ppp-hero h1,
.ppp-hero h2,
.ppp-hero a {
  color: #fff;
}

.ppp-hero h1 {
  max-width: 13ch;
  text-wrap: balance;
}

.ppp-hero__lead {
  color: #edf7fb;
  font-size: clamp(1.18rem, 2.4vw, 1.55rem);
  max-width: 42rem;
}

.ppp-status {
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  display: inline-flex;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  padding: 0.48rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 750;
}

.ppp-status__dot {
  background: #93d8be;
  border-radius: 50%;
  box-shadow: 0 0 0 0.28rem rgba(147, 216, 190, 0.18);
  height: 0.65rem;
  width: 0.65rem;
}

.ppp-symbolic-note {
  bottom: 1rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.76rem;
  position: absolute;
  right: 1rem;
  z-index: 3;
}

/* Overview facts */
.ppp-facts {
  margin-top: -3.25rem;
  position: relative;
  z-index: 5;
}

.ppp-fact {
  background: #fff;
  border-top: 0.28rem solid var(--ppp-green);
  min-height: 100%;
}

.ppp-fact__number {
  color: var(--ppp-navy);
  display: block;
  font-size: clamp(1.9rem, 3vw, 2.65rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 0.55rem;
}

.ppp-fact__label {
  color: var(--ppp-muted);
  font-size: 0.96rem;
}

/* Media sections */
.ppp-split {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.ppp-media {
  border-radius: var(--ppp-radius-lg);
  box-shadow: var(--ppp-shadow);
  overflow: hidden;
  position: relative;
}

.ppp-media img {
  display: block;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
  width: 100%;
}

.ppp-media__caption {
  background: rgba(18, 59, 93, 0.9);
  bottom: 0;
  color: #fff;
  font-size: 0.8rem;
  left: 0;
  margin: 0;
  padding: 0.65rem 0.85rem;
  position: absolute;
  right: 0;
}

.ppp-checklist {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
}

.ppp-checklist li {
  padding: 0.45rem 0 0.45rem 2rem;
  position: relative;
}

.ppp-checklist li::before {
  align-items: center;
  background: var(--ppp-green);
  border-radius: 50%;
  color: #fff;
  content: "✓";
  display: flex;
  font-size: 0.75rem;
  font-weight: 900;
  height: 1.25rem;
  justify-content: center;
  left: 0;
  position: absolute;
  top: 0.65rem;
  width: 1.25rem;
}

/* Funding */
.ppp-funding-total {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.4rem;
  margin: 1.5rem 0 2.25rem;
}

.ppp-funding-total strong {
  color: var(--ppp-navy);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1;
}

.ppp-funding-total span {
  color: var(--ppp-muted);
  max-width: 26rem;
}

.ppp-progress {
  background: #dce6eb;
  border-radius: 999px;
  height: 1rem;
  overflow: hidden;
  position: relative;
}

.ppp-progress__bar {
  background: linear-gradient(90deg, var(--ppp-green), var(--ppp-blue));
  height: 100%;
  min-width: 0;
}

.ppp-progress-meta {
  display: flex;
  flex-wrap: wrap;
  font-size: 0.9rem;
  gap: 0.5rem 1rem;
  justify-content: space-between;
  margin-top: 0.55rem;
}

.ppp-pillar-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.ppp-pillar {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(12rem, 1fr) minmax(12rem, 2.5fr) auto;
  align-items: center;
}

.ppp-pillar__name {
  font-weight: 750;
}

.ppp-pillar__track {
  background: #dfe8ed;
  border-radius: 999px;
  height: 0.95rem;
  overflow: hidden;
}

.ppp-pillar__fill {
  background: var(--ppp-blue);
  border-radius: inherit;
  height: 100%;
}

.ppp-pillar:nth-child(2) .ppp-pillar__fill { background: #477aa2; }
.ppp-pillar:nth-child(3) .ppp-pillar__fill { background: #6b8a95; }
.ppp-pillar:nth-child(4) .ppp-pillar__fill { background: var(--ppp-green); }
.ppp-pillar:nth-child(5) .ppp-pillar__fill { background: #8b6d3f; }
.ppp-pillar:nth-child(6) .ppp-pillar__fill { background: var(--ppp-gold); }

.ppp-pillar__value {
  color: var(--ppp-navy);
  font-variant-numeric: tabular-nums;
  font-weight: 850;
  text-align: right;
}

.ppp-disclaimer {
  background: #fff8e6;
  border-left: 0.3rem solid var(--ppp-gold);
  border-radius: var(--ppp-radius-sm);
  color: #493b1e;
  font-size: 0.92rem;
  margin: 1.5rem 0;
  padding: 1rem 1.2rem;
}

.ppp-donation-modules .ppp-card {
  border-top: 0.3rem solid var(--ppp-gold);
}

.ppp-donation-amount {
  color: var(--ppp-navy);
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 0.25rem;
}

.ppp-bank-box {
  background: #fff;
  border: 2px solid var(--ppp-green);
  border-radius: var(--ppp-radius);
  padding: 1.4rem;
}

.ppp-bank-box dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.4rem 1rem;
  margin: 0;
}

.ppp-bank-box dt {
  color: var(--ppp-muted);
  font-weight: 700;
}

.ppp-bank-box dd {
  margin: 0;
  overflow-wrap: anywhere;
}

/* Timeline */
.ppp-timeline {
  counter-reset: phase;
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.ppp-timeline__item {
  background: #fff;
  border: 1px solid var(--ppp-line);
  border-left: 0.35rem solid var(--ppp-blue);
  border-radius: 0 var(--ppp-radius) var(--ppp-radius) 0;
  display: grid;
  gap: 0.75rem 1.25rem;
  grid-template-columns: 7rem 1fr;
  padding: 1.25rem 1.4rem;
}

.ppp-timeline__year {
  color: var(--ppp-green-dark);
  font-weight: 900;
}

.ppp-timeline__item h3 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.ppp-timeline__item p {
  color: var(--ppp-muted);
  margin: 0;
}

.ppp-timeline__item.is-current {
  border-left-color: var(--ppp-gold);
  box-shadow: var(--ppp-shadow);
}

/* Posts and events */
.ppp-post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.ppp-post-card__image {
  aspect-ratio: 16 / 9;
  background: var(--ppp-surface-blue);
  overflow: hidden;
}

.ppp-post-card__image img {
  height: 100%;
  object-fit: cover;
  transition: transform 250ms ease;
  width: 100%;
}

.ppp-post-card:hover .ppp-post-card__image img {
  transform: scale(1.025);
}

.ppp-post-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.35rem;
}

.ppp-post-card__meta {
  color: var(--ppp-muted);
  font-size: 0.85rem;
  margin-bottom: 0.7rem;
}

.ppp-post-card__body h3 {
  font-size: 1.35rem;
}

.ppp-post-card__body h3 a {
  color: var(--ppp-navy);
  text-decoration: none;
}

.ppp-post-card__body .ppp-more {
  margin-top: auto;
}

.ppp-event-date {
  background: var(--ppp-navy);
  border-radius: var(--ppp-radius-sm);
  color: #fff;
  display: inline-flex;
  flex-direction: column;
  font-weight: 800;
  line-height: 1.05;
  min-width: 4.5rem;
  padding: 0.65rem 0.8rem;
  text-align: center;
}

.ppp-event-date strong {
  font-size: 1.55rem;
}

/* FAQ */
.ppp-faq {
  border-top: 1px solid var(--ppp-line);
}

.ppp-faq details {
  border-bottom: 1px solid var(--ppp-line);
  padding: 0;
}

.ppp-faq summary {
  color: var(--ppp-navy);
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 800;
  list-style: none;
  padding: 1.25rem 2.5rem 1.25rem 0;
  position: relative;
}

.ppp-faq summary::-webkit-details-marker {
  display: none;
}

.ppp-faq summary::after {
  content: "+";
  font-size: 1.8rem;
  font-weight: 400;
  position: absolute;
  right: 0.25rem;
  top: 0.95rem;
}

.ppp-faq details[open] summary::after {
  content: "−";
}

.ppp-faq details > div {
  max-width: 50rem;
  padding: 0 0 1.4rem;
}

/* Content templates */
.site-main {
  min-height: 45vh;
}

.entry-header,
.archive-header,
.search-header {
  background: var(--ppp-surface-blue);
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.entry-header .entry-title,
.archive-header h1,
.search-header h1 {
  max-width: 20ch;
}

.entry-content,
.entry-footer,
.comments-area,
.post-navigation {
  width: min(calc(100% - 2rem), var(--ppp-text));
  margin-inline: auto;
}

.entry-content {
  padding: clamp(2.5rem, 5vw, 5rem) 0;
}

.entry-content > .alignwide {
  margin-left: 50%;
  max-width: var(--ppp-content);
  transform: translateX(-50%);
  width: min(calc(100vw - 2rem), var(--ppp-content));
}

.entry-content > .alignfull {
  margin-left: 50%;
  max-width: none;
  transform: translateX(-50%);
  width: 100vw;
}

.entry-content img {
  border-radius: var(--ppp-radius-sm);
}

.entry-meta,
.entry-footer {
  color: var(--ppp-muted);
  font-size: 0.9rem;
}

.posts-navigation,
.post-navigation {
  padding: 2rem 0 4rem;
}

.nav-links {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.page-links {
  margin: 2rem 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  border: 1px solid var(--ppp-line);
  padding: 0.7rem;
  text-align: left;
}

th {
  background: var(--ppp-surface-blue);
  color: var(--ppp-navy);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="number"],
input[type="tel"],
textarea,
select {
  background: #fff;
  border: 2px solid #aebdc7;
  border-radius: var(--ppp-radius-sm);
  color: var(--ppp-ink);
  max-width: 100%;
  padding: 0.75rem 0.85rem;
  width: 100%;
}

.search-form {
  display: flex;
  gap: 0.5rem;
}

.search-form label {
  flex: 1;
}

/* Footer */
.site-footer {
  background: #0b2a42;
  color: #dce8ee;
  padding: 4rem 0 1.5rem;
}

.site-footer h2,
.site-footer h3,
.site-footer a {
  color: #fff;
}

.site-footer a:hover {
  color: #bfe5d8;
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}

.site-footer__title {
  font-size: 1.35rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.45rem;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.85rem;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 1.25rem;
}

.site-footer__bottom p {
  margin: 0;
}

/* Notice / utility */
.ppp-notice {
  background: var(--ppp-navy);
  color: #fff;
  font-size: 0.9rem;
  padding: 0.6rem 0;
  text-align: center;
}

.ppp-notice a {
  color: #fff;
  font-weight: 800;
}

.ppp-empty {
  background: var(--ppp-surface-soft);
  border-radius: var(--ppp-radius);
  padding: 2rem;
  text-align: center;
}

.ppp-template-hero {
  background: var(--ppp-navy);
  color: #fff;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.ppp-template-hero h1,
.ppp-template-hero a {
  color: #fff;
}

.ppp-template-hero p {
  color: #e7f2f6;
  font-size: 1.25rem;
  max-width: 45rem;
}

.ppp-contact-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.ppp-contact-list li {
  margin-bottom: 0.7rem;
}

/* WordPress core */
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { color: var(--ppp-muted); font-size: 0.85rem; }
.gallery-caption { color: var(--ppp-muted); font-size: 0.85rem; }
.bypostauthor { border-left: 0.2rem solid var(--ppp-green); }
.sticky { border-top: 0.3rem solid var(--ppp-gold); }

.comment-list {
  list-style: none;
  padding: 0;
}

.comment-body {
  border-bottom: 1px solid var(--ppp-line);
  padding: 1.5rem 0;
}

.comment-meta {
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 70rem) {
  .header-support {
    display: none;
  }

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

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

@media (max-width: 58rem) {
  :root {
    --ppp-header-height: 4.75rem;
  }

  .admin-bar .site-header {
    top: 46px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-navigation {
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--ppp-line);
    box-shadow: var(--ppp-shadow);
    display: none;
    flex-direction: column;
    left: 0;
    margin: 0;
    padding: 1rem;
    position: absolute;
    right: 0;
    top: 100%;
  }

  .main-navigation.is-open {
    display: flex;
  }

  .main-navigation ul {
    align-items: stretch;
    flex-direction: column;
  }

  .main-navigation ul ul {
    background: var(--ppp-surface-soft);
    border: 0;
    box-shadow: none;
    display: flex;
    margin: 0.25rem 0 0.5rem 1rem;
    min-width: 0;
    padding: 0.25rem;
    position: static;
  }

  .ppp-grid--3,
  .ppp-split {
    grid-template-columns: 1fr;
  }

  .ppp-split .ppp-media {
    order: -1;
  }

  .ppp-hero::before {
    background: linear-gradient(90deg, rgba(8, 31, 50, 0.92), rgba(8, 31, 50, 0.64));
  }

  .ppp-pillar {
    grid-template-columns: 1fr auto;
  }

  .ppp-pillar__track {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 42rem) {
  body {
    font-size: 1rem;
  }

  .site-description {
    display: none;
  }

  .site-branding {
    max-width: 13rem;
  }

  .ppp-brand-mark {
    height: 2.7rem;
    width: 2.7rem;
  }

  .ppp-grid--2,
  .ppp-grid--4,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .ppp-facts {
    margin-top: -1.75rem;
  }

  .ppp-timeline__item {
    grid-template-columns: 1fr;
  }

  .ppp-bank-box dl {
    grid-template-columns: 1fr;
  }

  .ppp-bank-box dd {
    margin-bottom: 0.55rem;
  }

  .search-form {
    flex-direction: column;
  }

  .ppp-symbolic-note {
    left: 1rem;
    right: auto;
  }
}

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

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

@media print {
  .site-header,
  .site-footer,
  .ppp-button,
  .menu-toggle,
  .ppp-notice {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 11pt;
  }

  a {
    color: #000;
  }

  .ppp-section {
    padding: 1.5rem 0;
  }
}


/* Editable Gutenberg homepage (since 1.1.0) */
/*
 * The normal page template limits .entry-content to the readable text width.
 * The editable homepage consists primarily of full-width Gutenberg blocks and
 * therefore needs its own full-width canvas. Resetting width, margins and the
 * legacy alignfull transform prevents horizontal displacement and clipping.
 */
body.home { overflow-x: clip; }
.ppp-home-editor,
.ppp-home-editor__article,
.ppp-home-editor .entry-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
.ppp-home-editor .entry-content > * { margin-block-start: 0; margin-block-end: 0; }
.ppp-home-editor .entry-content > .alignfull {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  transform: none !important;
}
.ppp-home-editor .entry-content > .alignwide {
  width: min(calc(100% - 2rem), var(--ppp-content)) !important;
  max-width: var(--ppp-content) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  transform: none !important;
}
.ppp-home-editor .wp-block-group.ppp-section {
  width: 100%;
  max-width: none;
  padding: clamp(3.5rem, 7vw, 6.5rem) max(1rem, calc((100vw - var(--ppp-content)) / 2));
}
.ppp-home-editor .wp-block-cover.ppp-home-hero {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
.ppp-home-editor .ppp-home-hero .wp-block-cover__inner-container { width: 100%; }
.ppp-home-editor .ppp-home-hero .ppp-container { padding: clamp(5rem, 10vw, 8rem) 0; }
.ppp-home-editor .ppp-home-hero__title { max-width: 14ch; font-size: clamp(2.8rem, 7vw, 5.8rem); line-height: .98; color: #fff; }
.ppp-home-editor .ppp-home-hero__lead { max-width: 42rem; color: #fff; }
.ppp-home-editor .ppp-home-hero .ppp-eyebrow,
.ppp-home-editor .ppp-home-hero .ppp-status,
.ppp-home-editor .ppp-symbolic-note-block { color: #fff; }
.ppp-home-editor .ppp-home-card-grid { gap: 1.25rem; align-items: stretch; }
.ppp-home-editor .ppp-home-card-grid > .wp-block-column { display: flex; }
.ppp-home-editor .ppp-home-card-grid .ppp-card { width: 100%; }
.ppp-home-editor .wp-block-media-text { gap: clamp(2rem, 5vw, 5rem); }
.ppp-home-editor .wp-block-media-text__content { padding: 0; }
.ppp-home-editor .wp-block-media-text__media img { border-radius: var(--ppp-radius-lg); box-shadow: var(--ppp-shadow); }
.ppp-home-editor .ppp-section--blue .wp-block-heading,
.ppp-home-editor .ppp-section--blue p,
.ppp-home-editor .ppp-section--blue li,
.ppp-home-editor .ppp-section--blue a:not(.wp-block-button__link),
.ppp-home-editor .ppp-section--dark .ppp-eyebrow { color: inherit; }
.ppp-home-editor .wp-block-details { border: 1px solid var(--ppp-line); border-radius: var(--ppp-radius); background: #fff; padding: 1rem 1.25rem; margin-top: .75rem; }
.ppp-home-editor .wp-block-details summary { cursor: pointer; font-weight: 700; }
.ppp-home-editor .wp-block-details[open] summary { margin-bottom: .75rem; }
.ppp-funding-shortcode { margin-top: 2rem; }
.ppp-donation-shortcode { margin-top: 2rem; }
@media (max-width: 781px) {
  .ppp-home-editor .wp-block-media-text.is-stacked-on-mobile { grid-template-columns: 100% !important; }
  .ppp-home-editor .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__media,
  .ppp-home-editor .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content { grid-column: 1 !important; grid-row: auto !important; }
}
