/* Hatmed's calm, spacious catalogue layout. Existing theme controls stay intact. */
:root {
  --hm-ink: #193c44;
  --hm-teal: #225561;
  --hm-muted: #586c70;
  --hm-fog: #f3f7f6;
  --hm-line: #dce6e4;
  --hm-width: 1280px;
  --hm-gutter: clamp(20px, 4vw, 56px);
  --hm-section: clamp(40px, 4vw, 64px);
}
body.hatmed-modern { color: var(--hm-ink); font-size: 16px; line-height: 1.7; letter-spacing: 0; background: #fff; }
.hatmed-modern .page-width { max-width: var(--hm-width); margin-inline: auto; padding-inline: var(--hm-gutter); }
.hatmed-modern .page-width .page-width { padding-inline: 0; }
.hatmed-modern :is(h1,h2,h3,h4,.h1,.h2,.h3) { color: var(--hm-ink); text-transform: none; letter-spacing: -.035em; line-height: 1.2; font-weight: 500; }
.hatmed-modern #MainContent :is(h1,.banner-heading) { font-size: clamp(34px, 3.6vw, 54px) !important; line-height: 1.12; font-weight: 500 !important; letter-spacing: -.045em !important; text-transform: none !important; }
.hatmed-modern #MainContent h2:not(.banner-heading) { font-size: clamp(28px, 2.8vw, 40px); font-weight: 500; letter-spacing: -.035em; text-transform: none; }
.hatmed-modern #MainContent h3 { font-size: 21px; line-height: 1.3; letter-spacing: -.02em; }
.hatmed-modern #MainContent :is(.rte,.banner-text,.product-description) { font-size: 16px; line-height: 1.8; letter-spacing: 0; }
.hatmed-modern .rte p { margin-block: 0 1.2em; }
.hatmed-modern .rte p:last-child { margin-bottom: 0; }
.hatmed-modern .button { min-height: 48px; padding: 13px 22px; border-radius: 6px; font: 600 14px/1.4 var(--font-body-family); letter-spacing: 0; text-transform: none; box-shadow: none; }
.hatmed-modern .button--primary { background: var(--hm-teal); color: #fff; }
.hatmed-modern .button::after { border-radius: 6px; }
.hatmed-modern a:focus-visible, .hatmed-modern button:focus-visible, .hatmed-modern summary:focus-visible { outline: 3px solid #007a8a; outline-offset: 4px; }
.hatmed-modern .section-header { border-bottom: 1px solid var(--hm-line); background: #fff; }
.hatmed-modern .header { min-height: 84px; padding-block: 16px; column-gap: 28px; }
.hatmed-modern .header :is(.header-menu-item,.list-menu__item,.header__menu-item) { font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.hatmed-modern .header-heading-logo, .hatmed-modern .header__heading-logo { max-width: 120px; }
.hatmed-modern #MainContent > .modern-section { margin-block: 0; padding-block: var(--hm-section); }
.hatmed-modern .modern-section [class*="section-"][class*="-padding"] { padding-block: 0; }
.hatmed-modern .modern-section [class*="margin-spacing-"] { margin-block: 0; }
.hatmed-modern .section-title-margin { margin-bottom: 24px; }
.hatmed-modern .title-wrapper-with-link { margin-top: 0; margin-bottom: 32px; align-items: end; }
.hatmed-modern .rich-text-blocks { max-width: 800px; }
.hatmed-modern .rich-text-blocks > * + * { margin-top: 24px; }
.hatmed-modern .image-with-text-section { max-width: var(--hm-width); margin-inline: auto; padding-inline: var(--hm-gutter); }
.hatmed-modern .image-with-text-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 56px; align-items: center; }
.hatmed-modern .image-with-text-grid > .grid-item { width: 100%; max-width: none; }
.hatmed-modern .image-with-text-content { padding: 32px !important; }
.hatmed-modern .image-with-text-media { border-radius: 12px; overflow: hidden; }

/* The clinical photograph has its own clear space beside the message. */
.hatmed-modern #MainContent > .modern-home-hero { padding-top: 28px; padding-bottom: var(--hm-section); }
.hatmed-modern #Banner-template--18955256463552__image_banner_with_featured_collection {
  width: calc(100% - 2 * var(--hm-gutter)); max-width: 1392px; margin: 0 auto;
  height: 550px !important; min-height: 550px !important; border-radius: 12px; overflow: hidden;
  background: var(--hm-fog); isolation: isolate;
}
.hatmed-modern #Banner-template--18955256463552__image_banner_with_featured_collection::after { display: none; }
.hatmed-modern #Banner-template--18955256463552__image_banner_with_featured_collection .banner-media {
  width: 58%; left: auto; right: 0; height: 100%; mask-image: none; -webkit-mask-image: none;
}
.hatmed-modern #Banner-template--18955256463552__image_banner_with_featured_collection .banner-media img { object-fit: cover; object-position: 76% center; }
.hatmed-modern #Banner-template--18955256463552__image_banner_with_featured_collection .banner-content {
  width: 100%; max-width: none; padding: 48px; background: transparent; align-items: center;
}
.hatmed-modern #Banner-template--18955256463552__image_banner_with_featured_collection .banner-box {
  width: 45% !important; max-width: 540px !important; padding: 0; transform: none;
  background: transparent; text-align: left;
}
.hatmed-modern #Banner-template--18955256463552__image_banner_with_featured_collection .banner-subheading { font-size: 12px; font-weight: 700; letter-spacing: .12em; margin: 0 0 20px; color: var(--hm-teal); }
.hatmed-modern #Banner-template--18955256463552__image_banner_with_featured_collection .banner-heading { margin: 0 0 24px; }
.hatmed-modern #Banner-template--18955256463552__image_banner_with_featured_collection .banner-text p { font-size: 16px !important; line-height: 1.8 !important; color: var(--hm-muted); }
.hatmed-modern #Banner-template--18955256463552__image_banner_with_featured_collection .banner-buttons { width: auto !important; flex-wrap: wrap !important; gap: 12px !important; margin-top: 28px; }
.hatmed-modern #Banner-template--18955256463552__image_banner_with_featured_collection .modern-secondary-button { color: var(--hm-teal); background: transparent; border: 1px solid #9ab2b7; }
.hatmed-modern .modern-featured-range { margin-top: 56px !important; padding-block: 0 !important; }
.hatmed-modern .modern-featured-range .collection-content { margin: 0 !important; }
.modern-range-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.modern-range-heading h2 { margin: 0; }
.modern-range-heading a { color: var(--hm-teal); font-size: 14px; font-weight: 600; text-underline-offset: 5px; white-space: nowrap; }
.hatmed-modern .modern-featured-range .slider-buttons { display: none; }

