/* Somente o conteúdo dos três accordions de Programação. */
.program-sections {
  --program-line: #c5a15c;
  --program-ink: #79000d;
  --program-paper: #fff3dc;
  display: grid;
  gap: clamp(14px, 2.5vw, 27px);
  color: #241c14;
  font-family: "Popping", Georgia, serif;
}
.program-sections .program-accordion {
  min-width: 0;
  border: 1px solid var(--program-line);
  border-radius: clamp(19px, 3vw, 28px);
  background: linear-gradient(105deg, #fff7e6e8, #fbedcfe8);
  box-shadow: 0 5px 8px #95652121, inset 0 1px 0 #fffdf4;
  overflow: hidden;
}
.program-sections .program-accordion > summary {
  display: grid;
  grid-template-columns: clamp(66px, 16vw, 170px) minmax(0, 1fr) clamp(19px, 3vw, 32px);
  justify-content: normal;
  gap: clamp(15px, 3.5vw, 38px);
  min-height: clamp(98px, 17vw, 165px);
  padding: 15px clamp(17px, 3.5vw, 40px) 15px 0;
  color: var(--program-ink);
  font-family: var(--title-font);
  list-style: none;
  -webkit-tap-highlight-color: transparent;
}
.program-sections .program-accordion > summary::marker { content: ""; }
.program-sections .program-accordion > summary::-webkit-details-marker { display: none; }
.program-sections .program-accordion > summary:focus-visible { outline: 3px solid #a16e15; outline-offset: -5px; border-radius: inherit; }
.program-sections .program-summary-label { font: bold clamp(1.55rem, 5vw, 3.4rem)/1.08 var(--title-font); overflow-wrap: break-word; }
.program-sections .program-icon { display: block; width: 48px; height: 48px; object-fit: contain; }
.program-sections .program-summary-icon {
  width: 100%;
  height: clamp(60px, 11vw, 108px);
  padding: 0 clamp(12px, 3vw, 35px);
  border-right: 1px solid #b88b36;
}
.program-sections .program-chevron { display: block; width: 100%; height: auto; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: square; }
.program-sections .program-accordion[open] > summary .program-chevron { transform: rotate(180deg); }
.program-sections:has(.program-accordion[open]) { gap: 13px; }
.program-sections:has(.program-accordion[open]) .program-accordion > summary { min-height: clamp(82px, 11vw, 110px); padding-block: 10px; }
.program-sections:has(.program-accordion[open]) .program-summary-icon { height: clamp(55px, 8vw, 80px); }
.program-sections:has(.program-accordion[open]) .program-summary-label { font-size: clamp(1.5rem, 4.5vw, 3rem); }
.program-sections .program-accordion-content { padding: 0 clamp(12px, 2.2vw, 23px) clamp(15px, 2.3vw, 24px); }
.program-sections .program-churches { display: grid; gap: 12px; }
.program-sections .program-church {
  min-width: 0;
  display: grid;
  gap: 13px;
  padding: 12px;
  border: 1px solid #d2b477;
  border-radius: 21px;
  background: linear-gradient(110deg, #fff7e5bd, #fff4de52);
  box-shadow: 0 3px 5px #9466221c;
}
.program-sections .program-church-photo { margin: 0; overflow: hidden; border-radius: 15px; aspect-ratio: 4 / 3; background: #f1dfb9; }
.program-sections .program-church-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.program-sections .program-church-photo .program-photo--matriz { object-position: center 58%; }
.program-sections .program-church-photo .program-photo--sagrado { object-position: center top; }
.program-sections .program-church-copy { min-width: 0; padding-top: 11px; border-top: 1px solid #bd913c; }
.program-sections .program-church h2 { margin: 0 0 9px; color: var(--program-ink); font: bold clamp(1.3rem, 3vw, 2rem)/1.1 var(--title-font); overflow-wrap: break-word; }
.program-sections .program-info-row { display: grid; grid-template-columns: 25px minmax(0, 1fr); align-items: start; column-gap: 10px; margin: 0; font-size: clamp(1rem, 2.45vw, 1.5rem); line-height: 1.2; }
.program-sections .program-small-icon { width: 25px; height: 29px; fill: none; stroke: var(--program-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.program-sections .program-pin { fill: var(--program-ink); stroke: none; }
.program-sections .program-mass-times { list-style: none; padding: 0; margin: 0; }
.program-sections .program-mass-times li { display: inline; }
.program-sections .program-mass-times li + li::before { content: " • "; font-weight: bold; }
.program-sections .program-address { margin-top: 12px; text-decoration: none; color: #241c14; font-style: italic; overflow-wrap: anywhere; }
.program-sections .program-address:hover span { text-decoration: underline; text-underline-offset: 3px; }
.program-sections .program-address:focus-visible,
.program-sections .program-contact:focus-visible { outline: 2px solid #9e6e19; outline-offset: 3px; }
.program-sections .program-confessions { text-align: center; }
.program-sections .program-confession-visual { position: relative; overflow: hidden; width: 100%; aspect-ratio: 3 / 1; min-height: 140px; border-radius: 12px; background: #d8bc76; }
.program-sections .program-confession-visual img { position: absolute; left: -3%; top: -3%; display: block; width: 106%; max-width: none; height: 106%; object-fit: cover; object-position: center 30%; }
.program-sections .program-confessions h2 { margin: 10px 0 0; color: var(--program-ink); font: bold clamp(1.9rem, 5.2vw, 3.2rem)/1.12 var(--title-font); }
.program-sections .program-floral-rule { display: flex; align-items: center; justify-content: center; gap: 16px; width: min(72%, 510px); margin: 5px auto 2px; }
.program-sections .program-floral-rule::before,
.program-sections .program-floral-rule::after { content: ""; flex: 1; height: 1px; background: #b68b38; }
.program-sections .program-floral-rule .program-icon { width: 38px; height: 38px; }
.program-sections .program-confessions h3 { margin: 1px 0 5px; color: #554127; font: italic clamp(1.4rem, 4vw, 2.45rem)/1.15 var(--title-font); }
.program-sections .program-confession-hours { display: grid; gap: 5px; margin: 0; font-size: clamp(1.1rem, 3.4vw, 2rem); line-height: 1.2; }
.program-sections .program-confession-hours div { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; }
.program-sections .program-confession-hours dt { color: var(--program-ink); font-weight: bold; }
.program-sections .program-confession-hours dd { margin: 0; }
.program-sections .program-confession-note { margin: 9px 0 0; color: #554127; font-style: italic; font-size: clamp(1rem, 2.8vw, 1.7rem); line-height: 1.3; }
.program-sections .program-office { margin-inline: clamp(0px, 1vw, 10px); }
.program-sections .program-office::before { content: ""; display: block; height: 1px; background: #b68b38; }
.program-sections .program-ruled-title { display: flex; align-items: center; justify-content: center; gap: 15px; margin: 12px auto; color: var(--program-ink); text-align: center; font: bold italic clamp(1.4rem, 4vw, 2.6rem)/1.15 var(--title-font); }
.program-sections .program-ruled-title::before,
.program-sections .program-ruled-title::after { content: ""; height: 1px; background: #b68b38; width: 11%; flex: 0 1 90px; }
.program-sections .program-office-hours { display: grid; margin: 0 clamp(2px, 3vw, 32px) 18px; gap: 4px; font-size: clamp(1.05rem, 3.1vw, 1.9rem); line-height: 1.15; }
.program-sections .program-office-hours div { display: flex; flex-wrap: wrap; gap: 3px 7px; }
.program-sections .program-office-hours dt { color: var(--program-ink); font-weight: bold; }
.program-sections .program-office-hours dd { margin: 0; }
.program-sections .program-contacts { display: grid; gap: 11px; }
.program-sections .program-contact { display: grid; grid-template-columns: clamp(46px, 14vw, 140px) minmax(0, 1fr) 19px; align-items: center; column-gap: clamp(10px, 3vw, 32px); min-height: 66px; padding: 9px 14px 9px 0; border: 1px solid #c9a054; border-radius: 16px; background: linear-gradient(110deg, #fff6df, #fceacb); box-shadow: 0 3px 3px #96641f1c; color: var(--program-ink); font-size: clamp(1rem, 3vw, 1.9rem); font-weight: bold; line-height: 1.15; text-decoration: none; }
.program-sections .program-contact > .program-icon { width: 100%; height: 47px; padding-inline: clamp(6px, 3.5vw, 40px); border-right: 1px solid #b88b36; }
.program-sections .program-contact > span { min-width: 0; overflow-wrap: anywhere; }
.program-sections .program-contact > .program-chevron { transform: rotate(-90deg); }
.program-sections .program-contact:hover { background: #f8e6be; }
@media (min-width: 760px) {
  .program-sections .program-church { grid-template-columns: 30% minmax(0, 1fr); align-items: center; gap: 20px; }
  .program-sections .program-church-photo { width: 100%; align-self: center; }
  .program-sections .program-church-copy { padding: 0 0 0 19px; border-top: 0; border-left: 2px solid #bd913c; }
}
@media (max-width: 420px) {
  .program-sections .program-accordion-content { padding-inline: 10px; }
  .program-sections .program-church { padding: 9px; border-radius: 16px; }
  .program-sections .program-info-row { grid-template-columns: 22px minmax(0, 1fr); gap: 7px; }
  .program-sections .program-small-icon { width: 22px; height: 25px; }
  .program-sections .program-contact { column-gap: 10px; padding-right: 9px; grid-template-columns: 45px minmax(0, 1fr) 15px; }
  .program-sections .program-contact > .program-icon { padding-inline: 6px; height: 38px; }
}
