.pointer {
	cursor: pointer;
}

.preloader {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background: rgba(0, 0, 0, 0.85);
	z-index: 99999;
	transition: all 500ms ease;
	-webkit-transition: all 500ms ease;
}

.preloader.out {
	opacity: 0;
	visibility: hidden;
	transition-delay: 1s;
}

.loader {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	transition: all 500ms ease;
	-webkit-transition: all 500ms ease;
	transition-delay: 0.8s;
}

.preloader.out .loader {
	transform: translate(-50%, -100%);
	-webkit-transform: translate(-50%, -100%);
	opacity: 0;
}

.preloader.out .loader:before {
	border-color: var(--bg-white);
	transition-delay: 0.2s;
}

.loader img {
	position: relative;
	transition: all 500ms ease;
	-webkit-transition: all 500ms ease;
}

.loader:before {
	content: "";
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	width: 150px;
	height: 150px;
	background: #222;
	border: 5px solid rgba(255, 255, 255, 0.1);
	border-top: 5px solid var(--bg-white);
	border-radius: 50%;
	-webkit-border-radius: 50%;
	animation: preloaderAnimation 1s linear infinite;
	-webkit-animation: preloaderAnimation 1s linear infinite;
	transition: all 500ms ease;
	-webkit-transition: all 500ms ease;
}

@keyframes preloaderAnimation {
	0% {
		transform: translate(-50%, -50%) rotate(0deg);
	}

	100% {
		transform: translate(-50%, -50%) rotate(360deg);
	}
}

@-webkit-keyframes preloaderAnimation {
	0% {
		-webkit-transform: translate(-50%, -50%) rotate(0deg);
	}

	100% {
		-webkit-transform: translate(-50%, -50%) rotate(360deg);
	}
}

.blog-comments {
	--comment-soft: #f7f9fb;
	--comment-admin-border: #d8eaff;

	color: var(--brand-secondary);
}

