/*
Theme Name: GI Health Kadence Child
Theme URI: https://gi-health.com.tw/
Description: Lightweight presentation layer for the gi-health rebuild staging site.
Author: GI Health
Template: kadence
  Version: 0.4.8
Text Domain: gi-health-kadence-child
*/

:root {
  --gi-font-family: "Noto Sans", "Microsoft JhengHei", sans-serif;
  --gi-container-width: 1100px;
  --gi-ink: #333333;
  --gi-heading: #111111;
  --gi-muted: #666666;
  --gi-accent: #f74e6c;
  --gi-category-accent: #f64062;
  --gi-meta: #aaaaaa;
  --gi-paper: #ffffff;
  --gi-surface: #fafafa;
  --gi-footer: #666666;
  --gi-line: #e7e7e7;
  --gi-header-line: #e0e0e0;
  --gi-header-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Category archives mirror the old Look listing: a patterned title strip and
 * one large image/text card per post. */
.gi-health-category-archive #inner-wrap {
  background: var(--gi-paper);
}

.gi-health-category-page {
  background: var(--gi-paper);
}

.gi-health-tag-archive .gi-health-archive-title {
  text-transform: uppercase;
}

.gi-health-tag-archive .gi-health-archive-content {
  margin-top: 40px;
}

.gi-health-archive-banner {
  display: table;
  width: 100%;
  height: 80px;
  margin: 0 0 30px;
  background: var(--gi-category-accent) url('/wp-content/uploads/bg-block2.jpg') center top / cover no-repeat;
}

.gi-health-archive-banner-inner {
  display: table-cell;
  width: 100%;
  height: 80px;
  padding: 0;
  text-align: center;
  vertical-align: middle;
}

.gi-health-archive-title {
  position: relative;
  display: inline-block;
  margin: 0;
  color: var(--gi-paper);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 2px !important;
  line-height: 24px;
  text-align: center;
}

.gi-health-archive-subtitle {
  position: absolute;
  top: 9px;
  left: 100%;
  display: block;
  white-space: nowrap;
  margin-left: 15px;
  color: var(--gi-paper);
  font-size: 14px;
  font-weight: 400;
  line-height: 14px;
  vertical-align: baseline;
}

.gi-health-archive-content {
  width: calc(100% - 40px);
  max-width: 1060px;
  margin: 60px auto 40px;
}

.gi-health-archive-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: 100%;
  min-height: 355px;
  margin: 0 0 40px;
  padding: 0;
  overflow: hidden;
  border: 1px solid #d7d7d7;
  border-radius: 10px;
  background: var(--gi-paper);
  box-sizing: border-box;
}

.gi-health-archive-media {
  min-width: 0;
  padding: 0 20px 0 0;
}

.gi-health-archive-media a,
.gi-health-archive-image {
  display: block;
  width: 100%;
  height: 353.46875px;
}

.gi-health-archive-image {
  object-fit: cover;
}

.gi-health-archive-copy {
  display: flex;
  min-width: 0;
  align-items: center;
  padding: 0 0 0 20px;
}

.gi-health-archive-copy-inner {
  width: 100%;
  padding-right: 25px;
  box-sizing: border-box;
}

.gi-health-archive-meta {
  margin: 0;
  line-height: 20px;
}

.gi-health-archive-categories {
  margin: 0 0 25px;
  color: var(--gi-category-accent);
  font-size: 11px;
  line-height: 13.2px;
}

.gi-health-archive-categories a {
  display: inline;
  margin: 0 10px 0 0;
  padding: 0 5px 8px 0;
  border-bottom: 1px solid var(--gi-category-accent);
  color: var(--gi-category-accent);
  font-size: 16px;
  line-height: 19.2px;
  text-decoration: none;
}

.gi-health-archive-categories a:hover,
.gi-health-archive-categories a:focus {
  color: var(--gi-accent);
}

.gi-health-archive-date-tags {
  display: inline-flex;
  max-width: 100%;
  min-height: 27px;
  align-items: flex-start;
  margin: 0 0 15px;
  color: var(--gi-meta);
  font-size: 11px;
  line-height: 16.5px;
}

.gi-health-archive-date {
  position: relative;
  display: inline-block;
  height: 21px;
  margin-right: 7px;
  padding-right: 10px;
}

.gi-health-archive-date::after {
  position: absolute;
  top: 2px;
  right: 0;
  width: 1px;
  height: 16px;
  background: #dddddd;
  content: '';
}

.gi-health-archive-date time {
  color: var(--gi-meta);
  font-size: 14px;
  line-height: 21px;
}

.gi-health-archive-tags {
  display: inline;
}

.gi-health-archive-tags a {
  display: inline-block;
  margin: 0 2px 5px 0;
  color: var(--gi-category-accent);
  font-size: 14px;
  line-height: 21px;
  text-decoration: none;
}

.gi-health-archive-tags a:not(:last-child)::after {
  content: ', ';
  color: var(--gi-meta);
}

.gi-health-archive-post-title {
  margin: 0 0 15px;
  color: var(--gi-ink);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.35;
}

.gi-health-archive-post-title a {
  color: var(--gi-ink);
  font-size: inherit;
  line-height: inherit;
  text-decoration: none;
}

.gi-health-archive-post-title a:hover,
.gi-health-archive-post-title a:focus {
  color: var(--gi-accent);
}

.gi-health-archive-excerpt {
  max-height: 57.6px;
  margin: 0 0 20px;
  overflow: hidden;
  color: #777;
  font-size: 18px;
  line-height: 28.8px;
}

.gi-health-archive-excerpt p {
  display: -webkit-box;
  max-height: 57.6px;
  margin: 0;
  overflow: hidden;
  color: inherit;
  font-size: inherit;
  font-weight: 200;
  line-height: inherit;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.gi-health-archive-pagination {
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 44.5px;
  margin: 0;
}

.gi-health-archive-pagination .page-numbers {
  display: block;
  width: 36px;
  height: 36px;
  margin: 0 5px;
  border: 1px solid var(--gi-accent);
  border-radius: 50%;
  color: var(--gi-paper);
  font-size: 14px;
  line-height: 34px;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

.gi-health-archive-pagination .page-numbers.current {
  background: var(--gi-accent);
}

.gi-health-archive-pagination a.page-numbers {
  color: var(--gi-accent);
}

.gi-health-archive-pagination a.page-numbers:hover,
.gi-health-archive-pagination a.page-numbers:focus {
  background: var(--gi-accent);
  color: var(--gi-paper);
}

.gi-health-archive-pagination .next,
.gi-health-archive-pagination .prev {
  font-size: 24px;
  line-height: 30px;
}

.gi-health-archive-pagination .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.gi-health-archive-empty {
  margin: 0;
  text-align: center;
}

@media (max-width: 640px) {
  .gi-health-archive-banner {
    height: 80px;
    margin-bottom: 30px;
  }

  .gi-health-archive-banner-inner {
    height: 80px;
  }

  .gi-health-archive-title {
    font-size: 24px;
    line-height: 24px;
  }

  .gi-health-archive-subtitle {
    top: 9px;
    margin-left: 8px;
    font-size: 14px;
    line-height: 14px;
  }

  .gi-health-archive-content {
    width: calc(100% - 32px);
    margin-top: 30px;
  }

  .gi-health-archive-card {
    display: block;
    min-height: 0;
    margin-bottom: 24px;
  }

  .gi-health-archive-media {
    padding: 0;
  }

  .gi-health-archive-media a,
  .gi-health-archive-image {
    height: auto;
    aspect-ratio: 360 / 250;
  }

  .gi-health-archive-copy {
    display: block;
    padding: 25px 25px 30px;
  }

  .gi-health-archive-copy-inner {
    padding: 0;
  }

  .gi-health-archive-categories {
    margin-bottom: 24px;
  }

  .gi-health-archive-categories a {
    font-size: 11px;
    line-height: 13.2px;
  }

  .gi-health-archive-date-tags {
    margin-bottom: 15px;
  }

  .gi-health-archive-post-title {
    margin-bottom: 15px;
    font-size: 30px;
    line-height: 1.35;
  }

  .gi-health-archive-excerpt {
    font-size: 16px;
    line-height: 25.6px;
  }

  .gi-health-archive-excerpt p {
    max-height: 76.8px;
    line-height: 25.6px;
    -webkit-line-clamp: 3;
  }
}

body {
  background: var(--gi-paper);
  color: var(--gi-ink);
  font-family: var(--gi-font-family);
  font-size: 20px;
  line-height: 32px;
}

button,
input,
textarea,
select,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--gi-font-family);
}

.single-entry .entry-content {
  color: var(--gi-ink);
  font-size: 18px;
  line-height: 32px;
}

.single-entry .entry-content a {
  color: var(--gi-accent);
  font-size: 18px;
  line-height: 32px;
}

.single-entry .entry-title {
  color: var(--gi-heading);
  font-size: 32px;
  font-weight: 200;
  line-height: 1.5;
}

a {
  color: var(--gi-accent);
}

a:hover,
a:focus {
  color: var(--gi-accent);
}

.gi-health-header {
  position: relative;
  z-index: 100;
  background: var(--gi-paper);
}

.gi-health-container {
  width: calc(100% - 40px);
  max-width: var(--gi-container-width);
  margin-right: auto;
  margin-left: auto;
}

.gi-health-topbar {
  height: 35px;
  background: #fbfbfa;
}

.gi-health-topbar .gi-health-container {
  display: flex;
  height: 35px;
  align-items: center;
  justify-content: flex-end;
}

.gi-health-search {
  position: relative;
  display: flex;
  width: 228px;
  height: 34px;
  align-items: center;
}

.gi-health-search input {
  width: 100%;
  height: 34px;
  padding: 0 50px 0 20px;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.1);
  color: var(--gi-ink);
  font-size: 14px;
  line-height: 34px;
}

.gi-health-search input::placeholder {
  color: #999;
}

.gi-health-search button {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gi-ink);
  cursor: pointer;
}

.gi-health-search svg,
.gi-health-mobile-search svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.gi-health-brand-bar {
  height: 94px;
  border-bottom: 1px solid var(--gi-header-line);
  background: var(--gi-paper);
}

