:root {
  --ink: #17202a;
  --muted: #5e6a73;
  --green: #a2bf1a;
  --green-dark: #72890c;
  --yellow: #f2c94c;
  --cream: #f7f2e8;
  --paper: #fffdf9;
  --blue: #1373a8;
  --line: rgba(23, 32, 42, 0.14);
  --shadow: 0 22px 55px rgba(23, 32, 42, 0.13);
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.7;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.section-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.newsletter-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  min-height: 64px;
  margin: 0;
  padding: .7rem var(--gutter, 1rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 0;
  border-radius: 0;
  background: rgba(251,250,247,.94);
  box-shadow: 0 8px 26px rgba(34,31,32,.07);
  backdrop-filter: blur(12px);
}
.brand img { width: 104px; height: auto; }
.header-side { display: flex; align-items: center; gap: 1rem; }
.back-link { display: none; color: var(--ink); font-size: .75rem; font-weight: 900; text-decoration: none; text-transform: uppercase; }
.back-link::before { content: "←"; margin-right: .45rem; color: #cf3415; }
.back-link:hover { color: var(--ink); }
.lang-switch { display: inline-flex; gap: .2rem; padding: .25rem; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.lang-switch button { min-width: 38px; min-height: 34px; padding: 0 9px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; font-size: .72rem; font-weight: 900; }
.lang-switch button.active { color: var(--ink); background: var(--green); }

.article-hero {
  padding: 74px 0 76px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  align-items: center;
  gap: clamp(44px, 7vw, 88px);
}
.issue-line { display: flex; align-items: center; gap: 10px; color: var(--green-dark); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.hero-kicker { margin: 28px 0 8px; color: var(--blue); font-weight: 800; letter-spacing: 0.02em; }
h1, h2, h3 { margin-top: 0; font-family: Georgia, "Times New Roman", serif; line-height: 1.05; letter-spacing: -0.025em; }
h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(2.75rem, 5.6vw, 5.4rem); }
h2 { font-size: clamp(2rem, 3.7vw, 3.6rem); }
.hero-copy blockquote { margin: 0 0 24px; padding: 17px 22px; border-left: 5px solid var(--yellow); background: var(--cream); border-radius: 0 16px 16px 0; }
.hero-copy blockquote p { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.05rem; font-weight: 700; }
.hero-copy cite { color: var(--muted); font-size: 0.86rem; font-style: normal; font-weight: 700; }
.hero-intro { margin: 0; color: #3f4a52; font-size: 1.08rem; }
.hero-author { margin: 18px 0 0; font-weight: 800; }
.hero-photo { margin: 0; transform: none; }
.conference-hero-photo .heart-photo-frame { position: relative; width: calc(100% - 1rem); margin-inline: auto; aspect-ratio: 1; filter: drop-shadow(0 18px 28px rgba(34,31,32,.16)); }
.conference-hero-photo .heart-photo-frame::before { position: absolute; inset: -5%; z-index: -1; background: var(--green); content: ""; opacity: .3; transform: rotate(-7deg); -webkit-mask: url("../../output/logos/bume-simbolo-coracao.png") center / contain no-repeat; mask: url("../../output/logos/bume-simbolo-coracao.png") center / contain no-repeat; }
.conference-hero-photo .heart-photo-frame img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 53% 48%; border: 0; border-radius: 0; box-shadow: none; -webkit-mask: url("../../output/logos/bume-simbolo-coracao.png") center / contain no-repeat; mask: url("../../output/logos/bume-simbolo-coracao.png") center / contain no-repeat; }
.conference-hero-photo figcaption { position: static; margin: .6rem auto 0; padding: .8rem 1rem; color: var(--muted); background: transparent; backdrop-filter: none; text-align: center; }
figcaption { margin-top: 12px; color: var(--muted); font-size: 0.88rem; line-height: 1.45; }

.feature-photo::after,
.photo-grid figure::after,
.gallery-additions figure::after,
.video-card::after {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  width: clamp(3.5rem, 18%, 6.25rem);
  aspect-ratio: 740 / 617;
  background: #fff;
  content: "";
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.85)) drop-shadow(0 3px 8px rgba(0,0,0,.6));
  opacity: .3;
  pointer-events: none;
  -webkit-mask: url("../../output/logos/bume-logo-cor.png") center / contain no-repeat;
  mask: url("../../output/logos/bume-logo-cor.png") center / contain no-repeat;
}

.eyebrow { margin: 0 0 12px; color: var(--green-dark); font-size: 0.77rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.eyebrow.light { color: var(--yellow); }
.milestone {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: clamp(34px, 6vw, 74px);
  color: #fff;
  border-radius: 34px;
  background: linear-gradient(135deg, #18212a, #253744 70%, #314a50);
  box-shadow: var(--shadow);
}
.milestone::before { content: ""; position: absolute; width: 340px; height: 340px; right: -130px; top: -160px; border-radius: 50%; background: rgba(162, 191, 26, 0.19); }
.milestone h2 { margin-bottom: 22px; }
.milestone p:not(.eyebrow) { color: rgba(255,255,255,0.78); }
.feature-photo { position: relative; margin: 0; }
.feature-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 24px; box-shadow: 0 20px 42px rgba(0,0,0,0.3); }
.feature-photo figcaption { color: rgba(255,255,255,0.7); }
.fact-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 30px; }
.fact-row div { min-height: 98px; padding: 16px; display: flex; flex-direction: column; justify-content: center; border: 1px solid rgba(255,255,255,0.18); border-radius: 18px; background: rgba(255,255,255,0.07); }
.fact-row strong { color: var(--yellow); font: 800 1.65rem/1 Georgia, "Times New Roman", serif; }
.fact-row span { margin-top: 7px; color: rgba(255,255,255,0.74); font-size: 0.78rem; line-height: 1.25; }

.pavilion-story { padding: 98px 0 34px; border-bottom: 1px solid var(--line); }
.pavilion-story-heading { max-width: 800px; margin: 0 auto 34px; text-align: center; }
.pavilion-story-heading h2 { margin-bottom: 18px; }
.pavilion-story-heading > p:last-child { color: var(--muted); font-size: 1.04rem; line-height: 1.75; }
.pavilion-photo-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 20px; align-items: center; }
.pavilion-prayer-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 46%; }
.pavilion-prayer-photo:last-child { transform: translateY(34px); }

