:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  color: #222;
  background: #eaeaea;
}

* { box-sizing: border-box; }
body { margin: 0; background: #eaeaea; }
a { color: #a63e14; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid #9a380f;
  outline-offset: 3px;
}

.site-header {
  background: #fff;
  box-shadow: 0 3px 8px #0002;
}
.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.site-brand {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: #333;
  text-decoration: none;
  text-transform: uppercase;
}
.site-brand img {
  display: block;
  width: 190px;
  max-width: 100%;
  height: auto;
}
.site-brand span {
  color: #666;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
}
.site-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
.site-nav a { color: #222; font-size: .95rem; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #a63e14; }
.site-nav .church-link {
  padding: 10px 16px;
  border-radius: 30px;
  background: #e75f28;
  color: #fff;
  font-weight: 700;
}
.site-nav .church-link:hover { background: #b94113; color: #fff; }

.site-main { max-width: 1100px; margin: 0 auto; padding: 64px 24px 80px; }
.page-intro { margin: 0 auto 46px; text-align: center; }
.page-intro h1 { margin: 0; font-size: clamp(2rem, 4vw, 2.5rem); font-weight: 400; }
.page-intro h1::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin: 22px auto;
  background: #e75f28;
}
.page-intro p { margin: 0 auto; max-width: 620px; color: #555; line-height: 1.6; }
.resource-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 28px; }
.resource-card, .gallery-card {
  background: #fff;
  box-shadow: 0 6px 0 #ddd;
}
.resource-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 24px;
  text-align: center;
  border-top: 4px solid #e75f28;
}
.resource-card h2 { margin: 0 0 12px; font-size: 1.35rem; }
.resource-card p { margin: 0 0 20px; color: #555; line-height: 1.5; }
.resource-card a { margin-top: auto; font-weight: 700; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 28px; }
.gallery-card a { color: #222; text-decoration: none; }
.gallery-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #f5f5f5; }
.gallery-card span { display: block; padding: 18px; font-weight: 700; text-align: center; overflow-wrap: anywhere; }
.site-footer { padding: 24px; text-align: center; color: #555; font-size: .875rem; }

@media (max-width: 600px) {
  .site-header-inner { padding: 16px; }
  .site-nav { gap: 12px 18px; }
  .site-main { padding: 45px 16px 60px; }
}