/* Every model is visible in a responsive grid; no off-screen catalogue row. */
body.hatmed-modern #MainContent #product-grid,
.hatmed-modern #Slider-template--18955256463552__image_banner_with_featured_collection,
.hatmed-modern #MainContent tab-switcher .product-grid {
  display: grid !important; grid-template-columns: repeat(4,minmax(0,1fr)) !important;
  gap: 32px 24px !important; width: 100% !important; margin: 0 !important; padding: 0 !important;
  overflow: visible !important; scroll-snap-type: none; list-style: none;
}
body.hatmed-modern #MainContent #product-grid > *,
.hatmed-modern #Slider-template--18955256463552__image_banner_with_featured_collection > *,
.hatmed-modern #MainContent tab-switcher .product-grid > * { width: 100% !important; max-width: none !important; min-width: 0; margin: 0; padding: 0; flex: none !important; }
.hatmed-modern .product-grid::before, .hatmed-modern .product-grid::after { display: none !important; }
.hatmed-modern .product-card-wrapper .card .card-inner,
.hatmed-modern .collection .product-card-wrapper .card .card-inner {
  border: 1px solid var(--hm-line); border-radius: 10px; box-shadow: none !important;
}
.hatmed-modern .product-card-wrapper .card-information { text-align: left; padding-inline: 0; }
.hatmed-modern .product-card-wrapper .card-information.main-block { padding-top: 20px; }
.hatmed-modern .product-card-wrapper h3.card-heading.heading-bold a.full-unstyled-link { font-size: 17px !important; font-weight: 600 !important; color: var(--hm-ink) !important; letter-spacing: -.02em; }
.hatmed-modern .hm-card__subtitle { font-size: 13px; line-height: 1.7; color: var(--hm-muted); margin-top: 8px; }
.hatmed-modern .hm-card__badge { top: 12px; left: 12px; padding: 8px; border-radius: 3px; font-size: 9px; letter-spacing: .02em; }
.hatmed-modern .hm-card__litres { top: 12px; right: 12px; width: auto; height: auto; padding: 3px 8px; border: 0; border-radius: 4px; font-size: 22px; line-height: 1.35; background: #fff; color: var(--hm-series); }
.hatmed-modern .hm-card__cycle { bottom: 12px; left: 12px; right: 12px; padding-top: 8px; font-size: 11px; border-top: 1px solid var(--hm-line); background: #ffffffee; }
.hatmed-modern .figma-accessory-image { border: 1px solid var(--hm-line); border-radius: 10px; box-shadow: none; overflow: hidden; }
.hatmed-modern .figma-accessory-image img { padding: 20px; }
.hatmed-modern .figma-accessory-card { text-align: left !important; }
.hatmed-modern .figma-accessory-card h3 { font-size: 17px !important; margin-top: 20px; }
.hatmed-modern .figma-accessory-card p { color: var(--hm-muted); font-size: 13px; line-height: 1.7; margin-top: 8px; }
.hatmed-modern .figma-accessory-plus { width: 32px; height: 32px; right: 12px; bottom: 12px; font-size: 24px; }
.hatmed-modern #MainContent tab-switcher .product-grid { grid-template-columns: repeat(auto-fit,minmax(240px,280px)) !important; justify-content: center; margin-top: 32px !important; }

/* Welcome copy and supporting sections share one vertical rhythm. */
.hatmed-modern .modern-intro { background: var(--hm-fog); }
.hatmed-modern .modern-intro .rich-text { background: transparent; }
.hatmed-modern .modern-intro .rich-text-blocks { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px 72px; max-width: none; text-align: left; align-items: start; }
.hatmed-modern .modern-intro .rich-text-image { display: none; }
.hatmed-modern .modern-intro .rich-text-heading { grid-column: 1; grid-row: 1 / span 2; margin: 0; }
.hatmed-modern .modern-intro .rich-text-text, .hatmed-modern .modern-intro .rich-text-buttons { grid-column: 2; margin: 0; text-align: left; justify-content: flex-start; }
.hatmed-modern .modern-partner-heading { padding-bottom: 20px !important; }
.hatmed-modern #MainContent > .text-scroll-section { padding-top: 0; padding-bottom: 56px; }
.hatmed-modern .replica-static-logos { max-width: var(--hm-width); margin: 0 auto; padding-inline: var(--hm-gutter); }
.hatmed-modern .multicolumn-list { display: grid; grid-template-columns: repeat(var(--hm-columns,3),minmax(0,1fr)); gap: 24px; margin: 0; padding: 0; }
.hatmed-modern .multicolumn-list > .grid-item { width: 100%; max-width: none; min-width: 0; margin: 0; padding: 0; }
.hatmed-modern .multicolumn-list::before, .hatmed-modern .multicolumn-list::after { display: none; }
.hatmed-modern .multicolumn-card { border-radius: 10px; box-shadow: none; padding: 24px; margin: 0; height: 100%; }
.hatmed-modern .multicolumn-card-info { padding: 20px 0 0; }
.hatmed-modern .multicolumn-card-info .rte { font-size: 14px !important; line-height: 1.7; color: var(--hm-muted); }
.hatmed-modern .slick-main { max-width: var(--hm-width); }
.hatmed-modern slick-slider { border-radius: 12px; overflow: hidden; display: block; }
.hatmed-modern .two-images-text-content { padding: 40px; }

/* Compact collection mastheads and balanced product detail columns. */
.hatmed-modern .modern-collection-banner { padding-top: 24px !important; padding-bottom: 0 !important; }
.hatmed-modern .modern-collection-banner .banner { width: calc(100% - 2 * var(--hm-gutter)); max-width: 1392px; margin: 0 auto; height: 260px !important; min-height: 260px !important; border-radius: 12px; overflow: hidden; }
.hatmed-modern .modern-collection-grid { padding-top: 48px !important; }
.hatmed-modern .collection-hero__text-wrapper { padding-block: 32px; }
.hatmed-modern #MainContent > .modern-product-main { padding-top: 40px; }
.hatmed-modern #MainContent [id^="MainProduct-"] { padding-block: 0; }
.hatmed-modern .product-section > .page-width { padding-block: 0; }
.hatmed-modern .product-section .product { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); column-gap: 64px; align-items: start; }
.hatmed-modern .product-section .product > .grid-item { width: 100%; max-width: none; min-width: 0; padding: 0; }
.hatmed-modern .product-info-container { position: static; }
.hatmed-modern #MainContent .product-title h1 { font-size: clamp(30px,3vw,44px) !important; letter-spacing: -.04em !important; line-height: 1.18; text-transform: none; }
.hatmed-modern .two-column-section { gap: 0; }
.hatmed-modern .two-column-section .column-left { gap: 18px; }
.hatmed-modern .two-column-section .block { margin: 0; }
.hatmed-modern .two-column-section .product-title, .hatmed-modern .two-column-section .product-title h1 { margin: 0; }
.hatmed-modern .two-column-section .product-text p, .hatmed-modern .two-column-section .product-sku { margin: 0; }
.hatmed-modern .two-column-section .block:first-child .product-text { border-radius: 4px; }
.hatmed-modern .two-column-section .block:first-child .product-text p { font-size: 11px !important; }
.hatmed-modern #MainContent .product-sku { font-size: 12px; color: var(--hm-muted); }
.hatmed-modern #MainContent .product__accordion .accordion__title { font-size: 16px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.hatmed-modern .product__accordion { border-color: var(--hm-line); }
.hatmed-modern .accordion__content { font-size: 14px; line-height: 1.8; }
.hatmed-modern .accordion__content li + li { margin-top: 10px; }
.hatmed-modern #product-gallery media-gallery { display: block; border: 1px solid var(--hm-line); border-radius: 12px; padding: 20px; background: #fff; }
.hatmed-modern #product-gallery .product-media-item { margin: 0; }
.hatmed-modern #product-gallery .product-media img { object-fit: contain; }
.hatmed-modern #under-gallery { margin-top: 40px; }
.hatmed-modern #under-gallery .block { margin-bottom: 32px; }
.hatmed-modern #product-gallery[data-replica-capacity]:not([data-replica-capacity=""])::after { top: 32px; right: 32px; width: auto; height: auto; padding: 6px 12px; border: 1px solid var(--hm-line); border-radius: 6px; font-size: 24px; }
.hatmed-modern .contact-form-section { padding: 40px; }
.hatmed-modern .contact-form-sidebar-section { padding: 40px; border-radius: 12px; }
.hatmed-modern .field__input, .hatmed-modern .field-input, .hatmed-modern .select__select { min-height: 50px; border-radius: 6px; }
.hatmed-modern .field { margin-bottom: 20px; }
.hatmed-modern .footer { padding-top: 56px; border-top: 1px solid var(--hm-line); }
.hatmed-modern .footer-block__heading { font-size: 17px; letter-spacing: -.01em; text-transform: none; margin-bottom: 16px; }
.hatmed-modern .footer-block .rte, .hatmed-modern .footer .list-menu__item { font-size: 14px; line-height: 1.8; }
.hatmed-modern .footer-content-top { padding-bottom: 48px; }

@media (max-width: 1100px) {
  .hatmed-modern .header { column-gap: 16px; }
  .hatmed-modern .header :is(.header-menu-item,.list-menu__item,.header__menu-item) { font-size: 12px; }
  .hatmed-modern #Banner-template--18955256463552__image_banner_with_featured_collection .banner-content { padding: 32px; }
  .hatmed-modern #Banner-template--18955256463552__image_banner_with_featured_collection .banner-box { width: 50% !important; }
  .hatmed-modern #Banner-template--18955256463552__image_banner_with_featured_collection .banner-media { width: 55%; }
  .hatmed-modern .product-section .product { gap: 32px; }
  .hatmed-modern .modern-intro .rich-text-blocks { gap: 24px 40px; }
  body.hatmed-modern #MainContent #product-grid,
  .hatmed-modern #Slider-template--18955256463552__image_banner_with_featured_collection { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
}
@media (max-width: 749px) {
  .hatmed-modern .header { min-height: 70px; padding-block: 12px; }
  .hatmed-modern #MainContent > .modern-home-hero { padding-top: 16px; }
  .hatmed-modern #Banner-template--18955256463552__image_banner_with_featured_collection { width: calc(100% - 32px); height: auto !important; min-height: 0 !important; display: flex; flex-direction: column; }
  .hatmed-modern #Banner-template--18955256463552__image_banner_with_featured_collection .banner-content { order: 1; width: 100%; padding: 32px 24px; }
  .hatmed-modern #Banner-template--18955256463552__image_banner_with_featured_collection .banner-box { width: 100% !important; max-width: none !important; }
  .hatmed-modern #Banner-template--18955256463552__image_banner_with_featured_collection .banner-media { position: relative; order: 2; width: 100%; height: 260px; }
  .hatmed-modern #Banner-template--18955256463552__image_banner_with_featured_collection .banner-media.image-desktop { display: none; }
  .hatmed-modern #Banner-template--18955256463552__image_banner_with_featured_collection .banner-media.image-mobile { display: block; }
  .hatmed-modern #Banner-template--18955256463552__image_banner_with_featured_collection .banner-buttons { flex-direction: row !important; }
  .hatmed-modern #Banner-template--18955256463552__image_banner_with_featured_collection .banner-buttons a { width: 100% !important; }
  .hatmed-modern .modern-featured-range { margin-top: 40px !important; }
  .modern-range-heading { align-items: start; flex-direction: column; gap: 12px; }
  .hatmed-modern .modern-intro .rich-text-blocks { display: block; }
  .hatmed-modern .modern-intro .rich-text-blocks > * + * { margin-top: 24px; }
  .hatmed-modern .modern-intro .rich-text-image { display: none; }
  .hatmed-modern .image-with-text-grid { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .hatmed-modern .multicolumn-list { grid-template-columns: minmax(0,1fr); }
  .hatmed-modern .image-with-text-content { padding: 24px 0 !important; }
  .hatmed-modern .product-section .product { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .hatmed-modern #product-gallery { display: contents; }
  .hatmed-modern #product-gallery media-gallery { grid-row: 1; }
  .hatmed-modern .product-info-wrapper { grid-row: 2; }
  .hatmed-modern #under-gallery { grid-row: 3; margin-top: 0; }
  .hatmed-modern .modern-collection-banner .banner { width: calc(100% - 32px); min-height: 200px !important; height: 200px !important; }
  .hatmed-modern .modern-collection-banner .banner-content { align-items: center; }
  .hatmed-modern .modern-collection-banner .banner-box { padding: 24px; }
  .hatmed-modern .contact-form-section, .hatmed-modern .contact-form-sidebar-section { padding: 24px; }
  body.hatmed-modern #MainContent #product-grid,
  .hatmed-modern #Slider-template--18955256463552__image_banner_with_featured_collection { gap: 28px 16px !important; }
  .hatmed-modern #MainContent tab-switcher .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  .hatmed-modern .hm-card__badge { top: 8px; left: 8px; font-size: 8px; padding: 6px; }
  .hatmed-modern .hm-card__litres { top: 36px; right: 8px; font-size: 18px; }
  .hatmed-modern .hm-card__cycle { font-size: 9px; left: 8px; right: 8px; bottom: 8px; }
  .hatmed-modern .product-card-wrapper h3.card-heading.heading-bold a.full-unstyled-link { font-size: 15px !important; }
  .hatmed-modern .hm-card__subtitle { font-size: 12px; }
  .hatmed-modern .figma-accessory-card h3 { font-size: 15px !important; }
}

/* Keep text rhythm independent of inherited display-font rules. */
.hatmed-modern #MainContent h2.rte { line-height: 1.22; }
.hatmed-modern .nav-menu-item > span { font: 500 13px/1.4 var(--font-body-family); text-transform: none; letter-spacing: 0; white-space: nowrap; }
.hatmed-modern .navigation-menu { flex: 1; width: auto; gap: 24px; flex-wrap: nowrap; }
.hatmed-modern .navigation-menu--right { justify-content: flex-end; }
.hatmed-modern .navigation-menu__logo { flex: 0 0 180px; width: 180px; }
.hatmed-modern .navigation-menu__logo-img { width: 120px; }
.hatmed-modern #Banner-template--18955256463552__image_banner_with_featured_collection .caption-with-letter-spacing { font-size: 12px; font-weight: 700; letter-spacing: .12em; margin: 0 0 20px; }
.hatmed-modern #MainContent .modern-home-hero .banner-heading { font-size: clamp(34px,3.2vw,48px) !important; }
.hatmed-modern .modern-secondary-button svg { color: var(--hm-teal); }
@media (max-width: 1100px) and (min-width: 750px) {
  .hatmed-modern .multicolumn-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hatmed-modern .navigation-menu { gap: 16px; }
  .hatmed-modern .navigation-menu__logo { flex-basis: 150px; width: 150px; }
}
@media (max-width: 749px) {
  .hatmed-modern #product-gallery[data-replica-capacity]::after { display: none; }
  .hatmed-modern #MainContent > .modern-product-main { padding-top: 24px; }
}

@media (min-width: 990px) {
 .hatmed-modern .main-navigation-mega { grid-template-columns: minmax(0,1fr) 180px minmax(0,1fr); width: 100%; gap: 20px; }
 .hatmed-modern .navigation-menu__logo { padding: 0; width: 180px; justify-self: center; }
 .hatmed-modern .navigation-menu__logo-link { display: flex; justify-content: center; }
 .hatmed-modern .navigation-menu { width: 100%; }
}

.hatmed-modern #MainContent .modern-collection-banner .banner { height: 260px !important; min-height: 260px !important; }
.hatmed-modern #MainContent .modern-collection-banner .banner-content { height: 100% !important; min-height: 0 !important; padding: 32px 48px; align-items: center !important; }
.hatmed-modern #MainContent .modern-collection-banner .banner-box { align-self: center; padding: 0; margin: 0; background: transparent; }
.hatmed-modern .modern-collection-banner h1 { margin: 0; }
.hatmed-modern.replica-accessories #MainContent #product-grid > .figma-accessory-card { width: 100% !important; max-width: none !important; }
@media (max-width: 749px) {
 .hatmed-modern #MainContent .modern-collection-banner .banner { height: 200px !important; min-height: 200px !important; }
 .hatmed-modern #MainContent .modern-collection-banner .banner-content { padding: 24px; }
}

.hatmed-modern #MainContent > .modern-empty { padding-block: 0; }
.hatmed-modern .modern-collection-grid .product-grid-section { margin-top: 0; }

.hatmed-modern #MainContent > .modern-page-title { padding-top: 48px; padding-bottom: 0; }
.hatmed-modern .main-page-title { margin: 0; }
.hatmed-modern .contact__wrapper .field { display: flex; flex-direction: column-reverse; gap: 8px; }
.hatmed-modern .contact__wrapper .field::before, .hatmed-modern .contact__wrapper .field::after { display: none; }
.hatmed-modern .contact__wrapper .field-label { position: static; width: auto; max-width: none; transform: none; margin: 0; font-size: 14px; line-height: 1.5; color: var(--hm-ink); }
.hatmed-modern .contact__wrapper .field-input { border: 1px solid #b8c9ca; padding: 14px; height: 50px; background: #fff; }
.hatmed-modern .contact__wrapper textarea.field-input { min-height: 140px; }

.hatmed-modern .contact__wrapper { padding: 0; }
.hatmed-modern .contact__wrapper .field-label { overflow: visible; white-space: normal; letter-spacing: 0; width: 100%; }

.hatmed-modern #MainContent .title { text-transform: none !important; }
.hatmed-modern .contact__wrapper .field-label span { display: inline; }

/* Only the homepage hero rotates; each complete panel slides as one unit. */
.hatmed-modern #Banner-template--18955256463552__image_banner_with_featured_collection.hm-hero-banner { display: block; }
.hm-hero-viewport { display: grid; height: 100%; width: 100%; overflow: hidden; touch-action: pan-y; }
.hm-hero-slide { grid-area: 1 / 1; display: flex; position: relative; min-width: 0; width: 100%; height: 100%; visibility: hidden; pointer-events: none; background: var(--hm-fog); }
.hm-hero-slide.is-active, .hm-hero-slide.is-leaving { visibility: visible; }
.hm-hero-slide.is-active { pointer-events: auto; }
.hatmed-modern #Banner-template--18955256463552__image_banner_with_featured_collection .hm-hero-slide--product .banner-media { background: #fff; }
.hatmed-modern #Banner-template--18955256463552__image_banner_with_featured_collection .hm-hero-slide--product .banner-media img { object-fit: contain; object-position: center; padding: 32px; }
.hm-hero-controls { width: calc(100% - 2 * var(--hm-gutter)); max-width: 1392px; margin: 14px auto 0; display: flex; justify-content: center; align-items: center; gap: 16px; color: var(--hm-teal); }
.hm-hero-controls button { display: inline-flex; justify-content: center; align-items: center; flex-shrink: 0; min-width: 44px; height: 44px; padding: 0; border: 1px solid var(--hm-line); border-radius: 50%; background: #fff; color: var(--hm-teal); cursor: pointer; }
.hm-hero-controls button:hover { background: var(--hm-fog); }
.hm-hero-controls .hm-hero-arrow { font-size: 22px; }
.hm-hero-dots { display: flex; gap: 0; }
.hm-hero-controls .hm-hero-dot { border: 0; }
.hm-hero-dot span { width: 7px; height: 7px; background: #a1b5b8; border-radius: 8px; }
.hm-hero-dot[aria-pressed="true"] span { width: 24px; background: var(--hm-teal); }
.hm-hero-count { font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hm-hero-controls .hm-hero-toggle { border-radius: 5px; min-width: 84px; padding: 0 12px; font: 600 12px/1.2 var(--font-body-family); }
@media (max-width: 749px) {
  .hm-hero-slide { flex-direction: column; height: auto; }
  .hatmed-modern #Banner-template--18955256463552__image_banner_with_featured_collection .hm-hero-slide .banner-content { flex: 1; }
  .hatmed-modern #Banner-template--18955256463552__image_banner_with_featured_collection .hm-hero-slide .banner-media { flex: 0 0 260px; }
  .hm-hero-controls { width: calc(100% - 32px); gap: 6px; }
  .hm-hero-controls .hm-hero-count { display: none; }
}


/* A continuous, evenly spaced strip of the existing healthcare partner logos. */
.hatmed-modern .hm-logo-marquee { width: 100%; padding: 12px 0 0; overflow: hidden; text-align: center; scroll-margin-top: 230px; }
.hm-logo-viewport { overflow: hidden; width: 100%; mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent); }
.hm-logo-track { display: flex; width: max-content; animation: hm-logos-scroll 48s linear infinite; }
.hm-logo-group { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-around; gap: 56px; width: max-content; min-width: 100vw; margin: 0; padding: 24px 28px; list-style: none; }
.hm-logo-group > li { display: grid; place-items: center; flex: 0 0 160px; width: 160px; height: 80px; }
.hm-logo-group img { display: block; width: auto; height: auto; max-width: 160px; max-height: 72px; object-fit: contain; }
.hm-logo-marquee:is([data-visible="false"], [data-tab-hidden="true"]) .hm-logo-track { animation-play-state: paused; }
@keyframes hm-logos-scroll { to { transform: translateX(-50%); } }
@media (max-width: 749px) {
  .hm-logo-group { gap: 32px; padding-inline: 16px; }
  .hm-logo-group > li { flex-basis: 140px; width: 140px; height: 72px; }
  .hm-logo-group img { max-width: 140px; max-height: 64px; }
  .hm-logo-track { animation-duration: 42s; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-logo-track { animation: none; width: 100%; }
  .hm-logo-group { flex-wrap: wrap; justify-content: center; min-width: 0; width: 100%; }
  .hm-logo-group[aria-hidden="true"] { display: none; }
  .hm-logo-viewport { mask-image: none; }
}

/* The banners share one edge-to-edge surface and the page's content grid. */
.hatmed-modern #MainContent > .modern-home-hero { padding-top: 0; }
.hm-hero-carousel { position: relative; background: var(--hm-fog); border-bottom: 1px solid var(--hm-line); }
.hatmed-modern #MainContent .hm-hero-banner {
  width: 100%; max-width: none; margin: 0; border-radius: 0;
  height: 570px !important; min-height: 570px !important;
}
.hatmed-modern #MainContent .hm-hero-banner .banner-media {
  width: 61%; height: 100%; inset: 0 0 0 auto;
  background: transparent; border: 0; box-shadow: none;
  mask-image: linear-gradient(to right, transparent, #000 24%);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 24%);
}
.hatmed-modern #MainContent .hm-hero-banner .banner-media::after { display: none; }
.hatmed-modern #MainContent .hm-hero-banner .banner-media img { object-position: 72% center; mix-blend-mode: multiply; }
.hatmed-modern #MainContent .hm-hero-banner .banner-content {
  max-width: var(--hm-width); margin: 0 auto; padding: 58px var(--hm-gutter) 100px;
  height: 100%; align-items: center; position: relative; z-index: 1;
}
.hatmed-modern #MainContent .hm-hero-banner .banner-box { width: 47% !important; max-width: 520px !important; }
.hatmed-modern #MainContent .hm-hero-banner .caption-with-letter-spacing {
  display: flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .15em; margin-bottom: 22px; color: var(--hm-teal);
}
.hatmed-modern #MainContent .hm-hero-banner .caption-with-letter-spacing::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.hatmed-modern #MainContent .hm-hero-banner .banner-heading {
  color: var(--hm-ink) !important; font-size: clamp(38px,3.5vw,54px) !important;
  font-weight: 500 !important; line-height: 1.1; letter-spacing: -.045em !important;
  text-wrap: balance; margin: 0 0 24px;
}
.hatmed-modern #MainContent .hm-hero-banner .banner-text { max-width: 430px; }
.hatmed-modern #MainContent .hm-hero-banner .banner-text p { font-size: 16px !important; line-height: 1.75 !important; margin: 0; }
.hatmed-modern #MainContent .hm-hero-banner .banner-buttons { margin-top: 30px; gap: 18px !important; align-items: center; }
.hatmed-modern #MainContent .hm-hero-banner .banner-buttons a { font-size: 13px; min-height: 48px; padding: 13px 20px; }
.hatmed-modern #MainContent .hm-hero-banner .modern-secondary-button { border: 0; padding-inline: 0; color: var(--hm-teal); background: transparent; }
.hatmed-modern #MainContent .hm-hero-banner .modern-secondary-button::after { display: none; }
.hatmed-modern #MainContent .hm-hero-banner .hm-hero-slide--product .banner-media {
  width: 54%; mask-image: none; -webkit-mask-image: none; background: transparent;
}
.hatmed-modern #MainContent .hm-hero-banner .hm-hero-slide--product .banner-media img {
  object-fit: contain; object-position: center; padding: 44px clamp(36px,5vw,88px) 90px 18px; mix-blend-mode: multiply;
}
.hm-hero-controls {
  position: absolute; z-index: 3; bottom: 24px; right: max(var(--hm-gutter),calc((100% - var(--hm-width)) / 2 + var(--hm-gutter)));
  width: auto; max-width: none; margin: 0; padding: 4px 8px;
  gap: 4px; border: 1px solid #ffffffb3; border-radius: 40px;
  background: #ffffffeb; box-shadow: 0 2px 12px #193c4408;
}
.hm-hero-controls button { min-width: 40px; width: 40px; height: 40px; border: 0; background: transparent; }
.hm-hero-controls .hm-hero-arrow { font-size: 20px; }
.hm-hero-controls .hm-hero-toggle { min-width: 66px; width: 66px; font-size: 11px; padding: 0 6px; border-radius: 20px; }
.hm-hero-controls .hm-hero-dot { min-width: 28px; width: 28px; }
.hm-hero-dot span { width: 5px; height: 5px; background: #a1b5b8; }
.hm-hero-dot[aria-pressed="true"] span { width: 18px; }
.hm-hero-count { font-size: 11px; padding: 0 8px; margin-right: 4px; border-right: 1px solid var(--hm-line); }
.hatmed-modern .modern-featured-range { margin-top: 56px !important; }
@media (min-width: 750px) and (max-width: 1100px) {
  .hatmed-modern #MainContent .hm-hero-banner { height: 520px !important; min-height: 520px !important; }
  .hatmed-modern #MainContent .hm-hero-banner .banner-box { width: 49% !important; }
  .hatmed-modern #MainContent .hm-hero-banner .banner-media { width: 57%; }
  .hatmed-modern #MainContent .hm-hero-banner .banner-content { padding-top: 44px; padding-bottom: 90px; }
  .hatmed-modern #MainContent .hm-hero-banner .banner-buttons { gap: 10px !important; }
}
@media (max-width: 749px) {
  .hatmed-modern #MainContent .hm-hero-banner { height: auto !important; min-height: 0 !important; }
  .hatmed-modern #MainContent .hm-hero-banner .banner-content { flex: 1; padding: 40px 24px 10px; height: auto; }
  .hatmed-modern #MainContent .hm-hero-banner .banner-box { width: 100% !important; max-width: 520px !important; margin: 0 auto; }
  .hatmed-modern #MainContent .hm-hero-banner .banner-heading { font-size: clamp(32px,7.8vw,42px) !important; line-height: 1.12; max-width: 15ch; margin-bottom: 18px; }
  .hatmed-modern #MainContent .hm-hero-banner .caption-with-letter-spacing { font-size: 10px; margin-bottom: 18px; }
  .hatmed-modern #MainContent .hm-hero-banner .banner-text p { font-size: 14px !important; line-height: 1.7 !important; }
  .hatmed-modern #MainContent .hm-hero-banner .banner-buttons { margin-top: 22px; gap: 8px 18px !important; }
  .hatmed-modern #MainContent .hm-hero-banner .banner-buttons a { width: auto !important; min-height: 44px; font-size: 12px; padding: 12px 16px; }
  .hatmed-modern #MainContent .hm-hero-banner .banner-buttons .modern-secondary-button { padding-inline: 0; }
  .hatmed-modern #MainContent .hm-hero-banner .banner-media,
  .hatmed-modern #MainContent .hm-hero-banner .hm-hero-slide--product .banner-media {
    position: relative; inset: auto; width: 100%; height: 240px; flex: 0 0 240px;
    mask-image: linear-gradient(to bottom,transparent,#000 24%); -webkit-mask-image: linear-gradient(to bottom,transparent,#000 24%);
  }
  .hatmed-modern #MainContent .hm-hero-banner .banner-media img { object-position: 70% 44%; }
  .hatmed-modern #MainContent .hm-hero-banner .hm-hero-slide--product .banner-media img { padding: 20px 32px 12px; }
  .hm-hero-controls { position: relative; inset: auto; width: max-content; margin: -2px auto 18px; background: transparent; border: 0; box-shadow: none; }
  .hm-hero-controls .hm-hero-count { display: none; }
  .hatmed-modern .modern-featured-range { margin-top: 36px !important; }
}

/* The Q20B film is the lead banner, with its white studio background preserved. */
.hm-hero-slide--video { background: #fff; }
.hatmed-modern #MainContent .hm-hero-banner .hm-hero-slide--video .banner-media {
  width: 68%; background: #fff;
  mask-image: none;
  -webkit-mask-image: none;
}
.hatmed-modern #MainContent .hm-hero-banner .hm-hero-slide--video .banner-box { width: 40% !important; }
.hatmed-modern #MainContent .hm-hero-banner .hm-hero-video {
  display: block; width: 100%; height: 100%; object-fit: contain; object-position: center;
}

@media (max-width: 749px) {
  .hatmed-modern #MainContent .hm-hero-banner .hm-hero-slide--video .banner-box { width: 100% !important; }
  .hatmed-modern #MainContent .hm-hero-banner .hm-hero-slide--video .banner-media {
    width: 100%; mask-image: none; -webkit-mask-image: none;
  }
}

