/* ============================================================
   Selective Entry Page — Teal/Emerald Theme
   Extends vce_subject_page.css base classes
   ============================================================ */

/* ---- Hero (teal override) ---- */
.se-hero {
    background: linear-gradient(135deg, #134e4a 0%, #0f766e 60%, #0d9488 100%);
    color: white;
    padding: 72px 24px 56px;
    text-align: center;
}
.se-hero__badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    padding: 4px 16px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    text-transform: uppercase;
}
.se-hero__icon {
    font-size: 52px;
    margin-bottom: 16px;
    display: block;
}
.se-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}
.se-hero__subtitle {
    font-size: 1.15rem;
    opacity: 0.88;
    max-width: 640px;
    margin: 0 auto 32px;
    line-height: 1.6;
}
.se-hero__ctas {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Stats bar teal accent override */
.subject-stats .subject-stat i[style*="0f766e"],
.subject-stats .subject-stat i[style*="0d9488"] {
    color: #0f766e;
}

/* ---- Schools Grid ---- */
.se-schools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 28px;
}
.se-school-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: box-shadow 0.15s, transform 0.15s;
}
.se-school-card:hover {
    box-shadow: 0 8px 28px rgba(15,118,110,0.12);
    transform: translateY(-2px);
}
.se-school-card__header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
}
.se-school-card__header--blue  { background: #dbeafe; }
.se-school-card__header--pink  { background: #fce7f3; }
.se-school-card__header--green { background: #d1fae5; }
.se-school-card__header--amber { background: #fef3c7; }
.se-school-card__emoji {
    font-size: 2rem;
    flex-shrink: 0;
}
.se-school-card__name {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.3;
}
.se-school-card__type {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 2px;
    font-weight: 500;
}
.se-school-card__desc {
    padding: 16px 20px 8px;
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.65;
    margin: 0;
}
.se-school-card__tags {
    padding: 4px 20px 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* ---- Assessment Criteria ---- */
.se-criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 24px;
}
.se-criterion {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: white;
    border: 1px solid #f3f4f6;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.se-criterion__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}
.se-criterion h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 6px;
}
.se-criterion p {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.55;
    margin: 0;
}

/* ---- Timeline ---- */
.se-timeline {
    margin-top: 28px;
    position: relative;
    padding-left: 36px;
}
.se-timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: #ccfbf1;
}
.se-timeline-step {
    position: relative;
    margin-bottom: 32px;
    padding-left: 20px;
}
.se-timeline-step:last-child {
    margin-bottom: 0;
}
.se-timeline-step__dot {
    position: absolute;
    left: -36px;
    top: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 2px #0f766e;
}
.se-timeline-step__dot--1 { background: #0f766e; }
.se-timeline-step__dot--2 { background: #0f766e; }
.se-timeline-step__dot--3 { background: #f59e0b; }
.se-timeline-step__dot--4 { background: #4f46e5; }
.se-timeline-step__dot--5 { background: #059669; }
.se-timeline-step__period {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #0f766e;
    margin-bottom: 4px;
}
.se-timeline-step h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 6px;
}
.se-timeline-step p {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.65;
    margin: 0;
}

/* ---- How Excelerate Helps ---- */
.se-help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 28px;
}
.se-help-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    position: relative;
    transition: box-shadow 0.15s;
}
.se-help-card:hover {
    box-shadow: 0 6px 20px rgba(15,118,110,0.1);
}
.se-help-card__num {
    font-size: 2rem;
    font-weight: 800;
    color: #ccfbf1;
    line-height: 1;
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
}
.se-help-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 8px;
}
.se-help-card p {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.65;
    margin: 0;
}

/* ---- Newhome section — Selective Entry banner ---- */
.v2-selective-entry {
    margin: 2rem 0;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #134e4a 0%, #0f766e 60%, #14b8a6 100%);
    box-shadow: 0 8px 32px rgba(15,118,110,0.2);
    padding: 2.5rem;
    color: white;
}
.v2-selective-entry__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.v2-selective-entry__title-block {}
.v2-selective-entry__eyebrow {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    padding: 3px 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.v2-selective-entry h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
    line-height: 1.2;
}
.v2-selective-entry__subtitle {
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
    line-height: 1.55;
    max-width: 520px;
    margin: 0;
}
.v2-selective-entry__cta-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    flex-shrink: 0;
}
.v2-se-btn-primary {
    background: white;
    color: #0f766e;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.15s, box-shadow 0.15s;
    white-space: nowrap;
}
.v2-se-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    color: #065f46;
    text-decoration: none;
}
.v2-se-btn-secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 2px solid rgba(255,255,255,0.35);
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.15s;
    white-space: nowrap;
}
.v2-se-btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    color: white;
    text-decoration: none;
}

/* School mini-cards inside newhome section */
.v2-se-schools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-bottom: 1.5rem;
}
.v2-se-school {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    padding: 14px 16px;
    backdrop-filter: blur(8px);
    display: flex;
    gap: 10px;
    align-items: center;
}
.v2-se-school__emoji {
    font-size: 1.4rem;
    flex-shrink: 0;
}
.v2-se-school__name {
    font-size: 0.875rem;
    font-weight: 700;
    color: white;
    line-height: 1.3;
}
.v2-se-school__detail {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    margin-top: 2px;
}

/* Exam component pills inside newhome section */
.v2-se-components {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.v2-se-component {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}
.v2-se-components__label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.65);
    font-weight: 500;
    margin-right: 4px;
}

@media (max-width: 640px) {
    .v2-selective-entry { padding: 1.5rem; }
    .v2-selective-entry h2 { font-size: 1.4rem; }
    .v2-selective-entry__header { flex-direction: column; gap: 1.25rem; }
    .v2-selective-entry__cta-block { flex-direction: row; flex-wrap: wrap; }
    .se-schools-grid { grid-template-columns: 1fr; }
    .se-timeline { padding-left: 28px; }
    .se-timeline-step__dot { left: -28px; }
    .se-hero { padding: 48px 16px 40px; }
}
