/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/
/* HealthLinks Marketing — site stylesheet. Cleaned 2026-09-15.
   Google Fonts <link> belongs in <head>, not here — see notes file.
   Sections: 1 fonts · 2 type · 3 tokens · 4 home header · 5 cards
   6 tab nav · 7 team strip · 8 service pages · 9 case studies
   10 timeline · 11 photo grid/bios/AI Dx · 12 responsive */

/* 1  FONTS ------------------------------------------------------- */
@font-face {
  font-family: 'Glatic';
  src: url('https://healthlinksmarketing.com/hlmstaging/wp-content/uploads/2026/03/Glatic-Bold.otf') format('opentype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Cerebri';
  src: url('https://healthlinksmarketing.com/hlmstaging/wp-content/uploads/2026/03/Cerebri-Sans-Pro.otf') format('opentype');
  font-weight: 400; font-style: normal; font-display: swap;
}

/* 2  BASE TYPE --------------------------------------------------- */
h1, h2, h3, h4, h5, h6 { font-family: 'Glatic', sans-serif !important; }
body { font-family: 'Cerebri', sans-serif !important; }

/* 3  TOKENS ------------------------------------------------------ */
:root {
  --hlm-navy:      #073E59;
  --hlm-forest:    #317C62;
  --hlm-body-dark: #C0C9C5;

  --hlm-tab-fill:      var(--hlm-forest);
  --hlm-tab-fill-text: #FFFFFF;   /* 5.0:1 on forest, AA */
  --hlm-tab-rest-text: var(--hlm-body-dark);

  --hlm-strip-h: 360px;   /* team tile height — the only number to change */
  --hlm-strip-r: 6px;

  --surface-1:      #FFFFFF;
  --gridline:       #DDE1DF;
  --text-secondary: #345F77;
  --text-muted:     #6F8593;

  /* Both still live, do not delete. --c-blue is written inline as
     style="--stop-color:var(--c-blue)" on 14 case-study stops. */
  --c-blue:   #073E59;
  --c-yellow: #1D4434;
}

/* 4  HOMEPAGE HEADER SUPPRESSION --------------------------------- */
.home #page-header-bg,
.home .page-header-no-bg,
.home #page-header-wrap {
  height: 0 !important; min-height: 0 !important; display: none !important;
}

/* 5  SERVICE CARDS + ICONS --------------------------------------- */
.hlm-card h4 { margin-top: 0; }
/* 38px deliberately overrides the width/height="44" attributes */
.hlm-ico { display: block; width: 38px; height: 38px; margin-bottom: 14px; }

/* 6  SERVICES TAB NAV -------------------------------------------- */
/* [tabbed_section]: active state is .active-tab on the <a>, not the <li> */
.tabbed > ul.wpb_tabs_nav li a,
body .wpb_tabs_nav li a {
  font-size: 18px !important; line-height: 1.2 !important;
  letter-spacing: 0.01em;
  padding-top: 14px !important; padding-bottom: 14px !important;
}
.tabbed > ul.wpb_tabs_nav li,
body .wpb_tabs_nav li { margin-right: 34px !important; }

#ajax-content-wrap .tabbed > ul li a,
#ajax-content-wrap .tabbed[data-style*=material] > ul li a,
.tabbed > ul li a,
.light .tabbed > ul li a {
  color: var(--hlm-tab-rest-text) !important;
  background-color: transparent !important;
  border-right: 0 !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  transition: background-color .25s cubic-bezier(.12,.75,.4,1),
              color .25s cubic-bezier(.12,.75,.4,1) !important;
}
/* active + hover + focus share one block so they cannot drift */
#ajax-content-wrap .tabbed > ul li a:hover,
#ajax-content-wrap .tabbed > ul li a:focus,
#ajax-content-wrap .tabbed > ul li .active-tab,
#ajax-content-wrap .tabbed > ul li .active-tab:hover,
#ajax-content-wrap .tabbed[data-style*=material] > ul li a:hover,
#ajax-content-wrap .tabbed[data-style*=material] > ul li a:focus,
#ajax-content-wrap .tabbed[data-style*=material] > ul li .active-tab,
.tabbed > ul li a:hover,
.tabbed > ul li a:focus,
.tabbed > ul li .active-tab,
.tabbed > ul li .active-tab:hover,
.light .tabbed > ul li a:hover,
.light .tabbed > ul li .active-tab {
  background-color: var(--hlm-tab-fill) !important;
  color: var(--hlm-tab-fill-text) !important;
  border-radius: 4px !important;
  border-color: var(--hlm-tab-fill) !important;
  opacity: 1 !important;
  text-decoration: none !important;
}
.tabbed > ul li a:hover *,
.tabbed > ul li .active-tab * { color: inherit !important; }
.tabbed > ul li a svg { fill: var(--hlm-tab-rest-text) !important; }
.tabbed > ul li a:hover svg,
.tabbed > ul li .active-tab svg,
.light .tabbed[data-style*=material] .wpb_tabs_nav > li a:hover svg {
  fill: var(--hlm-tab-fill-text) !important;
}
.tabbed > ul li,
.tabbed > ul li:hover { background-color: transparent !important; }

