:root {
  --wine: #654733;
  --wine-dark: #38271f;
  --wine-soft: #8a6a52;
  --gold: #c39a52;
  --gold-pale: #f0dfba;
  --cream: #fbf7ed;
  --paper: #fffefa;
  --ink: #302822;
  --muted: #6d6259;
  --line: #e8ddca;
  --shadow: 0 20px 55px rgba(56, 39, 31, .15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0, rgba(195,154,82,.18), transparent 28rem),
    linear-gradient(180deg, #f7efe2 0, #fbfaf6 33rem, #f4eee4 100%);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.72;
}

a { color: var(--wine); text-decoration-thickness: .08em; text-underline-offset: .16em; }
a:hover { color: #9b6b20; }
.shell { width: min(1500px, calc(100% - 32px)); margin-inline: auto; }

.site-header {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(128deg, #33231c 0%, #604330 58%, #82634b 100%);
  border-bottom: 4px solid var(--gold);
}

.site-header::after {
  content: "";
  position: absolute;
  right: -9rem;
  bottom: -16rem;
  width: 37rem;
  height: 37rem;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  box-shadow: 0 0 0 5rem rgba(255,255,255,.025), 0 0 0 10rem rgba(255,255,255,.02);
}

.topbar { position: relative; z-index: 1; display: flex; align-items: center; gap: 15px; padding: 18px 0 13px; }
.topbar img { width: 60px; height: 60px; border-radius: 13px; border: 2px solid rgba(255,255,255,.75); box-shadow: 0 7px 20px rgba(0,0,0,.28); }
.topbar a { color: #fff; text-decoration: none; font-size: 1.05rem; }
.topbar small { display: block; color: #eedfd9; font: .77rem/1.4 Arial, sans-serif; }

.hero { position: relative; z-index: 1; padding: 20px 0 52px; max-width: 1040px; }
.breadcrumbs { margin-bottom: 18px; font: .84rem/1.5 Arial, sans-serif; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.breadcrumbs li + li::before { content: "›"; margin-right: 8px; color: #e2bf7f; }
.breadcrumbs a { color: #f8ece7; }
.eyebrow { margin: 0 0 8px; color: #f0d599; font: 700 .77rem/1.4 Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; }
h1 { margin: 0; max-width: 1000px; font-size: clamp(2.15rem, 5vw, 4.25rem); font-weight: 500; line-height: 1.06; letter-spacing: -.03em; }
.lead { max-width: 900px; margin: 20px 0 0; color: #f8ece7; font-size: 1.1rem; }

main { position: relative; z-index: 2; margin-top: -28px; padding-bottom: 55px; }
.prayer-layout { display: grid; grid-template-columns: minmax(430px, .95fr) minmax(500px, 1.05fr); gap: 30px; align-items: start; }

.video-column { position: sticky; top: 12px; }
.video-card, .prayer-card, .related, .share-panel, .subscribe-panel {
  border: 1px solid rgba(89,48,37,.11);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.video-card { overflow: hidden; background: #17110d; }
.video-stage { position: relative; aspect-ratio: 16 / 9; background: #17110d; }
.video-stage picture, .video-stage img { display: block; width: 100%; height: 100%; }
.video-stage img { object-fit: cover; opacity: .6; }
.video-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(20,7,9,.08), rgba(20,7,9,.76)); }
.video-stage.is-loaded::after { display: none; }
.video-consent { position: absolute; z-index: 2; inset: 0; display: grid; place-content: center; justify-items: center; gap: 11px; padding: clamp(18px, 4vw, 42px); text-align: center; color: #fff; }
.live-label { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: rgba(54,38,29,.82); font: 700 .72rem/1 Arial, sans-serif; letter-spacing: .09em; text-transform: uppercase; }
.live-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff6b68; box-shadow: 0 0 0 4px rgba(255,107,104,.2); }
.video-consent h2 { margin: 2px 0 0; font-size: clamp(1.3rem, 2.5vw, 2rem); line-height: 1.15; }
.video-consent p { max-width: 650px; margin: 0; color: #f1e9e3; font: clamp(.78rem, 1.4vw, .92rem)/1.5 Arial, sans-serif; }
.load-video {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 20px;
  color: #35261b;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #f6d58e, #cfa354);
  box-shadow: 0 6px 0 #8f682c, 0 13px 24px rgba(0,0,0,.3);
  font: 700 .9rem/1.2 Arial, sans-serif;
  cursor: pointer;
}
.load-video:hover { transform: translateY(1px); box-shadow: 0 5px 0 #8f682c, 0 10px 20px rgba(0,0,0,.3); }
.load-video:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.play-icon { width: 0; height: 0; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 11px solid currentColor; }
.privacy-links { font: .7rem/1.4 Arial, sans-serif; }
.privacy-links a { color: #f5dda7; }
.video-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-caption { display: flex; justify-content: space-between; gap: 18px; padding: 13px 17px; color: #eaddd7; background: #302119; font: .78rem/1.4 Arial, sans-serif; }
.video-caption strong { color: #fff; }

.prayer-card { padding: clamp(25px, 4vw, 52px); }
.prayer-card h2 { margin: 0 0 .75rem; color: var(--wine-dark); font-size: clamp(1.75rem, 3vw, 2.4rem); line-height: 1.2; }
.prayer-card h3 { display: flex; align-items: center; gap: 10px; margin: 2.35rem 0 .75rem; color: var(--wine); font-size: 1.35rem; line-height: 1.25; }
.prayer-card h3::before { content: "✦"; color: var(--gold); font-size: .9em; }
.prayer-card p { margin: 0 0 1.05rem; }
.response { margin: 1.1rem 0; padding: 16px 19px; border-left: 5px solid var(--gold); border-radius: 0 12px 12px 0; background: var(--cream); }
.litany { margin: .8rem 0 1.3rem; padding: 20px 22px; border-radius: 15px; background: #faf5e8; border: 1px solid var(--line); }
.litany p { margin: .34rem 0; }
.rubric { color: var(--muted); font-style: italic; }

.below-content { width: min(1000px, calc(100% - 32px)); margin: 0 auto; }
.related, .share-panel, .subscribe-panel { margin-top: 28px; padding: clamp(23px, 4vw, 36px); }
.related h2, .share-panel h2, .subscribe-panel h2 { margin: 0 0 .55rem; color: var(--wine-dark); font-size: 1.45rem; }
.button-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-top: 18px; }
.nav-button, .channel-button, .share-button { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 14px; border-radius: 11px; text-align: center; text-decoration: none; font: 700 .82rem/1.3 Arial, sans-serif; }
.nav-button { color: var(--wine-dark); background: #f7efdd; border: 1px solid #dfc998; box-shadow: 0 4px 0 #d2bb88; }
.nav-button:hover { color: #fff; background: var(--wine); border-color: var(--wine); }
.channel-button { color: #fff; background: linear-gradient(180deg, #76563f, #503728); box-shadow: 0 4px 0 #302119; }
.share-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.share-button { min-width: 120px; color: #fff; }
.whatsapp { background: #168b54; }.facebook { background: #315fa7; }.telegram { background: #2187b9; }.x-twitter { background: #202124; }

.site-footer { padding: 30px 0 36px; color: #eadfda; background: #302119; text-align: center; font-family: Arial, sans-serif; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 20px; margin-bottom: 10px; }
.footer-links a { color: #fff; }
.site-footer p { margin: 0; font-size: .78rem; }

@media (max-width: 1000px) {
  .prayer-layout { grid-template-columns: 1fr; gap: 20px; }
  .video-column { z-index: 8; top: 0; width: min(760px, 100%); margin-inline: auto; }
  .video-card { border-radius: 0 0 16px 16px; box-shadow: 0 13px 35px rgba(48,21,18,.24); }
  .prayer-card { width: min(800px, 100%); margin-inline: auto; }
}

@media (max-width: 680px) {
  body { font-size: 17px; }
  .shell { width: min(100% - 20px, 1500px); }
  .topbar img { width: 52px; height: 52px; }
  .hero { padding-bottom: 42px; }
  h1 { font-size: 2.18rem; }
  .lead { font-size: 1rem; }
  main { margin-top: -20px; }
  .prayer-layout { gap: 14px; }
  .video-column { width: calc(100% + 20px); margin-left: -10px; }
  .video-caption { display: none; }
  .video-consent { gap: 7px; padding: 11px 14px; }
  .video-consent h2 { font-size: 1.12rem; }
  .video-consent p { font-size: .7rem; line-height: 1.35; }
  .live-label { padding: 4px 8px; font-size: .62rem; }
  .load-video { min-height: 42px; padding: 9px 14px; font-size: .78rem; box-shadow: 0 4px 0 #8f682c, 0 8px 17px rgba(0,0,0,.28); }
  .privacy-links { font-size: .62rem; }
  .prayer-card { padding: 28px 20px; border-radius: 15px; }
  .button-grid { grid-template-columns: 1fr; }
  .share-button { flex: 1 1 44%; }
}

@media (max-height: 620px) and (max-width: 1000px) {
  .video-column { position: static; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .load-video { transition: none; } }

@media print {
  body { background: #fff; color: #000; font-size: 11pt; }
  .site-header { color: #000; background: #fff; border-bottom: 2px solid #555; }
  .topbar img, .breadcrumbs, .video-column, .related, .share-panel, .subscribe-panel, .site-footer { display: none; }
  .topbar a, .topbar small, .lead { color: #000; }
  main { margin-top: 0; }
  .prayer-layout { display: block; }
  .prayer-card { padding: 0; border: 0; box-shadow: none; }
}
