:root {
  --page: #f7f7f5;
  --ink: #080808;
  --muted: #6d6d6d;
  --line: #dededb;
  --soft: #eeeeeb;
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  font-size: 15px;
  letter-spacing: 0;
}

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

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

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 300px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 72px);
  background: rgba(247, 247, 245, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

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

.brand-logo {
  width: 72px;
  height: 48px;
  flex: 0 0 auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.brand.small .brand-logo {
  width: 54px;
  height: 36px;
}

.brand-text {
  display: grid;
  gap: 2px;
  text-transform: uppercase;
  line-height: 1.08;
}

.brand-text span {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand.small .brand-text span {
  font-size: 11px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 34px);
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  position: relative;
  padding: 16px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.member-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  border-radius: 5px;
  border: 1px solid var(--ink);
  padding: 0 20px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.member-button {
  min-height: 42px;
  padding: 0 16px;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
}

.member-button svg {
  width: 16px;
  height: 16px;
}

.button:hover,
.member-button:hover {
  transform: translateY(-1px);
}

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

.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: #a9a9a6;
}

.button.light {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.button.dark-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.centered {
  justify-self: center;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

main {
  padding: 0 clamp(12px, 2vw, 24px) 26px;
}

#inicio,
#sobre,
#lideranca,
#cultos,
#eventos,
#galeria,
#contribua,
#contato {
  scroll-margin-top: 112px;
}

.hero {
  position: relative;
  height: clamp(390px, 34vw, 520px);
  overflow: hidden;
  border-radius: 8px;
  isolation: isolate;
  background: #d8d8d6;
}

.hero picture,
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero img {
  object-fit: cover;
  object-position: center 50%;
  filter: grayscale(1) contrast(1.05);
  transition: opacity 180ms ease;
}

.hero.hero-image-loading {
  background: #05080d;
}

.hero.hero-image-loading img {
  opacity: 0;
}

.hero.anniversary-slide img {
  object-position: center;
  filter: grayscale(1) contrast(1.05);
}

.hero.anniversary-slide .hero-shade {
  background: linear-gradient(90deg, rgba(0, 9, 23, 0.88) 0%, rgba(0, 9, 23, 0.68) 35%, rgba(0, 9, 23, 0.08) 65%);
}

.hero.anniversary-slide h1,
.hero.anniversary-slide p {
  color: var(--white);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.72);
}

.hero.anniversary-slide .hero-content {
  width: 100%;
  height: 100%;
  padding: clamp(20px, 2vw, 30px) clamp(76px, 8vw, 138px) 0;
  text-align: center;
}

.hero.anniversary-slide h1 {
  font-size: clamp(26px, 2vw, 36px);
  line-height: 1.05;
}

.hero.anniversary-slide p {
  max-width: 660px;
  margin: 10px auto 0;
  font-size: clamp(13px, 0.95vw, 16px);
  line-height: 1.45;
}

.hero.anniversary-slide .hero-actions {
  position: absolute;
  top: auto;
  right: clamp(76px, 8vw, 138px);
  bottom: 58px;
  transform: none;
}

.hero.anniversary-slide .hero-actions .button {
  width: auto;
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}

.hero.anniversary-slide .hero-actions .button:hover {
  background: #ededeb;
  border-color: #ededeb;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(247, 247, 245, 0.72) 0%, rgba(247, 247, 245, 0.6) 28%, rgba(247, 247, 245, 0.16) 54%, rgba(0, 0, 0, 0.05) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.24), transparent 38%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 82vw);
  padding: clamp(16px, 2.7vw, 36px) 0 0 clamp(34px, 8vw, 138px);
}

.hero h1 {
  display: grid;
  gap: 2px;
  margin: 0;
  font-size: clamp(38px, 3.25vw, 54px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 1px 18px rgba(247, 247, 245, 0.62);
}

.hero h1 span {
  white-space: nowrap;
}

.hero p {
  max-width: 460px;
  margin: 0 0 128px;
  color: #1c1c1c;
  font-size: clamp(15px, 1.1vw, 18px);
  font-weight: 600;
  line-height: 1.55;
  text-shadow: 0 1px 14px rgba(247, 247, 245, 0.7);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.hero-actions.is-positioned {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
}

.hero-actions.is-positioned .button {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  white-space: nowrap;
}

/* Os percentuais X/Y dos botões dinâmicos são relativos ao banner completo. */
.hero > .hero-actions.is-positioned,
.hero.anniversary-slide > .hero-actions.is-positioned,
.hero:not(.anniversary-slide) > .hero-actions.is-positioned {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: block;
  transform: none;
  pointer-events: none;
}

.hero > .hero-actions.is-positioned .button {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: auto;
  white-space: nowrap;
}

.hero:not(.anniversary-slide) .hero-content {
  height: 100%;
}

.hero:not(.anniversary-slide) .hero-actions {
  position: absolute;
  bottom: 58px;
  left: clamp(34px, 8vw, 138px);
}

.hero-actions .button.secondary {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.hero-actions .button.secondary:hover {
  background: var(--white);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
}

.hero-arrow svg {
  width: 24px;
  height: 24px;
}

.hero-prev {
  left: clamp(18px, 3vw, 54px);
}

.hero-next {
  right: clamp(18px, 3vw, 54px);
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 3;
  display: flex;
  gap: 12px;
  transform: translateX(-50%);
}

.hero-dots button {
  width: 14px;
  height: 14px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
}

.hero-dots .selected {
  background: var(--white);
}

.content-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.1fr 1.45fr;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: rgba(255, 255, 255, 0.68);
  overflow: hidden;
}

.panel,
.image-panel,
.map-panel {
  min-height: 360px;
  padding: clamp(26px, 3vw, 48px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.panel h2 {
  margin: 0 0 22px;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.15;
  letter-spacing: 0;
}

.panel p {
  margin: 0 0 26px;
  color: #202020;
  font-weight: 600;
  line-height: 1.7;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.story h2::after,
.leadership h2::after {
  content: "";
  display: block;
  width: 58px;
  height: 2px;
  margin-top: 18px;
  background: var(--ink);
}

.image-panel {
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-panel img,
.gallery img,
.events img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  filter: grayscale(1);
}

.about-photo img {
  height: clamp(250px, 18vw, 300px);
  aspect-ratio: 1.78 / 1;
  object-position: center 28%;
  box-shadow: var(--shadow);
}

.leadership {
  grid-column: span 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 1.08fr);
  gap: clamp(22px, 3vw, 42px);
  align-items: center;
}

.leadership figure {
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  margin: 0;
}

.leadership img {
  width: 100%;
  height: 252px;
  border-radius: 8px;
  object-fit: cover;
  object-position: 74% 36%;
  filter: grayscale(1) contrast(1.04);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.12);
}

.schedule {
  grid-column: span 1;
}

.schedule-header {
  display: flex;
  align-items: center;
  gap: 22px;
}

.schedule-header::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.schedule-list {
  display: grid;
  gap: 0;
  margin-bottom: 26px;
}

.schedule-row {
  display: grid;
  grid-template-columns: 58px minmax(125px, 0.9fr) repeat(3, minmax(90px, 1fr));
  align-items: center;
  gap: 18px;
  min-height: 88px;
  border-bottom: 1px solid var(--line);
}

.schedule-row strong {
  text-transform: uppercase;
  font-size: 13px;
}

.schedule-row span:not(.schedule-icon) {
  color: #333;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.schedule-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--soft);
}

.schedule-icon svg {
  width: 24px;
  height: 24px;
}

.schedule-icon-image {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.schedule-icon-church {
  width: 30px;
  height: 30px;
}

.schedule-icon-prayer {
  width: 25px;
  height: 30px;
}

.schedule-icon-worship {
  width: 31px;
  height: 28px;
}

.schedule-icon-youth {
  width: 34px;
  height: 22px;
}

.schedule-emoji {
  display: block;
  color: var(--ink);
  font-family: "Segoe UI Symbol", "Noto Emoji", "Apple Color Emoji", sans-serif;
  font-size: 31px;
  line-height: 1;
  filter: grayscale(1) saturate(0) contrast(1.2);
  transform: translateY(-1px);
}

.location h2 {
  display: flex;
  align-items: center;
  gap: 12px;
}

.location h2 svg {
  width: 27px;
  height: 27px;
  fill: var(--ink);
  stroke: var(--ink);
}

.map-panel {
  position: relative;
  min-height: 360px;
  height: 360px;
  overflow: hidden;
  background: #ecece9;
  padding: 0;
  isolation: isolate;
}

.map-panel iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(100%) saturate(0) contrast(1.08) brightness(1.04);
  -webkit-filter: grayscale(100%) saturate(0) contrast(1.08) brightness(1.04);
}

.map-panel span {
  position: absolute;
  right: 22px;
  bottom: 20px;
  z-index: 1;
  padding: 8px 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.86);
  color: #111;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.gallery,
.events {
  grid-column: span 2;
}

.gallery-grid,
.events-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0 0 24px;
}

.events-grid .event-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1100 / 900;
  object-fit: cover;
  cursor: zoom-in;
}

body.event-lightbox-open {
  overflow: hidden;
}

.event-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(20px, 4vw, 56px);
  background: rgba(0, 0, 0, 0.88);
}

.event-lightbox[hidden] {
  display: none;
}

.event-lightbox figure {
  position: relative;
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  margin: 0;
}

.event-lightbox img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 82vh;
  margin: auto;
  border-radius: var(--radius);
  object-fit: contain;
  filter: none;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}

.event-lightbox figcaption {
  margin-top: 12px;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.event-lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

/* Mantém a proporção própria da Galeria sem acoplá-la aos Eventos. */
.gallery-grid .event-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1100 / 900;
  object-fit: cover;
}

.event-card {
  min-width: 0;
}

.events-empty {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
}

.event-card h3 {
  margin: 12px 0 0;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.25;
  font-weight: 900;
}

.event-date {
  margin: 5px 0 0;
  color: #555;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.gallery-grid img.gallery-focus-top {
  object-position: center 72%;
}

.gallery .button.centered {
  margin-top: 14px;
}

.visit-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(1540px, calc(100% - 190px));
  min-height: 108px;
  margin: 24px auto 0;
  padding: 18px clamp(24px, 4vw, 70px);
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.72), transparent 34%),
    linear-gradient(90deg, #d8d8d6 0%, #efefee 55%, #d1d1cf 100%);
  color: var(--ink);
  position: relative;
  z-index: 4;
}

