:root {
  --paper: #faf6ed;
  --white: #fffdf8;
  --blue: #182e40;
  --muted: #485867;
  --gold: #7a592d;
  --soft-gold: #dfc599;
  --line: #ded2bf;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--blue); background: var(--paper); font: 16px/1.6 var(--sans); }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wrap { width: min(1180px, calc(100% - 112px)); margin-inline: auto; }
.site-header { background: var(--paper); }
.head, .foot { display: flex; justify-content: space-between; align-items: center; min-height: 76px; gap: 24px; }
nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); font-size: 13px; font-weight: 600; }
nav a, .top { padding-block: 8px; }
nav a:hover, .top:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero-section { background: radial-gradient(ellipse at 76% 35%, #314a5d, var(--blue) 68%); color: var(--white); }
.hero { display: grid; grid-template-columns: 1fr .91fr; align-items: center; gap: clamp(32px, 7vw, 110px); padding-block: clamp(48px, 6vw, 88px); }
.hero-copy { padding-block: 10px; }
.eyebrow { margin: 0 0 15px; font-size: 11px; text-transform: uppercase; letter-spacing: .19em; font-weight: 700; color: var(--gold); }
.hero .eyebrow { color: var(--soft-gold); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; margin: 0; line-height: .98; letter-spacing: -.035em; }
h1 { font-size: clamp(61px, 7.35vw, 111px); }
em { font-weight: 500; }
.hero em { color: var(--soft-gold); }
h2 { font-size: clamp(48px, 5.8vw, 80px); }
h3 { font-size: clamp(30px, 3vw, 39px); }
.intro { max-width: 355px; color: #ebe6de; margin: 23px 0 30px; }
.button { display: inline-flex; align-items: center; gap: 26px; border: 1px solid var(--soft-gold); background: var(--soft-gold); color: #172b3d; padding: 13px 21px; font-size: 14px; font-weight: 700; }
.button:hover { background: #eedbb8; }
.hero-art { margin: 0; aspect-ratio: 1.06; padding: 9px; border: 1px solid #dfc599a8; border-radius: 48% 48% 3px 3px / 39% 39% 3px 3px; overflow: hidden; }
.hero-art img { border-radius: inherit; object-position: 50% 49%; }
.custom { padding-block: clamp(48px, 7.5vw, 104px); }
.custom h2, .section-intro { text-align: center; }
.section-intro { margin: 13px auto 0; max-width: 500px; color: var(--muted); }
.builder { display: grid; grid-template-columns: 1fr .85fr; align-items: center; gap: clamp(26px, 6vw, 88px); margin: 35px auto 0; max-width: 1020px; }
.live-preview { margin: 0; min-width: 0; display: grid; justify-items: center; padding: clamp(12px, 2vw, 24px); background: #eee5d6; border: 1px solid var(--line); }
.live-preview svg { width: min(100%, 350px); height: auto; display: block; --medal-shadow: #644620; color: #fff0bd; }
.live-preview figcaption { margin-top: 12px; text-align: center; font-size: 13px; font-weight: 700; overflow-wrap: anywhere; }
.preview-note, .order-note { color: var(--muted); font-size: 12px; margin: 4px 0 0; }
.preview-note { text-align: center; }
#rosary-form { display: grid; gap: 9px; min-width: 0; }
#rosary-form label { font-weight: 700; font-size: 14px; }
#rosary-form label span { font-weight: 400; }
#rosary-form select, #rosary-form textarea { width: 100%; border: 1px solid #ae9c82; border-radius: 3px; background: var(--white); color: var(--blue); font: inherit; padding: 12px 14px; margin-bottom: 8px; }
#rosary-form textarea { resize: vertical; }
.collection { text-align: center; padding-block: clamp(48px, 7vw, 94px); background: #f0e9dc; border-block: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 36px; text-align: left; }
article { background: var(--white); border: 1px solid var(--line); }
article img { height: auto; aspect-ratio: 1.25; background: #c9c2b3; }
article div { padding: 22px clamp(15px, 2vw, 26px) 26px; }
article p, .note { color: var(--muted); font-size: 14px; margin: 10px 0 0; }
.note { margin-top: 18px; font-size: 12px; }
.story { padding-block: clamp(50px, 7vw, 95px); background: var(--blue); color: var(--white); }
.story-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.story .eyebrow, .story em { color: var(--soft-gold); }
.story-inner > p { max-width: 400px; margin: 0; padding-left: 25px; border-left: 1px solid var(--soft-gold); color: #eee8de; }
.top { font-size: 13px; font-weight: 600; }
@media (max-width: 960px) { .wrap { width: calc(100% - 64px); } }
@media (max-width: 700px) {
  .wrap { width: calc(100% - 36px); }
  .head, .foot { min-height: 67px; gap: 10px; }
  nav { flex-wrap: wrap; justify-content: flex-end; gap: 0 12px; font-size: 12px; }
  nav a { padding-block: 4px; }
  .hero, .builder, .grid, .story-inner { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: 30px; }
  .hero-art { width: min(100%, 440px); justify-self: center; }
  .hero h1 { font-size: clamp(53px, 11vw, 76px); }
  .builder, .grid { margin-top: 24px; }
  .live-preview svg { width: min(100%, 285px); }
  article img { aspect-ratio: 1.5; }
  .story-inner { gap: 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.browse-link { display: inline-block; margin: 12px 0 0 16px; font-size: 14px; font-weight: 600; text-underline-offset: 5px; text-decoration: underline; }
.product-photo { display: block; }
.product-photo img { aspect-ratio: 1; }
.product-link { display: inline-block; margin-top: 14px; color: var(--gold); font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.blog-hero { padding-block: clamp(44px, 8vw, 100px); text-align: center; background: var(--blue); color: var(--white); }
.blog-hero .eyebrow { color: var(--soft-gold); }
.blog-hero p:not(.eyebrow) { max-width: 510px; margin: 20px auto; }
.blog-nav { justify-content: center; flex-wrap: wrap; gap: 8px 25px; color: var(--soft-gold); }
.blog-nav a, nav [aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
.blog-content { max-width: 930px; }
.blog-content section { padding-block: clamp(38px, 6vw, 70px); border-bottom: 1px solid var(--line); }
.blog-content h2 { margin-bottom: 22px; }
.blog-content details { border: 1px solid var(--line); background: var(--white); margin: 10px 0; }
.blog-content summary { cursor: pointer; padding: 13px 17px; font-weight: 700; }
.blog-content details p { margin: 0; padding: 0 17px 16px; max-width: 720px; }
.liturgical-dates { padding: 0; list-style: none; border-top: 1px solid var(--line); }
.liturgical-dates li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.liturgical-dates time { color: var(--gold); font-size: 14px; font-weight: 700; }
.blog-sources { font-size: 14px; color: var(--muted); }
.blog-sources a { text-decoration: underline; text-underline-offset: 4px; }
.miracle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
.miracle-grid .eyebrow { color: var(--gold); font-size: 11px; margin: 0 0 10px; }
@media (max-width: 700px) { .miracle-grid { grid-template-columns: minmax(0, 1fr); } }

.journal { background: #f8f1e4; }
.journal .blog-hero {
  min-height: clamp(520px, 68vw, 700px);
  display: grid;
  align-items: end;
  padding: clamp(36px, 6vw, 80px) 0;
  background: linear-gradient(180deg, #100d1688, #16121ab8 46%, #19131af7), url("blog-basilica.webp") center 47% / cover, #221b2a;
  border-bottom: 3px double #c6a872;
}
.journal-hero-inner { padding-top: 45px; }
.journal .blog-hero h1 { font-size: clamp(72px, 11vw, 140px); }
.journal .blog-hero em { color: #f1d5a2; }
.journal .blog-nav { margin-top: 30px; }
.journal .blog-content { max-width: 940px; }
.journal .blog-content h2 { color: #4b2333; }
.journal .blog-content details, .miracle-stories article { border-color: #d7bea1; }
.journal .blog-content summary::marker { color: #795837; }
.miracle-stories { display: grid; gap: 22px; }
.miracle-stories article { border-top: 3px double #b79a69; }
.miracle-stories article > div { padding: clamp(20px, 4vw, 42px); }
.miracle-stories h3 { color: #4b2333; }
.miracle-stories article p:not(.eyebrow) { font-size: 16px; max-width: 67ch; }
.miracle-stories article .story-source { margin-top: 20px; font-size: 13px; color: var(--gold); }
.story-source a { text-decoration: underline; text-underline-offset: 4px; }
.testimony { margin-block: 30px; padding-inline: clamp(17px, 5vw, 58px); background: #efe3d1; border: 1px solid #d7bea1; }
#testimony-form { display: grid; gap: 10px; max-width: 620px; }
#testimony-form label { font-weight: 700; }
#testimony-form textarea { padding: 12px; border: 1px solid #a58a71; background: var(--white); font: inherit; color: var(--blue); resize: vertical; width: 100%; }
#testimony-form .button { justify-self: start; cursor: pointer; }
#testimony-help, #testimony-status { margin: 0; font-size: 13px; color: var(--muted); }
#testimony-status:empty { display: none; }
@media (max-width: 700px) { .journal .blog-hero { min-height: 490px; } }

.destination-intro { color: var(--muted); margin-top: -8px; }
.destination-group { color: #4b2333; margin: 29px 0 15px; }
.destination-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.destination { border-color: #d7bea1; border-top: 3px double #b79a69; }
.destination figure { margin: 0; }
.destination img { aspect-ratio: 3 / 2; object-fit: cover; }
.destination figcaption { color: var(--muted); padding: 8px 15px 0; font-size: 11px; }
.destination figcaption a { text-decoration: underline; text-underline-offset: 3px; }
.destination h4 { font: 600 clamp(28px, 4vw, 38px)/1 var(--serif); margin: 0; color: #4b2333; }
.destination .eyebrow { margin: 0 0 8px; font-size: 11px; color: var(--gold); }
@media (max-width: 700px) { .destination-grid { grid-template-columns: minmax(0, 1fr); } }

.saint-picker { padding: 16px 20px; margin: 20px 0; border: 1px solid #d7bea1; background: #efe3d1; }
.saint-picker label { display: block; font-weight: 700; margin-bottom: 8px; }
.saint-picker select { width: min(100%, 390px); padding: 10px; font: inherit; color: var(--blue); background: var(--white); border: 1px solid #a58a71; }
.saint-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.saint-card { border-top: 3px double #b79a69; }
.saint-card h3 { color: #4b2333; }
.saint-card details p { padding-bottom: 12px; }
.saint-links { display: flex; flex-wrap: wrap; gap: 5px 17px; }
.shop-reading { padding-block: 40px; }
.shop-reading a { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 700px) { .saint-grid { grid-template-columns: minmax(0,1fr); } }

.prayer-today { padding: clamp(18px, 4vw, 36px); background: #efe3d1; border: 1px solid #d7bea1; border-top: 3px double #b79a69; }
.prayer-today label { display: block; margin-bottom: 6px; font-weight: 700; }
.prayer-today select { padding: 8px 12px; margin-bottom: 18px; border: 1px solid #a58a71; background: var(--white); color: var(--blue); font: inherit; }
.prayer-today h3, .prayer-guide-title { color: #4b2333; }
.prayer-guide-title { margin-top: 26px; }
.prayer-guide li + li { margin-top: 7px; }
#santos details li a { text-decoration: underline; text-underline-offset: 3px; }

.visit-card { position: fixed; z-index: 5; right: 20px; bottom: 20px; width: min(340px, calc(100% - 40px)); padding: 22px 38px 22px 22px; background: var(--white); color: var(--blue); border: 1px solid var(--soft-gold); box-shadow: 0 9px 32px #182e4033; }
.visit-card h2 { font-size: 30px; }
.visit-card p { font-size: 14px; margin: 9px 0 14px; }
.visit-card .button { padding: 8px 13px; }
.visit-close { position: absolute; right: 6px; top: 6px; width: 32px; height: 32px; background: transparent; border: 0; color: inherit; font-size: 24px; cursor: pointer; }
.news-banner { padding: clamp(18px, 5vw, 44px); border: 1px solid #d7bea1; border-top: 3px double #b79a69; background: #efe3d1; }
.news-banner > h2 { margin-bottom: 8px; }
.news-banner > p { margin-top: 0; }
.news-stories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.news-stories article { padding: 17px; }
.news-stories h3 { font-size: clamp(25px, 4vw, 33px); color: #4b2333; }
@media (max-width: 700px) { .news-stories { grid-template-columns: minmax(0, 1fr); } }

/* Blog composition inspired by the entrance, nave and side chapels. */
.journal .blog-hero {
  min-height: 0;
  place-items: center;
  padding: clamp(32px, 6vw, 78px) 0;
  background: linear-gradient(180deg, #18131d22, #18131db3), url("blog-basilica.webp") center 48% / cover, #221b2a;
}
.journal-hero-inner {
  width: min(520px, calc(100% - 40px));
  padding: clamp(62px, 10vw, 120px) clamp(16px, 5vw, 56px) clamp(26px, 5vw, 44px);
  border: 4px double #e0be84;
  border-radius: 50% 50% 2px 2px / 42% 42% 2px 2px;
  background: linear-gradient(#201824e6, #201824f7);
  box-shadow: 0 12px 40px #16101955;
}
.journal .blog-hero h1 { font-size: clamp(66px, 10vw, 112px); }
.journal .blog-hero p:not(.eyebrow) { max-width: 32ch; margin: 17px auto 23px; }
.journal-aisle { background: #2e202c; border-bottom: 3px double #b79a69; }
.journal .blog-nav { margin: 0 auto; padding-block: 12px; gap: 1px 20px; }
.journal .blog-nav a { text-decoration: none; }
.journal .blog-nav a:hover { text-decoration: underline; }
.journal .blog-content {
  padding-inline: clamp(18px, 5vw, 64px);
  border-inline: 4px double #d7bea1;
  background: linear-gradient(90deg, #f2e6d470, #fffaf000 14% 86%, #f2e6d470);
}
.journal .blog-content section { position: relative; }
.journal .blog-content section + section::before {
  content: "";
  position: absolute;
  top: -4px;
  left: calc(50% - 4px);
  width: 7px;
  height: 7px;
  background: #b79a69;
  transform: rotate(45deg);
}
.journal :is(.news-banner, .prayer-today, .miracle-stories article, .saint-card, .testimony) {
  border-top: 4px double #b79a69;
  border-radius: 28px 28px 2px 2px;
}
@media (max-width: 700px) {
  .journal .blog-content { width: calc(100% - 24px); padding-inline: 12px; }
  .journal .blog-content h2 { font-size: clamp(38px, 8vw, 52px); }
  .journal .blog-nav { gap: 0 14px; }
}

.nativity-banner { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; background: #291c29; color: var(--white); border: 4px double #b79a69; border-radius: 28px 28px 2px 2px; }
.nativity-banner img { min-height: 100%; aspect-ratio: 1.15; object-position: center; }
.nativity-copy { display: grid; align-content: center; padding: clamp(20px, 4vw, 42px); }
.nativity-copy .eyebrow { color: var(--soft-gold); }
.journal .nativity-copy h2 { color: var(--white); font-size: clamp(38px, 5vw, 58px); margin-bottom: 12px; }
.nativity-copy > p:last-child { margin: 0; color: #f0e5d9; }
@media (max-width: 700px) { .nativity-banner { grid-template-columns: minmax(0, 1fr); } .nativity-banner img { min-height: 0; aspect-ratio: 1.4; } }

.nativity-gifts { margin-top: 25px; }
.nativity-gifts h3 { color: #4b2333; margin-bottom: 14px; }
.nativity-gift-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.nativity-gift-grid a { display: grid; align-content: start; border: 1px solid #d7bea1; background: var(--white); }
.nativity-gift-grid img { height: auto; aspect-ratio: 1.4; }
.nativity-gift-grid strong { padding: 10px 12px 2px; }
.nativity-gift-grid span { padding: 0 12px 12px; font-size: 13px; color: var(--muted); }
.nativity-gift-grid a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) {
  .nativity-gift-grid { grid-template-columns: 1fr; }
  .nativity-gift-grid a { grid-template-columns: 90px 1fr; }
  .nativity-gift-grid img { grid-row: span 2; height: 100%; aspect-ratio: 1; }
}

.christmas-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0 .8rem;
  margin: 0;
  padding: .4rem 1rem;
  background: #4b2333;
  color: var(--white);
  font-size: .8rem;
  line-height: 1.45;
  text-align: center;
}
.christmas-strip strong { color: #f2d7a7; }

.christmas-strip { align-items: center; flex-wrap: nowrap; column-gap: clamp(.45rem, 2vw, 1.25rem); }
.christmas-message { display: inline-flex; flex-wrap: wrap; justify-content: center; column-gap: .8rem; }
.christmas-lights {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: clamp(4px, .8vw, 9px);
  padding-block: 4px;
}
.christmas-lights i {
  display: block;
  width: 5px;
  height: 7px;
  border-radius: 50% 50% 45% 45%;
  background: #ffdea0;
  box-shadow: 0 0 5px #ffcb66;
  animation: christmas-glow 2.8s ease-in-out infinite alternate;
}
.christmas-lights i:nth-child(3n + 2) { animation-delay: -.8s; }
.christmas-lights i:nth-child(3n) { animation-delay: -1.6s; }
@keyframes christmas-glow {
  from { opacity: .42; }
  to { opacity: 1; box-shadow: 0 0 8px #ffdc90; }
}
@media (max-width: 560px) {
  .christmas-lights i:nth-child(n + 4) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .christmas-lights i { animation: none; }
}

.christmas-symbol {
  display: block;
  width: 16px;
  height: 19px;
  flex: none;
  color: #f2d7a7;
}
@media (max-width: 560px) {
  .christmas-strip { column-gap: .4rem; }
  .christmas-symbol { width: 13px; height: 16px; }
}

.saint-portrait {
  margin: 0;
  padding: 16px 16px 8px;
  text-align: center;
  background: #f2e8d8;
}
.saint-portrait img {
  width: 100%;
  height: 220px;
  object-fit: contain;
}
.saint-portrait figcaption { margin-top: 8px; font-size: 12px; color: var(--muted); }
.saint-portrait a { text-decoration: underline; text-underline-offset: 3px; }

.marian-banner {
  padding: clamp(15px, 3vw, 32px);
  border: 4px double #b79a69;
  border-radius: 26px 26px 2px 2px;
  background: #23364b;
}
.journal .marian-banner > h2 {
  color: #f2d7a7;
  text-align: center;
  font-size: clamp(38px, 5.5vw, 62px);
}
.marian-topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.marian-topics article { border-color: #b79a69; }
.marian-topics img { aspect-ratio: 4 / 5; object-position: center; }
.marian-topics article > div { padding: 16px 13px 20px; }
.marian-topics h3 { color: #4b2333; font-size: clamp(25px, 3vw, 34px); }
@media (max-width: 700px) {
  .marian-topics { grid-template-columns: 1fr; }
  .marian-topics img { aspect-ratio: 1.4; }
}

.store-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-block: clamp(28px, 5vw, 60px);
}
.store-paths a {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  background: var(--blue);
  color: var(--white);
  border: 3px double var(--soft-gold);
  border-radius: 24px 24px 2px 2px;
}
.store-paths img { height: auto; aspect-ratio: 2 / 1; }
.store-paths a > div { display: grid; align-content: start; gap: 5px; padding: 16px; }
.store-paths strong { font: 600 clamp(24px,3vw,37px)/1 var(--serif); color: var(--soft-gold); }
.store-paths span { font-size: .875rem; }
.store-paths a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.storefront .collection .product-grid > article {
  overflow: hidden;
  border-radius: 22px 22px 2px 2px;
  border-top: 3px double #b79a69;
}
.storefront .custom { background: #f5ebdc; }
.storefront .live-preview { border: 3px double #b79a69; border-radius: 28px 28px 2px 2px; }
.story-art {
  margin: 0;
  overflow: hidden;
  border: 4px double var(--soft-gold);
  border-radius: 45% 45% 2px 2px / 34% 34% 2px 2px;
  aspect-ratio: 1.15;
}
.story-copy > p { max-width: 46ch; color: #eee8de; }
.story-copy .button { margin-top: 8px; }
.journal .blog-content { max-width: 1080px; }
.chapter-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  overflow: hidden;
  margin: 16px 0 22px;
  border: 3px double #b79a69;
  border-radius: 25px 25px 2px 2px;
  background: var(--blue);
  color: var(--white);
}
.chapter-visual img { height: clamp(145px, 22vw, 220px); }
.chapter-visual p {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  margin: 0;
  padding: clamp(12px, 4vw, 36px);
  font: 500 clamp(24px, 4vw, 41px)/1.07 var(--serif);
  color: #f7e4bf;
}
.chapter-visual small { grid-column: 1; padding: 5px 8px; color: #f7e4bf; font-size: .7rem; }
.chapter-visual small a { text-decoration: underline; }
#santos .chapter-visual img { object-position: 50% 30%; }
#noticias .chapter-visual { background: #4b2333; }
@media (max-width: 600px) {
  .store-paths { grid-template-columns: 1fr; }
  .store-paths a { grid-template-columns: 35% 1fr; grid-template-rows: auto; }
  .store-paths img { height: 100%; aspect-ratio: auto; }
  .chapter-visual img { height: 148px; }
}

.chapter-visual.chapter-portrait {
  grid-template-columns: minmax(100px, 35%) minmax(0, 1fr);
  grid-template-rows: auto;
}
.chapter-portrait img {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: contain;
  background: #1b2b3d;
}
.chapter-portrait p { grid-row: 1; }

.commerce-paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.journal .commerce-paths { max-width: 1080px; }
.devotion-products { padding: 0; }
.devotion-products > p { font-weight: 700; }
.devotion-products > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0; }
.devotion-products a { display: grid; gap: 6px; padding: 8px; background: #f4ebdc; border: 1px solid var(--line); font-size: 13px; }
.devotion-products a:last-child { grid-column: 1 / -1; }
.devotion-products a:hover strong { text-decoration: underline; }
.devotion-products img { aspect-ratio: 1.65; }
@media (max-width: 600px) { .commerce-paths { grid-template-columns: minmax(0, 1fr); } }

.saint-card .prayer-source {
  color: var(--muted);
  font-size: .8rem;
  margin-top: .5rem;
}
.prayer-source a { text-decoration: underline; text-underline-offset: 3px; }

.commerce-paths img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; background: #eee3d1; }
@media (max-width: 600px) {
  .commerce-paths a { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
}

.occasion-gifts { padding-block: clamp(45px, 7vw, 82px); text-align: center; }
.occasion-gifts article { border-top: 3px double #b79a69; border-radius: 20px 20px 2px 2px; }
.occasion-gifts h3 { color: #4b2333; }

.occasion-grid article { overflow: hidden; }
.occasion-grid img { aspect-ratio: 4 / 5; object-fit: contain; background: #efe5d3; }

.devotional-books article, .book-preview a {
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 3px double #b79a69;
  border-radius: 20px 20px 2px 2px;
  background: var(--white);
}
.book-preview a { display: block; text-decoration: none; }
.book-preview a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.book-preview strong { display: block; padding: 16px; font: 600 clamp(23px, 3vw, 34px)/1.05 var(--serif); }
.devotional-books img, .book-preview img { height: auto; aspect-ratio: 1; object-fit: contain; background: #efe5d3; }
.shop-reading .button { display: inline-flex; text-decoration: none; }

.saint-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
.saint-card {
  --card-color: #f1f0ee;
  --card-accent: #383735;
  display: grid;
  grid-template-columns: minmax(0, .62fr) minmax(0, 1fr);
  align-items: start;
  overflow: hidden;
  background: var(--card-color);
  border: 3px double #9c793e;
}
.saint-card[hidden] { display: none; }
.saint-card:nth-child(even) { --card-color: #d8d7d4; }
.saint-card > div { padding: clamp(15px, 3vw, 30px); min-width: 0; }
.saint-card h3 { color: var(--card-accent); font-size: clamp(28px, 4vw, 46px); }
.saint-card .saint-portrait { padding: clamp(9px, 2vw, 20px); background: transparent; }
.saint-card .saint-portrait .saint-art {
  height: auto;
  max-height: 390px;
  object-fit: contain;
  border-radius: 14px 14px 3px 3px;
  background: transparent;
  border: 3px double #9c793e;
}
.saint-card .saint-portrait figcaption { overflow-wrap: anywhere; }
.saint-card .devotion-products a { background: var(--white); }
@media (max-width: 480px) {
  .saint-card { grid-template-columns: minmax(0, .47fr) minmax(0, 1fr); }
  .saint-card h3 { font-size: 25px; overflow-wrap: anywhere; }
  .saint-card .devotion-products > div { grid-template-columns: minmax(0, 1fr); }
}

.wordmark { display: block; flex: 0 1 auto; min-width: 0; }
.head .wordmark { width: clamp(275px, 42vw, 460px); max-width: 100%; }
.foot .wordmark { width: min(100%, 285px); }
.brand-cutout {
  display: block;
  aspect-ratio: 2048 / 545;
  overflow: hidden;
  mix-blend-mode: multiply;
}
.brand-cutout .brand-standard {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  background: transparent;
  filter: grayscale(.18) brightness(1.18);
}
.head { min-height: 128px; padding-block: 14px; }
.foot { padding-block: 24px; }
.saint-card .saint-ornament { display: grid; justify-items: center; width: min(100%, 280px); margin: 15px auto 0; }
.saint-ornament .brand-cutout { width: 100%; }
.saint-card .saint-ornament img { height: auto; aspect-ratio: auto; background: transparent; }
.saint-card .saint-ornament > img { width: 75%; }
@media (max-width: 700px) {
  .head { min-height: auto; flex-wrap: wrap; justify-content: center; gap: 12px; padding-block: 16px; }
  .head .wordmark { width: min(100%, 380px); }
  .head nav { width: 100%; justify-content: center; }
  .foot { flex-wrap: wrap; }
}

.family-banner { background: #182e40; color: #fff8e8; border-block: 1px solid #b88c45; }
.family-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 17px; }
.family-banner strong { display: block; color: #efd7a3; font: 600 27px/1.15 var(--serif); }
.family-banner span { font-size: 13px; }
.family-banner a { font-size: 13px; text-decoration: underline; text-underline-offset: 5px; }
.family-welcome { padding: clamp(24px, 5vw, 52px); border: 3px double #b88c45; background: #fffaf0; }
.family-welcome > p { max-width: 750px; }
.family-links { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 24px; }
.family-links a { padding: 10px 18px; border: 1px solid #ad854d; border-radius: 3px; color: #182e40; }
.family-links a:hover { background: #ede1cb; }
.family-signature { font-style: italic; color: #71502a; }
@media(max-width: 700px) { .family-banner-inner { flex-direction: column; text-align: center; gap: 10px; } }

.family-banner-inner { padding-block: 10px; }

.story-identity { margin-top: clamp(38px, 6vw, 72px); }
.story-standard {
  margin: 0;
  border: 4px double var(--soft-gold);
  background: var(--paper);
}
.story-standard img { width: 100%; height: auto; }
.story-identity-details {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 60px);
  margin-top: clamp(24px, 4vw, 45px);
}
.story-identity-details h3 { font: 600 clamp(28px, 4vw, 44px)/1.08 var(--serif); }
.story-identity-details p, .story-symbols dd { color: #eee8de; }
.story-name p { max-width: 64ch; }
.story-name .story-motto { color: var(--soft-gold); font: italic 500 24px/1.2 var(--serif); }
.story-symbols { border-inline-start: 1px solid #dfc59980; padding-inline-start: clamp(20px, 4vw, 48px); }
.story-symbols dl { display: grid; gap: 10px; margin-bottom: 0; }
.story-symbols dt { font-weight: 600; color: var(--soft-gold); }
.story-symbols dd { margin: 0; }
@media (max-width: 700px) {
  .story-identity-details { grid-template-columns: minmax(0, 1fr); }
  .story-symbols { border-inline-start: 0; border-block-start: 1px solid #dfc59980; padding-inline-start: 0; padding-block-start: 24px; }
}