.gi-health-brand-bar .gi-health-container {
  display: flex;
  height: 94px;
  align-items: center;
  justify-content: center;
}

.gi-health-logo {
  display: block;
  width: 200px;
  height: 60px;
}

.gi-health-logo img {
  display: block;
  width: 200px;
  height: 60px;
  object-fit: contain;
}

.gi-health-nav-bar {
  height: 50px;
  background: var(--gi-paper);
  box-shadow: var(--gi-header-shadow);
}

.gi-health-nav-bar .gi-health-container {
  position: relative;
  display: flex;
  height: 50px;
  align-items: center;
  justify-content: center;
}

.gi-health-primary-nav .gi-health-menu,
.gi-health-mobile-panel .gi-health-menu,
.gi-health-footer .gi-health-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gi-health-primary-nav .gi-health-menu {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.gi-health-primary-nav .gi-health-menu > li > a {
  display: flex;
  height: 50px;
  align-items: center;
  padding: 0 20px;
  color: var(--gi-muted);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 50px;
  text-decoration: none;
  white-space: nowrap;
}

.gi-health-primary-nav .gi-health-menu > li > a:hover,
.gi-health-primary-nav .gi-health-menu > li > a:focus {
  color: var(--gi-accent);
}

.gi-health-primary-nav .gi-health-menu img,
.gi-health-mobile-panel .gi-health-menu img {
  display: inline-block;
  width: 35px;
  height: 35px;
  margin-right: 5px;
  object-fit: contain;
  vertical-align: middle;
}

.gi-health-menu-toggle,
.gi-health-mobile-search,
.gi-health-menu-scrim,
.gi-health-mobile-panel {
  display: none;
}

.gi-health-footer {
  min-height: 362px;
  background: var(--gi-footer);
  color: var(--gi-paper);
}

.gi-health-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 60px;
}

.gi-health-footer-column {
  min-height: 302px;
  padding: 0 30px;
}

.gi-health-footer-column h2 {
  margin: 0 0 25px;
  color: var(--gi-paper);
  font-size: 22px;
  font-weight: 700;
  line-height: 33px;
}

.gi-health-footer-brand img {
  display: block;
  width: 220px;
  height: 150px;
  object-fit: contain;
  object-position: left top;
}

.gi-health-footer-brand p {
  margin: 20px 0 0;
  color: #d2d2d2;
  font-size: 14px;
  line-height: 22px;
}

.gi-health-footer .gi-health-menu > li > a,
.gi-health-footer-links > a {
  display: block;
  padding: 0 0 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--gi-paper);
  font-size: 18px;
  line-height: 33px;
  text-decoration: none;
}

.gi-health-footer-links > a {
  padding-bottom: 0;
  border-bottom: 0;
}

.gi-health-footer .gi-health-menu > li > a::before,
.gi-health-footer-links > a::before {
  content: '> ';
  color: #d2d2d2;
}

.gi-health-footer .gi-health-menu > li {
  margin-bottom: 15px;
}

.gi-health-footer .gi-health-menu > li:last-child {
  margin-bottom: 0;
}

.gi-health-footer .gi-health-menu > li > a:hover,
.gi-health-footer .gi-health-menu > li > a:focus,
.gi-health-footer-links > a:hover,
.gi-health-footer-links > a:focus {
  color: #ffaab9;
}

.gi-health-footer-subtitle {
  margin-top: 0 !important;
}

.site-header {
  background: var(--gi-paper);
  border-bottom: 1px solid var(--gi-header-line);
  box-shadow: var(--gi-header-shadow);
}

.site-header .site-container {
  max-width: var(--gi-container-width);
}

.site-header .site-branding a {
  color: var(--gi-heading);
  font-weight: 800;
  letter-spacing: 0.04em;
}

.site-header .primary-menu-container > ul > li > a {
  color: var(--gi-muted);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 1px;
}

.site-header .primary-menu-container > ul > li > a:hover,
.site-header .primary-menu-container > ul > li > a:focus {
  color: var(--gi-accent);
}

.gi-health-front-page .entry-hero-container-inner {
  display: none;
}

.gi-health-front-page .content-area {
  padding-top: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.gi-health-front-page .entry-content-wrap {
  padding-top: 0;
  padding-bottom: 0;
}

.gi-health-front-page .site-main {
  margin-top: 0;
}

.gi-health-homepage {
  max-width: var(--gi-container-width);
  margin: 0 auto;
  padding: 20px 15px 0;
}

.gi-health-homepage > h2 {
  margin: clamp(3rem, 6vw, 5rem) 0 1.5rem;
  color: var(--gi-ink);
  font-size: 22px;
  font-weight: 700;
  line-height: 32px;
}

.gi-health-slider-slot {
  --gi-slider-height: 520px;
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: none;
  height: 620px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: linear-gradient(to bottom, var(--gi-paper) 0%, var(--gi-surface) 50%, var(--gi-surface) 100%);
  transform: translateX(-50%);
}

/* The selected Hero implementation: MetaSlider, kept inside the old
 * carousel slot so the site can switch back to the legacy renderer while a
 * production slider is being recreated. */
.gi-health-plugin-slider-slot {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.gi-health-plugin-slider-slot > .metaslider {
  width: min(855px, calc(100vw - 30px)) !important;
  max-width: 855px !important;
  margin: 0 auto !important;
}

.gi-health-plugin-slider-slot .flexslider {
  width: 100% !important;
}

.gi-health-plugin-slider-slot .slides {
  position: relative;
  left: -15px;
}

.gi-health-plugin-slider-slot .flex-viewport {
  overflow: visible !important;
}

.gi-health-plugin-slider-slot .slides > li {
  position: relative;
  height: var(--gi-slider-height) !important;
  margin: 0 5px !important;
  border-radius: 10px 10px 0 0;
}

.gi-health-plugin-slider-slot .slides > li > .metaslider_image_link {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
}

.gi-health-plugin-slider-slot .slides > li > .metaslider_image_link > img {
  display: block;
  width: 100% !important;
  height: var(--gi-slider-height) !important;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.gi-health-plugin-slider-slot .caption-wrap {
  position: absolute !important;
  top: auto !important;
  right: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  box-sizing: border-box;
  width: 100% !important;
  min-height: 165px;
  padding: 24px 30px 28px !important;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.78) 100%) !important;
  opacity: 1 !important;
}

.gi-health-plugin-slider-slot .caption {
  padding: 0 !important;
  background: transparent !important;
  color: var(--gi-paper) !important;
  font-family: var(--gi-font-family);
  font-size: 11px !important;
  line-height: 16.5px !important;
  text-align: center;
}

.gi-health-plugin-slider-slot .caption .gi-meta-category {
  display: inline-block;
  margin: 0 0 12px;
  padding: 0 5px 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
  color: var(--gi-paper);
  font-size: 18px;
  line-height: 21.6px;
}

.gi-health-plugin-slider-slot .caption h2 {
  margin: 0 0 10px !important;
  color: var(--gi-paper) !important;
  font-family: var(--gi-font-family);
  font-size: 48px !important;
  font-weight: 200;
  line-height: 1.2 !important;
}

.gi-health-plugin-slider-slot .caption a {
  color: inherit;
  text-decoration: none;
}

.gi-health-plugin-slider-slot .flex-direction-nav a {
  top: calc(var(--gi-slider-height) / 2) !important;
  width: 40px !important;
  height: 40px !important;
  margin-top: -20px !important;
  border-radius: 50%;
  background: #292929 !important;
  color: transparent !important;
  opacity: 1 !important;
}

.gi-health-plugin-slider-slot .flex-direction-nav .flex-prev {
  left: -58px !important;
}

.gi-health-plugin-slider-slot .flex-direction-nav .flex-next {
  right: -58px !important;
}

.gi-health-plugin-slider-slot .flex-direction-nav a::before {
  color: var(--gi-paper) !important;
  font-size: 24px !important;
  line-height: 40px !important;
}

.gi-health-plugin-slider-slot .flex-control-nav {
  right: 0;
  bottom: -45px !important;
  left: 0;
  z-index: 20;
  display: flex !important;
  gap: 20px;
  justify-content: center;
  width: 100% !important;
}

.gi-health-plugin-slider-slot .flex-control-nav li {
  margin: 0 !important;
}

.gi-health-plugin-slider-slot .flex-control-nav a {
  width: 10px !important;
  height: 10px !important;
  border: 1px solid #999;
  border-radius: 50%;
  background: #999;
  box-shadow: none !important;
}

.gi-health-plugin-slider-slot .flex-control-nav a.flex-active {
  border-color: var(--gi-category-accent);
  background: var(--gi-category-accent);
}

.gi-health-slider-viewport {
  position: relative;
  height: var(--gi-slider-height);
  overflow: visible;
}

.gi-health-slider-track {
  display: flex;
  width: max-content;
  height: var(--gi-slider-height);
  align-items: stretch;
  visibility: hidden;
  will-change: transform;
}

.gi-health-slider-slot.is-ready .gi-health-slider-track {
  visibility: visible;
}

.gi-health-hero-slide {
  position: relative;
  flex: 0 0 min(855px, calc(100vw - 30px));
  height: var(--gi-slider-height);
  margin: 0 5px;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  background-position: center;
  background-size: cover;
  list-style: none;
}

.gi-health-hero-slide::before {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 50%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
  content: '';
  pointer-events: none;
}

.gi-health-hero-slide-link {
  position: absolute;
  z-index: 5;
  inset: 0;
}

.gi-health-hero-content {
  position: absolute;
  right: 20px;
  bottom: 80px;
  left: 20px;
  z-index: 10;
  color: var(--gi-paper);
  text-align: center;
}

.gi-health-hero-category {
  display: inline-block;
  margin: 0 10px 20px 0;
  padding: 0 5px 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
  color: var(--gi-paper);
  font-size: 18px;
  font-weight: 400;
  line-height: 21.6px;
  text-decoration: none;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

.single-entry .entry-content .gi-health-hero-category {
  color: var(--gi-paper);
  font-size: 18px;
  line-height: 21.6px;
}

.gi-health-hero-category:hover,
.gi-health-hero-category:focus {
  color: #ffaab9;
}

.gi-health-hero-title {
  margin: 0 0 15px;
  font-size: 48px;
  font-weight: 200;
  line-height: 1.2;
}

.gi-health-hero-title a {
  color: var(--gi-paper);
  font-size: inherit;
  line-height: inherit;
  text-decoration: none;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.single-entry .entry-content .gi-health-hero-title a {
  color: var(--gi-paper);
  font-size: inherit;
  line-height: inherit;
}

.gi-health-hero-title a:hover,
.gi-health-hero-title a:focus {
  color: var(--gi-paper);
}

.gi-health-hero-date {
  display: block;
  color: var(--gi-paper);
  font-family: var(--gi-font-family);
  font-size: 11px;
  font-weight: 400;
  line-height: 16.5px;
}

.gi-health-hero-arrow {
  position: absolute;
  top: calc(var(--gi-slider-height) / 2 - 20px);
  z-index: 20;
  display: block;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: #000;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 40%;
  opacity: 0.5;
  cursor: pointer;
}

.gi-health-hero-arrow:hover,
.gi-health-hero-arrow:focus {
  opacity: 0.85;
}

.gi-health-slider-slot .gi-health-hero-arrow:hover,
.gi-health-slider-slot .gi-health-hero-arrow:focus,
.gi-health-slider-slot .gi-health-hero-arrow:active {
  background-color: #000;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 40%;
  box-shadow: none;
  color: var(--gi-paper);
}

.gi-health-slider-slot .gi-health-hero-prev:hover,
.gi-health-slider-slot .gi-health-hero-prev:focus,
.gi-health-slider-slot .gi-health-hero-prev:active {
  background-image: url('/wp-content/uploads/icon-arrow-left.png');
}

.gi-health-slider-slot .gi-health-hero-next:hover,
.gi-health-slider-slot .gi-health-hero-next:focus,
.gi-health-slider-slot .gi-health-hero-next:active {
  background-image: url('/wp-content/uploads/icon-arrow-right.png');
}

.gi-health-hero-prev {
  left: 20px;
  background-image: url('/wp-content/uploads/icon-arrow-left.png');
}

.gi-health-hero-next {
  right: 20px;
  background-image: url('/wp-content/uploads/icon-arrow-right.png');
}

.gi-health-hero-dots {
  position: absolute;
  bottom: 80px;
  left: 50%;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: max-content;
  height: 20px;
  transform: translateX(-50%);
}

.gi-health-hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 1px solid #999;
  border-radius: 50%;
  background: #999;
  cursor: pointer;
  opacity: 0.85;
}

.gi-health-hero-dots button[aria-selected='true'] {
  border-color: var(--gi-category-accent);
  background: var(--gi-category-accent);
}

.gi-health-slider-wave {
  position: absolute;
  top: calc(var(--gi-slider-height) - 30px);
  right: 0;
  left: 0;
  z-index: 15;
  height: 50px;
  background: url('/wp-content/uploads/bg-wave.png') center top / auto 50px no-repeat;
  pointer-events: none;
}

.gi-health-feature-card,
.gi-health-post-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--gi-line);
  border-radius: 15px;
  background: var(--gi-paper);
  box-shadow: none;
}

