/* Home page (templates/intona-home.php, content/intona-home.content.php, scripts/home.js).
   Only loaded there, so the rules for the navigation bar and the footer below affect no other
   page. Layout: full-width bands with a centred column of 1320px (.hm-wrap). */

.hm-page {
    --hm-red: rgb(191,40,27);
    --hm-red-light: #ff6a5a;
    --hm-ink: #1a1a1a;
    --hm-muted: #666;
    --hm-text: #555;
    --hm-line: #e2e2e2;
    --hm-rule: #dcdcd8;
    --hm-soft: #f5f5f3;
    --hm-well: transparent;
    --hm-wide: 1320px;
}

/* the news line or the hero follows the navigation bar directly; the promo line of _main.php
   ("made in Germany, we ship worldwide daily") is said by "Why Intona" further down */
.navbar-own {
    margin-bottom: 0;
}

.navbar-own:not(.topnav-pinned) {
    box-shadow: none;
}

.navbar-own + .wrap_ng {
    display: none;
}

#footer {
    margin-top: 0;
}

.hm-page a {
    text-decoration: none;
}

.hm-wrap {
    box-sizing: border-box;
    max-width: var(--hm-wide);
    margin: 0 auto;
    padding: 0 40px;
}

.hm-page h2, .hm-page h3 {
    font-family: 'Roboto-Medium', sans-serif;
    color: var(--hm-ink);
}

.hm-h2 {
    font-size: 32px;
    line-height: 1.2;
    margin: 0;
}

/* model numbers in the site's mono font */
.hm-model {
    font-family: 'Inconsolata', monospace;
    font-size: 12pt;
    letter-spacing: .02em;
    color: var(--hm-muted);
}

.hm-nowrap {
    white-space: nowrap;
}

.hm-btn {
    display: inline-block;
    font-family: 'Roboto-Medium', sans-serif;
    font-size: 12pt;
    padding: 8px 18px;
    border: 2px solid var(--hm-ink);
    border-radius: 3px;
    background: transparent;
    color: var(--hm-ink);
}

.hm-btn:hover, .hm-btn:focus {
    background: var(--hm-ink);
    color: white;
}

.hm-btn-red {
    background: var(--hm-red);
    border-color: var(--hm-red);
    color: white;
}

.hm-btn-red:hover, .hm-btn-red:focus {
    background: #a01f14;
    border-color: #a01f14;
    color: white;
}

.hm-page a:focus-visible, .hm-page button:focus-visible {
    outline: 2px solid var(--hm-red);
    outline-offset: 2px;
}


/* news line between the navigation bar and the hero; on phones the whole bar is the link */
.hm-news {
    background: #141417;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.hm-news-in {
    margin: 0 auto;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 11pt;
    line-height: 1.5;
    color: #b4b4bc;
}

.hm-news-label {
    font-family: 'Roboto-Medium', sans-serif;
    font-size: 9pt;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--hm-red-light);
    margin-right: 10px;
}

.hm-news-link {
    font-family: 'Roboto-Medium', sans-serif;
    color: #fff;
    white-space: nowrap;
    margin-left: 10px;
    border-bottom: 1px solid var(--hm-red);
}

.hm-news-link:hover, .hm-news-link:focus {
    color: var(--hm-red-light);
}

.hm-page .hm-news-link:focus-visible {
    outline-color: var(--hm-red-light);
}


/* hero carousel: one slide per product in home_heroes, swiped by native scroll snapping */
.hm-hero {
    position: relative;
    background: #0b0b0d;
    color: #e9e9ec;
    overflow: hidden;
}

.hm-track {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
}

.hm-track::-webkit-scrollbar {
    display: none;
}

.hm-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.hm-slide[data-stage="dark"] {
    background: #0b0b0d radial-gradient(ellipse 70% 90% at 72% 58%, #3b3c44 0%, #1a1a1f 45%, #0b0b0d 80%);
}