/* Generated scenes use a readable text backdrop where the old artwork had one baked in. */
.hatmed-modern #MainContent .slide-bgimg:has(img[data-hm-lifestyle])::after,
.hatmed-modern #MainContent .image-banner:not(.hm-hero-banner) > .banner-media:has(img[data-hm-lifestyle])::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, #f5f8f7 0%, #f5f8f7f5 35%, #f5f8f7d9 42%, #f5f8f700 70%);
  opacity: 1;
}
@media (max-width: 768px) {
  .hatmed-modern #MainContent .slide-bgimg:has(img[data-hm-lifestyle])::after {
    background: linear-gradient(0deg, #f5f8f7 0%, #f5f8f7f5 40%, #f5f8f7b3 64%, #f5f8f700 100%);
  }
  .hatmed-modern #MainContent .image-banner:not(.hm-hero-banner) > .banner-media:has(img[data-hm-lifestyle])::after { display: none; }
}
/* Keep the entire support scene visible in the narrower form sidebar. */
.hatmed-modern .contact-form-sidebar-section .banner-media:has(> img[data-hm-lifestyle]) {
  height: auto !important; min-height: 0 !important; padding-bottom: 0 !important;
  display: flex; flex-direction: column; background: var(--hm-fog);
}
.hatmed-modern .contact-form-sidebar-section .banner-media > img[data-hm-lifestyle] {
  position: static !important; width: 100%; height: auto !important; object-fit: contain;
}
.hatmed-modern .contact-form-sidebar-section .banner-media:has(> img[data-hm-lifestyle]) .banner-overlay {
  position: static; background: var(--hm-fog); padding: 30px;
}
.hatmed-modern .contact-form-sidebar-section .banner-media:has(> img[data-hm-lifestyle])::before { display: none; }

