:root {
	--size-1em: 1em;
	--size-2em: 2em;
	--size-3em: 3em;
	--size-4em: 4em;
}

/* Hacks */
#pushstat {display: none !important;}
* {margin: 0px; padding: 0px;}img {border: none;}
.clearPan, .spacer {clear: both; height: 0px;}
.center, .col-centered {float: none; margin-left: auto; margin-right: auto; text-align: center;}
#body-wrapper {filter: alpha(opacity=40);-moz-opacity:.40;opacity:.40;}
#body-wrapper.enabled {filter: alpha(opacity=100);-moz-opacity: 1.0;opacity: 1.0;}
#noscriptAlert {margin: 150px auto -255px auto; padding: 20px; text-align: center; width: 400px; background-color: #CCF; border: #1A5F86 2px solid;}
#noscriptAlert div.title {font-size: 28px;}

/* Web Styles */
body {font: 12px Arial, sans-serif;}
h1, h2, h3, h4, h5, h6, p {text-transform: none !important;}
section {position: relative; z-index: 0;}
a.tobsite {color: #C89F18;}
.wyswyg {padding: 15px 0px; text-align: justify;} 
.wyswyg ul, .wyswyg ol, .content ol, .content ul {margin-left: 15px;}
.wyswyg p {margin-bottom: 10px;}
.wyswyg img {max-width: 100%;}
.img-square {aspect-ratio: 1 / 1; object-fit: contain;}
.img-wrapper {position: relative; text-align: center; overflow: hidden;}
.img-wrapper.fixed-height-1 {height: 0; padding: 0 15px 65%;}
.img-wrapper img {max-width: 100%;}
.vertical-middle {white-space: nowrap;}
.vertical-middle:before {content: ''; display: inline-block; width: 1px; height: 100%; vertical-align: middle;}
.vertical-middle > * {display: inline-block; vertical-align: middle; white-space: normal;}
.vertical-bottom {white-space: nowrap;}
.vertical-bottom:before {content: ''; display: inline-block; width: 1px; height: 100%; vertical-align: bottom;}
.vertical-bottom > * {display: inline-block; vertical-align: bottom; white-space: normal;}
.equal-height {display: -ms-flex; display: -webkit-flex; display: flex;}
.p4 {padding: var(--size-4em) 0;} .p3 {padding: var(--size-3em) 0;} .p2 {padding: var(--size-2em) 0;} .p1 {padding: var(--size-1em) 0;}
.pt4 {padding-top: var(--size-4em);} .pt3 {padding-top: var(--size-3em);} .pt2 {padding-top: var(--size-2em);} .pt1 {padding-top: var(--size-1em);}
.pb4 {padding-bottom: var(--size-4em);} .pb3 {padding-bottom: var(--size-3em);} .pb2 {padding-bottom: var(--size-2em);} .pb1 {padding-bottom: var(--size-1em);}
.m4 {margin: var(--size-4em) 0;} .m3 {margin: var(--size-3em) 0;} .m2 {margin: var(--size-2em) 0;} .m1 {margin: var(--size-1em) 0;}
.mt4 {margin-top: var(--size-4em);} .mt3 {margin-top: var(--size-3em);} .mt2 {margin-top: var(--size-2em);} .mt1 {margin-top: var(--size-1em);}
.mb4 {margin-bottom: var(--size-4em);} .mb3 {margin-bottom: var(--size-3em);} .mb2 {margin-bottom: var(--size-2em);} .mb1 {margin-bottom: var(--size-1em);}
.parallax {background-attachment: fixed;}
.text-white {color: white;}

/* Theme Fix */
.navbar-brand img {max-height: 100%; display: inline-block;}
.header-top-social .title {margin-right: 20px;}
.header-top-social .list-wrap span, .newsletter-social .list-wrap span, .mobile-menu .list-wrap span {display: none;}
[tg-theme=dark] .header-logo-area-four .logo.white-logo, [tg-theme=dark] .menu-area .logo {display: block !important;}
[tg-theme=dark] #sticky-header .logo {display: none;}
[tg-theme=dark] #sticky-header .logo.white-logo, [tg-theme=dark] .logo.fw-logo.white-logo {display: block !important;}
#sticky-header .menu-nav {position: relative;}
#sticky-header .mobile-nav-icons {position: absolute; right: 70px; font-size: 26px;}
#sticky-header .mobile-nav-icons a {color: var(--tg-primary-color);}

.scroll-tabs-container {border-top: 1px solid var(--tg-gray); border-bottom: 1px solid var(--tg-gray); margin: 0px 0px -20px; padding: 15px 0; overflow-x: auto; display: none; -ms-overflow-style: none; scrollbar-width: none;}
.scroll-tabs-container ul {width: max-content; padding-left: 15px;}
.scroll-tabs-container li {display: inline-block; margin-right: 7px;}
.header-style-six .menu-area .scroll-tabs-container a {font-size: 15px; color:#183354; font-weight: 700;}

#sidebar-one-nav {justify-content: flex-end;}
#alert-container {position: fixed; bottom: 1em; width: 100%; z-index: 100;}

.breadcrumb-area {border-top: 1px solid var(--tg-gray); box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.10);}
.breadcrumb-content .breadcrumb-item+.breadcrumb-item::before {padding-top: 3px;}


.footer-social .list-wrap {justify-content: left;}
.btn-add {background: transparent; border: none; color: whitesmoke; outline: none; font-size: 30px;}

.p-content p {font-size: 17px;}

.logo img {max-height: 50px;}


/* Content */

.editor-post-thumb-three img {height: auto; object-fit: cover; aspect-ratio: 1 / 1;}
.editor-post-thumb-three .potrait img {height: 100%; object-fit: cover; aspect-ratio: 9 / 16;}

#home-cover-story {background-size: contain; background-repeat: no-repeat; background-position: left bottom; max-height: 250px; padding-top: 10px; background-color: var(--tg-secondary-color);}
#home-cover-story .editor-post-thumb-three img {aspect-ratio: 16 / 9;}
#home-cover-story .post-title a {font-size: 12px;}
.sports-post-thumb img {height: auto;}

.blog-area .author-wrap {background-color: var(--tg-secondary-color); background-repeat: no-repeat; background-position: right center; background-size: cover;}
.blog-area .author-wrap .author-thumb img {aspect-ratio: 1 / 1;}
.blog-area .author-wrap .author-content * {color: whitesmoke;}
.blog-details-content li {margin-bottom: 10px;}
.blog-details-content figure, .blog-details-content video {display: block; width: 100%; margin-bottom: 15px; margin-top: 15px;}
.blog-details-content figure > figcaption {font-size: 14px; font-style: italic; color: var(--tg-icon-color); margin-top: 15px;}
.blog-details-thumb {position: relative;}
.blog-details-thumb .paly-btn {
	display: flex; position: absolute; left: 50%; top: 50%; width: 50px; height: 50px;
    transform: translate(-50%, -50%); align-items: center; justify-content: center; background: var(--tg-white); border-radius: 50%; font-size: 18px;}
.blog-details-thumb p {font-size: 12px;}
.banner-post-content-six p {text-align: left;}
.comments-box .comments-text {width: 100%;}

#banner-top {display: block; height: 75vh; background-repeat: no-repeat; background-size: contain; background-position: center;}
#banner-top:after {display: block; position: relative; width: 100%; height: 100%; content: ''; background-color: #000c;}
#banner-popup .modal-header, #tv-streaming .modal-header {position: absolute; z-index: 1; width: 100%; border-bottom: none;}
#banner-popup .modal-body, #tv-streaming .modal-body {padding: 0px;}
#tv-streaming .modal-dialog {max-width: calc(100% - 3.5rem); overflow: hidden;}

/* ================ Photo Gallery for Fotografi ===================== */

.blog-details-thumb .photo-gallery {display: flex; gap: 5px;}
.blog-details-thumb .photo-gallery .photo-thumbnail {position: relative; border-radius: 5px; overflow: hidden;}
.blog-details-thumb .photo-gallery .photo-thumbnail.large {
	flex: 2; /* Tetap lebih besar dibandingkan thumbnail kecil */
	aspect-ratio: 16 / 9; /* Rasio 16:9 untuk gambar besar */
}
.blog-details-thumb .photo-gallery .photo-thumbnail.small {flex: 1; aspect-ratio: 16 / 9;}
.blog-details-thumb .photo-gallery .photo-right-thumbnails {
	display: grid;
	grid-template-rows: repeat(2, 1fr); /* Hanya 2 baris */
	gap: 5px; /* Jarak antar-thumbnail */
	flex: 1; /* Tetap ambil ruang lebih kecil dibanding thumbnail besar */
}
.blog-details-thumb .photo-gallery .photo-thumbnail.extra {
	background: rgba(0, 0, 0, 0.5);
	grid-row: 2; /* Pastikan elemen "+x" berada di baris kedua */
}
.blog-details-thumb .photo-gallery .photo-thumbnail img {width: 100%; height: 100%; object-fit: cover;}

.photo-gallery .photo-thumbnail.extra .overlay {
	position: absolute; top: 0; left: 0; width: 100%; height: 100%;
	display: flex; justify-content: center; align-items: center;
	background: rgba(0, 0, 0, 0.6); color: white; font-size: 18px; font-weight: bold;
}
body[data-page="blog-item-news"] .mfp-title {font-family: Manrope, sans-serif; font-weight: bold;}
body[data-page="blog-item-news"] .mfp-img {object-fit: cover; width: 100%; height: auto;}
/* body[data-page="blog-item-news"] .mfp-img {object-fit: cover; width: 100%; height: auto; aspect-ratio: 16 / 9;} */


/* =============== / Photo Gallery for Fotografi ==================== */

@media (max-width: 768px) {
    #preloader .loader-inner {width: 100%;}
	.dropdown-submenu .dropdown-menu {display: block !important;}
	.header-top-wrap-four {display: block;}
	#banner-top {height: 100vh;}
	#sticky-header .menu-nav {margin-bottom: 20px;}
    .scroll-tabs-container {display: block;}
    .popup-video-wrapper .mfp-content {height: calc(100vh - 50px);}
    .blog-area .author-wrap {background-position: right -70px centre;}
}

@media (min-width: 768px) {
	.dropdown-submenu {position:relative;}
	.dropdown-submenu>.dropdown-menu {
		top:0; left:100%; margin-top:-6px; margin-left:15px;
		-webkit-border-radius:6px; -moz-border-radius:6px; border-radius:6px;
	}
	.dropdown-submenu:hover>.dropdown-menu {display:block;}
	.dropdown-submenu>a:after {
		display:block; content:" "; width:0; height:0; position:absolute; top: 8px; right: 0;
		border-color:transparent; border-style:solid; border-width:5px; border-left-color:#ccc;
	}
	.dropdown-submenu:hover>a:after {border-left-color:#cc9966;}

    .logo img {max-height: 80px;}
	#home-cover-story .slick-slide {padding: 10px;}
	.weekly-post-thumb {width: 220px;}
}

@media (min-width: 992px) {
	.col-md-25 {width: 20%;}
    #sticky-header .logo, #sticky-header .header-search-wrap {display: none;}
	#sticky-header .logo {padding-top: 10px;}
	#sticky-header .mobile-nav-icons {display: none;}
	.equal-height-desktop {display: -ms-flex; display: -webkit-flex; display: flex;}
    .blog-area .author-wrap {font-size: 32px;}
}

@media (min-width: 1200px) {
    #sticky-header .logo, #sticky-header .header-search-wrap {display: flex;}
    #sticky-header .logo img {max-height: 45px;}
}

@media print {
    .no-print {display: none;}
}

/*================== UNTUK FOTOGRAFI BAGIAN TITLE DAN CAPTION =====================*/

.mfp-wrap.hide-ui .mfp-title,
.mfp-wrap.hide-ui .mfp-thumbnails,
.mfp-wrap.hide-ui .show-ui-icon {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.mfp-wrap .show-ui-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 20;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px;
    border-radius: 50%;
}

.mfp-thumbnails {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    gap: 10px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.mfp-thumbnail {
    width: 50px;
    height: 50px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

/* .mfp-thumbnail.active {
    border-color: #ffffff;
} */

@media (max-width: 768px) {
    .mfp-thumbnails {
        top: auto;
        bottom: -50px;
        gap: 15px; /* Lebih jauh dibandingkan desktop */
    }

    .mfp-thumbnail {
        width: 40px; /* Ukuran lebih kecil di mobile */
        height: 40px;
    }
}

/*=================================*/

.category-banner {
    width: 100%;
    max-width: 890px;
    aspect-ratio: 890 / 120; /* Menjaga aspek rasio */
    background-size: cover; /* Gambar memenuhi banner */
    background-position: center; /* Posisi tengah agar tidak terpotong */
    background-repeat: no-repeat;
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 0 50px;
    box-shadow: 5px 5px 10px lightblue;
    overflow: hidden; /* Hindari elemen keluar */
}

.category-banner .text {
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* Tambahkan shadow agar teks tetap terbaca */
}

/* Responsif untuk perangkat kecil */
@media (max-width: 768px) {
    .category-banner {
        padding: 0 20px;
    }

    .category-banner .text {
        font-size: clamp(1rem, 5vw, 1.5rem);
    }
}