/* ===== Ministry detail pages (shared template) ===== */
.hmn .hmn-page { padding:0 !important; gap:0 !important; max-width:none !important; margin:0 !important; }

/* Hero back link */
.hmn .hm-hero > .hmn-back { margin:0 auto 18px !important; animation:hw4Up .9s cubic-bezier(.2,1,.3,1) backwards; }
.hmn .hmn-back a { display:inline-flex !important; align-items:center; gap:8px; padding:7px 16px 7px 12px; border-radius:999px; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.22); color:#fff !important; font-family:Montserrat, sans-serif; font-size:13px; font-weight:700; text-decoration:none !important; transition:background .25s ease, translate .25s ease, border-color .25s ease; }
.hmn .hmn-back a::before { content:''; width:7px; height:7px; border-left:2px solid var(--gl); border-bottom:2px solid var(--gl); rotate:45deg; margin-left:3px; transition:translate .25s ease; }
.hmn .hmn-back a:hover, .hmn .hmn-back a:focus-visible { background:rgba(216,164,65,.25); border-color:var(--g); }
.hmn .hmn-back a:hover::before { translate:-3px 0; }

/* About split */
.hmn .hmn-split { display:grid !important; grid-template-columns:minmax(0, 1.08fr) minmax(0, .92fr); gap:60px; align-items:center; width:100%; max-width:1100px; margin:0 auto !important; padding:0 !important; }
.hmn .hmn-split.hmn-nophoto { grid-template-columns:minmax(0, 1fr); max-width:820px; text-align:center; }
.hmn .hmn-text { display:flex !important; flex-direction:column; gap:16px; padding:0 !important; min-width:0; }
.hmn .hmn-text > .hm-eyebrow { display:inline-flex !important; align-items:center; gap:12px; width:fit-content; margin:0 !important; }
.hmn .hmn-text > .hm-eyebrow::before { content:''; width:28px; height:2px; border-radius:2px; background:var(--g); }
.hmn .hmn-nophoto .hmn-text { align-items:center; }
.hmn .hmn-nophoto .hmn-text > .hm-eyebrow::after { content:''; width:28px; height:2px; border-radius:2px; background:var(--g); }
.hmn .hmn-text > .hm-section-title { margin:0 0 4px !important; }
.hmn .hmn-split:not(.hmn-nophoto) .hmn-text, .hmn .hmn-split:not(.hmn-nophoto) .hm-section-title, .hmn .hmn-split:not(.hmn-nophoto) .hmn-body { text-align:left !important; }
@media (max-width:767px) { .hmn .hmn-split:not(.hmn-nophoto) .hmn-text > .hm-eyebrow { margin:0 !important; } }
.hmn .hmn-body { margin:0 !important; font-size:17px !important; line-height:1.75 !important; color:#44555A !important; }
.hmn .hmn-body a, .hmn .hm-section-sub a { color:#0F6C78 !important; font-weight:700; text-decoration:underline; text-underline-offset:3px; }
.hmn .hmn-photo { display:block; width:100% !important; max-width:none !important; height:auto !important; aspect-ratio:4 / 3; object-fit:cover; object-position:center 35%; border-radius:22px; box-shadow:0 24px 50px rgba(15,52,58,.18); outline:3px solid rgba(216,164,65,.55); outline-offset:12px; transition:scale .6s ease; }
.hmn .hmn-photo:hover { scale:1.015; }

/* Ways cards */
.hmn .hmn-ways { display:grid !important; grid-template-columns:repeat(auto-fit, minmax(230px, 1fr)); gap:24px; width:100%; max-width:1100px; margin:40px auto 0 !important; padding:0 !important; }
.hmn .hmn-ways.hmn-n2 { max-width:780px; }
.hmn .hmn-ways.hmn-n3 { grid-template-columns:repeat(3, minmax(0, 1fr)); }
.hmn .hmn-ways.hmn-n4 { grid-template-columns:repeat(4, minmax(0, 1fr)); }
.hmn .hmn-way { position:relative; display:flex !important; flex-direction:column; gap:10px; padding:30px 26px 26px !important; border-radius:20px; background:#fff; box-shadow:0 14px 34px rgba(15,52,58,.10); border-top:4px solid var(--t); text-align:left; text-decoration:none !important; min-width:0; transition:translate .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease; }
.hmn .hmn-way:hover { translate:0 -6px; box-shadow:0 22px 44px rgba(15,52,58,.16); border-top-color:var(--g); }
.hmn .hmn-way::before { content:''; display:block !important; position:static !important; inset:auto !important; flex:0 0 auto; width:38px !important; height:38px !important; border-radius:12px; margin-bottom:6px; background:linear-gradient(150deg, var(--t), var(--d)) !important; opacity:1 !important; }
.hmn .hmn-way-title { margin:0 !important; font-family:Montserrat, sans-serif !important; font-size:19px !important; font-weight:700 !important; line-height:1.35 !important; color:#0F6C78 !important; }
.hmn .hmn-way-desc { margin:0 !important; font-size:15px !important; line-height:1.65 !important; color:#555 !important; overflow-wrap:anywhere; }
.hmn .hmn-way .hmn-wnum { position:absolute; top:30px; left:26px; width:38px; height:38px; display:flex; align-items:center; justify-content:center; color:var(--gl); }
.hmn .hmn-way .hmn-wnum svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.hmn .hmn-more { display:inline-flex; align-items:center; gap:6px; margin-top:auto; padding-top:8px; font-family:Montserrat, sans-serif; font-size:14px; font-weight:700; color:#0F6C78; }
.hmn .hmn-more svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; transition:translate .3s ease; }
.hmn .hmn-way:hover .hmn-more svg { translate:4px 0; }

/* Quote */
.hmn .hmn-quote { position:relative; width:100%; max-width:780px; margin:36px auto 0 !important; padding:44px 48px !important; border-radius:22px; background:#fff; box-shadow:0 14px 34px rgba(15,52,58,.10); border-left:5px solid var(--g); }
.hmn .hmn-quote { overflow:hidden; }
.hmn .hmn-quote::before { content:'\201C'; position:absolute; top:2px; left:22px; width:60px; height:80px; overflow:hidden; font-family:Georgia, serif; font-size:110px; line-height:1; color:rgba(216,164,65,.35); }
.hmn .hmn-quote .hmn-body { position:relative; font-style:italic; }
.hmn .hmn-quote .hmn-body + .hmn-body { margin-top:14px !important; font-style:normal; font-weight:700; color:#0F6C78 !important; font-size:19px !important; }

/* Gallery */
.hmn .hmn-gallery { display:grid !important; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:16px; width:100%; max-width:1100px; margin:36px auto 0 !important; padding:0 !important; }
.hmn .hmn-gallery img { display:block; width:100% !important; max-width:none !important; height:auto !important; aspect-ratio:4 / 3; object-fit:cover; border-radius:16px; box-shadow:0 10px 26px rgba(16,45,50,.14); transition:scale .5s ease, box-shadow .4s ease; }
.hmn .hmn-gallery img:hover { scale:1.03; box-shadow:0 16px 32px rgba(16,45,50,.2); }

/* Section buttons */
.hmn .hm-section > .hm-actions { display:flex !important; flex-wrap:wrap; justify-content:center; gap:14px; margin:34px auto 0 !important; padding:0 !important; }
.hmn .hm-section .hm-section-sub { line-height:1.75 !important; }

@media (max-width:1024px) {
  .hmn .hmn-split { gap:40px; }
  .hmn .hmn-ways.hmn-n3, .hmn .hmn-ways.hmn-n4 { grid-template-columns:repeat(2, minmax(0, 1fr)); }
}
@media (max-width:767px) {
  .hmn .hmn-split { grid-template-columns:minmax(0, 1fr); gap:34px; }
  .hmn .hmn-photo { outline-offset:8px; border-radius:16px; }
  .hmn .hmn-ways, .hmn .hmn-ways.hmn-n3, .hmn .hmn-ways.hmn-n4 { grid-template-columns:minmax(0, 1fr); gap:16px; margin-top:28px !important; }
  .hmn .hmn-way { padding:24px 20px 22px !important; }
  .hmn .hmn-way .hmn-wnum { top:24px; left:20px; }
  .hmn .hmn-body { font-size:16px !important; }
  .hmn .hmn-quote { padding:36px 24px 28px !important; }
  .hmn .hmn-gallery { grid-template-columns:1fr 1fr; gap:10px; }
  .hmn .hmn-gallery img { border-radius:12px; }
  .hmn .hm-section > .hm-actions { flex-direction:column; align-items:stretch; }
}
@media (prefers-reduced-motion:reduce) {
  .hmn .hm-hero > .hmn-back { animation:none; }
}