/* 7  TEAM PHOTO STRIP -------------------------------------------- */
/* needs el_class="hlm-team" on the column */
#ajax-content-wrap .hlm-team .clients > div,
.hlm-team .clients > div {
  height: var(--hlm-strip-h) !important;
  overflow: hidden !important;
  border-radius: var(--hlm-strip-r) !important;
  margin-bottom: 0 !important;
}
#ajax-content-wrap .hlm-team .clients > div img,
.hlm-team .clients > div img {
  width: 100% !important; height: 100% !important; max-width: none !important;
  object-fit: cover !important;
  object-position: center 30% !important;   /* bias up, keeps faces in frame */
  border-radius: var(--hlm-strip-r) !important;
  margin: 0 !important; display: block !important;
}
.hlm-team .clients > div:hover,
.hlm-team .clients.fade-in-animation.completed > div:hover,
.hlm-team .clients:not(.fade-in-animation) > div:hover { opacity: 1 !important; }

/* 8  INTERIOR SERVICE PAGES -------------------------------------- */
.hlm-num {
  display: block; font-size: 15px; font-weight: bold;
  letter-spacing: 0.22em; margin-bottom: 16px;
}
.hlm-svc-title {
  font-size: clamp(26px, 2.7vw, 40px); line-height: 1.1;
  letter-spacing: -0.015em; margin: 0 0 8px;
}
.hlm-gal-label {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: bold; margin: 0; padding-bottom: 4px;
  border-bottom: 1px solid rgba(7,62,89,0.14);
}
.hlm-work-cap {
  font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: bold; margin: 12px 0 0;
}
.hlm-check li { color: var(--hlm-navy) !important; }

/* 9  CASE STUDY HEADINGS + OUTCOME ROWS -------------------------- */
/* covers el_class="results" on the column AND class="results" on the h2 */
.results h2,
h2.results {
  font-size: clamp(30px, 3.6vw, 52px); line-height: 1.1;
  letter-spacing: -0.015em; color: #3F9778 !important;
  margin-left: 17%;
}
.hlm-outcomes { max-width: 1100px; margin: 0 auto; padding: 0; list-style: none; }
.hlm-outcome {
  list-style: none; margin: 0; display: grid;
  grid-template-columns: 76px minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 28px; align-items: baseline; padding: 26px 0;
  border-top: 1px solid rgba(7, 62, 89, 0.14);
}
.hlm-outcome:last-child { border-bottom: 1px solid rgba(7, 62, 89, 0.14); }
/* pinned tracks so a stray node cannot shift the row */
.hlm-outcome-n { grid-column: 1; }
.hlm-outcome-t { grid-column: 2; }
.hlm-outcome-d { grid-column: 3; }
.hlm-outcome-n {
  font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 13px; letter-spacing: 0.06em; line-height: 1.7;
  color: var(--hlm-forest);
}
.hlm-outcome-t {
  font-size: clamp(18px, 1.7vw, 22px); line-height: 1.25;
  letter-spacing: -0.01em; margin: 0; color: var(--hlm-navy);
}
.hlm-outcome-d {
  font-size: 15.5px; line-height: 1.6; margin: 0;
  color: rgba(7, 62, 89, 0.82);
}

