/**
 * AB Consulting PharmD — design tokens & overrides from Figma (node 305:65).
 * Typography: Lato body, Montserrat nav & headings; script face for signature.
 */

:root {
  --ab-base: #e1e8ef;
  --ab-primary: #5286a5;
  --ab-secondary: #7308ff;
  --ab-about-purple: #624585;
  --ab-faq-dark: #323c46;
  --ab-text-muted: #797979;
  --ab-nav-ink: #1a1a1a;
  --ab-rise-light: #add591;
  --ab-rise-mid: #6dbf4d;
  --ab-rise-green: #008445;
  --ab-rise-deep: #00552a;
  --ab-body-size: 1.0625rem;
  --ab-radius-card: 15px;
}

html {
  scroll-padding-top: 5.5rem;
}

body {
  font-family: "Lato";
  font-size: var(--ab-body-size);
  line-height: 1.65;
  background-color: var(--ab-base);
  color: #1a1a1a;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

.heading-section {
  font-family: "Lato";
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-size: 45px;
}

/* Eyebrow labels e.g. [ WHO I AM ] */
.text-eyebrow {
  font-family: "Lato";
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
}

.ls-wide {
  letter-spacing: 0.05em;
}

/* Signature name (Figma: Julietta Messie — script pair) */
.font-signature {
  font-family: "Great Vibes", "Allura", cursive;
  font-size: 60px;
  line-height: 1.05;
  font-weight: 400;
}

/* ---------- Navbar: absolutely positioned over page top ---------- */
#mainNav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}
.navbar-ab {
  transition: box-shadow 0.25s ease;
  background-color: transparent !important;
}

.navbar-ab.navbar-ab--elevated {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.navbar-ab .navbar-brand {
  font-size: 1rem;
}

.navbar-ab .nav-link {
  color: #fff !important;
  font-family: "Lato";
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem !important;
  border-radius: 0.25rem;
}

.navbar-ab .nav-link:hover,
.navbar-ab .nav-link:focus {
  color: var(--ab-secondary) !important;
}

.navbar-ab .navbar-toggler {
  border-color: #fff;
}

.navbar-ab .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile / collapsed menu panel */
.navbar-ab .navbar-collapse {
  margin-top: 0.75rem;
}
.hero-bio {
  position: absolute;
  right: 30px;
  bottom: 0;
}
@media (max-width: 1199.98px) {
  .navbar-ab .navbar-collapse {
    padding: 1rem 1.25rem 1.25rem;
    background: #f8f9fa;
    border-radius: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
  }

  .navbar-ab .navbar-nav .nav-link {
    color: #1a1a1a !important;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    padding: 0.65rem 0.25rem !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .navbar-ab .navbar-nav .nav-item:last-child .nav-link {
    border-bottom: none;
  }

  .navbar-ab .navbar-collapse .d-flex {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    justify-content: center;
    gap: 0.65rem !important;
  }
}

.navbar-ab .navbar-icon-link {
  color: var(--ab-nav-ink);
  transition: color 0.2s ease;
  background-color: #fff;
  font-size: 22px;
  border-radius: 100%;
  width: 59px;
  height: 59px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-ab .navbar-icon-link:hover {
  color: var(--ab-secondary);
}

@media (max-width: 1199.98px) {
  .navbar-ab .navbar-brand img {
    width: 78px;
    height: 78px;
  }

  .navbar-ab .btn-ab-purple {
    --bs-btn-padding-y: 0.6rem;
    --bs-btn-padding-x: 0.95rem;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
  }

  .navbar-ab .navbar-icon-link {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
  }
}

@media (max-width: 575.98px) {
  .navbar-ab .navbar-brand img {
    width: 64px;
    height: 64px;
  }

  .navbar-ab .navbar-toggler {
    padding: 0.2rem 0.45rem;
  }

  .navbar-ab .navbar-collapse {
    margin-top: 0.5rem;
    padding: 0.75rem 0.85rem 0.9rem;
  }

  .navbar-ab .navbar-nav .nav-link {
    font-size: 0.84rem;
    padding: 0.48rem 0.2rem !important;
  }

  .navbar-ab .navbar-collapse .d-flex {
    margin-top: 0.7rem;
    padding-top: 0.7rem;
    flex-wrap: wrap;
  }

  .navbar-ab .btn-ab-purple {
    width: 100%;
    font-size: 0.68rem;
    text-align: center;
  }
}

/* Logo ring — Figma white border on photo; use brand tint on light bar */


/* ---------- Hero (Figma ~35px headline) ---------- */
#blog-detail-hero  {
  min-height: 350px;
  background-color: #2a2a2a;
}

.home .hero-ab {
 min-height: min(100vh, 52rem);
 background-color: #2a2a2a;
}

.hero-ab__overlay {
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.28) 45%,
    rgba(0, 0, 0, 0.12) 100%
  );
}

