/* ==========================================================
   Dapen Antam - layout magazine
   Ditimpa di atas tema lama (vendor/bower/frontendtheme).
   ========================================================== */
:root {
	--dp-green: #34b553;
	--dp-green-dark: #24984a;
	--dp-green-soft: #eaf8ee;
	--dp-green-softer: #f5fbf7;
	--dp-navy: #2e3176;
	--dp-navy-dark: #1f2152;
	--dp-ink: #1a1a1a;
	--dp-text: #555b63;
	--dp-muted: #8a9099;
	--dp-line: #e6e9ec;
	--dp-bg: #f2f4f5;
	--dp-card: #ffffff;
	--dp-shadow: 0 0 8px 1px rgba(0, 0, 0, 0.08);
}

body {
	font-family: "Poppins", Arial, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.7;
	color: var(--dp-text);
	background: var(--dp-bg);
}
h1, h2, h3, h4, h5, h6 {
	font-family: "Poppins", Arial, sans-serif;
	color: var(--dp-ink);
	font-weight: 500;
	line-height: 1.3;
}
a { color: var(--dp-navy); }
a:hover, a:focus { color: var(--dp-green); text-decoration: none; }
#wrapper.dp-site { background: var(--dp-bg); width: 100%; }

/* ---------- Top bar ---------- */
.dp-topbar {
	background: var(--dp-navy-dark);
	color: #c9cbe6;
	font-size: 12px;
	line-height: 36px;
}
.dp-topbar .container { display: flex; justify-content: space-between; flex-wrap: wrap; }
.dp-topbar span { margin-right: 22px; white-space: nowrap; }
.dp-topbar-right span { margin-right: 0; }
.dp-topbar .fa { color: var(--dp-green); margin-right: 4px; }

/* ---------- Navbar ---------- */
.dp-navbar-holder { min-height: 76px; }
.dp-navbar {
	background: #fff;
	border-bottom: 3px solid var(--dp-green);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	width: 100%;
	z-index: 1000;
	position: relative;
}
.dp-navbar.is-sticky {
	position: fixed;
	top: 0;
	left: 0;
	box-shadow: 0 5px 30px rgba(0, 0, 0, 0.15);
}
.dp-nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 73px;
}
.dp-brand img { max-height: 54px; width: auto; display: block; }

/* SmartMenus sm-mint -> gaya magazine */
#main-menu.sm-mint { background: transparent; box-shadow: none; }
#main-menu.sm-mint a,
#main-menu.sm-mint a:hover,
#main-menu.sm-mint a:focus,
#main-menu.sm-mint a:active {
	font-family: "Poppins", Arial, sans-serif;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	color: var(--dp-ink);
}
#main-menu.sm-mint a:hover,
#main-menu.sm-mint a:focus,
#main-menu.sm-mint a.highlighted { color: var(--dp-green); }
#main-menu.sm-mint a .sub-arrow { border-top-color: var(--dp-muted); }
#main-menu.sm-mint ul {
	border: 0;
	border-top: 3px solid var(--dp-green);
	border-radius: 0 0 4px 4px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
	padding: 6px 0;
}
#main-menu.sm-mint ul a,
#main-menu.sm-mint ul a:hover,
#main-menu.sm-mint ul a:focus {
	text-transform: none;
	letter-spacing: 0;
	font-size: 13.5px;
	font-weight: 400;
	padding: 9px 20px;
	color: var(--dp-text);
}
#main-menu.sm-mint ul a:hover { background: var(--dp-bg); color: var(--dp-green); }
#main-menu.sm-mint > li.dp-menu-login > a {
	background: var(--dp-green);
	color: #fff;
	border-radius: 3px;
	margin-left: 8px;
}
#main-menu.sm-mint > li.dp-menu-login > a:hover,
#main-menu.sm-mint > li.dp-menu-login > a.highlighted { background: var(--dp-navy); color: #fff; }
#main-menu.sm-mint > li.dp-menu-login > a .sub-arrow { border-top-color: #fff; }

