/* V173 - WARAKU #284: zoom hero 2x, hanya sekitar 50% bidang foto sebelumnya terlihat. */
body.waraku38 .w38-hero-grid { align-items: center; }
body.waraku38 .w38-hero-photo {
    width: min(100%, 660px);
    max-width: 660px;
    aspect-ratio: 1 / 1;
    margin-inline: auto;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    display: block;
    isolation: isolate;
    flex: none;
}
body.waraku38 .w38-hero-photo img {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: 50% 61%;
    transform-origin: center center;
    border-radius: 0;
}
/* Zoom khusus foto hero 2x. Tidak berpengaruh pada kartu menu. */
body.waraku38 .w38-hero-photo > img[alt^="Menu pilihan"] {
    transform: scale(2) !important;
}
@media (max-width: 800px) {
    body.waraku38 .w38-hero-photo { width: min(100%, 500px); max-width: 500px; }
}
@media (max-width: 490px) {
    body.waraku38 .w38-hero-photo { width: min(100%, 400px); max-width: 400px; }
}