.hero-ab__content {
  padding-top: 5.75rem;
}

@media (min-width: 992px) {
  .hero-ab__content {
    padding-top: 6.25rem;
  }
}

.hero-ab__title {
  font-family: "Lato";
  font-weight: 700;
  font-size: 35px;
  line-height: 1.25;
  text-transform: capitalize;
  letter-spacing: 0.01em;
}

/* ---------- Services ---------- */
.section-services {
  position: relative;
  overflow: hidden;
}

.section-services__pattern {
  opacity: 0.4;
  pointer-events: none;
}

.section-services__tint {
  background-color: rgba(82, 134, 165, 0.14);
}

.card-service-ab {
  border-radius: var(--ab-radius-card);
  border: 1px solid transparent;
  box-shadow: 0 3px 7.7px rgba(66, 66, 66, 0.25) !important;
}
.card-service-ab:hover {
  border: 1px solid #7308FF !important;
}

.card-service-ab .card-service-icon {
  width: 102px;
  height: 102px;
  margin-top: -6rem;
}

.card-service-ab .card-title-ab {
  font-family: "Lato";
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.35;
}

@media (min-width: 768px) {
  .card-service-ab .card-title-ab--lg {
    font-size: 24px;
  }
}

/* ---------- About ---------- */
.section-about-ab {
  background-color: var(--ab-about-purple);
}

.section-about-ab .about-portrait-wrap {
  margin-left: auto;
  margin-right: auto;
  position: relative;
  /* padding-top: 40px;  */
}

.section-about-ab .about-portrait-wrap img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
}
.section-about-ab .about-portrait-wrap:before {
  content: '';
  position: absolute;
  height: 3px;
  width: 1252px;
  background-color: #fff;
  left: -433px;
  right: 0;
  top: 48%;
}
.section-about-ab p {
  line-height: normal;
}
.know-more-about, .find-out-more {
  font-weight: 400 !important;
  font-size: 18px;
  border-width: 1px !important;
  padding-top: 14px;
  padding-bottom: 14px;
}
.free-trial-div {
  bottom: -162px;
}
/* ---------- RISE ---------- */
.rise-banner-ab {
  padding-top: 100px;
  padding-bottom: 100px;
}
.rise-strip-top {
  background-color: #ADD591;
  min-height: 7rem;
}
.rise-strip-top--mobile {
  min-height: 0;
}
.rise-strip-top--mobile p {
  min-height: 0;
  display: block;
  line-height: 1.35;
}
.rise-strip-top p {
  min-height: 7rem;
    display: flex;
    width: 100%;
    align-items: flex-end;
    padding-bottom: 10px;
}
.rise-strip-mid {
  background-color: var(--ab-rise-mid);
}

.rise-strip-main {
  background-color: var(--ab-rise-green);
}

.rise-strip-bottom {
  background-color: var(--ab-rise-deep);
  min-height: 1.35rem;
}

/* Mobile: badge in document flow so it does not cover headings/text */
.book-div {
  position: static;
  z-index: 1;
  text-align: center;
  margin-bottom: 1.25rem;
  padding: 0 0.5rem;
  max-width: 100%;
}

.book-div img {
  max-width: min(220px, 85vw) !important;
  height: auto;
}

@media (min-width: 768px) {
  .book-div {
    position: absolute;
    z-index: 999;
    left: clamp(0.75rem, 3vw, 30px);
    top: 30px;
    text-align: left;
    margin-bottom: 0;
    padding: 0;
    max-width: none;
  }
}

#rise-heading {
  font-size: clamp(1.35rem, 4.5vw, 35px);
  line-height: 1.2;
  word-wrap: break-word;
}
.rise-strip-main p {
  line-height: 30px;
}

@media (max-width: 767.98px) {
  .rise-banner-ab {
    padding-top: 1.75rem;
    padding-bottom: 2.5rem;
  }

  .rise-strip-mid .row > [class*="col-"],
  .rise-strip-main .row > [class*="col-"] {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .rise-strip-mid {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  .rise-strip-main {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  .rise-strip-main p {
    font-size: 1rem !important;
    line-height: 1.55 !important;
    max-width: none !important;
  }
}

/* ---------- Cannabis ---------- */
.section-cannabis-ab {
  min-height: 28rem;
  background-size: cover;
  background-position: center;
  padding-top: 120px;
  padding-bottom: 120px;
}

.section-cannabis-ab .cannabis-trial-badge {
  width: 125px;
  height: 125px;
  background-color: var(--ab-secondary);
}

.section-cannabis-ab .cannabis-headline {
  font-family: "Lato";
  font-weight: 600;
  font-size: 55px;
  line-height: 1.15;
}
.section-cannabis-ab p {
  line-height: 30px;
}
#blogs-ab h2 {
  font-size: 18px;
}
#blogs-ab a.text-ab-purple {
  font-size: 14px;
}
#blogs-ab h3 {
  font-size: 18px;
}
#blogs-ab .text-eyebrow {
  font-size: 18px;
}
/* ---------- FAQ (Figma 305:129 — full-width band; accordion spans content width) ---------- */
.section-faq-ab {
  background-color: var(--ab-faq-dark);
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
}

