/* Guide article template (template-guide.php, inc/Guide.php): "Artikkeli: opas".
   A proper hero (title, standfirst, facts, buttons, photo), then sections that alternate white and brand yellow exactly like the
   landing pages, two columns with a 100 px gap, nothing centred, one even rhythm. Components for the interactive tools of an
   article (.mh-tool, .mh-field, .mh-check, .mh-tabs, .mh-progress) and for its table and FAQ sit at the end.
   Phone sizes are set here on purpose: the theme's own tokens shrink the body text on small screens. */

.mh-guide {
  --g-yellow: #ffed00;
  --g-ink: #000;
  --g-gap: 100px;
  --g-pad: 96px;
  --g-wrap: 1382px;   /* the site's shell: 1350 px of content plus 16 px each side */
  --g-side: 16px;
  color: var(--g-ink);
  font-family: inherit;
  font-size: 18px;
  line-height: 1.72;
  background: #fff;
}

.mh-guide *,
.mh-guide *::before,
.mh-guide *::after { box-sizing: border-box; }

.mh-guide-wrap {
  width: 100%;
  max-width: var(--g-wrap);
  margin-inline: auto;
  padding-inline: var(--g-side);
}

/* ---------- Hero ---------- */

.mh-guide-hero {
  background: #fff;
  padding: 72px 0 96px;
  overflow: hidden;
}

.mh-guide-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: var(--g-gap);
  align-items: center;
}

.mh-guide-hero__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}

.mh-guide-crumbs {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: normal;
}

.mh-guide-crumbs a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.mh-guide-crumbs span { margin: 0 6px; opacity: 0.55; }

.mh-guide .mh-guide-title {
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 3rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: normal;
  color: var(--g-ink);
  text-wrap: balance;
}

.mh-guide .mh-guide-standfirst {
  margin: 0;
  max-width: 34em;
  font-size: 18px;
  line-height: 1.65;
  font-weight: 400;
}

.mh-guide-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.mh-guide-facts li {
  display: grid;
  grid-template-columns: 28px auto;
  column-gap: 12px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.mh-guide-facts svg { grid-row: 1 / span 2; width: 28px; height: 28px; }
.mh-guide-facts strong { display: block; font-size: 20px; line-height: 1.2; font-weight: 700; }
.mh-guide-facts span { display: block; font-size: 14px; line-height: 1.3; opacity: 0.8; }

.mh-guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

/* The photo sits like on the landing pages (blocks/landing-hero): plain, square corners, a 4:3 crop, no frame or box */
.mh-guide-hero__media { margin: 0; }

.mh-guide-hero__media img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 75% 50%;
}

/* ---------- Sections ---------- */

.mh-guide-sec { padding: var(--g-pad) 0; }
.mh-guide-sec--white { background: #fff; }
.mh-guide-sec--yellow { background: var(--g-yellow); }

.mh-guide-sec__grid {
  display: grid;
  grid-template-columns: minmax(0, 4.4fr) minmax(0, 7.6fr);
  column-gap: var(--g-gap);
  align-items: start;
}

.mh-guide-sec__head { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.mh-guide-sec__body { min-width: 0; }

.mh-guide-sec--wide .mh-guide-sec__grid { grid-template-columns: minmax(0, 1fr); row-gap: 48px; }
.mh-guide-sec--wide .mh-guide-sec__head { max-width: 46rem; }

.mh-guide .mh-guide-sec h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: normal;
  color: var(--g-ink);
  text-wrap: balance;
}

.mh-guide .mh-guide-sec h3 {
  margin: 40px 0 0;
  font-size: 22px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--g-ink);
}

.mh-guide .mh-guide-sec h3:first-child { margin-top: 0; }

.mh-guide .mh-guide-sec p {
  margin: 0 0 16px;
  max-width: 68ch;
  font-size: 18px;
  line-height: 1.7;
  color: var(--g-ink);
}

.mh-guide .mh-guide-sec p:last-child { margin-bottom: 0; }
/* strong is 700 like on the rest of the site (the browser's "bolder" inside a 700 cell would give 900) */
.mh-guide strong, .mh-guide b { font-weight: 700; }
.mh-guide .mh-guide-sec .mh-guide-sec__head p { margin: 0; }
.mh-guide .mh-guide-sec p.is-lead { font-size: 18px; line-height: 1.65; font-weight: 400; }
.mh-guide .mh-guide-sec ul.mh-jump { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 40px; padding: 0; list-style: none; max-width: none; }
.mh-guide .mh-guide-sec ul.mh-jump > li,
.mh-guide .mh-guide-sec.sec-summary ul.mh-jump > li { margin: 0; padding: 0; font-size: 16px; line-height: 1.3; }
.mh-guide .mh-guide-sec ul.mh-jump > li::before,
.mh-guide .mh-guide-sec.sec-summary ul.mh-jump > li::before { display: none; }
.mh-guide .mh-guide-sec ul.mh-jump a { display: inline-block; padding: 13px 20px; border: 2px solid var(--g-ink); border-radius: 4px; font-weight: 700; text-decoration: none; background: transparent; }
.mh-guide .mh-guide-sec ul.mh-jump a:hover { background: var(--g-ink); color: var(--g-yellow); }
.mh-guide .mh-guide-sec p.mh-source { font-size: 14px; line-height: 1.55; opacity: 0.85; margin-top: 1.4em; }
.mh-guide .mh-guide-sec a:not(.mh-painike) { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
.mh-guide .mh-guide-sec a:not(.mh-painike):hover { text-decoration-thickness: 3px; }

.mh-guide .mh-guide-sec ul,
.mh-guide .mh-guide-sec ol {
  margin: 0 0 1.3em;
  padding: 0;
  list-style: none;
  max-width: 68ch;
}

.mh-guide .mh-guide-sec li {
  position: relative;
  margin: 0 0 0.7em;
  padding-left: 30px;
  font-size: 18px;
  line-height: 1.65;
}

.mh-guide .mh-guide-sec ul > li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 9px;
  height: 9px;
  background: var(--g-ink);
}

.mh-guide .mh-guide-sec ol { counter-reset: guide; }
.mh-guide .mh-guide-sec ol > li { counter-increment: guide; }
.mh-guide .mh-guide-sec ol > li::before {
  content: counter(guide);
  position: absolute;
  left: 0;
  top: 0.12em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--g-ink);
  color: #fff;
  font-size: 13px;
  line-height: 22px;
  font-weight: 700;
  text-align: center;
}

.mh-guide .mh-guide-sec--yellow ol > li::before { color: var(--g-yellow); }

/* The summary: a tick list, a little bigger */
.mh-guide .mh-guide-sec.sec-summary ul { max-width: none; }
.mh-guide .mh-guide-sec.sec-summary ul > li {
  padding-left: 44px;
  margin-bottom: 1.05em;
  font-size: 19px;
  line-height: 1.6;
}
.mh-guide .mh-guide-sec.sec-summary ul > li::before {
  left: 0;
  top: 0.22em;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--g-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffed00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 18px no-repeat;
}