/* Feature slides: keep headings, copy and navigation in a separate text column. */
.hatmed-modern #MainContent > .modern-feature-section { padding-top: 28px; }
.hatmed-modern #MainContent .hm-feature-slider {
  --feature-split: 54%; --feature-inset: clamp(28px, 3.6vw, 48px);
  height: auto; margin-bottom: 0; background: var(--hm-fog); border-radius: 12px;
}
.hatmed-modern #MainContent .hm-feature-slider > ul {
  display: grid; list-style: none; margin: 0; padding: 0;
}
.hatmed-modern #MainContent .hm-feature-slider > ul > li {
  grid-area: 1 / 1; position: relative; inset: auto; display: grid;
  grid-template-columns: minmax(0, var(--feature-split)) minmax(0, 1fr);
  width: 100%; height: auto; min-height: 460px;
  visibility: hidden; pointer-events: none; transition: none;
}
.hatmed-modern #MainContent .hm-feature-slider > ul > li.current { visibility: visible; pointer-events: auto; }
.hatmed-modern #MainContent .hm-feature-slider .slick-image {
  grid-column: 1; grid-row: 1; position: relative; inset: auto;
  width: 100%; height: 100%; clip: auto; transition: none; border-radius: 0;
}
.hatmed-modern #MainContent .hm-feature-slider .slick-image.image-mobile { display: none; }
.hatmed-modern #MainContent .hm-feature-slider .slick-image.image-desktop { display: block; }
.hatmed-modern #MainContent .hm-feature-slider .overlay-mobile { display: none; }
.hatmed-modern #MainContent .hm-feature-slider .slick-content {
  grid-column: 2; grid-row: 1; position: static; width: auto; height: auto; min-width: 0;
  padding: 42px var(--feature-inset) 110px; text-align: left;
}
.hatmed-modern #MainContent .hm-feature-slider .slick-content .slick-slider-heading {
  width: auto; max-width: 100%; margin: 0 0 22px; overflow: visible;
  font-size: clamp(28px, 2.65vw, 36px); line-height: 1.18;
  text-wrap: balance; overflow-wrap: break-word; text-overflow: clip;
  opacity: 1; transform: none; transition: none;
}
.hatmed-modern #MainContent .hm-feature-slider .slick-caption {
  float: none; width: auto; max-width: none; padding: 0;
  color: var(--hm-muted); font-size: 15px; line-height: 1.8;
  opacity: 1; transform: none; transition: none;
}
.hatmed-modern #MainContent .hm-feature-slider slick-nav {
  display: flex; align-items: center; gap: 14px; padding: 0;
  bottom: 30px; left: calc(var(--feature-split) + var(--feature-inset)); right: auto;
}
.hatmed-modern #MainContent .hm-feature-slider slick-nav button {
  width: 44px; height: 44px; border: 1px solid var(--hm-line); border-radius: 50%;
  background: #fff; color: var(--hm-teal);
}
.hatmed-modern #MainContent .hm-feature-slider slick-nav button::before { width: 9px; height: 9px; border-color: currentColor; }
.hatmed-modern #MainContent .hm-feature-slider slick-nav button:hover { background: var(--hm-line); }
.hatmed-modern #MainContent .hm-feature-slider .slick-counter {
  font: 500 14px/1 var(--font-body-family); color: var(--hm-muted); min-width: 46px; text-align: center;
}
.hatmed-modern #MainContent .hm-feature-slider .slick-counter span:last-child::before { margin: 0 7px; }
@media (max-width: 768px) {
  .hatmed-modern #MainContent .hm-feature-slider > ul > li { grid-template-columns: minmax(0, 1fr); grid-template-rows: 230px 1fr; min-height: 0; }
  .hatmed-modern #MainContent .hm-feature-slider .slick-image.image-desktop { display: none; }
  .hatmed-modern #MainContent .hm-feature-slider .slick-image.image-mobile { display: block; }
  .hatmed-modern #MainContent .hm-feature-slider .slick-content { grid-column: 1; grid-row: 2; padding: 28px 24px 92px; }
  .hatmed-modern #MainContent .hm-feature-slider .slick-content .slick-slider-heading { font-size: 28px; margin-bottom: 18px; }
  .hatmed-modern #MainContent .hm-feature-slider .slick-caption { font-size: 14px; line-height: 1.75; }
  .hatmed-modern #MainContent .hm-feature-slider slick-nav { left: 24px; bottom: 24px; }
}

