/* Ray Health — About Us (Column Content Template) */

body.pharmacymentor-child.page-template-content-template {
  font-family: var(--font-primary);
  color: var(--color-text);
  background-color: var(--color-white);
}

body.pharmacymentor-child.page-template-content-template .page-wrapper > main,
body.pharmacymentor-child.page-template-content-template .page-wrapper > section {
  font-family: var(--font-primary);
}

/* ---------- Hero banner ---------- */
body.pharmacymentor-child.page-template-content-template .page-banner.banner-section-icon-list {
  background: var(--color-cream) !important;
  padding: clamp(40px, 6vw, 80px) 0 clamp(72px, 9vw, 112px);
}

body.pharmacymentor-child.page-template-content-template .page-banner .call-to-action {
  margin-top: 1.75rem !important;
  margin-bottom: 1.25rem;
}

body.pharmacymentor-child.page-template-content-template .page-banner .banner-content {
  font-family: var(--font-primary);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.65;
  color: var(--color-dark);
}

body.pharmacymentor-child.page-template-content-template .page-banner .banner-content p {
  margin: 0 0 1rem;
  color: var(--color-dark);
}

body.pharmacymentor-child.page-template-content-template .page-banner .banner-content h1,
body.pharmacymentor-child.page-template-content-template .page-banner .banner-content h2,
body.pharmacymentor-child.page-template-content-template .page-banner .banner-content h3,
body.pharmacymentor-child.page-template-content-template .page-banner .banner-content > p:first-child strong,
body.pharmacymentor-child.page-template-content-template .page-banner .banner-content > strong:first-child {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.15;
  color: var(--color-dark);
  letter-spacing: -0.02em;
  margin: 0 0 1.1rem;
  display: block;
}

/* Benefits checklist — gold bullets, readable on cream banner */
body.pharmacymentor-child.page-template-content-template .banner-section-icon-list .banner-content ul,
body.pharmacymentor-child.page-template-content-template .page-banner.banner-section-icon-list ul {
  list-style: none !important;
  margin: 1.5rem 0 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 36rem;
}

body.pharmacymentor-child.page-template-content-template .banner-section-icon-list .banner-content ul li,
body.pharmacymentor-child.page-template-content-template .page-banner.banner-section-icon-list ul li {
  position: relative !important;
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  margin: 0 !important;
  padding: 12px 14px 12px 14px !important;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72) !important;
  border: 1px solid rgba(221, 181, 84, 0.35);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  font-family: var(--font-primary);
  font-size: clamp(14px, 1.6vw, 16px);
  font-weight: 500;
  line-height: 1.45;
  color: var(--color-dark) !important;
}

body.pharmacymentor-child.page-template-content-template .banner-section-icon-list ul li::before,
body.pharmacymentor-child.page-template-content-template .banner-section-icon-list ul li:before,
body.pharmacymentor-child.page-template-content-template .page-banner.banner-section-icon-list ul li::before,
body.pharmacymentor-child.page-template-content-template .page-banner.banner-section-icon-list ul li:before {
  content: "" !important;
  position: static !important;
  flex: 0 0 22px;
  width: 22px !important;
  height: 22px !important;
  margin-top: 1px;
  border-radius: 50%;
  background-color: var(--color-gold) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-size: 12px 12px !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  font-family: inherit !important;
  font-size: 0 !important;
  color: transparent !important;
  line-height: 0 !important;
}

body.pharmacymentor-child.page-template-content-template .banner-section-icon-list ul li *,
body.pharmacymentor-child.page-template-content-template .page-banner.banner-section-icon-list ul li * {
  color: var(--color-dark) !important;
  background: transparent !important;
  background-color: transparent !important;
  font-family: var(--font-primary) !important;
  font-size: inherit !important;
  font-weight: 500 !important;
  line-height: inherit !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline !important;
  width: auto !important;
  height: auto !important;
  border: none !important;
  box-shadow: none !important;
}

body.pharmacymentor-child.page-template-content-template .banner-section-icon-list ul li img,
body.pharmacymentor-child.page-template-content-template .page-banner.banner-section-icon-list ul li i,
body.pharmacymentor-child.page-template-content-template .page-banner.banner-section-icon-list ul li .fa,
body.pharmacymentor-child.page-template-content-template .page-banner.banner-section-icon-list ul li [class*="fa-"] {
  display: none !important;
}