.dp-toggle {
	display: none;
	background: none;
	border: 0;
	padding: 10px 4px;
}
.dp-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	margin: 5px 0;
	background: var(--dp-ink);
	transition: transform .2s, opacity .2s;
}
.dp-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.dp-toggle.open span:nth-child(2) { opacity: 0; }
.dp-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 768px) {
	#main-menu.sm-mint > li > a { padding: 26px 11px; }
	#main-menu.sm-mint > li.dp-menu-login > a { padding: 9px 16px; }
	#main-menu.sm-mint a.has-submenu { padding-right: 24px; }
}
@media (min-width: 768px) and (max-width: 1199px) {
	#main-menu.sm-mint > li > a { padding-left: 7px; padding-right: 7px; font-size: 12px; letter-spacing: 0.3px; }
	#main-menu.sm-mint a.has-submenu { padding-right: 20px; }
}
@media (max-width: 767px) {
	.dp-navbar-holder { min-height: 64px; }
	.dp-nav-inner { flex-wrap: wrap; min-height: 61px; }
	.dp-brand img { max-height: 44px; }
	.dp-toggle { display: block; }
	.dp-menu-wrap { display: none; width: 100%; padding-bottom: 12px; }
	.dp-menu-wrap.open { display: block; }
	.dp-navbar.is-sticky .dp-menu-wrap.open { max-height: calc(100vh - 64px); overflow-y: auto; }
	#main-menu.sm-mint a { padding: 12px 6px; border-top: 1px solid var(--dp-line); }
	#main-menu.sm-mint > li.dp-menu-login > a { margin: 10px 0 0; border-top: 0; padding-left: 14px; }
	#main-menu.sm-mint ul { border-top: 0; box-shadow: none; background: var(--dp-bg); }
	.dp-topbar-right { display: none; }
}

/* ---------- Hero slider ---------- */
#featured.dp-hero { background: var(--dp-navy-dark); }
#featured.dp-hero .flexslider { margin: 0; border: 0; background: var(--dp-navy-dark); box-shadow: none; }
.dp-hero .slides > li { position: relative; }
.dp-hero .slides img {
	width: 100%;
	height: 520px;
	object-fit: cover;
}
.dp-hero .slides > li::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(15, 17, 45, 0.85) 0%, rgba(15, 17, 45, 0.15) 55%, rgba(15, 17, 45, 0) 100%);
	pointer-events: none;
}
.dp-hero .flex-caption {
	background: none;
	bottom: 70px;
	left: 0;
	right: 0;
	padding: 0 15px;
	z-index: 2;
	text-align: center;
}
.dp-hero .flex-caption h3 {
	color: #fff;
	font-size: 38px;
	font-weight: 500;
	letter-spacing: 0.5px;
	text-transform: none;
	margin: 0 auto 10px;
	max-width: 900px;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
.dp-hero .flex-caption p {
	display: inline-block;
	color: #fff;
	font-size: 15px !important;
	font-weight: 500;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	margin: 0;
	padding-top: 10px;
	border-top: 2px solid var(--dp-green);
}
.dp-hero .flex-control-nav { bottom: 22px; z-index: 3; }
.dp-hero .flex-control-paging li a { background: rgba(255, 255, 255, 0.45); box-shadow: none; width: 10px; height: 10px; }
.dp-hero .flex-control-paging li a.flex-active { background: var(--dp-green); }
@media (max-width: 991px) {
	.dp-hero .slides img { height: 400px; }
	.dp-hero .flex-caption h3 { font-size: 28px; }
}
@media (max-width: 767px) {
	.dp-hero .slides img { height: 240px; }
	.dp-hero .flex-caption { bottom: 40px; }
	.dp-hero .flex-caption h3 { font-size: 18px; }
	.dp-hero .flex-caption p { font-size: 11px !important; letter-spacing: 1px; }
}

/* ---------- Konten utama ---------- */
.dp-main { padding-top: 30px; padding-bottom: 10px; }
.dp-card {
	background: var(--dp-card);
	box-shadow: var(--dp-shadow);
	padding: 22px 24px;
	margin-bottom: 30px;
}
.dp-section-heading {
	background: var(--dp-bg);
	border-left: 4px solid var(--dp-green);
	padding: 10px 14px;
	margin: 0 0 20px;
}
.dp-section-heading h3 {
	margin: 0;
	font-size: 17px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--dp-ink);
}
.dp-section-heading h3 span { background: none; padding: 0; color: inherit; }
@media (min-width: 992px) {
	.dp-row-eq { display: flex; }
	.dp-row-eq > [class*="col-"] { display: flex; }
	.dp-row-eq .dp-card { width: 100%; }
}
.dp-about-body p { margin-bottom: 14px; }
.dp-about-body img { max-width: 100%; height: auto; }

