/* Blog footer = the main site's home-page footer (engine/home_footer.py). One block per site: .hf--<site> */
html body .hf { display: block; clear: both; float: none; width: 100%; max-width: none; margin: 0; padding: 0; border: 0; text-align: left;
  font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 1.5; letter-spacing: .2px; }
html body .hf *, html body .hf *::before, html body .hf *::after { box-sizing: border-box; }
html body .hf a { text-decoration: none !important; box-shadow: none; border: 0; font-weight: 400; transition: color .15s, opacity .15s; }
html body .hf li, html body .hf p, html body .hf .hf-links a { font-weight: 400; }
html body .hf a:hover { text-decoration: underline !important; }
html body .hf ul { list-style: none; margin: 0; padding: 0; }
html body .hf li { list-style: none; margin: 0; padding: 0; background: none; border: 0; }
html body .hf h3 { margin: 0; padding: 0; border: 0; background: none; font-family: Arial, Helvetica, sans-serif; text-transform: none; letter-spacing: .2px; }
html body .hf p { margin: 0; padding: 0; }
html body .hf img { max-width: 100%; height: auto; margin: 0; padding: 0; border: 0; box-shadow: none; display: block; }
/* WordPress turns the ⚠️ / 🌍 characters into <img class="emoji">: keep them text-sized */
html body .hf img.emoji, html body .hf img.wp-smiley { display: inline !important; width: 1em !important; height: 1em !important; max-width: none !important;
  margin: 0 .1em !important; padding: 0 !important; vertical-align: -0.1em !important; background: none !important; box-shadow: none !important; }

