*,
::after,
::before {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none
}

body {
    font-family: "DM Sans", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #3A3515;
    background: #EFE5D7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit
}

img {
    object-fit: cover;
    object-position: 50% 50%;
    vertical-align: middle;
    width: 100%;
}

::selection {
    background: #907852;
    color: #fff;
}

::-moz-selection {
    background: #907852;
    color: #fff;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, .3);
    background-color: #EFE5D7;
}

::-webkit-scrollbar {
    width: 8px;
    background-color: #EFE5D7;
}

::-webkit-scrollbar-thumb {
    background: #907852;
}

p {
    line-height: 24px
}

h1 {
    font-size: 24px;
    line-height: 24px;
    font-weight: 700;
}


ul {
    list-style-type: disc; 
    margin: 20px 0;        
    padding-left: 40px;      
    font-size: 16px;
    line-height: 1.6;

}


ul li {
    margin-bottom: 10px;
    position: relative;
}


ul li::marker {
    font-size: 1em;
}



.container {
    position: relative;
    max-width: 1230px;
    width: 100%;
    padding: 0;
    margin: 0 auto;
    z-index: 1;
    overflow: hidden;
}
.container-fluid {
    position: relative;
    width: 100%;
    padding: 0;
    margin: 0 auto;
    z-index: 1;
    overflow: hidden;
}
/*header menu*/
.header {
   min-height: 80px;
    background: #EFE5D7;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 99;
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.08);
}
.header .container{
    overflow: visible;
}
.fix {
    position: fixed;
    background: #EFE5D7;
    top: 0;
    width: 100vw;
    animation: smoothScroll .5s forwards;
    box-shadow: 1px 1px 8px rgb(0 0 0 / 30%);
    z-index: 99
}

@keyframes smoothScroll {
    0% {
        transform: translateY(-50px)
    }
    100% {
        transform: translateY(0)
    }
}

.logo {
    position: relative;
    display: flex;
    align-items: center;
}
.logo-container a{
    position: relative;
}

.logo-container img {
    width: 150px;
    height: 150px;
    padding: 25px;
    position: absolute;
    object-fit: contain;
    top: -40px;
    background-color: #EFE5D7;
    border-radius: 50%;
    z-index: 2;
}

.logo-container::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 75px;
    top: calc(-40px + 75px);
    left: 0;
    border-radius: 0 0 150px 150px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.navbar {
    align-items: center;
    background: transparent;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: all .25s ease-in
}

.nav-menu li{
    position: relative;
    text-align: center;
}

.nav-menu li img{
    width: 20px;
    height: auto;
}

.nav-menu li a{
    margin: 0px 20px;
    display: block;
    min-width: 80px;
    transition: .3s all ease;
}
.nav-menu li .active{
    font-weight: bold;
}
.nav-menu li:hover a{
    font-weight: bold;
    margin-top: -5px;
}
.burger{
    display: none;
}

/*main*/
.main {
    position: relative;
    overflow: hidden;
}

/*hero section*/
#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: visible;
}


.hero-center-text {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.hero-center-text .container{
    overflow: visible;
}

.hero-center-text h1{
  padding: 50px 0px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.logo-tribun-home{
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
    opacity: 0;
}

.hero-txt-1{
  display: block;
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 5px;
  opacity: 0;
}

.hero-txt-2{
  display: block;
  font-size: 16px;
  font-weight: 900;
  margin-bottom: 5px;
  opacity: 0;
}

.hero-txt-3{
  display: block;
    font-size: 16px;
    font-weight: 900;
    opacity: 0;
}

.scroll-next {
    position: absolute;
    left: 50%;
    bottom: -20vh;
    transform: translateX(-50%);
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    animation: bounce 1.6s infinite;
    z-index: 99;
    opacity: 0;
    padding: 3px;
    background: #DAE1C2;
    border-radius: 50%;
}

.scroll-next img {
    width: 50px;
    height: auto;
}

/* Bounce animation */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-12px);
    }
    60% {
        transform: translateX(-50%) translateY(-6px);
    }
}