.hm-slide[data-stage="light"] {
    background: #dcdce0 radial-gradient(ellipse 70% 95% at 70% 55%, #f4f4f6 0%, #e7e7eb 50%, #d6d6db 100%);
    color: #1a1a1a;
}

.hm-slide[data-stage="photo"] {
    background: #000;
}

.hm-stage {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 5fr 7fr;
    align-items: center;
    gap: 40px;
    min-height: 540px;
    padding-top: 36px;
    padding-bottom: 36px;
    flex: 1;
    width: 100%;
}

.hm-kicker {
    font-family: 'Roboto-Medium', sans-serif;
    font-size: 10.5pt;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--hm-red-light);
    margin: 0 0 18px;
}

.hm-kicker span {
    color: #9a9aa3;
}

.hm-page .hm-hero h2 {
    font-family: 'Roboto-Medium', sans-serif;
    font-weight: normal;
    font-size: 50px;
    line-height: 1.08;
    color: #fff;
    margin: 0 0 22px;
    letter-spacing: -.005em;
}

.hm-sub {
    font-size: 15pt;
    line-height: 1.55;
    color: #c4c4cc;
    margin: 0 0 30px;
    max-width: 32em;
}

.hm-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hm-actions .hm-btn {
    font-size: 13pt;
    padding: 12px 30px;
    min-width: 190px;
    text-align: center;
}

.hm-hero .hm-btn {
    border-color: #fff;
    color: #fff;
}

.hm-hero .hm-btn:hover, .hm-hero .hm-btn:focus {
    background: #fff;
    color: #000;
}

.hm-hero .hm-btn-red, .hm-hero .hm-btn-red:focus {
    background: var(--hm-red);
    border-color: var(--hm-red);
    color: #fff;
}

.hm-hero .hm-btn-red:hover {
    background: #a01f14;
    border-color: #a01f14;
    color: #fff;
}

.hm-hero a:focus-visible, .hm-hero button:focus-visible {
    outline-color: var(--hm-red-light);
}

.hm-img img {
    display: block;
    height: auto;
    margin: 0 auto;
}

.hm-img-render img {
    width: 108%;
    max-width: none;
    margin-left: -4%;
    filter: drop-shadow(0 40px 50px rgba(0,0,0,.55));
}

/* renders carry a floor glow that is cut at the image edges: fade the edges out */
.hm-img-render img, .hm-img-small img {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%), linear-gradient(0deg, transparent 0, #000 10%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%), linear-gradient(0deg, transparent 0, #000 10%);
    mask-composite: intersect;
}

.hm-img-small img {
    width: 70%;
    filter: drop-shadow(0 40px 50px rgba(0,0,0,.6));
}

/* studio render with its own light backdrop: feather the edges into the light stage */
.hm-img-studio img {
    width: 116%;
    max-width: none;
    margin-left: -8%;
    -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent);
    mask-image: radial-gradient(closest-side, #000 72%, transparent);
}

/* photo stage: the photo fills the right part of the stage and fades into black */
.hm-photo-bg {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 66%;
    margin: 0;
}

.hm-photo-bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% 50%;
}

.hm-photo-bg:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #000 0%, rgba(0,0,0,.75) 22%, rgba(0,0,0,0) 52%), linear-gradient(0deg, #000 0%, rgba(0,0,0,0) 22%);
}

.hm-facts {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255,255,255,.12);
}

.hm-facts ul {
    list-style: none;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0 24px;
}

.hm-facts li {
    padding: 18px 0 20px;
    font-size: 11pt;
    color: #9a9aa3;
    line-height: 1.35;
}

.hm-facts li strong {
    display: block;
    font-family: 'Roboto-Medium', sans-serif;
    font-weight: normal;
    font-size: 17px;
    color: #fff;
    margin-bottom: 2px;
}

/* light stage */
.hm-slide[data-stage="light"] .hm-kicker {
    color: var(--hm-red);
}

.hm-slide[data-stage="light"] .hm-kicker span {
    color: #66666e;
}

.hm-page .hm-slide[data-stage="light"] h2 {
    color: #111;
}

