/* E-app overrides & page layout */

.hero_wrapper {
    padding-bottom: 80px;
}

.action--secondary {
    background: #fff;
    color: #1E1E1E;
    border: 2px solid #FF7101;
    height: 52px;
    padding: 0 28px;
    font-size: 16px;
}

.action--secondary:hover {
    background: #FFF5EE;
    color: #FF7101;
}

.home-hero-actions {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.home-section__label {
    margin: 0 0 14px;
    color: #5a5a5a;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.home-courses {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.home-course-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px 22px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(30, 30, 30, 0.08);
    box-shadow: 0 4px 20px rgba(30, 30, 30, 0.06);
    text-decoration: none;
    color: #1E1E1E;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-course-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 113, 1, 0.35);
    box-shadow: 0 8px 28px rgba(255, 113, 1, 0.12);
    text-decoration: none;
    color: #1E1E1E;
}

.home-course-card__grade {
    color: #FF7101;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.home-course-card__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
}

.home-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.home-video-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-video-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(30, 30, 30, 0.08);
    text-decoration: none;
    color: #1E1E1E;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.home-video-link:hover {
    background: #fff;
    border-color: rgba(255, 113, 1, 0.3);
    text-decoration: none;
    color: #1E1E1E;
}

.home-video-link__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #FF7101;
    color: #fff;
    font-size: 12px;
}

.home-video-link__icon--external {
    font-size: 16px;
    line-height: 1;
}

@media (max-width: 600px) {
    .hero_wrapper {
        padding-bottom: 60px;
    }

    .home-courses {
        grid-template-columns: 1fr;
    }

    .home-actions-row .action,
    .home-actions-row .action--secondary {
        width: 100%;
    }
}
