/* Static parish Mass hours. Independent of the weekly intentions browser. */
.mass-hours-page{max-width:1050px}
.mass-hours-intro{font-size:19px;line-height:1.6;max-width:800px}
.mass-hours-section{background:var(--card-bg,#fff);border:1px solid var(--line);border-top:2px solid var(--gold);padding:25px 30px;margin:20px 0;border-radius:8px}
.mass-hours-section h2{font:400 27px/1.3 Lato,Arial,sans-serif;margin:0 0 17px}
.mass-hours-section p{font-size:18px;line-height:1.65;margin:0 0 12px}
.mass-hours-times{font-size:30px!important;line-height:1.4!important;color:var(--ink)}
.mass-hours-list{margin:0}
.mass-hours-list>div{display:grid;grid-template-columns:minmax(150px,1fr) 1.6fr;gap:20px;padding:13px 0;border-bottom:1px solid var(--line);font-size:19px;line-height:1.5}
.mass-hours-list>div:last-child{border-bottom:0}
.mass-hours-list dt{color:var(--muted)}
.mass-hours-list dd{margin:0;color:var(--ink)}
.mass-hours-secondary{display:block;font-size:17px;color:var(--muted)}
.mass-hours-note{font-size:15px;line-height:1.6;color:var(--muted);margin-top:24px}
.mass-hours-note a{text-decoration:underline;text-underline-offset:2px}
html[data-theme=dark] .mass-hours-section{background:#162633}
@media(max-width:600px){.mass-hours-section{padding:19px 18px}.mass-hours-section h2{font-size:23px}.mass-hours-times{font-size:25px!important}.mass-hours-list>div{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:12px;font-size:17px}.mass-hours-secondary{font-size:16px}}

[data-office-hours],[data-office-notes],[data-confession-hours],[data-office-address],[data-mass-note]{white-space:pre-line;overflow-wrap:anywhere}

/* Office details: compact, content-driven box; keep blank lines exactly as saved. */
.mass-hours-page > .mass-hours-section:first-of-type{height:auto;min-height:0;padding:22px 26px}
.mass-hours-page > .mass-hours-section:first-of-type [data-office-hours]{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:600px){.mass-hours-page > .mass-hours-section:first-of-type{padding:18px 18px}}

/* Important parish Mass announcements must read as body content, not fine print. */
.mass-hours-page .mass-hours-note{font-size:19px;line-height:1.65;color:var(--ink);white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:600px){.mass-hours-page .mass-hours-note{font-size:18px;line-height:1.6}}

/* The important Mass announcements are a full, framed section like the schedule cards above. */
.mass-hours-page .mass-hours-announcements .mass-hours-note{margin:0}

[data-office-image] {
  max-width: min(100%, 520px);
  height: auto;
  margin-top: 1rem;
  border-radius: 0.5rem;
}

/* Office directions: one shared card, responsive map, no nested text frames. */
.office-directions{margin-top:28px;min-width:0}
.office-map{display:grid;place-items:center;min-height:100px;margin:12px 0 8px}
.office-map iframe{display:block;width:100%;height:clamp(250px,45vw,420px);border:0;border-radius:8px}
.office-directions>.text-link{overflow-wrap:break-word}

.office-note-line,.office-bank-account,.office-bank-account>span{display:block;text-align:start;hyphens:none;-webkit-hyphens:none}
.office-bank-account{margin:0 0 14px}
.office-bank-account .bank-account-number{font-variant-numeric:tabular-nums;word-break:normal;overflow-wrap:normal}
.office-bank-account .bank-account-bank{margin-top:3px}
