*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
}

html,
body {
    color: #333;
    font-family: system-ui, sans-serif;
    font-weight: normal;
    line-height: 1.6;
    height: 100%;
    background: #f9f9f9;
    padding: 0;
    margin: 0;
}

/* Header */
header {
    background-color: #1e569f;
    color: #fff;
    padding: 1.2rem 1rem;
}

header>div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem 0 0;
}

.branding {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
}

.branding:hover {
    text-decoration: none;
    color: #fff;
}

.branding h1 {
    font-size: 1.8rem;
    line-height: 1.1;
    margin: 0;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-left: 0;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

nav a:hover {
    text-decoration: underline;
}

/** Hero Section **/
#hero {
    background: url('/img/bgb.jpg') no-repeat center center;
    background-size: cover;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.hero-text {
    color: #333;
    font-size: 2rem;
    text-align: center;
    line-height: 1.3;
    font-weight: 500;
    max-width: 800px;
    /* letter-spacing: 1px; */

}


/* Main content */

main {
    margin: 2rem auto 8rem;
}

.container {
    max-width: 75rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

section {
    margin-bottom: 2rem;
}

section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1e569f;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Contact list */
.contact-list-item,
.card {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.contact-list-item+.contact-list-item,
.card+.card {
    margin-top: 1rem;
}

.region {
    color: #1e569f;
    font-size: 1rem;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.representatives {
    list-style: none;
    padding: 0;
    margin: 0;
}

.representatives li {
    display: inline-block;
}

.representatives a {
    display: inline-block;
    margin-right: 0.5rem;
    word-break: break-word;
}

/* Footer */
footer {
    background-color: #1e569f;
    color: #fff;
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
}

#faq h3 {
    color: #1e569f;
}

/* Recent Additions Section */
.recent-additions-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
}

.recent-addition-item {
    flex: 1;
    min-width: 300px;
    /* background: #fff; */
    /* border-radius: 8px; */
    /* box-shadow: 0 1px 3px rgba(44, 40, 61, 0.1); */
    overflow: hidden;
    transition: all 0.3s ease;
    text-align: center;
    line-height: 1.2;
}

.recent-addition-item:hover {
    /* box-shadow: 0 4px 16px rgba(44, 40, 61, 0.25); */
}

.recent-addition-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    margin-bottom: 1rem;
    background-color: #000;
}

.recent-addition-thumbnail iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

.recent-addition-info {
    padding: 0 1rem 1rem;
}

.recent-addition-title {
    font-size: 1.2rem;
    color: #1e569f;
    color: #777;
    margin: 0.5rem 0 0.5rem 0;
}

.recent-addition-description {
    color: #777;
    line-height: 1.5;
    margin-top: 0.5rem;
}

.recent-addition-category {
    color: #777;
}


.recent-addition-description a{
    color: #303133;
    text-decoration: underline;
}

.recent-addition-description a:hover{
    color: #3e86c9;
}

.recent-addition-links {
    margin-top: 0.75rem;
}

.outline-btn {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    border: 1px solid #1e569f;
    border-radius: 4px;
    color: #1e569f;
    text-decoration: none;
    margin-top: auto;
    align-self: flex-start;
    margin-bottom: 0.5rem;
}

.outline-btn:hover {
    background-color: #1e569f;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hover-imdb:hover {
    background-color: #f5c518;
    border-color: #f5c518;
    color: #000;
}

.hover-yt:hover {
    background-color: #ff0000;
    border-color: #ff0000;
    color: #fff;
}

.hover-spotify:hover {
    background-color: #1ed760;
    border-color: #1ed760;
    color: #000;
}

@media (max-width: 800px) {
    header>div {
        padding: 0 1rem;
        flex-direction: column;
    }

    .branding {
        flex-direction: column;
    }

    header h1 {
        font-size: 1.5rem;
    }

    nav ul {
        align-items: baseline;
    }


    #hero {
        height: 200px;
    }

    .hero-text {
        font-size: 1.5rem;
    }


    section h2 {
        font-size: 1.3rem;
    }

    .contact-list-item {
        padding: 0.75rem;
    }

    .recent-additions-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .recent-addition-item {
        min-width: 100%;
    }

}