/**
 * BLS Provider Certification — page body layout
 * Requires: body.home-redesign.bls-page
 * Load after custom.css
 */

.bls-page main {
  overflow-x: hidden;
}

/* Ensure grids render even if legacy global CSS loads without course rules */
.bls-page .bls-hero-inner,
.bls-page .bls-feature-grid,
.bls-page .bls-course-grid,
.bls-page .bls-info-strip,
.bls-page .bls-testimonial-grid {
  display: grid !important;
}

.bls-page .bls-cta {
  display: flex !important;
}

/* --- Hero --- */
.bls-page .bls-hero {
  background: linear-gradient(90deg, #f8fafc 0%, #ffffff 55%, #eef2f7 100%);
  padding: 72px 0;
}

.bls-page .bls-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.bls-page .bls-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d71920;
  margin: 0 0 12px;
}

.bls-page .bls-hero h1 {
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: #071429;
  margin: 0 0 22px;
  font-family: "Montserrat", "Inter", Arial, sans-serif !important;
  font-weight: 800;
}

.bls-page .bls-hero-lead {
  font-size: 17px;
  line-height: 1.7;
  color: #24324a;
  max-width: 580px;
  margin: 0 0 20px;
}

.bls-page .bls-hero-trust {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bls-page .bls-hero-trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #07111f;
  font-size: 0.95rem;
}

.bls-page .bls-hero-trust .bi {
  color: #064ea8;
  font-size: 1.1rem;
}

.bls-page .bls-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.bls-page .bls-hero-actions .home-btn .bi {
  margin-right: 8px;
}

.bls-page .bls-hero-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #07111f;
  margin: 0;
}

.bls-page .bls-hero-stars {
  color: #ca8a04;
  letter-spacing: 2px;
}

.bls-page .bls-hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.bls-page .bls-hero-image-frame {
  max-width: min(100%, 320px);
  margin-left: auto;
  padding: 12px;
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border-radius: 16px;
  box-shadow: 0 20px 48px rgba(7, 26, 47, 0.12);
  border: 1px solid #e5e9f0;
}

.bls-page .bls-hero-image img {
  width: 100%;
  max-width: 430px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
  height: auto;
}

/* --- Feature cards --- */
.bls-page .bls-features {
  padding: 8px 0 56px;
  background: #fff;
}

.bls-page .bls-feature-grid {
  max-width: 1100px;
  margin: -34px auto 48px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  position: relative;
  z-index: 2;
}

.bls-page .bls-feature-card {
  background: #ffffff;
  border: 1px solid rgba(7, 20, 41, 0.08);
  border-radius: 18px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: 0 16px 35px rgba(7, 20, 41, 0.08);
}

.bls-page .bls-feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.35rem;
  color: #fff;
}

.bls-page .bls-feature-icon-red {
  background: linear-gradient(135deg, #d71920 0%, #991b1f 100%);
}

.bls-page .bls-feature-icon-blue {
  background: linear-gradient(135deg, #064ea8 0%, #043d7a 100%);
}

.bls-page .bls-feature-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #071a2f;
  margin: 0 0 10px;
  font-family: "Montserrat", "Inter", Arial, sans-serif !important;
}

.bls-page .bls-feature-card p {
  margin: 0;
  font-size: 0.92rem;
  color: #5b6470;
  line-height: 1.55;
}

/* --- Main course grid --- */
.bls-page .bls-course-section {
  padding: 64px 0;
  background: #f6f8fb;
}

.bls-page .bls-course-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.75fr;
  gap: 34px;
  align-items: start;
}

.bls-page .bls-course-image img {
  width: 100%;
  min-height: 280px;
  max-height: 380px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  box-shadow: 0 12px 28px rgba(7, 17, 31, 0.1);
  border: 1px solid #e5e9f0;
}

.bls-page .bls-learn h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: #071a2f;
  margin: 0 0 14px;
  font-family: "Montserrat", "Inter", Arial, sans-serif !important;
}

.bls-page .bls-learn-intro {
  color: #5b6470;
  margin-bottom: 18px;
  line-height: 1.6;
}

.bls-page .bls-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bls-page .bls-checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-weight: 500;
  color: #07111f;
  line-height: 1.45;
}

.bls-page .bls-checklist .bi {
  color: #d71920;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 1.1rem;
}

.bls-page .bls-price-card {
  background: #ffffff;
  border: 1px solid rgba(7, 20, 41, 0.1);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 16px 35px rgba(7, 20, 41, 0.08);
}