.hero-center-text .hero-title {
    text-align: center;
}

.hero-fimg {
    position: absolute;
    opacity: 0;
}


.hero-f1 {
    position: absolute;
    top: 45%;
    left: 50%;
    width: 35vw;
    height: auto;
}

.hero-f2 {
    position: absolute;
    top:-20%;
    left: -4%;
    width: 30vw;
    height: auto;
}
.hero-f3 {
    position: absolute;
    top: 50%;
    left: 5%;
    width: 20vw;
    height: auto;
}
.hero-f4 {
    position: absolute;
    top: -30%;
    right: 0%;
    width: 30vw;
    height: auto;
}
.hero-f5 {
    position: absolute;
    top: 45%;
    right: -5%;
    width: 30vw;
    height: auto;
}


.imsak-widget {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255,255,255,.9);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}

.imsak-widget-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 18px;
    color: #333;
    text-align: center;
}

.imsak-widget-title span {
    font-weight: 500;
    color: #736042;
}

.imsak-widget-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.imsak-widget-table {
    width: 100%;
    border-collapse: collapse;
}

.imsak-widget-table thead th {
    padding: 6px;
    text-align: center;
}

.imsak-widget-head span {
    display: block;
    padding: 10px 14px;
    background: #DACBAC;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.imsak-widget-head.magrib span {
    background: #736042;
    color: #fff;
}

.imsak-widget-table tbody td {
    padding: 14px 12px;
    font-size: 14px;
    text-align: center;
    border-bottom: 1px solid #DACBAC;
    white-space: nowrap;
}

.imsak-widget-table tbody tr:last-child td {
    border-bottom: none;
}

.imsak-widget-day {
    display: inline-block;
    min-width: 70px;
}


.imsak-widget-table tbody tr.active {
    background: #736042;
    color: #fff;
}

.imsak-widget-table tbody tr.active td {
    border-color: rgba(255,255,255,0.25);
}



/*video section*/
#video-hero{
    margin: 80px 0px;
}

#video-hero2{
    margin: 80px 0px;
}

.video-hero-row {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
    align-items: end;
}

.video-hero-row2 {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
}

.video-hero-row > * {
    flex: 1 1 50%;
}

.video-hero-row2 > * {
    flex: 1 1 50%;
}

.video-hero-left img{
    width: 300px;
    height: auto;
}

.video-hero-txt p{
    font-size: 14px;
    line-height: 20px;
}

.video-hero-container {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio:16/9;
    overflow: hidden;
    border-radius: 10px;
}

.video-hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.video-hero-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-hero-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.8;
}

.video-hero-play-btn::before {
    content: "";
    width: 60px;
    height: 60px;
    border-radius: 3px;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    background: rgba(255,255,255,0.7);
    transition: transform 0.3s ease, opacity 0.3s ease;
}


.video-hero-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
}

.video-hero-play-btn:hover::before {
    transform: scale(1.2);
}

.video-hero-container.playing .video-hero-overlay {
    display: none;
}

.video-hero-iframe-wrap iframe {
    width: 100%;
    aspect-ratio:16/9;
    height: auto;
    border: none;
}

.video-slide {
    margin: 40px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 200ms linear;
    border-radius: 10px;
}

.video-slide.swiper-slide-active {
    z-index: 1;
    border-radius: 10px;
}

.video-bg {
    position: relative;
    border-radius: 10px;
}

.video-bg img {
    position: relative;
    border-radius: 10px;
    aspect-ratio: 16 / 9;
}