.hm-slide[data-stage="light"] .hm-sub {
    color: #44444a;
}

.hm-hero .hm-slide[data-stage="light"] .hm-btn {
    border-color: #111;
    color: #111;
}

.hm-hero .hm-slide[data-stage="light"] .hm-btn:hover, .hm-hero .hm-slide[data-stage="light"] .hm-btn:focus {
    background: #111;
    color: #fff;
}

.hm-hero .hm-slide[data-stage="light"] .hm-btn-red, .hm-hero .hm-slide[data-stage="light"] .hm-btn-red:focus {
    background: var(--hm-red);
    border-color: var(--hm-red);
    color: #fff;
}

.hm-hero .hm-slide[data-stage="light"] .hm-btn-red:hover {
    background: #a01f14;
    border-color: #a01f14;
}

.hm-hero .hm-slide[data-stage="light"] a:focus-visible {
    outline-color: var(--hm-red);
}

.hm-slide[data-stage="light"] .hm-facts {
    border-top-color: rgba(0,0,0,.12);
}

.hm-slide[data-stage="light"] .hm-facts li {
    color: #5a5a62;
}

.hm-slide[data-stage="light"] .hm-facts li strong {
    color: #111;
}

/* arrows: they need home.js (.hm-js); phones swipe */
.hm-arrow {
    position: absolute;
    z-index: 3;
    top: calc(50% - 72px);
    width: 48px;
    height: 48px;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(0,0,0,.25);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, border-color .2s, color .2s;
}

.hm-hero:not(.hm-js) .hm-arrow {
    display: none;
}

.hm-arrow svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.hm-arrow:hover, .hm-arrow:focus-visible {
    background: rgba(255,255,255,.14);
    border-color: rgba(255,255,255,.6);
}

.hm-prev {
    left: 20px;
}

.hm-next {
    right: 20px;
}

.hm-hero[data-stage="light"] .hm-arrow {
    border-color: rgba(0,0,0,.2);
    background: rgba(255,255,255,.4);
    color: #111;
}

.hm-hero[data-stage="light"] .hm-arrow:hover {
    background: rgba(255,255,255,.85);
    border-color: rgba(0,0,0,.45);
}

.hm-hero .hm-arrow:focus-visible {
    outline: 2px solid var(--hm-red-light);
    outline-offset: 2px;
}

.hm-hero[data-stage="light"] .hm-arrow:focus-visible {
    outline-color: var(--hm-red);
}


/* section heads */
.hm-sec {
    padding: 84px 0 0;
}

.hm-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.hm-all {
    font-family: 'Roboto-Medium', sans-serif;
    font-size: 12.5pt;
    color: var(--hm-ink);
    border-bottom: 2px solid var(--hm-red);
    padding-bottom: 2px;
    white-space: nowrap;
}

.hm-all:hover, .hm-all:focus {
    color: var(--hm-red);
}

/* USB isolators: description on the left, one row per product page on the right */
.hm-iso {
    display: grid;
    grid-template-columns: 4fr 8fr;
    gap: 44px;
    align-items: center;
    background: var(--hm-soft);
    border-radius: 6px;
    padding: 0 36px 0 0;
    margin-bottom: 24px;
}

.hm-iso-side {
    padding: 0 0 32px 36px;
}

.hm-iso-img {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5%;
}

.hm-iso-img img {
    width: auto;
    height: auto;
    max-width: 58%;
    max-height: 190px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.hm-iso-img img + img {
    max-width: 30%;
    max-height: 120px;
}

.hm-page .hm-iso h3, .hm-page .hm-tile h3 {
    font-size: 22px;
    margin: 0 0 6px;
}

.hm-rows {
    list-style: none;
    margin: 0;
    padding: 32px 0;
}

.hm-rows li {
    border-bottom: 1px solid var(--hm-rule);
}

.hm-rows li.hm-rows-head {
    border-bottom: 2px solid var(--hm-ink);
}

.hm-row {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) 150px 130px 110px;
    gap: 14px;
    align-items: baseline;
    padding: 11px 0;
    color: var(--hm-ink);
    font-size: 12pt;
}

