:root {
  --night: #06182d;
  --navy: #0c2541;
  --paper: #f8f3e9;
  --ivory: #fff7e8;
  --gold: #edb05b;
  --ink: #112843;
  --muted: #4c5a6a;
  --rule: #d8cdb9;
  --serif: Georgia, 'Times New Roman', serif;
  font-family: system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
* { box-sizing: border-box; }
body, h1, h2, p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
a:focus-visible { outline: 3px solid #b26818; outline-offset: 5px; }
.wrap { width: min(1180px, calc(100% - 100px)); margin-inline: auto; }
.skip { position: fixed; z-index: 5; inset: 8px auto auto 8px; padding: 10px; background: var(--ivory); transform: translateY(-150%); }
.skip:focus { transform: none; }
.top { background: var(--night); color: var(--ivory); border-bottom: 1px solid #e6ba7035; }
.masthead, .footer-layout { min-height: 83px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 1.18rem/1.15 var(--serif); }
.brand small { display: block; margin-top: 5px; font: .64rem/1.15 system-ui, sans-serif; letter-spacing: .06em; color: #dadde1; }
nav { display: flex; align-items: center; gap: clamp(14px, 3vw, 42px); font-size: .86rem; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.nav-visit { border: 1px solid #b99059; color: #ffd498; padding: 8px 15px; }
.arrow { flex: none; vertical-align: -.15em; }
.nav-visit .arrow { margin-left: 4px; }
.hero {
  color: var(--ivory);
  background: radial-gradient(ellipse at 74% 43%, #193b5f 0%, #0b2541 32%, #06182d 72%);
  overflow: hidden;
}
.hero-layout { display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; min-height: 574px; }
.hero-copy { padding-block: 57px 71px; position: relative; z-index: 1; }
.label { font-size: .72rem; line-height: 1.4; text-transform: uppercase; letter-spacing: .145em; font-weight: 720; }
.gold { color: #f1bd76; }
.label > span:empty { display: inline-block; width: 27px; height: 1px; margin-right: 8px; background: currentColor; vertical-align: .26em; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.055em; line-height: .97; }
h1 { font-size: clamp(5rem, 9.2vw, 8.4rem); margin-block: 17px 24px; }
h1 em { color: #f0be7d; font-weight: 400; }
h2 { font-size: clamp(3rem, 5.7vw, 5rem); }
.lede { color: #e2e6ed; font-size: clamp(1rem, 1.65vw, 1.16rem); max-width: 39ch; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 23px; margin-top: 29px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 49px; padding: 10px 16px; text-decoration: none; font-size: .88rem; font-weight: 750; border: 1px solid transparent; transition: background-color .18s; }
.gold-button { color: #12253a; background: #f0bb72; }
.gold-button:hover { background: #ffd497; }
.text-link { display: inline-flex; gap: 8px; align-items: center; min-height: 40px; font-size: .88rem; font-weight: 700; text-underline-offset: 5px; }
.on-dark { color: var(--ivory); }
.seal { position: relative; display: grid; place-items: center; min-height: 500px; isolation: isolate; }
.arch { position: absolute; inset: 7% 11% 7%; border: 1px solid #e9b46b70; border-radius: 50% 50% 2px 2px / 42% 42% 2px 2px; }
.arch::after { content: ''; position: absolute; inset: 11px; border: 1px solid #e9b46b35; border-radius: inherit; }
.halo { width: 79%; aspect-ratio: 1; position: absolute; border: 1px solid #e9b46b28; border-radius: 50%; background: repeating-conic-gradient(from 0deg,#e9b46b28 0deg .28deg,transparent .28deg 15deg); mask-image: radial-gradient(circle, transparent 0 52%, black 53%); }
.cross { position: absolute; top: 46%; color: #e9b46ba0; font-size: 1.2rem; }
.cross.left { left: 6%; } .cross.right { right: 6%; }
.seal-inner { position: relative; display: grid; justify-items: center; gap: 10px; width: 70%; }
.seal-inner img { width: min(100%, 300px); height: auto; filter: drop-shadow(0 11px 30px #06182dd9); }
.seal-inner span { color: #edbd7f; font: .73rem var(--serif); letter-spacing: .29em; text-transform: uppercase; text-align: center; }
.meetings { background: #ede4d3; border-bottom: 1px solid var(--rule); }
.meeting-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; border-inline: 1px solid var(--rule); }
.meeting { padding: 20px 24px 19px; border-inline-end: 1px solid var(--rule); }
.meeting:last-child { border-inline-end: 0; }
.meeting.sunday { background: #e9d8bc; box-shadow: inset 0 3px 0 #b78037; }
.meeting .label { color: #5e492c; }
.meeting strong { display: block; margin-top: 4px; font: 1.42rem/1.2 var(--serif); }
.welcome, .visit { padding-block: clamp(58px, 9vw, 118px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(25px, 6vw, 95px); align-items: center; }
.section-label { color: #775322; margin-bottom: 15px; }
.body-copy { max-width: 47ch; font-size: 1.06rem; color: var(--muted); }
.body-copy p + p { margin-top: 13px; }
.body-copy a { color: var(--ink); margin-top: 9px; }
.resources { background: var(--navy); color: var(--ivory); }
.resources-layout { display: grid; grid-template-columns: .85fr 1.15fr; min-height: 335px; align-items: stretch; }
.play-art { position: relative; display: grid; place-items: center; overflow: hidden; min-height: 235px; border-inline: 1px solid #d7ad702a; background: radial-gradient(ellipse, #214463, #0a1f37 77%); }
.play-ring { position: absolute; width: 207px; aspect-ratio: 1; border-radius: 50%; border: 1px solid #c59a604f; box-shadow: 0 0 0 22px #cb9d5e12, 0 0 0 47px #cb9d5e0d, 0 0 0 75px #cb9d5e0a; }
.play-core { display: grid; place-items: center; width: 91px; height: 91px; border-radius: 50%; border: 1px solid #edb66e; color: #edb66e; z-index: 1; background: #112b47; }
.play-core svg { width: 40px; }
.play-line { position: absolute; inset: 50% 0 auto; height: 1px; background: #c59a604f; }
.resources-copy { padding: 50px 0 54px clamp(25px, 6vw, 85px); }
.resources-copy h2 { margin: 13px 0 16px; font-size: clamp(2.7rem, 4.7vw, 4.2rem); }
.resources-copy > p:not(.label) { color: #e0e6ee; max-width: 41ch; margin-bottom: 23px; }
.visit { grid-template-columns: .8fr 1.2fr; }
.visit h2 { margin-bottom: 20px; }
address { font-style: normal; color: var(--muted); }
address strong { color: var(--ink); font-weight: 700; }
.phone { text-underline-offset: 4px; }
.visit .actions { gap: 9px; margin-top: 18px; }
.navy-button { background: var(--navy); color: var(--ivory); }
.navy-button:hover { background: #254b6a; }
.outline-button { border-color: #a49276; }
.outline-button:hover { background: #eee2ce; }
.visit-times { margin: 21px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .86rem; }
.visit-times strong { display: inline-block; min-width: 124px; color: var(--ink); }
.map { border: 1px solid var(--rule); background: #ebe4d7; }
.map iframe { display: block; border: 0; width: 100%; height: 308px; background: #e3e6e2; }
.map-footer { display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: space-between; padding: 12px 15px; text-decoration: none; font-size: .8rem; font-weight: 700; }
.map-footer:hover { text-decoration: underline; }
.footer { background: var(--night); color: var(--ivory); }
.footer-layout { min-height: 104px; }
section { scroll-margin-top: 20px; }
@media (max-width: 900px) {
  .wrap { width: calc(100% - 52px); }
  .hero-layout { min-height: 510px; }
  .seal { min-height: 405px; }
}
@media (max-width: 660px) {
  .wrap { width: calc(100% - 36px); }
  .masthead { flex-wrap: wrap; padding-block: 11px; gap: 10px; }
  nav { gap: 16px; }
  .brand { font-size: 1.08rem; }
  .brand small { font-size: .62rem; }
  .hero-layout { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 40px 0 8px; }
  h1 { font-size: clamp(4.3rem, 15vw, 6rem); margin-block: 13px 17px; }
  .hero .actions { margin-top: 19px; }
  .seal { width: min(100%, 390px); justify-self: center; min-height: 232px; margin: 9px 0 16px; }
  .seal-inner { width: 47%; gap: 0; }
  .arch { inset: 6% 17%; }
  .halo { width: 54%; }
  .seal-inner span { font-size: .58rem; }
  .meeting-grid { width: 100%; }
  .meeting { padding: 12px 9px 15px; }
  .meeting .label { font-size: .62rem; letter-spacing: .025em; }
  .meeting strong { font-size: 1rem; }
  .welcome, .visit { grid-template-columns: 1fr; gap: 24px; }
  .resources-layout { grid-template-columns: 1fr; }
  .resources-copy { grid-row: 1; padding: 37px 0 30px; }
  .play-art { min-height: 165px; }
  .play-ring { width: 142px; }
  .play-core { width: 64px; height: 64px; }
  .map iframe { height: 260px; }
  .footer-layout { flex-wrap: wrap; padding-block: 18px; gap: 14px; }
}

.masthead [aria-current="page"] {
  color: #ffd498;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.about-hero-layout {
  display: grid;
  grid-template-columns: 1.45fr .55fr;
  align-items: center;
  gap: 24px;
  min-height: 380px;
}
.about-intro { padding-block: 52px 58px; }
.about-intro h1 {
  font-size: clamp(3.75rem, 8.3vw, 7.4rem);
  margin-block: 16px 20px;
}
.about-intro .lede { max-width: 54ch; }
.about-seal { min-height: 298px; }
.about-seal .arch { inset: 6% 8%; }
.about-seal .seal-inner { width: 67%; }
.about-seal img { width: min(100%, 214px); }
.about-beliefs, .about-visit-layout {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  align-items: start;
  gap: clamp(25px, 7vw, 105px);
  padding-block: clamp(53px, 8vw, 104px);
}
.about-articles { border-top: 1px solid var(--rule); }
.about-articles article {
  padding-block: 18px 20px;
  border-bottom: 1px solid var(--rule);
}
.about-articles h3 {
  margin: 0 0 5px;
  font: 1.6rem/1.15 var(--serif);
}
.about-articles p { max-width: 59ch; color: var(--muted); }
.about-visit {
  background: #ede4d3;
  border-top: 1px solid var(--rule);
}
.about-visit-layout { align-items: center; }
.about-visit .button { margin-top: 18px; color: var(--ivory); }
@media (max-width: 660px) {
  .masthead nav { flex-wrap: wrap; gap: 8px 14px; }
  .masthead nav a { min-height: 36px; display: inline-flex; align-items: center; }
  .about-hero-layout, .about-beliefs, .about-visit-layout { grid-template-columns: 1fr; }
  .about-hero-layout { gap: 0; min-height: 0; }
  .about-intro { padding-block: 42px 6px; }
  .about-intro h1 { font-size: clamp(3.35rem, 13vw, 5.5rem); }
  .about-seal { width: min(75%, 290px); min-height: 200px; }
  .about-seal .seal-inner { width: 52%; }
}

/* ===== Boletín semanal (páginas públicas) ===== */
.page-hero { color: var(--ivory); background: radial-gradient(ellipse at 74% 43%, #193b5f 0%, #0b2541 32%, #06182d 72%); }
.page-hero-inner { padding-block: 52px 58px; }
.page-hero h1 { font-size: clamp(3.4rem, 8vw, 6.4rem); margin-block: 16px 20px; }
.page-hero h1.h1-article { font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1.05; max-width: 22ch; }
.page-hero .lede { max-width: 54ch; }
.bulletin-list { padding-block: clamp(40px, 7vw, 84px); }
.bulletin-list .empty { color: var(--muted); font-size: 1.06rem; margin-bottom: 22px; }
.h1-light { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 14px; }
.bulletin-item { display: grid; grid-template-columns: 210px 1fr; gap: clamp(14px, 4vw, 60px); padding-block: 28px; border-top: 1px solid var(--rule); }
.bulletin-item:last-child { border-bottom: 1px solid var(--rule); }
.bulletin-item .section-label { margin: 6px 0 0; }
.bulletin-item h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -.03em; line-height: 1.1; margin-bottom: 10px; }
.bulletin-item h2 a { text-decoration: none; }
.bulletin-item h2 a:hover { text-decoration: underline; text-underline-offset: 6px; }
.bulletin-item p:not(.label) { color: var(--muted); max-width: 62ch; margin-bottom: 8px; }
.bulletin-item.latest h2 { font-size: clamp(2rem, 3.8vw, 2.9rem); }
.bulletin-article { padding-block: clamp(40px, 7vw, 84px); max-width: 780px; }
.bulletin-body { font-size: 1.12rem; line-height: 1.75; }
.bulletin-body > * + * { margin-top: 1em; }
.bulletin-body h2 { font-size: 2rem; letter-spacing: -.03em; line-height: 1.15; margin-top: 1.6em; }
.bulletin-body h3 { font: 1.45rem/1.25 var(--serif); margin-top: 1.4em; }
.bulletin-body ul, .bulletin-body ol { padding-left: 1.4em; }
.bulletin-body li + li { margin-top: .3em; }
.bulletin-body blockquote { margin-inline: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--gold); color: var(--muted); font-family: var(--serif); font-style: italic; }
.bulletin-body a { color: #8a5a1a; text-underline-offset: 4px; }
.ql-align-center { text-align: center; } .ql-align-right { text-align: right; } .ql-align-justify { text-align: justify; }
.ql-indent-1 { padding-left: 3em; } .ql-indent-2 { padding-left: 6em; }
.bulletin-article .actions { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--rule); }
.bulletin-article button.button { cursor: pointer; font-family: inherit; background: transparent; color: var(--ink); }
.bulletin-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 30px; font-size: .92rem; font-weight: 700; }
.bulletin-nav a { text-underline-offset: 5px; max-width: 45%; }
@media (max-width: 660px) {
  .bulletin-item { grid-template-columns: 1fr; gap: 6px; }
  .bulletin-nav { flex-direction: column; }
  .bulletin-nav a { max-width: none; }
}
@media print {
  .top, .footer, .page-hero .label, .no-print { display: none !important; }
  .page-hero { background: none; color: #000; }
  .page-hero-inner { padding-block: 0 10px; }
  body { background: #fff; }
}

/* ===== Panel privado ===== */
.panel { background: var(--paper); min-height: 100vh; }
.panel-main { padding-block: 40px 80px; }
.panel-main.narrow { max-width: 520px; }
.panel-main h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 18px; letter-spacing: -.04em; }
.panel-title { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; }
.panel-title h1 { margin: 0; }
.panel-help { color: var(--muted); margin-bottom: 20px; max-width: 62ch; }
.panel-help.small { font-size: .86rem; margin: 14px 0 0; }
.notice { padding: 12px 16px; margin: 0 0 20px; border-left: 4px solid; font-size: .95rem; }
.notice.ok { background: #e6f0e1; border-color: #4a7c3a; color: #24421a; }
.notice.error { background: #f7e1dd; border-color: #b23a2a; color: #6b1d12; }
.panel-form { display: grid; gap: 18px; }
.panel-form label, .panel-form .field { display: grid; gap: 6px; font-weight: 700; font-size: .9rem; }
.panel-form .field-label { font-weight: 700; font-size: .9rem; }
.panel-form small { font-weight: 400; color: var(--muted); font-size: .82rem; }
.panel-form input[type=text], .panel-form input[type=password], .panel-form input[type=date], .panel-form textarea {
  font: 1rem/1.4 system-ui, sans-serif; padding: 11px 12px; border: 1px solid #a49276; background: #fffdf8; color: var(--ink); width: 100%; border-radius: 0;
}
.panel-form input:focus-visible, .panel-form textarea:focus-visible { outline: 3px solid #b26818; outline-offset: 1px; }
.panel-form input[type=date] { max-width: 220px; }
.panel-form button.button { cursor: pointer; font-family: inherit; justify-content: center; }
.editor-form { max-width: 860px; }
.editor-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.editor-actions .outline-button { background: transparent; color: var(--ink); }
.editor-form .ql-toolbar.ql-snow { border-color: #a49276; background: #f1e9d8; position: sticky; top: 0; z-index: 3; }
.editor-form .ql-container.ql-snow { border-color: #a49276; background: #fffdf8; font-family: inherit; }
.editor-form .ql-editor { min-height: 380px; font-size: 1.08rem; line-height: 1.7; color: var(--ink); }
.editor-form .ql-editor h2 { font: 400 1.9rem/1.2 var(--serif); }
.editor-form .ql-editor h3 { font: 400 1.4rem/1.25 var(--serif); }
.ql-snow .ql-picker.ql-header .ql-picker-label::before, .ql-snow .ql-picker.ql-header .ql-picker-item::before { content: 'Texto normal'; }
.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]::before, .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before { content: 'Título'; }
.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]::before, .ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before { content: 'Subtítulo'; }
.ql-snow .ql-tooltip::before { content: 'Enlace:'; }
.ql-snow .ql-tooltip a.ql-action::after { content: 'Editar'; }
.ql-snow .ql-tooltip.ql-editing a.ql-action::after { content: 'Guardar'; }
.ql-snow .ql-tooltip a.ql-remove::before { content: 'Quitar'; }
.ql-snow .ql-tooltip[data-mode=link]::before { content: 'Dirección del enlace:'; }
.panel-list { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--rule); }
.panel-list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 20px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.panel-item-main { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.panel-item-main strong { font: 1.25rem/1.2 var(--serif); }
.panel-date { color: var(--muted); font-size: .88rem; }
.panel-item-actions { display: flex; align-items: center; gap: 18px; font-size: .9rem; font-weight: 700; }
.panel-item-actions form { margin: 0; }
.link-danger { background: none; border: 0; padding: 0; font: inherit; color: #9a2f20; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.chip { display: inline-block; padding: 2px 10px; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; border-radius: 99px; }
.chip-borrador { background: #e7e1d3; color: #5a4e38; }
.chip-programado { background: #f6e1b8; color: #7a4d0c; }
.chip-publicado { background: #d9e9d2; color: #2c5a1e; }

/* ---------- Boletín semanal ---------- */
.bulletin-list { padding-block: clamp(40px, 7vw, 88px); }
.bulletin-empty { color: var(--muted); font-size: 1.06rem; max-width: 52ch; }
.bulletin-featured { display: grid; gap: 8px; padding: clamp(24px, 4vw, 44px); background: var(--navy); color: var(--ivory); text-decoration: none; border-top: 3px solid #b78037; }
.bulletin-featured .section-label { color: #f1bd76; margin: 0; }
.bulletin-featured time { color: #dadde1; font-size: .9rem; }
.bulletin-featured h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin: 4px 0 6px; }
.bulletin-featured p { color: #e0e6ee; max-width: 62ch; }
.bulletin-featured .text-link { color: #f1bd76; margin-top: 8px; }
.bulletin-featured:hover h2 { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.bulletin-older-title { font-size: 1.7rem; margin: clamp(38px, 6vw, 68px) 0 14px; letter-spacing: -.03em; }
.bulletin-older { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.bulletin-older a { display: grid; grid-template-columns: 260px 1fr auto; gap: 20px; align-items: baseline; padding: 18px 4px; border-bottom: 1px solid var(--rule); text-decoration: none; }
.bulletin-older time { color: var(--muted); font-size: .9rem; }
.bulletin-older strong { font: 1.3rem/1.25 var(--serif); font-weight: 400; }
.bulletin-older a:hover { background: #efe6d4; }
.bulletin-notfound { font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: 14px; }

.bulletin-article { max-width: 760px; padding-block: clamp(34px, 6vw, 72px) clamp(50px, 8vw, 96px); }
.back-link { margin-bottom: 18px; color: var(--muted); }
.bulletin-article h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin: 8px 0 12px; }
.bulletin-date { color: var(--muted); padding-bottom: 22px; border-bottom: 1px solid var(--rule); margin-bottom: 26px !important; }
.bulletin-body { font-size: 1.12rem; line-height: 1.75; }
.bulletin-body p { margin: 0 0 1em; }
.bulletin-body h2 { font-size: clamp(1.8rem, 3.4vw, 2.3rem); margin: 1.6em 0 .5em; letter-spacing: -.03em; }
.bulletin-body h3 { font: 400 1.4rem/1.25 var(--serif); margin: 1.4em 0 .4em; }
.bulletin-body ul, .bulletin-body ol { margin: 0 0 1.1em; padding-left: 1.4em; }
.bulletin-body li + li { margin-top: .3em; }
.bulletin-body blockquote { margin: 1.3em 0; padding: 4px 0 4px 20px; border-left: 3px solid #b78037; color: var(--muted); font-family: var(--serif); font-size: 1.18rem; }
.bulletin-body a { color: #7a4d10; text-underline-offset: 3px; }
.bulletin-body img { height: auto; margin: 1.2em auto; border: 1px solid var(--rule); }
.bulletin-body .ql-align-center { text-align: center; }
.bulletin-body .ql-align-right { text-align: right; }
.bulletin-body .ql-align-justify { text-align: justify; }
.bulletin-body .ql-indent-1 { padding-left: 3em; }
.bulletin-body .ql-indent-2 { padding-left: 6em; }
.bulletin-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--rule); }
.bulletin-actions button { font-family: inherit; background: transparent; color: var(--ink); cursor: pointer; }
.bulletin-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 34px; }
.bulletin-pager a { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--rule); text-decoration: none; font: 1.1rem/1.25 var(--serif); }
.bulletin-pager a:hover { background: #efe6d4; }
.bulletin-pager small { font: 700 .72rem system-ui, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bulletin-pager .next { text-align: right; grid-column: 2; }
.preview-bar { background: #fbe7bf; border-bottom: 1px solid #d9b469; padding: 10px 0; font-size: .9rem; }
@media (max-width: 760px) {
  .bulletin-older a { grid-template-columns: 1fr auto; gap: 2px 12px; }
  .bulletin-older time { grid-column: 1 / -1; }
  .bulletin-pager { grid-template-columns: 1fr; }
  .bulletin-pager .next { grid-column: 1; text-align: left; }
}


/* ---------- Boletín: datos clave y filtros ---------- */
.bulletin-filters { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr) auto; gap: 14px; align-items: end; padding: 20px; margin-bottom: clamp(26px, 4vw, 44px); background: #ede4d3; border: 1px solid var(--rule); }
.bulletin-filters:not(:has(.f-campo:nth-child(4))) { grid-template-columns: 1.5fr repeat(2, 1fr) auto; }
.f-campo label { display: block; margin-bottom: 5px; font: 720 .72rem/1.3 system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #5e492c; }
.bulletin-filters input, .bulletin-filters select { width: 100%; min-height: 46px; padding: 8px 12px; border: 1px solid #a49276; background: #fff; color: var(--ink); font: 1rem system-ui, sans-serif; border-radius: 0; }
.bulletin-filters input:focus-visible, .bulletin-filters select:focus-visible { outline: 3px solid #b26818; outline-offset: 2px; }
.f-acciones { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.f-acciones .button { cursor: pointer; font-family: inherit; }
.bulletin-count { margin-bottom: 14px; color: var(--muted); font-weight: 700; }
.bulletin-keys { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 4px 0 6px; padding: 0; color: #e0e6ee; font-size: .94rem; }
.bulletin-keys span { display: block; font: 720 .66rem/1.4 system-ui, sans-serif; letter-spacing: .13em; text-transform: uppercase; color: #f1bd76; }
.bulletin-older .bt { display: grid; gap: 2px; }
.bulletin-older .bt small { color: var(--muted); font-size: .9rem; }
.bulletin-meta { display: flex; flex-wrap: wrap; gap: 12px 34px; margin: 0 0 28px; padding: 16px 18px; background: #ede4d3; border-left: 3px solid #b78037; }
.bulletin-meta div { min-width: 0; }
.bulletin-meta dt { font: 720 .68rem/1.4 system-ui, sans-serif; letter-spacing: .13em; text-transform: uppercase; color: #5e492c; }
.bulletin-meta dd { margin: 2px 0 0; font: 1.2rem/1.3 var(--serif); }
.bulletin-meta a { text-underline-offset: 4px; }
@media (max-width: 900px) {
  .bulletin-filters, .bulletin-filters:not(:has(.f-campo:nth-child(4))) { grid-template-columns: 1fr 1fr; }
  .f-buscar, .f-acciones { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .bulletin-filters, .bulletin-filters:not(:has(.f-campo:nth-child(4))) { grid-template-columns: 1fr; padding: 16px; }
}

/* ---------- Confesión de fe ---------- */
.about-more { margin-top: 18px; }
.creed { display: grid; grid-template-columns: 310px 1fr; gap: clamp(30px, 5vw, 72px); align-items: start; padding-block: clamp(36px, 6vw, 80px); }
.creed-index { position: sticky; top: 18px; max-height: calc(100vh - 36px); overflow: auto; background: #ede4d3; border: 1px solid var(--rule); border-top: 3px solid #b78037; }
.creed-index summary { cursor: pointer; list-style: none; padding: 16px 20px; font: 720 .78rem/1.4 system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #5e492c; }
.creed-index summary::-webkit-details-marker { display: none; }
.creed-index summary::after { content: '▾'; float: right; transition: transform .15s; }
.creed-index details:not([open]) summary::after { transform: rotate(-90deg); }
.creed-index ol { list-style: none; margin: 0; padding: 0 0 8px; border-top: 1px solid var(--rule); }
.creed-index li a { display: block; padding: 9px 20px 9px 17px; border-left: 3px solid transparent; text-decoration: none; font-size: .92rem; line-height: 1.4; color: var(--ink); }
.creed-index li a:hover { background: #e3d7bf; }
.creed-index li a[aria-current="page"] { border-left-color: #b78037; background: #e9d8bc; font-weight: 700; }
.creed-main { min-width: 0; max-width: 780px; }
.creed-label { font: 720 .76rem/1.4 system-ui, sans-serif; letter-spacing: .15em; text-transform: uppercase; color: #8a5a1a; margin: 0 0 6px; }
.creed-title { font-size: clamp(2.1rem, 4.4vw, 3.3rem); padding-bottom: 18px; margin-bottom: 26px; border-bottom: 2px solid #b78037; }
.creed-body { font-size: 1.1rem; line-height: 1.85; hyphens: auto; }
.creed-body p { margin: 0 0 1em; }
.creed-body h2 { font-size: 1.8rem; margin: 1.5em 0 .5em; letter-spacing: -.03em; }
.creed-body h3 { font: 400 1.35rem/1.3 var(--serif); margin: 1.3em 0 .4em; }
.creed-body ul, .creed-body ol { margin: 0 0 1.1em; padding-left: 1.4em; }
.creed-body blockquote { margin: 1.2em 0; padding: 2px 0 2px 18px; border-left: 3px solid #b78037; color: var(--muted); font-family: var(--serif); }
.creed-body sup { font-size: .68em; line-height: 0; color: #8a5a1a; font-weight: 700; margin-left: 1px; }
.creed-body a { color: #7a4d10; text-underline-offset: 3px; }
.creed-notes { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--rule); }
.creed-notes p { margin: 0 0 6px; color: #6b7480; font-size: .88rem; font-style: italic; line-height: 1.5; }
@media (max-width: 860px) {
  .creed { grid-template-columns: 1fr; gap: 24px; }
  .creed-index { position: static; max-height: none; }
}

/* Confesión: subcapítulos con versículos */
.creed-subs { display: grid; gap: 6px; }
.creed-sub { display: grid; grid-template-columns: 2.6rem 1fr; gap: 0 6px; padding: 18px 0 22px; border-bottom: 1px solid var(--rule); scroll-margin-top: 18px; }
.creed-sub:last-child { border-bottom: 0; }
.creed-sub.sin-numero { grid-template-columns: 1fr; }
.creed-num { font: 700 1.3rem/1.7 var(--serif); color: #8a5a1a; text-decoration: none; }
.creed-num:hover { text-decoration: underline; text-underline-offset: 4px; }
.creed-sub:target { background: #f3e9d2; box-shadow: -14px 0 0 #f3e9d2, 14px 0 0 #f3e9d2; }
.creed-sub .creed-body p { margin: 0 0 .6em; }
.creed-sub .creed-notes { margin-top: 10px; padding-top: 0; border-top: 0; }
.creed-notes-label { display: block; margin-bottom: 4px; font: 720 .64rem/1.4 system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #8a5a1a; font-style: normal; }
@media (max-width: 560px) { .creed-sub { grid-template-columns: 2.1rem 1fr; } }

/* Solo se muestran al imprimir el boletín (ver imprimir.css) */
.print-head, .print-notes { display: none; }

/* Últimos sermones (YouTube) */
.latest{background:var(--navy);color:#fff;padding:72px 0}
.latest-head{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:28px}
.latest-head h2{margin:0;color:#fff}
.video-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:22px}
.home-videos{grid-template-columns:repeat(4,1fr)}
.home-videos .video-card.grande{grid-column:span 2;grid-row:span 2}
.video-card{display:flex;flex-direction:column;text-decoration:none;color:inherit;background:rgba(255,255,255,.06);border-radius:10px;overflow:hidden;transition:transform .2s,box-shadow .2s}
.video-card:hover,.video-card:focus-visible{transform:translateY(-3px);box-shadow:0 10px 28px rgba(0,0,0,.25)}
.video-thumb{position:relative;display:block;aspect-ratio:16/9;background:#0b1424;overflow:hidden}
.video-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.video-play{position:absolute;left:12px;bottom:12px;width:38px;height:38px;border-radius:50%;background:rgba(20,35,63,.85);color:#fff;display:grid;place-items:center}
.video-meta{display:flex;flex-direction:column;gap:6px;padding:14px 16px 18px}
.video-meta time{font-size:.8rem;letter-spacing:.04em;opacity:.7}
.video-meta strong{font-weight:600;line-height:1.35}
.home-videos .grande .video-meta strong{font-size:1.25rem}
.video-aviso{grid-column:1/-1;opacity:.85}
.video-todos{margin-top:30px;display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.video-todos p{margin:0;opacity:.75}
.bulletin-list .video-card{background:#fff;box-shadow:0 1px 4px rgba(20,35,63,.12);color:var(--navy)}
.bulletin-list .video-meta time{opacity:.6}
@media(max-width:900px){.home-videos{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.home-videos{grid-template-columns:1fr}.home-videos .video-card.grande{grid-column:auto;grid-row:auto}.latest{padding:52px 0}}

/* Miniaturas dentro de la banda azul de la portada */
.resources-videos{margin-top:28px;display:grid;grid-template-columns:repeat(5,1fr);gap:14px;padding-bottom:40px}
.resources-videos[hidden]{display:none}
.resources-videos .video-meta{padding:10px 4px 0}
.resources-videos .video-card{background:none;box-shadow:none}
.resources-videos .video-thumb{border-radius:8px}
.resources-videos .video-meta strong{font-size:.9rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.resources-videos .video-play{width:30px;height:30px;left:8px;bottom:8px}
@media(max-width:900px){.resources-videos{grid-template-columns:repeat(2,1fr)}.resources-videos .video-card:nth-child(5){display:none}}

/* Enlace a la predicación en el boletín */
.bulletin-video{margin:18px 0 6px;display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.bulletin-video .button{display:inline-flex;align-items:center;gap:8px}
.bulletin-video .video-url{display:none}

/* Miniatura de la predicación en el último boletín */
.bulletin-featured .bf-texto{display:grid;gap:8px;align-content:start;min-width:0}
.bulletin-featured.con-miniatura{grid-template-columns:1.4fr 1fr;gap:clamp(20px,4vw,48px);align-items:center}
.bulletin-featured .bf-foto{display:block;aspect-ratio:16/9;overflow:hidden;border-radius:8px;background:#0b1424;box-shadow:0 8px 24px rgba(0,0,0,.3)}
.bulletin-featured .bf-foto img{width:100%;height:100%;object-fit:cover;display:block}
@media(max-width:760px){.bulletin-featured.con-miniatura{grid-template-columns:1fr}.bulletin-featured .bf-foto{order:-1}}

/* Páginas legales, pie legal y mapa bajo petición */
.footer-legal{display:flex;gap:18px;flex-wrap:wrap;font-size:.78rem;opacity:.8}
.footer-legal a{color:inherit}
.footer-layout{flex-wrap:wrap;row-gap:14px}
.legal .bulletin-body h2{font-size:1.35rem;margin:1.8em 0 .5em}
.legal-tabla{width:100%;border-collapse:collapse;font-size:.9rem;margin:1em 0}
.legal-tabla th,.legal-tabla td{border:1px solid var(--rule);padding:9px 11px;text-align:left;vertical-align:top}
.legal-tabla th{background:#ebe4d7}
.legal-nav{margin-top:40px;font-size:.9rem}
mark.falta{background:#ffe08a;padding:0 4px;border-radius:3px}
.map-carga{display:grid;place-content:center;justify-items:center;gap:14px;text-align:center;height:308px;padding:20px;background:repeating-linear-gradient(135deg,#ebe4d7 0 14px,#efe9dc 14px 28px)}
.map-carga p{margin:0}
.map-carga small{max-width:34ch;opacity:.75}
@media(max-width:600px){.legal-tabla{display:block;overflow-x:auto}}

/* Aviso de cookies */
#aviso-cookies{position:fixed;left:16px;right:16px;bottom:16px;z-index:50;max-width:820px;margin:0 auto;background:#06182d;color:#f6f0e2;border:1px solid #b78037;border-radius:10px;padding:16px 18px;display:flex;gap:16px;align-items:center;flex-wrap:wrap;box-shadow:0 12px 36px #0007;font-size:.9rem;line-height:1.5}
#aviso-cookies p{margin:0;flex:1 1 360px}
#aviso-cookies a{color:#edbd7f}
.ac-botones{display:flex;gap:10px}
.ac-botones button{font:inherit;font-weight:700;padding:10px 20px;border-radius:4px;border:1px solid #edb05b;background:#edb05b;color:#06182d;cursor:pointer}
.ac-botones button[data-v="no"]{background:transparent;color:#f6f0e2}
.ac-botones button:hover{filter:brightness(1.1)}

/* Boletín: los párrafos vacíos (Enter extra en el editor) no generan espacio */
.bulletin-body p:empty,
.bulletin-body p:has(> br:only-child) { display: none; }
.bulletin-body h2 { margin-top: 1.2em; }

/* Cita de Spurgeon en la cabecera de «En qué creemos» */
.hero-cita { margin: 0; padding: 4px 0 52px; max-width: 880px; }
.hero-cita blockquote { margin: 0; padding: 2px 0 2px 24px; border-left: 3px solid #e6b062; }
.hero-cita blockquote p { margin: 0; font: italic 400 clamp(1.02rem, 1.5vw, 1.18rem)/1.7 Georgia, "Times New Roman", serif; color: #e8ecf2; }
.hero-cita figcaption { margin: 16px 0 0 27px; font: 700 .82rem/1.3 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #e6b062; }
.hero-cita figcaption span { font-weight: 400; letter-spacing: .04em; opacity: .85; }
@media (max-width: 860px) { .hero-cita { padding-bottom: 38px; } .hero-cita blockquote { padding-left: 16px; } .hero-cita figcaption { margin-left: 19px; } }

/* Pestañas entre la Confesión de 1689 y la Declaración de Chicago */
.tabs-wrap { padding-top: 34px; }
.doc-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.doc-tabs a { display: inline-block; padding: 12px 20px; border: 1px solid #a49276; text-decoration: none; color: #112843; font: 700 .9rem/1.2 system-ui, -apple-system, "Segoe UI", sans-serif; background: transparent; }
.doc-tabs a:hover { background: #ede4d3; }
.doc-tabs a[aria-current="page"] { background: #112843; border-color: #112843; color: #fff; }

/* Declaración de Chicago */
.chicago .chi-vista { margin-bottom: clamp(40px, 6vw, 70px); scroll-margin-top: 18px; }
.chicago .chi-vista[hidden] { display: none; }
.chi-pager { margin-top: 10px; margin-bottom: 34px; }
.chi-pager[hidden] { display: none; }
.creed-index .grupo { padding: 0; }
.creed-index .grupo details > summary { padding: 10px 20px 10px 20px; font: 700 .86rem/1.4 system-ui, sans-serif; letter-spacing: 0; text-transform: none; color: #112843; border-top: 1px solid var(--rule); }
.creed-index .grupo ol { border-top: 0; padding-bottom: 4px; }
.creed-index .grupo li a { padding-left: 30px; }
.creed-index .todo a { border-top: 1px solid var(--rule); font-weight: 700; color: #7a4d10; padding-left: 20px; }
.af-neg { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.af, .ne { padding: 18px 20px; background: #fff; border: 1px solid #d8cdb9; }
.af { border-top: 4px solid #b78037; }
.ne { border-top: 4px solid #112843; }
.af p, .ne p { margin: 0 0 .8em; font-size: 1.04rem; line-height: 1.75; color: #112843; }
.af p:last-child, .ne p:last-child { margin-bottom: 0; }
.af b, .ne b { font: 800 .8rem/1 system-ui, -apple-system, "Segoe UI", sans-serif; letter-spacing: .12em; text-transform: uppercase; margin-right: 2px; }
.af b { color: #8a5a14; }
.ne b { color: #112843; }
.chi-fuente { margin: 10px 0 0; padding-top: 18px; border-top: 1px solid var(--rule); font-size: .88rem; line-height: 1.6; color: #6b7480; }
@media (max-width: 760px) { .af-neg { grid-template-columns: 1fr; } .chi-art h3 { font-size: 1.4rem; } }

/* Páginas interiores: cabecera sin escudo */
.about-hero-layout { grid-template-columns: 1fr; min-height: 0; }
.about-intro .lede { max-width: 62ch; }