.video-btn-play {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-btn-play img {
    width: 60px;
    height: 60px;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    cursor: pointer;
    object-fit: contain;
    overflow: visible;
}

.video-btn-play img:hover {
    transform: scale(1.1);
    -webkit-filter: brightness(.8);
    filter: brightness(.8);
}
.video-slider{
    padding-bottom: 0px;
}
.video-slider .swiper-scrollbar {
    position: absolute;
    bottom: 10px;    
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30%;  
    height: 4px;  
    background: #DACBAC; 
    border-radius: 2px;
    cursor: pointer;
}

.video-slider .swiper-scrollbar-drag {
    background: #907852; 
    border-radius: 2px;
}
/*modal video*/
.modal {
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    visibility: hidden;
    justify-content: center;
    align-items: center;
    opacity: 0;
    position: fixed;
    text-align: center;
}

.modal.is-visible {
    visibility: visible;
    opacity: 1;
}

.modal-overlay {
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: hsla(0, 0%, 0%, 0.5);
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s linear 0.3s, opacity 0.3s;
}

.modal.is-visible .modal-overlay {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.modal-wrapper {
    position: fixed;
    z-index: 9999;
    box-shadow: 0 0 1.5em hsla(0, 0%, 0%, 0.35);
}

.modal-transition {
    transition: all 0.3s 0.12s;
    transform: translateY(-10%);
    opacity: 0;
}

.modal.is-visible .modal-transition {
    transform: translateY(0);
    opacity: 1;
}

.modal-content {
    position: relative;
}

.modal-content button {
    background: transparent;
    padding: 5px 10px;
    font-weight: bold;
    color: #ffffff;
    font-size: 16px;
}

.modal-close {
    position: absolute;
    top: -25px;
    right: -5px;
    border: 0;
    cursor: pointer;
}

.ratio iframe {
    width: 800px;
    height: 450px;
}

.modal-close img {
    width: 20px;
}

.modal-content>*:first-child {
    margin-top: 0;
}

.modal-content>*:last-child {
    margin-bottom: 0;
}

/*resep section*/
#resep-section{
    position: relative;
    margin-bottom: 80px;
}
.section-title {
    text-align: center;
    position: relative;
    margin-bottom: 16px;
}

.section-title h2 {
    position: relative;
    display: inline-block;
    font-weight: 800;
    font-size: 26px;
    color: #3A3515;
    padding: 0 65px; 
}


.section-title h2::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: url("https://asset-1.tribunnews.com/img/ramadan/2026/title-bg.png") no-repeat center;
    background-size: contain;
}


.section-title h2::after {
    content: "";
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
    width: 60px;
    height: 60px;
    background: url("https://asset-1.tribunnews.com/img/ramadan/2026/title-bg.png") no-repeat center;
    background-size: contain;
}


