/* Ruang Design - tambahan responsive untuk Theme 1 (desktop, tablet, mobile) */
img { max-width: 100%; height: auto; }
.nav-toggle { display: none; }

/* Slider halaman depan */
.rd-slider { position: relative; overflow: hidden; background: #111; aspect-ratio: 960 / 340; border-radius: 3px; }
.rd-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.rd-slide.aktif { opacity: 1; z-index: 1; }
.rd-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rd-slider > .rd-slide:only-child { position: relative; opacity: 1; }
.slide-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 20px; background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; }
.slide-caption h3 { margin: 0 0 4px; color: #fff; }
.slide-caption p { margin: 0; font-size: 13px; }
.rd-dots { position: absolute; right: 14px; top: 12px; z-index: 2; display: flex; gap: 6px; }
.rd-dots button { width: 11px; height: 11px; border-radius: 50%; border: 0; background: rgba(255,255,255,.5); padding: 0; cursor: pointer; }
.rd-dots button.aktif { background: #fff; }

/* Video YouTube & peta responsif (rasio 16:9) */
.video-embed { position: relative; aspect-ratio: 16 / 9; width: 100%; margin-bottom: 14px; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* Galeri foto */
.foto-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.foto-grid img { width: 100%; height: 120px; object-fit: cover; display: block; border-radius: 3px; }

/* Tombol bagikan & lain-lain */
.share-buttons { margin: 8px 0 14px; font-size: 13px; }
.share-buttons a { display: inline-block; margin-left: 8px; padding: 3px 10px; border-radius: 3px; background: #eee; color: #444; }
.share-buttons a:hover { background: #1b9ad6; color: #fff; }
.download-list { list-style: disc; padding-left: 20px; }
.download-hits { color: #999; font-size: 13px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 6px; }
.newsletter-msg { color: #fff; font-size: 13px; }
.margincaptcha2 { display: inline-flex; align-items: center; gap: 8px; margin: 6px 0; }
.margincaptcha2 a { font-size: 22px; text-decoration: none; }
.comments img { border-radius: 50%; }
.halaman { text-align: center; }

/* Menu hamburger pada layar kecil */
@media only screen and (max-width: 767px) {
    .nav-toggle { display: block; width: 100%; margin: 6px 0 10px; padding: 12px; border: 0; border-radius: 3px; background: #1b9ad6 !important; background-image: none !important; color: #fff !important; text-shadow: none; box-shadow: none; font-size: 16px; font-weight: 700; cursor: pointer; text-align: left; }
    #menu { display: none; }
    #menu.terbuka { display: block; }
    .navigation ul { float: none; margin: 0; }
    .navigation ul li, .navigation ul li a { float: none; display: block; width: 100% !important; margin: 0 !important; text-align: left; }
    .navigation ul li a { padding: 12px 14px !important; border-bottom: 1px solid #eee; }
    .navigation ul ul { position: static !important; display: block !important; box-shadow: none; margin: 0 !important; background: #f6f6f6 !important; }
    .navigation ul ul li { border-top: 0; }
    .navigation ul ul li a { padding-left: 30px !important; color: #3a3a3a !important; background: transparent !important; }
    .navigation ul ul li a:hover, .navigation ul ul li a.active { background: #1b9ad6 !important; color: #fff !important; }
    .rd-slider { aspect-ratio: 4 / 3; }
    .slide-caption { padding: 8px 12px; }
    .slide-caption p { display: none; }
    footer .columns { margin-bottom: 20px; }
}
@media only screen and (min-width: 768px) and (max-width: 959px) {
    .rd-slider { aspect-ratio: 16 / 7; }
}

.rd-slider { margin-bottom: 30px; }