/* One calm benefits strip replaces the alternating white cards and teal bars. */
.hatmed-modern #MainContent .hm-benefits-section .multicolumn { background: transparent; }
.hatmed-modern #MainContent .hm-benefits-section .multicolumn-list {
  grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0;
  padding: 32px 0; background: var(--hm-fog); border-radius: 12px;
}
.hatmed-modern #MainContent .hm-benefits-section .multicolumn-list > li + li { border-left: 1px solid var(--hm-line); }
.hatmed-modern #MainContent .hm-benefits-section .multicolumn-card {
  display: flex; flex-direction: column; align-items: center;
  padding: 0 22px; border: 0; border-radius: 0; background: transparent; box-shadow: none;
}
.hatmed-modern #MainContent .hm-benefits-section .multicolumn-card::before,
.hatmed-modern #MainContent .hm-benefits-section .multicolumn-card::after { display: none; }
.hatmed-modern #MainContent .hm-benefits-section .multicolumn-card-image-wrapper {
  width: 64px; max-width: none; margin: 0; padding: 0; flex: none;
}
.hatmed-modern #MainContent .hm-benefits-section .media--circle {
  display: grid; place-items: center; width: 64px; height: 64px; padding: 0;
  border: 1px solid var(--hm-line); border-radius: 50%; background: #fff;
}
.hatmed-modern #MainContent .hm-benefits-section .multicolumn-card__image {
  position: static; width: 28px; height: 28px; max-width: none; padding: 0; object-fit: contain;
}
.hatmed-modern #MainContent .hm-benefits-section .multicolumn-card-info { width: 100%; padding: 20px 0 0; }
.hatmed-modern #MainContent .hm-benefits-section .multicolumn-card-info h3 {
  min-height: 2.6em; margin: 0 0 12px; font-size: 17px; line-height: 1.3;
  font-weight: 600; color: var(--hm-ink); text-transform: none; text-wrap: balance;
}
.hatmed-modern #MainContent .hm-benefits-section .multicolumn-card-info p {
  margin: 0; font-size: 14px; line-height: 1.7; color: var(--hm-muted);
}
@media (max-width: 1100px) and (min-width: 681px) {
  .hatmed-modern #MainContent .hm-benefits-section .multicolumn-list { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px 24px; }
  .hatmed-modern #MainContent .hm-benefits-section .multicolumn-list > li { padding: 24px 0; }
  .hatmed-modern #MainContent .hm-benefits-section .multicolumn-list > li:nth-child(odd) { border-left: 0; }
  .hatmed-modern #MainContent .hm-benefits-section .multicolumn-list > li:nth-child(n+3) { border-top: 1px solid var(--hm-line); }
  .hatmed-modern #MainContent .hm-benefits-section .multicolumn-list > li:last-child { grid-column: 1 / -1; }
  .hatmed-modern #MainContent .hm-benefits-section .multicolumn-card-info h3 { min-height: 0; }
}
@media (max-width: 680px) {
  .hatmed-modern #MainContent .hm-benefits-section .multicolumn-list { grid-template-columns: minmax(0, 1fr); padding: 8px 22px; }
  .hatmed-modern #MainContent .hm-benefits-section .multicolumn-list > li + li { border-left: 0; border-top: 1px solid var(--hm-line); }
  .hatmed-modern #MainContent .hm-benefits-section .multicolumn-card { flex-direction: row; align-items: flex-start; gap: 16px; padding: 22px 0; text-align: left; }
  .hatmed-modern #MainContent .hm-benefits-section .multicolumn-card-image-wrapper,
  .hatmed-modern #MainContent .hm-benefits-section .media--circle { width: 48px; height: 48px; }
  .hatmed-modern #MainContent .hm-benefits-section .multicolumn-card__image { width: 23px; height: 23px; }
  .hatmed-modern #MainContent .hm-benefits-section .multicolumn-card-info { padding: 0; min-width: 0; }
  .hatmed-modern #MainContent .hm-benefits-section .multicolumn-card-info h3 { min-height: 0; margin-bottom: 8px; text-wrap: pretty; }
}