.bls-page .bls-price-card h2 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #071a2f;
  margin: 0 0 8px;
}

.bls-page .bls-price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: #064ea8;
  margin: 0 0 16px;
  line-height: 1;
}

.bls-page .bls-price-includes {
  font-weight: 700;
  font-size: 0.9rem;
  margin: 0 0 10px;
}

.bls-page .bls-price-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.bls-page .bls-price-list li {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.92rem;
}

.bls-page .bls-price-btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 14px;
}

.bls-page .bls-price-phone {
  text-align: center;
  margin: 0;
}

.bls-page .bls-price-phone a {
  font-weight: 700;
  color: #071a2f !important;
  text-decoration: none !important;
}

.bls-page .bls-price-phone a:hover {
  color: #d71920 !important;
  text-decoration: underline !important;
}

/* --- Info strip --- */
.bls-page .bls-info-wrap {
  padding: 0 0 48px;
  background: #f6f8fb;
}

.bls-page .bls-info-strip {
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  background: #eaf3ff;
  border-radius: 8px;
}

.bls-page .bls-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.bls-page .bls-info-item .bi {
  font-size: 1.75rem;
  color: #071a2f;
}

.bls-page .bls-info-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5b6470;
  margin: 0 0 4px;
}

.bls-page .bls-info-value {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: #071a2f;
}

/* --- Testimonials --- */
.bls-page .bls-testimonials {
  padding: 64px 0;
  background: #fff;
}

.bls-page .bls-testimonials .home-section-head {
  text-align: center;
  margin-bottom: 32px;
}

.bls-page .bls-testimonial-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bls-page .bls-testimonial-grid .home-testimonial-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  border: 1px solid #e5e9f0;
  box-shadow: 0 12px 28px rgba(7, 17, 31, 0.06);
  text-align: center;
}

.bls-page .bls-t-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #071a2f 0%, #064ea8 100%);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  border: 2px solid #e5e9f0;
}

/* --- FAQ --- */
.bls-page .bls-faq-section {
  background: #f4f7fb;
  padding: 56px 24px;
}

.bls-page .bls-faq-inner {
  max-width: 760px;
  margin: 0 auto;
}

.bls-page .bls-faq-inner .home-h2 {
  text-align: center;
  margin-bottom: 24px;
}

.bls-page .bls-faq-accordion .accordion-button {
  font-weight: 700;
  color: #071a2f;
}

.bls-page .bls-faq-accordion .accordion-button:not(.collapsed) {
  background: rgba(6, 78, 168, 0.08);
  color: #071a2f;
}

.bls-page .bls-faq-accordion .accordion-body {
  color: #5b6470;
  line-height: 1.6;
}

/* --- CTA --- */
.bls-page .bls-cta-wrap {
  padding: 48px 24px;
  background: #fff;
}

.bls-page .bls-cta {
  max-width: 880px;
  margin: 0 auto;
  padding: 24px 28px;
  background: #fff1f1;
  border: 1px solid #ffd8d8;
  border-radius: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.bls-page .bls-cta .home-cta-icon {
  font-size: 2.25rem;
  color: #d71920;
  flex-shrink: 0;
}

.bls-page .bls-cta-copy {
  flex: 1;
  min-width: 200px;
}

.bls-page .bls-cta-copy .home-cta-title {
  margin: 0 0 6px;
  font-size: 1.5rem;
  font-weight: 800;
}

.bls-page .bls-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* --- Footer policy spacing (BLS + shared footer) --- */
.bls-page .home-footer-floor-links-row,
.home-redesign .home-footer-floor-links-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 14px !important;
  margin-bottom: 24px !important;
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .bls-page .bls-hero-inner,
  .bls-page .bls-course-grid {
    grid-template-columns: 1fr;
  }

  .bls-page .bls-hero-image img {
    margin: 0 auto;
  }

  .bls-page .bls-hero-image-frame {
    margin: 0 auto;
  }

  .bls-page .bls-feature-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 32px;
  }

  .bls-page .bls-info-strip,
  .bls-page .bls-testimonial-grid {
    grid-template-columns: 1fr;
  }

  .bls-page .bls-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .bls-page .bls-cta-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .bls-page .bls-hero {
    padding: 44px 0;
  }

  .bls-page .bls-feature-grid {
    grid-template-columns: 1fr;
  }

  .bls-page .bls-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .bls-page .bls-hero-actions .home-btn {
    width: 100%;
    justify-content: center;
  }

  .bls-page .bls-course-section {
    padding: 48px 0;
  }
}
