/*
Theme Name: Alpha Blog
Template: hello-elementor
Description: Blog-only child theme reproducing the Alpha Peptides blog design (header, blog single, footer). Touches only blog single/archive; home page inherits the parent theme.
Author: Alpha Peptides
Version: 1.0.0
*/
/* ===== AP HEADER/FOOTER CSS — extracted from snippet #196 (header-only) ===== */
:root {
  --ap-bg:        #FFFFFF;
  --ap-cream:     #F4F6FA;
  --ap-cream-2:   #ECEFF6;
  --ap-line:      #E2E6ED;
  --ap-line-2:    #C7CDD8;
  --ap-ink:       #0B1322;
  --ap-ink-2:     #3A4458;
  --ap-ink-3:     #6E7890;
  --ap-ink-4:     #9AA6BD;
  --ap-dark:      #070F1E;
  --ap-dark-2:    #0C1828;
  --ap-dark-3:    #16243A;
  --ap-dark-line: rgba(255,255,255,0.08);
  --ap-dark-ink:  #F2F5FA;
  --ap-dark-ink-2:#9AA6BD;
  --ap-blue:      #2563EB;
  --ap-blue-2:    #1D4ED8;
  --ap-blue-grad: linear-gradient(180deg, #3B82F6 0%, #1D4ED8 100%);
  --ap-green:     #1FAB57;
  --ap-green-2:   #16933F;
  --ap-sage:      #BFD8C8;
  --ap-sage-2:    #7FB69E;
  --ap-sky:       #DCE9F7;
  --ap-shadow:    0 12px 36px rgba(7,15,30,0.08);
  --ap-radius:    14px;
  --ap-gut:       clamp(20px, 4vw, 56px);
  --ap-max:       1280px;
  --ap-hdr-h:     72px;
  --ap-font: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* hide Blocksy header sitewide */
body.ap-stg header.ct-header,
body.ap-stg #header.ct-header,
body.ap-stg .ct-header,
body.ap-stg [data-row="top"],
body.ap-stg [data-row="middle"],
body.ap-stg [data-row="bottom"],
body.ap-stg .ct-mobile-header,
body.ap-stg .header-search-modal,
body.ap-stg #offcanvas { display: none !important; }

/* sitewide font + base */
body.ap-stg {
  font-family: var(--ap-font);
  background: var(--ap-bg);
  color: var(--ap-ink);
  -webkit-font-smoothing: antialiased;
}
/* Blocksy injects a body::before "banner space" pseudo-element that creates
   a phantom block at the top of the page. Kill it. */
body.ap-stg::before,
body.ap-stg::after,
body.ap-stg #main-container::before,
body.ap-stg .site-main::before,
body.ap-stg .ct-container-full::before,
body.ap-stg article::before,
body.ap-stg .entry-content::before {
  content: none !important;
  display: none !important;
  height: 0 !important;
  width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ===== FIXED HEADER ===== */
body.ap-stg .ap-promo {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 101;
  background: var(--ap-dark);
  color: var(--ap-dark-ink);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
body.ap-stg .ap-promo__inner {
  max-width: var(--ap-max);
  margin: 0 auto;
  padding: 9px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
body.ap-stg .ap-promo b {
  color: #8AF2B0;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0 4px;
}
body.ap-stg .ap-promo__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #6FE599;
  box-shadow: 0 0 0 4px rgba(31,171,87,0.22);
  animation: apPulse 2.2s ease-in-out infinite;
  flex: none;
}
body.ap-stg.admin-bar .ap-promo { top: 32px; }
@media (max-width: 600px) {
  body.ap-stg .ap-promo { font-size: 11px; }
  body.ap-stg .ap-promo__inner { padding: 7px 12px; }
}

body.ap-stg .ap-hdr {
  position: fixed !important;
  top: 38px; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--ap-line) !important;
  border-radius: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-shadow: none !important;
}
body.ap-stg .ap-hdr * { border-radius: 0 !important; }
body.ap-stg .ap-hdr .ap-hdr__signin,
body.ap-stg .ap-hdr .ap-hdr__cart { border-radius: 999px !important; }
body.ap-stg .ap-hdr__inner { border-radius: 0 !important; box-shadow: none !important; max-width: var(--ap-max) !important; }
body.ap-stg.admin-bar .ap-hdr { top: 70px; }
@media (max-width: 600px) {
  body.ap-stg .ap-hdr { top: 34px; }
  body.ap-stg.admin-bar .ap-hdr { top: 80px; }
}
body.ap-stg .ap-hdr__inner {
  max-width: var(--ap-max);
  margin: 0 auto;
  padding: 0 var(--ap-gut);
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--ap-hdr-h);
}
body.ap-stg .ap-hdr__logo { display: inline-flex; align-items: center; }
body.ap-stg .ap-hdr__logo img {
  height: 56px;
  width: auto;
  display: block;
}
body.ap-stg .ap-hdr { --ap-hdr-h: 92px; }
body.ap-stg { --ap-hdr-h: 92px; }
body.ap-stg .ap-hdr__nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
body.ap-stg .ap-hdr__nav a {
  color: var(--ap-ink);
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.005em;
  padding: 8px 0;
  position: relative;
  transition: color .15s ease;
}
body.ap-stg .ap-hdr__nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: var(--ap-ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}
body.ap-stg .ap-hdr__nav a:hover { color: var(--ap-ink); }
body.ap-stg .ap-hdr__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
body.ap-stg .ap-hdr__nav a[aria-current="page"]::after { transform: scaleX(1); }
body.ap-stg .ap-hdr__util {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}
body.ap-stg .ap-hdr__cart {
  color: var(--ap-ink);
  display: inline-flex;
  padding: 6px;
  border-radius: 8px;
  transition: background .15s ease;
}
body.ap-stg .ap-hdr__cart:hover { background: var(--ap-cream); }
body.ap-stg .ap-hdr__signin {
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--ap-ink);
  color: var(--ap-bg) !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 600;
  transition: background .15s ease, transform .15s ease;
}
body.ap-stg .ap-hdr__signin:hover { background: var(--ap-dark-2); transform: translateY(-1px); }

/* ===== HEADER ICON BUTTONS (cart / search / account) ===== */
body.ap-stg .ap-hdr__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: transparent;
  border: none;
  border-radius: 999px;
  color: var(--ap-ink);
  cursor: pointer;
  position: relative;
  transition: background .15s ease, transform .15s ease;
  text-decoration: none;
  padding: 0;
}
body.ap-stg .ap-hdr__icon:hover {
  background: var(--ap-cream);
}
body.ap-stg .ap-hdr__icon svg {
  display: block;
  width: 22px; height: 22px;
}
body.ap-stg .ap-hdr__cart-badge {
  position: absolute;
  top: 2px; right: 2px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #2563EB;
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 0 0 2px #fff;
}


