/* Layout */
.title-container {
    text-align: center;
    padding: 40px 0 20px 0;
}

.influential-shows-header {
    font-family: 'Cormorant Garamond', serif;
    font-size: 35px;
    font-weight: 300;
    margin-bottom: 10px;
    text-decoration: none;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #1a1a1a;
}

.search-results {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 15px;
    padding: 15px 40px;
}

.search-result {
    position: relative;
    flex: 0 0 calc(33.33% - 15px);
    max-width: calc(33.33% - 15px);
    box-sizing: border-box;
    margin-bottom: 10px;
    cursor: pointer;
}

.search-result img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    display: block;
}

.search-result .poster-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(243, 230, 183, 0.85);
    color: white;
    opacity: 0;
    transition: opacity 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 10px;
    box-sizing: border-box;
}

.search-result:hover .poster-overlay {
    opacity: 1;
}

.poster-overlay .title {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    padding: 5px;
    color: #1a1a1a;
}

.poster-overlay .creators {
    font-size: 13px;
    text-align: center;
    padding: 5px;
    color: #1a1a1a;
}

.title a,
.creators a {
    color: #1a1a1a;
    text-decoration: none;
}

.title a:hover,
.creators a:hover {
    text-decoration: underline;
}

/* Mobile */
@media (max-width: 768px) {
    .search-results {
        padding: 10px 20px;
        gap: 10px;
    }

    .search-result {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }

    .influential-shows-header {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .search-results {
        padding: 10px;
        gap: 8px;
    }

    .search-result {
        flex: 0 0 calc(50% - 8px);
        max-width: calc(50% - 8px);
    }

    .influential-shows-header {
        font-size: 22px;
    }
}