/* Site overrides: mobile header + responsive layout */

.top-bar__logo img {
	display: block;
	max-height: 48px;
	width: auto;
	height: auto;
	margin-left: 10px;
}

#footer .copyright {
	font-size: 12px;
}

.country-list-fullwidth {
	width: 100%;
	max-width: 100%;
}

.country-list-fullwidth #countryList {
	width: 100%;
	margin-left: 0;
	margin-right: 0;
}

.country-list-fullwidth #countryList > [class*="col-"] {
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
}

/* Mobile: hide custom-layout03 heading, give spacing to country list
   (kecuali halaman report, yang tetap menampilkan heading) */
@media (max-width: 1024.98px) {
	body:not(.page-report) .custom-layout03 {
		display: none !important;
	}

	.container-fluid.country-list-fullwidth.px-0 {
		margin-top: 2rem;
	}
}

.btn-scroll-top svg {
	display: block;
	overflow: visible;
}

.btn-scroll-top svg path {
	fill: currentColor;
}

#top-bar__navigation-toggler {
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-right: 16px;
}

body.no-scroll {
	position: fixed;
	width: 100%;
	overflow: hidden;
}

.nav-aside-background {
	position: fixed;
	inset: 0;
	z-index: 17;
	background: rgba(15, 20, 30, 0.55);
	opacity: 0;
}

#nav-aside .nav-aside__close .icon {
	color: #fff;
}

#nav-aside .nav-aside__close .icon svg {
	display: block;
	fill: currentColor;
}

/* Desktop: hamburger hidden, desktop nav used */
@media (min-width: 1025px) {
	#top-bar__navigation-toggler {
		display: none !important;
	}
}

/* Mobile / tablet header */
@media (max-width: 1024.98px) {
	#top-bar [class^="col-"].side-col {
		min-width: 0;
		width: 100%;
		max-width: 100%;
		align-items: center !important;
	}

	#top-bar .row {
		height: 60px;
	}

	#top-bar:not(.no-indent-mainContent) + *,
	#top-bar.no-indent-mainContent + * {
		margin-top: 60px;
	}

	.top-bar__logo {
		padding: 10px 12px 10px 16px;
		order: 1;
	}

	.top-bar__logo img {
		max-height: 34px;
	}

	#top-bar__navigation-toggler {
		display: inline-flex !important;
		padding: 16px 18px;
		top: 0;
		order: 2;
		margin-left: auto;
	}

	#nav-aside {
		width: min(320px, 86vw);
	}

	#nav-aside .nav-aside__close {
		min-height: 72px;
		padding: 22px 20px 0 24px;
		font-size: 22px;
	}

	#nav-aside .nav-aside__close .icon {
		right: 20px;
		top: 22px;
	}

	#nav-aside .nav-aside__content {
		padding: 0 0 0 24px;
	}

	#nav-aside_menu > ul {
		width: auto;
		max-width: 100%;
		padding-right: 20px;
	}
}

/* General mobile-friendly content */
@media (max-width: 767.98px) {
	.container {
		padding-left: 16px;
		padding-right: 16px;
	}

	.section-heading .title {
		font-size: 22px !important;
		line-height: 1.35 !important;
	}

	.subpage-header__title {
		font-size: 28px !important;
		line-height: 1.2 !important;
	}

	.subpage-header__caption {
		font-size: 14px;
	}

	.box02 {
		margin-bottom: 28px;
	}

	.box02__img img {
		width: 100%;
		height: auto;
	}

	.box02__title {
		font-size: 18px;
		line-height: 1.3;
	}

	.report-actions {
		gap: 8px;
	}

	.report-dropdown__btn {
		font-size: 11px;
		padding: 6px 10px;
	}

	.report-flip-wrap {
		min-height: 420px !important;
		height: calc(100vh - 220px) !important;
	}

	#footer .copyright {
		font-size: 12px;
		line-height: 1.5;
		text-align: center;
	}

	#footer .col-md-4 {
		flex: 0 0 100%;
		max-width: 100%;
	}

	.slide-title {
		font-size: 28px !important;
		line-height: 1.2 !important;
	}

	.slide-description {
		font-size: 14px !important;
		line-height: 1.5 !important;
	}

	.promobox-slider__layout address {
		font-size: 14px;
		line-height: 1.5;
	}
}

@media (max-width: 575.98px) {
	.top-bar__logo {
		padding-left: 12px;
		padding-right: 8px;
	}

	.top-bar__logo img {
		max-height: 30px;
	}

	#top-bar__navigation-toggler {
		padding: 14px 14px;
	}

	.section-heading .title {
		font-size: 20px !important;
	}
}