/* ----- search overlay + spacer + hamburger + mobile nav ----- */
/* ===== SEARCH OVERLAY ===== */
body.ap-stg .ap-search-overlay {
  position: fixed; inset: 0;
  background: rgba(7,15,30,0.55);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .24s ease;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 18vh;
}
body.ap-stg .ap-search-overlay[hidden] { display: none !important; }
body.ap-stg .ap-search-overlay.is-open { opacity: 1; pointer-events: auto; }
body.ap-stg .ap-search-overlay__form {
  width: min(680px, calc(100% - 32px));
  background: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  padding: 6px 6px 6px 22px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.30);
  transform: translateY(-12px);
  transition: transform .25s cubic-bezier(.2,.7,.2,1);
}
body.ap-stg .ap-search-overlay.is-open .ap-search-overlay__form { transform: translateY(0); }
body.ap-stg .ap-search-overlay__input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--ap-font);
  font-size: 17px;
  color: var(--ap-ink);
  padding: 16px 12px;
  outline: none;
}
body.ap-stg .ap-search-overlay__input::placeholder { color: var(--ap-ink-3); }
body.ap-stg .ap-search-overlay__close {
  background: var(--ap-cream);
  border: 1px solid var(--ap-line);
  border-radius: 50%;
  width: 40px; height: 40px;
  font-size: 26px;
  line-height: 1;
  color: var(--ap-ink);
  cursor: pointer;
}