/* Ticker / running text */
.dp-ticker {
	display: flex;
	align-items: stretch;
	background: #fff;
	box-shadow: var(--dp-shadow);
	margin-bottom: 30px;
	overflow: hidden;
}
.dp-ticker-label {
	flex: 0 0 auto;
	background: var(--dp-green);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	padding: 11px 18px;
	white-space: nowrap;
}
.dp-ticker-text { flex: 1; padding: 11px 0; }
.dp-ticker-text a { color: var(--dp-ink); font-weight: 500; }

/* Sidebar post list */
.dp-post {
	display: flex;
	align-items: flex-start;
	padding: 14px 0;
	border-bottom: 1px solid var(--dp-line);
}
.dp-post:first-child { padding-top: 0; }
.dp-post:last-child { border-bottom: 0; padding-bottom: 0; }
.dp-post-thumb {
	flex: 0 0 64px;
	width: 64px;
	height: 64px;
	background: var(--dp-bg);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 14px;
}
.dp-post-thumb img { max-width: 44px; max-height: 44px; }
.dp-post-content { flex: 1; min-width: 0; }
.dp-post-cat {
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--dp-green);
	margin-bottom: 2px;
}
.dp-post-title {
	display: block;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.45;
	color: var(--dp-ink);
	margin-bottom: 4px;
}
.dp-post-title:hover { color: var(--dp-green); }
.dp-post-meta { font-size: 12px; color: var(--dp-muted); }

/* Layanan (tabs) */
#service.dp-service { padding: 22px 24px; background: var(--dp-card); }
.dp-service-intro { margin: -6px 0 20px; }
#service .service-tab ul.dp-tabs { list-style: none; margin: 0 0 20px; padding: 0; border: 0; }
#service .service-tab ul.dp-tabs li { float: none; margin: 0 0 8px; border: 0; }
#service .service-tab ul.dp-tabs li a {
	display: flex;
	align-items: center;
	font-family: "Poppins", Arial, sans-serif;
	font-size: 15px;
	font-weight: 500;
	color: var(--dp-ink);
	background: var(--dp-bg);
	border-left: 4px solid transparent;
	padding: 14px 16px;
	transition: background .2s, color .2s, border-color .2s;
}
#service .service-tab ul.dp-tabs li a i {
	font-size: 20px;
	width: 34px;
	margin-right: 8px;
	color: var(--dp-green);
	text-align: center;
}
#service .service-tab ul.dp-tabs li a:hover,
#service .service-tab ul.dp-tabs li.active a {
	background: var(--dp-navy);
	color: #fff;
	border-left-color: var(--dp-green);
}
#service .service-tab ul.dp-tabs li a:hover i,
#service .service-tab ul.dp-tabs li.active a i { color: #fff; }
.dp-tab-content { padding: 0; border: 0; }
.dp-tab-content .tab-pane { padding: 0; border: 0; }
.dp-tab-content .tab-pane h3 {
	font-size: 22px;
	font-weight: 600;
	margin: 4px 0 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--dp-line);
}