.section-txt {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.section-txt p {
    font-size: 16px;
    color: #907852;
    line-height: 1.6;
}

.resep-container{
    margin: 40px 0px;
}

.resep-tabs {
    display: flex;
    gap: 12px;
    width: 600px;
    margin: 0 auto;
    margin-bottom: 50px;
}

.resep-btn-tabs {
    flex: 1;
    padding: 12px 16px;
    background: #DACBAC;
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    transition: 
    background 0.3s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.resep-btn-tabs:hover {
    background: #907852;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.resep-btn-tabs.active {
    background: #907852;
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

.resep-tab-container {
    display: none;
    animation: fadeSlide 0.4s ease;
}
.resep-item-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}
.resep-item {
    display: block;
    overflow: hidden;
    border-radius: 12px;
    transition: 
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.resep-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

.resep-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.resep-item:hover .resep-img {
    transform: scale(1.08);
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.latest-all-btn{
    margin: 0 auto;
    text-align: center;
    padding: 40px 0px;
    width: 80%;
}
.latest-all-btn a{
    padding: 5px 20px;
    width: fit-content;
    background-color: #736042;
    color: #fff;
    display: block;
    transition: .3s all ease;
    border-radius: 40px;
    font-size: 16px;
    margin: 0 auto;
    transition: 
    background 0.3s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.latest-all-btn a:hover{
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/*artikel*/
#art_section{
    position: relative;
    margin-bottom: 80px;
}
#art_section .container-fluid{
    max-width: 1600px;
    margin: 0 auto;
    overflow: visible;
}
.art-slider{
    padding: 40px 0px 60px 0px;
    position: relative;
}
.art-slider-card{
    display: block;
    position: relative;
    background-color: #fff;
    align-items: flex-start;
    padding: 0px;
    border-radius: 20px;
    box-shadow: 0px 3px 15px rgba(42, 42, 42, 0.24);
}
.art-slider-img-container {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    width: 100%;
}

.art-slider-img-container img {
    width: 100%;
    height: 250px;
    transition: transform 0.3s ease;
}

.art-slider-img-container:hover img {
    transform: scale(1.2);
}
.art-slider-txt-container{
    padding: 20px;
    transition: 0.3s ease;
    width: 1-0%;
}
.art-slider-heading{
    font-size: 20px;
    line-height: 26px;
    font-weight: bold;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.art-slider-txt{
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.art-slider-anchor {
    font-size: 14px;
    color: #907852;
}
.art-slider-anchor:hover {
    text-decoration: underline;
}
.art-slider-info {
    margin: 10px 0px;
    color: #907852;
    font-size: 14px;
    line-height: 20px;
    transition: 0.3s ease;
}
.art-slider .swiper-scrollbar {
    position: absolute;
    bottom: 10px;    
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30%;  
    height: 4px;  
    background: #DACBAC; 
    border-radius: 2px;
    cursor: pointer;
}

.art-slider .swiper-scrollbar-drag {
    background: #907852; 
    border-radius: 2px;
}

.art-row {
    max-width: 800px;
    margin: 40px auto;
}

.art-row-card{
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    justify-content: center;
    position: relative;
    background-color: #fff;
    align-items: flex-start;
    padding: 10px;
    border-radius: 20px;
    box-shadow: 0px 3px 15px rgba(42, 42, 42, 0.24);
}
.art-row-card:last-child{
    margin-bottom: 0px;
}
.art-row-img-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    width: 50%;
}

.art-row-img-container img {
    border-radius: 10px;
    width: 100%;
    height: 250px;
    transition: transform 0.3s ease;
}

.art-row-img-container:hover img {
    transform: scale(1.2);
}
.art-row-txt-container{
    padding: 20px 20px 20px 0px;
    transition: 0.3s ease;
    width: 50%;
}
.art-row-heading{
    font-size: 20px;
    line-height: 26px;
    font-weight: bold;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.art-row-txt{
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.art-row-anchor{
    font-size: 14px;
    color: #907852;
}
.art-row-anchor:hover {
    color: #907852;
    text-decoration: underline;
}
.art-row-info {
    margin: 10px 0px;
    color: #907852;
    font-size: 14px;
    line-height: 20px;
    transition: 0.3s ease;
}

/*mudik section*/
#mudik-section{
    position: relative;
    margin-bottom: 80px;
}
.mudik-container{
    margin: 50px auto;
    text-align: center;
}
.mudik-img{
    width: 1000px;
    height: auto;
}
.mudik-container p{
    color: #907852;
    font-size: 14px;
    line-height: 18px;
}

/*imsak*/
#imsak-section{
    position: relative;
    margin-bottom: 80px;
}

.imsak-wrapper {
  padding: 20px;
  overflow-x: auto;
}

.imsak-table {
  width: 100%;
  border-collapse: collapse; 
  border-spacing: 10px 0;
  background: #EFE5D7;
}

.imsak-table thead th span {
  padding: 10px 12px;
    margin: 10px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    display: block;
    width: auto;
}

.imsak-head span {
  background: #DACBAC;
  border-radius: 999px;
}

.imsak-head-date span {
  background: #616232;
  color: #fff;
  text-align: left;
  padding-left: 16px;
}

.imsak-table tbody td {
  padding: 14px 12px;
  font-size: 14px;
  text-align: center;
  border-bottom: 1px solid #DACBAC;
}

.imsak-table tbody tr:last-child td {
  border-bottom: none;
}

.imsak-date {
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}

.imsak-day {
  display: inline-block;
  min-width: 70px;
}

.imsak-full-date {
  margin-left: 16px;
  font-weight: 500;
}

.magrib span{
    background: #736042;
    color: #fff;
}

tbody .active{
    background: #736042;
    color: #fff;
}

.footer {
    background: #736042;
    width: 100%;
    position: relative;
}

.footer .container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 16px;
}

.footer-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer img {
    display: block;
    max-width: 100%;
    height: auto;
}

#scrollTopBtn {
    position: fixed;
    bottom: 40px; 
    right: 20px;
    width: 50px;
    height: 50px;
    background: #736042;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 98;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#scrollTopBtn:hover {
    transform: scale(1.1);
}

#scrollTopBtn svg {
    width: 24px;
    height: 24px;
    stroke: #fff;
}

/*page artikel*/
#art_page{
    position: relative;
    margin: 80px 0px;
}
#art_page .container-fluid{
    max-width: 1600px;
    margin: 0 auto;
    overflow: visible;
}

