/* =========================================================
   MR Advertising — Stylesheet
   ========================================================= */

:root {
	--mradv-gold: #A97913;
	--mradv-gold-soft: #D4A017;
	--mradv-dark: #2A1A0B;
	--mradv-cream: #FDF3E7;
	--mradv-soft: #F2F8FD;
	--mradv-ink: #1C1C1C;
	--mradv-muted: #5C5C5C;
	--mradv-line: #E8E2D8;
	--mradv-radius: 10px;
	--mradv-max: 1180px;
	--mradv-font-head: 'Poppins', 'Segoe UI', system-ui, sans-serif;
	--mradv-font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
	margin: 0;
	font-family: var(--mradv-font-body);
	font-size: 16px;
	line-height: 1.7;
	color: var(--mradv-ink);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--mradv-font-head); margin: 0 0 .6em; line-height: 1.25; }
p { margin: 0 0 1rem; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mradv-gold); text-decoration: none; }
a:hover { color: var(--mradv-gold-soft); }

:focus-visible { outline: 3px solid var(--mradv-gold-soft); outline-offset: 2px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.mradv-skip {
	position: absolute; left: -9999px; top: 0; z-index: 999;
	background: var(--mradv-dark); color: #fff; padding: 12px 20px;
}
.mradv-skip:focus { left: 0; }

.mradv-container { width: 100%; max-width: var(--mradv-max); margin: 0 auto; padding: 0 20px; }

/* ---------------------------------------------------------
   Tombol
   --------------------------------------------------------- */
.mradv-btn {
	display: inline-block;
	background: var(--mradv-gold);
	color: #fff;
	font-family: var(--mradv-font-head);
	font-size: 14px;
	font-weight: 500;
	padding: 12px 24px;
	border-radius: 6px;
	border: 0;
	cursor: pointer;
	transition: background .2s ease, transform .2s ease;
}
.mradv-btn:hover { background: var(--mradv-gold-soft); color: #fff; transform: translateY(-1px); }
.mradv-btn-lg { font-size: 16px; padding: 14px 32px; }

/* ---------------------------------------------------------
   Header
   --------------------------------------------------------- */
.mradv-header {
	background: linear-gradient(90deg, #14100A 0%, var(--mradv-dark) 45%, #4A3113 100%);
	color: #fff;
}
.mradv-header.is-sticky { position: sticky; top: 0; z-index: 90; }
.admin-bar .mradv-header.is-sticky { top: 32px; }

.mradv-header-inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 20px; min-height: 72px;
}
.mradv-brand img, .mradv-brand .custom-logo { max-height: 46px; width: auto; }
.mradv-brand-text { color: #fff; font-family: var(--mradv-font-head); font-weight: 600; font-size: 20px; letter-spacing: .04em; }

.mradv-nav { display: flex; align-items: center; gap: 28px; }
.mradv-menu { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.mradv-menu li { position: relative; }
.mradv-menu a { color: rgba(255,255,255,.9); font-size: 15px; }
.mradv-menu a:hover, .mradv-menu .current-menu-item > a { color: var(--mradv-gold-soft); }

.mradv-menu .sub-menu {
	display: none; position: absolute; left: 0; top: 100%;
	background: var(--mradv-dark); list-style: none; margin: 0; padding: 8px 0;
	min-width: 210px; border-radius: 0 0 8px 8px; box-shadow: 0 12px 30px rgba(0,0,0,.25);
}
.mradv-menu li:hover > .sub-menu, .mradv-menu li:focus-within > .sub-menu { display: block; }
.mradv-menu .sub-menu a { display: block; padding: 8px 18px; }

.mradv-btn-header { padding: 10px 22px; }

.mradv-nav-toggle {
	display: none; width: 44px; height: 40px; background: transparent;
	border: 1px solid rgba(255,255,255,.35); border-radius: 6px; cursor: pointer;
	position: relative;
}
.mradv-nav-toggle-bar,
.mradv-nav-toggle-bar::before,
.mradv-nav-toggle-bar::after {
	content: ''; position: absolute; left: 11px; width: 20px; height: 2px;
	background: #fff; transition: transform .2s ease, opacity .2s ease;
}
.mradv-nav-toggle-bar { top: 19px; }
.mradv-nav-toggle-bar::before { top: -6px; left: 0; }
.mradv-nav-toggle-bar::after { top: 6px; left: 0; }
.mradv-nav-toggle[aria-expanded="true"] .mradv-nav-toggle-bar { background: transparent; }
.mradv-nav-toggle[aria-expanded="true"] .mradv-nav-toggle-bar::before { transform: translateY(6px) rotate(45deg); }
.mradv-nav-toggle[aria-expanded="true"] .mradv-nav-toggle-bar::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------------------------------------------------------
   Hero slider
   --------------------------------------------------------- */
.mradv-hero { position: relative; overflow: hidden; background: #0F0B06; }
.mradv-hero-track { position: relative; width: 100%; height: 100%; }

.mradv-hero-pendek .mradv-hero-track { height: 60vh; min-height: 360px; }
.mradv-hero-sedang .mradv-hero-track { height: 75vh; min-height: 420px; }
.mradv-hero-tinggi .mradv-hero-track { height: 90vh; min-height: 480px; }
.mradv-hero-gambar .mradv-hero-track { height: auto; }

.mradv-hero-slide {
	position: absolute; inset: 0; opacity: 0; visibility: hidden;
	transition: opacity .6s ease;
}
.mradv-hero-slide.is-active { opacity: 1; visibility: visible; z-index: 2; }
.mradv-hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.mradv-hero-gambar .mradv-hero-slide { position: absolute; }
.mradv-hero-gambar .mradv-hero-slide.is-active { position: relative; }
.mradv-hero-gambar .mradv-hero-img { height: auto; object-fit: contain; }

.mradv-hero-overlay {
	position: absolute; inset: 0; display: flex; align-items: center;
	background: linear-gradient(90deg, rgba(10,7,3,.78) 0%, rgba(10,7,3,.35) 60%, rgba(10,7,3,.1) 100%);
}
.mradv-hero-tengah { text-align: center; background: rgba(10,7,3,.55); }
.mradv-hero-caption { max-width: 620px; color: #fff; }
.mradv-hero-tengah .mradv-hero-caption { max-width: 760px; margin: 0 auto; }
.mradv-hero-title { font-size: clamp(28px, 4.6vw, 52px); font-weight: 700; color: #fff; margin-bottom: 14px; }
.mradv-hero-sub { font-size: clamp(15px, 1.6vw, 18px); color: rgba(255,255,255,.88); margin-bottom: 26px; }

.mradv-hero-empty {
	padding: 60px 20px; text-align: center; background: var(--mradv-cream);
	color: var(--mradv-muted); font-size: 15px;
}

/* Panah & dot slider (dipakai bersama section ulasan) */
.mradv-slider-arrow {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
	width: 42px; height: 42px; border: 0; border-radius: 50%;
	background: rgba(255,255,255,.75); color: var(--mradv-dark);
	font-size: 26px; line-height: 1; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	transition: background .2s ease;
}
.mradv-slider-arrow:hover { background: #fff; }
.mradv-hero .mradv-prev { left: 14px; }
.mradv-hero .mradv-next { right: 14px; }

.mradv-slider-dots {
	position: absolute; bottom: 16px; left: 0; right: 0; z-index: 5;
	display: flex; justify-content: center; gap: 8px;
}
.mradv-dot {
	width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0;
	background: rgba(255,255,255,.45); cursor: pointer; transition: background .2s ease, width .2s ease;
}
.mradv-dot.is-active { background: var(--mradv-gold-soft); width: 22px; border-radius: 5px; }

/* ---------------------------------------------------------
   Struktur section
   --------------------------------------------------------- */
.mradv-section { padding: 72px 0; }
.mradv-section-head { max-width: 760px; margin: 0 auto 44px; }
.mradv-align-center { text-align: center; }
.mradv-align-left { text-align: left; margin-left: 0; }
.mradv-eyebrow {
	display: block; font-family: var(--mradv-font-head); font-size: 12px;
	letter-spacing: .22em; text-transform: uppercase; color: var(--mradv-muted); margin-bottom: 14px;
}
.mradv-section-title { font-size: clamp(26px, 3.4vw, 38px); font-weight: 400; letter-spacing: -.01em; }
.mradv-section-sub { font-size: 14px; color: var(--mradv-muted); margin: 0; }

/* Produk */
.mradv-grid { display: grid; gap: 28px; }
.mradv-cols-2 { grid-template-columns: repeat(2, 1fr); }
.mradv-cols-3 { grid-template-columns: repeat(3, 1fr); }
.mradv-cols-4 { grid-template-columns: repeat(4, 1fr); }

.mradv-card { text-align: center; }
.mradv-card-media {
	border-radius: var(--mradv-radius); overflow: hidden; margin-bottom: 18px;
	aspect-ratio: 4 / 4.6; background: var(--mradv-line);
}
.mradv-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mradv-card:hover .mradv-card-media img { transform: scale(1.05); }
.mradv-card-placeholder {
	width: 100%; height: 100%;
	background: repeating-linear-gradient(45deg, #EFE9E0, #EFE9E0 12px, #E6DED2 12px, #E6DED2 24px);
}
.mradv-placeholder-lg { aspect-ratio: 3 / 2; border-radius: var(--mradv-radius); }
.mradv-card-title { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.mradv-card-title a { color: inherit; }
.mradv-card-title a:hover { color: var(--mradv-gold); }
.mradv-card-text { font-size: 13.5px; color: var(--mradv-muted); margin: 0; }

/* Split (Tentang & Keunggulan) */
.mradv-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.mradv-split-media img { border-radius: var(--mradv-radius); width: 100%; }
.mradv-split-title { font-size: clamp(24px, 3vw, 34px); font-weight: 400; }
.mradv-split-text { font-size: 14px; color: var(--mradv-muted); margin-bottom: 24px; }

.mradv-media-kanan .mradv-split-media { order: 2; }
.mradv-media-kanan .mradv-split-body { order: 1; }

.mradv-tentang { background: var(--mradv-cream); }

.mradv-unggul-row { margin-top: 56px; }
.mradv-unggul-title { font-size: 20px; font-weight: 600; margin-bottom: 12px; }

/* Ulasan */
.mradv-ulasan { background: var(--mradv-soft); }
.mradv-ulasan .mradv-section-title { color: var(--mradv-gold); font-weight: 700; font-size: clamp(22px, 2.8vw, 30px); }
.mradv-rating {
	text-align: center; font-size: 14px; font-weight: 600; color: var(--mradv-gold);
	margin: -24px 0 40px; display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
}
.mradv-stars { display: inline-flex; gap: 2px; color: var(--mradv-gold-soft); }
.mradv-stars svg { width: 16px; height: 16px; }

.mradv-rev { position: relative; padding: 0 44px; }
.mradv-rev-viewport { overflow: hidden; }
.mradv-rev-track { display: flex; transition: transform .45s ease; }
.mradv-rev-item {
	flex: 0 0 33.3333%; max-width: 33.3333%; margin: 0; padding: 0 22px;
	text-align: center; display: flex; flex-direction: column; justify-content: space-between;
}
.mradv-rev-text {
	margin: 0 0 20px; font-size: 15px; font-style: italic; line-height: 1.75; color: #333;
	quotes: none;
}
.mradv-rev-meta { display: flex; flex-direction: column; gap: 2px; }
.mradv-rev-name { font-weight: 600; font-size: 13px; }
.mradv-rev-role { font-size: 12px; color: var(--mradv-muted); }

.mradv-rev .mradv-slider-arrow { background: transparent; color: #9AA5AE; font-size: 30px; }
.mradv-rev .mradv-slider-arrow:hover { color: var(--mradv-gold); background: transparent; }
.mradv-rev .mradv-prev { left: 0; }
.mradv-rev .mradv-next { right: 0; }
.mradv-rev .mradv-slider-dots { position: static; margin-top: 28px; }
.mradv-rev .mradv-dot { background: #C7D3DC; }
.mradv-rev .mradv-dot.is-active { background: var(--mradv-gold); }

/* CTA */
.mradv-cta {
	position: relative; background-color: var(--mradv-dark);
	background-size: cover; background-position: center;
	padding: 96px 0; text-align: center; color: #fff;
}
.mradv-cta-overlay { position: absolute; inset: 0; }
.mradv-cta-inner { position: relative; z-index: 2; max-width: 720px; }
.mradv-cta-title { font-size: clamp(28px, 3.8vw, 42px); font-weight: 400; color: #fff; }
.mradv-cta-text { font-size: 14px; color: rgba(255,255,255,.85); margin-bottom: 28px; }

/* Konten halaman statis di front page */
.mradv-page-content .mradv-prose { max-width: 820px; }

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.mradv-footer { background: linear-gradient(90deg, #14100A 0%, var(--mradv-dark) 55%, #3B2710 100%); color: rgba(255,255,255,.82); }
.mradv-footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 44px; padding-top: 60px; padding-bottom: 50px; }
.mradv-footer-logo, .mradv-footer .custom-logo { max-height: 60px; width: auto; margin-bottom: 18px; }
.mradv-footer-title { font-family: var(--mradv-font-head); font-size: 22px; color: #fff; display: block; margin-bottom: 16px; }
.mradv-footer-desc { font-size: 13.5px; line-height: 1.8; margin: 0; }
.mradv-footer-heading { font-size: 24px; font-weight: 400; color: #fff; margin-bottom: 18px; }

.mradv-kontak-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mradv-kontak-list li { display: flex; gap: 10px; font-size: 14px; line-height: 1.6; }
.mradv-kontak-list svg { flex: 0 0 18px; margin-top: 3px; color: var(--mradv-gold-soft); }
.mradv-kontak-list a { color: rgba(255,255,255,.85); }
.mradv-kontak-list a:hover { color: var(--mradv-gold-soft); }

.mradv-map { border-radius: 8px; overflow: hidden; background: #fff; }
.mradv-map iframe { width: 100%; height: 220px; border: 0; display: block; }
.mradv-map-empty {
	display: flex; align-items: center; justify-content: center; text-align: center;
	height: 200px; background: rgba(255,255,255,.06); color: rgba(255,255,255,.6);
	font-size: 13px; padding: 20px;
}

.mradv-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 16px 0; }
.mradv-footer-bottom .mradv-container { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mradv-footer-menu { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; justify-content: center; }
.mradv-footer-menu a { color: rgba(255,255,255,.75); font-size: 13px; }
.mradv-copyright { font-size: 13px; margin: 0; color: rgba(255,255,255,.7); text-align: center; }

/* ---------------------------------------------------------
   Tombol melayang
   --------------------------------------------------------- */
.mradv-float-wa {
	position: fixed; right: 18px; bottom: 18px; z-index: 95;
	display: flex; align-items: center; gap: 10px;
}
.mradv-float-wa-text {
	background: #fff; color: #333; font-size: 12px; line-height: 1.35;
	padding: 8px 12px; border-radius: 6px; max-width: 150px;
	box-shadow: 0 6px 18px rgba(0,0,0,.16);
}
.mradv-float-wa-icon {
	width: 52px; height: 52px; border-radius: 50%; background: #25D366; color: #fff;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 8px 20px rgba(37,211,102,.4);
}
.mradv-float-ig {
	position: fixed; left: 18px; bottom: 20px; z-index: 95;
	display: flex; align-items: center; gap: 8px;
	background: #fff; border-radius: 30px; padding: 5px 14px 5px 5px;
	box-shadow: 0 6px 18px rgba(0,0,0,.14); color: #222;
}
.mradv-float-ig-icon {
	width: 32px; height: 32px; border-radius: 50%; color: #fff;
	background: linear-gradient(45deg, #F09433, #E6683C, #DC2743, #CC2366, #BC1888);
	display: flex; align-items: center; justify-content: center;
}
.mradv-float-ig-text { font-size: 12px; font-weight: 600; }

/* ---------------------------------------------------------
   Blog & halaman dalam
   --------------------------------------------------------- */
.mradv-page-header { background: var(--mradv-cream); padding: 56px 0; text-align: center; }
.mradv-page-header h1 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 400; margin: 0; }
.mradv-page-header .mradv-breadcrumb { font-size: 13px; color: var(--mradv-muted); margin-top: 8px; }

.mradv-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; padding: 64px 0; }
.no-sidebar .mradv-layout { grid-template-columns: 1fr; max-width: 820px; margin: 0 auto; }

.mradv-post-list { display: grid; gap: 36px; }
.mradv-post-card { border-bottom: 1px solid var(--mradv-line); padding-bottom: 28px; }
.mradv-post-card:last-child { border-bottom: 0; }
.mradv-post-thumb { border-radius: var(--mradv-radius); overflow: hidden; margin-bottom: 16px; }
.mradv-post-title { font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.mradv-post-title a { color: inherit; }
.mradv-post-title a:hover { color: var(--mradv-gold); }
.mradv-post-meta { font-size: 13px; color: var(--mradv-muted); margin-bottom: 12px; }

.mradv-prose { font-size: 16px; }
.mradv-prose h2 { font-size: 26px; margin-top: 1.6em; }
.mradv-prose h3 { font-size: 21px; margin-top: 1.4em; }
.mradv-prose img { border-radius: var(--mradv-radius); }
.mradv-prose blockquote {
	margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--mradv-gold);
	color: var(--mradv-muted); font-style: italic;
}
.mradv-prose ul, .mradv-prose ol { padding-left: 20px; }
.mradv-prose table { width: 100%; border-collapse: collapse; }
.mradv-prose th, .mradv-prose td { border: 1px solid var(--mradv-line); padding: 10px; }

.widget { margin-bottom: 34px; }
.widget-title { font-size: 17px; font-weight: 600; margin-bottom: 14px; }
.widget ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.widget ul a { color: var(--mradv-ink); }
.widget ul a:hover { color: var(--mradv-gold); }

.mradv-pagination { margin-top: 44px; display: flex; gap: 8px; flex-wrap: wrap; }
.mradv-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 40px; height: 40px; padding: 0 12px; border-radius: 6px;
	border: 1px solid var(--mradv-line); color: var(--mradv-ink); font-size: 14px;
}
.mradv-pagination .page-numbers.current,
.mradv-pagination .page-numbers:hover { background: var(--mradv-gold); border-color: var(--mradv-gold); color: #fff; }

.mradv-search-form { display: flex; gap: 8px; }
.mradv-search-form input[type="search"] {
	flex: 1; padding: 10px 14px; border: 1px solid var(--mradv-line);
	border-radius: 6px; font: inherit; font-size: 14px;
}

.mradv-404 { text-align: center; padding: 90px 0; }

/* ---------------------------------------------------------
   Responsif
   --------------------------------------------------------- */
@media (max-width: 1024px) {
	.mradv-cols-4 { grid-template-columns: repeat(2, 1fr); }
	.mradv-layout { grid-template-columns: 1fr; }
	.mradv-footer-grid { grid-template-columns: 1fr 1fr; }
	.mradv-footer-about { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
	.mradv-rev-item { flex: 0 0 50%; max-width: 50%; }
}

@media (max-width: 782px) {
	.admin-bar .mradv-header.is-sticky { top: 46px; }

	.mradv-nav-toggle { display: block; }
	.mradv-nav {
		position: absolute; left: 0; right: 0; top: 100%;
		background: var(--mradv-dark); flex-direction: column; align-items: stretch;
		gap: 0; padding: 0 20px; max-height: 0; overflow: hidden;
		transition: max-height .3s ease, padding .3s ease;
	}
	.mradv-nav.is-open { max-height: 80vh; overflow-y: auto; padding: 16px 20px 24px; }
	.mradv-header-inner { position: relative; flex-wrap: wrap; }
	.mradv-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.mradv-menu > li > a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
	.mradv-menu .sub-menu { display: block; position: static; box-shadow: none; background: transparent; padding-left: 14px; }
	.mradv-btn-header { margin-top: 16px; text-align: center; }

	.mradv-section { padding: 52px 0; }
	.mradv-split { grid-template-columns: 1fr; gap: 28px; }
	.mradv-media-kanan .mradv-split-media { order: 0; }
	.mradv-media-kanan .mradv-split-body { order: 0; }
	.mradv-cols-2, .mradv-cols-3, .mradv-cols-4 { grid-template-columns: 1fr; }
	.mradv-card-media { aspect-ratio: 16 / 11; }

	.mradv-hero-pendek .mradv-hero-track,
	.mradv-hero-sedang .mradv-hero-track,
	.mradv-hero-tinggi .mradv-hero-track { height: 52vh; min-height: 300px; }
	.mradv-hero-overlay { background: rgba(10,7,3,.6); text-align: center; }
	.mradv-hero-caption { margin: 0 auto; }

	.mradv-rev { padding: 0 30px; }
	.mradv-rev-item { flex: 0 0 100%; max-width: 100%; padding: 0 6px; }

	.mradv-footer-grid { grid-template-columns: 1fr; gap: 34px; }
	.mradv-float-wa-text { display: none; }
	.mradv-float-ig-text { display: none; }
	.mradv-float-ig { padding: 5px; }
}

@media (prefers-reduced-motion: reduce) {
	* { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