.gi-health-feature-card {
  padding: 0 1.1rem 1.25rem;
}

.gi-health-feature-card > .wp-block-post-featured-image {
  margin: 0 -1.1rem 1rem;
}

.gi-health-feature-card > .wp-block-post-featured-image img,
.gi-health-post-card > .wp-block-post-featured-image img,
.gi-health-news-row > .wp-block-post-featured-image img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.gi-health-feature-card > .wp-block-post-featured-image img {
  aspect-ratio: 16 / 9;
}

.gi-health-card-category {
  margin: 0.35rem 0 0.65rem;
  color: var(--gi-category-accent);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 21.6px;
}

.gi-health-card-category a {
  color: inherit;
  border-bottom: 1px solid currentColor;
  padding: 0 7px 5px 0;
  text-decoration: none;
}

.gi-health-feature-card h2,
.gi-health-post-card h3,
.gi-health-news-row h3 {
  margin-top: 0;
  line-height: 1.4;
}

.gi-health-feature-card h2 a,
.gi-health-post-card h3 a,
.gi-health-news-row h3 a {
  color: var(--gi-ink);
  text-decoration: none;
}

.gi-health-feature-card h2 a:hover,
.gi-health-post-card h3 a:hover,
.gi-health-news-row h3 a:hover {
  color: var(--gi-accent);
}

.gi-health-feature-card time,
.gi-health-post-card time,
.gi-health-news-row time {
  color: var(--gi-meta);
  font-size: 14px;
  line-height: 21px;
}

.gi-health-latest-query .wp-block-post-template {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0;
}

.gi-health-latest-query .wp-block-post {
  min-width: 0;
  width: 100% !important;
  list-style: none;
}

.gi-health-post-card {
  padding: 0 1.15rem 1.3rem;
}

.gi-health-post-card > .wp-block-post-featured-image {
  margin: 0 -1.15rem 1rem;
}

.gi-health-post-card > .wp-block-post-featured-image img {
  aspect-ratio: 4 / 3;
}

.gi-health-post-card .wp-block-post-excerpt {
  color: var(--gi-muted);
  font-size: 18px;
  font-weight: 200;
  line-height: 28.8px;
}