/* Resources: three useful destinations and one clear route to the full library. */
.hatmed-modern #MainContent .hm-resources-panel {
  padding: 40px; background: var(--hm-teal); border-radius: 12px;
}
.hatmed-modern #MainContent .hm-resources-header {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-bottom: 30px;
}
.hatmed-modern #MainContent .hm-resources-header h2 { margin: 0 0 10px; color: #fff; font-size: clamp(28px, 3vw, 38px); }
.hatmed-modern #MainContent .hm-resources-header p { margin: 0; color: #e3eeec; font-size: 15px; line-height: 1.7; }
.hatmed-modern #MainContent .hm-resources-all {
  display: inline-flex; align-items: center; gap: 24px; flex: none; min-height: 48px;
  padding: 12px 18px; border: 1px solid #aec7cc; border-radius: 6px;
  color: #fff; font-size: 14px; font-weight: 600; text-decoration: none;
}
.hatmed-modern #MainContent .hm-resources-all:hover { background: #193c44; border-color: #fff; }
.hatmed-modern #MainContent .hm-resources-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0;
}
.hatmed-modern #MainContent .hm-resources-grid > li { display: flex; min-width: 0; }
.hatmed-modern #MainContent .hm-resource-card {
  display: flex; flex-direction: column; align-items: flex-start; width: 100%; padding: 28px;
  background: #fff; border: 1px solid #fff; border-radius: 8px; color: var(--hm-ink); text-decoration: none;
}
.hatmed-modern #MainContent .hm-resource-icon {
  display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 24px;
  border-radius: 10px; background: var(--hm-fog);
}
.hatmed-modern #MainContent .hm-resource-icon img { display: block; width: 30px; height: 30px; object-fit: contain; }
.hatmed-modern #MainContent .hm-resource-card h3 { margin: 0 0 12px; font-size: 21px; font-weight: 600; line-height: 1.3; color: var(--hm-ink); }
.hatmed-modern #MainContent .hm-resource-card p { margin: 0 0 26px; font-size: 14px; line-height: 1.75; color: var(--hm-muted); }
.hatmed-modern #MainContent .hm-resource-action {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
  margin-top: auto; padding-top: 18px; border-top: 1px solid var(--hm-line);
  color: var(--hm-teal); font-size: 13px; font-weight: 600; line-height: 1.5;
}
.hatmed-modern #MainContent .hm-resource-action > span { font-size: 21px; line-height: 1; }
.hatmed-modern #MainContent .hm-resource-card:hover { background: var(--hm-fog); border-color: #b3d1d2; }
.hatmed-modern #MainContent .hm-resource-card:hover .hm-resource-action { text-decoration: underline; text-underline-offset: 4px; }
.hatmed-modern #MainContent .hm-resources-panel a:focus-visible { outline: 3px solid #8bd7d3; outline-offset: 4px; }
.hatmed-modern #shopify-section-template--21532442296512__image_with_text_4JFCwm,
.hatmed-modern [id^="Slide-template--21532442296512__multicolumn_fPpiKp-"] { scroll-margin-top: 120px; }
@media (min-width: 901px) {
  .hatmed-modern #MainContent .hm-resource-card h3 { min-height: 2.6em; }
}
@media (max-width: 1100px) {
  .hatmed-modern #MainContent .hm-resources-panel { padding: 32px; }
  .hatmed-modern #MainContent .hm-resource-card { padding: 24px; }
  .hatmed-modern #MainContent .hm-resources-grid { gap: 14px; }
}
@media (max-width: 900px) {
  .hatmed-modern #MainContent .hm-resources-grid { grid-template-columns: minmax(0, 1fr); }
  .hatmed-modern #MainContent .hm-resource-card { display: grid; grid-template-columns: 54px minmax(0, 1fr); column-gap: 20px; }
  .hatmed-modern #MainContent .hm-resource-icon { grid-column: 1; grid-row: 1 / 4; margin: 0; }
  .hatmed-modern #MainContent .hm-resource-card h3,
  .hatmed-modern #MainContent .hm-resource-card p,
  .hatmed-modern #MainContent .hm-resource-action { grid-column: 2; }
  .hatmed-modern #MainContent .hm-resource-card p { margin-bottom: 20px; }
}
@media (max-width: 680px) {
  .hatmed-modern #MainContent .hm-resources-panel { padding: 24px 18px; }
  .hatmed-modern #MainContent .hm-resources-header { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 24px; }
  .hatmed-modern #MainContent .hm-resources-header p { font-size: 14px; }
  .hatmed-modern #MainContent .hm-resources-all { width: 100%; justify-content: space-between; }
  .hatmed-modern #MainContent .hm-resource-card { grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; padding: 22px 18px; }
  .hatmed-modern #MainContent .hm-resource-icon { width: 40px; height: 40px; grid-row: 1; }
  .hatmed-modern #MainContent .hm-resource-icon img { width: 26px; height: 26px; }
  .hatmed-modern #MainContent .hm-resource-card h3 { align-self: center; margin: 0; font-size: 19px; }
  .hatmed-modern #MainContent .hm-resource-card p { grid-column: 1 / -1; margin: 16px 0 20px; }
  .hatmed-modern #MainContent .hm-resource-action { grid-column: 1 / -1; }
}

/* Clinic footage shares the hero rhythm, with a full, uncropped mobile frame. */
.hatmed-modern #MainContent .hm-hero-banner .hm-hero-slide--lifestyle-video .banner-media {
  width: 68%; background: var(--hm-fog);
  mask-image: linear-gradient(to right, transparent, #000 22%);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 22%);
}
.hatmed-modern #MainContent .hm-hero-banner .hm-hero-slide--lifestyle-video .banner-box { width: 40% !important; }
.hatmed-modern #MainContent .hm-hero-banner .hm-hero-slide--lifestyle-video .hm-hero-video { object-fit: cover; object-position: right center; }
@media (max-width: 749px) {
  .hatmed-modern #MainContent .hm-hero-banner .hm-hero-slide--lifestyle-video .banner-box { width: 100% !important; }
  .hatmed-modern #MainContent .hm-hero-banner .hm-hero-slide--lifestyle-video .banner-media { width: 100%; mask-image: none; -webkit-mask-image: none; }
  .hatmed-modern #MainContent .hm-hero-banner .hm-hero-slide--lifestyle-video .hm-hero-video { object-fit: contain; object-position: center; }
}

/* The series colour tokens are shared by the custom banner panels. */
.hm-hero-slide--p1 { --hm-series: #EE6700; --hm-series-deep: #a94600; --hm-series-wash: #fff4eb; }
.hm-hero-slide--g1 { --hm-series: #007A8A; --hm-series-deep: #007A8A; --hm-series-wash: #edf8f9; }
.hm-hero-slide--h1 { --hm-series: #225561; --hm-series-deep: #225561; --hm-series-wash: #edf4f4; }

/* Keep the referenced collection photographs sharp and entirely in frame. */
.hatmed-modern #MainContent .hm-collection-photo-banner .banner > .banner-media {
  background: #fff;
}
.hatmed-modern #MainContent .hm-collection-photo-banner .banner > .banner-media img {
  object-fit: contain; object-position: 100% 50%;
}
@media (max-width: 749px) {
  .hatmed-modern #MainContent .hm-collection-photo-banner .banner {
    height: 300px !important; min-height: 300px !important;
  }
  .hatmed-modern #MainContent .hm-collection-photo-banner .banner > .banner-media {
    top: 84px; bottom: 0; height: calc(100% - 84px); padding: 0;
  }
  .hatmed-modern #MainContent .hm-collection-photo-banner .banner .banner-content {
    align-items: flex-start !important; padding: 24px !important;
  }
  .hatmed-modern #MainContent .hm-collection-photo-banner .banner .banner-box {
    align-self: flex-start;
  }
  .hatmed-modern #MainContent .hm-collection-photo-banner .banner > .banner-media img {
    width: 150%; max-width: none; left: auto; right: 0;
  }
}