.visit-icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
}

.visit-icon img {
  display: block;
  width: 74px;
  height: 74px;
  object-fit: contain;
}

.visit-card h2 {
  margin: 0 0 6px;
  font-size: clamp(26px, 2.4vw, 34px);
}

.visit-card p {
  margin: 0;
  color: #333;
  font-weight: 600;
}

.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-end;
}

.visit-card .button.dark-outline {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.contribution-card {
  display: grid;
  grid-template-columns: auto minmax(320px, 1fr) 1px auto minmax(200px, 0.36fr);
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
  width: min(1540px, calc(100% - 190px));
  margin: 24px auto 0;
  padding: clamp(22px, 2.8vw, 36px) clamp(24px, 4vw, 60px);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 10%, rgba(255, 255, 255, 0.1), transparent 28%),
    linear-gradient(135deg, #060606 0%, #141414 52%, #050505 100%);
  color: var(--white);
}

.contribution-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
}

.contribution-icon img {
  display: block;
  width: 76px;
  height: 76px;
  object-fit: contain;
}

.contribution-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 2.3vw, 36px);
  line-height: 1.1;
}

.contribution-copy p,
.contribution-actions p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
  line-height: 1.45;
}

.pix-key {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  font-size: clamp(17px, 1.35vw, 21px);
  font-weight: 800;
}