/* Rhythm: big blocks keep 32 px of air above and below, text blocks follow their own margins */
.mh-guide .mh-guide-sec__body > .mh-tool,
.mh-guide .mh-guide-sec__body > .mh-tabs,
.mh-guide .mh-guide-sec__body > .mh-faq,
.mh-guide .mh-guide-sec__body > .mh-vs,
.mh-guide .mh-guide-sec__body > figure.wp-block-table,
.mh-guide .mh-guide-sec__body > details { margin-top: 36px; margin-bottom: 36px; }
.mh-guide .mh-guide-sec__body > :first-child { margin-top: 0; }
.mh-guide .mh-guide-sec__body > :last-child { margin-bottom: 0; }
.mh-guide .mh-guide-sec h3 { margin-bottom: 16px; }
.mh-guide .mh-guide-sec h3 + ul, .mh-guide .mh-guide-sec h3 + p { margin-top: 0; }

/* Tables (core/table block or a plain table in an html block) */
.mh-guide .mh-guide-sec figure.wp-block-table,
.mh-guide .mh-guide-sec .mh-table { margin-left: 0; margin-right: 0; overflow-x: auto; }
.mh-guide .mh-guide-sec table { width: 100%; border-collapse: collapse; border: 0; border-top: 2px solid var(--g-ink); font-size: 18px; line-height: 1.55; background: transparent; }
.mh-guide .mh-guide-sec figure.wp-block-table,
.mh-guide .mh-guide-sec figure.wp-block-table table { border-left: 0; border-right: 0; border-bottom: 0; }
.mh-guide .mh-guide-sec th { padding: 14px 24px 14px 0; text-align: left; font-weight: 700; font-size: 18px; vertical-align: bottom; border: 0; background: transparent; color: var(--g-ink); }
.mh-guide .mh-guide-sec td { padding: 16px 24px 16px 0; vertical-align: top; border: 0; border-top: 1px solid rgba(0, 0, 0, 0.22); background: transparent; }
.mh-guide .mh-guide-sec table tr { border: 0; background: transparent; }
.mh-guide .mh-guide-sec tbody tr:nth-child(even) { background: transparent; }
.mh-guide .mh-guide-sec figcaption { margin-top: 14px; text-align: left; font-size: 14px; line-height: 1.55; opacity: 0.85; }
.mh-guide .mh-guide-sec td:first-child { font-weight: 700; }
.mh-guide .mh-guide-sec td:last-child,
.mh-guide .mh-guide-sec th:last-child { padding-right: 0; }
.mh-guide .mh-guide-sec--yellow td { border-top-color: rgba(0, 0, 0, 0.35); }
.mh-guide .mh-guide-sec table caption { caption-side: bottom; padding-top: 14px; text-align: left; font-size: 14px; line-height: 1.55; opacity: 0.85; }

/* ---------- FAQ ---------- */

.mh-guide .mh-faq { margin: 0; border-top: 2px solid var(--g-ink); }
.mh-guide .mh-faq details { border-bottom: 1px solid rgba(0, 0, 0, 0.3); }
.mh-guide .mh-faq summary {
  position: relative;
  display: block;
  padding: 22px 56px 22px 0;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.mh-guide .mh-faq summary::-webkit-details-marker { display: none; }
.mh-guide .mh-faq summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  background:
    linear-gradient(var(--g-ink), var(--g-ink)) center / 100% 3px no-repeat,
    linear-gradient(var(--g-ink), var(--g-ink)) center / 3px 100% no-repeat;
  transition: transform 0.2s ease;
}
.mh-guide .mh-faq details[open] summary::after { background: linear-gradient(var(--g-ink), var(--g-ink)) center / 100% 3px no-repeat; }
.mh-guide .mh-faq summary:focus-visible { outline: 3px solid var(--g-ink); outline-offset: 4px; }
.mh-guide .mh-faq details > div { padding: 0 56px 26px 0; }
.mh-guide .mh-faq details > div p { margin: 0 0 1em; }

/* ---------- Buttons: the theme's .mh-painike, with the colour rules of the landing pages ---------- */

