:root {
    --color-primary: #082B6A;
    --color-accent: #7FA79C;
    --color-bg: #F7F6F3;
    --color-text: #1B1F2A;
}

.season-hero {
    padding: 96px 24px 48px;
    text-align: center;
    background: linear-gradient(
        180deg,
        rgba(8,43,106,0.06),
        rgba(127,167,156,0.04)
    );
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.season-hero h1 {
    font-size: 4.8rem;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.season-hero p {
    max-width: 720px;
    margin: auto;
    font-size: 1.8rem;
    color: #4b5563;
    line-height: 1.7;
}

.episode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px,1fr));
    gap: 32px;
    padding: 64px 24px 96px;
}

.episode-card {
    max-width: 420px;
    margin: auto;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 4px 20px rgba(0,0,0,0.05),
        0 1px 3px rgba(0,0,0,0.04);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.episode-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 10px 30px rgba(0,0,0,0.08),
        0 2px 6px rgba(0,0,0,0.05);
}

.episode-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.episode-card h2 {
    font-size: 2.2rem;
    padding: 24px 24px 12px;
    line-height: 1.3;
}

.episode-card h2 a {
    color: var(--color-primary);
    text-decoration: none;
}

.episode-card p {
    padding: 0 24px;
    color: #4b5563;
    line-height: 1.7;
}

.episode-card .gh-button {
    display: inline-block;
    margin: 24px;
    padding: 12px 20px;
    border-radius: 999px;

    background: var(--color-primary);
    color: white;

    text-decoration: none;
    font-weight: 600;

    transition: opacity 0.2s ease;
}

.episode-card .gh-button:hover {
    opacity: 0.9;
}

.episode-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.episode-card h2 {
    min-height: 2.8em;
}

.episode-card p {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;

    overflow: hidden;
    text-overflow: ellipsis;

    line-height: 1.7;
    min-height: 8.5em;
}

.episode-card .gh-button {
    margin-top: auto;
    width: fit-content;
}