.hm-rows-head .hm-row {
    padding: 0 0 8px;
    font-family: 'Roboto-Medium', sans-serif;
    font-size: 9.5pt;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--hm-muted);
}

a.hm-row:hover, a.hm-row:focus {
    color: var(--hm-red);
}

a.hm-row:hover .hm-name {
    text-decoration: underline;
}

.hm-row .hm-model {
    font-size: 12pt;
    color: var(--hm-ink);
}

.hm-row .hm-spec {
    font-size: 11pt;
    color: var(--hm-text);
}

/* the other families as tiles */
.hm-fam {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.hm-tile {
    display: flex;
    flex-direction: column;
    background: var(--hm-soft);
    border-radius: 6px;
    padding: 0 28px 26px;
}

.hm-tile-img {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 -28px 8px;
    overflow: hidden;
    border-radius: 6px 6px 0 0;
    background: var(--hm-well);
}

.hm-tile-img img {
    width: auto;
    height: auto;
    max-height: 180px;
    max-width: 80%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.hm-tile-img.hm-photo img {
    width: 100%;
    height: 100%;
    max-height: none;
    max-width: none;
    object-fit: cover;
    mix-blend-mode: normal;
}

.hm-tile-desc {
    font-size: 12pt;
    color: var(--hm-muted);
    line-height: 1.5;
    margin: 0 0 16px;
}

.hm-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--hm-rule);
}

.hm-list li {
    border-bottom: 1px solid var(--hm-rule);
}

.hm-list a {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: baseline;
    gap: 14px;
    padding: 10px 0;
    color: var(--hm-ink);
    font-size: 12pt;
}

.hm-list a:hover, .hm-list a:focus {
    color: var(--hm-red);
}

.hm-list a:hover .hm-name {
    text-decoration: underline;
}

.hm-list .hm-model {
    font-size: 11.5pt;
    color: var(--hm-text);
}

.hm-tile-more {
    margin: auto 0 0;
    padding-top: 16px;
    font-size: 11.5pt;
    color: var(--hm-text);
}

.hm-more-link {
    font-family: 'Roboto-Medium', sans-serif;
    font-size: 12pt;
    color: var(--hm-ink);
}

.hm-more-link:hover, .hm-more-link:focus {
    color: var(--hm-red);
}

/* Why Intona: the story items of the home page */
.hm-why {
    margin-top: 84px;
    background: var(--hm-soft);
}

.hm-why .hm-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    padding-top: 56px;
    padding-bottom: 56px;
}

.hm-why-bar {
    width: 36px;
    height: 3px;
    background: var(--hm-red);
    margin-bottom: 18px;
}

.hm-why-img {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 18px;
    border-radius: 4px;
}

.hm-page .hm-why h3 {
    font-size: 22px;
    line-height: 1.25;
    margin: 0 0 6px;
}

.hm-why-text, .hm-why-text p {
    font-size: 12pt;
    color: var(--hm-text);
    line-height: 1.5;
}

.hm-why-text p {
    margin: 0;
}

/* applications */
.hm-apps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.hm-app {
    border-top: 3px solid var(--hm-ink);
    padding-top: 18px;
}

.hm-page .hm-app h3 {
    font-size: 19px;
    margin: 0 0 8px;
}

.hm-app p {
    font-size: 12pt;
    color: var(--hm-text);
    line-height: 1.55;
    margin: 0 0 14px;
}

.hm-app ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hm-app li a {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 6px 0;
    border-bottom: 1px solid var(--hm-line);
    color: var(--hm-ink);
    font-size: 11.5pt;
}

.hm-app li a:hover, .hm-app li a:focus {
    color: var(--hm-red);
}

.hm-app li a .hm-model {
    font-size: 11pt;
    color: var(--hm-text);
    white-space: nowrap;
}

