/* Scoped additions for WordPress content templates; the original site CSS stays authoritative. */
.hm-manual { overflow: clip; }
.hm-manual .manual-step-copy { min-width: 0; flex: 1; }
.hm-contacts-intro { margin: 1.5rem 0 2rem; }
.hm-contacts-sales { margin: 1.5rem 0 3rem; }
.hm-contacts-sales a, .hm-contacts-intro a { text-decoration: underline; text-underline-offset: .18em; }
.hm-article-image { max-width: 100%; height: auto; margin: 1.5rem 0; }
.hm-help > .cont { display: grid; gap: 24px; }
.hm-help > .cont > .catalog__title,
.hm-help > .cont > .hm-breadcrumbs,
.hm-help > .cont > .alertinfo,
.hm-help > .cont > .search { margin: 0; }
.hm-help > .cont > .catalog__descript > :last-child { margin-bottom: 0; }
.hm-help-tabs .tabs__content--item { scroll-margin-top: 2rem; }
.hm-help-tabs .tabs__content--item h2 { margin-top: 0; }
.hm-help-tabs .videos__box video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.hm-help-tabs .aside-nav { gap: .75rem; }
.hm-help-tabs .aside-nav__box { min-height: 3.75rem; padding: 1rem 1.25rem; font-size: 1rem; justify-content: center; box-shadow: none; }
.hm-help-tabs .aside-nav__box:hover, .hm-help-tabs .aside-nav__box.active { box-shadow: none; }
.hm-help-tabs .catalog__posts--item.active { margin-top: 0; }
.hm-help-tabs .instruct-box { padding: 1.25rem .5rem; font-size: 1rem; align-items: center; }
.hm-help-tabs .catalog__posts .faq-col { padding-top: 1rem; row-gap: .75rem; }
.hm-help-tabs .faq-box-content { padding-top: .75rem; padding-left: 3rem; }
.hm-help-tabs .aside-nav__box:focus-visible,
.hm-help-tabs .instruct-box:focus-visible,
.hm-help-tabs .search__button:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.catalog .alertinfo { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin: 1.5rem 0; padding: 1.25rem; background: #fd4f2613; }
.catalog .alertinfo p { flex: 1 1 20rem; margin: 0; }
.catalog .alertinfo .button { flex: 0 1 auto; }
@media (max-width: 767px) {
  .hm-help > .cont { gap: 20px; }
  .hm-help-tabs { gap: 20px; }
  .hm-help-tabs .aside-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hm-help-tabs .aside-nav__box { min-height: 3.5rem; padding: .75rem; }
  .hm-help-tabs .catalog__posts--item.active { margin-top: 0; }
  .hm-help-tabs .instruct-box { padding: 1rem .25rem; }
  .hm-contacts-intro { margin: 1rem 0; }
}

/* One reading column replaces legacy per-element 10vw indents. */
.article.hm-article { max-width: 52rem; padding-block: clamp(2rem, 4vw, 3.5rem) clamp(3rem, 5vw, 4.5rem); font-size: 1.125rem; line-height: 1.7; overflow-wrap: anywhere; }
.article.hm-article :is(p, h1, h2, h3, h4, h5, h6, ul, ol, blockquote, .column) { margin-left: 0; margin-right: 0; }
.article.hm-article :is(p, ul, ol, figure, .column, .wp-block-table) { margin-top: 0; margin-bottom: 1.5rem; }
.article.hm-article :is(h1, h2, h3, h4, h5, h6) { margin-top: 2.5rem; margin-bottom: 1rem; line-height: 1.4; }
.article.hm-article h3 { font-size: 1.5rem; }
.article.hm-article :is(ul, ol) { display: block; padding-left: 1.5em; padding-right: 0; }
.article.hm-article li + li { margin-top: .625rem; }
.article.hm-article li :is(ul, ol) { margin-top: .625rem; margin-bottom: 0; padding-left: 1.5em; }
.article.hm-article li > p { margin-bottom: .625rem; }
.article.hm-article li[data-list="bullet"] { list-style-type: disc; }
.article.hm-article blockquote { margin-top: 2rem; margin-bottom: 2rem; padding: clamp(1.25rem, 3vw, 2rem); }
.article.hm-article blockquote p + p { margin-top: 1rem; }
.article.hm-article figure { max-width: 100%; }
.article.hm-article img { display: block; max-width: 100%; height: auto; }
.article.hm-article figcaption { margin-top: .75rem; font-size: .875rem; line-height: 1.5; }
.article.hm-article a { text-decoration: underline; text-underline-offset: .2em; }
.article.hm-article .wp-block-table { overflow-x: auto; }
.article.hm-article .column { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; align-items: start; }
.article.hm-article .column > .col { min-width: 0; }
.article.hm-article .column > p { display: none; }
/* Legacy editor inserts empty paragraphs and line breaks between column blocks. */
.article.hm-article :is(.column, .col, .apps-shops) > br,
.article.hm-article :is(.column, .col, .apps-shops) > p:empty,
.article.hm-article :is(.column, .col, .apps-shops) > p:has(> br:only-child) { display: none; }
.article.hm-article > :first-child { margin-top: 0; }
.article.hm-article > :last-child { margin-bottom: 0; }
@media (max-width: 767px) {
  .article.hm-article { font-size: 1rem; }
  .article.hm-article .column { grid-template-columns: 1fr; }
  .article.hm-article :is(h1, h2) { font-size: 1.5rem; }
  .article.hm-article :is(h1, h2, h3, h4, h5, h6) { margin-top: 2rem; }
}