.faq-ab__wrap {
  max-width: 100%;
}

.faq-ab__accordion .accordion-item {
  border-left: none;
  border-right: none;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
}

.section-faq-ab .accordion-button {
  background-color: transparent;
  color: #fff;
  font-family: "Lato";
  font-size: 24px;
  font-weight: 600;
  box-shadow: none;
  padding: 1.1rem clamp(1rem, 3vw, 2.5rem);
  padding-left: 0;
}

.section-faq-ab .accordion-button:not(.collapsed) {
  background-color: transparent;
  color: #fff;
}


.section-faq-ab .accordion-body {
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  line-height: 1.3;
  padding-bottom: 30px;
  padding-left: 0;
}
.accordion-button::after {
  content: "+";
  font-size: 38px;
  font-weight: bold;
  background-image: none;
  width: auto;
  height: auto;
  background-image: none !important;
}

.accordion-button:not(.collapsed)::after {
  content: "−";
}
/* ---------- Contact ---------- */
.section-contact-ab {
  background: linear-gradient(
    162.78deg,
    var(--ab-primary) 14.19%,
    #85b6d7 40.17%,
    #44779c 56.55%,
    var(--ab-primary) 96.54%
  );
}

.appointment-card-ab {
  border-radius: var(--ab-radius-card);
  background: linear-gradient(141.3deg, #fff 61.74%, var(--ab-secondary) 128.14%);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* ---------- Marquee ---------- */
.marquee-ab {
  overflow: hidden;
  background: #000;
}

.marquee-ab__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
  padding: 0.65rem 0;
}

.marquee-ab__group {
  font-family: "Lato";
  font-size: 50px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #fff;
  white-space: nowrap;
  padding-right: 3rem;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.footer-ab {
  background: #000;
}

/* Ruled nav: lines break at center logo (screenshot layout) */
.footer-ab__ruled-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto auto auto;
  column-gap: clamp(0.5rem, 2vw, 1.25rem);
  row-gap: 0.65rem;
  align-items: center;
}

.footer-ab__ruled-line {
  min-height: 1px;
}

.footer-ab__ruled-line--top.footer-ab__ruled-line--left {
  grid-column: 1;
  grid-row: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  align-self: end;
}

.footer-ab__ruled-line--top.footer-ab__ruled-line--right {
  grid-column: 3;
  grid-row: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  align-self: end;
}

.footer-ab__ruled-logo {
  grid-column: 2;
  grid-row: 1 / 4;
  align-self: center;
  justify-self: center;
  z-index: 1;
}

.footer-ab__logo-square {
  width: 118px;
  height: 118px;
  background: #2d2d2d;
  border-radius: 4px;
  padding: 0.35rem;
}

.footer-ab__logo-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

.footer-ab__ruled-nav-left {
  grid-column: 1;
  grid-row: 2;
  /* justify-self: end; */
  text-align: right;
}

.footer-ab__ruled-nav-right {
  grid-column: 3;
  grid-row: 2;
  /* justify-self: start;
  text-align: left; */
}

.footer-ab__ruled-line--bottom.footer-ab__ruled-line--left {
  grid-column: 1;
  grid-row: 3;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  align-self: start;
}

.footer-ab__ruled-line--bottom.footer-ab__ruled-line--right {
  grid-column: 3;
  grid-row: 3;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  align-self: start;
}

/* Footer nav links: horizontal row per side */
.footer-ab__nav--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  justify-content: space-around;
}

/* .footer-ab__ruled-nav-right .footer-ab__nav--inline {
  justify-content: flex-start;
} */

