.aspect-ratio-box {
    position: relative;
    width: 100%;
    padding-top: 66.66%; /* 3:2 비율. 16:9은 56.25% */
    overflow: hidden;
}

.aspect-ratio-content {
    position: absolute;
    top: 0; left: 0;
    right: 0; bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumbnail-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}