@media (max-width: 767px) {
  body.pharmacymentor-child.page-template-content-template .banner-section-icon-list .banner-content ul,
  body.pharmacymentor-child.page-template-content-template .page-banner.banner-section-icon-list ul {
    gap: 8px;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.pharmacymentor-child.page-template-content-template .banner-section-icon-list ul li,
  body.pharmacymentor-child.page-template-content-template .page-banner.banner-section-icon-list ul li {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    padding: 11px 12px !important;
    font-size: 14px;
  }

  body.pharmacymentor-child.page-template-content-template .page-banner .banner-content {
    width: 100%;
    max-width: 100%;
  }
}

body.pharmacymentor-child.page-template-content-template .page-banner .banner-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

body.pharmacymentor-child.page-template-content-template .page-banner .banner-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ---------- Shared CTAs / buttons ---------- */
body.pharmacymentor-child.page-template-content-template .call-to-action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 1.75rem !important;
}

body.pharmacymentor-child.page-template-content-template a.theme-btn-primary,
body.pharmacymentor-child.page-template-content-template a.theme-btn-secondary,
body.pharmacymentor-child.page-template-content-template a.theme-btn-outline,
body.pharmacymentor-child.page-template-content-template a[class*="theme-btn"] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 28px !important;
  border-radius: var(--radius-pill) !important;
  font-family: var(--font-primary) !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  line-height: 1 !important;
  text-transform: none !important;
  text-decoration: none !important;
  box-shadow: none;
  transition: transform var(--transition-fast), filter var(--transition-ui),
    box-shadow var(--transition-ui), background-color var(--transition-ui),
    border-color var(--transition-ui), color var(--transition-ui);
}

body.pharmacymentor-child.page-template-content-template a.theme-btn-primary,
body.pharmacymentor-child.page-template-content-template a.theme-btn-secondary {
  background: var(--color-gold) !important;
  background-image: none !important;
  border: none !important;
  color: var(--color-dark) !important;
}

body.pharmacymentor-child.page-template-content-template a.theme-btn-primary:hover,
body.pharmacymentor-child.page-template-content-template a.theme-btn-secondary:hover {
  filter: brightness(1.03);
  box-shadow: var(--shadow-raised);
  transform: translateY(-1px);
  color: var(--color-dark) !important;
}

body.pharmacymentor-child.page-template-content-template a.theme-btn-outline {
  background: transparent !important;
  border: 2px solid var(--color-dark) !important;
  color: var(--color-dark) !important;
}

body.pharmacymentor-child.page-template-content-template a.theme-btn-outline:hover {
  background: var(--color-dark) !important;
  color: var(--color-white) !important;
  transform: translateY(-1px);
}

/* ---------- Content groups (Our People / Vision / Brand) ---------- */
body.pharmacymentor-child.page-template-content-template .content-group-sections {
  padding: clamp(48px, 7vw, 88px) 0;
  background: var(--color-white) !important;
}

body.pharmacymentor-child.page-template-content-template .content-group-sections.section-even,
body.pharmacymentor-child.page-template-content-template .content-group-sections.bg-light {
  background: var(--color-surface-muted) !important;
}

body.pharmacymentor-child.page-template-content-template .section-header-wrapper {
  margin-bottom: clamp(28px, 4vw, 48px) !important;
}

body.pharmacymentor-child.page-template-content-template .section-header-wrapper .content-block h5 {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.2;
  color: var(--color-gold) !important;
  margin: 0 0 0.35em;
  text-transform: none;
  letter-spacing: 0;
}

body.pharmacymentor-child.page-template-content-template .section-header-wrapper .content-block h2,
body.pharmacymentor-child.page-template-content-template .section-header-wrapper .content-block .section-title {
  font-family: var(--font-primary);
  font-weight: 300;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  color: var(--color-dark) !important;
  margin: 0;
  letter-spacing: -0.02em;
}

body.pharmacymentor-child.page-template-content-template .content-group-sections .content-column {
  font-family: var(--font-primary);
  font-size: clamp(15px, 1.5vw, 16px);
  line-height: 1.65;
  color: var(--color-dark);
}

body.pharmacymentor-child.page-template-content-template .content-group-sections .content-column p {
  margin: 0 0 1em;
}

body.pharmacymentor-child.page-template-content-template .content-group-sections .content-column p:last-child {
  margin-bottom: 0;
}

body.pharmacymentor-child.page-template-content-template .content-group-sections .content-column .call-to-action {
  margin-top: 2rem !important;
}