.footer-ab__nav a {
  font-family: "Lato";
  font-size: clamp(0.8rem, 2.2vw, 1.05rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (min-width: 992px) {
  .footer-ab__nav a {
    font-size: 20px;
    letter-spacing: 0.08em;
  }
}

.footer-ab__nav a:hover {
  color: rgba(255, 255, 255, 0.85) !important;
}

/* Newsletter + touch columns */
.footer-ab__newsletter-heading {
  font-family: "Lato";
  font-size: 28px;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
  max-width: 36rem;
  margin-inline: auto;
}

@media (min-width: 992px) {
  .footer-ab__newsletter-heading {
    margin-inline: 0;
  }
}

.footer-ab__newsletter-sub {
  font-family: "Lato";
  font-size: 0.95rem;
  max-width: 36rem;
  margin-inline: auto;
}

@media (min-width: 992px) {
  .move-top-desk {
  margin-top: -60px !important;
}

  .footer-ab__newsletter-sub {
    margin-inline: 0;
  }
}

.footer-ab__input-name {
  background: #000 !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  border-radius: 2px !important;
  color: #fff !important;
  font-family: "Lato";
  padding: 0.65rem 1rem;
}

.footer-ab__input-name::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.footer-ab__input-name:focus {
  border-color: #fff !important;
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.15);
}

.footer-ab__subscribe-btn {
  border-radius: 999px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em;
}

.footer-ab__touch-heading {
  font-family: "Lato";
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 600;
  color: #fff;
}

.footer-ab__social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: #fff;
  color: #000 !important;
  font-size: 1.25rem;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.footer-ab__social-btn:hover {
  color: #000 !important;
  opacity: 0.9;
  transform: scale(1.05);
}

.footer-ab__copyright-text {
  font-family: "Lato";
  font-size: 1rem;
  color: #fff;
  margin-top: 6rem;
}

/* Stack ruled nav on small screens */
@media (max-width: 767.98px) {
  .footer-ab__ruled-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    row-gap: 1rem;
  }

  .footer-ab__ruled-line {
    display: none;
  }

  .footer-ab__ruled-logo {
    order: 1;
  }

  .footer-ab__ruled-nav-left {
    order: 2;
  }

  .footer-ab__ruled-nav-right {
    order: 3;
  }

  .footer-ab__nav--inline {
    justify-content: center !important;
  }

  .footer-ab__ruled-nav-left,
  .footer-ab__ruled-nav-right {
    width: 100%;
    text-align: center;
  }

  .footer-ab__logo-square {
    width: 104px;
    height: 104px;
  }
}

/* Buttons */
.btn-ab-purple {
  --bs-btn-hover-bg: #5c07d4;
  --bs-btn-hover-border-color: #5c07d4;
  --bs-btn-color: #fff;
  --bs-btn-padding-x: 1.15rem;
  --bs-btn-padding-y: 0.9rem;
  background-color: rgba(115, 8, 255, 0.50);
  border-radius: 2rem;
  font-family: "Lato";
  font-weight: 400;
  font-size: 18px;
}

.btn-ab-purple-soft {
  background-color: rgba(115, 8, 255, 0.50);
  border: none;
  color: #fff;
  border-radius: 2rem;
  font-family: "Lato";
  font-weight: 600;
  font-size: 18px;
}

.btn-ab-purple-soft:hover {
  background-color: rgba(115, 8, 255, 0.72);
  color: #fff;
}

.btn-outline-light-rounded {
  border-radius: 2rem;
  border-width: 2px;
  font-family: "Lato";
  /* font-weight: 600; */
}

.btn-outline-dark-rounded {
  border-radius: 2rem;
  border-width: 1px;
  font-family: "Lato";
  font-size: 18px;
  padding: 13px 16px;
}

.text-ab-purple {
  color: var(--ab-secondary) !important;
}

/* Contact form */
.section-contact-ab .form-control {
  background: transparent;
  border: 1px solid #fff;
  border-radius: 5px;
  color: #fff;
  padding: 0.85rem 1.25rem;
  font-size: 1.0625rem;
}

.section-contact-ab .form-control::placeholder {
  color: rgba(255, 255, 255, 0.88);
}

.section-contact-ab .form-control:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
  color: #fff;
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.15);
}

/* Blog cards — Figma ~293px image / ~441px card; extra body space for multi-line titles */
#blogs-ab .card-blog-ab {
  border-radius: var(--ab-radius-card);
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

#blogs-ab .card-blog-ab .card-img-top {
  width: 100%;
  object-fit: cover;
  flex-shrink: 0;
  height: 240px;
  transition: transform 0.35s ease;
}

@media (min-width: 576px) {
  #blogs-ab .card-blog-ab .card-img-top {
    height: 268px;
  }
}

@media (min-width: 992px) {
  #blogs-ab .card-blog-ab .card-img-top {
    height: 293px;
  }
}

#blogs-ab .card-blog-ab .card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 9.5rem;
  padding: 22px;
}

#blogs-ab .card-blog-ab .card-body .h6 {
  line-height: 1.45;
  flex-grow: 1;
}

#blogs-ab .card-blog-ab:hover .card-img-top {
  transform: scale(1.03);
}
#contact-ab h2 {
  font-size: 40px;
}

/* Blogs listing page — compact hero with centered title */
.page-blogs .hero-ab {
  min-height: min(52vh, 26rem);
}

@media (min-width: 992px) {
  .page-blogs .hero-ab {
    min-height: min(48vh, 30rem);
  }
}

.page-blogs .hero-ab__content {
  text-align: center;
  padding-top: 8rem;
  padding-bottom: 3rem;
}

.page-blogs .hero-ab__title--blogs {
  font-size: 45px;
  font-weight: 700;
  line-height: 1.15;
  text-transform: none;
  letter-spacing: 0.02em;
  margin-bottom: 0;
}