/* talk to us, support */
.hm-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 90px;
}

.hm-contact {
    background: var(--hm-soft);
    border-radius: 6px;
    padding: 30px 32px;
}

.hm-support {
    border: 1px solid var(--hm-line);
    border-radius: 6px;
    padding: 30px 32px;
}

.hm-page .hm-contact h2, .hm-page .hm-support h2 {
    font-size: 21px;
    line-height: 1.3;
    margin: 0 0 4px;
}

.hm-contact-sub, .hm-support > p {
    font-size: 12pt;
    color: var(--hm-muted);
    margin: 0 0 16px;
}

.hm-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 28px;
    border-top: 1px solid var(--hm-rule);
    padding-top: 16px;
}

.hm-contact address {
    font-style: normal;
    font-size: 13pt;
    line-height: 1.6;
    color: #333;
    margin: 0 0 22px;
}

.hm-contact address a {
    color: inherit;
}

.hm-contact address a:hover, .hm-contact address a:focus {
    color: var(--hm-red);
}

.hm-contact ul, .hm-support ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hm-contact ul {
    margin-top: -12px;
}

.hm-contact li a, .hm-support li a {
    display: block;
    padding: 12px 0;
    color: var(--hm-ink);
}

.hm-contact li a {
    border-bottom: 1px solid var(--hm-rule);
}

.hm-contact li:last-child a {
    border-bottom: 0;
}

.hm-contact li:last-child a, .hm-support li:last-child a {
    padding-bottom: 0;
}

.hm-support li a {
    border-top: 1px solid var(--hm-line);
}

.hm-contact li a strong, .hm-support li a strong {
    display: block;
    font-family: 'Roboto-Medium', sans-serif;
    font-weight: normal;
    font-size: 13pt;
}

.hm-contact li a span, .hm-support li a span {
    font-size: 11pt;
    color: var(--hm-muted);
}

.hm-contact li a:hover strong, .hm-contact li a:focus strong, .hm-support li a:hover strong, .hm-support li a:focus strong {
    color: var(--hm-red);
}