.mh-guide :is(.mh-guide-hero, .mh-guide-sec) .mh-painike { padding: 18px var(--mh-btn-pad-x); }
.mh-guide-sec--yellow .mh-painike--yellow,
.mh-guide-sec--yellow a.mh-painike[href*="tilaamuutto.fi"] { background: #000; color: #fff !important; }
.mh-guide-sec--yellow .mh-painike--outline { background: transparent; color: #000 !important; box-shadow: inset 0 0 0 2px #000; }
.mh-guide .mh-painike--outline { background: transparent; color: #000 !important; box-shadow: inset 0 0 0 2px #000; }
.mh-guide .mh-painike--outline:hover { background: #000; color: #fff !important; opacity: 1; }
.mh-guide-sec--yellow .mh-painike--outline:hover { background: #000; color: var(--g-yellow) !important; }

/* ---------- Closing call to action ---------- */

.mh-guide-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: var(--g-gap);
  align-items: center;
}

.mh-guide-cta__text { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.mh-guide .mh-guide-cta__text p { margin: 0; }
.mh-guide-cta__media { margin: 0; }
.mh-guide-cta__media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Related ---------- */

.mh-guide-related__head { margin-bottom: 48px; }
.mh-guide .mh-guide-sec ul.mh-guide-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; margin: 0; padding: 0; list-style: none; max-width: none; }
.mh-guide-card { margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.mh-guide .mh-guide-sec .mh-guide-card { padding-left: 0; margin-bottom: 0; }
.mh-guide .mh-guide-sec .mh-guide-card::before { display: none; }
.mh-guide-card__media { display: block; overflow: hidden; background: var(--g-yellow); }
.mh-guide-card__media img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 0.4s ease; }
.mh-guide-card:hover .mh-guide-card__media img { transform: scale(1.03); }
.mh-guide .mh-guide-sec .mh-guide-card__title { margin: 0; font-size: 22px; line-height: 1.4; font-weight: 700; }
.mh-guide .mh-guide-sec .mh-guide-card__title a { text-decoration: none; }
.mh-guide .mh-guide-sec .mh-guide-card__title a:hover { text-decoration: underline; }
.mh-guide .mh-guide-sec .mh-guide-card__text { margin: 0; font-size: 16px; line-height: 1.6; }

/* ---------- The live price calculator ([hintalaskuri], inc/InteractiveSections.php) ----------
   Its own white section (the result panel is yellow). Inside .mh-landing like on the price page, so interactive.css and the
   landing typography draw it exactly as there; only the columns follow the guide's grid and the heading the guide's H2. */
.mh-guide-calc { padding: var(--g-pad) 0; background: #fff; }
.mh-guide-calc .mh-guide-wrap.mh-landing { background: transparent; }
.mh-guide .mh-guide-calc .mh-guide-calc__grid {
  grid-template-columns: minmax(0, 4.4fr) minmax(0, 7.6fr);
  column-gap: var(--g-gap);
}
.mh-guide .mh-guide-calc .mh-landing-kicker { display: none; }
/* the lead under the heading: the size of the article's other leads (the theme shrinks it to 13 px on phones) */
.mh-guide .mh-guide-calc .mhi-lead { font-size: 18px; line-height: 1.6; }
.mh-guide .mh-guide-calc h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: normal;
  color: var(--g-ink);
  text-wrap: balance;
}

/* ---------- "Muuttohaukat vs toinen tarjous" (.mh-vs): one row per fact, the reader marks the other offer ----------
   Three columns on wide screens (topic, Muuttohaukat's fact with its link, Kyllä / Ei / En tiedä), one column on phones with
   labels in the row. Native radios behind big tap targets; on a yellow section the card is outlined, not a white box. */
.mh-guide .mh-vs { margin: 0; padding: 32px 36px; border: 2px solid var(--g-ink); border-radius: 4px; background: #fff; }
.mh-guide .mh-guide-sec--yellow .mh-vs { background: #fff; }
.mh-guide .mh-guide-sec .mh-vs .mh-vs__title { margin: 0 0 8px; font-size: 24px; line-height: 1.25; }
.mh-guide .mh-guide-sec .mh-vs .mh-vs__intro { margin: 0 0 22px; max-width: 62ch; font-size: 16px; line-height: 1.6; }
.mh-guide .mh-vs__head,
.mh-guide .mh-vs__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1.3fr); column-gap: 28px; align-items: center; }
.mh-guide .mh-vs__head { padding: 0 0 10px; border-bottom: 2px solid var(--g-ink); font-size: 14px; line-height: 1.3; font-weight: 700; }
.mh-guide .mh-vs__row { padding: 16px 0; border-bottom: 1px solid rgba(0, 0, 0, 0.25); }
.mh-guide .mh-guide-sec .mh-vs p.mh-vs__topic { margin: 0; font-size: 17px; line-height: 1.4; font-weight: 700; }
.mh-guide .mh-guide-sec .mh-vs p.mh-vs__mh { margin: 0; font-size: 16px; line-height: 1.5; }
.mh-guide .mh-vs__lbl { display: none; }
.mh-guide .mh-vs__opts { display: flex; gap: 8px; }
.mh-guide .mh-vs__opts input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.mh-guide .mh-vs__opts label {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 6px 8px;
  border: 2px solid var(--g-ink);
  border-radius: 4px;
  background: transparent;
  color: var(--g-ink);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
}
.mh-guide .mh-vs__opts label:hover { background: rgba(0, 0, 0, 0.08); }
.mh-guide .mh-vs__opts input:checked + label { background: var(--g-ink); color: var(--g-yellow); }
.mh-guide .mh-vs__opts input:focus-visible + label { outline: 3px solid var(--g-ink); outline-offset: 3px; }
.mh-guide .mh-guide-sec .mh-vs p.mh-vs__result { margin: 20px 0 0; max-width: none; padding-top: 16px; border-top: 2px solid var(--g-ink); font-size: 17px; line-height: 1.55; font-weight: 600; }
.mh-guide .mh-vs__result[hidden] { display: none; }

/* ---------- Interactive tools (the markup comes with the article) ---------- */

.mh-guide .mh-tool {
  margin: 0;
  padding: 36px;
  border: 2px solid var(--g-ink);
  border-radius: 4px;
  background: #fff;
}

.mh-guide .mh-tool + .mh-tool { margin-top: 32px; }
/* On a yellow section the tool is outlined, not a white box */
.mh-guide .mh-guide-sec--yellow .mh-tool { background: #fff; }
.mh-guide .mh-tool__title { margin: 0 0 8px !important; font-size: 24px !important; line-height: 1.25 !important; }
.mh-guide .mh-tool__intro { margin: 0 0 28px !important; max-width: 60ch; font-size: 16px !important; line-height: 1.6 !important; }
.mh-guide .mh-tool__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 28px; margin-bottom: 28px; }
.mh-guide .mh-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.mh-guide .mh-field label,
.mh-guide .mh-fieldset legend { font-size: 15px; line-height: 1.35; font-weight: 700; color: var(--g-ink); }
.mh-guide .mh-field input,
.mh-guide .mh-field select,
.mh-guide .mh-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 10px 14px;
  border: 2px solid var(--g-ink);
  border-radius: 4px;
  background: #fff;
  color: var(--g-ink);
  font: inherit;
  font-size: 17px;
  line-height: 1.4;
  appearance: none;
}
.mh-guide .mh-field select {
  padding-right: 40px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center / 18px no-repeat;
}
.mh-guide .mh-field textarea { min-height: 220px; font-size: 16px; line-height: 1.55; resize: vertical; }
.mh-guide .mh-field input:focus-visible,
.mh-guide .mh-field select:focus-visible,
.mh-guide .mh-field textarea:focus-visible { outline: 3px solid var(--g-yellow); outline-offset: 0; box-shadow: 0 0 0 2px var(--g-ink); }
.mh-guide .mh-field__hint { font-size: 13px; line-height: 1.45; opacity: 0.8; }
.mh-guide .mh-fieldset { margin: 0 0 24px; padding: 0; border: 0; min-width: 0; }
.mh-guide .mh-fieldset legend { padding: 0; margin-bottom: 12px; }
.mh-guide .mh-fieldset__row { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.mh-guide .mh-tool > .mh-fieldset .mh-fieldset__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 28px; }

/* Checkboxes and radios: a black square with a yellow tick */
.mh-guide .mh-check { position: relative; display: flex; align-items: flex-start; gap: 14px; margin: 0; padding: 0; cursor: pointer; font-size: 17px; line-height: 1.5; }
.mh-guide .mh-check input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; cursor: pointer; }
.mh-guide .mh-check > span:first-of-type { flex: none; }
.mh-guide .mh-check .mh-check__box {
  flex: none;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  border: 2px solid var(--g-ink);
  border-radius: 4px;
  background: transparent;
}
.mh-guide .mh-check input:checked + .mh-check__box {
  background: var(--g-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffed00' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 12.5l4.2 4.2 8.8-9.4'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.mh-guide .mh-check input:focus-visible + .mh-check__box { outline: 3px solid var(--g-ink); outline-offset: 3px; }
.mh-guide .mh-check__text { display: block; }
.mh-guide .mh-check__text small { display: block; margin-top: 4px; font-size: 14px; line-height: 1.5; font-weight: 400; opacity: 0.85; }
.mh-guide .mh-check input:checked ~ .mh-check__text strong { text-decoration: line-through; text-decoration-thickness: 2px; }

.mh-guide .mh-tool__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 20px; }
.mh-guide .mh-tool__status { font-size: 15px; font-weight: 700; }
.mh-guide .mh-tool button.mh-painike { padding: 16px 30px; }

/* Result panels */
.mh-guide .mh-result {
  margin-top: 28px;
  padding: 28px 32px;
  background: var(--g-yellow);
  border-radius: 4px;
}
.mh-guide .mh-result__row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; padding: 12px 0; border-top: 1px solid rgba(0, 0, 0, 0.35); }
.mh-guide .mh-result__row:first-child { border-top: 0; padding-top: 0; }
.mh-guide .mh-result__row:last-child { padding-bottom: 0; }
.mh-guide .mh-result__value { font-size: 28px; font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; }

/* Comparison: three quote cards, then the result */
.mh-guide .mh-compare { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-bottom: 8px; }
.mh-guide .mh-quote { margin: 0; padding: 24px; border: 2px solid var(--g-ink); border-radius: 4px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.mh-guide .mh-quote__head { display: flex; align-items: center; gap: 12px; }
.mh-guide .mh-quote__badge { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--g-ink); color: var(--g-yellow); font-size: 17px; line-height: 36px; font-weight: 700; text-align: center; }
.mh-guide .mh-quote__head input { flex: 1; min-width: 0; min-height: 44px; padding: 8px 12px; border: 2px solid var(--g-ink); border-radius: 4px; font: inherit; font-size: 16px; background: #fff; }
.mh-guide .mh-field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: end; }
.mh-guide .mh-field-pair[hidden] { display: none; }
.mh-guide .mh-quote .mh-fieldset { margin: 0; }
.mh-guide .mh-quote .mh-check { font-size: 15px; }
.mh-guide .mh-quote .mh-check .mh-check__box { width: 24px; height: 24px; }
.mh-guide .mh-quote .mh-fieldset__row { flex-direction: column; gap: 10px; }

.mh-guide .mh-table-out { margin-top: 28px; overflow-x: auto; }
.mh-guide .mh-table-out table { border-top: 2px solid var(--g-ink); }
.mh-guide .mh-table-out td, .mh-guide .mh-table-out th { padding-right: 20px; }
.mh-guide .mh-table-out .is-best td:first-child { box-shadow: inset 6px 0 0 var(--g-yellow); padding-left: 14px; }
.mh-guide .mh-table-out .is-best { background: rgba(255, 237, 0, 0.35); }
.mh-guide .mh-missing { margin: 0; padding: 0; list-style: none; font-size: 15px; line-height: 1.5; }
.mh-guide .mh-missing li { position: relative; margin: 0 0 6px; padding-left: 22px; font-size: 15px; line-height: 1.5; }
.mh-guide .mh-missing li::before { content: "?"; position: absolute; left: 0; top: 0; width: 16px; height: 16px; background: none; font-size: 15px; line-height: 1.5; font-weight: 700; }
.mh-guide .mh-note { margin: 20px 0 0 !important; font-size: 15px !important; line-height: 1.6 !important; }

/* Tabs */
.mh-guide .mh-tabs__list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; }
.mh-guide .mh-tabs__list li { margin: 0; padding: 0; }
.mh-guide .mh-tabs__list li::before { display: none; }
.mh-guide .mh-tab {
  display: block;
  padding: 14px 24px;
  border: 2px solid var(--g-ink);
  border-radius: 4px;
  background: transparent;
  color: var(--g-ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  cursor: pointer;
}
.mh-guide .mh-tab[aria-selected="true"] { background: var(--g-ink); color: var(--g-yellow); }
.mh-guide .mh-tab:focus-visible { outline: 3px solid var(--g-ink); outline-offset: 3px; }
.mh-guide .mh-tabs:not(.is-ready) .mh-tabs__list { display: none; }
.mh-guide .mh-tabs:not(.is-ready) .mh-tabs__panel + .mh-tabs__panel { margin-top: 36px; }
.mh-guide .mh-tabs__panel[hidden] { display: none; }
.mh-guide .mh-tabs__panel > :last-child { margin-bottom: 0; }
.mh-guide .mh-tabs__panel h3 { margin: 0 0 14px; }
.mh-guide .mh-tabs__fact { margin: 20px 0 0 !important; padding: 18px 22px; border-left: 6px solid var(--g-ink); font-size: 16px !important; line-height: 1.6 !important; background: rgba(255, 255, 255, 0.0); }

/* Progress */
.mh-guide .mh-progress { display: flex; align-items: center; gap: 16px; margin: 0 0 28px; }
.mh-guide .mh-progress__bar { flex: 1; height: 14px; border: 2px solid var(--g-ink); border-radius: 8px; overflow: hidden; background: transparent; }
.mh-guide .mh-progress__fill { display: block; height: 100%; width: 0; background: var(--g-ink); transition: width 0.25s ease; }
.mh-guide .mh-progress__label { flex: none; font-size: 15px; font-weight: 700; min-width: 7em; text-align: right; }
.mh-guide .mh-questions { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; max-width: none !important; }
.mh-guide .mh-questions li { margin: 0; padding: 0 0 22px; border-bottom: 1px solid rgba(0, 0, 0, 0.3); }
.mh-guide .mh-questions li::before { display: none; }
.mh-guide .mh-questions li:last-child { border-bottom: 0; padding-bottom: 0; }

.mh-guide .mh-tool noscript p { margin-top: 12px; font-size: 16px; }
.mh-guide .mh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Article components (opt-in, see inc/Guide.php): trust bar, icon panel, table of contents, cards, steps,
   comparison example, copyable template. Brand rules: yellow and black, nothing centred, no white boxes on yellow
   (cards and examples on a yellow section are outlined and transparent). ---------- */

.mh-guide-sec, .mh-guide-calc { scroll-margin-top: 96px; }
.mh-guide .nw { white-space: nowrap; }

/* Trust bar: four facts from the live pages, directly under the hero */
.mh-guide .mh-guide-trust { background: #fff; border-top: 2px solid var(--g-ink); border-bottom: 2px solid var(--g-ink); }
.mh-guide .mh-guide-trust ul.mh-guide-trust__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; max-width: none; }
.mh-guide .mh-guide-trust ul.mh-guide-trust__list > li { display: flex; align-items: center; gap: 14px; margin: 0; padding: 20px 20px 20px 0; font-size: 15px; line-height: 1.4; font-weight: 700; }
.mh-guide .mh-guide-trust ul.mh-guide-trust__list > li + li { padding-left: 24px; border-left: 1px solid rgba(0, 0, 0, 0.25); }
.mh-guide .mh-guide-trust ul.mh-guide-trust__list > li::before { display: none; }
.mh-guide .mh-guide-trust svg { flex: none; width: 28px; height: 28px; }

/* Icon circle: yellow with a black icon on white sections, black with a yellow icon on yellow sections */
.mh-guide .mh-ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--g-yellow); color: var(--g-ink); }
.mh-guide .mh-ic svg { width: 26px; height: 26px; }
.mh-guide .mh-guide-sec--yellow .mh-ic { background: var(--g-ink); color: var(--g-yellow); }