.page-blogs .section-blogs-list {
  background-color: var(--ab-base);
}

/* 60px vertical gap between blog cards (Bootstrap g-* uses --bs-gutter-y; margin/gap on .row alone won’t apply) */
#blogs-ab > .container-fluid > .row {
  --bs-gutter-y: 60px;
}

.page-blogs .btn-view-more-blogs {
  border-radius: 999px;
  padding: 0.65rem 2.5rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 18px;
}
.page-blogs .btn-view-more-blogs:hover {
  background: #7308ff;
    border-color: #7308ff;
}
/* ---------- Blog post detail (article + sidebar) ---------- */
/* Full-color banner; overrides global hero luminosity blend on index */
#blog-detail-hero .blog-detail-hero__bg,
#blogs-hero .blog-detail-hero__bg {
  mix-blend-mode: normal;
}

.section-blog-detail {
  background-color: var(--ab-base);
}

.blog-detail-article__figure {
  margin-inline: 0;
}

.blog-detail-article__hero-img {
  display: block;
  width: 100%;
  max-height: min(70vh, 28rem);
  object-fit: cover;
}

.blog-detail-article__title {
  font-family: "Lato";
  font-weight: 700;
  font-size: 36px;
  line-height: 1.25;
  color: #1a1a1a;
}

.blog-detail-article__lead {
  font-family: "Lato";
  font-size: 20px;
  line-height: 30px;
  color: #000;
}
.blog-detail-article__prose {
  font-family: "Lato", sans-serif;
  font-size: 18px;
  line-height: normal;
  color: #000;
}
.blog-detail-article__section-title {
  font-family: "Lato";
  font-weight: 700;
  color: #1a1a1a;
  font-size: 28px;
}

.blog-detail-card {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 15px;
  padding: 35px;
}

.blog-detail-checklist .blog-detail-article__prose {
  font-size: 1rem;
}

.blog-detail-numbered {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #000;
}

.blog-detail-numbered > li {
  padding-left: 0.25rem;
}

.blog-detail-numbered ul {
  padding-left: 1.25rem;
  margin-top: 0.35rem;
}

.blog-detail-numbered ul li {
  margin-bottom: 0.35rem;
}

.blog-detail-numbered ul li:last-child {
  margin-bottom: 0;
}

.blog-detail-sidebar__heading {
  font-family: "Lato";
  font-weight: 700;
  font-size: 36px;
}

@media (min-width: 992px) {
  .blog-detail-sidebar {
    position: sticky;
    top: 5.5rem;
    align-self: flex-start;
  }
}
.blog-detail-recent {
  background: #fff;
  padding: 13px;
  border-radius: 15px;
}
.blog-detail-recent a:hover .blog-detail-recent__title,
.blog-detail-recent a:focus-visible .blog-detail-recent__title {
  color: var(--ab-secondary);
}
.blog-detail-recent .min-w-0 {
  display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.blog-detail-recent__thumb {
  width: 141px;
  height: 137px;
  object-fit: cover;
}
.blog-detail-recent__title {
  font-size: 20px;
  line-height: normal;
}

.blog-detail-newsletter {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-detail-newsletter__input {
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: 0.6rem 0.85rem;
  font-size: 0.9375rem;
  width: 80%;
    margin: 0 auto;
}
.btn-sign-up {
  border: 1px solid #000;
  font-size: 18px;
  padding: 6px 16px;
  width: 33%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
  font-weight: 500;
}

.blog-detail-newsletter__input:focus {
  border-color: var(--ab-secondary);
  box-shadow: 0 0 0 0.2rem rgba(115, 8, 255, 0.12);
}
.bi-check::before {
  font-size: 30px;
}
.blog-detail-checklist .blog-detail-article__prose {
  font-weight: 600;
  font-size: 18px !important;
}
@media (max-width: 575.98px) {
  .blog-detail-article__date {
    text-align: left !important;
  }
  .page-blogs .hero-ab__title--blogs {
    font-size: 40px;
}
.section-about-ab .about-portrait-wrap:before {
  content: none;
}
.heading-section {
  font-size: 26px;
}
.section-cannabis-ab .cannabis-headline {
  font-size: 35px;
}
.hero-ab__title {
  margin-top: -240px;
}
.page-blogs .hero-ab__content {
  text-align: center;
  padding-top: 12rem;
  padding-bottom: 2rem;
}
.free-trial-div {
  bottom: -120px;
}
#rise-heading, .rise-strip-main , .rise-strip-top p{
  padding-left: 15px;
  padding-right: 15px;;
}
#contact-ab h2 {
  font-size: 30px;
}
.accordion-button::after {
  font-size: 30px;
}
.section-faq-ab .accordion-button {
  font-size: 20px;
}
}

