/* ================================================================
   Become an Instructor — "Why iGurus" section
   External stylesheet (per request: new component CSS lives here,
   not inline/internal <style> blocks in the blade file).
   Reads the page's own --bi-* tokens defined in become-instructor.blade.php.

   Colored top-bar cards — same red/amber/green rotation as the
   Affiliate page's .igaf-step / .igaf-metric cards, kept to a flat
   white card + thin top bar (no icon-square color, no gradients).
================================================================ */

.bi-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.bi-why-card {
    position: relative;
    overflow: hidden;
    background: var(--bi-card, #FFFFFF);
    border: 1px solid var(--bi-border, #E8E0D5);
    border-radius: 12px;
    padding: 28px 24px;
    transition: box-shadow .18s, transform .18s;
}
.bi-why-card:hover { box-shadow: 0 6px 20px rgba(17,24,39,.08); transform: translateY(-2px); }
.bi-why-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
}
.bi-why-card:nth-child(3n+1)::before { background: transparent; }
.bi-why-card:nth-child(3n+2)::before { background: transparent; }
.bi-why-card:nth-child(3n+3)::before { background: transparent; }

.bi-why-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    margin-bottom: 16px;
    background: rgba(158,27,50,.08);
    color: var(--bi-crimson, #9E1B32);
}
.bi-why-card:nth-child(3n+1) .bi-why-icon { background: rgba(158,27,50,.08); color: var(--bi-crimson, #9E1B32); }
.bi-why-card:nth-child(3n+2) .bi-why-icon { background: rgba(158,27,50,.08); color: var(--bi-crimson, #9E1B32); }
.bi-why-card:nth-child(3n+3) .bi-why-icon { background: rgba(158,27,50,.08); color: var(--bi-crimson, #9E1B32); }

.bi-why-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--bi-ink, #1C1714);
    margin: 0 0 8px;
}

.bi-why-card p {
    font-size: 14px;
    color: var(--bi-muted, #8E847C);
    line-height: 1.6;
    margin: 0 0 16px;
}

.bi-why-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bi-why-list li {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 13px;
    color: var(--bi-body, #4A4441);
    line-height: 1.5;
}

.bi-why-list li::before {
    content: '—';
    flex-shrink: 0;
    color: var(--bi-crimson, #9E1B32);
}

@media (max-width: 1024px) {
    .bi-why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .bi-why-grid { grid-template-columns: 1fr; }
}
