.container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 20px;
    box-sizing: border-box;
}

.upcoming-img-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.upcoming-img-wrapper img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

.upcoming-overlay {
    position: absolute;
    inset: 0; /* top, right, bottom, left = 0 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.4);
    font-weight: bold;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
    border-radius: 8px; /* 이미지와 동일한 둥근 모서리 */
}

.upcoming-overlay h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5em;
}

.upcoming-overlay span {
    font-size: 1.5rem;
}

.upcoming-title {
    margin-top: 24px;
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
}

@media (max-width: 768px) {
    .upcoming-overlay h2 {
        font-size: 2rem;
    }
    .upcoming-overlay span {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .upcoming-overlay h2 {
        font-size: 1.5rem;
    }
    .upcoming-overlay span {
        font-size: 1rem;
    }
}
