/*
 * MH Planner — styles of the sections under the tool (zones, venue types, questions).
 * Scoped under .mhp-more; the colours and the reset come from planner.css.
 */
.mhp-more .mhp-lead { max-width: 46em; color: var(--mhp-mut); margin-bottom: 20px; }
.mhp-more h3 { font-family: Montserrat, "Segoe UI", Arial, sans-serif; font-size: 18px; line-height: 1.25; font-weight: 700; }
.mhp-zones { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.mhp-zones > li { position: relative; border: 1px solid var(--mhp-line); border-radius: var(--mhp-r); background: #fff; padding: 18px 18px 18px 64px; }
.mhp-zone-n { position: absolute; left: 16px; top: 16px; width: 34px; height: 34px; border-radius: 50%; background: var(--mhp-ink); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.mhp-zones p { color: var(--mhp-mut); margin: 6px 0 12px; }
.mhp-zones .mhp-links { gap: 8px; }
.mhp-zones .mhp-links a { min-height: 36px; padding: 0 12px; font-size: 14px; }
.mhp-objs { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.mhp-objs > li { border-top: 3px solid var(--mhp-blue); background: var(--mhp-ground); border-radius: 0 0 var(--mhp-r) var(--mhp-r); padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.mhp-objs p { color: var(--mhp-mut); flex: 1; }
.mhp-objs a { font-weight: 700; text-decoration: none; padding: 6px 0; }
.mhp-objs a::after { content: " →"; }
.mhp-objs a:hover { text-decoration: underline; }
.mhp-objs + .mhp-links { margin-top: 16px; }
.mhp-faq { margin: 0; max-width: 52em; }
.mhp-faq > div { padding: 16px 0; border-bottom: 1px solid var(--mhp-line); }
.mhp-faq dt { font-weight: 700; font-size: 17px; }
.mhp-faq dd { margin: 6px 0 0; color: var(--mhp-mut); }
.mhp-more .mhp-faq-cta { margin-top: 24px; }
@media (max-width: 480px) { .mhp-zones > li { padding: 60px 16px 16px; } }
/* air between the tool, the page's own text and the sections under it (the theme gives images no top margin) */
#mh-planner { margin-bottom: 40px; }
.mhp-more { margin-top: 40px; margin-bottom: 24px; }

/*
 * 1.4.13 — the page's own text (the one the page had before the planner), arranged by owntext.php: the introduction beside its picture,
 * every heading with its text in a card, the telephone block at the end. The text carries its own inline styles, hence the !important.
 * Everything is scoped to .is-arranged: when the text could not be grouped it is left exactly as it was.
 */
.mhp-own.is-arranged { margin-top: 44px; }
.mhp-own.is-arranged > div { max-width: none !important; margin: 0 !important; color: var(--mhp-ink) !important; font-size: 16px !important; line-height: 1.6 !important; }
.mhp-own.is-arranged p { margin: 0 0 12px !important; font-size: 16px !important; line-height: 1.6 !important; color: var(--mhp-mut) !important; text-align: left !important; }
.mhp-own.is-arranged p span { font-size: inherit !important; color: inherit !important; }
.mhp-own.is-arranged h2 { font-family: Montserrat, "Segoe UI", Arial, sans-serif !important; font-size: 20px !important; line-height: 1.25 !important; font-weight: 800 !important; color: var(--mhp-ink) !important; margin: 0 0 10px !important; text-align: left !important; }
.mhp-own.is-arranged h2 + div:empty { width: 40px !important; height: 3px !important; background: var(--mhp-accent) !important; margin: 0 0 14px !important; border-radius: 2px; }
.mhp-own-intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 0 40px; align-items: center; margin-bottom: 32px; }
.mhp-own-intro > * { grid-column: 2; }
.mhp-own-intro > p:has(img) { grid-column: 1; grid-row: 1 / span 12; margin: 0 !important; }
.mhp-own.is-arranged .mhp-own-intro img { width: 100% !important; max-width: 100%; height: auto !important; border-radius: var(--mhp-r); display: block; }
.mhp-own-intro img + span { display: none; }
.mhp-own.is-arranged .mhp-own-intro p { font-size: 17px !important; color: var(--mhp-ink) !important; }
.mhp-own-cards { columns: 2; column-gap: 24px; }
.mhp-own-cards.is-single { columns: 1; }
.mhp-own-s { break-inside: avoid; background: #fff; border: 1px solid var(--mhp-line); border-radius: var(--mhp-r); padding: 24px 26px 14px; margin: 0 0 24px; }
.mhp-own.is-arranged ul { margin: 4px 0 14px !important; padding: 0 !important; columns: 2; column-gap: 24px; }
.mhp-own.is-arranged .mhp-own-cards.is-single ul { columns: 3; }
.mhp-own.is-arranged li { font-size: 15px !important; line-height: 1.4 !important; margin: 0 0 8px !important; color: var(--mhp-ink) !important; break-inside: avoid; }
.mhp-own.is-arranged li > span:first-child > span[style*="border-radius:50%"] { background: var(--mhp-accent) !important; }
.mhp-own.is-arranged li > span:first-child > span[style*="border:solid"] { border-color: var(--mhp-ok) !important; }
.mhp-own-title { margin: 16px 0 20px; }
.mhp-own.is-arranged .mhp-own-title h2 { font-size: clamp(22px, 3vw, 28px) !important; margin: 0 !important; }
.mhp-own.is-arranged .mhp-own-title h2 + div:empty { display: none; }
.mhp-own-cta { margin-top: 8px; }
.mhp-own.is-arranged .mhp-own-cta > div { margin: 0 !important; border-radius: var(--mhp-r) !important; background: var(--mhp-ink) !important; box-shadow: none !important; }
.mhp-own.is-arranged .mhp-own-cta h2, .mhp-own.is-arranged .mhp-own-cta h2 a { color: #fff !important; text-align: center !important; }
.mhp-own.is-arranged .mhp-own-cta h2 > span { color: #C9D2E0 !important; }
.mhp-own.is-arranged .mhp-own-cta p { text-align: center !important; margin: 14px 0 0 !important; }
@media (max-width: 860px) {
  .mhp-own-intro { display: block; }
  .mhp-own-intro > p:has(img) { margin: 0 0 16px !important; }
  .mhp-own-cards { columns: 1; }
  .mhp-own.is-arranged .mhp-own-cards.is-single ul { columns: 2; }
  .mhp-own-s { padding: 20px 18px 10px; }
}
@media (max-width: 520px) { .mhp-own.is-arranged ul, .mhp-own.is-arranged .mhp-own-cards.is-single ul { columns: 1; } }