.blog-comments .header .title {
	position: relative;
	font-family: "Quicksand", sans-serif !important;
	text-transform: uppercase;
	font-size: 18px;
	font-weight: 600 !important;
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.blog-comments .header .title::after {
	content: "";
	position: absolute;
	bottom: -1px;
	left: 0;
	width: 50px;
	height: 3px;
	background: var(--brand-primary);
}

.blog-comments .comment-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.blog-comments .comment-item {
	padding: 16px;
	margin-bottom: 0;
	background: var(--bg-white);
	border: 1px solid var(--border-light);
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(33, 45, 60, 0.045);
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.blog-comments .comment-item:hover {
	border-color: #d4e2f0;
	box-shadow: 0 4px 12px rgba(33, 45, 60, 0.075);
}

.blog-comments .comment-user {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	min-width: 0;
}

.blog-comments .comment-avatar {
	display: block;
	flex: 0 0 46px;
	width: 46px;
	height: 46px;
	object-fit: cover;
	border: 1px solid var(--border-light);
	border-radius: 50%;
	background: var(--comment-soft);
}

.blog-comments .comment-content {
	flex: 1;
	min-width: 0;
}

.blog-comments .comment-author {
	margin-bottom: 4px;
	color: var(--info-border);
	/* color: #303943; */
	font-family: "Quicksand", sans-serif;
	font-size: 14px;
	font-weight: 700;
	overflow-wrap: anywhere;
}

.blog-comments .comment-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 5px;
	margin-bottom: 9px;
	color: var(--text-muted);
	font-size: 12px;
	line-height: 1.5;
}

.blog-comments .comment-topic {
	color: var(--brand-primary);
	font-weight: 600;
}

.blog-comments .comment-separator {
	color: #b0b7bf;
}

.blog-comments .comment-message {
	color: #49515a;
	font-size: 14px;
	line-height: 1.75;
	overflow-wrap: anywhere;
	white-space: normal;
}

.blog-comments .comment-message p,
.blog-comments .admin-message p {
	margin-bottom: 0;
}

/* Tanggapan admin */
.blog-comments .comment-admin {
	margin-top: 15px;
	margin-left: 58px;
	padding: 12px 14px;
	background: var(--bg-soft-gray);
	border: 1px solid var(--comment-admin-border);
	border-left: 3px solid var(--brand-primary);
	border-radius: 8px;
}

.blog-comments .admin-heading {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 8px;
}

.blog-comments .admin-avatar {
	display: block;
	flex: 0 0 36px;
	width: 36px;
	height: 36px;
	object-fit: cover;
	border-radius: 50%;
	background: var(--bg-white);
	border: 1px solid var(--comment-admin-border);
}

.blog-comments .admin-info {
	min-width: 0;
}

.blog-comments .admin-author {
	color: var(--brand-light);
	font-size: 13px;
	font-weight: 700;
}

.blog-comments .admin-meta {
	margin-top: 2px;
	color: #75879a;
	font-size: 11px;
	line-height: 1.5;
}

.blog-comments .admin-message {
	padding-left: 45px;
	color: #465565;
	font-size: 13px;
	line-height: 1.7;
	overflow-wrap: anywhere;
	white-space: normal;
}

/* Belum ada komentar */
.blog-comments .comment-empty {
	padding: 24px 18px;
	margin-bottom: 18px;
	text-align: center;
	background: #faf8f2;
	border: 1px solid #ebe4d4;
	border-radius: 10px;
}

.blog-comments .comment-empty > i {
	margin-bottom: 8px;
	color: #a58b56;
	font-size: 28px;
}

.blog-comments .comment-empty-title {
	margin-bottom: 6px;
	color: #66583c;
	font-size: 15px;
	font-weight: 700;
}

.blog-comments .comment-empty p {
	margin: 0;
	color: #786f60;
	font-size: 13px;
	line-height: 1.7;
}

/* Pagination */
.blog-comments .comment-pagination {
	margin: 18px 0 22px;
}

.blog-comments .comment-pagination .pagination {
	justify-content: center;
	flex-wrap: wrap;
	gap: 4px;
}

/* Informasi moderasi */
.blog-comments .comment-guidelines {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 13px 15px;
	margin: 12px 0 16px;
	background: var(--comment-soft);
	border: 1px solid var(--border-light);
	border-radius: 9px;
}

.blog-comments .comment-guidelines img {
	display: block;
	flex: 0 0 58px;
	width: 58px;
	max-width: 58px;
	height: auto;
	object-fit: contain;
}

.blog-comments .comment-guidelines strong {
	display: block;
	margin-bottom: 3px;
	color: #404a55;
	font-size: 13px;
}

.blog-comments .comment-guidelines p {
	margin: 0;
	color: #68737e;
	font-size: 12px;
	line-height: 1.7;
}

/* Formulir komentar */
.blog-comments .reply-form,
.blog-comments .formkritik {
	margin-bottom: 15px;
}

.blog-comments .formkritik .form-group {
	margin-bottom: 8px;
}

.blog-comments .formkritik .form-control {
	min-height: 42px;
	border: 1px solid #dce2e8;
	border-radius: 6px;
	background: var(--bg-white);
	color: #343a40;
	font-size: 13px;
	box-shadow: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-comments .formkritik textarea.form-control {
	display: block;
	width: 100%;
	max-width: 100%;
	min-height: 95px;
	resize: vertical;
	box-sizing: border-box;
}

.blog-comments .formkritik .form-control:focus {
	border-color: var(--brand-light);
	box-shadow: 0 0 0 3px rgba(27, 130, 236, 0.1);
}

.blog-comments .formkritik .form-control::placeholder {
	color: #929ba5;
	opacity: 1;
}

.blog-comments .formkritik .btnkritik {
	padding: 9px 17px;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 600;
}

/* Responsif */
@media (max-width: 576px) {
	.blog-comments .comment-item {
		padding: 12px;
		border-radius: 8px;
	}

	.blog-comments .comment-user {
		gap: 9px;
	}

	.blog-comments .comment-avatar {
		flex-basis: 38px;
		width: 38px;
		height: 38px;
	}

	.blog-comments .comment-author {
		font-size: 13px;
	}

	.blog-comments .comment-message {
		font-size: 13px;
	}

	.blog-comments .comment-admin {
		margin-left: 0;
		padding: 10px;
	}

	.blog-comments .admin-message {
		padding-left: 0;
	}

	.blog-comments .comment-guidelines {
		align-items: flex-start;
		gap: 9px;
		padding: 11px;
	}

	.blog-comments .comment-guidelines img {
		flex-basis: 42px;
		width: 42px;
		max-width: 42px;
	}
}

/* Form komentar berita */
.blog-comments .formkomen {
	margin-bottom: 15px;
}

.blog-comments .formkomen .form-group {
	margin-bottom: 8px;
}

.blog-comments .formkomen .form-control {
	min-height: 42px;
	border: 1px solid #dce2e8;
	border-radius: 6px;
	background: var(--bg-white);
	color: #343a40;
	font-size: 13px;
	box-shadow: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-comments .formkomen textarea.form-control {
	display: block;
	width: 100%;
	max-width: 100%;
	min-height: 95px;
	resize: vertical;
	box-sizing: border-box;
}

.blog-comments .formkomen .form-control:focus {
	border-color: var(--brand-light);
	box-shadow: 0 0 0 3px rgba(27, 130, 236, 0.1);
}

.blog-comments .formkomen .form-control::placeholder {
	color: #929ba5;
	opacity: 1;
}

.blog-comments .formkomen .btnkomen {
	padding: 9px 17px;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 600;
}

.blog-comments .formkomen .invalid-feedback {
	font-size: 12px;
}

@media (max-width: 576px) {
	.blog-comments .header .title {
		font-size: 16px;
		margin-bottom: 15px;
		padding-bottom: 10px;
	}

	.blog-comments .comment-guidelines {
		align-items: flex-start;
		gap: 9px;
		padding: 11px;
	}

	.blog-comments .comment-guidelines img {
		flex-basis: 42px;
		width: 42px;
		max-width: 42px;
	}

	.blog-comments .formkomen .btnkomen {
		width: 100%;
	}
}

.pengumuman {
	background: var(--brand-secondary);
	padding: 0px 0;
	height: 40px;
}

.pengumuman .info-dinas-header {
	position: absolute;
	padding: 0 20px;
	margin: 0;
	height: 40px;
	line-height: 40px;
	font-size: 13px;
	font-weight: 700;
	background-color: var(--accent-light);
	color: var(--bg-white);
	z-index: 10;
}

.pengumuman .dinas-info {
	padding: 11px 0;
}

.pengumuman .dinas-info .item {
	font-size: 13px;
	font-style: italic;
	color: var(--bg-white);
}

.pengumuman .tanggal-pengumuman {
	color: var(--bg-soft-gray);
	background: var(--reply-border);
	padding: 3px 5px;
}

.dge-counter-card {
	position: relative;
	border-radius: 12px;
	padding: 19px 8px 10px;
	text-align: center;
	border: 1px solid var(--dge-color);
	background: #f1f3f5;
	height: 100%;
	margin-bottom: 10px;
	transition: all 0.2s ease;
}

/* Efek hover */
.dge-counter-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 5px 12px rgba(0, 0, 0, 0.07);
}

/* Icon mengambang di tengah border atas */
.dge-counter-icon {
	position: absolute;
	top: -17px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;

	width: 34px;
	height: 34px;
	border-radius: 20%;
	border: 1.1px solid var(--dge-color);
	background: var(--bg-white);

	display: flex;
	align-items: center;
	justify-content: center;

	font-size: 19px !important;
	line-height: 1;
}

/* Angka counter */
.dge-counter-value {
	font-size: 22px;
	line-height: 1.2;
	font-weight: 700;
	margin-bottom: 3px;
}

/* Label counter */
.dge-counter-label {
	font-size: 12px;
	line-height: 1.35;
	color: #666;
	min-height: 16px;
}

/* Tombol counter */
.dge-counter-btn {
	display: inline-block;
	margin-top: 6px;
	font-size: 12px;
	font-weight: 500;
	padding: 3px 8px;
	border-radius: 20px;
}

/* Responsif HP */
@media (max-width: 768px) {
	.dge-counter-card {
		padding: 17px 5px 9px;
		border-radius: 10px;
		margin-bottom: 9px;
	}

	.dge-counter-icon {
		width: 30px;
		height: 30px;
		top: -15px;
		font-size: 17px !important;
	}

	.dge-counter-value {
		font-size: 20px;
		margin-bottom: 2px;
	}

	.dge-counter-label {
		font-size: 11px;
		line-height: 1.3;
	}

	.dge-counter-btn {
		margin-top: 5px;
		font-size: 10px;
		padding: 3px 7px;
	}
}

.gradient-custom-2 {
	background: #fbc2eb;
	background: -webkit-linear-gradient(to right, rgba(251, 194, 235, 1), rgba(166, 193, 238, 1));
	background: linear-gradient(to right, rgba(251, 194, 235, 1), rgba(166, 193, 238, 1));
}

.pegawai-card .card-up {
	height: 120px;
	overflow: hidden;
	border-top-left-radius: 0.25rem;
	border-top-right-radius: 0.25rem;
}

.pegawai-card .avatar {
	/* width: 110px; */
	width: 128px;
	margin-top: -60px;
	overflow: hidden;
	border: 3px solid var(--bg-white);
	border-radius: 50%;
}