/* 10  TIMELINE + SITE PREVIEW ------------------------------------ */
/* dot colours come from inline --stop-color per stop */
.timeline { position: relative; overflow-x: auto; padding: 20px 0 8px; }
.timeline-track {
  position: relative; display: flex; gap: 0;
  min-width: 820px; padding-top: 28px;
}
.timeline-track::before {
  content: ""; position: absolute;
  left: 40px; right: 40px; top: 64px;
  height: 2px; background: var(--gridline);
}
.tl-stop { flex: 1; position: relative; padding: 0 14px; text-align: center; }
.tl-stop .node {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--stop-color, var(--hlm-forest));
  border: 3px solid var(--surface-1);
  box-shadow: 0 0 0 2px var(--stop-color, var(--hlm-forest));
  margin: 52px auto 14px; position: relative; z-index: 1;
}
.tl-stop.hero .node { width: 20px; height: 20px; margin-top: 49px; }
.tl-stop .val { font-size: 20px; font-weight: 700; color: var(--hlm-navy); }
.tl-stop.hero .val { font-size: 30px; color: var(--c-yellow); }
.tl-stop .lbl { font-size: 12px; color: var(--text-secondary); margin-top: 4px; line-height: 1.4; }
.tl-stop .sub { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
/* CVVC has 3 stops not 5-7, so it scrolls at a narrower width */
#stats-timeline .timeline-track { min-width: 520px; }

.site-preview {
  --preview-h: 500px;
  width: 100%; max-width: 900px; height: var(--preview-h);
  overflow: hidden; position: relative;
  border: 1px solid #e0e0e0; border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
}
.site-preview img {
  width: 100% !important; height: auto !important; display: block;
  transform: translateY(0);
  transition: transform 6s ease-in-out !important;
}
.site-preview:hover img { transform: translateY(calc(var(--preview-h) - 100%)); }

/* 11  PHOTO GRID · BIOS · AI DX ---------------------------------- */
.photo-grid .img-with-aniamtion-wrap img {
  width: 100% !important; aspect-ratio: 3 / 2; height: auto !important;
  object-fit: cover; object-position: center;
  display: block; border-radius: 8px;
}
.photo-grid .img-with-aniamtion-wrap,
.photo-grid .inner,
.photo-grid .hover-wrap,
.photo-grid .hover-wrap-inner,
.photo-grid a.magnific-popup { display: block; width: 100%; }

.hlm-bio { padding: 0 24px; }
.hlm-bio-name { margin: 22px 0 4px; font-size: 1.5rem; color: #1B3A5C; }
.hlm-bio-title {
  margin: 0 0 14px; font-size: .95rem; letter-spacing: .08em;
  text-transform: uppercase; color: #4BA3A0; font-weight: 600;
}
.hlm-bio p { font-size: 1rem; line-height: 1.7; color: #333; }

.page-submenu ul li:last-child > a {
  background: #ffffff !important; color: #215241 !important;
  border-radius: 4px; padding: 10px 20px !important;
  margin-left: 10px; font-weight: 700;
  letter-spacing: 0.04em !important; transition: opacity .18s ease;
}
.page-submenu ul li:last-child > a:hover { opacity: .86; }
.page-submenu ul li:last-child > a:after { display: none !important; }

.aidx-formcard {
  background: #ffffff; border-radius: 14px; padding: 34px 30px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.22);
}
.aidx-formcard .row { display: flex; gap: 14px; justify-content: flex-start; margin-bottom: 22px; }
.aidx-formcard .em {
  width: 56px; height: 56px; border-radius: 50%; border: 2px solid #215241;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 700; color: #215241;
}
.aidx-formcard .em.b { background: #16362A; border-color: #16362A; color: #EEF1F0; }
.aidx-formcard .eye {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 700; color: #215241; margin: 0 0 8px;
}
.aidx-formcard h3 { margin: 0 0 6px; font-size: 23px; line-height: 1.2; color: #073E59; }
/* .note styles the "Form goes here" placeholder — delete once the
   Jotform iframe replaces it */
.aidx-formcard .note {
  font-size: 14px; line-height: 1.6; color: rgba(7,62,89,0.72);
  margin: 14px 0 0; padding: 14px;
  border: 1px dashed rgba(7,62,89,0.28); border-radius: 8px;
}

.aidx-duo { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.aidx-card { border-radius: 12px; padding: 36px; }
.aidx-card--light { background: #ffffff; border: 1px solid rgba(7,62,89,0.14); box-shadow: 0 8px 30px rgba(7,62,89,0.07); }
.aidx-card--dark { background: #16362A; box-shadow: 0 8px 30px rgba(7,62,89,0.14); }
.aidx-emblem {
  width: 80px; height: 80px; border-radius: 50%; border: 2px solid #215241;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.aidx-emblem span { font-size: 24px; font-weight: 700; color: #215241; letter-spacing: -0.01em; }
.aidx-emblem--inv { border-color: rgba(238,241,240,0.40); }
.aidx-emblem--inv span { color: #EEF1F0; }
.aidx-card h3 { margin: 0; font-size: 22px; line-height: 1.2; }
.aidx-card p { margin: 12px 0 0; font-size: 16px; line-height: 1.7; }

.aidx-plat {
  max-width: 1100px; margin: 0 auto; display: flex; flex-wrap: wrap;
  justify-content: center; align-items: center; gap: clamp(20px, 3.4vw, 52px);
}
.aidx-plat span {
  font-size: clamp(20px, 2.6vw, 34px); font-weight: 700;
  letter-spacing: -0.015em; color: rgba(7,62,89,0.55); line-height: 1.1;
}
.aidx-plat span.on { color: #215241; }

.aidx-snapwrap { max-width: 720px; margin: 0 auto; }
.aidx-snap {
  background: #ffffff; border: 1px solid rgba(7,62,89,0.14);
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 8px 30px rgba(7,62,89,0.07);
}
.aidx-snap-head {
  display: flex; align-items: center; gap: 10px; padding: 13px 20px;
  border-bottom: 1px solid rgba(7,62,89,0.10); background: rgba(7,62,89,0.03);
}
.aidx-dot { width: 10px; height: 10px; border-radius: 50%; background: #215241; flex: 0 0 auto; }
.aidx-meta {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 700; color: rgba(7,62,89,0.72);
}
.aidx-snap-body { padding: 22px 24px; }
.aidx-snap-body p { margin: 0 0 12px; font-size: 15.5px; line-height: 1.65; color: rgba(7,62,89,0.82); }
.aidx-snap-body p:last-of-type { margin-bottom: 0; }
.aidx-q { font-style: italic; font-size: 17px; line-height: 1.4; color: #073E59; font-weight: 500; }
.aidx-rank {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: #215241; color: #ffffff; font-size: 12px; font-weight: 700;
  vertical-align: middle; margin-right: 6px;
}
.aidx-cite {
  margin-top: 16px; padding-top: 12px;
  border-top: 1px solid rgba(7,62,89,0.10);
  font-size: 12.5px; line-height: 1.5; color: rgba(7,62,89,0.72);
}
.aidx-arrow { text-align: center; font-size: 24px; line-height: 1; color: #215241; margin: 18px 0; }

/* 12  RESPONSIVE ------------------------------------------------- */
@media (max-width: 1280px) {
  .results h2, h2.results { margin-left: 7%; }
}
@media (max-width: 999px) {
  .tabbed > ul.wpb_tabs_nav li a,
  body .wpb_tabs_nav li a { font-size: 20px !important; }
  .tabbed > ul.wpb_tabs_nav li,
  body .wpb_tabs_nav li { margin-right: 22px !important; }
  :root { --hlm-strip-h: 280px; }
  .hlm-outcome { grid-template-columns: 56px minmax(0, 1fr); gap: 0 18px; padding: 22px 0; }
  .hlm-outcome-t { grid-column: 2; }
  .hlm-outcome-d { grid-column: 2; margin-top: 8px; }
}
@media (max-width: 860px) {
  .aidx-duo { grid-template-columns: 1fr; gap: 22px; }
  .aidx-card { padding: 28px; }
  .aidx-emblem { width: 64px; height: 64px; }
  .aidx-emblem span { font-size: 20px; }
}
@media (max-width: 767px) {
  .hlm-bio { padding: 0 0 40px; }
}
@media (max-width: 690px) {
  .tabbed > ul.wpb_tabs_nav li a,
  body .wpb_tabs_nav li a { font-size: 17px !important; }
  .tabbed > ul.wpb_tabs_nav li,
  body .wpb_tabs_nav li { margin-right: 14px !important; }
  :root { --hlm-strip-h: 220px; }
  .hlm-ico { width: 32px; height: 32px; }
  .hlm-svc-title { font-size: 26px; }
  .hlm-num { font-size: 13px; }
  .page-submenu ul li:last-child > a { margin-left: 0; padding: 8px 14px !important; }
  body .row .col.section-title h1,
  body h1,
  html body .row .col.section-title.span_12 h1,
  body.single.single-post .row .col.section-title.span_12 h1,
  #page-header-bg .span_6 h1,
  #page-header-bg.fullscreen-header .span_6 h1,
  body .featured-media-under-header h1,
  .full-width-content .nectar-recent-posts-slider .recent-post-container .inner-wrap h2 { font-size: 42px; }
}
@media (max-width: 640px) {
  .aidx-snap-body { padding: 18px 18px; }
}
@media (hover: none) {
  .site-preview { height: auto; overflow: visible; }
  .site-preview img { transform: none !important; }
}

/* Yoast breadcrumbs — hidden sitewide */
#breadcrumbs.yoast { display: none; }

