
.home-page .sections-container {
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
}

.home-page h1.section-title {
    text-align: center;
}

.home-page .sections-container > *{
    width: 100%;
}

.home-page .sections-container .spacing-section-1 {
    height: 120px;
}

.home-page .sections-container .spacing-section-2 {
    height: 30vh;
    min-height: 200px;
}

.home-page .sections-container .title-section {
    padding: 2rem 0 4rem;
}
@media (max-width: 1080px) {
    .home-page .sections-container .title-section {
        text-align: center;
    }
}




/* -------------------- Hero section -------------------- */

.home-page .hero-section-el {
    height: 85vh;
    min-height: 600px;
    max-height: 1000px;
}
@media (max-width: 1350px) {
    .home-page .hero-section-el {
        min-height: 500px;
        max-height: 900px;
    }
}
@media (max-width: 1080px) {
    .home-page div.hero-section-el {
        width: 100%;
        height: auto;
        min-height: unset;
        max-height: unset;
    }
}

.home-page .hero-section-el * {
    /* making sure the last container 
    (img-container or txt-container) 
    takes the whole space */
    height: 100%;
}

.home-page .hero-photo-section {
    width: 25%;
}
@media (max-width: 1080px) {
    .home-page .hero-photo-section {
        width: 20%;
    }
}

.home-page .hero-photo-section .img-container {
    display: flex;
}
@media (max-width: 1080px) {
    .home-page .hero-photo-section .img-container  {
        justify-content: center;
        align-items: center;
        width: 20vh;
        max-width: 200px;
        min-width: 100px;
        height: 20vh;
        max-height: 200px;
        min-height: 100px;
        overflow: hidden;
        margin: 7vh auto 7vh;
        border-radius: 50%;
    }
}

.home-page .hero-photo-section img {
    width: auto;
    height: 250px;
    margin: auto;
    opacity: .9;
}
@media (max-width: 1350px) {
    .home-page .hero-photo-section img {
        height: 230px;
    }
}
@media (max-width: 1080px) {
    .home-page .hero-photo-section img {
        height: 180px;
    }
}
@media (max-width: 1080px) {
    .home-page .hero-photo-section img {
        height: auto;
        width: 100%;
        margin: 0;
        margin-top: 1rem;
    }
}

.home-page .hero-text-section {
    width: 75%;
}
@media (max-width: 1080px) {
    .home-page .hero-text-section {
        width: 80%;
        padding-left: 2rem;
    }
}
@media (max-width: 1080px) {
    .home-page .hero-text-section {
        padding-left: 0;
    }
}

.home-page .hero-text-section .txt-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}
@media (max-width: 1350px) {
    .home-page .hero-text-section .txt-container  {
        max-width: 700px;
    }
}

.home-page .hero-text-section .txt-container * {
    /* cancels the effect of  
    '.home-page .grid-hero-cell * {height: 100%}'
    */
    height: auto;
}

.home-page .hero-text-section .txt-container h2 {
    margin-top: 3rem; /* adds an offset on top */
    margin-bottom: 3rem;
    text-align: left;
    font-family: inherit;

    /* custom title style */
    font-size: 1.9rem;
    line-height: 1;
    letter-spacing: 0;
    color: var(--color-text-emphasis);
}
@media (max-width:1350px) {
    .home-page .hero-text-section .txt-container h2 {
        font-size: 1.5rem; /* custom title style */
    }
}
@media (max-width: 1080px) {
    .home-page .hero-text-section .txt-container h2  {
        margin-top: 0; /* adds an offset on top */
        margin-bottom: 1rem;

        text-align: justify;
        font-size: 1rem;
        font-weight: 700;
        font-family: inherit;
        letter-spacing: inherit;
        line-height: inherit;
        color: inherit;
        opacity: .8;
    }
}
@media (max-width: 1080px) and (prefers-color-scheme: dark) {
    .home-page .hero-text-section .txt-container h2 {
        opacity: 1;
    }
}

.home-page .hero-text-section .summary {
    text-align: justify;
}

.home-page .hero-text-section .summary strong {
    font-weight: inherit;
}

.home-page .hero-text-section .cta-container {
    align-self: flex-end;
}


/* -------------------- Featured section -------------------- */

.home-page .featured-section {
    position: relative;
}


.home-page .featured-section-1 {
    /* because we use featured-section-2 to manually set the height of the section 
    so it ends up covering it all */
    z-index: 2;
    height: 0;
}

.home-page .featured-section-2 {
    /* Dynamically calc height adjusting for 16/9 video height (for 48% width) */
    height: calc(815px + (48vw*(9/16)));
}
@media (max-width: 1080px) {
    .home-page .featured-section-2 {
        height:  calc(2121px + (98vw*(9/16))*2);/* Dynamically calc 16/9 video height */;
    }
}

.home-page iframe.soundcloud {
    height: 115px;
}

.home-page iframe.bandcamp{
    width: 100%;
    max-width: 700px; /* received interface can't get bigger */
    height: 605px;
}
@media (max-width: 1080px) {
    .home-page iframe.bandcamp{
        height: 690px;
    }
}

.home-page iframe.youtube{
    width: 100%;
    aspect-ratio: 16/9;
}

.home-page .featured-section .iframe-description-links {
    height: 16px;
    margin-top: 8px;
}
@media (max-width: 1080px) {
    .home-page .featured-section .iframe-description-links {
        height: 32px;
    }
}