@media (max-width: 1100px) {
    .hm-stage {
        grid-template-columns: 1fr;
        min-height: 0;
        gap: 24px;
        padding-top: 40px;
    }

    .hm-img {
        order: -1;
    }

    .hm-img-render img {
        width: 92%;
        margin: 0 auto;
    }

    .hm-img-studio img {
        width: 96%;
        margin: 0 auto;
    }

    .hm-img-small img {
        width: 46%;
    }

    .hm-photo-bg {
        position: relative;
        width: 100%;
        height: 340px;
        order: -1;
    }

    .hm-photo-bg:after {
        background: linear-gradient(0deg, #000 0%, rgba(0,0,0,0) 40%);
    }

    .hm-slide[data-stage="photo"] .hm-stage {
        padding-top: 0;
        margin-top: -40px;
    }

    .hm-facts ul {
        grid-template-columns: 1fr 1fr;
    }

    /* the picture stands above the text: the arrows go level with its middle (home.js) */
    .hm-arrow {
        top: calc(var(--hm-picture-middle, 50%) - 24px);
    }

    .hm-iso {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0 28px;
    }

    .hm-iso-side {
        padding: 0;
    }

    .hm-rows {
        padding-top: 8px;
    }

    .hm-fam {
        grid-template-columns: 1fr 1fr;
    }

    .hm-why .hm-wrap, .hm-apps {
        grid-template-columns: 1fr 1fr;
    }

    .hm-bottom {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hm-wrap {
        padding: 0 16px;
    }

    /* the whole bar is the link, only the arrow stays visible */
    .hm-news-in {
        position: relative;
        font-size: 10.5pt;
        padding-top: 9px;
        padding-bottom: 9px;
    }

    .hm-news-more {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .hm-news-link {
        margin-left: 4px;
        border-bottom: 0;
        color: var(--hm-red-light);
    }

    .hm-news-link:after {
        content: '';
        position: absolute;
        inset: 0;
    }

    .hm-stage {
        padding-top: 24px;
        padding-bottom: 24px;
        gap: 16px;
    }

    .hm-page .hm-hero h2 {
        font-size: 30px;
        margin-bottom: 14px;
    }

    .hm-kicker {
        font-size: 9.5pt;
        margin-bottom: 12px;
    }

    .hm-sub {
        font-size: 12.5pt;
        margin-bottom: 22px;
    }

    .hm-actions {
        gap: 12px;
    }

    .hm-actions .hm-btn {
        flex: 1 1 0;
        min-width: 0;
        padding: 11px 12px;
        font-size: 12pt;
    }

    .hm-photo-bg {
        height: 230px;
    }

    .hm-slide[data-stage="photo"] .hm-stage {
        margin-top: -24px;
    }

    .hm-facts ul {
        column-gap: 16px;
    }

    .hm-facts li {
        padding: 12px 0 14px;
        font-size: 10pt;
    }

    .hm-facts li strong {
        font-size: 15px;
    }

    .hm-hero.hm-js .hm-arrow {
        display: none;
    }

    .hm-sec {
        padding-top: 56px;
    }

    .hm-head {
        flex-direction: column;
        gap: 6px;
    }

    .hm-h2 {
        font-size: 26px;
    }

    .hm-fam, .hm-why .hm-wrap, .hm-apps {
        grid-template-columns: 1fr;
    }

    .hm-iso {
        padding: 0 18px;
    }

    .hm-iso-img {
        height: 190px;
    }

    .hm-iso-img img {
        max-height: 130px;
    }

    .hm-rows-head {
        display: none;
    }

    .hm-row {
        grid-template-columns: 1fr;
        gap: 2px 12px;
    }

    .hm-row .hm-spec {
        font-size: 10.5pt;
    }

    .hm-row .hm-spec:empty {
        display: none;
    }

    .hm-tile {
        padding: 0 18px 20px;
    }

    .hm-tile-img {
        margin: 0 -18px 6px;
        height: 180px;
    }

    .hm-contact, .hm-support {
        padding: 24px 20px;
    }

    .hm-contact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hm-contact ul {
        margin: 0;
    }

    .hm-why {
        margin-top: 56px;
    }

    .hm-why .hm-wrap {
        gap: 28px;
        padding-top: 40px;
        padding-bottom: 40px;
    }
}

/* dark scheme of the site (std.css, toggled in _main.php): the hero and the news line are dark
   anyway; the light bands get the site's dark shades, and product pictures on white keep a
   light well, because multiplying them onto a dark ground would black them out */
@media (prefers-color-scheme: dark) {
    .hm-page {
        --hm-ink: #e6e6e4;
        --hm-muted: #a4a4ac;
        --hm-text: var(--intona_txt);
        --hm-line: #3c3c55;
        --hm-rule: #3c3c55;
        --hm-soft: var(--intona_shdk);
        --hm-well: #e9e9e7;
    }

    .hm-btn:not(.hm-btn-red):hover, .hm-btn:not(.hm-btn-red):focus {
        color: #000;
    }

    .hm-iso-img {
        background: var(--hm-well);
        border-radius: 6px;
        margin-top: 28px;
    }

    .hm-contact address {
        color: var(--intona_txt);
    }

    .hm-page a.hm-row:hover, .hm-page a.hm-row:focus,
    .hm-page .hm-list a:hover, .hm-page .hm-list a:focus,
    .hm-page .hm-app li a:hover, .hm-page .hm-app li a:focus,
    .hm-page .hm-all:hover, .hm-page .hm-all:focus,
    .hm-page .hm-more-link:hover, .hm-page .hm-more-link:focus,
    .hm-contact li a:hover strong, .hm-contact li a:focus strong,
    .hm-contact address a:hover, .hm-contact address a:focus,
    .hm-support li a:hover strong, .hm-support li a:focus strong {
        color: var(--hm-red-light);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hm-arrow {
        transition: none;
    }
}