body.pharmacymentor-child.page-template-content-template .featured-image-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

body.pharmacymentor-child.page-template-content-template .featured-image-wrapper:before,
body.pharmacymentor-child.page-template-content-template .featured-image:before {
  display: none;
}

body.pharmacymentor-child.page-template-content-template .featured-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transform: none !important;
  transition: transform 0.35s ease;
}

body.pharmacymentor-child.page-template-content-template .featured-image-wrapper:hover img {
  transform: scale(1.03) !important;
}

/* ---------- Blog / News & Updates ---------- */
body.pharmacymentor-child.page-template-content-template .blog-section.blog-listing-section {
  background: var(--color-cream-3) !important;
  padding: clamp(48px, 7vw, 88px) 0;
}

body.pharmacymentor-child.page-template-content-template .blog-listing-section .blog-grids .grid {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
  border: none;
  transition: transform var(--transition-ui), box-shadow var(--transition-ui);
}

body.pharmacymentor-child.page-template-content-template .blog-listing-section .blog-grids .grid:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

body.pharmacymentor-child.page-template-content-template .blog-listing-section .img-holder img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

body.pharmacymentor-child.page-template-content-template .blog-listing-section .grid .details {
  padding: 22px 22px 24px;
  background: var(--color-white);
  box-shadow: none;
}

body.pharmacymentor-child.page-template-content-template .blog-listing-section .details h2 {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.35;
  margin: 0 0 0.5rem;
}

body.pharmacymentor-child.page-template-content-template .blog-listing-section .details h2 a {
  color: var(--color-dark);
  text-decoration: none;
}

body.pharmacymentor-child.page-template-content-template .blog-listing-section .details h2 a:hover {
  color: var(--color-gold-dark);
}

body.pharmacymentor-child.page-template-content-template .blog-listing-section .posted_info {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem !important;
}

body.pharmacymentor-child.page-template-content-template .blog-listing-section .posted_author strong {
  color: var(--color-dark);
  font-weight: 600;
}

body.pharmacymentor-child.page-template-content-template .blog-listing-section .meta-info p,
body.pharmacymentor-child.page-template-content-template .blog-listing-section .excerpt {
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text-muted);
}

body.pharmacymentor-child.page-template-content-template .blog-listing-section .cta-block {
  margin-top: 1.25rem !important;
}

body.pharmacymentor-child.page-template-content-template .blog-listing-section a.theme-btn-outline {
  width: 100%;
  border-color: var(--color-gold) !important;
  border-width: 1.5px !important;
  color: var(--color-dark) !important;
  background: transparent !important;
}

body.pharmacymentor-child.page-template-content-template .blog-listing-section a.theme-btn-outline:hover {
  background: var(--color-gold) !important;
  border-color: var(--color-gold) !important;
  color: var(--color-dark) !important;
}

body.pharmacymentor-child.page-template-content-template .blog-listing-section .post-cat a {
  color: var(--color-gold-dark);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
}

/* Pagination */
body.pharmacymentor-child.page-template-content-template .page-numbers,
body.pharmacymentor-child.page-template-content-template .prev.page-numbers,
body.pharmacymentor-child.page-template-content-template .next.page-numbers {
  border-radius: var(--radius-pill) !important;
  font-family: var(--font-primary);
}

body.pharmacymentor-child.page-template-content-template .page-numbers.current,
body.pharmacymentor-child.page-template-content-template a.page-numbers:hover {
  background: var(--color-gold) !important;
  color: var(--color-dark) !important;
  border-color: var(--color-gold) !important;
}

@media (max-width: 767px) {
  body.pharmacymentor-child.page-template-content-template .page-banner .banner-image {
    margin-bottom: 1.5rem;
  }

  body.pharmacymentor-child.page-template-content-template .call-to-action {
    flex-direction: column;
    align-items: stretch;
  }

  body.pharmacymentor-child.page-template-content-template a[class*="theme-btn"] {
    width: 100%;
  }
}

/* ---------- USP / trust tagline bar (was white-on-cream — unreadable) ---------- */
body.pharmacymentor-child.page-template-content-template .tagline-slider {
  background: transparent !important;
  position: relative;
  z-index: 2;
  margin: 0 0 clamp(56px, 7vw, 96px);
  padding: 0.75rem 0 0.5rem;
}

body.pharmacymentor-child.page-template-content-template .tagline-slider .container.pull-top {
  margin-top: 0;
}