/* Icon summary panel (max 7 items) beside the text */
.mh-guide .mh-guide-sec ul.mh-panel { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; max-width: none; }
.mh-guide .mh-guide-sec ul.mh-panel > li.mh-panel__item { display: flex; align-items: flex-start; gap: 18px; margin: 0; padding: 0; font-size: 16px; line-height: 1.5; }
.mh-guide .mh-guide-sec ul.mh-panel > li::before { display: none; }
.mh-guide .mh-guide-sec .mh-panel__txt strong { display: block; font-size: 18px; line-height: 1.3; font-weight: 700; }
.mh-guide .mh-guide-sec .mh-panel__txt > span { display: block; margin-top: 3px; font-size: 16px; line-height: 1.5; }

/* The table of contents: its own section, two columns */
.mh-guide .mh-guide-sec ol.mh-toc { columns: 2; column-gap: 40px; margin: 0; padding: 0; list-style: none; max-width: none; }
.mh-guide .mh-guide-sec ol.mh-toc > li { break-inside: avoid; margin: 0; padding: 0; border-bottom: 1px solid rgba(0, 0, 0, 0.25); font-size: 17px; line-height: 1.4; }
.mh-guide .mh-guide-sec ol.mh-toc > li::before { display: none; }
.mh-guide .mh-guide-sec ol.mh-toc a { display: flex; align-items: baseline; gap: 12px; padding: 14px 0; font-weight: 700; text-decoration: none; }
.mh-guide .mh-guide-sec ol.mh-toc a::after { content: "\2193"; margin-left: auto; font-weight: 700; }
.mh-guide .mh-guide-sec ol.mh-toc a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }

/* Card grid with real content */
.mh-guide .mh-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; }
.mh-guide .mh-guide-sec .mh-card { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 24px; border: 2px solid var(--g-ink); border-radius: 4px; background: #fff; }
.mh-guide .mh-guide-sec--yellow .mh-card { background: #fff; }
.mh-guide .mh-card__chip { align-self: flex-start; padding: 5px 12px; background: var(--g-yellow); color: var(--g-ink); font-size: 12px; line-height: 1.2; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.mh-guide .mh-guide-sec--yellow .mh-card__chip { background: var(--g-ink); color: var(--g-yellow); }
.mh-guide .mh-guide-sec .mh-card h3 { margin: 4px 0 0; font-size: 22px; line-height: 1.4; overflow-wrap: anywhere; hyphens: auto; }
.mh-guide .mh-guide-sec .mh-card p { margin: 0; max-width: none; font-size: 16px; line-height: 1.6; }
/* A card with a photo on top (4:3, the photo fills the width, a black line under it). The frame reserves the space, so nothing jumps. */
.mh-guide .mh-guide-sec .mh-card--media { overflow: hidden; }
.mh-guide .mh-card__media { margin: -24px -24px 6px; aspect-ratio: 4 / 3; border-bottom: 2px solid var(--g-ink); background: #fff; overflow: hidden; }
.mh-guide .mh-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Steps timeline */
.mh-guide .mh-guide-sec ol.mh-steps { counter-reset: step; margin: 0; padding: 0; list-style: none; max-width: none; }
.mh-guide .mh-guide-sec ol.mh-steps > li { counter-increment: step; position: relative; margin: 0; padding: 0 0 32px 76px; min-height: 84px; font-size: 16px; line-height: 1.6; }
.mh-guide .mh-guide-sec ol.mh-steps > li:last-child { padding-bottom: 0; }
.mh-guide .mh-guide-sec ol.mh-steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 52px; height: 52px; border-radius: 50%; background: var(--g-ink); color: var(--g-yellow); font-size: 22px; line-height: 52px; font-weight: 800; text-align: center; }
.mh-guide .mh-guide-sec ol.mh-steps > li::after { content: ""; position: absolute; left: 25px; top: 58px; bottom: 6px; width: 2px; background: rgba(0, 0, 0, 0.4); }
.mh-guide .mh-guide-sec ol.mh-steps > li:last-child::after { display: none; }
.mh-guide .mh-steps__chip { display: inline-block; padding: 4px 12px; background: var(--g-yellow); color: var(--g-ink); font-size: 12px; line-height: 1.2; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.mh-guide .mh-guide-sec--yellow .mh-steps__chip { background: var(--g-ink); color: var(--g-yellow); }
.mh-guide .mh-guide-sec .mh-steps h3 { margin: 10px 0 4px; font-size: 22px; line-height: 1.4; }
.mh-guide .mh-guide-sec .mh-steps p { margin: 0; max-width: 62ch; font-size: 16px; line-height: 1.6; }

/* Comparison example: two cards with rows and a total */
.mh-guide .mh-example { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0; }
.mh-guide .mh-example__card { border: 2px solid var(--g-ink); border-radius: 4px; background: #fff; }
.mh-guide .mh-guide-sec--yellow .mh-example__card { background: #fff; }
.mh-guide .mh-guide-sec .mh-example__card h3 { margin: 0; padding: 18px 24px; border-bottom: 2px solid var(--g-ink); font-size: 22px; line-height: 1.4; }
.mh-guide .mh-example__card dl { margin: 0; padding: 4px 24px 6px; }
.mh-guide .mh-example__card dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid rgba(0, 0, 0, 0.25); font-size: 16px; line-height: 1.45; }
.mh-guide .mh-example__card dl > div:first-child { border-top: 0; }
.mh-guide .mh-example__card dt { margin: 0; }
.mh-guide .mh-example__card dd { margin: 0; font-weight: 700; text-align: right; white-space: nowrap; }
.mh-guide .mh-example__card dl > div.is-total { margin-top: 4px; border-top: 2px solid var(--g-ink); font-size: 19px; font-weight: 800; }

/* Copyable template: the message to send to the movers; the parts to fill in are highlighted */
.mh-guide .mh-template { margin: 0; border: 2px solid var(--g-ink); border-radius: 4px; background: #fff; }
.mh-guide .mh-guide-sec--yellow .mh-template { background: #fff; }
.mh-guide .mh-template__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding: 16px 24px; border-bottom: 2px solid var(--g-ink); }
.mh-guide .mh-guide-sec .mh-template__head h3 { margin: 0; font-size: 20px; line-height: 1.3; }
.mh-guide .mh-template__head .mh-painike { padding: 14px 26px; }
.mh-guide .mh-template__body { margin: 0; padding: 24px; font-size: 16px; line-height: 1.75; white-space: pre-line; }
.mh-guide .mh-fill { padding: 1px 5px; border-radius: 2px; background: var(--g-yellow); color: var(--g-ink); font-weight: 700; }
.mh-guide .mh-guide-sec--yellow .mh-fill { background: var(--g-ink); color: var(--g-yellow); }
.mh-guide .mh-guide-sec p.mh-template__status { margin: 0; padding: 0 24px 18px; max-width: none; font-size: 15px; font-weight: 700; }
.mh-guide .mh-template__status:empty { display: none; }

/* ---------- Tablets and phones ---------- */

@media (max-width: 1100px) {
  .mh-guide { --g-gap: 56px; --g-pad: 80px; }
  .mh-guide .mh-compare { grid-template-columns: 1fr; }
  .mh-guide .mh-tool__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mh-guide .mh-tool > .mh-fieldset .mh-fieldset__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
  .mh-guide-hero { padding: 48px 0 72px; }
  .mh-guide-hero__grid,
  .mh-guide-sec__grid,
  .mh-guide-cta__grid,
  .mh-guide .mh-guide-calc .mh-guide-calc__grid { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .mh-guide .mh-guide-sec ul.mh-guide-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .mh-guide { --g-pad: 56px; --g-side: 10px; font-size: 17px; }
  .mh-guide .mh-guide-sec h2,
  .mh-guide .mh-guide-calc h2 { font-size: 28px; }
  .mh-guide .mh-guide-calc .mhi-lead { font-size: 17px; }
  .mh-guide .mh-guide-sec h3,
  .mh-guide .mh-guide-sec .mh-card h3,
  .mh-guide .mh-guide-sec .mh-steps h3,
  .mh-guide .mh-guide-sec .mh-example__card h3,
  .mh-guide .mh-guide-sec .mh-guide-card__title { font-size: 20px; }
  .mh-guide .mh-guide-sec h3 { margin-top: 32px; }
  .mh-guide .mh-guide-sec p, .mh-guide .mh-guide-sec li { font-size: 17px; line-height: 1.62; }
  .mh-guide .mh-guide-sec p.is-lead { font-size: 17px; }
  .mh-guide .mh-guide-sec table { font-size: 16px; }
  .mh-guide .mh-guide-sec .mh-panel__txt strong { font-size: 17px; }
  .mh-guide .mh-guide-sec th { font-size: 16px; }
  .mh-guide .mh-guide-sec.sec-summary ul > li { font-size: 17px; padding-left: 40px; }
  .mh-guide .mh-guide-standfirst { font-size: 17px; }
  .mh-guide-hero__text { gap: 22px; }
  .mh-guide-facts { gap: 18px 28px; }
  .mh-guide-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .mh-guide-actions .mh-painike, .mh-guide-cta__text .mh-painike { width: 100%; }
  .mh-guide .mh-guide-sec ul.mh-guide-cards { grid-template-columns: minmax(0, 1fr); }
  .mh-guide .mh-tool { padding: 22px 18px; }
  .mh-guide .mh-tool__grid { grid-template-columns: minmax(0, 1fr); }
  /* Article tables marked .mh-stack: one card per row, the column name above each value (no sideways scrolling) */
  .mh-guide .mh-guide-sec figure.mh-stack { overflow: visible; }
  .mh-guide .mh-guide-sec .mh-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .mh-guide .mh-guide-sec .mh-stack table,
  .mh-guide .mh-guide-sec .mh-stack tbody,
  .mh-guide .mh-guide-sec .mh-stack tr,
  .mh-guide .mh-guide-sec .mh-stack td { display: block; width: 100%; }
  .mh-guide .mh-guide-sec .mh-stack table { border-top: 0; }
  .mh-guide .mh-guide-sec .mh-stack tr { padding: 16px 0 6px; border-top: 1px solid rgba(0, 0, 0, 0.25); }
  .mh-guide .mh-guide-sec .mh-stack tr:first-child { border-top: 2px solid var(--g-ink); }
  .mh-guide .mh-guide-sec .mh-stack td { padding: 0 0 10px; border: 0; font-size: 16px; }
  .mh-guide .mh-guide-sec .mh-stack td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 14px; line-height: 1.4; font-weight: 600; opacity: 0.75; }
  .mh-guide .mh-guide-sec .mh-stack td:first-child { font-size: 17px; font-weight: 700; }
  .mh-guide .mh-guide-sec .mh-stack td:first-child::before { display: none; }
  .mh-guide .mh-vs { padding: 22px 18px; }
  .mh-guide .mh-vs__head { display: none; }
  .mh-guide .mh-vs__row { grid-template-columns: minmax(0, 1fr); row-gap: 8px; padding: 18px 0; }
  .mh-guide .mh-vs__lbl { display: inline; font-weight: 700; }
  .mh-guide .mh-vs__opts { flex-wrap: wrap; margin-top: 4px; }
  .mh-guide .mh-vs__opts .mh-vs__lbl { display: block; flex: 1 0 100%; font-size: 14px; }
  .mh-guide .mh-tool > .mh-fieldset .mh-fieldset__row { grid-template-columns: minmax(0, 1fr); }
  /* The comparison result: one card per quote instead of a table that scrolls sideways */
  .mh-guide .mh-table-out { overflow: visible; }
  .mh-guide .mh-table-out table,
  .mh-guide .mh-table-out tbody,
  .mh-guide .mh-table-out tr,
  .mh-guide .mh-guide-sec .mh-table-out td { display: block; width: 100%; }
  .mh-guide .mh-table-out thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .mh-guide .mh-table-out table { border-top: 0; }
  .mh-guide .mh-table-out tr { padding: 18px 0 8px; border-top: 2px solid var(--g-ink); }
  .mh-guide .mh-table-out tr:first-child { border-top: 2px solid var(--g-ink); }
  .mh-guide .mh-guide-sec .mh-table-out td { padding: 0 0 12px; border: 0; }
  .mh-guide .mh-guide-sec .mh-table-out td::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: 14px; line-height: 1.4; font-weight: 600; opacity: 0.75; }
  .mh-guide .mh-guide-sec .mh-table-out td:first-child { font-size: 20px; font-weight: 700; }
  .mh-guide .mh-guide-sec .mh-table-out td:first-child::before { display: none; }
  .mh-guide .mh-table-out .is-best { padding-left: 14px; padding-right: 14px; box-shadow: inset 6px 0 0 var(--g-ink); }
  .mh-guide .mh-table-out .is-best td:first-child { box-shadow: none; padding-left: 0; }
  .mh-guide .mh-quote { padding: 18px; }
  .mh-guide .mh-result { padding: 22px 20px; }
  .mh-guide .mh-result__value { font-size: 24px; }
  .mh-guide .mh-faq summary { font-size: 17px; padding-right: 44px; }
  .mh-guide .mh-faq details > div { padding-right: 0; }
  .mh-guide .mh-progress { flex-wrap: wrap; }
  .mh-guide .mh-progress__label { text-align: left; }
  .mh-guide .mh-tabs__list { flex-direction: column; }
  .mh-guide .mh-tab { width: 100%; text-align: left; }
  .mh-guide .mh-tool__actions .mh-painike { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .mh-guide * { transition: none !important; }
}

/* ---------- Article components: tablets and phones ---------- */
@media (max-width: 1023px) {
  .mh-guide .mh-guide-trust ul.mh-guide-trust__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mh-guide .mh-guide-trust ul.mh-guide-trust__list > li { padding: 16px 16px 16px 0; }
  .mh-guide .mh-guide-trust ul.mh-guide-trust__list > li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .mh-guide .mh-guide-trust ul.mh-guide-trust__list > li:nth-child(n + 3) { border-top: 1px solid rgba(0, 0, 0, 0.25); }
  .mh-guide .mh-guide-sec ol.mh-toc { columns: 1; }
  .mh-guide .mh-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mh-guide .mh-example { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  .mh-guide .mh-guide-trust ul.mh-guide-trust__list { grid-template-columns: minmax(0, 1fr); }
  .mh-guide .mh-guide-trust ul.mh-guide-trust__list > li,
  .mh-guide .mh-guide-trust ul.mh-guide-trust__list > li:nth-child(n) { padding: 14px 0; border-left: 0; font-size: 16px; }
  .mh-guide .mh-guide-trust ul.mh-guide-trust__list > li + li { border-top: 1px solid rgba(0, 0, 0, 0.25); }
  .mh-guide .mh-ic { width: 46px; height: 46px; }
  .mh-guide .mh-ic svg { width: 23px; height: 23px; }
  .mh-guide .mh-guide-sec ul.mh-panel > li.mh-panel__item { gap: 14px; }
  .mh-guide .mh-guide-sec ol.mh-steps > li { padding-left: 64px; }
  .mh-guide .mh-guide-sec ol.mh-steps > li::before { width: 44px; height: 44px; font-size: 19px; line-height: 44px; }
  .mh-guide .mh-guide-sec ol.mh-steps > li::after { left: 21px; top: 50px; }
  .mh-guide .mh-guide-sec .mh-card { padding: 20px 18px; }
  .mh-guide .mh-card__media { margin: -20px -18px 6px; }
  .mh-guide .mh-example__card dl { padding: 4px 18px 6px; }
  .mh-guide .mh-example__card dd { white-space: normal; }
  .mh-guide .mh-template__head { padding: 14px 18px; }
  .mh-guide .mh-template__head .mh-painike { width: 100%; }
  .mh-guide .mh-template__body { padding: 18px; font-size: 16px; }
}

/* ---------- The box estimator ([laatikkoarvio], inc/Guide.php, assets/js/box-estimator.js) ----------
   A white card with a black frame that works on a yellow or a white section: the questions left, the result on yellow right
   (stacked on phones), and the rule printed under it. */
.mh-guide .mh-guide-sec__body > .mh-est { margin: 0; }
.mh-guide .mh-est { border: 2px solid var(--g-ink); border-radius: 4px; background: #fff; }
.mh-guide .mh-guide-sec .mh-est p { margin: 0; max-width: none; }
.mh-guide .mh-est__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.mh-guide .mh-est__form { display: flex; flex-direction: column; gap: 28px; margin: 0; padding: 36px; }
.mh-guide .mh-est__field { display: flex; flex-direction: column; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.mh-guide .mh-est__field label,
.mh-guide .mh-est__field legend { margin: 0; padding: 0; font-size: 16px; line-height: 1.3; font-weight: 700; }
.mh-guide .mh-guide-sec .mh-est p.mh-est__note { font-size: 15px; line-height: 1.5; font-weight: 400; }
.mh-guide .mh-est__size { display: flex; align-items: center; gap: 10px; }
.mh-guide .mh-est__size input { width: 150px; min-height: 52px; padding: 0 14px; border: 2px solid var(--g-ink); border-radius: 4px; background: #fff; color: var(--g-ink); font: inherit; font-size: 20px; font-weight: 700; }
.mh-guide .mh-est__size span { font-size: 20px; font-weight: 700; }
.mh-guide .mh-est__range { --est-fill: 23%; -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; padding: 0; border: 0; background: transparent; cursor: pointer; }
.mh-guide .mh-est__range::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(to right, var(--g-ink) var(--est-fill), rgba(0, 0, 0, 0.25) var(--est-fill)); }
.mh-guide .mh-est__range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; box-sizing: border-box; width: 28px; height: 28px; margin-top: -12px; border-radius: 50%; background: var(--g-yellow); border: 3px solid var(--g-ink); }
.mh-guide .mh-est__range::-moz-range-track { height: 4px; border-radius: 2px; background: rgba(0, 0, 0, 0.25); }
.mh-guide .mh-est__range::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--g-ink); }
.mh-guide .mh-est__range::-moz-range-thumb { box-sizing: border-box; width: 28px; height: 28px; border-radius: 50%; background: var(--g-yellow); border: 3px solid var(--g-ink); }
.mh-guide .mh-est__limits { display: flex; justify-content: space-between; margin-top: -8px; font-size: 15px; line-height: 1.3; opacity: 0.8; }
.mh-guide .mh-est select { width: 100%; min-height: 52px; padding: 0 14px; border: 2px solid var(--g-ink); border-radius: 4px; background-color: #fff; color: var(--g-ink); font: inherit; font-size: 17px; font-weight: 700; }
.mh-guide .mh-est input:focus-visible,
.mh-guide .mh-est select:focus-visible { outline: 3px solid var(--g-ink); outline-offset: 3px; }
.mh-guide .mh-guide-sec .mh-est p.mh-est__hint { font-size: 15px; line-height: 1.45; font-weight: 700; }
.mh-guide .mh-est__hint[hidden] { display: none; }
.mh-guide .mh-est__opts { display: flex; gap: 8px; }
.mh-guide .mh-est__opts input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.mh-guide .mh-est__opts label { flex: 1 1 0; display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 6px 8px; border: 2px solid var(--g-ink); border-radius: 4px; font-size: 17px; line-height: 1.2; font-weight: 700; cursor: pointer; user-select: none; }
.mh-guide .mh-est__opts label:hover { background: rgba(0, 0, 0, 0.08); }
.mh-guide .mh-est__opts input:checked + label { background: var(--g-ink); color: var(--g-yellow); }
.mh-guide .mh-est__opts input:focus-visible + label { outline: 3px solid var(--g-ink); outline-offset: 3px; }

.mh-guide .mh-est__result { display: flex; flex-direction: column; gap: 18px; padding: 36px; border-left: 2px solid var(--g-ink); background: #fff; }
.mh-guide .mh-guide-sec .mh-est p.mh-est__placeholder { font-size: 17px; line-height: 1.55; font-weight: 400; }
.mh-guide .mh-guide-sec .mh-est p.mh-est__big { display: flex; align-items: baseline; gap: 14px; line-height: 1; }
.mh-guide .mh-est__big strong { font-size: 76px; line-height: 1; font-weight: 800; letter-spacing: -0.02em; }
.mh-guide .mh-est__big span { font-size: 26px; line-height: 1.1; font-weight: 700; }
.mh-guide .mh-guide-sec .mh-est p.mh-est__sub { font-size: 16px; line-height: 1.55; }
.mh-guide .mh-est__sum { margin: 0; padding: 0; border-top: 2px solid var(--g-ink); }
.mh-guide .mh-est__sum > div { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); column-gap: 18px; align-items: baseline; margin: 0; padding: 12px 0; border-bottom: 1px solid rgba(0, 0, 0, 0.3); }
.mh-guide .mh-est__sum dt { margin: 0; font-size: 16px; line-height: 1.35; font-weight: 700; }
.mh-guide .mh-est__sum dd { margin: 0; font-size: 16px; line-height: 1.4; }
.mh-guide .mh-est__sum .is-total { border-bottom: 0; }
.mh-guide .mh-est__sum .is-total dd { font-size: 24px; font-weight: 800; }
.mh-guide .mh-guide-sec .mh-est p.mh-est__spare { font-size: 15px; line-height: 1.5; }
.mh-guide .mh-est__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.mh-guide .mh-est__actions .mh-painike { padding: 16px var(--mh-btn-pad-x); }
.mh-guide .mh-guide-sec .mh-est a.mh-est__link { font-size: 16px; font-weight: 700; }

.mh-guide .mh-est__how { margin: 0; padding: 0 36px; border-top: 2px solid var(--g-ink); background: #fff; }
.mh-guide .mh-est__how summary { padding: 18px 0; font-size: 16px; line-height: 1.4; font-weight: 700; cursor: pointer; }
.mh-guide .mh-est__how[open] summary { padding-bottom: 8px; }
.mh-guide .mh-guide-sec .mh-est__how p { margin: 0 0 14px; font-size: 16px; line-height: 1.6; }
.mh-guide .mh-guide-sec .mh-est__how ul { margin: 0 0 14px; padding: 0 0 0 1.2em; }
.mh-guide .mh-guide-sec .mh-est__how li { margin: 0 0 4px; font-size: 16px; line-height: 1.55; }
.mh-guide .mh-est__how[open] { padding-bottom: 14px; }

@media (max-width: 900px) {
  .mh-guide .mh-est__grid { grid-template-columns: minmax(0, 1fr); }
  .mh-guide .mh-est__result { border-left: 0; border-top: 2px solid var(--g-ink); }
}

@media (max-width: 640px) {
  .mh-guide .mh-est__form, .mh-guide .mh-est__result { padding: 22px 18px; }
  .mh-guide .mh-est__how { padding: 0 18px; }
  .mh-guide .mh-est__big strong { font-size: 60px; }
  .mh-guide .mh-est__sum > div { grid-template-columns: minmax(0, 1fr); row-gap: 2px; }
  .mh-guide .mh-est__actions .mh-painike { width: 100%; text-align: center; }
}

/* ---------- The box estimator's delivery field: a municipality with suggestions, and a pick-up checkbox ---------- */
.mh-guide .mh-est__combo { position: relative; }
.mh-guide .mh-est__combo input[type="text"] { width: 100%; min-height: 52px; padding: 0 14px; border: 2px solid var(--g-ink); border-radius: 4px; background: #fff; color: var(--g-ink); font: inherit; font-size: 17px; font-weight: 700; }
.mh-guide .mh-est__combo input[type="text"]::placeholder { font-weight: 400; color: rgba(0, 0, 0, 0.55); }
.mh-guide .mh-est__combo input[type="text"]:disabled { opacity: 0.4; }
.mh-guide .mh-est__combo input:focus-visible { outline: 3px solid var(--g-ink); outline-offset: 3px; }
.mh-guide .mh-guide-sec ul.mh-est__suggest { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px); max-height: 280px; margin: 0; padding: 0; overflow-y: auto; overscroll-behavior: contain; border: 2px solid var(--g-ink); border-radius: 4px; background: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2); list-style: none; max-width: none; }
.mh-guide .mh-guide-sec ul.mh-est__suggest[hidden] { display: none; }
.mh-guide .mh-guide-sec ul.mh-est__suggest > li { margin: 0; padding: 12px 14px; min-height: 44px; font-size: 16px; line-height: 1.3; font-weight: 400; cursor: pointer; }
.mh-guide .mh-guide-sec ul.mh-est__suggest > li::before { display: none; }
.mh-guide .mh-guide-sec ul.mh-est__suggest > li strong { font-weight: 700; }
.mh-guide .mh-guide-sec ul.mh-est__suggest > li:hover,
.mh-guide .mh-guide-sec ul.mh-est__suggest > li.is-active { background: var(--g-yellow); }
.mh-guide .mh-est__pick { display: flex; align-items: flex-start; gap: 10px; margin-top: 2px; }
.mh-guide .mh-est__pick input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: #000; -webkit-appearance: checkbox; appearance: auto; border-radius: 3px; }
.mh-guide .mh-est__field .mh-est__pick label { font-size: 16px; line-height: 1.4; font-weight: 400; }
@media (max-width: 640px) {
  .mh-guide .mh-guide-sec ul.mh-est__suggest { max-height: 240px; }
}

/* ---------- Round 5 (24.11.2026): one button style with the front page, no eyebrow pills, compact phone cards, touch targets ---------- */

/* One button style like the front page: sentence case and an arrow after the text (landing.css, body.mh-v2 .mh-landing .mh-painike) */
.mh-guide .mh-painike {
  --mh-btn-pad-x: 32px;
  gap: 0.625rem;
  letter-spacing: 0;
  text-transform: none;
  font-size: 1rem;
  padding-left: var(--mh-btn-pad-x);
  padding-right: var(--mh-btn-pad-x);
}

.mh-guide .mh-painike:hover,
.mh-guide .mh-painike:focus-visible {
  padding-left: var(--mh-btn-pad-x);
  padding-right: var(--mh-btn-pad-x);
}

.mh-guide .mh-painike::after {
  position: static;
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  opacity: 1;
  transform: none;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
  transition: transform 0.2s ease;
}

.mh-guide .mh-painike:hover::after,
.mh-guide .mh-painike:focus-visible::after { transform: translateX(3px); }

/* Pills above card titles and timeline steps are not used any more (the heading carries the information); old markup keeps working, but plain */
.mh-guide .mh-card__chip,
.mh-guide .mh-steps__chip { padding: 0; background: none; color: inherit; font-size: 14px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.mh-guide .mh-guide-sec--yellow .mh-card__chip,
.mh-guide .mh-guide-sec--yellow .mh-steps__chip { background: none; color: inherit; }

/* Touch targets of at least 44 px */
.mh-guide .mh-est__pick { align-items: center; min-height: 44px; }
.mh-guide .mh-est__field .mh-est__pick label { display: flex; align-items: center; min-height: 44px; }
.mh-guide .mh-guide-sec .mh-est a.mh-est__link { display: inline-flex; align-items: center; min-height: 44px; }
.mh-guide .mh-guide-card { position: relative; }
.mh-guide .mh-guide-sec .mh-guide-card__title a::after { content: ""; position: absolute; inset: 0; }
@media (max-width: 1023px) {
  .mh-guide .mh-guide-crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
}

@media (max-width: 640px) {
  .mh-guide-hero__media img { aspect-ratio: 16 / 9; }
  .mh-guide .mh-cards { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  /* Compact cards on phones: a small photo on the left, the text on the right (the page was 20 screens long with full-width photos) */
  .mh-guide .mh-guide-sec .mh-card--media { display: grid; grid-template-columns: 104px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; align-items: start; padding: 14px; }
  .mh-guide .mh-guide-sec .mh-card--media .mh-card__media { grid-column: 1; grid-row: 1 / span 3; width: 104px; margin: 0; aspect-ratio: 1 / 1; border: 2px solid var(--g-ink); }
  .mh-guide .mh-guide-sec .mh-card--media > :not(.mh-card__media) { grid-column: 2; }
  .mh-guide .mh-guide-sec .mh-card--media h3 { margin: 0; }
  .mh-guide .mh-guide-sec .mh-card--media p { font-size: 15px; line-height: 1.5; }
}