/* ---------- Quote ---------- */
.testimonial-area.dp-quote { margin: 0; padding: 0; background: none; }
.dp-quote .testimonial-solid {
	background: var(--dp-navy) linear-gradient(120deg, var(--dp-navy) 0%, var(--dp-navy-dark) 100%);
	padding: 54px 0 46px;
	text-align: center;
	margin: 0;
}
.dp-quote-icon { font-size: 34px; color: var(--dp-green); margin-bottom: 14px; display: block; }
.dp-quote .testimonial-solid p { color: #e9eaf6; font-size: 17px; font-style: normal; font-weight: 400; line-height: 1.7; }
.dp-quote .testimonial-solid p b { color: #fff; font-weight: 600; font-size: 14px; letter-spacing: 1px; }
.dp-quote .carousel-indicators { position: static; margin: 18px 0 0; width: auto; left: auto; }
.dp-quote .carousel-indicators li { border-color: rgba(255, 255, 255, 0.6); }
.dp-quote .carousel-indicators .active { background: var(--dp-green); border-color: var(--dp-green); }

/* ---------- Statistik pengunjung ---------- */
.dp-counter { background: var(--dp-green); padding: 30px 0; color: #fff; }
.dp-stat { text-align: center; padding: 10px 6px; }
.dp-stat .fa { display: block; font-size: 24px; opacity: .75; margin-bottom: 6px; }
.dp-stat b { display: block; font-size: 28px; font-weight: 600; line-height: 1.2; }
.dp-stat span { display: block; font-size: 12px; letter-spacing: .5px; text-transform: uppercase; opacity: .9; }
@media (max-width: 767px) { .dp-stat b { font-size: 22px; } .dp-stat span { font-size: 10.5px; } }

/* ---------- Footer ---------- */
footer.dp-footer {
	background: #fff;
	border-top: 1px solid var(--dp-line);
	padding: 50px 0 0;
	color: var(--dp-text);
}
.dp-footer .dp-widget { margin-bottom: 30px; }
.dp-footer .dp-widget-title {
	font-size: 15px;
	font-weight: 600;
	color: var(--dp-ink);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	border-left: 3px solid var(--dp-green);
	padding-left: 10px;
	margin: 0 0 20px;
}
.dp-footer address { font-style: normal; margin-bottom: 12px; line-height: 1.7; }
.dp-footer .dp-contact { font-size: 13px; line-height: 1.9; }
.dp-footer .dp-contact .fa { color: var(--dp-green); width: 16px; }
.dp-footer ul.link-list { list-style: none; padding: 0; margin: 0; }
.dp-footer ul.link-list li { margin: 0; padding: 6px 0; border-bottom: 1px dashed var(--dp-line); line-height: 1.5; }
.dp-footer ul.link-list li:last-child { border-bottom: 0; }
.dp-footer ul.link-list li a { color: var(--dp-text); font-size: 13px; }
.dp-footer ul.link-list li a::before {
	content: "\f105";
	font-family: FontAwesome;
	color: var(--dp-green);
	margin-right: 8px;
}
.dp-footer ul.link-list li a:hover { color: var(--dp-green); }
.dp-footer ul.dp-scroll-list { max-height: 300px; overflow-y: auto; padding-right: 6px; }

#sub-footer.dp-copyright {
	background: #0f1030;
	padding: 18px 0;
	margin-top: 20px;
	text-shadow: none;
}
.dp-copyright .copyright p { margin: 0; font-size: 13px; color: #9a9cbd; text-align: center; }
.dp-copyright .copyright a { color: #fff; }
.dp-copyright .copyright a:hover { color: var(--dp-green); }

.dp-scrollup, .scrollup.dp-scrollup { background: var(--dp-green); border-radius: 3px; }
.dp-scrollup:hover { background: var(--dp-navy); }

/* ---------- Perbaikan bentrok dengan tema lama ---------- */
/* Bootstrap clearfix ::before/::after ikut jadi item flex */
.dp-topbar .container::before, .dp-topbar .container::after,
.dp-nav-inner::before, .dp-nav-inner::after { display: none; }

@media (min-width: 768px) {
	#main-menu.sm-mint { display: flex; align-items: center; }
	#main-menu.sm-mint > li { float: none; }
}

/* Tab layanan: tema lama memakai !important */
#service .service-tab ul.dp-tabs li,
#service .service-tab ul.dp-tabs li.active { background: none !important; border-right: 0; }
#service .service-tab ul.dp-tabs li a,
#service .service-tab ul.dp-tabs li a i { background: transparent !important; }
#service .service-tab ul.dp-tabs li a { background: var(--dp-bg) !important; }
#service .service-tab ul.dp-tabs li a:hover,
#service .service-tab ul.dp-tabs li.active a { background: var(--dp-navy) !important; color: #fff; }
#service .service-tab ul.dp-tabs li a i { top: 0; }

/* Ikon statistik & topbar: tema lama mem-float .fa-calendar */
.dp-stat .fa-calendar, .dp-topbar .fa-calendar { float: none; margin: 0; font-size: inherit; color: inherit; }
.dp-stat .fa-calendar { font-size: 24px; margin-bottom: 6px; }
.dp-topbar .fa-calendar { color: var(--dp-green); margin-right: 4px; }

/* Indikator quote di bawah teks */
.dp-quote .carousel { display: flex; flex-direction: column-reverse; }

/* marquee di dalam flex melebar sesuai teks -> overflow di mobile */
.dp-ticker-text { min-width: 0; width: 100%; overflow: hidden; }
#service .service-tab ul.dp-tabs { width: 100%; float: none; display: block; }
#service .service-tab ul.dp-tabs li { width: 100%; }
@media (max-width: 767px) {
	#service .service-tab ul.dp-tabs li a { font-size: 14px; padding: 12px 14px; }
	.dp-card, #service.dp-service { padding: 18px 16px; }
	.dp-tab-content .tab-pane { text-align: left !important; }
}

/* Tema lama mem-float beberapa ikon .fa-* */
.dp-site .dp-topbar .fa, .dp-site .dp-footer .fa, .dp-site .dp-stat .fa,
.dp-site .dp-post-meta .fa, .dp-site .dp-ticker .fa, .dp-site #main-menu .fa { float: none; }
.dp-topbar .fa, .dp-footer .dp-contact .fa { margin: 0 4px 0 0; font-size: inherit; color: var(--dp-green); }

/* Panah submenu */
@media (min-width: 768px) {
	#main-menu.sm-mint > li > a.has-submenu { padding-right: 28px; }
	#main-menu.sm-mint > li > a .sub-arrow { right: 12px; }
}

#main-menu.sm-mint { border: 0; }

/* ---------- Halaman dalam: banner judul & daftar artikel (versi fresh) ---------- */
#inner-headline {
	background: linear-gradient(100deg, var(--dp-green-soft) 0%, var(--dp-green-softer) 55%, #ffffff 100%);
	border-bottom: 1px solid #dcefe1;
	height: auto;
	padding: 28px 0 24px;
}
#inner-headline .pageTitle {
	position: static;
	display: block;
	background: none;
	border-radius: 0;
	margin: 0;
	padding: 0 0 0 14px;
	border-left: 4px solid var(--dp-green);
	color: var(--dp-ink);
	font-size: 24px;
	font-weight: 600;
	line-height: 1.3;
}
.main-post-title { color: var(--dp-green-dark); font-size: 17px; font-weight: 600; transition: color .2s; }
.post-title a:hover .main-post-title { color: var(--dp-navy); }
span.post-meta-bottom a {
	background: var(--dp-green-soft);
	color: var(--dp-green-dark);
	border: 1px solid #cdebd6;
	border-radius: 20px;
	padding: 5px 18px;
	font-size: 13px;
	font-weight: 500;
	transition: background .2s, color .2s;
}
span.post-meta-bottom a:hover { background: var(--dp-green); border-color: var(--dp-green); color: #fff; }

/* Bar statistik lebih segar */
.dp-counter { background: linear-gradient(100deg, var(--dp-green) 0%, #4cc46a 100%); }

/* ---------- Dipertajam: banner & tombol lebih kontras ---------- */
#inner-headline {
	background:
		radial-gradient(circle at 85% -40%, rgba(255, 255, 255, 0.22) 0, rgba(255, 255, 255, 0) 45%),
		linear-gradient(100deg, #1f9447 0%, var(--dp-green) 55%, #5ccb78 100%);
	border-bottom: 0;
	padding: 30px 0;
}
#inner-headline .pageTitle {
	color: #fff;
	border-left-color: #fff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.main-post-title { color: #1f8f43; }
span.post-meta-bottom a {
	background: var(--dp-green);
	border-color: var(--dp-green);
	color: #fff;
	box-shadow: 0 2px 6px rgba(52, 181, 83, 0.3);
}
span.post-meta-bottom a:hover { background: var(--dp-navy); border-color: var(--dp-navy); color: #fff; box-shadow: none; }
#inner-headline h5.pageTitle { margin: 0 !important; }
#inner-headline { padding: 26px 0; }
#inner-headline .row { margin-bottom: 0; }