body.pharmacymentor-child.page-template-content-template .tagline-slider .tagline-carousel,
body.pharmacymentor-child.page-template-content-template .tagline-slider .tagline-carousel.theme-bg-gradient {
  background: var(--color-dark) !important;
  background-image: none !important;
  border-radius: var(--radius-lg);
  padding: 16px 18px !important;
  gap: 8px 16px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

body.pharmacymentor-child.page-template-content-template .tagline-slider .tagline-content {
  display: flex !important;
  align-items: center !important;
  gap: 14px;
  min-height: 72px;
  padding: 12px 10px !important;
}

body.pharmacymentor-child.page-template-content-template .tagline-slider .tagline-content img {
  width: 40px !important;
  height: 40px !important;
  max-width: 40px !important;
  margin: 0 !important;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

body.pharmacymentor-child.page-template-content-template .tagline-slider .short-info {
  flex: 1 1 auto;
  min-width: 0;
}

body.pharmacymentor-child.page-template-content-template .tagline-slider .short-info,
body.pharmacymentor-child.page-template-content-template .tagline-slider .short-info p,
body.pharmacymentor-child.page-template-content-template .tagline-slider .short-info span,
body.pharmacymentor-child.page-template-content-template .tagline-slider .short-info strong,
body.pharmacymentor-child.page-template-content-template .tagline-slider .short-info a,
body.pharmacymentor-child.page-template-content-template .tagline-slider .short-info * {
  color: #ffffff !important;
  background: transparent !important;
  background-color: transparent !important;
}

body.pharmacymentor-child.page-template-content-template .tagline-slider .short-info p {
  margin: 0 !important;
  font-family: var(--font-primary) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
}

body.pharmacymentor-child.page-template-content-template .tagline-slider .short-info p + p,
body.pharmacymentor-child.page-template-content-template .tagline-slider .short-info p:last-child:not(:only-child) {
  margin-top: 2px !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  opacity: 0.88;
}

/* Tablet + mobile: clear gap after Search buttons, no white seam */
@media (max-width: 1198px) {
  body.pharmacymentor-child.page-template-content-template .page-banner.banner-section-icon-list {
    padding-bottom: 48px;
  }

  body.pharmacymentor-child.page-template-content-template .page-banner .call-to-action {
    margin-top: 1.5rem !important;
    margin-bottom: 2.25rem !important;
  }

  body.pharmacymentor-child.page-template-content-template .tagline-slider {
    margin: 0 0 56px;
    padding: 0 0 8px;
    background: var(--color-cream) !important;
  }

  body.pharmacymentor-child.page-template-content-template .tagline-slider .tagline-carousel,
  body.pharmacymentor-child.page-template-content-template .tagline-slider .tagline-carousel.theme-bg-gradient {
    position: relative;
    padding: 22px 18px 28px !important;
    border-radius: 20px;
    overflow: hidden;
  }

  body.pharmacymentor-child.page-template-content-template .tagline-slider .tagline-content {
    min-height: 64px;
    padding: 8px 4px 16px !important;
  }

  /* Owl nav sits in flow under the slide, with breathing room */
  body.pharmacymentor-child.page-template-content-template .tagline-slider .owl-nav {
    position: static !important;
    display: flex !important;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    margin: 8px 0 0 !important;
    padding: 12px 4px 4px;
    height: auto !important;
    width: 100%;
  }

  body.pharmacymentor-child.page-template-content-template .tagline-slider .owl-nav [class*="owl-"] {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    font-size: 18px !important;
    line-height: 40px !important;
    text-align: center;
    box-shadow: none !important;
  }

  body.pharmacymentor-child.page-template-content-template .tagline-slider .owl-nav [class*="owl-"]:hover {
    background: var(--color-gold) !important;
    border-color: var(--color-gold) !important;
    color: var(--color-dark) !important;
  }

  body.pharmacymentor-child.page-template-content-template .tagline-slider .owl-dots {
    display: none !important;
  }
}

@media (max-width: 767px) {
  body.pharmacymentor-child.page-template-content-template .page-banner.banner-section-icon-list {
    padding: 32px 0 40px;
  }

  body.pharmacymentor-child.page-template-content-template .page-banner .call-to-action {
    margin-bottom: 2rem !important;
    gap: 10px;
  }

  /* Hide USP / trust tagline carousel on mobile */
  body.pharmacymentor-child.page-template-content-template .tagline-slider {
    display: none !important;
  }
}
