.kontainer-gambar {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.tmbl-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1; 
}
.top-rated-posts-item:hover .tmbl-play {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}
.top-rated-posts-list {
    display: flex;
    flex-wrap: wrap;
    margin: -10px; 
}
.top-rated-posts-item {
    flex: 1 0 calc(25% - 20px); 
    margin: 10px; 
    box-sizing: border-box;
}
@media (max-width: 768px) {
    .top-rated-posts-item {
        flex: 1 0 calc(50% - 20px); 
        margin-left: 0px;
    }
}
@media (max-width: 1024px) {
    .top-rated-posts-item {
        flex: 1 0 calc(50% - 20px); 
    }
}
@media (max-width: 480px) {
    .top-rated-posts-item {
        flex: 1 0 100%; 
    }
}
.judul-film {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: #fff; 
    text-align: center; 
    font-size: 18px; 
    display: block; 
    padding: 0 10px 0 10px;
}
.top-rated-posts-item:hover .judul-film {
    opacity: 1;
}
.sinopsis-button {
    position: absolute; 
    bottom: 10px; 
    left: 50%; 
    transform: translateX(-50%); 
    padding: 5px 10px; 
    background-color: #007bff; 
    color: #fff; 
    text-decoration: none; 
    border-radius: 5px; 
    text-align: center; 
    z-index: 1;
}
.sinopsis-button:hover {
    background-color: #0056b3; 
    color: #fff;
}
/* AMP Lightbox modal */
.trp-amp-modal{
    position: fixed;
    inset: 0;
    padding: 16px;
    background: rgba(0,0,0,0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.trp-amp-video{
    width: 100%;
    max-width: 900px;
}

.trp-amp-close{
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 28px;
    line-height: 28px;
    padding: 6px 12px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}
/* === Tambahan opsi shortcode === */
.judul-film.judul-film-split{
    position: static;
    top: auto; left: auto; right: auto; bottom: auto;
    color: inherit;
    text-align: left;
    margin: 0 0 25px 0;
    padding: 0;
}

.trp-excerpt{
    margin-top: 25px;
}
/* Bantu Gutenberg alignwide beneran melebar */
.top-rated-posts-wrap.alignwide{
  width: 100%;
  max-width: var(--wp--style--global--wide-size, 1200px);
  margin-left: auto;
  margin-right: auto;
}
