/*
Theme Name: HealthLine 2026
Theme URI: https://www.healthline.gr/
Author: HealthLine.gr
Author URI: https://www.healthline.gr/
Description: Lightweight custom block theme for HealthLine.gr. Built for performance, accessibility, medical authority and conversion.
Requires at least: 6.8
Tested up to: 7.1
Requires PHP: 8.2
Version: 0.16.4
Text Domain: healthline-2026
*/

:root {
  --hl-red: #d61747;
  --hl-blue: #1b80f3;
  --hl-navy: #0b2948;
  --hl-ink: #142033;
  --hl-muted: #5f6b7a;
  --hl-border: #dce6ef;
  --hl-soft-blue: #f4f9ff;
  --hl-soft-red: #fff4f6;
  --hl-white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  text-underline-offset: 0.16em;
}

:focus-visible {
  outline: 3px solid var(--hl-blue);
  outline-offset: 3px;
}

.hl-shell {
  width: min(100% - 2rem, 1280px);
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   HealthLine 2026 Header
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   HealthLine 2026 Header
   -------------------------------------------------------------------------- */
/* The template-part wrapper owns sticky positioning. Keeping sticky on the
   inner group would constrain it to the template part's own height. */
.hl-header-shell {
  position: sticky;
  top: 0;
  z-index: 1000;
  margin-block-start: 0 !important;
}

.hl-site-header {
  background: rgba(252, 251, 248, 0.98);
  border-bottom: 1px solid #ece7df;
  box-shadow: none;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.hl-site-header.is-scrolled {
  border-bottom-color: #e5dfd6;
  box-shadow: 0 8px 24px rgba(11, 41, 72, 0.07);
}

.admin-bar .hl-header-shell { top: 32px; }

.hl-header-inner {
  min-height: 86px;
  gap: clamp(1rem, 1.8vw, 1.8rem);
  transition: min-height 180ms ease, gap 180ms ease;
}

.hl-site-header.is-scrolled .hl-header-inner {
  min-height: 70px;
}

.hl-header-brand {
  flex: 0 0 auto;
  min-width: 210px;
}

.hl-header-brand .wp-block-site-logo {
  margin: 0;
}

.hl-header-brand .custom-logo,
.hl-header-brand .wp-block-site-logo img {
  display: block;
  width: auto;
  max-width: 250px;
  max-height: 60px;
  object-fit: contain;
  transition: width 180ms ease, max-width 180ms ease, max-height 180ms ease;
}

.hl-site-header.is-scrolled .hl-header-brand .custom-logo,
.hl-site-header.is-scrolled .hl-header-brand .wp-block-site-logo img {
  max-width: 220px;
  max-height: 50px;
}

.hl-primary-navigation {
  flex: 1 1 auto;
}

.hl-primary-navigation .wp-block-navigation__container {
  gap: clamp(0.8rem, 1.15vw, 1.2rem);
}

.hl-primary-navigation .wp-block-navigation-item__content {
  position: relative;
  padding-block: 0.5rem;
  color: var(--hl-navy);
  font-size: 1rem;
  font-weight: 680;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease;
}

.hl-primary-navigation .wp-block-navigation-item__content::after {
  position: absolute;
  right: 0;
  bottom: 0.12rem;
  left: 0;
  height: 2px;
  content: "";
  background: var(--hl-blue);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.hl-primary-navigation .wp-block-navigation-item__content:hover,
.hl-primary-navigation .wp-block-navigation-item__content:focus-visible {
  color: var(--hl-red);
}

.hl-primary-navigation .wp-block-navigation-item__content:hover::after,
.hl-primary-navigation .wp-block-navigation-item__content:focus-visible::after {
  transform: scaleX(1);
}

.hl-primary-navigation .current-menu-item > .wp-block-navigation-item__content,
.hl-primary-navigation .current-menu-ancestor > .wp-block-navigation-item__content,
.hl-primary-navigation .wp-block-navigation-item__content[aria-current="page"] {
  color: var(--hl-red);
}

.hl-primary-navigation .wp-block-navigation__submenu-container {
  min-width: 210px;
  padding: 0.55rem;
  background: #fcfbf8;
  border: 1px solid #ece7df;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(11, 41, 72, 0.12);
}

.hl-primary-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  padding: 0.72rem 0.82rem;
  border-radius: 9px;
  font-size: 0.95rem;
}

.hl-primary-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.hl-primary-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible {
  background: var(--hl-soft-blue);
  color: var(--hl-red);
}

.hl-primary-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after {
  display: none;
}

.hl-header-actions {
  flex: 0 0 auto;
  gap: 0.65rem;
}

.hl-header-search {
  width: 44px;
  margin: 0;
  transition: width 180ms ease;
}

.hl-header-search:focus-within {
  width: 220px;
}

.hl-header-search .wp-block-search__inside-wrapper {
  min-height: 44px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #e5dfd6;
  border-radius: 999px;
  background: var(--hl-white);
}

.hl-header-search:hover .wp-block-search__inside-wrapper,
.hl-header-search:focus-within .wp-block-search__inside-wrapper {
  border-color: #e5dfd6;
  border-radius: 999px;
  box-shadow: none;
}

.hl-header-search .wp-block-search__input {
  min-width: 0;
  width: 0;
  padding: 0;
  opacity: 0;
  border: 0;
  color: var(--hl-ink);
  transition: width 180ms ease, opacity 180ms ease, padding 180ms ease;
}

.hl-header-search:focus-within .wp-block-search__input {
  width: 165px;
  padding-left: 0.9rem;
  opacity: 1;
}

/* Keep the expanded search field visually clean. WordPress/browser focus
   styles can otherwise appear as a vertical blue line at the input/button
   boundary. The whole search pill carries the focus treatment instead. */
.hl-header-search .wp-block-search__input:focus,
.hl-header-search .wp-block-search__input:focus-visible {
  outline: 0 !important;
  box-shadow: none !important;
}

.hl-header-search:focus-within .wp-block-search__inside-wrapper {
  border-color: #d9e4ee;
  box-shadow: 0 0 0 2px rgba(27, 128, 243, 0.10);
}

.hl-header-search .wp-block-search__button {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0.65rem;
  -webkit-appearance: none;
  appearance: none;
  border: 0 !important;
  border-radius: 50% !important;
  background: var(--hl-soft-blue) !important;
  box-shadow: none !important;
  color: var(--hl-blue) !important;
  outline: 0;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.hl-header-search .wp-block-search__button:hover {
  border: 0 !important;
  border-radius: 50% !important;
  background: #e7f2ff !important;
  box-shadow: none !important;
  color: var(--hl-red) !important;
}

.hl-header-search .wp-block-search__button:focus-visible {
  border: 0 !important;
  border-radius: 50% !important;
  background: #e7f2ff !important;
  box-shadow: 0 0 0 3px rgba(27, 128, 243, 0.22) !important;
  color: var(--hl-red) !important;
  outline: 0;
}

.hl-header-appointment .wp-block-button__link,
.hl-header-appointment .wp-block-button__link:visited {
  padding: 0.74rem 1.08rem;
  border: 1px solid var(--hl-red);
  background: var(--hl-red);
  box-shadow: 0 7px 18px rgba(214, 23, 71, 0.14);
  color: #ffffff !important;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.hl-site-header.is-scrolled .hl-header-appointment .wp-block-button__link {
  padding-top: 0.62rem;
  padding-bottom: 0.62rem;
}

.hl-header-appointment .wp-block-button__link:hover,
.hl-header-appointment .wp-block-button__link:focus-visible {
  border-color: var(--hl-red);
  background: var(--hl-white);
  box-shadow: 0 6px 16px rgba(214, 23, 71, 0.10);
  color: var(--hl-red) !important;
}

main :is(h1, h2, h3, h4, h5, h6)[id],
main [id] {
  scroll-margin-top: 96px;
}

@media (max-width: 1100px) {
  .hl-header-inner {
    min-height: 72px;
  }

  .hl-site-header.is-scrolled .hl-header-inner {
    min-height: 62px;
  }

  .hl-header-brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .hl-header-brand .custom-logo,
  .hl-header-brand .wp-block-site-logo img {
    max-width: 205px;
    max-height: 50px;
  }

  .hl-site-header.is-scrolled .hl-header-brand .custom-logo,
  .hl-site-header.is-scrolled .hl-header-brand .wp-block-site-logo img {
    max-width: 185px;
    max-height: 44px;
  }

  .hl-primary-navigation {
    order: 3;
    flex: 0 0 auto;
  }

  .hl-primary-navigation .wp-block-navigation__responsive-container-open {
    display: flex;
  }

  .hl-primary-navigation .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: none;
  }

  .hl-header-search {
    display: none;
  }

  .hl-primary-navigation .wp-block-navigation__responsive-container.is-menu-open {
    padding: 1.5rem;
    background: #fcfbf8;
  }

  .hl-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    padding-top: 2.5rem;
  }

  .hl-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
    gap: 0.45rem;
    align-items: stretch;
  }

  .hl-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
    width: 100%;
  }

  .hl-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
    display: block;
    width: 100%;
    padding: 0.72rem 0;
    font-size: 1.08rem;
  }

  .hl-primary-navigation .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
    position: static;
    width: 100%;
    min-width: 0;
    margin-top: 0.35rem;
    padding: 0 0 0 1rem;
    border: 0;
    box-shadow: none;
  }
}