/*page imsak*/
#imsak-page{
    position: relative;
    margin: 80px 0px;
}

.highlight-row {
    background: #f5e6c0;
    transition: background 0.3s ease;
}

.date-jadwal{
    display: none;
}

.source-jadwal{
    text-align: center;
    margin-top: 40px;
}

.imsak-select-wrapper {
    display: flex;
    gap: 10px;
    margin: 20px auto;
    max-width: 400px;
    align-items: center;  
    justify-content: center;  
}

#form_jadwalimsak {
    width: 100%;
    max-width: 420px;   
    margin: 0 auto;    
    text-align: center;
    position: relative;
}

#select_kabkota {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border-radius: 10px;
    border: 1px solid #d0d7de;
    background-color: #fff;
    color: #0D2135;
    appearance: none;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

#select_kabkota:focus {
    border-color: #0D2135;
    box-shadow: 0 0 0 3px rgba(13, 33, 53, 0.15);
}

#progressbar {
    width: 100%;
    height: 22px;
    background: #fff;
    border-radius: 0px;
    overflow: hidden;
    position: absolute;
    top: 3px;
    display: none; 
}

#loading {
    display: block;
    height: 100%;
    width: 40%;
    border-radius: 6px;
    background: linear-gradient(
        90deg,
        #736042 0%,
        #8c744f 25%,
        #b29663 50%,
        #8c744f 75%,
        #736042 100%
    );
    background-size: 200% 100%;
    animation: loadingMove 1.2s infinite linear;
}

@keyframes loadingMove {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

#download_imsak {
    padding: 15px;
    width: 50px;
    height: 30px;
    background-color: #736042;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
    flex-shrink: 0;
}

#download_imsak:hover {
    background-color: #8c744f;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #efe5d6;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#loading-overlay .spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #fff;
    border-top: 6px solid #736042;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#imsak-content{
    margin-bottom: 80px;
}

.imsak-content-container h3{
    font-size: 20px;
    line-height: 26px;
    margin-bottom: 20px;
}

.imsak-content-container p{
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 20px;
}

/*games*/
.game-ramadan{
    margin: 80px 0px;
}

.game-container{
    height: 600px;
    position: relative;
}

.game-container iframe{
    border-radius: 20px;
}

#ramadan-games{
    margin: 80px 0px;
    position: relative;
}

.ramadan-game-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.ramadan-game-item {
    flex: 1 1 calc(33.333% - 10px);
    max-width: calc(33.333% - 10px);
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 8px;
}

.ramadan-game-item a {
    display: block;
}

.ramadan-game-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.ramadan-game-item:hover img {
    transform: scale(1.1);
}


.hero2-fimg {
    position: absolute;
    opacity: 0;
}