.home-page .featured-section a {
    text-decoration: underline;
}

.home-page .featured-section .iframe-description {
    height: 50px;
    margin: 8px 0;
}
@media (max-width: 1080px) {
    .home-page .featured-section .iframe-description{
        height: 83px;
    }
}

.home-page .featured-section .soundcloud-1 {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    padding-left: 24px;
}
@media (max-width: 1080px) {
    .home-page .featured-section .soundcloud-1 {
        width: 100%;
        padding-left: 0;
    }
}

.home-page .featured-section .soundcloud-2 {
    position: absolute;
    top: 237px;
    right: 0;
    width: 60%;
    padding-left: 24px;
}
@media (max-width: 1080px) {
    .home-page .featured-section .soundcloud-2 {
        top: 342px;
        width: 100%;
        padding-left: 0;
    }
}

.home-page .featured-section .soundcloud-2-links {
    position: absolute;
    right: 0;
    top: 442px;
    width: 60%;
    height: 16px;
    padding-left: 24px;
    text-align: right;
}
@media (max-width: 1080px) {
    .home-page .featured-section .soundcloud-2-links {
        display: flex;
        align-items: end;
        top: 302px;
        width: 100%;
        height: 32px;
        padding-left: 0;
        text-align: left;
    }
}

.home-page .featured-section .soundcloud-3 {
    position: absolute;
    top: 490px;
    right: 0;
    width: 60%;
    padding-left: 24px;
}
@media (max-width: 1080px) {
    .home-page .featured-section .soundcloud-3 {
        top: 684px;
        width: 100%;
        padding-left: 0;
    }
}

.home-page .featured-section .soundcloud-3-links {
    position: absolute;
    right: 0;
    top: 647px;
    width: 60%;
    height: 16px;
    padding-left: 24px;
    text-align: right;
}
@media (max-width: 1080px) {
    .home-page .featured-section .soundcloud-3-links {
        display: flex;
        align-items: end;
        top: 644px;
        width: 100%;
        height: 32px;
        padding-left: 0;
        text-align: left;
    }
}

.home-page .featured-section .bandcamp-1 {
    position: absolute; 
    top: 0;
    left: 0;
    width: 40%;
}
@media (max-width: 1080px) {
    .home-page .featured-section .bandcamp-1 {
        top: 986px;
        width: 100%;
    }
}

.home-page .featured-section .bandcamp-1-links {
    position: absolute;
    left: 0;
    top: 647px;
    width: 40%;
    height: 16px;
    text-align: right;
}
@media (max-width: 1080px) {
    .home-page .featured-section .bandcamp-1-links {
        display: flex;
        align-items: end;
        top: 946px;
        width: 100%;
        height: 32px;
        text-align: left;
    }
}

.home-page .featured-section .youtube-1 {
    position: absolute;
    top: 735px;
    left: 0;
    width: 50%;
    padding-right: 12px;
}
@media (max-width: 1080px) {
    .home-page .featured-section .youtube-1 {
        top: 1863px;
        width: 100%;
        padding-right: 0;
    }
}

.home-page .featured-section .youtube-1-links {
    position: absolute;
    top: calc(791px + (48vw*(9/16))); /* Dynamically calc 16/9 video height (for 48% width)*/
    left: 0;
    width: 50%;
    height: 16px;
    padding-right: 12px;
    text-align: right;
}
@media (max-width: 1080px) {
    .home-page .featured-section .youtube-1-links {
        display: flex;
        align-items: end;
        top: 1823px;
        width: 100%;
        height: 32px;
        padding-right: 0;
        text-align: left;
    }
}

.home-page .featured-section .youtube-2 {
    position: absolute;
    top: 735px;
    right: 0;
    width: 50%;
    padding-left: 12px;
}
@media (max-width: 1080px) {
    .home-page .featured-section .youtube-2 {
        top: calc(2034px + (98vw*(9/16)));/* Dynamically calc 16/9 video height */;
        width: 100%;
        padding-left: 0;
    }
}

.home-page .featured-section .youtube-2-links {
    position: absolute;
    top: calc(791px + (48vw*(9/16))); /* Dynamically calc 16/9 video height (for 48% width)*/
    right: 0;
    width: 50%;
    height: 16px;
    padding-left: 12px;
    text-align: right;
}
@media (max-width: 1080px) {
    .home-page .featured-section .youtube-2-links {
        display: flex;
        align-items: end;
        top: calc(1994px + (98vw*(9/16)));/* Dynamically calc 16/9 video height */
        width: 100%;
        height: 32px;
        padding-left: 0;
        text-align: left;
    }
}

.home-page .featured-section-cta {
    display: flex;
    justify-content: center;
}

.home-page .featured-section-cta a {
    margin-top: 5rem;
}


/* -------------------- News section -------------------- */

.home-page .news-section .news-grid {
    display: grid;
    width: 100%;
    gap: 3rem;
    grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1450px) {
    .home-page .news-section .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 1080px) {
    .home-page .news-section .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 650px) {
    .home-page .news-section .news-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.home-page .news-section .article-card .summary {
    display: flex;
    flex-direction: column;
}

.home-page .news-section .article-card .time-stamp {
    margin-top: .7rem;
    opacity: .8;
}

.home-page .news-section .article-card .title-small {
    margin: .7rem 0;
}

.home-page .news-section .article-card .read-more {
    margin-top: 1rem;
    align-self: flex-end;
}