/**
 * CPR Certification Options page — supplemental layout
 * Requires: body.home-redesign.bls-page.cpr-options-page
 * Load after custom.css and bls-page.css
 */

/* --- Hero (copy left, book cover right) --- */
.cpr-options-page .bls-hero-image-frame {
  max-width: min(100%, 300px);
}

/* --- Callout boxes --- */
.cpr-options-page .cpr-callout-wrap {
  background: #fff;
  padding: 0 24px;
}

.cpr-options-page .cpr-callout {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  border-radius: 14px;
  border: 1px solid #e5e9f0;
  line-height: 1.6;
}

.cpr-options-page .cpr-callout .bi {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.cpr-options-page .cpr-callout p {
  margin: 0;
  color: #24324a;
  font-size: 0.97rem;
}

.cpr-options-page .cpr-callout--warn {
  background: #fff7ed;
  border-color: #fed7aa;
}

.cpr-options-page .cpr-callout--warn .bi {
  color: #c2410c;
}

.cpr-options-page .cpr-callout--info {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.cpr-options-page .cpr-callout--info .bi {
  color: #064ea8;
}

.cpr-options-page .cpr-callout-top {
  padding-top: 32px;
}

/* --- Comparison cards --- */
.cpr-options-page .cpr-options-compare {
  padding: 48px 0 56px;
  background: #fff;
}

.cpr-options-page .cpr-options-head {
  max-width: 760px;
  margin: 0 auto 32px;
  padding: 0 24px;
  text-align: center;
}

.cpr-options-page .cpr-options-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #071a2f;
  margin: 0 0 12px;
  font-family: "Montserrat", "Inter", Arial, sans-serif !important;
}

.cpr-options-page .cpr-options-head p {
  color: #5b6470;
  line-height: 1.65;
  margin: 0;
}

.cpr-options-page .cpr-options-grid {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
  justify-content: center;
}

.cpr-options-page .cpr-option-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(7, 20, 41, 0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(7, 17, 31, 0.08);
}

.cpr-options-page .cpr-option-card--featured {
  border-color: #064ea8;
  box-shadow: 0 16px 38px rgba(6, 78, 168, 0.18);
}

.cpr-options-page .cpr-option-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #f1f5fb 0%, #e2e8f0 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #64748b;
  text-align: center;
  padding: 12px;
  border-bottom: 1px solid #e5e9f0;
}

.cpr-options-page .cpr-option-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.cpr-options-page .cpr-option-thumb--card {
  background: #fff;
  padding: 14px;
}

.cpr-options-page .cpr-option-thumb .bi {
  font-size: 2rem;
}

.cpr-options-page .cpr-option-thumb span {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.cpr-options-page .cpr-option-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #064ea8;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
}

.cpr-options-page .cpr-option-badge--value {
  background: #d71920;
}

.cpr-options-page .cpr-option-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 20px 24px;
}

.cpr-options-page .cpr-option-body h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #071a2f;
  margin: 0 0 12px;
  font-family: "Montserrat", "Inter", Arial, sans-serif !important;
}

.cpr-options-page .cpr-option-price {
  font-size: 1.9rem;
  font-weight: 800;
  color: #064ea8;
  line-height: 1;
  margin: 0 0 4px;
}

.cpr-options-page .cpr-option-price small {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5b6470;
  margin-bottom: 4px;
}

.cpr-options-page .cpr-option-breakdown {
  font-size: 0.85rem;
  color: #5b6470;
  margin: 0 0 16px;
}

.cpr-options-page .cpr-option-bestfor {
  font-size: 0.9rem;
  color: #24324a;
  line-height: 1.55;
  margin: 0 0 20px;
}

.cpr-options-page .cpr-option-bestfor strong {
  color: #071a2f;
}

.cpr-options-page .cpr-option-card .home-btn {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

/* --- Pricing table --- */
.cpr-options-page .cpr-pricing-wrap {
  padding: 56px 0;
  background: #f6f8fb;
}

.cpr-options-page .cpr-pricing-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.cpr-options-page .cpr-pricing-inner h2 {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #071a2f;
  margin: 0 0 24px;
  font-family: "Montserrat", "Inter", Arial, sans-serif !important;
}

.cpr-options-page .cpr-pricing-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 14px;
  border: 1px solid #e5e9f0;
  box-shadow: 0 12px 28px rgba(7, 17, 31, 0.06);
  background: #fff;
}

.cpr-options-page .cpr-pricing-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.cpr-options-page .cpr-pricing-table th,
.cpr-options-page .cpr-pricing-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid #eef2f7;
  font-size: 0.92rem;
}

.cpr-options-page .cpr-pricing-table thead th {
  background: #071a2f;
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cpr-options-page .cpr-pricing-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.cpr-options-page .cpr-pricing-table tbody td:first-child {
  font-weight: 700;
  color: #071a2f;
}

.cpr-options-page .cpr-pricing-table td.cpr-total {
  font-weight: 800;
  color: #064ea8;
  white-space: nowrap;
}

.cpr-options-page .cpr-pricing-note {
  margin: 16px 0 0;
  font-size: 0.85rem;
  color: #5b6470;
  text-align: center;
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .cpr-options-page .cpr-options-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .cpr-options-page .cpr-options-grid {
    grid-template-columns: 1fr;
  }

  .cpr-options-page .cpr-callout {
    flex-direction: column;
    gap: 10px;
  }
}