html body .hf .hf-trust { display: block; padding: 14px 20px; text-align: center; font-weight: 700; font-size: 14px; line-height: 1.6; letter-spacing: .6px; }
html body .hf .hf-trust__icon { display: inline-block; margin-right: 10px; font-size: 18px; line-height: 1; vertical-align: -2px; }
html body .hf .hf-cols { display: grid; grid-template-columns: repeat(var(--hf-cols), minmax(0, 1fr)); gap: 22px 40px; padding: 26px 40px 30px; }
html body .hf .hf-col { min-width: 0; }
html body .hf .hf-col__title { margin: 0 0 14px; font-size: 16px; font-weight: 400; }
html body .hf .hf-list li { position: relative; padding: 0 0 0 20px; margin: 0 0 9px; font-size: 14px; line-height: 1.45; }
html body .hf .hf-list li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 5px; height: 5px; background: currentColor; opacity: .75; }
html body .hf .hf-social { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
html body .hf .hf-social img { width: 36px; height: 36px; object-fit: contain; }
html body .hf .hf-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; padding: 8px 16px; font-size: 14px; }
html body .hf .hf-links > * + *::before { content: "|"; display: inline-block; margin: 0 7px; opacity: .8; text-decoration: none; }
html body .hf .hf-copy { padding: 8px 16px 12px; text-align: center; font-size: 14px; }
html body .hf .hf-disc { padding: 10px 16px; text-align: center; font-size: 12px; line-height: 1.5; border-top: 1px solid rgba(255,255,255,.7); }
html body .hf .hf-disc strong { color: #c00000; font-weight: 700; }

/* ---------------- spine: gold trust strip, navy footer, light-blue links ---------------- */
html body .hf--spine { background: #052c91; color: #fff; border-top: 10px solid #052c91; }
html body .hf--spine .hf-trust { background: linear-gradient(180deg, #f8cd3b 0%, #fae49a 100%); color: #052c91; }
html body .hf--spine .hf-cols { padding: 24px 20px 10px; gap: 20px 30px; }
html body .hf--spine .hf-cols--top { grid-template-columns: repeat(3, minmax(0, 1fr)) 1.3fr; }
html body .hf--spine .hf-col__title { color: #fff; font-size: 16px; }
html body .hf--spine .hf-list li { padding-left: 20px; }
html body .hf--spine .hf-list li::before { background: #75b2f5; opacity: 1; }
html body .hf--spine a { color: #a9cdf7 !important; }
html body .hf--spine a:hover { color: #fff !important; }
html body .hf--spine .hf-social a { color: inherit !important; }
html body .hf--spine .hf-links { background: #194292; margin-top: 10px; }
html body .hf--spine .hf-copy { color: #a9cdf7; padding-top: 10px; }

/* ---------------- cosmetic: blue trust strip, pink columns with teal heading bars ---------------- */
html body .hf--cosmetic { background: #f867aa; color: #fff; }
html body .hf--cosmetic .hf-trust { background: #38a2cf; color: #fff; text-shadow: 0 1px 1px rgba(0,0,0,.25); }
html body .hf--cosmetic .hf-cols { padding: 26px 50px 20px; gap: 20px 60px; }
html body .hf--cosmetic .hf-col__title { background: #059ebe; color: #fff; font-weight: 700; font-size: 15px; padding: 5px 8px; margin: 0 0 10px; }
html body .hf--cosmetic .hf-list li { font-size: 13px; margin-bottom: 8px; }
html body .hf--cosmetic .hf-list li::before { opacity: 1; }
html body .hf--cosmetic a { color: #fff !important; }
html body .hf--cosmetic .hf-bottom { background: #e94089; padding: 8px 0 2px; }
html body .hf--cosmetic .hf-disc { background: #e94089; color: #fff; }
/* the theme keeps a 24px padding inside the page box and a 24px gap under it: the footer runs edge to edge (like the
   header, which already uses -24px) and down to the very bottom of the page */
@media (min-width: 701px) {
  html body .hf--cosmetic { width: auto; max-width: none; margin-left: -24px; margin-right: -24px; }
}
html body:has(.hf--cosmetic) .site { margin-bottom: 0 !important; padding-bottom: 0 !important; }
html body:has(.hf--cosmetic) .site > .clear:last-child { display: none; }

/* ---------------- cardiac: teal trust strip, dark-red band, teal columns with arrow bullets ---------------- */
html body .hf--cardiac { background: #0989b1; color: #fff; }
html body .hf--cardiac .hf-trust { background: #01799e; color: #fff; border-bottom: 1px solid rgba(255,255,255,.35); }
html body .hf--cardiac .hf-band { background: #990000; color: #fff; text-align: center; font-size: 17px; font-weight: 700; padding: 10px 16px; }
html body .hf--cardiac .hf-cols { padding: 10px 10px 30px; gap: 10px 50px; }
html body .hf--cardiac .hf-list li { padding: 4px 0 4px 20px; margin: 0; border-bottom: 1px solid rgba(255,255,255,.55); }
html body .hf--cardiac .hf-list li::before { left: 0; top: .62em; width: 13px; height: 13px; border-radius: 50%; background: #e8392f; opacity: 1;
  -webkit-mask: none; box-shadow: inset 0 0 0 2px #fff; }
html body .hf--cardiac .hf-col:last-child .hf-list li::before { display: none; }
html body .hf--cardiac .hf-col:last-child .hf-list li { padding-left: 20px; }
html body .hf--cardiac a { color: #fff !important; }
html body .hf--cardiac .hf-social { justify-content: center; background: #c1b7b7; padding: 4px; }
html body .hf--cardiac .hf-social img { width: 32px; height: 32px; }
html body .hf--cardiac .hf-copy { background: #01799e; padding: 28px 16px 18px; font-size: 16px; }
html body .hf--cardiac .hf-disc { background: #01799e; color: #fff; }

/* ---------------- lapro: dark footer, teal text ---------------- */
html body .hf--lapro { background: #222; color: #2e94ad; }
html body .hf--lapro .hf-trust { color: #2e94ad; border-top: 1px solid #4a90c0; border-bottom: 1px solid #4a90c0; }
html body .hf--lapro .hf-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 10px 68px; }
html body .hf--lapro .hf-row .hf-copy { padding: 0; font-size: 12px; text-align: left; }
html body .hf--lapro .hf-social img { width: 40px; height: 40px; }
html body .hf--lapro a { color: #2e94ad !important; }
html body .hf--lapro a:hover { color: #6fc6dd !important; }
html body .hf--lapro .hf-links { background: #383838; padding: 10px 16px; }
html body .hf--lapro .hf-links > * + *::before { content: ""; margin: 0 7px; }
html body .hf--lapro .hf-disc { color: #2e94ad; }

/* ---------------- cancer: Top Hospitals strip, sky trust strip, charcoal columns ---------------- */
html body .hf--cancer { background: #3a3c41; color: #ddd; }
html body .hf--cancer .hf-hosp { background: #51b8f1; padding: 22px 40px 20px; }
html body .hf--cancer .hf-hosp__title { color: #fff; font-size: 18px; font-weight: 700; margin: 0 0 14px; }
html body .hf--cancer .hf-hosp__row { overflow: hidden; }
html body .hf--cancer .hf-hosp__track { display: flex; width: max-content; animation: hf-slide 60s linear infinite; }
html body .hf--cancer .hf-hosp__row:hover .hf-hosp__track { animation-play-state: paused; }
html body .hf--cancer .hf-hosp__dup { display: flex; }
html body .hf--cancer .hf-hosp__track a { display: flex; flex: none; align-items: center; justify-content: center; width: 140px; height: 82px; margin-right: 60px; padding: 6px; background: #fff; }
html body .hf--cancer .hf-hosp__track img { max-height: 70px; width: auto; }
@keyframes hf-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  html body .hf--cancer .hf-hosp__row { overflow-x: auto; }
  html body .hf--cancer .hf-hosp__track { animation: none; }
  html body .hf--cancer .hf-hosp__dup { display: none; }
}
html body .hf--cancer .hf-trust { background: #51b8f1; color: #fff; border-top: 10px solid #fff; }
html body .hf--cancer .hf-cols { grid-template-columns: 1fr 1.5fr 1.1fr; padding: 22px 40px 30px; gap: 20px 46px; }
html body .hf--cancer .hf-col__title { color: #fff; font-size: 20px; text-align: center; margin-bottom: 16px; }
html body .hf--cancer .hf-sub2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
html body .hf--cancer .hf-list li { padding: 9px 0 9px 16px; margin: 0; border-bottom: 1px solid #474e56; }
html body .hf--cancer .hf-list li::before { left: 2px; top: 1.05em; width: 0; height: 0; background: none; opacity: 1;
  border-left: 6px solid #51b8f1; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
html body .hf--cancer .hf-col:last-child .hf-list li { padding-left: 0; }
html body .hf--cancer .hf-col:last-child .hf-list li::before { display: none; }
html body .hf--cancer .hf-list--contact li { padding-left: 24px; letter-spacing: 1.5px; font-size: 13px; }
html body .hf--cancer .hf-list--contact li::before { border: 0; width: 14px; height: 10px; left: 0; top: 1.15em; background: #fff; border-radius: 1px; }
html body .hf--cancer .hf-list--contact li.hf-tel::before { display: none; }
html body .hf--cancer a { color: #e6e6e6 !important; }
html body .hf--cancer a:hover { color: #51b8f1 !important; }
html body .hf--cancer .hf-copy { background: #36404b; color: #fff; padding: 22px 16px; font-size: 16px; }
html body .hf--cancer .hf-copy a { color: #51b8f1 !important; }
html body .hf--cancer .hf-disc { color: #ddd; }

/* ---------------- joint: blue trust strip, dark-teal columns, teal bottom bar ---------------- */
html body .hf--joint { background: #053a40; color: #e6e6e6; }
html body .hf--joint .hf-trust { background: #38a2cf; color: #fff; }
html body .hf--joint .hf-cols { padding: 20px 20px 40px; gap: 20px 30px; }
html body .hf--joint .hf-col__title { color: #e6e6e6; font-size: 22px; margin: 0 0 18px 14px; }
html body .hf--joint .hf-list li { margin-bottom: 12px; }
html body .hf--joint .hf-list li::before { background: #ccc; opacity: 1; }
html body .hf--joint a { color: #e6e6e6 !important; }
html body .hf--joint a:hover { color: #fff !important; }
html body .hf--joint .hf-bottom { background: #2e777f; padding: 34px 0 20px; }
html body .hf--joint .hf-bottom .hf-copy { color: #fff; font-size: 13px; padding-top: 2px; }
html body .hf--joint .hf-bottom a { color: #fff !important; }
html body .hf--joint .hf-disc { background: #2e777f; color: #fff; }

/* ---------------- tablets / phones ---------------- */
@media (max-width: 960px) {
  html body .hf .hf-cols, html body .hf--spine .hf-cols--top, html body .hf--cancer .hf-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 22px 20px; gap: 20px 24px; }
  html body .hf--lapro .hf-row { padding: 10px 20px; }
  html body .hf--cancer .hf-hosp { padding: 18px 20px; }
}
@media (max-width: 600px) {
  html body .hf .hf-cols, html body .hf--spine .hf-cols--top, html body .hf--cancer .hf-cols { grid-template-columns: 1fr; }
  html body .hf--cancer .hf-sub2 { grid-template-columns: 1fr 1fr; }
  html body .hf .hf-trust { font-size: 13px; padding: 12px 14px; }
  html body .hf--lapro .hf-row { justify-content: center; }
  html body .hf--lapro .hf-row .hf-copy { text-align: center; }
  html body .hf--cancer .hf-hosp__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
