/*
 * Holistic Life — single article layout.
 * Left column ([hl_article_meta]), sources, share bar, subscribe banner.
 */

/* ---------- left column ---------- */
.hl-aside {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-right: 12px;
  font-size: 16px;
  line-height: 1.5;
  color: #1b1d1a;
}
.hl-aside__text {
  font-size: 17px;
  line-height: 1.5;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(0, 0, 0, .12);
}
.hl-aside__text > :first-child { margin-top: 0; }
.hl-aside__text > :last-child { margin-bottom: 0; }
.hl-aside__text p { margin: 0 0 .8em; }
.hl-aside__block { display: flex; flex-direction: column; gap: 4px; }
.hl-aside__label {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #6b7370;
  font-weight: 600;
}
.hl-aside__name { font-size: 18px; font-weight: 700; line-height: 1.3; }
.hl-aside__role { font-size: 15px; color: #4d5552; line-height: 1.4; }
.hl-aside__value { font-size: 16px; }
.hl-aside .hl-tags { margin: 4px 0 0; font-size: 14px; }

@media (min-width: 1000px) {
  .single-post #block-KtzFzEz3tV > .hl-aside,
  .single-post #block-KtzFzEz3tV .hl-aside {
    position: sticky;
    /* --hl-header-offset = bottom edge of the fixed header (set by JS, incl. admin bar) */
    top: calc(var(--hl-header-offset, var(--hl-header-offset-fallback, 142px)) + 24px);
  }
  body.admin-bar { --hl-header-offset-fallback: 174px; }
}
@media (max-width: 999px) {
  .hl-aside { padding: 0 0 22px; border-bottom: 1px solid rgba(0, 0, 0, .12); }
}

/* ---------- sources ---------- */
.hl-sources__title {
  margin: 40px 0 10px !important;
  padding-top: 22px;
  border-top: 1px solid rgba(0, 0, 0, .12);
  font-size: 13px !important;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #6b7370;
  font-weight: 600;
}
ol.hl-sources {
  margin: 0 0 0 1.2em !important;
  padding: 0 !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  color: #4d5552;
}
ol.hl-sources li { margin: 0 0 6px !important; font-size: inherit !important; line-height: inherit !important; }
ol.hl-sources a { color: #0F6A7A; text-decoration: underline; text-underline-offset: 2px; word-break: break-word; }

/* ---------- share bar ---------- */
.hl-share {
  margin: 56px 0 0;
  padding: 26px 20px 28px;
  background: #ECEFE8;
  text-align: center;
  color: #1b1d1a;
}
.hl-share__title {
  margin: 0 0 18px !important;
  font-size: 17px !important;
  letter-spacing: .07em;
  text-transform: uppercase;
  font-weight: 500;
}
.hl-share__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.hl-share__list li { margin: 0 !important; padding: 0 !important; list-style: none !important; }
.hl-share__list li::before { content: none !important; }
.hl-share__list a,
.hl-share__list button {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 50%;
  background: transparent !important;
  color: #1b1d1a !important;
  cursor: pointer;
  box-shadow: none !important;
  transition: background-color .2s ease, color .2s ease;
}
.hl-share__list a:hover,
.hl-share__list button:hover,
.hl-share__list a:focus-visible,
.hl-share__list button:focus-visible { background: rgba(15, 106, 122, .12) !important; color: #0F6A7A !important; outline: none; }
.hl-share__list svg { width: 20px; height: 20px; display: block; }
.hl-share__done { display: block; min-height: 1.2em; margin-top: 8px; font-size: 14px; color: #0F6A7A; }

/* ---------- subscribe banner ---------- */
.hl-sub-banner { margin: 40px 0 56px; }
.hl-sub-banner a { display: block; }
.hl-sub-banner__img { display: block; width: 100%; height: auto; border-radius: 4px; }
.hl-sub-banner--text { text-align: center; }

/* ---------- print ---------- */
@media print {
  #header-outer, #header-space, #footer-outer, footer, .hl-share, .hl-sub-banner,
  .rpu-wrap, .rpu-backdrop, #slide-out-widget-area, .grecaptcha-badge,
  .single-post .nectar-blocks-post-grid { display: none !important; }
}

/* ---------- article body: neutralise inline styles from the old site ---------- */
/* #block-nz7fq8KZRr = content column of the Single Post template */
.single-post #block-nz7fq8KZRr :is(p, li, span, div, font, em, i, strong, b, a, u, td, th, blockquote, ol, ul)[style*="font-size"] { font-size: inherit !important; }
.single-post #block-nz7fq8KZRr [style*="font-family"] { font-family: inherit !important; }
.single-post #block-nz7fq8KZRr [style*="line-height"] { line-height: inherit !important; }
.single-post #block-nz7fq8KZRr [style*="justify"] { text-align: inherit !important; }
.single-post #block-nz7fq8KZRr font[size], .single-post #block-nz7fq8KZRr font[face] { font-size: inherit !important; font-family: inherit !important; }
.single-post #block-nz7fq8KZRr > p,
.single-post #block-nz7fq8KZRr > ul li,
.single-post #block-nz7fq8KZRr > ol li,
.single-post #block-nz7fq8KZRr > div p {
  font-size: inherit !important;
  line-height: 1.4 !important;
  text-align: left;
}
.single-post #block-nz7fq8KZRr > p { margin-bottom: 1em; }
/* empty spacer paragraphs from the old editor */
.single-post #block-nz7fq8KZRr > p:empty { display: none; }