.story-section { position: relative; padding: 108px 0; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr); gap: clamp(46px, 7vw, 94px); align-items: center; }
.story-section.reverse { grid-template-columns: minmax(420px, 1.08fr) minmax(0, 0.92fr); }
.section-number { position: absolute; left: -14px; top: 56px; color: rgba(23,32,42,0.055); font: 800 clamp(6rem, 13vw, 11rem)/1 Georgia, "Times New Roman", serif; z-index: -1; }
.story-copy h2 { margin-bottom: 24px; }
.story-copy p:not(.eyebrow) { color: #47535b; }
.ezir-stack { display: grid; grid-template-columns: 1fr 0.82fr; gap: 18px; align-items: end; }
.story-photo { margin: 0; }
.story-photo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.story-photo.tall img { aspect-ratio: 3/4; }
.ezir-stack .story-photo:last-child { transform: translateY(34px); }
.quote-card { margin-top: 30px; padding: 24px 26px; display: grid; grid-template-columns: auto 1fr; gap: 12px; border-radius: 20px; background: var(--cream); }
.quote-card > span { color: var(--green); font: 800 3.8rem/0.9 Georgia, serif; }
.quote-card p { margin: 0; color: var(--ink) !important; font-family: Georgia, "Times New Roman", serif; font-weight: 700; }
.photo-pair { display: grid; gap: 20px; }
.photo-pair .story-photo:first-child { margin-right: 62px; }
.photo-pair .story-photo:last-child { margin-left: 62px; }
.prayer-card { margin-top: 28px; padding: 22px 24px; display: flex; gap: 16px; border-radius: 20px; background: #eef4d8; }
.prayer-card > span { color: var(--green-dark); font-size: 1.45rem; }
.prayer-card strong { display: block; font-family: Georgia, "Times New Roman", serif; }
.prayer-card p { margin: 5px 0 0; font-size: 0.94rem; }

.gallery-section { padding: 36px 0 112px; }
.gallery-heading { max-width: 770px; margin-bottom: 38px; }
.gallery-heading h2 { margin-bottom: 18px; }
.gallery-heading > p:last-child { color: var(--muted); font-size: 1.05rem; }
.photo-grid { display: grid; grid-template-columns: 1.25fr 0.75fr 0.75fr; grid-template-rows: repeat(2, 300px); gap: 18px; }
.photo-grid figure { position: relative; overflow: hidden; margin: 0; border-radius: 24px; box-shadow: 0 14px 34px rgba(23,32,42,0.12); }
.photo-grid figure.wide { grid-row: span 2; }
.photo-grid figure.pavilion-view { grid-row: auto; grid-column: span 2; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.photo-grid figure:hover img { transform: scale(1.025); }
.photo-grid figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; margin: 0; padding: 10px 13px; color: #fff; border-radius: 13px; background: rgba(23,32,42,0.78); backdrop-filter: blur(8px); }
.gallery-additions { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.gallery-additions figure { position: relative; overflow: hidden; margin: 0; border-radius: 24px; box-shadow: 0 14px 34px rgba(23,32,42,0.12); }
.gallery-additions .bume-youth-group { grid-column: 1 / -1; }
.gallery-additions img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s ease; }
.gallery-additions .bume-youth-group img { aspect-ratio: 16 / 9; object-position: center 48%; }
.gallery-additions figure:hover img { transform: scale(1.025); }
.gallery-additions figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; margin: 0; padding: 10px 13px; color: #fff; border-radius: 13px; background: rgba(23,32,42,0.78); backdrop-filter: blur(8px); }

.video-section { padding: clamp(42px, 6vw, 72px); color: #fff; border-radius: 34px; background: #101820; }
.video-heading { max-width: 820px; margin-bottom: 34px; }
.video-heading h2 { margin-bottom: 18px; }
.video-heading > p:last-child { color: rgba(255,255,255,0.7); }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.video-card { position: relative; overflow: hidden; margin: 0; border: 1px solid rgba(255,255,255,0.12); border-radius: 20px; background: rgba(255,255,255,0.06); }
.video-card video { width: 100%; aspect-ratio: 16/9; object-fit: contain; background: #000; }
.video-card figcaption { min-height: 104px; margin: 0; padding: 18px; color: rgba(255,255,255,0.72); }
.video-card strong, .video-card span { display: block; }
.video-card strong { margin-bottom: 5px; color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 1rem; }

.prayer-response { margin-top: 82px; padding: 64px; text-align: center; border: 1px solid #dce7ae; border-radius: 30px; background: linear-gradient(135deg, #f3f7e3, #fff9df); }
.prayer-response h2 { max-width: 820px; margin: 0 auto 18px; }
.prayer-response > p:not(.eyebrow):not(.prayer-note) { max-width: 720px; margin: 0 auto; color: var(--muted); }
.prayer-actions { margin-top: 30px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.prayer-button { padding: 13px 18px; text-decoration: none; border: 1px solid var(--green-dark); border-radius: 999px; color: var(--green-dark); background: #fff; font-weight: 800; transition: .2s ease; }
.prayer-button:hover { color: #fff; background: var(--green-dark); transform: translateY(-2px); }
.prayer-note { margin: 22px 0 0; color: var(--green-dark); font-size: 0.9rem; font-weight: 700; }

.gratitude { padding: 110px 20px 88px; text-align: center; }
.gratitude > img { width: 62px; margin: 0 auto 18px; }
.gratitude h2 { max-width: 900px; margin: 0 auto 22px; }
.gratitude > p:not(.eyebrow):not(.signature):not(.share-feedback) { max-width: 760px; margin-inline: auto; color: var(--muted); font-size: 1.04rem; }
.signature { margin-top: 22px; font: 700 1.1rem Georgia, "Times New Roman", serif; }
.gratitude-actions { margin-top: 32px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.button { min-height: 48px; padding: 12px 20px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; text-decoration: none; cursor: pointer; font-size: .75rem; font-weight: 900; text-transform: uppercase; }
.button.primary { color: var(--ink); background: var(--green); }
.button.dark { color: #fff; background: var(--ink); }
.button:hover { transform: translateY(-2px); }
.share-feedback { min-height: 24px; margin: 12px 0 0; color: var(--green-dark); font-weight: 700; }

.donation-callout { margin-bottom: 74px; padding: 50px 56px; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; color: #fff; border-radius: 32px; background: linear-gradient(125deg, #29343c, #111920); }
.donation-copy h2 { margin-bottom: 16px; }
.donation-copy > p:last-child { color: rgba(255,255,255,0.7); }
.donation-details { padding: 26px; border: 1px solid rgba(255,255,255,0.13); border-radius: 22px; background: rgba(255,255,255,0.07); }
.donation-method { display: block; color: var(--yellow); font-size: .76rem; font-weight: 800; letter-spacing: .12em; }
.donation-details strong { display: block; margin: 6px 0 8px; overflow-wrap: anywhere; font-size: 1.1rem; }
.donation-details p { margin: 0 0 18px; color: rgba(255,255,255,0.68); font-size: .9rem; }
.donation-feedback { display: block; min-height: 22px; margin-top: 8px; color: var(--yellow); font-weight: 700; }

.issue-nav { padding: 28px 0 56px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; border-top: 1px solid var(--line); }
.issue-nav a { font-weight: 800; text-decoration: none; }
.issue-home { color: var(--green-dark); }
.issue-next { text-align: right; }
.newsletter-footer { padding: 52px 20px; text-align: center; color: rgba(255,255,255,0.7); background: var(--ink); }
.newsletter-footer img { width: 126px; margin: 0 auto 18px; }
.newsletter-footer p { margin: 3px 0; font-size: .88rem; }

.floating-actions { position: fixed; right: 18px; bottom: 18px; z-index: 20; display: none; }
.floating-support { padding: 12px 16px; border: 0; border-radius: 16px; color: var(--ink); background: var(--green); box-shadow: 0 14px 34px rgba(23,32,42,.24); cursor: pointer; transition: .25s ease; }
.floating-support span, .floating-support strong { display: block; text-align: left; }
.floating-support span { font-size: .7rem; font-weight: 700; }
.floating-support strong { font-size: .83rem; }
.floating-support.is-hidden { opacity: 0; pointer-events: none; transform: translateY(12px); }

@media (max-width: 980px) {
  .article-hero, .milestone, .story-section, .story-section.reverse, .donation-callout { grid-template-columns: 1fr; }
  .article-hero { padding-top: 54px; }
  .hero-photo { max-width: 720px; margin-inline: auto; }
  .milestone, .video-section { width: min(1180px, calc(100% - 24px)); }
  .story-section { padding: 84px 0; }
  .story-section.reverse .photo-pair { order: 2; }
  .video-grid { grid-template-columns: 1fr 1fr; }
  .video-card:last-child { grid-column: 1 / -1; max-width: 540px; justify-self: center; }
  .photo-grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 290px); }
  .photo-grid figure.wide { grid-row: span 2; }
  .photo-grid figure.pavilion-view { grid-column: span 2; }
}

@media (max-width: 680px) {
  .section-shell { width: min(100% - 24px, 1180px); }
  .newsletter-header { width: 100%; margin: 0; padding: .7rem var(--gutter, 1rem); border-radius: 0; }
  .brand img { width: 108px; }
  .back-link { display: none; }
  .article-hero { padding: 44px 0 56px; }
  .article-hero { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  h1 { font-size: clamp(2.25rem, 10.5vw, 3.2rem); }
  h2 { font-size: clamp(1.85rem, 9vw, 2.7rem); }
  .issue-line { align-items: flex-start; flex-wrap: wrap; }
  .hero-photo img { border-width: 6px; border-radius: 24px; }
  .milestone, .video-section { padding: 30px 22px; border-radius: 24px; }
  .pavilion-story { padding: 68px 0 24px; }
  .pavilion-photo-grid { grid-template-columns: 1fr; gap: 14px; }
  .pavilion-prayer-photo:last-child { transform: none; }
  .fact-row { grid-template-columns: 1fr; }
  .fact-row div { min-height: 74px; }
  .story-section { grid-template-columns: minmax(0, 1fr); padding: 68px 0; gap: 38px; }
  .story-section.reverse { grid-template-columns: minmax(0, 1fr); }
  .ezir-stack { gap: 10px; }
  .ezir-stack .story-photo:last-child { transform: translateY(18px); }
  .photo-pair .story-photo:first-child { margin-right: 28px; }
  .photo-pair .story-photo:last-child { margin-left: 28px; }
  .gallery-section { padding-bottom: 76px; }
  .photo-grid { grid-template-columns: 1fr; grid-template-rows: repeat(4, 320px); }
  .photo-grid figure.wide, .photo-grid figure.pavilion-view { grid-row: auto; grid-column: auto; }
  .gallery-additions { grid-template-columns: 1fr; }
  .gallery-additions .bume-youth-group { grid-column: auto; }
  .gallery-additions img, .gallery-additions .bume-youth-group img { aspect-ratio: 3 / 2; }
  .video-grid { grid-template-columns: 1fr; }
  .video-card:last-child { grid-column: auto; max-width: none; }
  .prayer-response { margin-top: 56px; padding: 42px 22px; border-radius: 24px; }
  .gratitude { padding: 76px 12px 64px; }
  .donation-callout { padding: 34px 22px; gap: 26px; border-radius: 24px; }
  .issue-nav { grid-template-columns: 1fr 1fr; font-size: .88rem; }
  .issue-home { grid-column: 1 / -1; grid-row: 1; text-align: center; }
  .issue-previous { grid-row: 2; }
  .issue-next { grid-row: 2; }
  .floating-actions { right: 10px; bottom: 10px; }
}

@media (max-width: 780px) {
  .floating-actions { display: grid; justify-items: end; }
}

@media (min-width: 781px) {
  .newsletter-header { padding-inline: max(var(--gutter, 2rem), calc((100vw - 1180px) / 2)); }
  .brand img { width: 126px; }
  .back-link { display: inline-block; }
}

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