.gi-health-post-card .wp-block-post-excerpt__excerpt,
.gi-health-news-row .wp-block-post-excerpt__excerpt {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.gi-health-post-card .wp-block-post-excerpt__excerpt {
  -webkit-line-clamp: 5;
}

.gi-health-post-card .wp-block-post-excerpt__more-link {
  display: inline-block;
  margin-top: 0.35rem;
  font-weight: 700;
}

.gi-health-latest-query .wp-block-query-pagination {
  grid-column: 1 / -1;
  justify-content: center;
  margin-top: 1rem;
}

.gi-health-news-query .wp-block-post-template {
  display: grid !important;
  gap: 0.9rem;
  margin: 0;
}

.gi-health-news-query .wp-block-post {
  min-width: 0;
  width: 100% !important;
  list-style: none;
}

.gi-health-news-row {
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1rem;
  border: 1px solid var(--gi-line);
  border-radius: 15px;
  background: var(--gi-paper);
}

.gi-health-news-row > .wp-block-post-featured-image {
  flex: 0 0 28%;
  margin: 0;
}

.gi-health-news-row > .wp-block-post-featured-image img {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
}

.gi-health-news-row > .wp-block-group {
  flex: 1 1 auto;
  min-width: 0;
}

.gi-health-news-row .wp-block-post-excerpt {
  margin-top: 0.3rem;
  color: var(--gi-muted);
  font-size: 18px;
  font-weight: 200;
  line-height: 28.8px;
}

.gi-health-news-row .wp-block-post-excerpt__excerpt {
  -webkit-line-clamp: 3;
}

.gi-health-latest-section,
.gi-health-news-section {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
  transform: translateX(-50%);
}

.gi-health-latest-section {
  padding: 0 15px 80px;
  background: var(--gi-surface);
  margin-bottom: 0 !important;
}

.gi-health-section-heading {
  position: relative;
  max-width: 1070px;
  /* Keep the heading and rule centered over the Query Loop grid below. */
  margin: 0 auto 11px;
  padding: 4px 0 19px;
  border-bottom: 1px solid var(--gi-line);
  color: var(--gi-ink);
  font-size: 22px !important;
  font-weight: 700;
  line-height: 30px !important;
  text-align: center;
}

.gi-health-latest-query {
  max-width: 1070px;
  margin: 31px auto 0 !important;
}

.gi-health-latest-query .wp-block-post-template {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.gi-health-latest-query .wp-block-post {
  min-width: 0;
  height: 100%;
}

.gi-health-latest-query .gi-health-post-card {
  height: 681px;
  min-height: 681px;
  box-sizing: border-box;
  padding: 0 0 30px;
}

.gi-health-latest-query .gi-health-post-card > .wp-block-post-featured-image {
  margin: 0 0 16px;
}

.gi-health-latest-query .gi-health-post-card .wp-block-post-featured-image {
  margin-bottom: 20px !important;
}

.gi-health-latest-query .gi-health-post-card > .wp-block-post-featured-image img {
  aspect-ratio: 360 / 250;
}

.gi-health-latest-query .gi-health-card-category,
.gi-health-latest-query .gi-health-post-card > .wp-block-post-title,
.gi-health-latest-query .gi-health-post-card > .wp-block-post-date,
.gi-health-latest-query .gi-health-post-card > .wp-block-post-excerpt,
.gi-health-latest-query .gi-health-card-tags {
  margin-right: 25px;
  margin-left: 25px;
}

.gi-health-latest-query .gi-health-card-category {
  margin-top: 0;
  margin-bottom: 25px;
  text-transform: uppercase;
}

.gi-health-latest-query .gi-health-card-category a {
  color: var(--gi-category-accent);
  border-bottom-color: var(--gi-category-accent);
  line-height: 21.6px;
}

.gi-health-latest-query .gi-health-post-card .wp-block-post-title {
  margin-top: 0;
  margin-right: 25px;
  margin-left: 25px;
  margin-bottom: 15px;
  color: var(--gi-ink);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.35;
  text-transform: uppercase;
}

.gi-health-latest-query .gi-health-post-card .wp-block-post-title a {
  color: var(--gi-ink);
  font-size: inherit;
  line-height: inherit;
}

.gi-health-latest-query .gi-health-post-card .wp-block-post-title a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.gi-health-latest-query .gi-health-post-card .wp-block-post-date {
  margin-right: 25px;
  margin-left: 25px;
  margin-bottom: 15px;
  min-height: 21px;
  font-size: 11px;
  line-height: 16.5px;
  text-transform: uppercase;
}

.gi-health-latest-query .gi-health-post-card .wp-block-post-date time {
  color: var(--gi-meta);
  font-size: 11px;
  line-height: 16.5px;
}

.gi-health-latest-query .gi-health-post-card .wp-block-post-excerpt {
  /* Keep the preview aligned with the category, title and date. */
  margin-right: 25px;
  margin-left: 25px;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #777;
  font-size: 18px;
  font-weight: 400;
  line-height: 28.8px;
}

/* Source site trims the preview to 42 characters server-side and appends the
   ellipsis with CSS, so the text node stays clean. Mirror both halves here;
   the line clamp is only a safety net for unusually wide glyph runs. */
.gi-health-latest-query .gi-health-post-card .wp-block-post-excerpt__excerpt {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: var(--gi-muted);
  font-weight: 200;
}

.gi-health-latest-query .gi-health-post-card .wp-block-post-excerpt__excerpt::after {
  content: '...';
}

.gi-health-latest-query .gi-health-post-card .wp-block-post-excerpt__more-link {
  display: none;
}

.gi-health-latest-query .gi-health-card-tags,
.gi-health-news-query .gi-health-news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 0;
  margin-bottom: 0;
}

.gi-health-card-category .wp-block-post-terms__separator,
.gi-health-card-tags .wp-block-post-terms__separator,
.gi-health-news-tags .wp-block-post-terms__separator {
  display: none;
}

.gi-health-latest-query .gi-health-card-tags a,
.gi-health-news-query .gi-health-news-tags a {
  display: inline-block;
  padding: 2px 10px;
  border: 1px solid currentColor;
  border-radius: 18px;
  color: inherit;
  font-size: 14px;
  line-height: 24px;
  text-decoration: none;
}

/* Source site renders the latest-post tags as pink outlined pills sitting
   inside the excerpt block, 30px below the preview text. */
.gi-health-latest-query .gi-health-card-tags {
  /* Row separation comes from each pill's bottom margin, matching the source
     site's inline-block flow; a flex row-gap would stack on top of it. */
  gap: 0 5px;
  margin-top: 30px;
}

.gi-health-latest-query .gi-health-card-tags a {
  margin-bottom: 5px;
  padding: 4px 10px 5px;
  border-color: var(--gi-category-accent);
  border-radius: 50px;
  color: #999;
  line-height: 22.4px;
}

.gi-health-latest-query .gi-health-post-card .wp-block-post-title a.gi-health-title-truncated::after {
  content: '...';
}

.gi-health-news-section {
  margin-top: 0;
  padding: 60px 15px 80px;
  background: var(--gi-category-accent) url('/wp-content/uploads/bg-block2.jpg') center top / cover no-repeat;
  color: var(--gi-paper);
}

.gi-health-news-section .gi-health-section-heading {
  color: var(--gi-paper);
  border-bottom-color: rgba(255, 255, 255, 0.75);
}

.gi-health-news-query {
  max-width: 1080px;
  margin: 47px auto 0 !important;
}

.gi-health-news-query .wp-block-post-template {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.gi-health-news-query .wp-block-post {
  min-width: 0;
  min-height: 566px;
  width: 100% !important;
  list-style: none;
}

.gi-health-news-card {
  margin: 0 11px 50px;
  padding: 0;
  color: var(--gi-paper);
}

.gi-health-news-card > .wp-block-post-featured-image {
  margin: 0;
}

.gi-health-news-card .wp-block-post-featured-image {
  margin: 1px 0 16px !important;
  border: 1px solid #ededed;
  border-radius: 5px;
  overflow: hidden;
}

.gi-health-news-card > .wp-block-post-featured-image img {
  display: block;
  width: 100%;
  aspect-ratio: 10 / 9;
  object-fit: cover;
}

.gi-health-news-card .wp-block-post-title {
  margin: 17px 0 15px;
  color: var(--gi-paper);
  font-size: 24px;
  font-weight: 200;
  line-height: 1.5;
}

.gi-health-news-card .wp-block-post-title a {
  color: var(--gi-paper);
  font-size: inherit;
  line-height: inherit;
  text-decoration: none;
}

.gi-health-news-card .wp-block-post-date {
  margin: 0 0 15px;
  font-size: 11px;
  line-height: 16.5px;
}

.gi-health-news-card .wp-block-post-date time {
  color: var(--gi-paper);
  font-size: 11px;
  line-height: 16.5px;
}

.gi-health-news-card .gi-health-news-tags {
  color: var(--gi-paper);
}

.site-footer {
  border-top: 0;
  background: var(--gi-footer);
  color: var(--gi-paper);
}

@media (min-width: 641px) {
  .gi-health-section-heading {
    /* Kadence's flow layout can reset the inline auto margins on headings. */
    margin-right: auto !important;
    margin-left: auto !important;
  }

  .gi-health-footer-grid {
    width: calc(100% - 40px);
    max-width: 1120px;
  }

  .gi-health-footer-brand {
    padding-top: 40px;
    text-align: center;
  }

  .gi-health-footer-brand img {
    margin: 0 auto;
    object-position: center top;
  }

  .gi-health-footer-brand p {
    line-height: 32px;
    text-align: center;
  }

  .gi-health-news-card .gi-health-news-tags {
    display: block;
    margin-top: 24px;
    line-height: 16.5px;
  }

  .gi-health-news-card .gi-health-news-tags a {
    margin: 10px 2px 0 0;
    padding: 4px 10px 5px;
    font-size: 14px;
    line-height: 21px;
  }
}

@media (max-width: 900px) {
  .gi-health-latest-query .wp-block-post-template {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gi-health-slider-query .wp-block-post-template {
    grid-auto-columns: minmax(270px, 52%);
  }
}

@media (max-width: 640px) {
  .gi-health-container {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  .gi-health-topbar {
    display: none;
  }

  .gi-health-brand-bar,
  .gi-health-brand-bar .gi-health-container {
    height: 60px;
  }

  .gi-health-brand-bar {
    border-bottom: 1px solid var(--gi-header-line);
  }

  .gi-health-logo,
  .gi-health-logo img {
    width: 130px;
    height: 45px;
  }

  .gi-health-nav-bar {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 60px;
    background: transparent;
    box-shadow: none;
    pointer-events: none;
  }

  .gi-health-nav-bar .gi-health-container {
    height: 60px;
    justify-content: space-between;
    padding-right: 18px;
    padding-left: 18px;
  }

  .gi-health-primary-nav {
    display: none;
  }

  .gi-health-menu-toggle,
  .gi-health-mobile-search {
    display: flex;
    width: 40px;
    height: 60px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #777;
    pointer-events: auto;
  }

  .gi-health-menu-toggle > span:last-child {
    display: flex;
    width: 22px;
    height: 18px;
    flex-direction: column;
    justify-content: space-between;
  }

  .gi-health-menu-toggle i {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
  }

  .gi-health-mobile-search svg {
    width: 19px;
    height: 19px;
  }

  .gi-health-menu-scrim {
    position: fixed;
    z-index: 9998;
    inset: 0;
    display: block;
    visibility: hidden;
    background: rgba(0, 0, 0, 0.28);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, visibility 180ms ease;
  }

  .gi-health-mobile-panel {
    position: fixed;
    z-index: 9999;
    top: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: min(54vw, 280px);
    min-width: 210px;
    padding-top: 60px;
    background: var(--gi-paper);
    box-shadow: 3px 0 18px rgba(0, 0, 0, 0.14);
    transform: translateX(-105%);
    transition: transform 180ms ease;
  }

  .gi-health-menu-close {
    position: absolute;
    top: 11px;
    right: 16px;
    width: 34px;
    height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #888;
    font-size: 34px;
    font-weight: 200;
    line-height: 40px;
  }

  .gi-health-mobile-panel .gi-health-menu > li > a {
    display: flex;
    height: 60px;
    align-items: center;
    padding: 0 20px;
    border-bottom: 1px solid #eeeeee;
    color: var(--gi-muted);
    font-size: 18px;
    line-height: 60px;
    text-decoration: none;
    white-space: nowrap;
  }

  .gi-health-mobile-panel .gi-health-menu > li > a:hover,
  .gi-health-mobile-panel .gi-health-menu > li > a:focus {
    color: var(--gi-accent);
  }

  .gi-health-header.is-menu-open .gi-health-menu-scrim {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }

  .gi-health-header.is-menu-open .gi-health-mobile-panel {
    transform: translateX(0);
  }

  body.gi-health-menu-open {
    overflow: hidden;
  }

  .gi-health-footer {
    min-height: 0;
  }

  .gi-health-footer-grid {
    display: block;
    padding-top: 40px;
  }

  .gi-health-footer-column {
    min-height: 0;
    padding: 0 16px 42px;
  }

  .gi-health-footer-brand img {
    width: 220px;
    height: 150px;
  }

  .site-header .site-container {
    padding-right: 18px;
    padding-left: 18px;
  }

  .gi-health-homepage {
    padding: 0 16px 0;
  }

  .gi-health-front-page .content-area {
    margin-bottom: 0;
  }

  .gi-health-homepage > h2 {
    margin-top: 1.5rem;
  }

  .gi-health-latest-section {
    padding: 0 16px 48px;
  }

  .gi-health-news-section {
    margin-top: 40px;
    padding: 3px 16px 20px;
  }

  .gi-health-section-heading {
    padding-top: 4px;
    padding-bottom: 19px;
    font-size: 22px !important;
    line-height: 30px !important;
  }

  .gi-health-latest-query,
  .gi-health-news-query {
    max-width: none;
    margin-top: 30px;
  }

  .gi-health-latest-query .wp-block-post-template {
    gap: 24px;
  }

  .gi-health-latest-query .gi-health-post-card {
    min-height: 0;
  }

  .gi-health-latest-query .gi-health-post-card > .wp-block-post-title {
    font-size: 24px;
    line-height: 1.35;
  }

  .gi-health-news-query .wp-block-post-template {
    grid-template-columns: 1fr;
  }

  .gi-health-news-card {
    margin-right: 0;
    margin-left: 0;
  }

  .gi-health-news-card > .wp-block-post-title {
    font-size: 22px;
  }

  .gi-health-slider-slot {
    --gi-slider-height: 220px;
    height: 240px;
    padding: 0;
    border-radius: 0;
  }

  .gi-health-slider-viewport,
  .gi-health-slider-track,
  .gi-health-hero-slide {
    height: var(--gi-slider-height);
  }

  .gi-health-hero-slide {
    flex-basis: calc(100vw - 59px);
  }

  .gi-health-hero-content {
    right: 20px;
    bottom: 35px;
    left: 20px;
  }

  .gi-health-hero-category {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 19.2px;
  }

  .single-entry .entry-content .gi-health-hero-category {
    font-size: 16px;
    line-height: 19.2px;
  }

  .gi-health-hero-title {
    margin-bottom: 8px;
    font-size: 18px;
    line-height: 22.5px;
  }

  .gi-health-hero-date {
    font-size: 11px;
    line-height: 16.5px;
  }

  .gi-health-hero-arrow {
    display: none;
  }

  .gi-health-hero-dots {
    right: 0;
    bottom: 0;
    left: 0;
    gap: 20px;
    width: auto;
    transform: none;
  }

  .gi-health-slider-wave {
    top: calc(var(--gi-slider-height) - 30px);
  }

  .gi-health-plugin-slider-slot > .metaslider {
    width: calc(100vw - 59px) !important;
    max-width: calc(100vw - 59px) !important;
  }

  .gi-health-plugin-slider-slot .flexslider,
  .gi-health-plugin-slider-slot .slides,
  .gi-health-plugin-slider-slot .slides > li {
    height: var(--gi-slider-height) !important;
  }

  .gi-health-plugin-slider-slot .slides {
    left: -6px;
  }

  .gi-health-plugin-slider-slot .slides > li {
    margin: 0 2px !important;
  }

  .gi-health-plugin-slider-slot .caption-wrap {
    min-height: 100%;
    padding: 10px 10px 22px !important;
  }

  .gi-health-plugin-slider-slot .caption .gi-meta-category {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 19.2px;
  }

  .gi-health-plugin-slider-slot .caption h2 {
    margin-bottom: 8px !important;
    font-size: 18px !important;
    line-height: 22.5px !important;
  }

  .gi-health-plugin-slider-slot .flex-direction-nav a {
    display: block !important;
    width: 32px !important;
    height: 32px !important;
    margin-top: -16px !important;
  }

  .gi-health-plugin-slider-slot .flex-direction-nav .flex-prev {
    left: 8px !important;
  }

  .gi-health-plugin-slider-slot .flex-direction-nav .flex-next {
    right: 8px !important;
  }

  .gi-health-plugin-slider-slot .flex-direction-nav a::before {
    font-size: 19px !important;
    line-height: 32px !important;
  }

  .gi-health-slider-slot > .wp-block-paragraph,
  .gi-health-post-card .wp-block-post-excerpt,
  .gi-health-news-row .wp-block-post-excerpt {
    font-size: 16px;
    line-height: 25.6px;
  }

  .gi-health-slider-query .wp-block-post-template {
    grid-auto-columns: 86%;
  }

  .gi-health-latest-query .wp-block-post-template {
    grid-template-columns: 1fr;
  }

  .gi-health-news-row {
    display: block;
  }

  .gi-health-news-row > .wp-block-post-featured-image {
    width: 100%;
    margin-bottom: 0.9rem;
  }

  /* Match the old Look theme's mobile rhythm: one latest column, two medical columns. */
  .gi-health-slider-slot {
    height: 272px;
  }

  .gi-health-latest-section,
  .gi-health-news-section {
    width: calc(100vw - 15px);
  }

  .gi-health-latest-section {
    margin-bottom: 5px !important;
    padding: 0 10px 31px;
  }

  .gi-health-latest-query {
    margin: 30px 0 0 !important;
  }

  .gi-health-latest-query .wp-block-post-template {
    gap: 20px 0;
  }

  .gi-health-latest-query {
    padding-bottom: 20px;
  }

  .gi-health-latest-query .wp-block-post {
    height: auto;
  }

  .gi-health-latest-query .gi-health-post-card {
    height: auto;
    min-height: 0;
    margin: 0 5px;
    padding: 0 0 29px;
  }

  .gi-health-latest-query .gi-health-post-card .wp-block-post-featured-image {
    margin-bottom: 21px !important;
  }

  .gi-health-latest-query .gi-health-card-category {
    height: 22px;
    margin: 0 25px 24px;
    font-size: 11px;
    line-height: 13.2px;
  }

  .gi-health-latest-query .gi-health-card-category a {
    font-size: 11px;
    line-height: 13.2px;
  }

  .gi-health-latest-query .gi-health-post-card .wp-block-post-title {
    height: 32px;
    margin: 0 25px 15px;
    overflow: hidden;
    font-size: 30px;
    line-height: 0;
  }

  .gi-health-latest-query .gi-health-post-card .wp-block-post-title a {
    display: block;
    overflow: hidden;
    font-size: 21.9px;
    line-height: 31.75px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .gi-health-latest-query .gi-health-post-card .wp-block-post-date {
    height: 21px;
    margin: 0 25px 15px;
    font-size: 11px;
    line-height: 16.5px;
  }

  .gi-health-latest-query .gi-health-post-card .wp-block-post-excerpt {
    max-height: none;
    margin: 0;
  }

  .gi-health-latest-query .gi-health-post-card .wp-block-post-excerpt__excerpt {
    display: -webkit-box;
    max-height: 77px;
    margin: 0 25px;
    overflow: hidden;
    color: #777;
    font-size: 16px;
    font-weight: 200;
    line-height: 25.6px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .gi-health-latest-query .gi-health-card-tags {
    display: block;
    line-height: 20.8px;
    margin: 30px 25px 15px;
  }

  .gi-health-latest-query .gi-health-card-tags a {
    margin: 0 3px 4px 0;
    padding: 2px 10px 3px;
    border-radius: 50px;
    color: var(--gi-muted);
    font-size: 13px;
    line-height: 20px;
  }

  .gi-health-latest-query .wp-block-post:nth-child(2) .gi-health-post-card .wp-block-post-title,
  .gi-health-latest-query .wp-block-post:nth-child(3) .gi-health-post-card .wp-block-post-title {
    height: 64px;
  }

  .gi-health-latest-query .wp-block-post:nth-child(2) .gi-health-post-card .wp-block-post-title a,
  .gi-health-latest-query .wp-block-post:nth-child(3) .gi-health-post-card .wp-block-post-title a {
    display: -webkit-box;
    overflow: hidden;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .gi-health-news-section {
    margin-top: 0;
    padding: 40px 0 26px;
  }

  .gi-health-news-section .gi-health-section-heading {
    margin: 0 10px;
  }

  .gi-health-news-query {
    width: calc(100% - 10px);
    margin: 29px 5px 0 !important;
  }

  .gi-health-news-query .wp-block-post-template {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 29px 0;
  }

  .gi-health-news-query {
    padding-bottom: 29px;
  }

  .gi-health-news-query .wp-block-post {
    min-height: 0;
    width: auto !important;
  }

  .gi-health-news-card {
    min-height: 0;
    margin: 0 0 30px;
    padding: 0 5px;
  }

  .gi-health-news-card .wp-block-post-featured-image {
    margin: 1px 0 16px !important;
  }

  .gi-health-news-card .wp-block-post-featured-image img {
    width: calc(100% - 2px) !important;
    height: calc(100% - 2px) !important;
    margin: 1px !important;
  }

  .gi-health-news-card .wp-block-post-title {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 0;
  }

  .gi-health-news-card .wp-block-post-title a {
    display: inline;
    font-size: 19.92px;
    line-height: 31.872px;
  }

  .gi-health-news-card .wp-block-post-date {
    height: 21px;
    margin: 0 0 15px;
    font-size: 11px;
    line-height: 16.5px;
  }

  .gi-health-news-card .gi-health-news-tags {
    display: block;
    margin: 19px 0 0;
  }

  .gi-health-news-card .gi-health-news-tags a {
    margin: 10px 3px 0 0;
    padding: 2px 10px 3px;
    border-radius: 50px;
    color: var(--gi-paper);
    font-size: 13px;
    line-height: 20px;
  }

  /* The old font metrics force Probiotic onto its own row in the first card. */
  .gi-health-news-query .wp-block-post:first-child .gi-health-news-tags a:nth-of-type(3) {
    min-width: 91px;
  }

  .gi-health-footer-grid {
    padding-top: 20px;
  }

  .gi-health-footer-column {
    padding-bottom: 20px;
  }

  .gi-health-footer-grid > .gi-health-footer-column:nth-child(2) {
    display: block;
    height: 1px;
    min-height: 0;
    overflow: hidden;
    padding: 0;
  }

  .gi-health-footer-brand {
    height: 282px;
    box-sizing: border-box;
    padding-top: 40px;
    padding-bottom: 40px;
    text-align: center;
  }

  .gi-health-footer-brand img {
    display: block;
    margin: 0 auto;
  }

  .gi-health-footer-brand p {
    line-height: 32px;
    text-align: center;
  }

  .gi-health-footer-links {
    height: 180px;
    box-sizing: border-box;
    overflow: hidden;
    padding-bottom: 20px;
  }
}

/* Single posts reproduce the old Look article frame: a 2/3 article column,
 * 1/3 sidebar, centered title block, full-width feature image, and the old
 * content spacing. The markup is local to single.php so Kadence defaults do
 * not leak into the article preview. */
.gi-health-single-page {
  padding-top: 20px;
  background: var(--gi-paper);
  color: var(--gi-ink);
}

.gi-health-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  width: calc(100% - 40px);
  max-width: 1100px;
  margin: 40px auto 60px;
  padding: 0 20px;
  box-sizing: border-box;
}

.gi-health-single-main,
.gi-health-single-article,
.gi-health-single-sidebar {
  min-width: 0;
}

.gi-health-single-article {
  width: 100%;
  margin: 0;
  padding: 20px;
  box-sizing: border-box;
  background: var(--gi-paper);
}

.gi-health-single-header {
  width: 100%;
  text-align: center;
}

.gi-health-single-categories {
  width: 100%;
  margin: 0 0 25px;
  color: var(--gi-heading);
  font-size: 11px;
  line-height: 13.2px;
  text-align: center;
}

.gi-health-single-categories a {
  display: inline;
  margin: 0 10px 0 0;
  padding: 0 3px 5px;
  border-bottom: 1px solid var(--gi-category-accent);
  color: var(--gi-category-accent);
  font-size: 16px;
  font-weight: 400;
  line-height: 19.2px;
  text-decoration: none;
}

.gi-health-single-categories a:last-child {
  margin-right: 0;
}

.gi-health-single-categories a:hover,
.gi-health-single-categories a:focus,
.gi-health-single-meta-categories a:hover,
.gi-health-single-meta-categories a:focus {
  color: var(--gi-accent);
}

.gi-health-single-title {
  width: 100%;
  margin: 0 0 30px;
  color: var(--gi-heading);
  font-size: 32px;
  line-height: 0;
  text-align: center;
}

.gi-health-single-title h1 {
  display: inline;
  margin: 0;
  color: var(--gi-heading);
  font-family: var(--gi-font-family);
  font-size: 32px;
  font-weight: 200;
  line-height: 38.4px;
  text-align: center;
}

.gi-health-single-title h1 a {
  color: inherit;
}

.gi-health-single-thumb {
  position: relative;
  width: 100%;
  margin: 0 0 40px;
  padding: 0;
  background: var(--gi-paper);
}

.gi-health-single-thumb a,
.gi-health-single-image {
  display: block;
  width: 100%;
  height: auto;
}

.gi-health-single-image {
  max-width: 100%;
  object-fit: cover;
}

.gi-health-single-meta-bar {
  display: flex;
  min-height: 54.5px;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  padding: 5px 0;
  border-top: 1px solid #f2f2f2;
  border-bottom: 1px solid #f2f2f2;
  box-sizing: border-box;
  text-align: left;
  text-transform: uppercase;
}

.gi-health-single-meta-info {
  display: flex;
  min-height: 42.5px;
  align-items: flex-start;
  color: var(--gi-meta);
  font-size: 11px;
  line-height: 16.5px;
}

.gi-health-single-meta-categories {
  display: inline-flex;
  align-items: flex-start;
  flex-wrap: wrap;
  min-height: 42.5px;
  line-height: 40px;
}

.gi-health-single-meta-categories a {
  display: inline-block;
  color: var(--gi-category-accent);
  font-size: 14px;
  line-height: 40px;
  text-decoration: none;
  white-space: nowrap;
}

.gi-health-single-date {
  display: inline-block;
  min-height: 42.5px;
  margin-left: 0;
  color: var(--gi-meta);
  font-family: var(--gi-font-family);
  font-size: 14px;
  line-height: 40px;
  white-space: nowrap;
}

/* Source site separates the categories from the date with a grey pipe. */
.gi-health-single-date::before {
  content: '|';
  display: inline-block;
  margin: 0 7px;
  color: var(--gi-meta);
  font-size: 11px;
  vertical-align: middle;
}

.gi-health-single-share {
  display: flex;
  height: 32px;
  align-items: center;
  margin-top: 4px;
  color: var(--gi-accent);
  font-family: var(--gi-font-family);
}

.gi-health-single-share-label {
  display: inline-block;
  margin-right: 10px;
  color: var(--gi-accent);
  font-size: 12px;
  font-weight: 700;
  line-height: 32px;
  white-space: nowrap;
}

.gi-health-single-share-links {
  display: flex;
  height: 32px;
  align-items: center;
}

/* Source site wraps each 32px brand circle in a link with 2px side padding,
   which is what produces the 4px gap between the two icons. */
.gi-health-single-share-links a {
  display: block;
  padding: 0 2px;
  text-decoration: none;
}

.gi-health-single-share-icon {
  display: flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--gi-paper);
}

.gi-health-single-share-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.gi-health-single-share-link.is-facebook .gi-health-single-share-icon {
  background: #899dce;
}

.gi-health-single-share-link.is-twitter .gi-health-single-share-icon {
  background: #60d2f5;
}

.gi-health-single-share-links a:hover .gi-health-single-share-icon,
.gi-health-single-share-links a:focus .gi-health-single-share-icon {
  opacity: 0.85;
}

.gi-health-single-content {
  width: 100%;
  margin-top: 40px;
  padding-bottom: 20px;
  color: var(--gi-ink);
  font-family: var(--gi-font-family);
  font-size: 18px;
  line-height: 32.4px;
}

.gi-health-single-content-body {
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  color: var(--gi-ink);
  font-family: var(--gi-font-family);
  font-size: 18px;
  line-height: 32.4px;
}

.gi-health-single-content-body > article {
  width: 100%;
  margin: 0;
  padding: 20px;
  box-sizing: border-box;
}

.gi-health-single-content-body p {
  margin: 0 0 30px;
  color: var(--gi-ink);
  font-family: var(--gi-font-family);
  font-size: 18px;
  font-weight: 200;
  line-height: 32.4px;
}

.gi-health-single-content-body h2,
.gi-health-single-content-body h3,
.gi-health-single-content-body h4 {
  margin: 67.5px 0 27px;
  padding: 0 0 10px;
  border-bottom: 1px solid #e0e0e0;
  color: #005f73;
  font-family: var(--gi-font-family);
  font-size: 27px;
  font-weight: 700;
  line-height: 34px;
}

.gi-health-single-content-body .toc-box h2,
.gi-health-single-content-body .toc-box h3,
.gi-health-single-content-body .toc-box h4 {
  margin-top: 0;
}

.gi-health-single-content-body > article > footer {
  margin: 60px 0 0;
  padding: 20px;
  color: #666;
}

.gi-health-single-content-body > article > footer h2,
.gi-health-single-content-body > article > footer h3,
.gi-health-single-content-body > article > footer h4 {
  margin: 0 0 21.6px;
  padding: 0 0 10px;
  border-bottom: 1px solid #e0e0e0;
  color: #333;
  font-size: 21.6px;
  font-weight: 700;
  line-height: 34px;
}

.gi-health-single-content-body > article > footer ol,
.gi-health-single-content-body > article > footer ul {
  margin: 0 0 30px 40px;
  padding-left: 22.95px;
  color: #666;
  font-size: 15.3px;
  line-height: 27.54px;
}

.gi-health-single-content-body > article > footer li {
  margin: 0 0 10px;
  color: #666;
  font-size: 15.3px;
  line-height: 27.54px;
}

.gi-health-single-content-body ul,
.gi-health-single-content-body ol {
  margin: 0 0 30px 40px;
  padding-left: 36px;
  color: var(--gi-ink);
  font-size: 18px;
  line-height: 32.4px;
}

.gi-health-single-content-body li {
  margin: 0 0 10px;
  padding: 0;
  color: var(--gi-ink);
  font-size: 18px;
  line-height: 32.4px;
}

.gi-health-single-content-body blockquote {
  margin: 30px 0;
  padding: 20px 25px;
  border-left: 5px solid #1d3557;
  background: #f1faee;
  color: #457b9d;
  font-family: var(--gi-font-family);
  font-size: 17.1px;
  line-height: 30.78px;
  box-sizing: border-box;
}

.gi-health-single-content-body blockquote p {
  margin: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.gi-health-single-content-body img,
.gi-health-single-content-body iframe {
  max-width: 100%;
}

/* Restore the table treatment provided by the old Look stylesheet. */
.gi-health-single-content-body table {
  width: 100%;
  max-width: 100%;
  margin: 0 0 2em;
  border-bottom: 1px solid #f2f2f2;
  border-collapse: collapse;
  border-left: 1px solid #f2f2f2;
  border-spacing: 0;
  font-size: 20px;
  line-height: 32px;
}

.gi-health-single-content-body table th,
.gi-health-single-content-body table td {
  padding: 7px 15px;
  border-right: 1px solid #f2f2f2;
  border-top: 1px solid #f2f2f2;
  font-size: 20px;
  line-height: 32px;
  text-align: left;
  vertical-align: baseline;
}

.gi-health-single-content-body a {
  color: var(--gi-accent);
  font-size: inherit;
  line-height: inherit;
}

.gi-health-single-tags {
  width: 100%;
  margin: 40px 0 20px;
  color: var(--gi-heading);
  font-size: 11px;
  line-height: 18.7px;
  text-transform: uppercase;
}

.gi-health-single-tags-title {
  display: inline-block;
  margin: 0 10px 0 0;
  padding: 5px 15px 6px;
  border-radius: 50px;
  background: var(--gi-accent);
  color: var(--gi-paper);
  font-size: 16px;
  font-weight: 400;
  line-height: 22.4px;
}

.gi-health-single-tags a {
  display: inline;
  color: var(--gi-accent);
  font-size: 16px;
  line-height: 27.2px;
  text-decoration: none;
}

.gi-health-related-tags a:not(:last-child)::after {
  content: ' ';
}

/* Source site joins the article tags with a pink dot rather than a space. */
.gi-health-single-tags a:not(:first-of-type)::before {
  content: '.';
  display: inline-block;
  margin: 0 5px;
  color: var(--gi-accent);
  font-size: 16px;
}

.gi-health-single-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  min-height: 164.5px;
  margin: 50px 0;
  padding: 20px 0;
  border-top: 1px solid #f2f2f2;
  border-bottom: 1px solid #f2f2f2;
  box-sizing: border-box;
}

.gi-health-single-nav-item {
  min-width: 0;
  padding: 0 20px 0 0;
}

.gi-health-single-nav-next {
  padding: 0 0 0 20px;
  text-align: right;
}

.gi-health-single-nav-arrow {
  display: flex;
  gap: 7px;
  align-items: center;
  margin: 0 0 10px;
  color: var(--gi-meta);
  font-size: 11px;
  line-height: 11px;
}

.gi-health-single-nav-next .gi-health-single-nav-arrow {
  justify-content: flex-end;
}

.gi-health-single-nav-arrow span:first-child[aria-hidden='true'],
.gi-health-single-nav-arrow span:last-child[aria-hidden='true'] {
  color: var(--gi-meta);
  font-size: 22px;
  line-height: 11px;
}

.gi-health-single-nav h2 {
  margin: 0;
  padding: 0 0 10px;
  color: var(--gi-heading);
  font-size: 20px;
  font-weight: 200;
  line-height: 30px;
}

.gi-health-single-nav h2 a {
  color: var(--gi-heading);
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-decoration: none;
}

.gi-health-single-nav h2 a:hover,
.gi-health-single-nav h2 a:focus,
.gi-health-single-related h3 a:hover,
.gi-health-single-related h3 a:focus {
  color: var(--gi-accent);
}

.gi-health-single-author {
  width: 100%;
  margin: 40px 0;
}

.gi-health-single-author-inner {
  display: flex;
  min-height: 48px;
  align-items: center;
}

.gi-health-single-author-avatar {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  margin-right: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gi-health-single-author-avatar img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
}

.gi-health-single-author-content {
  flex: 1 1 auto;
  min-width: 0;
  margin-top: 0;
}

.gi-health-single-author-content h2 {
  margin: 0;
  padding: 0;
  color: #005f73;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.gi-health-single-author-content h2 a {
  color: #005f73;
  text-decoration: none;
}

.gi-health-single-related {
  width: 100%;
  margin: 50px 0;
}

.gi-health-single-related-header {
  width: 100%;
  margin: 0 0 30px;
  padding: 0 0 20px;
  border-bottom: 1px solid #f2f2f2;
}

.gi-health-single-related-header h2 {
  margin: 0;
  color: var(--gi-ink);
  font-size: 22px;
  font-weight: 700;
  line-height: 39.6px;
}

.gi-health-single-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}

.gi-health-related-card {
  min-width: 0;
  margin: 0;
  color: var(--gi-ink);
}

.gi-health-related-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 209 / 188;
  margin: 0 0 15px;
  overflow: hidden;
}

.gi-health-related-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gi-health-related-card h3 {
  margin: 0 0 15px;
  padding: 0 0 10px;
  border-bottom: 0;
  color: var(--gi-heading);
  font-size: 22px;
  font-weight: 200;
  line-height: 0;
}

.gi-health-related-card h3 a {
  color: var(--gi-heading);
  font-size: inherit;
  font-weight: inherit;
  line-height: 30px;
  text-decoration: none;
}

.gi-health-related-card > time {
  display: block;
  margin: 0 0 15px;
  color: var(--gi-meta);
  font-size: 11px;
  line-height: 16.5px;
}

.gi-health-related-tags {
  display: block;
  color: var(--gi-meta);
  font-size: 11px;
  line-height: 21px;
}

.gi-health-related-tags a {
  display: inline-block;
  margin: 0 2px 5px 0;
  padding: 4px 10px 5px;
  border: 1px solid var(--gi-category-accent);
  border-radius: 50px;
  color: #999;
  font-size: 14px;
  line-height: 21px;
  text-decoration: none;
}

.gi-health-single-sidebar {
  width: 100%;
  padding-left: 60px;
  box-sizing: border-box;
}

.gi-health-single-widget {
  width: 100%;
  margin: 0 0 60px;
  color: var(--gi-ink);
}

.gi-health-single-widget-title {
  width: 100%;
  margin: 0 0 15px;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--gi-line);
  box-sizing: border-box;
}

.gi-health-single-widget-title h2 {
  display: inline-block;
  margin: 0;
  padding: 0 15px 0 0;
  color: var(--gi-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 30px;
  text-transform: uppercase;
}

.gi-health-single-widget ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gi-health-single-widget li {
  margin: 0;
  padding: 0;
}

.gi-health-single-widget li a {
  display: block;
  color: var(--gi-ink);
  text-decoration: none;
}

.gi-health-single-widget:first-child li a {
  margin: 0 0 15px;
  padding: 0 0 15px;
  border-bottom: 1px solid #f2f2f2;
  font-size: 18px;
  font-weight: 200;
  line-height: 32px;
}

.gi-health-single-widget:first-child li a::before {
  display: inline-block;
  margin-right: 8px;
  color: #aaa;
  content: '›';
}

.gi-health-single-widget:nth-child(2) li {
  margin: 0 0 15px;
  padding: 0 0 15px;
  border-bottom: 1px solid #f2f2f2;
}

.gi-health-single-widget:nth-child(2) li a {
  font-size: 18px;
  font-weight: 200;
  line-height: 27px;
}

.gi-health-single-widget li a:hover,
.gi-health-single-widget li a:focus,
.gi-health-single-tag-cloud a:hover,
.gi-health-single-tag-cloud a:focus {
  color: var(--gi-accent);
}

.gi-health-single-tag-cloud .tagcloud {
  color: var(--gi-ink);
  font-size: 0;
  line-height: 0;
}

.gi-health-single-tag-cloud .tagcloud a {
  display: inline-block;
  margin: 0 5px 8px 0;
  padding: 2px 15px 3px;
  border: 1px solid var(--gi-category-accent);
  border-radius: 50px;
  color: var(--gi-ink);
  /* WordPress writes a per-tag inline font-size from the post count; the source
     site overrides it so every pill renders at one size. */
  font-size: 16px !important;
  font-weight: 200;
  line-height: 30px;
  text-decoration: none;
}

@media (max-width: 900px) {
  .gi-health-single-layout {
    display: block;
    width: calc(100% - 32px);
    margin-top: 20px;
    padding: 0;
  }

  .gi-health-single-article {
    padding: 16px;
  }

  .gi-health-single-sidebar {
    margin-top: 40px;
    padding-left: 0;
  }

  .gi-health-single-title h1 {
    font-size: 28px;
    line-height: 36px;
  }

  .gi-health-single-meta-bar {
    flex-wrap: wrap;
  }

  .gi-health-single-share {
    margin-left: auto;
  }

  .gi-health-single-content-body {
    padding: 0;
  }
}

@media (max-width: 640px) {
  .gi-health-single-page {
    padding-top: 0;
  }

  .gi-health-single-layout {
    width: calc(100% - 24px);
    margin-top: 20px;
    margin-bottom: 40px;
  }

  .gi-health-single-article {
    padding: 12px;
  }

  .gi-health-single-categories {
    margin-bottom: 20px;
  }

  .gi-health-single-categories a {
    font-size: 14px;
    line-height: 17px;
  }

  .gi-health-single-title {
    margin-bottom: 22px;
  }

  .gi-health-single-title h1 {
    font-size: 25px;
    line-height: 33px;
  }

  .gi-health-single-thumb {
    margin-bottom: 25px;
  }

  .gi-health-single-meta-bar {
    min-height: 0;
    align-items: center;
    flex-wrap: nowrap;
    padding: 5px 0 10px;
  }

  .gi-health-single-meta-info {
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
    min-height: 36px;
  }

  .gi-health-single-meta-categories,
  .gi-health-single-date {
    min-height: 36px;
    line-height: 32px;
  }

  .gi-health-single-share {
    margin-top: 8px;
    margin-left: auto;
  }

  .gi-health-single-share-label {
    display: none;
  }

  .gi-health-single-content {
    margin-top: 25px;
    font-size: 17px;
    line-height: 30px;
  }

  .gi-health-single-content-body {
    padding: 0;
    font-size: 17px;
    line-height: 30px;
  }

  .gi-health-single-content-body p,
  .gi-health-single-content-body li {
    font-size: 17px;
    line-height: 30px;
  }

  .gi-health-single-content-body h2,
  .gi-health-single-content-body h3,
  .gi-health-single-content-body h4 {
    margin-top: 50px;
    font-size: 24px;
    line-height: 32px;
  }

  .gi-health-single-content-body ul,
  .gi-health-single-content-body ol {
    margin-left: 24px;
    padding-left: 24px;
    font-size: 17px;
    line-height: 30px;
  }

  .gi-health-single-content-body blockquote {
    margin: 25px 0;
    padding: 16px 18px;
    font-size: 16px;
    line-height: 28px;
  }

  .gi-health-single-nav {
    display: block;
    min-height: 0;
    padding: 16px 0;
  }

  .gi-health-single-nav-item {
    min-height: 0;
    padding: 0;
  }

  .gi-health-single-nav-next {
    margin-top: 24px;
    padding: 0;
    text-align: left;
  }

  .gi-health-single-nav-next .gi-health-single-nav-arrow {
    justify-content: flex-start;
  }

  .gi-health-single-author {
    margin: 35px 0;
  }

  .gi-health-single-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .gi-health-related-card h3 {
    font-size: 17px;
    line-height: 25px;
  }

  .gi-health-single-widget {
    margin-bottom: 40px;
  }
}

/* ===== 關於我們頁（/about/）：由舊站 Look composer code block 的內嵌 <style> 搬來，全部加 .about-content 前綴避免污染全站（2026-11-23） ===== */
/* 舊站 Look 主題的基礎排版（用 computed style 實測：內文 20px、p 下距 30px、h2 上距 40px／行高 42px、h3 28px/34px 字重 400 色 #333 上 30 下 25、h4 字重 400、ul 無 padding、li a 粗體、li 下距 10、hr 上下 10）。
   Kadence 沒有這些（且 .single-content p:last-child 會把末段下距歸零，所以用雙 class 拉高特異性），放在 scoped 規則之前，讓後面更高特異性的頁面規則照樣覆蓋。 */
.about-content.about-content { font-size: 20px; line-height: 32px; }
.about-content.about-content p { margin: 0 0 30px; }
.about-content.about-content h2 { margin-top: 40px; line-height: 42px; }
.about-content.about-content h3 { font-size: 28px; line-height: 34px; font-weight: 400; color: #333; margin: 30px 0 25px; }
.about-content.about-content h4 { font-weight: 400; }
/* Kadence 把 img 設 block，舊站是 inline（橫幅圖靠 .theme-pic 的 text-align:right 靠右）；特異性刻意低於 .mobile-show／.mobile-hide，不蓋掉它們 */
.about-content img { display: inline; vertical-align: middle; }
.about-content.about-content ul { padding-left: 0; }
.about-content.about-content ul li a { font-weight: 700; }
.about-content.about-content hr { margin: .5em 0; border-style: inset; }
.about-content.about-content ul li { margin-bottom: 10px; }
.about-content.about-content .editor-info h3 { line-height: 34px; }
/* 舊站主題各寬度的基礎排版（2026-11-23 用 iframe 掃寬度實測）：
   ≤991：p 下距 20、h2 上距 20、h3 邊距 20/15；≤768：內文 16px；≤767：內文 14.4px、h3 22px、h3 邊距 15/10、h2 上距 15。hr 邊距在每一級都剛好是 0.5em。 */
@media screen and (max-width: 991px) {
  .about-content.about-content p { margin-bottom: 20px; }
  .about-content.about-content h2 { margin-top: 20px; }
  .about-content.about-content h3 { margin: 20px 0 15px; }
}
@media screen and (max-width: 768px) {
  .about-content.about-content { font-size: 16px; }
}
@media screen and (max-width: 767px) {
  .about-content.about-content { font-size: 14.4px; }
  .about-content.about-content h2 { margin-top: 15px; }
  .about-content.about-content h3 { font-size: 22px; margin: 15px 0 10px; }
}
.about-content .wrap {
        width: 1100px;
        margin: 0 auto;
        align-items: center;
    }
.about-content .wrap.flex {
        display: flex;
    }
.about-content .wrap.flex > div {
        flex: 1 1 50%;
    }
.about-content .wrap h2 {
        color: #ea405a;
        font-weight: 700;
        text-align: center;
        font-size: 48px;
        margin-bottom: 40px;
    }
.about-content .about-banner {
        background: #ea405a;
        display: flex;
        align-items: center;
        padding: 70px 0;
    }
.about-content .about-banner div {
        flex: 0 0 50%;
    }
.about-content .theme-pic {
        text-align: right;
    }
.about-content .theme-pic img {
        width: 600px;
    }
.about-content .page-title h1 {
        font-weight: 700;
        color: #fff;
        font-size: 60px;
        line-height: 1.2em;
        margin: 0;
        padding-left: 30px;
    }
.about-content section {
        display: flex;
    }
.about-content .dark {
        background: #444;
    }
.about-content .with-bg {
        background-repeat: no-repeat;
        background-size: 550px auto;
        background-attachment: fixed;
    }
.about-content .with-bg.vs1 {
        background-image: url("/wp-content/uploads/bg-vision1.jpg");
        background-position: calc(50% - 225px) 50%;
    }
.about-content .with-bg.vs2 {
        background-image: url("/wp-content/uploads/bg-vision2.jpg");
        background-position: calc(50% + 225px) 50%;
    }
.about-content .with-bg.vs3 {
        background-image: url("/wp-content/uploads/bg-vision3.jpg");
        background-position: calc(50% - 225px) 50%;
    }
.about-content .light .wrap > div:not(.with-bg),
.about-content .dark .wrap > div:not(.with-bg) {
        padding: 0 70px;
    }
.about-content .light h3,
.about-content .light h3,
.about-content .dark h3 {
        display: inline-block;
        border-bottom: 1px solid #f64062;
        color: #f64062;
        padding-bottom: 10px;
    }
.about-content .light p,
.about-content .dark p {
        font-size: 18px;
        line-height: 2em;
    }
.about-content .dark p,
.about-content .dark h3,
.about-content .dark h3 {
        color: #fff;
    }
.about-content .dark h3 {
        border-color: #fff;
    }
.about-content .gray {
        background: #f7f7f7;
        padding: 60px 0;
    }
.about-content .cata-title {
        display: flex;
        justify-content: center;
        position: relative;
    }
.about-content .cata-title h2 {
        color: #ea405a;
        font-size: 48px;
        font-weight: 700;
        line-height: 1.2em;
        display: inline-block;
        text-align: left;
    }
.about-content .cata-title h2 div {
        font-size: 14px;
        text-align: right;
        margin: -10px 10px 0 0;
        position: relative;
    }
.about-content .cata-title h2 div::before {
        content: "";
        display: block;
        width: calc(100% - 12em);
        height: 1px;
        background: #ea405a;
        position: absolute;
        top: 29px;
    }
.about-content .cata-title::before {
        content: "";
        width: 14px;
        height: 165px;
        background: url("/wp-content/uploads/about-title-special-mark-left.png") scroll no-repeat center/100% auto;
        position: absolute;
        left: calc(50% - 250px);
        top: 33px;
    }
.about-content .cata-title::after {
        content: "";
        width: 14px;
        height: 165px;
        background: url("/wp-content/uploads/about-title-special-mark-right.png") scroll no-repeat center/100% auto;
        position: absolute;
        right: calc(50% - 250px);
        top: 33px;
    }
.about-content .posts-cata {
        text-align: center;
    }
.about-content .posts-cata p {
        font-size: 16px;
    }
.about-content .posts-cata h3 {
        font-weight: 700;
        margin-bottom: 10px;
        position: relative;
    }
.about-content .posts-cata h3::before {
        content: "[";
        color: #e3e3e3;
        font-size: 22px;
        top: -3px;
        position: relative;
        margin-right: 5px;
    }
.about-content .posts-cata h3::after {
        content: "]";
        color: #e3e3e3;
        font-size: 22px;
        top: -3px;
        position: relative;
        margin-left: 5px;
    }
.about-content .welcom {
        display: flex;
        padding: 60px 0 30px;
    }
.about-content .welcom > div {
        flex: 0 0 33.3%;
        text-align: center;
    }
.about-content .welcom h3 {
        font-weight: 700;
        margin: 0 0 15px 0;
    }
.about-content .welcom p {
        text-align: justify;
        font-size: 18px;
        padding: 0 30px;
    }
.about-content hr {
        border-width: 0 0 1px 0;
        border-color: #e2e2e2;
    }
.about-content .wrap ul {
        margin: 0 0 60px 0;
    }
.about-content .wrap ul li {
        list-style: none;
        text-align: center;
    }
.about-content .wrap ul li a {
        display: block;
        font-size: 14px;
    }
.about-content .editor {
        display: flex;
        padding: 0 10%;
    }
.about-content .editor-img {
        flex: 0 0 10%;
    }
.about-content .editor-info {
        padding-left: 20px;
    }
.about-content .editor-info h3 {
        margin: 0;
        font-size: 18px;
        font-weight: 700;
    }
.about-content .editor-info h4 {
        font-size: 14px;
        padding: 0;
        margin: 0 0 15px 0;
        line-height: 1em;
        color: #666;
    }
.about-content .editor-info p {
        font-size: 18px;
        text-align: justify;
    }
.about-content .mobile-show {
        display: none;
    }
@media screen and (max-width: 768px) {
  .about-content .about-banner {flex-direction: column-reverse;}
  .about-content .page-title h1 {text-align: center; padding-left: 0;}
  .about-content .light .wrap.flex {flex-direction: column-reverse;}
  .about-content .light .wrap > div:not(.with-bg),
  .about-content .dark .wrap > div:not(.with-bg) {padding: 20px 50px;}
  .about-content .dark .wrap.flex {flex-direction: column;}
  .about-content .with-bg {background-size: 100vw auto;}
  .about-content .with-bg.vs1,
  .about-content .with-bg.vs2,
  .about-content .with-bg.vs3 {background-position: center;}
  .about-content .white .wrap h2 {margin-top: 40px;}
  .about-content .mobile-show {display: block;}
  .about-content .mobile-hide {display: none;}
}
@media screen and (max-width: 414px) {
  .about-content .about-banner {padding: 40px 0;}
  .about-content .page-title h1 {font-size: 36px;}
  .about-content .theme-pic img {width: 80%;}
  .about-content .theme-pic {text-align: center;}
  .about-content .light p,
  .about-content .dark p {font-size: 16px; line-height: 1.8em; text-align: justify;}
  .about-content .light .wrap > div:not(.with-bg),
  .about-content .dark .wrap > div:not(.with-bg) {padding: 20px 30px 0;}
  .about-content .cata-title h2 {font-size: 30px;}
  .about-content .cata-title h2 div::before {top: 19px;}
  .about-content .cata-title::before,
  .about-content .cata-title::after {width: 8px; height: 98px; top: 17px;}
  .about-content .cata-title::before {left: calc(50% - 160px);}
  .about-content .cata-title::after {right: calc(50% - 150px);}
  .about-content .posts-cata p {font-size: 14px; padding: 0 30px; line-height: 1.8em;}
  .about-content .wrap h2 {margin-bottom: 20px; font-size: 30px;}
  .about-content .gray {padding: 40px 0 40px;}
  .about-content .welcom {display: block; padding: 20px 0 20px;}
  .about-content .welcom img {width: 80%;}
  .about-content .welcom p {font-size: 16px; line-height: 1.8em;}
  .about-content .editor-img {flex: 0 0 15%;}
  .about-content .editor-info p {font-size: 16px; line-height: 1.8em;}
  .about-content .gray {padding: 20px 0;}
}

/* Homepage SEO / GEO structured intro section (Plan B: Centered + Trust Strip) */
.gi-health-intro-section {
  background: var(--gi-paper);
  padding: 68px 15px 56px;
  color: var(--gi-ink);
}

.gi-health-intro-lead {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.gi-health-intro-lead h2 {
  margin: 0 0 16px;
  color: var(--gi-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.gi-health-intro-lead p {
  margin: 0;
  color: #444444;
  font-size: 15.5px;
  line-height: 1.9;
}

.gi-health-intro-topics-wrap {
  max-width: 1070px;
  margin: 0 auto 56px;
}

.gi-health-intro-topics-wrap > h2 {
  margin: 0 0 24px;
  text-align: center;
  color: var(--gi-heading);
  font-size: 19px;
  font-weight: 700;
}

.gi-health-intro-topics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.gi-health-intro-topic-card {
  background: var(--gi-paper);
  border: 1px solid var(--gi-line);
  border-top: 3px solid var(--gi-category-accent);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.gi-health-intro-topic-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
}

.gi-health-intro-topic-card h3 a {
  color: var(--gi-category-accent);
  text-decoration: none;
}

.gi-health-intro-topic-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: var(--gi-muted);
}

.gi-health-intro-trust-strip {
  background: var(--gi-surface);
  border-top: 1px solid var(--gi-line);
  margin: 0 -15px;
  padding: 36px 15px;
}

.gi-health-intro-trust-inner {
  max-width: 1070px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.gi-health-intro-trust-inner h2 {
  margin: 0 0 6px;
  color: var(--gi-heading);
  font-size: 17px;
  font-weight: 700;
}

.gi-health-intro-trust-inner p {
  margin: 0;
  max-width: 740px;
  color: var(--gi-muted);
  font-size: 14px;
  line-height: 1.75;
}

.gi-health-intro-trust-btn {
  flex-shrink: 0;
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid var(--gi-category-accent);
  border-radius: 999px;
  color: var(--gi-category-accent);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.gi-health-intro-trust-btn:hover,
.gi-health-intro-trust-btn:focus {
  background: var(--gi-category-accent);
  color: var(--gi-paper);
}

@media (max-width: 767px) {
  .gi-health-intro-section {
    padding: 48px 15px 40px;
  }

  .gi-health-intro-topics {
    grid-template-columns: 1fr;
  }

  .gi-health-intro-trust-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