/* Series banners: stainless products on a quiet architectural display. */
.hatmed-modern #MainContent .hm-hero-banner { height: 620px !important; min-height: 620px !important; }
.hatmed-modern #MainContent > .modern-home-hero { padding-bottom: 0; }
.hm-hero-slide--series { background: #f8faf9; }
.hm-series-shell { display: grid; grid-template-columns: 44% 56%; align-items: center; width: 100%; max-width: 1440px; height: 100%; margin: auto; padding: 0 64px 64px; }
.hm-series-copy { position: relative; z-index: 2; padding-right: 36px; }
.hm-series-eyebrow { margin: 0 0 24px; font: 700 11px/1.3 var(--font-body-family); letter-spacing: .18em; text-transform: uppercase; color: var(--hm-series-deep); }
.hatmed-modern #MainContent h2.hm-series-heading { margin: 0 0 22px; font: 500 clamp(50px,5.6vw,86px)/1.05 var(--font-heading-family); letter-spacing: -.065em; white-space: nowrap; }
.hm-series-heading strong { font-weight: 650; }
.hm-series-heading > span { color: var(--hm-series); }
.hm-series-lead { margin: 0 0 12px; font: 500 clamp(19px,1.7vw,25px)/1.35 var(--font-heading-family); letter-spacing: -.025em; }
.hm-series-description { margin: 0; max-width: 385px; color: var(--hm-muted); font-size: 14px; line-height: 1.8; }
.hm-series-options { display: flex; gap: 0; margin: 28px 0; }
.hm-series-options > div { display: flex; align-items: baseline; gap: 10px; padding-right: 25px; }
.hm-series-options > div + div { padding-left: 25px; border-left: 1px solid #cedbda; }
.hm-series-options strong { font: 500 27px/1.2 var(--font-heading-family); letter-spacing: -.05em; }
.hm-series-options span { color: var(--hm-muted); font-size: 12px; }
.hm-series-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 40px; min-height: 50px; padding: 13px 20px; border-radius: 6px; background: var(--hm-series); color: #fff; text-decoration: none; font-size: 13px; font-weight: 700; }
.hm-hero-slide--p1 .hm-series-link { color: #172b30; }
.hm-series-link:hover { filter: brightness(.95); }
.hm-series-link > span { font-size: 21px; font-weight: 400; }
.hm-series-visual { position: relative; align-self: stretch; min-width: 0; isolation: isolate; }
.hm-series-visual::before { content: ''; position: absolute; inset: 0 -20vw -64px -30px; background: var(--hm-series-wash); clip-path: polygon(16% 0,100% 0,100% 100%,0 100%); z-index: -2; }
.hm-series-monogram { position: absolute; top: 25px; right: -15px; color: var(--hm-series); opacity: .11; font: 650 clamp(180px,22vw,330px)/1 var(--font-heading-family); letter-spacing: -.09em; user-select: none; }
.hm-series-plinth { position: absolute; left: 8%; right: -5%; bottom: 72px; height: 60px; background: linear-gradient(175deg,#ffffffc9,#ffffff38); border-top: 1px solid #ffffff; transform: skewY(-4deg); box-shadow: 0 20px 32px #193c4407; z-index: -1; }
.hm-series-visual > img { position: absolute; inset: 10px -20px 0; display: block; width: calc(100% + 40px); height: calc(100% - 25px); object-fit: cover; object-position: center; mix-blend-mode: normal; mask-image: linear-gradient(to right,transparent,#000 8%,#000 92%,transparent),linear-gradient(to bottom,transparent,#000 8%,#000 90%,transparent); mask-composite: intersect; }
.hm-series-model { position: absolute; left: 16%; bottom: 28px; display: flex; align-items: center; gap: 10px; margin: 0; color: var(--hm-muted); font-size: 11px; letter-spacing: .025em; }
.hm-series-model > span { width: 22px; height: 1px; background: var(--hm-series); }
.hatmed-modern #MainContent > .modern-intro { padding-block: 64px; border-bottom: 1px solid var(--hm-line); background: #fff; }
.hatmed-modern .modern-intro .page-width, .hatmed-modern .hm-home-range .page-width { max-width: 1440px; padding-inline: 64px; }
.hatmed-modern .hm-home-range { padding-block: 64px; }
.hatmed-modern .hm-home-range > .modern-featured-range { margin-top: 0 !important; }

/* Collections use the available width, with series details beside the models. */
.hatmed-modern #MainContent > .hm-series-collections { background: #f3f7f6; padding: 72px 0; }
.hm-collections-shell { max-width: 1440px; margin: auto; padding-inline: 64px; }
.hm-collections-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.hm-section-eyebrow { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; color: var(--hm-muted); margin: 0 0 12px; }
.hatmed-modern #MainContent .hm-collections-heading h2 { margin: 0; font-size: clamp(30px,3.1vw,44px); }
.hm-collections-heading > a { font-size: 13px; font-weight: 600; color: var(--hm-ink); text-decoration: none; white-space: nowrap; border-bottom: 1px solid #b2c4c5; padding-bottom: 5px; }
.hm-collections-heading > a span { margin-left: 16px; }
.hm-colour-p1 { --hm-series: #EE6700; --hm-series-deep: #a94600; --hm-series-wash: #fff4eb; }
.hm-colour-g1 { --hm-series: #007A8A; --hm-series-deep: #007A8A; --hm-series-wash: #edf8f9; }
.hm-colour-h1 { --hm-series: #225561; --hm-series-deep: #225561; --hm-series-wash: #edf4f4; }
.hm-collections-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-bottom: 40px; }
.hm-collections-tab { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 20px 24px; min-height: 89px; border: 1px solid #d5e0df; border-radius: 8px; color: var(--hm-ink); background: transparent; cursor: pointer; text-align: left; }
.hm-collections-tab[aria-selected="true"] { background: #fff; border-color: var(--hm-series); box-shadow: inset 0 3px 0 var(--hm-series); }
.hm-collections-tab-name { font: 600 20px/1.2 var(--font-heading-family); letter-spacing: -.035em; }
.hm-collections-tab-detail { grid-column: 1; font: 400 12px/1.4 var(--font-body-family); color: var(--hm-muted); }
.hm-collections-tab-arrow { grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: 24px; color: var(--hm-series-deep); }
.hm-collections-panel { display: grid; grid-template-columns: minmax(240px,.82fr) minmax(0,2fr); gap: 56px; align-items: center; min-height: 460px; }
.hm-collections-panel[hidden] { display: none !important; }
.hm-collections-series { color: var(--hm-series-deep); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 18px; }
.hatmed-modern #MainContent .hm-collections-intro h3 { font: 500 clamp(26px,2.4vw,34px)/1.18 var(--font-heading-family); letter-spacing: -.04em; margin: 0 0 18px; }
.hm-collections-intro > p:not(.hm-collections-series) { color: var(--hm-muted); font-size: 14px; line-height: 1.8; margin: 0 0 22px; max-width: 340px; }
.hm-collections-capacity { display: block; padding-top: 20px; border-top: 1px solid #d4dfdd; font: 500 22px/1.4 var(--font-heading-family); margin-bottom: 22px; }
.hm-collections-intro > a { display: inline-flex; align-items: center; gap: 30px; font-size: 13px; font-weight: 700; color: var(--hm-series-deep); text-decoration: none; }
.hm-collections-products { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.hm-collections-product { min-width: 0; }
.hm-collections-product .card-inner { background: #fff; }
.hatmed-modern .hm-collections-product .card-inner { border-color: #d9e3e1; border-radius: 10px; }
.hatmed-modern .hm-collections-product .card-information.main-block { padding: 20px 4px 0; }
.hm-collections-product .card-wrapper { height: auto; }
.hm-collections-product .hm-card__cycle { background: #fff; }

/* The moved craftsmanship section belongs to the Company story. */
.hatmed-modern #MainContent > .hm-craftsmanship-section { background: #f3f7f6; }
.hm-craftsmanship-images { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.hm-craftsmanship-images figure { margin: 0; height: 280px; border-radius: 10px; overflow: hidden; }
.hm-craftsmanship-images img { display: block; position: static; width: 100%; height: 100%; object-fit: cover; }
.hm-craftsmanship-copy { display: grid; grid-template-columns: .85fr 1.25fr; gap: 60px; padding-top: 40px; text-align: left; }
.hatmed-modern .hm-craftsmanship-copy h2 { margin: 0; }
.hatmed-modern .hm-craftsmanship-copy .rte { font-size: 14px; line-height: 1.8; color: var(--hm-muted); text-align: left; }

@media (min-width: 750px) and (max-width: 1100px) {
  .hatmed-modern #MainContent .hm-hero-banner { height: 590px !important; min-height: 590px !important; }
  .hm-series-shell { grid-template-columns: 47% 53%; padding: 0 40px 64px; }
  .hm-series-copy { padding-right: 12px; }
  .hatmed-modern #MainContent h2.hm-series-heading { font-size: 53px; }
  .hm-series-options > div { padding-right: 16px; }
  .hm-series-options > div + div { padding-left: 16px; }
  .hm-series-visual > img { object-fit: contain; inset: 30px -25px 0; width: calc(100% + 50px); }
  .hm-series-monogram { top: 60px; right: -25px; font-size: 200px; }
  .hm-collections-shell, .hatmed-modern .modern-intro .page-width, .hatmed-modern .hm-home-range .page-width { padding-inline: 40px; }
  .hm-collections-panel { gap: 28px; grid-template-columns: minmax(0,.8fr) minmax(0,1.6fr); }
  .hm-collections-products { gap: 16px; }
}
@media (max-width: 749px) {
  .hatmed-modern #MainContent .hm-hero-banner { height: auto !important; min-height: 0 !important; }
  .hm-series-shell { display: flex; flex-direction: column; align-items: stretch; padding: 34px 24px 0; min-height: 630px; }
  .hm-series-copy { padding: 0; }
  .hm-series-eyebrow { margin-bottom: 18px; font-size: 10px; }
  .hatmed-modern #MainContent h2.hm-series-heading { font-size: 48px; margin-bottom: 16px; }
  .hm-series-lead { font-size: 18px; margin-bottom: 10px; }
  .hm-series-description { font-size: 13px; max-width: 430px; }
  .hm-series-options { margin: 20px 0; }
  .hm-series-options strong { font-size: 24px; }
  .hm-series-link { min-height: 46px; padding-block: 10px; font-size: 12px; }
  .hm-series-visual { height: 265px; flex: 1 0 265px; margin-top: 10px; }
  .hm-series-visual::before { inset: 15px -24px -10px; clip-path: polygon(18% 0,100% 0,100% 100%,0 100%); }
  .hm-series-visual > img { inset: -8px 0 0; width: 100%; height: 250px; object-fit: contain; }
  .hm-series-monogram { top: 5px; right: -4px; font-size: 170px; }
  .hm-series-plinth { bottom: 37px; height: 35px; right: 0; }
  .hm-series-model { bottom: 4px; left: 8%; font-size: 10px; }
  .hm-hero-carousel:has(.hm-hero-slide--series.is-active) { background: #f8faf9; }
  .hm-hero-carousel:has(.hm-hero-slide--series.is-active) .hm-hero-controls { margin-top: 8px; background: #fff; }
  .hatmed-modern .modern-intro .page-width, .hatmed-modern .hm-home-range .page-width, .hm-collections-shell { padding-inline: 24px; }
  .hatmed-modern #MainContent > .modern-intro, .hatmed-modern .hm-home-range { padding-block: 40px; }
  .hatmed-modern #MainContent > .hm-series-collections { padding-block: 44px; }
  .hm-collections-heading { display: block; margin-bottom: 24px; }
  .hm-collections-heading > a { display: inline-block; margin-top: 20px; }
  .hm-collections-tabs { gap: 8px; margin-bottom: 30px; }
  .hm-collections-tab { display: block; padding: 14px 8px; min-height: 60px; text-align: center; }
  .hm-collections-tab-name { font-size: 15px; }
  .hm-collections-tab-detail, .hm-collections-tab-arrow { display: none; }
  .hm-collections-panel { display: block; min-height: 0; }
  .hm-collections-intro { margin-bottom: 26px; }
  .hm-collections-intro > p:not(.hm-collections-series) { max-width: none; }
  .hm-collections-capacity { font-size: 20px; padding-top: 14px; margin-bottom: 14px; }
  .hm-collections-products { gap: 20px; grid-template-columns: 1fr; }
  .hatmed-modern .hm-collections-product .card-information.main-block { padding-top: 16px; }
  .hm-craftsmanship-images { grid-template-columns: 1fr; gap: 16px; }
  .hm-craftsmanship-images figure { height: 230px; }
  .hm-craftsmanship-copy { grid-template-columns: 1fr; gap: 24px; padding-top: 28px; }
}

/* Supplied studio clips replace the three series product photographs. */
.hm-series-video {
  position: absolute; top: 50%; left: -32px; display: block;
  width: calc(100% + 64px); height: auto; aspect-ratio: 16 / 9;
  object-fit: contain; object-position: center; transform: translateY(-50%);
  background: #fff;
  mask-image: linear-gradient(to right,transparent,#000 8%,#000 92%,transparent),linear-gradient(to bottom,transparent,#000 2%,#000 94%,transparent);
  mask-composite: intersect;
}
@media (max-width: 749px) {
  .hm-series-video { left: -12px; width: calc(100% + 24px); top: 46%; }
}

/* Lead Q20B copy uses a deliberate model-name hierarchy and a quiet white fade. */
.hm-q20-copy {
  width: 43%; max-width: 500px; padding: 30px 34px 30px 0;
  background: linear-gradient(90deg,#fff 76%,#ffffff00); text-align: left;
}
.hm-q20-eyebrow {
  display: flex; align-items: center; gap: 12px; margin: 0 0 26px;
  color: var(--hm-teal); font-size: 10px; font-weight: 700; line-height: 1.4;
  letter-spacing: .14em; text-transform: uppercase;
}
.hm-q20-eyebrow::before { content: ''; flex: 0 0 26px; height: 2px; background: #007a8a; }
.hatmed-modern #MainContent .hm-hero-banner .hm-q20-heading {
  font-size: inherit !important; font-weight: 500 !important; line-height: 1 !important;
  letter-spacing: 0 !important; margin: 0;
}
.hm-q20-heading > span {
  display: block; margin-bottom: 10px; font: 500 26px/1.25 var(--font-heading-family);
  letter-spacing: -.04em; color: var(--hm-ink);
}
.hm-q20-heading > strong {
  display: block; font: 650 clamp(76px,6.5vw,104px)/.98 var(--font-heading-family);
  letter-spacing: -.065em; color: var(--hm-ink);
}
.hm-q20-heading > strong > span { color: #007a8a; }
.hm-q20-description {
  max-width: 360px; margin: 24px 0 28px; color: var(--hm-muted); font-size: 15px; line-height: 1.8;
}
.hm-q20-link {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 36px;
  min-width: 230px; min-height: 54px; padding: 14px 20px; border-radius: 6px;
  background: var(--hm-teal); color: #fff; font-size: 13px; font-weight: 700; text-decoration: none;
}
.hm-q20-link > span { font-size: 24px; line-height: 1; font-weight: 400; }
.hm-q20-link:hover { background: var(--hm-ink); }
@media (min-width: 750px) and (max-width: 1100px) {
  .hm-q20-copy { width: 45%; padding-right: 22px; }
  .hm-q20-heading > span { font-size: 22px; }
  .hm-q20-heading > strong { font-size: clamp(62px,7.3vw,80px); }
  .hm-q20-description { font-size: 14px; }
}
@media (max-width: 749px) {
  .hm-q20-copy { width: 100%; max-width: 520px; padding: 0; margin-inline: auto; background: transparent; }
  .hm-q20-eyebrow { font-size: 9px; margin-bottom: 22px; }
  .hm-q20-heading > span { font-size: 21px; margin-bottom: 8px; }
  .hm-q20-heading > strong { font-size: clamp(66px,18vw,88px); }
  .hm-q20-description { font-size: 14px; line-height: 1.7; margin-block: 18px 22px; max-width: 360px; }
  .hm-q20-link { min-width: 215px; min-height: 50px; }
}

/* A centred welcome: the wordmark, introduction, promise, then the existing story. */
.hatmed-modern #MainContent > .hm-welcome-section {
  padding: 64px var(--hm-gutter);
  background: radial-gradient(ellipse at 50% 0, #edf5f3 0, #f8fbfa 50%, #fff 100%);
  border-bottom: 1px solid var(--hm-line);
}
.hm-welcome-shell { max-width: 920px; margin-inline: auto; text-align: center; }
.hm-welcome-header { display: flex; flex-direction: column; align-items: center; }
.hm-welcome-logo { display: block; width: 168px; height: auto; object-fit: contain; margin: 0 0 28px; }
.hatmed-modern #MainContent .hm-welcome-header h2 {
  margin: 0; font-size: clamp(28px, 2.7vw, 40px); line-height: 1.25;
  font-weight: 500; letter-spacing: -.04em;
}
.hm-welcome-tagline {
  margin: 14px 0 0; font: 600 clamp(17px, 1.5vw, 21px)/1.5 var(--font-body-family);
  letter-spacing: -.025em; color: var(--hm-teal);
}
.hm-welcome-header::after { content: ''; width: 44px; height: 2px; margin-top: 26px; background: #8bb5b6; }
.hm-welcome-copy { max-width: 860px; margin: 26px auto 0; color: var(--hm-muted); font: 400 15px/1.85 var(--font-body-family); }
.hm-welcome-copy p { margin: 0 0 18px; }
.hm-welcome-copy p:last-child { margin-bottom: 0; }
.hm-welcome-link {
  display: inline-flex; align-items: center; gap: 20px; min-height: 48px; margin-top: 28px;
  padding: 12px 22px; border: 1px solid #b5cdcc; border-radius: 6px;
  background: #fff; color: var(--hm-teal); text-decoration: none;
  font: 600 14px/1.4 var(--font-body-family); letter-spacing: 0;
}
.hm-welcome-link span { font-size: 19px; line-height: 1; }
.hm-welcome-link:hover { background: #edf5f3; border-color: var(--hm-teal); }
@media (max-width: 749px) {
  .hatmed-modern #MainContent > .hm-welcome-section { padding: 44px 24px; }
  .hm-welcome-logo { width: 140px; margin-bottom: 24px; }
  .hm-welcome-copy { text-align: left; font-size: 14px; line-height: 1.8; margin-top: 24px; }
  .hm-welcome-header::after { margin-top: 22px; }
}

/* Keep the fade static so the video can composite without an animated mask. */
.hatmed-modern #MainContent .hm-hero-slide--video .banner-media::before { content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(to right,#fff,transparent 22%); }
.hatmed-modern #MainContent .hm-hero-slide--video video { transform:translateZ(0); }
@media(max-width:749px) { .hatmed-modern #MainContent .hm-hero-slide--video .banner-media::before { display:none; } }