.hero2-f2 {
    position: absolute;
    top: -5%;
    left: -8%;
    width: 30vw;
    height: auto;
}
.hero2-f3 {
    position: absolute;
    top: 50%;
    left: 5%;
    width: 20vw;
    height: auto;
}
.hero2-f4 {
    position: absolute;
    top: -5%;
    right: -5%;
    width: 30vw;
    height: auto;
}
.hero2-f5 {
    position: absolute;
    top: 45%;
    right: -5%;
    width: 30vw;
    height: auto;
}










/* Responsive Styles */
@media screen and (max-width: 1024px) {
    /* General Styles */
    body {
        font-size: 0.875rem;
    }

    h1 {
        font-size: 20px;
        line-height: 28px;
    }

    p {
        line-height: 20px;
    }

    .container {
        max-width: 100%;
        padding: 0 15px;
    }

    .logo {
        max-width: 120px;
    }

    /* Navbar */
    .nav-menu {
        flex-direction: column;
        text-align: left;
        display: none; 
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 10px 0;
    }

    .nav-menu li a {
        margin: 0;
        font-size: 0.875rem;
    }

    .nav-menu li img {
        filter: invert(100%) brightness(1000%);
    }

    .burger {
    display: block;
    cursor: pointer;
    position: relative;
    z-index: 100;
  }

  .burger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #0D2135;
    margin: 5px 0;
    transition: 0.3s;
  }
  .burger.open span {
    background: #fff;
  }

  .burger.open span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .burger.open span:nth-child(2) {
    opacity: 0;
  }

  .burger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .container-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: rgba(115, 96, 66, .9);
    justify-content: center;
    align-items: center;
    z-index: 99;
    overflow-y: auto;
  }

  .container-menu.active {
    display: flex;
  }

  .nav-menu {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .nav-menu li a {
    color: #fff;
    font-size: 18px;
    text-align: center;
    margin: 0;
  }

  .logo-container img {
    width: 100px;
    height: 100px;
    padding: 15px;
    position: absolute;
    object-fit: contain;
    top: -40px;
    background-color: #EFE5D7;
    border-radius: 50%;
    z-index: 2;
}

  .logo-container::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 75px;
    top: calc(-90px + 76px);
    left: 0;
    border-radius: 0 0 100px 100px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    z-index: 1;
}


    #hero {
        height: 100svh;
        background-size: cover;
        overflow: hidden;
    }

    .hero-center-text {
        top: 45%;
        width: 80%;
    }

    .hero-center-text .container{
        overflow: visible;
    }

    .hero-center-text h1 {
        padding: 40px 0;
    }

    .logo-tribun-home{
        max-width: 100px;
        margin-bottom: 5px;
    }

    .hero-txt-1,
    .hero-txt-2,
    .hero-txt-3 {
        font-size: 12px;
        margin-bottom: 0px;
    }

    .scroll-next {
        bottom: -27vh;
    }

    .scroll-next img {
        width: 60px;
    }

    .hero-f1 {
        width: 115vw;
    }

    .hero-f2{
        width: 50vw;
        top: -5%;
        left: -10%;
    }

    .hero-f3 {
        display: none;
    }

    .hero-f4 {
        width: 60vw;
        top: -10%;
        right: -10%;
    }

    .hero-f5 {
        display: none;
    }

    .imsak-widget {
        padding: 16px;
    }

    .imsak-widget-title {
        font-size: 14px;
    }

    .imsak-widget-table {
        min-width: 640px;
    }

    .imsak-widget-head span {
        font-size: 12px;
        padding: 8px 12px;
    }

    .imsak-widget-table tbody td {
        font-size: 13px;
        padding: 12px 10px;
    }

    .imsak-widget-full-date {
        display: none;
    }

    /*video*/

    #video-hero {
        margin: 60px 0;
    }

    #video-hero2 {
        margin: 60px 0;
    }

    .video-hero-row {
        display: block;
    }

    .video-hero-row > * {
        width: 100%;
    }

    .video-hero-row2 {
        display: block;
    }

    .video-hero-row2 > * {
        width: 100%;
    }

    .video-hero-left{
        text-align: center;
    }

    .video-hero-left img {
        width: 240px;
    }

    .video-hero-txt p {
        font-size: 13px;
        line-height: 18px;
        text-align: left;
    }

    .video-hero-container{
        margin: 20px 0px;
    }

    .video-hero-play-btn {
        width: 20px;
        height: 20px;
    }

    .video-hero-play-btn::before {
        width: 20px;
        height: 20px;
    }

    .video-slide {
        margin: 30px 0;
    }

    .video-btn-play img {
        width: 50px;
        height: 50px;
    }

    .video-slider .swiper-scrollbar {
        width: 40%;
        bottom: 12px;
    }

    .ratio iframe {
        width: 100%;
        height: 250px;
    }

    .section-title h2{
        font-size: 18px;
        line-height: 22px;
    }
    .section-txt p{
        font-size: 14px;
    }

    .resep-container {
        margin: 30px 0;
    }

    .resep-tabs {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin-bottom: 30px;
        padding: 0 16px;
    }

    .resep-btn-tabs {
        width: 100%;
        font-size: 14px;
        padding: 12px;
    }

    .resep-item-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        max-width: 100%;
        padding: 0 16px;
    }

    .resep-item:hover {
        transform: none;
        box-shadow: none;
    }

    .resep-item:hover .resep-img {
        transform: none;
    }

    .art-row {
        margin: 24px auto;
        padding: 0 16px;
    }

    .art-row-card {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 16px;
    }

    .art-row-img-container,
    .art-row-txt-container {
        width: 100%;
    }

    .art-row-img-container img {
        height: 200px;
    }

    .art-row-txt-container {
        padding: 0;
    }

    .art-row-heading {
        font-size: 18px;
        line-height: 24px;
        -webkit-line-clamp: 3;
    }

    .art-row-txt {
        font-size: 14px;
        line-height: 20px;
        -webkit-line-clamp: 3;
    }

    .art-row-img-container:hover img {
        transform: none;
    }

    .mudik-img{
        width: 100%;
        height: auto;
    }

      .imsak-wrapper {
        padding: 12px;
      }

      .imsak-select-wrapper {
        flex-direction: column; 
        align-items: stretch;  
        gap: 10px;               
        max-width: 100%;   
        padding: 0 10px;
    }

    #form_jadwalimsak {
        width: 100%;  
        max-width: 100%;
        margin: 0;
    }

    #select_kabkota {
        width: 100%; 
    }

    #download_imsak {
        margin: 0 auto;
        flex-shrink: 0; 
    }

      .imsak-table {
        min-width: 600px;
        border-spacing: 6px 0;
      }

      .imsak-table thead th {
        font-size: 12px;
        padding: 6px 8px;
      }

      .imsak-table tbody td {
        font-size: 12px;
        padding: 10px 8px;
      }

      .imsak-head {
        border-radius: 20px;
      }

      .imsak-head-date {
        padding-left: 12px;
      }

      .imsak-day {
        min-width: 50px;
      }

      .imsak-table thead th span {
        width: max-content;
      }

      .ramadan-game-row {
        gap: 12px;
    }

    .ramadan-game-item {
        flex: 1 1 calc(50% - 15px);
        max-width: calc(50% - 15px);
        box-sizing: border-box;
        border-radius: 8px;
        position: relative;
        overflow: hidden;
        cursor: pointer;
    }

    .ramadan-game-item img{
        height: 300px;
    }
      





}

@media screen and (max-width: 400px) {
    .hero-f1 {
        width: 100vw;
    }
    .hero-txt-1,
    .hero-txt-2,
    .hero-txt-3 {
        font-size: 12px;
        margin-bottom: 0px;
    }

    .hero-f2{
        width: 50vw;
        top: -15%;
        left: -10%;
    }

    .hero-f4 {
        width: 60vw;
        top: -20%;
        right: -10%;
    }
}

