/* Compatibility wrapper for page-level Academy topic styling */
.academy-certification-topics.temops-cert-selector { width: 100%; }

.temops-cert-selector{
    --b:#2548f4;--b2:#0b73ff;--soft:#eaf2ff;--muted:#667085;
    max-width:1180px;margin:0 auto;padding:56px 20px;color:#111827;font-family:inherit
}
.temops-cert-header{text-align:center;margin-bottom:34px}
.temops-pill{display:inline-flex;padding:9px 18px;margin-bottom:16px;border:1px solid #adc2ff;border-radius:999px;background:#eef3ff;color:var(--b);font-weight:500}
.temops-cert-header h2{margin:0 0 10px;font-size:clamp(2rem,4vw,3.25rem);line-height:1.08;font-weight:500}
.temops-cert-header h2 em{color:var(--b);font-style:italic}
.temops-cert-header p{margin:0;color:var(--muted);font-size:18px}

.temops-pathway-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:18px}
.temops-pathway-card{position:relative;display:grid;grid-template-columns:92px 1fr;gap:8px 16px;align-items:center;min-height:136px;padding:18px 20px;border:1px solid transparent;border-radius:18px;background:#eaf2ff;text-align:left;cursor:pointer;transition:.18s}
.temops-pathway-card .temops-tab-figure{grid-row:1/span 2;display:flex;align-items:center;justify-content:center;width:82px;height:82px}
.temops-pathway-card .temops-tab-figure img{display:block;width:82px;height:82px;object-fit:contain}
.temops-pathway-card strong{font-size:17px;line-height:1.25}
.temops-pathway-card small{color:var(--muted);font-size:14px;line-height:1.4}
.temops-pathway-card.is-active{border-color:var(--b2);background:#fff;box-shadow:0 18px 40px rgba(37,72,244,.12)}
.temops-practitioner-card{background:#eaf2ff}
.temops-specialist-card{background:#f1f6ff}

.temops-full-pathway-card{
    width:100%;display:grid;grid-template-columns:140px 1fr;gap:8px 22px;align-items:center;
    margin:0 0 24px;padding:24px 28px;border:1px solid #9db7ff;border-radius:22px;
    background:linear-gradient(135deg,#0f2f95 0%,#2548f4 46%,#54a5ff 100%);
    color:#fff;text-align:left;cursor:pointer;box-shadow:0 22px 52px rgba(37,72,244,.22);transition:.18s
}
.temops-full-pathway-card:hover{transform:translateY(-2px)}
.temops-full-pathway-card.is-active{box-shadow:0 24px 60px rgba(37,72,244,.34);outline:3px solid rgba(37,72,244,.18)}
.temops-full-kicker{
    grid-row:1/span 2;display:inline-flex;align-items:center;justify-content:center;
    min-height:42px;padding:9px 14px;border-radius:999px;background:rgba(255,255,255,.16);
    border:1px solid rgba(255,255,255,.32);font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.05em
}
.temops-full-pathway-card strong{display:block;font-size:24px;line-height:1.15}
.temops-full-pathway-card small{display:block;color:rgba(255,255,255,.86);font-size:15px;line-height:1.45}

.temops-selected-summary{margin:0 0 24px;padding:24px;border-radius:22px;background:#edf4f8;text-align:center}
.temops-selected-summary h3{margin:0 0 8px;font-size:28px;font-weight:500;font-style:italic}
.temops-selected-summary p{margin:0;color:var(--muted);font-size:17px}
.temops-course-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:13px;padding:24px;border:1px solid #dbe7ff;border-radius:22px;background:#fff;margin-bottom:24px}
.temops-course{min-height:56px;padding:17px 20px;border:1px solid transparent;border-radius:14px;background:var(--soft);font-size:15px;font-weight:700;font-style:italic;text-align:left;cursor:pointer;transition:.18s}
.temops-course.is-included{background:#dfeaff;border-color:#b9ceff;opacity:1}
.temops-course.is-selected,.temops-course.is-included:hover{background:var(--b);color:#fff;border-color:var(--b);box-shadow:0 14px 30px rgba(37,72,244,.18)}
.temops-course:not(.is-included){opacity:.45}
.temops-topic-table{overflow:hidden;border-radius:18px;background:#fff;box-shadow:0 0 0 1px #eef2f7;margin-bottom:24px}
.temops-topic-row{display:grid;grid-template-columns:1fr 180px;align-items:center;min-height:74px;border-bottom:1px solid #edf1f7}
.temops-topic-row:last-child{border-bottom:0}
.temops-topic-row>div{padding:18px 20px;color:var(--muted);font-size:15px;line-height:1.35;font-style:italic}
.temops-topic-head{background:var(--b)}
.temops-topic-head>div{color:#fff;font-weight:800}
.temops-check{display:inline-flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:999px;background:#0876ff;color:#fff;font-weight:800}

.temops-enroll-cta{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 24px;border-radius:20px;background:linear-gradient(135deg,#eef5ff 0%,#ffffff 100%);border:1px solid #b9ceff;box-shadow:0 16px 38px rgba(37,72,244,.10)}
.temops-enroll-label{display:block;margin-bottom:4px;color:var(--muted);font-size:15px;font-weight:600}
.temops-enroll-cta strong{display:block;color:#111827;font-size:28px;line-height:1.15}
.temops-enroll-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:52px;padding:0 24px;border-radius:14px;background:var(--b);color:#fff!important;text-decoration:none!important;font-weight:700;white-space:nowrap;transition:.18s}
.temops-enroll-button:hover{background:#1238d4;transform:translateY(-1px)}

@media(max-width:980px){.temops-pathway-tabs{grid-template-columns:repeat(2,1fr)}}
@media(max-width:860px){
    .temops-pathway-tabs,.temops-course-grid{grid-template-columns:1fr}
    .temops-topic-row{grid-template-columns:1fr 80px}
    .temops-pathway-card{grid-template-columns:72px 1fr;min-height:auto}
    .temops-pathway-card .temops-tab-figure{width:64px;height:64px}
    .temops-pathway-card .temops-tab-figure img{width:64px;height:64px}
    .temops-full-pathway-card{grid-template-columns:1fr;gap:10px;text-align:center}
    .temops-full-kicker{grid-row:auto;justify-self:center}
    .temops-enroll-cta{flex-direction:column;text-align:center;align-items:stretch}
    .temops-enroll-button{width:100%}
}


/* v2.0 polish: keep full pathway bar text readable against gradient */
.temops-full-pathway-card,
.temops-full-pathway-card strong,
.temops-full-pathway-card small,
.temops-full-pathway-card .temops-full-kicker {
    color: #ffffff !important;
}

.temops-full-pathway-card strong {
    opacity: 1 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,.18);
}

.temops-full-pathway-card small {
    opacity: .95 !important;
}

/* v2.0 selected course title in topic header */
.temops-topic-head > div:first-child {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.temops-topic-head [data-selected-course-title] {
    display: block;
    color: #ffffff !important;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 600;
    font-style: normal;
    opacity: .9;
}


/* v2.1 credential outcome details */
.temops-selected-summary .temops-cert-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 20px;
    text-align: left;
}

.temops-selected-summary .temops-cert-detail {
    padding: 16px 18px;
    border: 1px solid #dbe7ff;
    border-radius: 16px;
    background: #ffffff;
}

.temops-selected-summary .temops-cert-detail span {
    display: block;
    margin-bottom: 6px;
    color: #2548f4;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
    font-style: normal;
}

.temops-selected-summary .temops-cert-detail p {
    margin: 0 !important;
    color: #667085;
    font-size: 15px;
    line-height: 1.45;
    font-style: normal;
}

@media(max-width:860px) {
    .temops-selected-summary .temops-cert-detail-grid {
        grid-template-columns: 1fr;
    }
}


/* v2.3 CTA control */
.temops-enroll-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  z-index: 9999;
  pointer-events: auto !important;
}

.temops-enroll-actions a,
.temops-enroll-button,
.temops-ask-button {
  pointer-events: auto !important;
  cursor: pointer !important;
  position: relative;
  z-index: 10000;
  text-decoration: none !important;
}

.temops-ask-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 16px;
  font-weight: 800;
  background: #eaf0ff;
  color: #2A41F1 !important;
}

@media (max-width: 760px) {
  .temops-enroll-actions {
    justify-content: flex-start;
  }
}


/* v2.4 signup CTA fix */
.temops-enroll-button,
.temops-ask-button {
  pointer-events: auto !important;
  cursor: pointer !important;
}


/* v2.5 Complete Bundle pricing */
.temops-complete-pathway-card {
  background: linear-gradient(135deg, #071033 0%, #2A41F1 100%) !important;
  color: #fff !important;
  border-color: rgba(42, 65, 241, 0.45) !important;
}
.temops-complete-pathway-card small,
.temops-complete-pathway-card strong,
.temops-complete-pathway-card .temops-full-kicker {
  color: #fff !important;
}