/* Site-wide promo modal */
body.wti-promo-modal-open {
	overflow: hidden;
}

.wti-promo-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
	z-index: 1100;
	opacity: 0;
	visibility: hidden;
	transition: opacity .2s ease, visibility .2s ease;
}

.wti-promo-backdrop.is-open {
	opacity: 1;
	visibility: visible;
}

.wti-promo-modal {
	position: fixed;
	inset: 0;
	z-index: 1110;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .2s ease, visibility .2s ease;
}

.wti-promo-modal.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.wti-promo-modal__dialog {
	position: relative;
	width: min(820px, 96vw);
	max-height: min(94vh, 980px);
	background: transparent;
}

.wti-promo-modal__close {
	position: absolute;
	top: -10px;
	right: -10px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #1f2a44;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.22);
	cursor: pointer;
}

.wti-promo-modal__close:hover {
	background: #f1f5f9;
}

.wti-promo-modal__link {
	display: block;
	line-height: 0;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 22px 50px rgba(15, 23, 42, 0.35);
}

.wti-promo-modal__image {
	display: block;
	width: 100%;
	height: auto;
	max-height: min(90vh, 920px);
	object-fit: contain;
	background: #0f172a;
}

@media (max-width: 575.98px) {
	.wti-promo-modal {
		padding: 12px;
	}

	.wti-promo-modal__dialog {
		width: min(96vw, 480px);
	}

	.wti-promo-modal__close {
		top: -8px;
		right: -8px;
	}
}

/* Band scale info modal (Country / Countrymonthly) */
.band-scale-info-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	height: auto;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #6b7280;
	cursor: pointer;
	line-height: 0;
	flex-shrink: 0;
	transition: color .15s ease;
}

.band-scale-info-btn:hover,
.band-scale-info-btn:focus {
	background: transparent;
	border: 0;
	color: #1f2a44;
	outline: none;
}

.band-scale-info-btn svg {
	display: block;
	width: 14px;
	height: 14px;
}

body.band-scale-modal-open {
	overflow: hidden;
}

.band-scale-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.45);
	z-index: 1040;
	opacity: 0;
	visibility: hidden;
	transition: opacity .18s ease, visibility .18s ease;
}

.band-scale-backdrop.is-open {
	opacity: 1;
	visibility: visible;
}

.band-scale-modal {
	position: fixed;
	inset: 0;
	z-index: 1050;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .18s ease, visibility .18s ease;
}

.band-scale-modal.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.band-scale-modal__dialog {
	width: min(720px, 100%);
	max-height: min(86vh, 820px);
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 18px 48px rgba(15, 23, 42, 0.22);
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.band-scale-modal__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 20px 14px;
	border-bottom: 1px solid #e8ecf3;
}

.band-scale-modal__title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: #1f2a44;
	line-height: 1.25;
}

.band-scale-modal__subtitle {
	margin: 4px 0 0;
	font-size: 13px;
	color: #6b7280;
	line-height: 1.4;
}

.band-scale-modal__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #64748b;
	cursor: pointer;
	flex-shrink: 0;
}

.band-scale-modal__close:hover {
	background: #f1f5f9;
	color: #0f172a;
}

.band-scale-modal__body {
	padding: 0 0 8px;
	overflow: auto;
}

.band-scale-modal__table-wrap {
	overflow: auto;
}

.band-scale-modal__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
}

.band-scale-modal__table th,
.band-scale-modal__table td {
	padding: 10px 14px;
	text-align: left;
	border-bottom: 1px solid #eef1f6;
	white-space: nowrap;
}

.band-scale-modal__table thead th {
	position: sticky;
	top: 0;
	background: #f8fafc;
	color: #334155;
	font-weight: 700;
	font-size: 12px;
	letter-spacing: .02em;
	text-transform: uppercase;
	z-index: 1;
}

.band-scale-modal__table tbody tr:hover td {
	background: #fafbfd;
}

.band-scale-modal__cat {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	color: #1f2a44;
}

.band-scale-modal__cat-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	flex-shrink: 0;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

@media (max-width: 575.98px) {
	.band-scale-modal__header {
		padding: 14px 14px 12px;
	}

	.band-scale-modal__title {
		font-size: 16px;
	}

	.band-scale-modal__table th,
	.band-scale-modal__table td {
		padding: 8px 10px;
		font-size: 12px;
	}
}