/* Hide the old Sign In button if it still appears anywhere */
body.ap-stg .ap-hdr__signin { display: none !important; }

/* Spacer matches actual header bottom edge.
   Blocksy's .floating-pill-header forces top:15px (overlapping the promo),
   so header bottom = 15 + hdr-height. Spacer = 15 + hdr-height + 2px breathing. */
body.ap-stg .ap-hdr-spacer { height: calc(var(--ap-hdr-h) + 17px); }
@media (max-width: 600px) {
  body.ap-stg .ap-hdr-spacer { height: calc(var(--ap-hdr-h) + 15px); }
}
/* Blocksy injects a phantom 40px somewhere between main.site-main and its
   first child that isn't reachable via padding/margin/border/pseudo. Pull
   the entire main-container up by 40px so content butts the header. */
html body.ap-stg main.site-main > .ct-container-full {
  margin-top: -40px !important;
}

/* mobile header */
@media (max-width: 880px) {
  body.ap-stg .ap-hdr__nav { display: none; }
  body.ap-stg .ap-hdr__inner { gap: 12px; padding: 0 16px; }
  body.ap-stg .ap-hdr__logo img { height: 30px; }
  body.ap-stg .ap-hdr__signin { padding: 9px 16px; font-size: 13px; }
  body.ap-stg .ap-hdr__util { margin-left: auto; }
}

/* Change 1: slim mobile header to 64px */
@media (max-width: 768px) {
  body.ap-stg .ap-hdr { --ap-hdr-h: 64px !important; }
  body.ap-stg { --ap-hdr-h: 64px !important; }
  body.ap-stg .ap-hdr__inner { height: 64px; }
  body.ap-stg .ap-hdr-spacer { height: calc(64px + 8px); }
  body.ap-stg .ap-hdr__logo img { height: 28px; }
}

/* Change 2B: hamburger button — hidden on desktop, shown on mobile */
body.ap-stg .ap-hdr__hamburger { display: none; }
@media (max-width: 768px) {
  body.ap-stg .ap-hdr__hamburger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 40px; height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-right: 4px;
  }
  body.ap-stg .ap-hdr__hamburger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--ap-ink);
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease;
  }
  body.ap-stg .ap-hdr__hamburger.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  body.ap-stg .ap-hdr__hamburger.is-open span:nth-child(2) {
    opacity: 0;
  }
  body.ap-stg .ap-hdr__hamburger.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}