/* ---------- Services page slider ---------- */
.page-services .hero-ab {
  min-height: min(44vh, 22rem);
}

.page-services .hero-ab__content {
  text-align: center;
  padding-top: 7rem;
  padding-bottom: 3rem;
}

.section-services-page {
  background-color: #e4e6eb;
}

.section-services-page h2 {
  font-family: "Lato";
  font-size: clamp(1.9rem, 5vw, 3.1rem);
  font-weight: 700;
  line-height: 1.2;
}

.service-slide-card {
  border: 1px solid #323C46;
  border-radius: 10px;
  background: transparent;
  padding: 0.95rem 0.85rem 0.95rem;
  display: flex;
  flex-direction: column;
}

#servicesCarousel .carousel-inner {
  overflow: hidden;
  display: flex;
}

#servicesCarousel .carousel-item.active,
#servicesCarousel .carousel-item.carousel-item-next,
#servicesCarousel .carousel-item.carousel-item-prev {
  display: flex;
  gap: 1rem;
}

#servicesCarousel .carousel-item > .service-slide-card {
  /* 4 visible cards with 1rem gap (3 gaps total) */
  flex: 0 0 calc((100% - 3rem) / 4);
  min-width: 0;
}

.service-slide-card__icon {
  width: 75px;
  height: 71px;
  border-radius: 2px;
  background: #404952;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 37px;
}
.lato{
   font-family: "Lato" !important;
}
.service-slide-card__title {
  font-family: "Lato";
  font-size: 1.45rem;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.service-slide-card__copy {
  font-size: 16px;
  line-height: 1.45;
  margin-bottom: 0.7rem;
  flex-grow: 1;
}

.service-slide-card__meta {
  font-size: 16px;
  line-height: 1.35;
  font-weight: 500;
}

.service-slide-card__btn {
  padding: 10px 20px !important;
  font-size: 18px !important;
  border-radius: 999px;
  align-self: flex-start;
  margin-top: 30px;
}

.services-carousel-controls {
  min-height: 2.4rem;
}

.services-carousel-btn {
  width: 2rem !important;
  height: 2rem !important;
  border-radius: 50%;
  background: var(--ab-secondary) !important;
  color: #fff !important;
  opacity: 1 !important;
  border: none;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

.services-carousel-btn i {
  font-size: 20px;
}

.services-carousel-indicators {
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: center;
  max-width: min(90vw, 18rem);
}

.services-carousel-indicators [data-bs-target] {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin: 0;
  border: 3px solid #000;
  background-color: transparent;
  opacity: 1;
}

.services-carousel-indicators .active {
  background-color: #000;
}

@media (max-width: 991.98px) {
  #servicesCarousel .carousel-item > .service-slide-card {
    /* 2 visible cards with 1rem gap */
    flex: 0 0 calc((100% - 1rem) / 2);
  }

  .service-slide-card__title {
    font-size: 1.2rem;
  }
}

@media (max-width: 575.98px) {
  #servicesCarousel .carousel-item.active,
  #servicesCarousel .carousel-item.carousel-item-next,
  #servicesCarousel .carousel-item.carousel-item-prev {
    gap: 0;
  }

  #servicesCarousel .carousel-item > .service-slide-card {
    flex: 0 0 100%;
  }

  .page-services .hero-ab__content {
    padding-top: 8rem;
    padding-bottom: 2rem;
  }

  .section-services-page {
    padding-top: 2.5rem !important;
  }
}

/* ---------- About page: choose practice ---------- */
.page-about .hero-ab {
  min-height: min(44vh, 22rem);
}

.page-about .hero-ab__content {
  text-align: center;
  padding-top: 7rem;
  padding-bottom: 3rem;
}

.section-about-choose {
  background-color: #d7dde5;
}

.section-about-choose #about-choose-title {
  font-family: "Lato";
  font-size: clamp(2rem, 5vw, 3.3rem);
  font-weight: 700;
  line-height: 1.18;
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
}

.about-choice-card {
  position: relative;
  background: #fff;
  border-radius: 10px;
  padding: 3.2rem 1rem 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  min-height: 9.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-choice-card p {
  font-size: 0.95rem;
  line-height: 1.45;
  max-width: 9rem;
}

.about-choice-card__icon {
  position: absolute;
  top: -2.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #374453;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

@media (max-width: 991.98px) {
  .about-choice-card {
    min-height: 8.8rem;
  }
}

.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  text-align: left;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.service-card .icon {
  width: 50px;
  height: 50px;
  background: #f1f1f1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 20px;
}

/* Indicators (dots) */
.carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #ccc;
}

.carousel-indicators .active {
  background-color: #6f42c1;
}

/* Custom arrows */
.custom-arrow {
  position: absolute;
  bottom: -50px;
  top: auto;
  width: 40px;
  height: 40px;
  background: #6f42c1;
  color: #fff;
  border-radius: 50%;
  opacity: 1;
  font-size: 20px;
}

.carousel-control-prev.custom-arrow {
  left: 45%;
}

.carousel-control-next.custom-arrow {
  right: 45%;
}

/* Push all page content below the absolute header */
#main-content.page-content {
  min-height: 60vh;
}

