.hero {
    background: linear-gradient(#011623, #55757B);
    height: 90vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0px 0px 0px;
    box-sizing: border-box;
    position: relative;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    width: 100%;
    max-width: 1100px;
    padding-top: 140px;
}

.hero-text {
    max-width: 520px;
    text-align: left;
}

.hero-welcome {
    font-size: 30px;
    color: #cccccc;
    font-weight: 300;
}

.hero-title {
    font-size: 49px;
    font-weight: bold;
    margin: -30px 0px -15px 0px;
    text-shadow: 2px 2px 4px #0000003a;
}

.hero-subtitle {
    font-size: 21px;
    color: #cccccc;
    line-height: 1.35;
    font-weight: 300;
}

.hero-portrait img {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 4px solid #ffffff;
    box-shadow: 2px 2px 4px #0000003a;
    object-fit: cover;
}

.scroll-section {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scroll-arrow {
    width: 25px;
    height: auto;
    margin-bottom: 3px;
}

.scroll-down {
    font-size: 13px;
    color: #cccccc;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.favorites {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 0px 45px 0px;
    background-color: #0F2632;
    width: 100%;
    box-sizing: border-box;
}

.episode-heading .line1 {
    font-size: 25px;
    text-align: center;
    color: #cccccc;
    font-weight: 300;
    margin-bottom: -40px;
}

.episode-heading .line2 {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
    text-align: center;
}

.favorites-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    width: 100%;
    max-width: 950px;
    padding: 0 20px;
    box-sizing: border-box;
}

.episode-cover {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
}

.favorite-card h3 {
    margin: 10px 0px 6px 6px;
    font-size: 13px;
    font-weight: 300;
    color: #ffffff;
}

.favorite-card h2 {
    margin: 0px 0px 0px 6px;
    font-size: 15px;
    color: #ffffff;
    font-weight: 600;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.5em;
}

.favorite-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.radio-section {
    background-color: #4E6D73;
    padding: 30px 0px 20px 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 300; 
    font-size: 20px;
}

.radio-section img {
    width: 140px;
    height: 140px;
    box-shadow: 0px 4px 8px #00000025;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .hero {
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 0px 20px 40px 0px;
    }

    .hero-content {
        flex-direction: column-reverse;
        gap: 30px;
        padding-top: 100px;
    }

    .hero-text {
        margin-left: 0;
        max-width: 90%;
    }

    .hero-portrait img {
        width: 150px;
        height: 150px;
    }

    .hero-welcome {
        font-size: 22px;
    }

    .hero-title {
        font-size: 30px;
        padding: 10px 0px 10px 0px
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .episode-heading .line1 {
        font-size: 20px;
        text-align: center;
    }

    .episode-heading .line2 {
        font-size: 35px;
    }

    .favorites-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        max-width: 95%;
        padding: 0 10px;
    }

    .favorite-card h2 {
        font-size: 12px;
        min-height: 2.5em;
    }

    .favorite-card h3 {
        font-size: 10px;
    }

    .radio-section {
        font-size: 16px;
        padding: 30px;
        text-align: center;
    }

    .scroll-section {
        bottom: 130px;
    }
}