/* Ministry information hubs: practical content and routes before photography. */
.section-hub { padding-top: 24px; padding-bottom: 28px; }
.section-hub__header { margin-bottom: 30px; max-width: 800px; }
.section-hub__header h1 { margin: 0; font-size: clamp(34px, 3.6vw, 48px); line-height: 1.12; text-transform: none; }
.section-hub__intro { margin: 14px 0 0; max-width: 65ch; font-size: 19px; line-height: 1.5; color: var(--muted); }
.section-hub__layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: start; }
.section-hub__layout--without-photo { grid-template-columns: minmax(0, 1fr); }
.section-hub__layout--photo-only { display: block; }
.section-hub__layout--photo-only .section-hub__main { display: none; }
.section-hub__layout--photo-only .section-hub__photo { max-width: 560px; }
.section-hub__main, .section-hub__photo { min-width: 0; }
.section-hub__body.prose { max-width: 70ch; }
.section-hub__body { font-size: 17px; line-height: 1.65; }
.section-hub__body p:first-child { margin-top: 0; }
.section-hub__body > :last-child { margin-bottom: 0; }
.section-hub__groups { margin-top: 26px; }
.section-hub__main > .section-hub__groups:first-child { margin-top: 0; }
.section-hub__group + .section-hub__group { margin-top: 28px; }
.section-hub__heading { margin: 0 0 12px; font-family: var(--sans); font-size: 22px; font-weight: 600; line-height: 1.3; letter-spacing: normal; text-transform: none; color: var(--tapa); }
.section-hub__links { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 32px; }
.section-hub__link { display: block; min-width: 0; padding: 17px 0; border-bottom: 1px solid var(--border); text-decoration: none; }
.section-hub__link-title { display: block; font-size: 20px; line-height: 1.3; font-weight: 600; color: var(--sea); }
.section-hub__link-description { display: block; margin-top: 6px; max-width: 60ch; color: var(--muted); font-size: 16px; line-height: 1.5; }
.section-hub__link:hover .section-hub__link-title, .section-hub__link:focus-visible .section-hub__link-title { text-decoration: underline; text-underline-offset: 4px; }
.section-hub__link:focus-visible { outline: 3px solid var(--sea); outline-offset: 4px; }
.section-hub__photo .mfai-photo { margin: 0; }
.section-hub__photo .mfai-photo__image, .section-hub__photo .mfai-photo-placeholder { width: 100%; height: 260px; max-height: 260px; object-fit: cover; aspect-ratio: auto !important; }
.section-hub__photo .mfai-photo-placeholder { background: var(--tint); }
.section-hub__photo .mfai-photo__caption { padding-top: 8px; }
.section-hub__body--columns { columns: 2; column-gap: 48px; }
.section-hub__body-section { break-inside: avoid; margin: 0 0 26px; max-width: none; }
.section-hub__body-section.prose h2 { margin: 0 0 12px; padding: 0; border: 0; font-family: var(--sans); font-size: 22px; font-weight: 600; line-height: 1.3; letter-spacing: normal; text-transform: none; }
.section-hub__body-section.prose h3 { font-family: var(--sans); font-size: 19px; font-weight: 600; line-height: 1.4; }
.section-hub__body-section.prose p { margin: 0 0 12px; }
.section-hub__body-section.prose ul, .section-hub__body-section.prose ol { margin: 0 0 12px; }
.section-hub__body-section.prose > :last-child { margin-bottom: 0; }
.section-hub--contact .section-hub__layout { margin-top: 22px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.section-hub--contact .section-hub__layout--without-photo { grid-template-columns: minmax(0, 1fr); }
.section-hub--contact .section-hub__photo .mfai-photo__image, .section-hub--contact .section-hub__photo .mfai-photo-placeholder { height: 180px; max-height: 180px; }
.section-hub--resources .section-hub__layout--without-photo .section-hub__links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.section-hub__library { margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--border); }
.section-hub__library .empty { margin: 16px 0; padding: 22px; }
.section-hub__library .filters { margin-top: 16px; margin-bottom: 20px; }
.section-hub__reference { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--border); }
.section-hub__help.helppanel { margin: 34px 0 0; padding: 22px 24px; background: var(--tint); }
.section-hub__help .helppanel__title { font-family: var(--sans); font-weight: 600; font-size: 22px; text-transform: none; }
.section-hub__help .btn { text-transform: none; letter-spacing: normal; }
@media (max-width: 1000px) {
  .section-hub__layout { gap: 32px; }
  .section-hub__body--columns { column-gap: 32px; }
}
@media (max-width: 800px) {
  .section-hub { padding-top: 20px; padding-bottom: 32px; }
  .section-hub__header { margin-bottom: 24px; }
  .section-hub__intro { font-size: 18px; }
  .section-hub__layout, .section-hub--contact .section-hub__layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .section-hub__body--columns { columns: 1; }
  .section-hub__photo .mfai-photo__image, .section-hub__photo .mfai-photo-placeholder { height: auto; max-height: 240px; aspect-ratio: 16 / 9 !important; }
  .section-hub--contact .section-hub__photo .mfai-photo__image, .section-hub--contact .section-hub__photo .mfai-photo-placeholder { height: 180px; }
  .section-hub__help.helppanel { margin-top: 28px; padding: 20px; }
}
@media (max-width: 600px) {
  .section-hub--resources .section-hub__layout--without-photo .section-hub__links { grid-template-columns: minmax(0, 1fr); }
  .section-hub__body { font-size: 16px; }
  .section-hub__heading, .section-hub__body-section.prose h2, .section-hub__help .helppanel__title { font-size: 21px; }
}
@media print {
  .section-hub__layout, .section-hub--contact .section-hub__layout { display: block; }
  .section-hub__body--columns { columns: 1; }
}