/* Ensure WordPress block styles render correctly */
.wp-block-cover.alignfull {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

.entry-content .alignfull,
.page-content .alignfull {
  margin-left: calc(-1 * var(--wp--style--root--padding-left, 0px)) !important;
  width: 100vw !important;
  max-width: 100vw !important;
}

/* Remove default WordPress block layout constraints */
.page-content > * {
  max-width: 100%;
}

button.btn.btn-ab-purple.btn-sm.text-uppercase.px-3:hover {color: #ffffff !important;}

.purple-icon img{
  background-color: #000;
}
.icon-above-box img {
  margin-top: -50px;
}
.rise-description p{
  margin-top:0px;
}


@media (min-width: 768px) {
  .offset-md-3 {
    margin-left: 25% !important;
  }
  .accordion__title  {
   font-size: 24px !important ;
  }
  
}

@media (max-width: 781px) {
.custom-contact-form{
    border-radius:0px !important;
}
.contact-responsive-img img {
    border-radius:0px !important;
}


}

/* Make columns stack on tablet & mobile */
@media (max-width: 890px) {
    .marquee-ab__group{
        font-size: 35px  !important;
    }
}

.accordion__title  {
  font-family: Lato !important;
  font-weight: 600 !important;
  font-style: SemiBold !important;
  font-size: 24px ;
  leading-trim: NONE;
  line-height: 30px !important;
  letter-spacing: 0% !important;
}
 .accordion__body p {
  font-family: Lato !important;
  font-weight: 400 !important;
  font-style: Regular !important;
  font-size: 18px !important;
  leading-trim: NONE !important;
  line-height: 30px !important;
  letter-spacing: 0%  !important;
  padding-top: 10px;
}
.helpie-faq-row ul {
  padding-left: 0px;
}
/* Add border to all items */
/* Apply border only to top-level FAQ items */
 .home-faq .helpie-faq.accordions .accordion .accordion__item {
    border-bottom: 1px solid #ffffff !important;
}

.helpie-faq.accordions .accordion .accordion__item:last-child {
    border-bottom: 0px !important;
} 

.accordion__header {
  padding: 0px 0px 20px 0px !important;
}
 .accordion__item {
  padding-top: 30px !important;
  padding-bottom: 20px !important;
}
.helpie-faq.accordions .accordion .accordion__item .accordion__body{
  padding: 0px;
}
.home-faq .helpie-faq.accordions .accordion__header::before, .home-faq .helpie-faq.accordions .accordion__header::after {
  background: #fff !important;
  width: 22px !important;
  
}
.faq .helpie-faq.accordions .accordion__header::before, .faq .helpie-faq.accordions .accordion__header::after {
  background: #000000 !important;
  width: 22px !important;
  
}
.helpie-faq.accordions article {
  margin-bottom: 0px !important;
}
.clock-icon {
  margin-top: -33px !important;
}
@media (min-width: 811px) and (max-width: 855px) {
    .about-portrait-wrap.my-3 {
        margin-top: 8rem !important;
    }
      
    }
@media (min-width: 880px) and (max-width: 898px) {
    .right-healthcare {
    gap: 15px !important;
}
       .about-portrait-wrap.my-3 {
    margin-top: 6rem !important;
}
}
@media (min-width: 900px) and (max-width: 940px) {
       .about-portrait-wrap.my-3 {
    margin-top: 12rem !important;
}
.free-trial-div{
    bottom:0px !important;
}
}
@media (min-width: 1150px) and (max-width: 1199px) {
    .about-portrait-wrap.my-3 {
    margin-top: 5.5rem !important;
}

.wp-block-uagb-container{
    padding-left:20px !important;
    padding-right:20px !important;
}
.right-healthcare p {
    padding: 20px !important;
}
.right-healthcare {
    gap: 20px !important;
}
}

@media (min-width: 1000px) and (max-width: 1149px) {
    .about-portrait-wrap.my-3 {
    margin-top: 9rem !important;
}
.wp-block-uagb-container{
    padding-left:20px !important;
    padding-right:20px !important;
}

}
@media (min-width: 1200px) {
        .about-portrait-wrap.my-3 {
    margin-top: 4rem !important;
}
}

@media (min-width: 767px) and (max-width: 1024px) {

 .right-healthcare {
    gap: 15px !important;
}
.right-healthcare p {
    padding: 10px !important;
}
.rise-strip-main p {
    padding-left: 10px;
}
.wp-block-uagb-container{
    padding-left:20px !important;
    padding-right:20px !important;
}


 .rise-description .offset-md-3 {
        margin-left: 36% !important;
    }
    
}
@media (max-width: 899px) {
    
    .accordion__title{
        font-size:20px !important;
    }
    p.footer-ab__copyright-text.mb-0.text-start {
    text-align: center !important;
    margin-top: 40px;
}
    .appointment-sec {
    padding: 30px 20px !important;
}

.accordion__header {  
  padding-right: 50px !important; /* space for + icon */
}
    .section-cannabis-ab {
    padding: 50px 20px !important;
    min-height: 500px !important;
}

.free-trial-div {
    bottom: 0px;
}


.banner-heading {
    font-size: 50px !important;
}
.page-banner {
    min-height: 240px  !important;
}
.h2-mob{
 font-size: 40px !important;
}
.wp-block-columns {
        margin-top: 0px;
        margin-bottom:0px;
    }
.mob-space {
    height: 30px !important;
}
.mob-gap {
    gap: 0px;
}

.why-col {
    margin-top: 50px !important;
}
.wp-block-uagb-container{
    padding-left:20px !important;
    padding-right:20px !important;
}


.home-consultation-sec .card-service-ab{
    margin-top:50px !important;
}

.h2-home{
   font-size:35px !important; 
}

.section-about-ab p:not(.small-heading) {
    font-size: 21px !important;
    padding-bottom: 11px !important;
    padding-top: 11px !important;
}

.section-about-ab .wp-block-spacer {
    height:0px !important;
}
.small-heading{
    font-size:16px !important;
}

}

@media (max-width: 576px) {
    .img-gallery img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px; /* optional */
}
.img-gallery {
    display: flex;
    gap: 30px;
}

.img-gallery {
    margin-bottom: 50px;
}
}

@media (min-width: 577px) and (max-width: 1024px) {
    #rise-heading, .rise-strip-main , .rise-strip-top p{
  padding-left: 15px;
  padding-right: 15px;;
}

    .rise-strip-top{
        padding:0px !important;
    }
  .img-gallery {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  /* Remove column behavior */
  .img-gallery .wp-block-column {
    width: 100% !important;
    display: contents; /* flatten structure */
  }

  .img-gallery figure {
    margin: 0;
  }

  .img-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .img-gallery {
    margin-bottom: 50px;
}

}

html, body {
  overflow-x: hidden;
}





/* ===== DESKTOP (1025+) ===== */
@media (min-width: 1025px) {
  .contact-form-sec .wp-block-column:first-child {
    flex: 0 0 40%;
  }

  .contact-form-sec .wp-block-column:last-child {
    flex: 0 0 60%;
  }
}

/* ===== TABLET (768–1024) ===== */
@media (min-width: 768px) and (max-width: 1024px) {

  .contact-form-sec .wp-block-column:first-child {
    flex: 0 0 45%;
  }

  .contact-form-sec .wp-block-column:last-child {
    flex: 0 0 55%;
  }

  .custom-contact-form {
    padding: 30px 25px;
  }

  .form-title {
    font-size: 34px;
  }
}

@media  (max-width: 800px) and (max-width: 960px) {
.contact-responsive-img img {
    height: 500px !important;
}

}
/* ===== MOBILE (<=767px) ===== */
@media (max-width: 767px) {

.contact-responsive-img img {
    width: 100%;
}
  /* ===== RESET GUTENBERG ===== */
.contact-form-sec .wp-block-columns {
  display: block;
  align-items: stretch;
  gap: 0 !important;
  margin: 0;
  padding: 0;
}

.contact-form-sec .wp-block-column {
  display: flex;
  flex: 1;
  padding: 0 !important;
  margin: 0 !important;
  min-width: 0;
}

/* Remove default figure spacing */
.contact-responsive-img {
  margin: 0 !important;
  height: 100%;
  width: 100%;
}

/* ===== IMAGE FULL HEIGHT ===== */
.contact-responsive-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
  

  /* Stack layout */
  .contact-form-sec .wp-block-columns {
    flex-direction: column !important;
  }

  .contact-form-sec .wp-block-column {
    display: block !important;
    width: 100% !important;
  }

  /* Image reset */
  .contact-responsive-img {
    height: auto;
  }

  .contact-responsive-img img {
    height: auto !important;
    object-fit: unset;
    border-radius: 20px 20px 0 0 !important;
  }

  /* Form adjustments */
  .custom-contact-form {
    padding: 25px 15px;
    border-radius: 0 0 20px 20px;
  }

  .form-row {
    flex-direction: column;
    gap: 10px;
  }

  .form-title {
    font-size: 28px;
  }

  /* Reduce spacer */
  .mob-space {
    height: 40px !important;
  }
}


.book_consult:hover {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}


.single-post .hero-ab__content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.single-post .hero-ab__title {
    text-align: center;
    margin: 0 auto;
}

.download-pdf-btn {
  pointer-events: none;
}