/* Change 2B: mobile overlay menu */
body.ap-stg .ap-mobile-nav {
  position: fixed; inset: 0;
  background: rgba(7,15,30,0.55);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  display: block;
}
body.ap-stg .ap-mobile-nav[hidden] { display: none !important; }
body.ap-stg .ap-mobile-nav.is-open { opacity: 1; pointer-events: auto; }
body.ap-stg .ap-mobile-nav__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(82%, 340px);
  background: #fff;
  padding: 28px 24px;
  box-shadow: -8px 0 24px rgba(0,0,0,0.15);
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.2,.7,.2,1);
  display: flex; flex-direction: column;
}
body.ap-stg .ap-mobile-nav.is-open .ap-mobile-nav__panel { transform: translateX(0); }
body.ap-stg .ap-mobile-nav__close {
  background: transparent;
  border: 1px solid var(--ap-line);
  border-radius: 50%;
  width: 36px; height: 36px;
  font-size: 24px; line-height: 1;
  color: var(--ap-ink);
  cursor: pointer;
  align-self: flex-end;
  margin-bottom: 24px;
}
body.ap-stg .ap-mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
body.ap-stg .ap-mobile-nav__list a {
  display: block;
  font-family: var(--ap-font);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ap-ink);
  text-decoration: none;
  padding: 14px 8px;
  border-bottom: 1px solid var(--ap-line);
}
body.ap-stg .ap-mobile-nav__list a:hover { color: #16933F; }
body.ap-stg .ap-mobile-nav__list a:last-child { border-bottom: none; }
@media (min-width: 769px) {
  body.ap-stg .ap-mobile-nav { display: none !important; }
}

/* hide stray theme breadcrumb on home + zero out theme containers so hero touches header */
body.ap-home .ct-breadcrumbs,
body.ap-home .breadcrumbs,
body.ap-home .entry-header,
body.ap-home .entry-title,
body.ap-home .page-title,
body.ap-home .ct-container > .entry-header { display: none !important; }
body.ap-home .entry-content,
body.ap-home main,
body.ap-home .site-main,
body.ap-home article,
body.ap-home article.post-1348,
body.ap-home #main-container,
body.ap-home .ct-container-full,
body.ap-home .ct-container,
body.ap-home .ct-container-narrow,
body.ap-home [class*="ct-container"],
body.ap-home .ap-home-main {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
}
body.ap-home .ct-container-full > *,
body.ap-home .site-main > *,
body.ap-home .ap-home-main > *:first-child {
  margin-top: 0 !important;
}

body.ap-stg footer.ct-footer,
body.ap-stg .ct-footer,
body.ap-stg .site-footer,
body.ap-stg footer[data-id="footer"] {
  display: none !important;
}


/* ----- footer ----- */
/* ===== HOMEPAGE FOOTER ===== */
body.ap-stg .ap-site-footer {
  margin-top: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(37,99,235,0.055), transparent 34%),
    radial-gradient(circle at 88% 0%, rgba(31,171,87,0.04), transparent 30%),
    linear-gradient(180deg, #FFFFFF 0%, #F8FBFF 100%);
  color: var(--ap-ink);
  border-top: 1px solid #E3EAF5;
}
body.ap-stg .ap-site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(37,99,235,0.032) 1px, transparent 1px),
    linear-gradient(180deg, rgba(37,99,235,0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.16), transparent 68%);
  opacity: 0.28;
}
body.ap-stg .ap-site-footer__inner {
  max-width: var(--ap-max);
  margin: 0 auto;
  padding: clamp(28px, 3.4vw, 40px) var(--ap-gut) 0;
}
body.ap-stg .ap-site-footer__top {
  display: grid;
  grid-template-columns: minmax(180px, 0.72fr) minmax(520px, 1.65fr) minmax(300px, 0.95fr);
  gap: clamp(24px, 3vw, 42px);
  align-items: start;
}
body.ap-stg .ap-site-footer__brand {
  max-width: 260px;
}
body.ap-stg .ap-site-footer__logo {
  display: inline-flex;
  align-items: center;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
body.ap-stg .ap-site-footer__logo img {
  display: block;
  width: min(220px, 52vw);
  height: auto;
}
body.ap-stg .ap-site-footer__summary {
  max-width: 390px;
  justify-self: end;
}
body.ap-stg .ap-site-footer__summary p {
  margin: 0;
  color: #43506A;
  font-size: clamp(12.75px, 0.86vw, 13.75px);
  line-height: 1.45;
}
body.ap-stg .ap-site-footer__summary strong {
  color: var(--ap-ink);
  font-weight: 800;
}
body.ap-stg .ap-site-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
body.ap-stg .ap-site-footer__col {
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
body.ap-stg .ap-site-footer__col h2 {
  margin: 0 0 12px;
  color: var(--ap-ink);
  font-family: var(--ap-font);
  font-size: 12.5px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
body.ap-stg .ap-site-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}
body.ap-stg .ap-site-footer__col a,
body.ap-stg .ap-site-footer__contact-card a {
  color: #2E3A52;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 650;
}
body.ap-stg .ap-site-footer__col a:hover,
body.ap-stg .ap-site-footer__contact-card a:hover {
  color: var(--ap-blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}
body.ap-stg .ap-site-footer__contact {
  margin-top: clamp(14px, 1.8vw, 18px);
  padding-top: 10px;
  border-top: 1px solid #E1E9F5;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr;
  gap: 8px;
}
body.ap-stg .ap-site-footer__contact-card {
  min-height: 0;
  padding: 7px 11px;
  border-radius: 6px;
  background: rgba(255,255,255,0.42);
  border: 1px solid #E0E8F4;
  box-shadow: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
body.ap-stg .ap-site-footer__contact-label {
  display: block;
  margin: 0;
  color: #7DA7FF;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}
body.ap-stg .ap-site-footer__contact-card p {
  margin: 0;
  color: #243047;
  font-size: 12.75px;
  font-weight: 650;
  line-height: 1.22;
  min-width: 0;
}
body.ap-stg .ap-site-footer__bottom {
  margin-top: 16px;
  padding: 11px var(--ap-gut);
  background: rgba(255,255,255,0.68);
  box-shadow: 0 0 0 100vmax rgba(255,255,255,0.68);
  clip-path: inset(0 -100vmax);
  border-top: 1px solid #E1E9F5;
  display: flex;
  justify-content: center;
  color: #66738A;
  font-size: 12.5px;
  font-weight: 750;
  text-align: center;
}
@media (max-width: 1080px) {
  body.ap-stg .ap-site-footer__top {
    grid-template-columns: 1fr;
  }
  body.ap-stg .ap-site-footer__brand {
    max-width: 760px;
  }
  body.ap-stg .ap-site-footer__summary {
    max-width: 760px;
    justify-self: start;
  }
}
@media (max-width: 820px) {
  body.ap-stg .ap-site-footer__inner {
    padding-top: 28px;
  }
  body.ap-stg .ap-site-footer__nav,
  body.ap-stg .ap-site-footer__contact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 16px;
  }
  body.ap-stg .ap-site-footer__col,
  body.ap-stg .ap-site-footer__contact-card {
    padding: 0;
  }
  body.ap-stg .ap-site-footer__contact-card {
    padding: 10px 12px;
    display: block;
  }
  body.ap-stg .ap-site-footer__contact-card:first-child,
  body.ap-stg .ap-site-footer__contact-card:last-child {
    grid-column: 1 / -1;
  }
  body.ap-stg .ap-site-footer__logo {
    padding: 0;
  }
  body.ap-stg .ap-site-footer__logo img {
    width: min(178px, 54vw);
  }
  body.ap-stg .ap-site-footer__summary p {
    font-size: 14px;
    line-height: 1.48;
  }
}


/* ===== BLOG SINGLE (from snippet #199) ===== */
body.ap-stg.ap-blog-single { --apb-ink:#07101f; --apb-muted:#657087; --apb-line:#dce5f2; --apb-soft:#f5f8fc; --apb-blue:#2563eb; --apb-blue2:#173f9f; --apb-green:#18a957; --apb-hero-max:1720px; --apb-content-max:min(80vw,1640px); background:#fff !important; }
body.ap-stg.ap-blog-single .apb-progress { position:fixed; inset:0 auto auto 0; width:0; height:3px; background:linear-gradient(90deg,#2563eb,#18a957); z-index:9999; box-shadow:0 0 18px rgba(37,99,235,.25); }
body.ap-stg.ap-blog-single .ct-container-full[data-content="narrow"] { max-width:none !important; padding:0 !important; }
body.ap-stg.ap-blog-single article.post { max-width:none !important; margin:0 !important; padding:0 !important; }
body.ap-stg.ap-blog-single .hero-section { width:min(var(--apb-hero-max), calc(100vw - 56px)) !important; max-width:none !important; margin:clamp(14px,2vw,28px) auto 0 !important; padding:0 !important; }
body.ap-stg.ap-blog-single .entry-header { position:relative; display:grid; grid-template-columns:minmax(0,1.08fr) minmax(420px,.92fr); gap:clamp(22px,2.8vw,44px); align-items:center; padding:clamp(22px,2.6vw,34px) clamp(28px,3.4vw,48px); border:1px solid var(--apb-line); border-radius:8px; background:linear-gradient(135deg,#fff 0%,#f8fbff 58%,#eef5ff 100%); box-shadow:0 18px 54px rgba(7,16,31,.07); overflow:hidden; }
body.ap-stg.ap-blog-single .entry-header:before { content:"Research Blog"; position:absolute; top:16px; left:clamp(28px,3.4vw,48px); color:var(--apb-blue); text-transform:uppercase; letter-spacing:.16em; font-size:10px; font-weight:900; }
body.ap-stg.ap-blog-single .page-title { grid-column:1; margin:18px 0 10px !important; color:var(--apb-ink) !important; font-size:clamp(32px,2.85vw,46px) !important; line-height:1.05 !important; letter-spacing:0 !important; font-weight:900 !important; max-width:none; }
body.ap-stg.ap-blog-single .page-description { display:block !important; color:#4d5a72 !important; font-size:clamp(15px,1.05vw,17px) !important; line-height:1.45 !important; max-width:790px; margin:0 0 14px !important; }
body.ap-stg.ap-blog-single .page-description { grid-column:1; }
body.ap-stg.ap-blog-single .page-description p { margin:0 !important; }
body.ap-stg.ap-blog-single .entry-meta { display:flex !important; flex-wrap:wrap; gap:10px !important; margin:0 !important; padding:0 !important; list-style:none !important; color:#566178 !important; }
body.ap-stg.ap-blog-single .entry-meta { grid-column:1; }
body.ap-stg.ap-blog-single .entry-meta li { display:inline-flex !important; align-items:center !important; gap:7px !important; min-height:32px; padding:6px 11px !important; border:1px solid #dbe6f5; border-radius:999px; background:rgba(255,255,255,.76); font-size:12px !important; font-weight:800 !important; line-height:1 !important; }
body.ap-stg.ap-blog-single .entry-meta a { color:#20314d !important; text-decoration:none !important; }
body.ap-stg.ap-blog-single .entry-meta img { width:24px !important; height:24px !important; border-radius:999px !important; }
.apb-hero-media { grid-column:2; grid-row:1 / span 4; align-self:center; height:clamp(260px,23vw,350px); min-height:0; border:1px solid #d7e2f1; border-radius:8px; overflow:hidden; position:relative; background:#eaf0f8; box-shadow:0 14px 34px rgba(7,16,31,.1); }
.apb-hero-media img { width:100%; height:100%; min-height:0; object-fit:cover; display:block; }
.apb-hero-media:after { content:"For laboratory research use only"; position:absolute; left:16px; right:16px; bottom:16px; padding:11px 14px; border-radius:8px; color:#fff; font-size:12px; font-weight:900; letter-spacing:.04em; text-transform:uppercase; background:rgba(7,16,31,.78); backdrop-filter:blur(10px); }
body.ap-stg.ap-blog-single .entry-content { width:var(--apb-content-max) !important; max-width:none !important; margin:0 auto !important; padding:clamp(24px,3vw,42px) 0 80px !important; }
body.ap-stg.ap-blog-single .entry-content > .apb-layout { width:100% !important; max-width:none !important; margin-left:0 !important; margin-right:0 !important; }
.apb-layout { display:grid; grid-template-columns:minmax(0,65fr) minmax(360px,35fr); gap:clamp(30px,3vw,52px); align-items:start; }
.apb-body { min-width:0; }
.apb-aside { position:sticky; top:110px; display:grid; gap:14px; }
.apb-card { border:1px solid var(--apb-line); border-radius:8px; background:#fff; box-shadow:0 16px 44px rgba(7,16,31,.06); padding:18px; }
.apb-card h2, .apb-card h3 { margin:0 0 10px !important; color:var(--apb-ink) !important; font-size:16px !important; line-height:1.2 !important; letter-spacing:0 !important; font-weight:900 !important; }
.apb-toc ol { list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.apb-toc a { display:block; color:#42506a; text-decoration:none !important; font-size:13px; line-height:1.35; font-weight:800; padding:8px 10px; border-radius:7px; background:#f7faff; border:1px solid transparent; }
.apb-toc a:hover { color:var(--apb-blue2); border-color:#cfe0ff; background:#fff; }
.apb-side-cta { background:linear-gradient(180deg,#102b64,#07101f); color:#fff; }
.apb-side-cta h3 { color:#fff !important; }
.apb-side-cta p { color:rgba(255,255,255,.76) !important; font-size:13px !important; line-height:1.45 !important; margin:0 0 14px !important; }
.apb-button { display:flex; align-items:center; justify-content:center; min-height:42px; border-radius:8px; background:linear-gradient(180deg,#3b82f6,#1d4ed8); color:#fff !important; text-decoration:none !important; font-size:13px; font-weight:900; }
.apb-proof { display:grid; gap:8px; }
.apb-proof div { display:grid; grid-template-columns:28px minmax(0,1fr); gap:10px; align-items:center; color:#344058; font-size:13px; font-weight:800; }
.apb-proof span:first-child { width:28px; height:28px; border-radius:999px; display:grid; place-items:center; background:#eaf8f0; color:#0f8f49; }
body.ap-stg.ap-blog-single .ap-author-byline { display:grid !important; grid-template-columns:auto minmax(0,1fr); gap:13px !important; align-items:center !important; padding:15px !important; margin:0 0 18px !important; border:1px solid var(--apb-line) !important; border-radius:8px !important; background:#fbfdff !important; color:#3a465d !important; }
body.ap-stg.ap-blog-single .ap-byline-bottom { align-items:start !important; margin-top:34px !important; padding:20px !important; }
body.ap-stg.ap-blog-single .ap-author-byline img { border-radius:999px !important; object-fit:cover !important; }
body.ap-stg.ap-blog-single .ap-author-byline a { color:var(--apb-blue2) !important; text-decoration:none !important; font-weight:900 !important; }
body.ap-stg.ap-blog-single .rank-math-breadcrumb { margin:0 0 16px !important; padding:10px 12px !important; border:1px solid #dbe6f5; border-radius:8px; background:#f8fbff; color:#6a7489; font-size:12px; font-weight:800; }
body.ap-stg.ap-blog-single .rank-math-breadcrumb p { margin:0 !important; line-height:1.4 !important; }
body.ap-stg.ap-blog-single .rank-math-breadcrumb a { color:var(--apb-blue2) !important; text-decoration:none !important; }
body.ap-stg.ap-blog-single .post-date { margin:0 0 22px !important; padding:13px 15px !important; border:1px solid #fed7aa !important; border-left:4px solid #f59e0b !important; border-radius:8px !important; background:#fffaf2 !important; color:#6a4b21 !important; font-size:13px !important; font-weight:800 !important; }
body.ap-stg.ap-blog-single .alpha-cta-top { display:grid !important; grid-template-columns:minmax(0,1fr) auto; gap:10px 18px; align-items:center; margin:0 0 28px !important; padding:22px 24px !important; border-radius:8px !important; border:1px solid rgba(37,99,235,.28) !important; border-left:5px solid var(--apb-blue) !important; background:linear-gradient(135deg,#07101f,#102b64) !important; box-shadow:0 18px 42px rgba(7,16,31,.14); cursor:pointer; }
body.ap-stg.ap-blog-single .alpha-cta-top .apb-top-cta-copy { display:grid; gap:7px; }
body.ap-stg.ap-blog-single .alpha-cta-top strong { color:#fff; font-size:20px; line-height:1.2; font-weight:900; letter-spacing:0; }
body.ap-stg.ap-blog-single .alpha-cta-top span { color:#cbd6ea; font-size:14px; line-height:1.45; }
body.ap-stg.ap-blog-single .alpha-cta-top a { display:inline-flex !important; align-items:center !important; justify-content:center !important; min-height:44px !important; padding:0 20px !important; border-radius:8px !important; border:1px solid rgba(255,255,255,.18) !important; background:linear-gradient(180deg,#3b82f6,#1d4ed8) !important; color:#fff !important; font-size:14px !important; line-height:1 !important; font-weight:900 !important; text-decoration:none !important; white-space:nowrap; box-shadow:0 10px 24px rgba(37,99,235,.24); }
.apb-body > p, .apb-body li { color:#2f3a4f; font-size:17px; line-height:1.78; }
.apb-body > p { margin:0 0 20px; }
.apb-body a { color:#1d4ed8; font-weight:800; text-underline-offset:3px; }
.apb-body h2 { margin:42px 0 16px !important; color:var(--apb-ink) !important; font-size:clamp(28px,2.8vw,40px) !important; line-height:1.08 !important; letter-spacing:0 !important; font-weight:900 !important; padding-top:18px; border-top:1px solid #e5edf7; }
.apb-body h3 { margin:30px 0 12px !important; color:#16223a !important; font-size:clamp(21px,2vw,28px) !important; line-height:1.16 !important; font-weight:900 !important; }
.apb-body blockquote { margin:28px 0 !important; padding:22px 24px !important; border:1px solid #bfdbfe !important; border-left:5px solid var(--apb-blue) !important; border-radius:8px !important; background:linear-gradient(180deg,#f8fbff,#eef5ff) !important; color:#1c2b46 !important; box-shadow:0 14px 36px rgba(37,99,235,.08); }
.apb-body blockquote p { margin:0 !important; font-size:17px !important; line-height:1.65 !important; font-weight:700; }
.apb-body .apb-callout { margin:26px 0 !important; padding:18px 20px !important; border:1px solid #bbf7d0; border-left:5px solid var(--apb-green); border-radius:8px; background:linear-gradient(180deg,#f6fff9,#effbf4); color:#21364b; font-weight:700; }
.apb-callout-label { display:block; margin:0 0 6px; color:#087a3e; font-size:12px; font-weight:900; letter-spacing:.12em; text-transform:uppercase; }
.apb-body img { border-radius:8px !important; border:1px solid #dce5f2; box-shadow:0 16px 40px rgba(7,16,31,.08); }
.apb-body img[style*="float"] { max-width:300px !important; margin:4px 22px 16px 0 !important; }
.apb-internal-placeholder { display:none !important; }
body.ap-stg.ap-blog-single .ct-related-posts, body.ap-stg.ap-blog-single .related, body.ap-stg.ap-blog-single .comments-area { max-width:var(--apb-content-max) !important; margin:0 auto 50px !important; padding:0 18px !important; }
@media (max-width: 1050px) {
  body.ap-stg.ap-blog-single { --apb-content-max:calc(100vw - 28px); }
  body.ap-stg.ap-blog-single .entry-header { grid-template-columns:1fr; }
  body.ap-stg.ap-blog-single .page-title,
  body.ap-stg.ap-blog-single .page-description,
  body.ap-stg.ap-blog-single .entry-meta,
  .apb-hero-media { grid-column:1; grid-row:auto; }
  .apb-hero-media { min-height:280px; }
  .apb-hero-media img { min-height:280px; }
  .apb-layout { grid-template-columns:1fr; }
  .apb-aside { position:relative; top:auto; grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media (max-width: 720px) {
  body.ap-stg.ap-blog-single .hero-section { padding-inline:14px !important; }
  body.ap-stg.ap-blog-single .entry-header { padding:26px 20px; }
  body.ap-stg.ap-blog-single .entry-header:before { left:20px; top:18px; }
  body.ap-stg.ap-blog-single .page-title { margin-top:26px !important; }
  body.ap-stg.ap-blog-single .entry-content { padding-inline:14px !important; }
  .apb-aside { grid-template-columns:1fr; }
  .apb-body img[style*="float"] { float:none !important; display:block !important; max-width:100% !important; margin:16px 0 !important; }
  body.ap-stg.ap-blog-single .entry-meta li { font-size:12px !important; }
}

/* ===== child adaptations: hide inherited header on blog pages ===== */
body.ap-stg .templately-header,
body.ap-stg [data-elementor-type="templately-header"],
body.ap-stg .ehf-header,
body.ap-stg header.site-header,
body.ap-stg #site-header,
body.ap-stg .elementor-location-header { display:none !important; }