.pix-key strong {
  padding: 7px 11px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}

.contribution-divider {
  width: 1px;
  height: 112px;
  background: rgba(255, 255, 255, 0.42);
}

.contribution-qr {
  padding: 10px;
  border-radius: 8px;
  background: var(--white);
}

.contribution-qr img {
  display: block;
  width: clamp(118px, 10vw, 142px);
  height: clamp(118px, 10vw, 142px);
}

.contribution-actions {
  display: grid;
  gap: 14px;
}

.copy-pix {
  gap: 10px;
  background: transparent;
}

.copy-pix svg {
  width: 22px;
  height: 22px;
}

.site-footer {
  display: grid;
  grid-template-columns: 220px 1fr 300px;
  align-items: center;
  gap: 20px;
  padding: 22px clamp(24px, 4vw, 72px) 26px;
}

.site-footer p {
  margin: 0;
  color: #707070;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
}

.socials {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.socials a:hover {
  transform: translateY(-2px);
  background: #333;
}

.socials img {
  display: block;
  width: 17px;
  height: 17px;
}

.developer-credit { grid-column: 1 / -1; margin-top: 2px; padding-top: 16px; border-top: 1px solid #e4e4e4; color: #8a8a8a; text-align: center; font-size: 11px; font-weight: 600; }
.developer-credit a { display: inline-flex; align-items: center; gap: 4px; margin-left: 3px; color: #666; font-weight: 800; text-decoration: none; transition: color .2s ease; }
.developer-credit a:hover { color: #b17a20; }
.developer-credit span { color: #b17a20; }

@media (max-width: 1400px) {
  .content-grid {
    grid-template-columns: 1fr 1fr;
  }

  .leadership,
  .schedule,
  .events,
  .gallery {
    grid-column: span 2;
  }

  .visit-card {
    width: calc(100% - 40px);
    margin-top: 24px;
  }

  .contribution-card {
    width: calc(100% - 40px);
    grid-template-columns: auto minmax(280px, 1fr) auto;
  }

  .contribution-divider {
    display: none;
  }

  .contribution-actions {
    grid-column: 2 / -1;
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .leadership {
    grid-template-columns: minmax(260px, 0.72fr) minmax(420px, 1.28fr);
  }

  .leadership img {
    height: 308px;
    object-position: 72% 34%;
  }
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: 220px auto auto;
  }

  .main-nav {
    position: fixed;
    left: 18px;
    right: 18px;
    top: 88px;
    display: none;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  body.menu-open .main-nav {
    display: flex;
  }

  .main-nav a {
    padding: 15px 12px;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }
}

@media (max-width: 780px) {
  html {
    scroll-padding-top: 150px;
  }

  #inicio,
  #sobre,
  #lideranca,
  #cultos,
  #eventos,
  #galeria,
  #contribua,
  #contato {
    scroll-margin-top: 150px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding: 14px 18px;
  }

  .member-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .hero {
    height: 560px;
  }

  .hero img {
    object-position: center 46%;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(247, 247, 245, 0.98) 0%, rgba(247, 247, 245, 0.86) 48%, rgba(247, 247, 245, 0.28) 100%),
      linear-gradient(0deg, rgba(0, 0, 0, 0.18), transparent);
  }

  .hero-content {
    width: 100%;
    padding: 36px 24px 0;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero p {
    margin: 12px 0 28px;
  }

  .hero.anniversary-slide .hero-actions {
    top: auto;
    right: 24px;
    bottom: 68px;
    left: auto;
    transform: none;
  }

  .hero:not(.anniversary-slide) .hero-actions {
    bottom: 68px;
    left: 24px;
  }

  .hero.anniversary-slide .hero-content {
    padding: 26px 24px 0;
  }

  .hero-arrow {
    display: none;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .panel,
  .image-panel,
  .map-panel,
  .leadership,
  .schedule,
  .events,
  .gallery {
    grid-column: span 1;
  }

  .map-panel {
    height: 340px;
    min-height: 340px;
  }

  .leadership {
    grid-template-columns: 1fr;
  }

  .leadership img {
    height: 322px;
    object-position: 70% 25%;
  }

  .schedule-row {
    grid-template-columns: 54px 1fr;
    align-items: start;
    padding: 18px 0;
  }

  .schedule-row span:not(.schedule-icon) {
    grid-column: 2;
  }

  .gallery-grid,
  .events-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .visit-card {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .contribution-card {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 18px;
  }

  .contribution-actions {
    grid-column: auto;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .contribution-qr {
    justify-self: start;
  }

  .copy-pix {
    width: 100%;
  }

  .visit-actions {
    width: 100%;
    justify-content: stretch;
  }

  .visit-actions .button {
    flex: 1 1 180px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .socials {
    justify-content: center;
  }
}

@media (max-width: 460px) {
  .brand-logo {
    width: 58px;
    height: 39px;
  }

  .brand-text span {
    font-size: 12px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero h1 span {
    white-space: normal;
  }

  .hero-actions .button,
  .member-button {
    width: 100%;
  }

  .gallery-grid,
  .events-grid {
    grid-template-columns: 1fr;
  }

  .panel,
  .image-panel {
    padding: 24px;
  }
}