@media (max-width: 782px) {
  .admin-bar .hl-header-shell { top: 46px; }
}

@media (max-width: 640px) {
  .hl-header-inner {
    gap: 0.5rem;
    min-height: 70px;
  }

  .hl-site-header.is-scrolled .hl-header-inner {
    min-height: 60px;
  }

  .hl-header-brand .custom-logo,
  .hl-header-brand .wp-block-site-logo img {
    max-width: 176px;
    max-height: 44px;
  }

  .hl-site-header.is-scrolled .hl-header-brand .custom-logo,
  .hl-site-header.is-scrolled .hl-header-brand .wp-block-site-logo img {
    max-width: 160px;
    max-height: 40px;
  }

  .hl-header-actions {
    gap: 0.35rem;
  }

  .hl-header-appointment .wp-block-button__link,
  .hl-site-header.is-scrolled .hl-header-appointment .wp-block-button__link {
    padding: 0.66rem 0.78rem;
    font-size: 0.8rem;
  }

  main :is(h1, h2, h3, h4, h5, h6)[id],
  main [id] {
    scroll-margin-top: 78px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hl-site-header,
  .hl-header-inner,
  .hl-header-brand .custom-logo,
  .hl-header-brand .wp-block-site-logo img,
  .hl-primary-navigation .wp-block-navigation-item__content,
  .hl-primary-navigation .wp-block-navigation-item__content::after,
  .hl-header-search,
  .hl-header-search .wp-block-search__input,
  .hl-header-appointment .wp-block-button__link {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Homepage Hero v1
   -------------------------------------------------------------------------- */
.hl-home-main {
  margin-block-start: 0 !important;
}

.hl-home-hero {
  position: relative;
  overflow: hidden;
  margin-block-start: 0 !important;
  padding: clamp(2.5rem, 5vw, 5rem) 0 clamp(3.25rem, 7vw, 6.75rem);
  background:
    radial-gradient(circle at 82% 20%, rgba(27, 128, 243, 0.12), transparent 34%),
    radial-gradient(circle at 76% 88%, rgba(214, 23, 71, 0.08), transparent 32%),
    #fcfbf8;
  border-bottom: 1px solid #eee9e2;
}

.hl-home-hero::before {
  position: absolute;
  top: 12%;
  right: 4%;
  width: 20rem;
  height: 20rem;
  content: "";
  border: 1px solid rgba(27, 128, 243, 0.10);
  border-radius: 50%;
  pointer-events: none;
}

.hl-hero-grid {
  position: relative;
  z-index: 1;
  gap: clamp(2.5rem, 5vw, 5.5rem);
  margin-block: 0;
}

.hl-hero-copy {
  max-width: 760px;
}

.hl-hero-name {
  max-width: 13ch;
  margin: 0;
  color: var(--hl-navy);
  font-size: clamp(2.55rem, 4.6vw, 5.15rem);
  font-weight: 780;
  line-height: 0.99;
  letter-spacing: -0.045em;
}

.hl-hero-name span {
  display: inline-block;
  margin-left: 0.15em;
  color: var(--hl-blue);
  font-size: 0.45em;
  font-weight: 700;
  letter-spacing: -0.015em;
  vertical-align: 0.28em;
}

.hl-hero-specialty {
  margin: 1.05rem 0 0;
  color: var(--hl-blue);
  font-size: clamp(1.45rem, 2.2vw, 2.25rem);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.hl-hero-specialty span {
  padding-inline: 0.18em;
  color: var(--hl-red);
}

.hl-hero-positioning {
  max-width: 650px;
  margin: 1.45rem 0 0;
  color: #344256;
  font-size: clamp(1.05rem, 1.35vw, 1.3rem);
  line-height: 1.62;
}

.hl-hero-actions {
  gap: 0.8rem;
  margin-top: 2rem;
}

.hl-hero-primary .wp-block-button__link,
.hl-hero-primary .wp-block-button__link:visited {
  min-height: 48px;
  padding: 0.82rem 1.3rem;
  border: 1px solid var(--hl-red);
  border-radius: 999px;
  background: var(--hl-red);
  box-shadow: 0 10px 24px rgba(214, 23, 71, 0.15);
  color: #fff !important;
  font-weight: 720;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.hl-hero-primary .wp-block-button__link:hover,
.hl-hero-primary .wp-block-button__link:focus-visible {
  border-color: var(--hl-red);
  background: #fff;
  box-shadow: 0 8px 18px rgba(214, 23, 71, 0.10);
  color: var(--hl-red) !important;
}

.hl-hero-secondary .wp-block-button__link,
.hl-hero-secondary .wp-block-button__link:visited {
  min-height: 48px;
  padding: 0.82rem 1.3rem;
  border: 1px solid #cbd9e6;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--hl-navy) !important;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.hl-hero-secondary .wp-block-button__link:hover,
.hl-hero-secondary .wp-block-button__link:focus-visible {
  border-color: var(--hl-blue);
  background: #fff;
  color: var(--hl-blue) !important;
}

.hl-hero-trust {
  gap: 0.75rem 1.25rem;
  margin-top: 2.1rem;
}

.hl-hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: #445268;
  font-size: 0.92rem;
  font-weight: 620;
  line-height: 1.25;
}

.hl-hero-trust-item::before {
  display: inline-grid;
  width: 1.55rem;
  height: 1.55rem;
  flex: 0 0 1.55rem;
  place-items: center;
  content: "✓";
  border: 1px solid rgba(27, 128, 243, 0.25);
  border-radius: 50%;
  background: rgba(27, 128, 243, 0.07);
  color: var(--hl-blue);
  font-size: 0.78rem;
  font-weight: 800;
}

.hl-hero-visual-column {
  position: relative;
}

.hl-hero-portrait-frame {
  position: relative;
  max-width: 550px;
  margin-inline: auto 0;
  padding: clamp(0.55rem, 1vw, 0.8rem);
  border: 1px solid rgba(27, 128, 243, 0.14);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 30px 70px rgba(11, 41, 72, 0.13);
}

.hl-hero-portrait-frame::before {
  position: absolute;
  top: -1rem;
  right: -1rem;
  width: 7rem;
  height: 7rem;
  content: "";
  border-radius: 24px;
  background: rgba(214, 23, 71, 0.08);
  transform: rotate(10deg);
  z-index: -1;
}

.hl-hero-portrait-frame::after {
  position: absolute;
  bottom: -1.2rem;
  left: -1.2rem;
  width: 8rem;
  height: 8rem;
  content: "";
  border-radius: 50%;
  background: rgba(27, 128, 243, 0.09);
  z-index: -1;
}

.hl-hero-portrait {
  margin: 0 !important;
}

.hl-hero-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 0.92;
  object-fit: cover;
  object-position: center 34%;
  border-radius: 24px;
}

@media (max-width: 900px) {
  .hl-home-hero {
    padding: 2.75rem 0 4rem;
  }

  .hl-hero-grid {
    gap: 2.5rem;
  }

  .hl-hero-name {
    max-width: none;
  }

  .hl-hero-portrait-frame {
    max-width: 520px;
    margin-inline: auto;
  }
}

@media (max-width: 781px) {
  .hl-hero-grid {
    flex-direction: column;
  }

  .hl-hero-copy,
  .hl-hero-visual-column {
    flex-basis: auto !important;
    width: 100%;
  }

  .hl-hero-copy {
    text-align: left;
  }

  .hl-hero-trust {
    align-items: flex-start;
    flex-direction: column;
  }

  .hl-hero-portrait-frame {
    margin-top: 0.25rem;
  }
}

@media (max-width: 540px) {
  .hl-home-hero {
    padding: 2.35rem 0 3.25rem;
  }

  .hl-hero-name {
    font-size: clamp(2.35rem, 12vw, 3.55rem);
  }

  .hl-hero-name span {
    display: block;
    margin: 0.35rem 0 0;
    font-size: 0.34em;
    vertical-align: baseline;
  }

  .hl-hero-specialty {
    font-size: 1.42rem;
  }

  .hl-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hl-hero-actions .wp-block-button,
  .hl-hero-actions .wp-block-button__link {
    width: 100%;
  }

  .hl-hero-actions .wp-block-button__link {
    text-align: center;
  }

  .hl-hero-portrait-frame {
    padding: 0.45rem;
    border-radius: 24px;
  }

  .hl-hero-portrait img {
    border-radius: 19px;
  }
}


/* --------------------------------------------------------------------------
   Homepage Content Pillars v1
   -------------------------------------------------------------------------- */
.hl-content-pillars {
  position: relative;
  margin-block-start: 0 !important;
  padding-block: clamp(4rem, 7vw, 6.5rem);
  background: #ffffff;
  border-bottom: 1px solid #edf1f5;
}

.hl-pillars-heading-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 1.5rem 3rem;
  align-items: end;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.hl-pillars-heading-row > .wp-block-group {
  min-width: 0;
}

/* Keep the eyebrow and title anchored to the same left edge.
   WordPress constrained-layout defaults can otherwise auto-center max-content children. */
.hl-pillars-heading-row > .wp-block-group > .hl-pillars-eyebrow,
.hl-pillars-heading-row > .wp-block-group > .hl-pillars-title {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.hl-pillars-eyebrow {
  margin: 0 0 0.65rem;
  color: var(--hl-red);
  font-size: 0.82rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hl-pillars-title {
  max-width: none;
  margin: 0;
  color: var(--hl-navy);
  font-size: clamp(2rem, 2.45vw, 2.8rem);
  font-weight: 770;
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: none !important;
  width: max-content;
  white-space: nowrap !important;
  text-wrap: nowrap !important;
}

.hl-pillars-intro {
  max-width: 600px;
  margin: 0;
  color: #536176;
  font-size: clamp(1rem, 1.15vw, 1.17rem);
  line-height: 1.68;
}

.hl-pillars-grid {
  gap: clamp(1rem, 2vw, 1.4rem);
  align-items: stretch;
  margin-block: 0;
}

.hl-pillar-card {
  position: relative;
  height: 100%;
  min-height: 290px;
  padding: clamp(1.45rem, 2.3vw, 2rem);
  overflow: hidden;
  border: 1px solid #e4ebf2;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(11, 41, 72, 0.07);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.hl-pillar-card:hover {
  transform: translateY(-3px);
  border-color: #cfe2f8;
  box-shadow: 0 22px 54px rgba(11, 41, 72, 0.11);
}

.hl-pillar-card--diabetes {
  background:
    radial-gradient(circle at 100% 0%, rgba(27, 128, 243, 0.11), transparent 42%),
    linear-gradient(145deg, #fbfdff, #f5faff);
  border-color: #cfe2f8;
}

.hl-pillar-card--nutrition {
  background:
    radial-gradient(circle at 100% 0%, rgba(39, 154, 102, 0.09), transparent 42%),
    #ffffff;
}

.hl-pillar-card--health {
  background:
    radial-gradient(circle at 100% 0%, rgba(214, 23, 71, 0.08), transparent 42%),
    #ffffff;
}

.hl-pillar-index {
  display: inline-grid;
  width: 2.45rem;
  height: 2.45rem;
  margin: 0 0 1.45rem;
  place-items: center;
  border-radius: 50%;
  background: var(--hl-soft-blue);
  color: var(--hl-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hl-pillar-card--nutrition .hl-pillar-index {
  background: #eef9f3;
  color: #25855b;
}

.hl-pillar-card--health .hl-pillar-index {
  background: var(--hl-soft-red);
  color: var(--hl-red);
}

.hl-pillar-label {
  margin: 0 0 0.55rem;
  color: #6a7687;
  font-size: 0.8rem;
  font-weight: 720;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.hl-pillar-card--diabetes .hl-pillar-label {
  color: var(--hl-blue);
}

.hl-pillar-card h3 {
  margin: 0;
  color: var(--hl-navy);
  font-size: clamp(1.65rem, 2.25vw, 2.25rem);
  font-weight: 760;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hl-pillar-card p.hl-pillar-copy {
  margin: 1rem 0 1.5rem;
  color: #526075;
  font-size: 0.98rem;
  line-height: 1.65;
}

.hl-pillar-link,
.hl-pillar-link:visited {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  color: var(--hl-navy);
  font-size: 0.94rem;
  font-weight: 760;
  text-decoration: none;
}

.hl-pillar-link::after {
  content: "→";
  color: var(--hl-red);
  transition: transform 180ms ease;
}

.hl-pillar-link:hover,
.hl-pillar-link:focus-visible {
  color: var(--hl-red);
}

.hl-pillar-link:hover::after,
.hl-pillar-link:focus-visible::after {
  transform: translateX(3px);
}

/* Keep the three category calls-to-action aligned along the bottom edge. */
.hl-pillar-card > .hl-pillar-cta-row {
  width: 100%;
  margin-top: auto;
  margin-bottom: 0;
}

@media (max-width: 960px) {
  .hl-pillars-heading-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hl-pillars-title {
    width: auto;
    white-space: normal !important;
    text-wrap: balance !important;
  }

  .hl-pillars-intro {
    max-width: 760px;
  }
}

@media (max-width: 781px) {
  .hl-pillars-grid {
    flex-direction: column;
  }

  .hl-pillars-grid > .wp-block-column {
    flex-basis: auto !important;
    width: 100%;
  }

  .hl-pillar-card {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hl-pillar-card,
  .hl-pillar-link::after {
    transition: none;
  }
}


/* --------------------------------------------------------------------------
   Homepage Health Guides v2
   -------------------------------------------------------------------------- */
.hl-quick-guides {
  position: relative;
  margin-block-start: 0 !important;
  padding-block: clamp(4.75rem, 7vw, 7.25rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 4% 18%, rgba(27, 128, 243, 0.085), transparent 30%),
    radial-gradient(circle at 96% 82%, rgba(214, 23, 71, 0.045), transparent 28%),
    linear-gradient(180deg, #fbfdff 0%, #f6faff 100%);
  border-bottom: 1px solid #e9eff5;
}

.hl-quick-guides::before {
  position: absolute;
  top: -10rem;
  right: -8rem;
  width: 24rem;
  height: 24rem;
  content: "";
  border: 1px solid rgba(27, 128, 243, 0.10);
  border-radius: 50%;
  pointer-events: none;
}

.hl-guides-heading-row {
  margin-bottom: clamp(2rem, 3.8vw, 3.25rem);
}

.hl-guides-heading-row > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.hl-guides-eyebrow {
  margin: 0 0 0.7rem;
  color: var(--hl-red);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hl-guides-title {
  max-width: 1050px;
  margin: 0;
  color: var(--hl-navy);
  font-size: clamp(2.15rem, 3.35vw, 3.65rem);
  font-weight: 790;
  line-height: 1.02;
  letter-spacing: -0.048em;
  text-wrap: balance;
}

.hl-guides-intro {
  max-width: 960px;
  margin: 0.85rem 0 0;
  color: #536176;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  line-height: 1.65;
}

/* The HTML block sits inside a constrained block container. Explicitly give
   the guide stage the theme's wide width so it never collapses to article width. */
.hl-guides-stage {
  width: min(calc(100vw - 2rem), 1280px);
  max-width: 1280px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 1.15rem;
  align-items: stretch;
}

.hl-guide-featured {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(290px, 1.1fr);
  min-height: 540px;
  overflow: hidden;
  border: 1px solid #cfe1f4;
  border-radius: 28px;
  background: linear-gradient(135deg, #f8fcff 0%, #eff7ff 100%);
  box-shadow: 0 22px 54px rgba(11, 41, 72, 0.09);
}

.hl-guide-featured__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 3vw, 3.15rem);
}

.hl-guide-featured__copy::after {
  position: absolute;
  top: 0;
  right: -7rem;
  bottom: 0;
  width: 12rem;
  content: "";
  z-index: 1;
  background: linear-gradient(90deg, rgba(239, 247, 255, 1), rgba(239, 247, 255, 0));
  pointer-events: none;
}

.hl-guide-meta {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: 1.6rem;
}

.hl-guide-number,
.hl-guide-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.3rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}

.hl-guide-number {
  min-width: 2.3rem;
  padding-inline: 0.55rem;
  background: #e7f2ff;
  color: var(--hl-blue);
}

.hl-guide-tag {
  padding-inline: 0.9rem;
  background: rgba(255,255,255,0.72);
  color: var(--hl-blue);
  border: 1px solid rgba(27, 128, 243, 0.10);
  white-space: nowrap;
  flex-shrink: 0;
}

.hl-guide-featured h3 {
  position: relative;
  z-index: 2;
  max-width: 10ch;
  margin: 0;
  color: var(--hl-navy);
  font-size: clamp(2.35rem, 3.2vw, 3.55rem);
  font-weight: 790;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hl-guide-featured p {
  position: relative;
  z-index: 2;
  max-width: 38ch;
  margin: 1.3rem 0 0;
  color: #536176;
  font-size: 1.03rem;
  line-height: 1.68;
}

.hl-guide-button,
.hl-guide-faq__button {
  position: relative;
  z-index: 3;
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 2rem;
  padding: 0.82rem 1.2rem;
  border: 1px solid var(--hl-red);
  border-radius: 12px;
  background: var(--hl-red);
  color: #fff;
  font-size: 0.94rem;
  font-weight: 760;
  line-height: 1;
  box-shadow: 0 9px 22px rgba(214, 23, 71, 0.12);
  white-space: nowrap;
}

.hl-guide-button span,
.hl-guide-faq__button span {
  font-size: 1.15em;
}

.hl-guide-featured__visual {
  position: relative;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
}

.hl-guide-featured__visual::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(90deg, rgba(239,247,255,0.78) 0%, rgba(239,247,255,0.06) 38%, rgba(255,255,255,0) 70%);
  pointer-events: none;
}

.hl-guide-featured__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% center;
}

.hl-guide-secondary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.hl-guide-tile {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 260px;
  flex-direction: column;
  padding: 1.55rem;
  overflow: hidden;
  border: 1px solid #e3eaf2;
  border-radius: 24px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 16px 40px rgba(11, 41, 72, 0.055);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.hl-guide-tile:hover {
  transform: translateY(-3px);
  border-color: #cfe0f3;
  box-shadow: 0 20px 48px rgba(11, 41, 72, 0.09);
}

.hl-guide-tile--sugar { --guide-accent: #d61747; --guide-soft: #fff0f4; }
.hl-guide-tile--metabolism { --guide-accent: #2b9a62; --guide-soft: #edf8f2; }
.hl-guide-tile--tests { --guide-accent: #1b80f3; --guide-soft: #edf6ff; }
.hl-guide-tile--daily { --guide-accent: #eb8a16; --guide-soft: #fff5e8; }

.hl-guide-icon {
  display: inline-grid;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 50%;
  background: var(--guide-soft);
  color: var(--guide-accent);
}

.hl-guide-icon svg {
  width: 1.65rem;
  height: 1.65rem;
}

.hl-guide-tile-number {
  position: absolute;
  top: 1.8rem;
  right: 1.5rem;
  color: var(--guide-accent);
  font-size: 1.05rem;
  font-weight: 800;
}

.hl-guide-tile h3 {
  max-width: 15ch;
  margin: 0;
  color: var(--hl-navy);
  font-size: clamp(1.35rem, 1.75vw, 1.72rem);
  font-weight: 780;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hl-guide-tile p {
  margin: 0.75rem 0 2rem;
  color: #596779;
  font-size: 0.95rem;
  line-height: 1.55;
}

.hl-guide-arrow {
  position: absolute;
  right: 1.35rem;
  bottom: 1.05rem;
  color: var(--hl-red);
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1;
}

.hl-guide-faq {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  gap: 1.1rem 1.35rem;
  align-items: center;
  min-height: 122px;
  padding: 1.15rem 1.35rem;
  border: 1px solid #dcdcfb;
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 25%, rgba(111, 87, 255, 0.08), transparent 30%),
    linear-gradient(90deg, #fbfbff, #f4f3ff);
  box-shadow: 0 14px 36px rgba(42, 37, 112, 0.05);
}

.hl-guide-faq__icon {
  display: grid;
  width: 3.7rem;
  height: 3.7rem;
  place-items: center;
  border-radius: 50%;
  background: #ece9ff;
  color: #5d4bd8;
  font-size: 1.7rem;
  font-weight: 850;
}

.hl-guide-faq__number {
  color: #7666e7;
  font-size: 1.05rem;
  font-weight: 800;
}

.hl-guide-faq__copy h3 {
  margin: 0;
  color: var(--hl-navy);
  font-size: 1.45rem;
  font-weight: 780;
  letter-spacing: -0.025em;
}

.hl-guide-faq__copy p {
  margin: 0.3rem 0 0;
  color: #5f6c7d;
  font-size: 0.92rem;
  line-height: 1.5;
}

.hl-guide-faq__button {
  margin: 0;
  white-space: nowrap;
}

/* v0.7.0 intentionally keeps the guide destinations inactive until the
   existing HealthLine article map is approved in the next content step. */

@media (max-width: 1080px) {
  .hl-guides-stage {
    grid-template-columns: 1fr;
  }

  .hl-guide-featured {
    min-height: 500px;
  }

  .hl-guide-secondary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hl-quick-guides {
    padding-block: 4rem;
  }

  .hl-guide-featured {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hl-guide-featured__copy {
    padding: 1.8rem 1.45rem 1.65rem;
  }

  .hl-guide-featured__copy::after {
    display: none;
  }

  .hl-guide-featured h3 {
    max-width: none;
  }

  .hl-guide-featured__visual {
    min-height: 300px;
  }

  .hl-guide-featured__visual::before {
    background: linear-gradient(180deg, rgba(239,247,255,0.45), rgba(255,255,255,0));
  }

  .hl-guide-secondary-grid {
    grid-template-columns: 1fr;
  }

  .hl-guide-tile {
    min-height: 215px;
  }

  .hl-guide-faq {
    grid-template-columns: auto auto minmax(0, 1fr);
  }

  .hl-guide-faq__button {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 0.25rem;
  }
}

@media (max-width: 520px) {
  .hl-guides-stage {
    width: min(calc(100vw - 1.25rem), 1280px);
  }

  .hl-guides-title {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .hl-guide-featured__visual {
    min-height: 260px;
  }

  .hl-guide-faq {
    grid-template-columns: auto 1fr;
  }

  .hl-guide-faq__number {
    display: none;
  }

  .hl-guide-faq__copy {
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hl-guide-tile {
    transition: none;
  }
}


/* --------------------------------------------------------------------------
   v0.9.3 YouTube + Social authority section
   Light editorial layout inspired by the approved homepage mockup.
   -------------------------------------------------------------------------- */
.hl-media-section {
  margin-block-start: 0;
  padding: clamp(4.25rem, 6vw, 6rem) 1rem;
  background:
    radial-gradient(circle at 8% 4%, rgba(27, 128, 243, 0.08), transparent 24%),
    radial-gradient(circle at 95% 92%, rgba(214, 23, 71, 0.055), transparent 22%),
    #f8fbff;
  color: var(--hl-navy);
}

.hl-media-shell {
  width: min(100%, 1280px);
  margin-inline: auto;
}

.hl-media-heading {
  display: flex;
  gap: 2rem;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}

.hl-media-eyebrow {
  margin: 0 0 0.45rem;
  color: var(--hl-red);
  font-size: 0.79rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hl-media-heading h2 {
  margin: 0;
  color: var(--hl-navy);
  font-size: clamp(2rem, 3.2vw, 3.35rem);
  font-weight: 830;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.hl-media-intro {
  max-width: 700px;
  margin: 0.72rem 0 0;
  color: #5d6f83;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.65;
}

.hl-media-channel-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding-bottom: 0.18rem;
  color: var(--hl-blue);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.hl-media-channel-link:hover,
.hl-media-channel-link:focus-visible {
  color: var(--hl-red);
}

.hl-media-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr);
  gap: 1.15rem;
  align-items: stretch;
}

.hl-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hl-video-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e2ebf3;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(11, 41, 72, 0.075);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.hl-video-card:hover {
  transform: translateY(-4px);
  border-color: #cddfee;
  box-shadow: 0 18px 42px rgba(11, 41, 72, 0.12);
}

.hl-video-card__link {
  display: flex;
  height: 100%;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.hl-video-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #eaf3fb;
}

.hl-video-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 220ms ease;
}

.hl-video-card:hover .hl-video-card__media img {
  transform: scale(1.035);
}

.hl-video-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 56%, rgba(5, 21, 39, 0.26));
  pointer-events: none;
}

.hl-video-play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  display: grid;
  width: 3.2rem;
  height: 3.2rem;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255,255,255,.92);
  border-radius: 50%;
  background: rgba(11, 41, 72, 0.82);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  font-size: 0.96rem;
  line-height: 1;
}

.hl-video-badge {
  position: absolute;
  z-index: 2;
  left: 0.75rem;
  top: 0.75rem;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: var(--hl-red);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hl-video-card__body {
  display: flex;
  min-height: 155px;
  padding: 0.95rem 1rem 1rem;
  flex: 1 1 auto;
  flex-direction: column;
}

.hl-video-card__body h3 {
  margin: 0;
  color: var(--hl-navy);
  font-size: clamp(1rem, 1.3vw, 1.22rem);
  font-weight: 790;
  letter-spacing: -0.022em;
  line-height: 1.25;
}

.hl-video-card__body p {
  margin: 0.55rem 0 0;
  color: #788797;
  font-size: 0.8rem;
}

.hl-video-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.85rem;
  color: var(--hl-red);
  font-size: 0.86rem;
  font-weight: 800;
  transition: color 160ms ease, transform 160ms ease;
}

.hl-video-card:hover .hl-video-card__cta {
  color: #b5123d;
  transform: translateX(2px);
}

.hl-media-social {
  position: relative;
  display: flex;
  min-height: 100%;
  overflow: hidden;
  padding: 1.35rem;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 19px;
  background:
    radial-gradient(circle at 92% 8%, rgba(27,128,243,.22), transparent 32%),
    linear-gradient(145deg, #0b2948 0%, #123b63 100%);
  box-shadow: 0 14px 36px rgba(11, 41, 72, 0.16);
  flex-direction: column;
  color: #fff;
}

.hl-media-social::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -78px;
  top: -82px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 50%;
  pointer-events: none;
}

.hl-media-social > * {
  position: relative;
  z-index: 1;
}

.hl-media-social__label {
  display: block;
  margin: 0;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 850;
}

.hl-media-social__copy {
  margin: 0.5rem 0 0;
  color: rgba(255,255,255,.76);
  font-size: 0.86rem;
  line-height: 1.55;
}

.hl-media-social__links {
  display: grid;
  gap: 0.72rem;
  margin-top: 1.15rem;
}

.hl-social-link {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 0.7rem;
  padding: 0.72rem 0.85rem;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,.12);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.hl-media-social .hl-social-link,
.hl-media-social .hl-social-link:visited,
.hl-media-social .hl-social-link:hover,
.hl-media-social .hl-social-link:focus-visible,
.hl-media-social .hl-social-link > span,
.hl-media-social .hl-social-link small {
  color: #fff !important;
}

.hl-media-social .hl-social-link:hover,
.hl-media-social .hl-social-link:focus-visible {
  transform: translateY(-2px);
  color: #fff !important;
  background: rgba(7, 31, 54, .88) !important;
  box-shadow: 0 12px 26px rgba(0,0,0,.16);
}

.hl-social-icon {
  display: grid;
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 1.75rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.96);
  font-size: 0.78rem;
  font-weight: 900;
}

.hl-social-icon--instagram svg {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
}

.hl-social-link--youtube { background: linear-gradient(135deg, #ff194f, #d61747); }
.hl-social-link--youtube .hl-social-icon { color: #d61747; }
.hl-social-link--facebook { background: linear-gradient(135deg, #2388f1, #1265bf); }
.hl-social-link--facebook .hl-social-icon { color: #1877f2; }
.hl-social-link--instagram { background: linear-gradient(135deg, #f45b8a, #d83279 52%, #7f54c7); }
.hl-social-link--instagram .hl-social-icon { color: #c13584; }

.hl-media-social .hl-social-link--youtube:hover,
.hl-media-social .hl-social-link--youtube:focus-visible { border-color: #ff194f !important; }
.hl-media-social .hl-social-link--facebook:hover,
.hl-media-social .hl-social-link--facebook:focus-visible { border-color: #2388f1 !important; }
.hl-media-social .hl-social-link--instagram:hover,
.hl-media-social .hl-social-link--instagram:focus-visible { border-color: #f45b8a !important; }

.hl-video-badge strong {
  font-weight: 950;
}

.hl-video-fallback {
  grid-column: 1 / -1;
  display: flex;
  min-height: 250px;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  border: 1px dashed #cad9e6;
  border-radius: 19px;
  background: #fff;
  text-align: center;
}

.hl-video-fallback strong {
  display: block;
  color: var(--hl-navy);
  font-size: 1.15rem;
}

.hl-video-fallback p {
  margin: 0.45rem 0 0.9rem;
  color: #6d7d8e;
}

.hl-video-fallback a {
  color: var(--hl-red);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 1040px) {
  .hl-media-layout {
    grid-template-columns: 1fr;
  }

  .hl-media-social {
    min-height: auto;
  }

  .hl-media-social__links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .hl-media-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .hl-video-grid {
    grid-template-columns: 1fr;
  }

  .hl-video-card__body {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .hl-media-section {
    padding: 3.6rem 0.75rem;
  }

  .hl-media-social__links {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hl-social-link,
  .hl-video-card,
  .hl-video-card__media img {
    transition: none;
  }
}


/* v0.9.3 social-panel polish */
.hl-media-social {
  padding: 1.35rem 1.35rem 1.2rem;
}

.hl-media-social__label {
  font-size: 1.16rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.hl-media-social__accent {
  position: relative;
  display: inline-block;
  z-index: 0;
}

.hl-media-social__accent::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.04em;
  right: -0.04em;
  bottom: -0.14em;
  height: 0.26em;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff6d8f 0%, #d61747 100%);
  transform: rotate(-1.4deg);
  opacity: 0.95;
}

.hl-media-social__links {
  gap: 0.68rem;
  margin-top: 1rem;
}

.hl-social-icon {
  width: 1.92rem;
  height: 1.92rem;
  flex-basis: 1.92rem;
  background: #fffaf5;
  box-shadow: inset 0 0 0 1px rgba(11,41,72,.08), 0 2px 7px rgba(0,0,0,.08);
}

.hl-social-icon svg {
  display: block;
  width: 1.12rem;
  height: 1.12rem;
}

.hl-social-link--youtube .hl-social-icon { color: #ff0033; }
.hl-social-link--facebook .hl-social-icon { color: #1877f2; }
.hl-social-link--instagram .hl-social-icon { color: #c13584; }

.hl-media-social .hl-social-link,
.hl-media-social .hl-social-link:visited,
.hl-media-social .hl-social-link:hover,
.hl-media-social .hl-social-link:focus-visible,
.hl-media-social .hl-social-link > span:not(.hl-social-icon),
.hl-media-social .hl-social-link small {
  color: #fff !important;
  -webkit-text-fill-color: #fff;
}

.hl-media-social .hl-social-link:hover,
.hl-media-social .hl-social-link:focus-visible {
  color: #fff !important;
  -webkit-text-fill-color: #fff;
  background: rgba(7, 31, 54, .9) !important;
}

.hl-media-social__footer {
  margin: auto 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.82);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.52;
}


/* v0.9.4 social icon visibility + compact footer spacing */
.hl-media-social {
  min-height: auto;
  align-self: start;
  padding-bottom: 1.3rem;
}

.hl-media-social__links {
  margin-bottom: 0;
}

.hl-media-social .hl-social-link > span:not(.hl-social-icon),
.hl-media-social .hl-social-link > span:not(.hl-social-icon) small {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

.hl-media-social .hl-social-icon,
.hl-media-social .hl-social-link:hover .hl-social-icon,
.hl-media-social .hl-social-link:focus-visible .hl-social-icon,
.hl-media-social .hl-social-link:visited .hl-social-icon {
  background: #fffaf5 !important;
  -webkit-text-fill-color: currentColor !important;
}

.hl-media-social .hl-social-icon svg {
  display: block;
  width: 1.18rem;
  height: 1.18rem;
  overflow: visible;
  color: inherit !important;
}

.hl-media-social .hl-social-icon svg path,
.hl-media-social .hl-social-icon svg rect,
.hl-media-social .hl-social-icon svg circle {
  vector-effect: non-scaling-stroke;
}

.hl-media-social .hl-social-link--youtube .hl-social-icon,
.hl-media-social .hl-social-link--youtube:hover .hl-social-icon,
.hl-media-social .hl-social-link--youtube:focus-visible .hl-social-icon {
  color: #ff0033 !important;
}

.hl-media-social .hl-social-link--facebook .hl-social-icon,
.hl-media-social .hl-social-link--facebook:hover .hl-social-icon,
.hl-media-social .hl-social-link--facebook:focus-visible .hl-social-icon {
  color: #1877f2 !important;
}

.hl-media-social .hl-social-link--instagram .hl-social-icon,
.hl-media-social .hl-social-link--instagram:hover .hl-social-icon,
.hl-media-social .hl-social-link--instagram:focus-visible .hl-social-icon {
  color: #c13584 !important;
}

.hl-media-social__footer {
  margin: 0.9rem 0 0;
  padding-top: 0.85rem;
}

/* --------------------------------------------------------------------------
   v0.10.2 Homepage Clinics — image-first stacked cards
   -------------------------------------------------------------------------- */
.hl-clinics-section {
  position: relative;
  overflow: hidden;
  padding: 4.8rem 1rem 5.2rem;
  background:
    radial-gradient(circle at 6% 10%, rgba(214, 23, 71, .045), transparent 27%),
    radial-gradient(circle at 95% 88%, rgba(27, 128, 243, .055), transparent 30%),
    #fffdfb;
}

.hl-clinics-shell {
  width: min(100% - 2rem, 1180px);
  margin-inline: auto;
}

.hl-clinics-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2.4rem;
  margin-bottom: 1.8rem;
}

.hl-clinics-eyebrow {
  margin: 0 0 .52rem;
  color: var(--hl-red);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hl-clinics-heading h2 {
  max-width: 720px;
  margin: 0;
  color: var(--hl-navy);
  font-size: clamp(1.72rem, 2.35vw, 2.34rem);
  line-height: 1.12;
  letter-spacing: -.035em;
}

.hl-clinics-prompt {
  position: relative;
  display: flex;
  max-width: 390px;
  align-items: center;
  gap: .72rem;
  padding: .85rem 1rem;
  border: 1px solid #dce8f2;
  border-radius: 16px 16px 16px 5px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 28px rgba(11, 41, 72, .075);
  animation: hlClinicPromptFloat 5.5s ease-in-out infinite;
}

.hl-clinics-prompt::after {
  content: "";
  position: absolute;
  inset: auto 18px -1px auto;
  width: 72px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--hl-red), var(--hl-blue));
}

.hl-clinics-prompt__icon {
  display: grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 2rem;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff2f5, #eef7ff);
  color: var(--hl-red);
}

.hl-clinics-prompt__icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

.hl-clinics-prompt p {
  margin: 0;
  color: #5e7084;
  font-size: .9rem;
  line-height: 1.5;
}

.hl-clinics-prompt strong {
  color: var(--hl-navy);
  font-weight: 850;
}

@keyframes hlClinicPromptFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.hl-clinics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.55rem;
}

.hl-clinic-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-width: 0;
  border: 1px solid #e0e8ef;
  border-radius: 21px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(11, 41, 72, .085);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.hl-clinic-card--alimos {
  border-top: 4px solid var(--hl-red);
}

.hl-clinic-card--sepolia {
  border-top: 4px solid var(--hl-blue);
}

.hl-clinic-card:hover {
  transform: translateY(-3px);
  border-color: #d6e0e9;
  box-shadow: 0 20px 46px rgba(11, 41, 72, .12);
}

.hl-clinic-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eef3f7;
}

.hl-clinic-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(8, 31, 55, .23) 100%);
  pointer-events: none;
}

.hl-clinic-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 420ms ease;
}

.hl-clinic-card--alimos .hl-clinic-card__media img {
  object-position: center center;
}

.hl-clinic-card--sepolia .hl-clinic-card__media img {
  object-position: center center;
}

.hl-clinic-card:hover .hl-clinic-card__media img {
  transform: scale(1.016);
}

.hl-clinic-card__area {
  position: absolute;
  z-index: 2;
  left: 1rem;
  bottom: .9rem;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: .38rem .72rem;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 999px;
  background: rgba(255,255,255,.95);
  color: var(--hl-navy);
  font-size: .75rem;
  font-weight: 850;
  box-shadow: 0 5px 16px rgba(0,0,0,.10);
}

.hl-clinic-card--alimos .hl-clinic-card__area {
  box-shadow: inset 0 0 0 1px rgba(214,23,71,.12), 0 5px 16px rgba(0,0,0,.10);
}

.hl-clinic-card--sepolia .hl-clinic-card__area {
  box-shadow: inset 0 0 0 1px rgba(27,128,243,.14), 0 5px 16px rgba(0,0,0,.10);
}

.hl-clinic-card__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, .9fr);
  gap: 1rem 1.2rem;
  min-width: 0;
  padding: 1.35rem 1.4rem 1.3rem;
}

.hl-clinic-card__head {
  grid-column: 1 / -1;
  padding-bottom: .95rem;
  border-bottom: 1px solid #edf1f5;
}

.hl-clinic-card__head h3 {
  margin: 0;
  color: var(--hl-navy);
  font-size: 1.35rem;
  line-height: 1.16;
  letter-spacing: -.025em;
}

.hl-clinic-card__head p {
  margin: .4rem 0 0;
  color: #65768a;
  font-size: .85rem;
  font-weight: 650;
  line-height: 1.45;
}

.hl-clinic-meta {
  display: grid;
  align-content: start;
  gap: .62rem;
  min-width: 0;
}

.hl-clinic-meta__row {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: .58rem;
  color: var(--hl-navy);
  font-size: .87rem;
  font-weight: 730;
  line-height: 1.35;
}

.hl-clinic-meta__icon,
.hl-clinic-hours__icon {
  display: grid;
  width: 1.62rem;
  height: 1.62rem;
  flex: 0 0 1.62rem;
  place-items: center;
  border-radius: 8px;
  background: #f3f7fb;
  color: var(--hl-blue);
}

.hl-clinic-card--alimos .hl-clinic-meta__icon {
  background: #fff2f5;
  color: var(--hl-red);
}

.hl-clinic-meta__icon svg,
.hl-clinic-hours__icon svg {
  width: .94rem;
  height: .94rem;
}

.hl-clinic-phone,
.hl-clinic-phone:visited {
  color: var(--hl-red) !important;
  font-size: 1rem;
  font-weight: 880;
  text-decoration: none;
}

.hl-clinic-phone:hover,
.hl-clinic-phone:focus-visible {
  color: #ad1037 !important;
}

.hl-clinic-hours {
  padding: .78rem .85rem;
  border: 1px solid #e6edf3;
  border-radius: 12px;
  background: #f8fbfd;
}

.hl-clinic-card--alimos .hl-clinic-hours {
  background: linear-gradient(145deg, #fff9fa, #f8fbfd);
}

.hl-clinic-card--sepolia .hl-clinic-hours {
  background: linear-gradient(145deg, #f8fbfd, #f5faff);
}

.hl-clinic-hours__label {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .55rem;
  color: #748396;
  font-size: .68rem;
  font-weight: 860;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.hl-clinic-hours__icon {
  width: 1.46rem;
  height: 1.46rem;
  flex-basis: 1.46rem;
  background: #eef6ff;
}

.hl-clinic-card--alimos .hl-clinic-hours__icon {
  background: #fff0f4;
  color: var(--hl-red);
}

.hl-clinic-hours__icon svg {
  width: .86rem;
  height: .86rem;
}

.hl-clinic-hours__rows {
  display: grid;
  gap: .34rem;
}

.hl-clinic-hours__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  gap: .6rem;
  color: var(--hl-navy);
  font-size: .8rem;
  line-height: 1.35;
}

.hl-clinic-hours__row > span {
  font-weight: 720;
}

.hl-clinic-hours__row strong {
  color: #53677c;
  font-size: .78rem;
  font-weight: 800;
  white-space: nowrap;
}

.hl-clinic-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .62rem .9rem;
  padding-top: .2rem;
}

.hl-clinic-primary {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .66rem .95rem;
  border: 1px solid var(--hl-red);
  border-radius: 9px;
  background: var(--hl-red);
  color: #fff !important;
  font-size: .82rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 7px 17px rgba(214, 23, 71, .14);
  transition: background 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.hl-clinic-primary:hover,
.hl-clinic-primary:focus-visible {
  background: #fff;
  color: var(--hl-red) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(214, 23, 71, .1);
}

.hl-clinic-primary--mobile,
.hl-clinic-secondary--page {
  display: none;
}

.hl-clinic-directions,
.hl-clinic-directions:visited {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: .36rem;
  color: var(--hl-blue) !important;
  font-size: .8rem;
  font-weight: 820;
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.hl-clinic-directions > span {
  display: grid;
  width: 1.25rem;
  height: 1.25rem;
  place-items: center;
}

.hl-clinic-directions svg {
  width: 1.15rem;
  height: 1.15rem;
}

.hl-clinic-directions:hover,
.hl-clinic-directions:focus-visible {
  color: #0965cc !important;
  transform: translateX(2px);
}

@media (max-width: 1040px) {
  .hl-clinics-shell {
    width: min(100% - 1rem, 880px);
  }

  .hl-clinics-grid {
    grid-template-columns: 1fr;
  }

  .hl-clinic-card__media {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 820px) {
  .hl-clinics-section {
    padding: 4rem .75rem 4.35rem;
  }

  .hl-clinics-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .hl-clinics-prompt {
    max-width: 620px;
  }

  .hl-clinic-card__body {
    grid-template-columns: minmax(0, 1fr) minmax(200px, .85fr);
  }
}

@media (max-width: 620px) {
  .hl-clinics-shell {
    width: min(100%, 520px);
  }

  .hl-clinics-heading h2 {
    font-size: 1.8rem;
  }

  .hl-clinics-prompt {
    padding: .78rem .84rem;
    border-radius: 14px 14px 14px 5px;
    animation: none;
  }

  .hl-clinic-card {
    border-radius: 18px;
  }

  .hl-clinic-card__media {
    aspect-ratio: 4 / 3;
  }

  .hl-clinic-card__body {
    grid-template-columns: 1fr;
    gap: .9rem;
    padding: 1.2rem 1.08rem 1.15rem;
  }

  .hl-clinic-card__head {
    grid-column: 1;
    padding-bottom: .82rem;
  }

  .hl-clinic-card__head h3 {
    font-size: 1.25rem;
  }

  .hl-clinic-hours__row {
    grid-template-columns: 1fr;
    gap: .03rem;
  }

  .hl-clinic-hours__row strong {
    white-space: normal;
  }

  .hl-clinic-actions {
    grid-column: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .6rem .72rem;
  }

  .hl-clinic-primary--desktop {
    display: none;
  }

  .hl-clinic-primary--mobile {
    display: inline-flex;
    grid-column: 1 / -1;
    width: 100%;
  }

  .hl-clinic-secondary--page,
  .hl-clinic-directions {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    padding: .5rem .35rem;
    border-bottom: 1px solid #e4e9ef;
    color: var(--hl-navy) !important;
    font-size: .79rem;
    font-weight: 800;
    text-decoration: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hl-clinics-prompt {
    animation: none;
  }

  .hl-clinic-card,
  .hl-clinic-card__media img,
  .hl-clinic-primary,
  .hl-clinic-directions {
    transition: none;
  }
}


/* v0.13.0 static homepage rendering contract */
.hl-home-main > .hl-clinics-v105,
.hl-home-main > .hl-trust-v111,
.hl-home-main > .hl-final-cta-v121 {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.hl-home-main > .hl-clinics-v105 *,
.hl-home-main > .hl-trust-v111 *,
.hl-home-main > .hl-final-cta-v121 * {
  min-width: 0;
}

