/* ==========================================================================
   Necveat Pluto — main stylesheet
   ========================================================================== */

:root {
	--kp-primary: #8a4259;
	--kp-primary-d: #763549;
	--kp-accent: #d98e1f;
	--kp-footer: #8a4259;
	--kp-bg: #f6f3f5;
	--kp-surface: #fff;
	--kp-surface-2: #faf7f9;
	--kp-text: #2a2530;
	--kp-muted: #6f6a75;
	--kp-border: #ebe5e9;
	--kp-radius: 12px;
	--kp-shadow: 0 2px 14px rgba(70, 30, 50, .07);
	--kp-shadow-lg: 0 10px 30px rgba(70, 30, 50, .14);
	--kp-font: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--kp-serif: 'Merriweather', Georgia, 'Times New Roman', serif;
	--kp-w: 1200px;
	--kp-side: 340px;
	--kp-gap: 28px;
}

[data-theme="dark"] {
	--kp-bg: #16131a;
	--kp-surface: #211d27;
	--kp-surface-2: #2a2530;
	--kp-text: #ece8ef;
	--kp-muted: #a49eaa;
	--kp-border: #352f3c;
	--kp-shadow: 0 2px 14px rgba(0, 0, 0, .35);
}

/* Reset & base ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--kp-font);
	font-size: 16px;
	line-height: 1.65;
	color: var(--kp-text);
	background: var(--kp-bg);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s, background-color .2s, opacity .2s; }
a:hover { color: var(--kp-primary); }
h1, h2, h3, h4, h5 { margin: 0 0 .5em; line-height: 1.3; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--kp-primary); outline-offset: 2px; }
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; width: auto; height: auto; background: var(--kp-primary); color: #fff;
	padding: 10px 16px; z-index: 9999; left: 8px; top: 8px; border-radius: 6px;
}

.kp-container { width: min(100% - 32px, var(--kp-w)); margin-inline: auto; }

/* Topbar ------------------------------------------------------------------ */
.kp-topbar { background: var(--kp-primary); color: #fff; font-size: 12.5px; font-weight: 600; }
.kp-topbar__in { display: flex; justify-content: space-between; align-items: center; min-height: 34px; gap: 12px; }
.kp-social { display: flex; gap: 4px; align-items: center; }
.kp-social a { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; color: inherit; }
.kp-social a:hover { background: rgba(255, 255, 255, .18); color: #fff; }

/* Header ------------------------------------------------------------------ */
.kp-header { background: var(--kp-surface); border-bottom: 1px solid var(--kp-border); z-index: 60; }
.has-sticky-header .kp-header { position: sticky; top: 0; }
.admin-bar.has-sticky-header .kp-header { top: 32px; }
.kp-header.is-stuck { box-shadow: 0 4px 20px rgba(70, 30, 50, .1); }
.kp-header__in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.kp-brand { display: flex; flex-direction: column; justify-content: center; flex: 0 0 auto; line-height: 1.1; }
.kp-brand img { max-height: 48px; width: auto; }
.kp-brand__name { font-size: 28px; font-weight: 800; color: var(--kp-primary); letter-spacing: -.03em; }
.kp-brand__tag { font-size: 11.5px; color: var(--kp-muted); margin-top: 2px; }

.kp-nav { flex: 1 1 auto; display: flex; justify-content: center; }
.kp-nav__head { display: none; }
.kp-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.kp-menu li { position: relative; }
.kp-menu a { display: block; padding: 10px 13px; font-size: 14px; font-weight: 700; border-radius: 8px; }
.kp-menu > li > a:hover,
.kp-menu > .current-menu-item > a,
.kp-menu > .current-menu-ancestor > a,
.kp-menu > .current_page_item > a { color: var(--kp-primary); background: color-mix(in srgb, var(--kp-primary) 8%, transparent); }
.kp-menu .menu-item-has-children > a::after {
	content: ''; display: inline-block; width: 6px; height: 6px; margin-left: 7px; margin-bottom: 2px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
}
.kp-menu .sub-menu {
	list-style: none; margin: 0; padding: 8px; min-width: 220px; position: absolute; left: 0; top: 100%;
	background: var(--kp-surface); border: 1px solid var(--kp-border); border-radius: 10px; box-shadow: var(--kp-shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; z-index: 20;
}
.kp-menu li:hover > .sub-menu, .kp-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.kp-menu .sub-menu a { font-weight: 600; padding: 9px 12px; }
.kp-menu .sub-menu a:hover { background: var(--kp-surface-2); }
.kp-menu .sub-menu .sub-menu { left: 100%; top: 0; }

.kp-actions { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; margin-left: auto; }
.kp-iconbtn {
	display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px;
	background: transparent; border: 0; border-radius: 50%; color: var(--kp-text);
}
.kp-iconbtn:hover { background: var(--kp-surface-2); color: var(--kp-primary); }
.kp-burger { display: none; }
.kp-theme-toggle .kp-ico-sun { display: none; }
[data-theme="dark"] .kp-theme-toggle .kp-ico-sun { display: inline-flex; }
[data-theme="dark"] .kp-theme-toggle .kp-ico-moon { display: none; }

.kp-btn {
	display: inline-flex; align-items: center; gap: 7px; padding: 9px 18px; border: 0; border-radius: 999px;
	background: var(--kp-primary); color: #fff; font-weight: 800; font-size: 13.5px; line-height: 1.2; cursor: pointer;
}
.kp-btn:hover { background: var(--kp-primary-d); color: #fff; }
.kp-btn--sub { margin-left: 6px; }

.kp-scrim { position: fixed; inset: 0; background: rgba(20, 10, 20, .55); opacity: 0; visibility: hidden; transition: .25s; z-index: 70; }
body.menu-open .kp-scrim { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }

/* Search overlay ---------------------------------------------------------- */
.kp-search { position: fixed; inset: 0; z-index: 100; background: rgba(20, 10, 20, .88); display: flex; align-items: center; justify-content: center; padding: 20px; }
.kp-search[hidden] { display: none; }
.kp-search__close { position: absolute; top: 20px; right: 20px; color: #fff; }
.kp-search__close:hover { background: rgba(255, 255, 255, .15); color: #fff; }
.kp-search__box { width: min(100%, 720px); }
.kp-searchform { display: flex; background: var(--kp-surface); border: 1px solid var(--kp-border); border-radius: 999px; overflow: hidden; }
.kp-searchform input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--kp-text); padding: 14px 22px; font: inherit; font-size: 16px; outline: 0; }
.kp-searchform button { border: 0; background: var(--kp-primary); color: #fff; padding: 0 22px; }
.kp-searchform button:hover { background: var(--kp-primary-d); }

/* Ticker ------------------------------------------------------------------ */
.kp-ticker { padding: 14px 0 4px; }
.kp-ticker__in { display: flex; align-items: center; gap: 0; background: var(--kp-surface); border-radius: 14px; box-shadow: var(--kp-shadow); padding: 6px; overflow: hidden; }
.kp-ticker__label {
	flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; background: var(--kp-primary); color: #fff;
	font-weight: 800; font-size: 13px; padding: 9px 16px; border-radius: 10px; position: relative; z-index: 2;
}
.kp-ticker__track { flex: 1; overflow: hidden; min-width: 0; margin-left: 12px; }
.kp-ticker__move { display: flex; width: max-content; animation: kp-marquee 60s linear infinite; }
.kp-ticker__track:hover .kp-ticker__move { animation-play-state: paused; }
.kp-ticker__dup { display: flex; }
.kp-ticker__item { display: flex; align-items: center; gap: 10px; padding: 0 22px 0 0; white-space: nowrap; }
.kp-ticker__thumb { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; flex: 0 0 34px; background: var(--kp-border); }
.kp-ticker__thumb img { width: 100%; height: 100%; object-fit: cover; }
.kp-ticker__txt { display: flex; flex-direction: column; line-height: 1.25; }
.kp-ticker__txt small { font-size: 10.5px; color: var(--kp-muted); font-weight: 700; }
.kp-ticker__txt b { font-size: 12.5px; font-weight: 700; max-width: 320px; overflow: hidden; text-overflow: ellipsis; }
@keyframes kp-marquee { to { transform: translateX(-50%); } }

/* Section title ----------------------------------------------------------- */
.kp-sec-title { display: flex; align-items: center; gap: 9px; font-size: 17px; margin: 0 0 14px; }
.kp-sec-title::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--kp-primary); flex: 0 0 8px; }

/* Hero + trending --------------------------------------------------------- */
.kp-top { display: grid; grid-template-columns: minmax(0, 1fr) var(--kp-side); gap: var(--kp-gap); margin-top: 18px; align-items: stretch; }
.kp-top--solo { grid-template-columns: 1fr; }
.kp-top--solo .kp-trending { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.kp-top--solo .kp-trending .kp-sec-title { grid-column: 1 / -1; margin: 0; }

.kp-hero { position: relative; border-radius: var(--kp-radius); overflow: hidden; background: var(--kp-border); height: 100%; box-shadow: var(--kp-shadow); }
.kp-slides { display: grid; height: 100%; }
.kp-slide { grid-area: 1 / 1; position: relative; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.kp-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.kp-hero__img { display: block; height: 100%; min-height: 420px; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #e9dfe4, #d8c8d0); }
.kp-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.kp-hero__box {
	position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 18px 22px 16px; border-radius: 12px;
	background: rgba(255, 255, 255, .94); backdrop-filter: blur(6px);
}
[data-theme="dark"] .kp-hero__box { background: rgba(33, 29, 39, .94); }
.kp-hero__title { font-size: clamp(19px, 2.2vw, 26px); margin: 8px 0 6px; }
.kp-hero__ex { color: var(--kp-muted); font-size: 13.5px; margin: 8px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kp-slider-nav { position: absolute; top: 14px; right: 14px; display: flex; gap: 6px; z-index: 5; }
.kp-slider-nav button {
	width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center;
	border: 0; border-radius: 8px; background: var(--kp-primary); color: #fff; opacity: .92;
}
.kp-slider-nav button:hover { opacity: 1; background: var(--kp-primary-d); }

.kp-trending { display: flex; flex-direction: column; gap: 12px; }
.kp-trending .kp-sec-title { margin-bottom: 2px; }
.kp-trending .kp-mini { flex: 1; }

/* Badge & meta ------------------------------------------------------------ */
.kp-badge {
	display: inline-block; background: var(--c, var(--kp-primary)); color: #fff; font-size: 10.5px; font-weight: 800;
	line-height: 1; padding: 5px 9px; border-radius: 5px; letter-spacing: .02em; text-transform: none;
}
.kp-badge:hover { color: #fff; filter: brightness(1.1); }
.kp-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--kp-muted); font-weight: 600; }
.kp-meta__i { display: inline-flex; align-items: center; gap: 5px; }
.kp-meta a:hover { color: var(--kp-primary); }

/* Mini list --------------------------------------------------------------- */
.kp-mini { display: flex; gap: 12px; align-items: center; }
.kp-mini--card { background: var(--kp-surface); padding: 10px; border-radius: 12px; box-shadow: var(--kp-shadow); }
.kp-mini__thumb { flex: 0 0 90px; width: 90px; height: 72px; border-radius: 8px; overflow: hidden; background: var(--kp-border); }
.kp-mini__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.kp-mini:hover .kp-mini__thumb img { transform: scale(1.06); }
.kp-mini__body { min-width: 0; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; }
.kp-mini__title { font-size: 13.5px; line-height: 1.35; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kp-list { display: flex; flex-direction: column; gap: 14px; }

.kp-noimg { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 40px; background: linear-gradient(135deg, var(--kp-primary), var(--kp-accent)); color: #fff; font-weight: 800; font-size: 28px; }

/* Stories ----------------------------------------------------------------- */
.kp-stories { margin-top: 28px; }
.kp-stories__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.kp-story { position: relative; display: block; aspect-ratio: 3 / 4.2; border-radius: 12px; overflow: hidden; background: var(--kp-border); color: #fff; box-shadow: var(--kp-shadow); }
.kp-story img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.kp-story:hover img { transform: scale(1.06); }
.kp-story::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10, 5, 12, .85)); }
.kp-story__cat { position: absolute; top: 10px; right: 10px; z-index: 2; background: var(--c, var(--kp-primary)); font-size: 10px; font-weight: 800; padding: 4px 8px; border-radius: 999px; }
.kp-story__title { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; font-size: 13px; font-weight: 800; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.kp-story:hover { color: #fff; }

/* Layout ------------------------------------------------------------------ */
.kp-layout { display: grid; grid-template-columns: minmax(0, 1fr) var(--kp-side); gap: var(--kp-gap); margin: 28px 0 40px; align-items: start; }
.kp-main { min-width: 0; }
.kp-sidebar { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.kp-adwrap { margin-top: 14px; }

/* Cards grid -------------------------------------------------------------- */
.kp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.kp-grid__ad { grid-column: 1 / -1; }
.kp-card { background: var(--kp-surface); border-radius: var(--kp-radius); box-shadow: var(--kp-shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.kp-card:hover { transform: translateY(-3px); box-shadow: var(--kp-shadow-lg); }
.kp-card__media { position: relative; aspect-ratio: 760 / 460; background: var(--kp-border); overflow: hidden; }
.kp-card__media > a { display: block; height: 100%; }
.kp-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.kp-card:hover .kp-card__media img { transform: scale(1.05); }
.kp-card__media .kp-badge { position: absolute; top: 10px; left: 10px; z-index: 2; }
.kp-card__body { padding: 16px 18px 14px; display: flex; flex-direction: column; flex: 1; }
.kp-card__title { font-size: 17.5px; margin: 0 0 8px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.kp-card__ex { font-size: 13.5px; color: var(--kp-muted); margin: 10px 0 14px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.kp-card__foot { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--kp-border); display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--kp-muted); font-weight: 700; }
.kp-more { display: inline-flex; align-items: center; gap: 5px; color: var(--kp-text); font-weight: 800; font-size: 12.5px; }
.kp-more:hover { color: var(--kp-primary); }

/* Widgets ----------------------------------------------------------------- */
.widget { background: var(--kp-surface); border-radius: var(--kp-radius); box-shadow: var(--kp-shadow); padding: 18px; }
.widget-title { display: flex; align-items: center; gap: 9px; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; margin: 0 0 14px; }
.widget-title::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--kp-primary); }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li { padding: 8px 0; border-bottom: 1px solid var(--kp-border); font-size: 14px; }
.widget ul li:last-child { border-bottom: 0; }
.widget select, .widget input[type="text"], .widget input[type="search"] { max-width: 100%; width: 100%; padding: 9px 12px; border: 1px solid var(--kp-border); border-radius: 8px; background: var(--kp-surface); color: var(--kp-text); }

.kp-hl { position: relative; }
.kp-hl .kp-slide { display: flex; flex-direction: column; gap: 8px; }
.kp-hl__img { display: block; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden; background: var(--kp-border); }
.kp-hl__img img { width: 100%; height: 100%; object-fit: cover; }
.kp-hl__badge { position: absolute; top: 10px; left: 10px; z-index: 2; }
.kp-hl__title { font-size: 15px; margin: 4px 0 0; }
.kp-slider-nav--mid { top: 28%; left: 8px; right: 8px; justify-content: space-between; pointer-events: none; }
.kp-slider-nav--mid button { pointer-events: auto; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--kp-text); box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.kp-slider-nav--mid button:hover { background: #fff; color: var(--kp-primary); }

.kp-rank { list-style: none; counter-reset: r; padding: 0; margin: 0; }
.kp-rank li { counter-increment: r; position: relative; padding: 10px 0 10px 40px; border-bottom: 1px solid var(--kp-border); }
.kp-rank li:last-child { border-bottom: 0; }
.kp-rank li::before { content: counter(r); position: absolute; left: 0; top: 12px; width: 28px; height: 28px; border-radius: 8px; background: var(--kp-primary); color: #fff; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.kp-rank a { font-weight: 800; font-size: 14px; line-height: 1.35; display: block; margin-bottom: 3px; }

.kp-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kp-gallery a { display: block; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--kp-border); }
.kp-gallery a:nth-child(3n) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.kp-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.kp-gallery a:hover img { transform: scale(1.08); }

.kp-social--list { flex-wrap: wrap; gap: 8px; }
.kp-social--list a { width: auto; height: auto; border-radius: 8px; padding: 8px 12px; gap: 8px; background: var(--kp-surface-2); font-weight: 700; font-size: 13px; }
.kp-social--list a:hover { background: var(--kp-primary); color: #fff; }

/* Ads --------------------------------------------------------------------- */
.kp-ad { position: relative; text-align: center; margin: 0 auto; max-width: 100%; }
.kp-ad__label { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: var(--kp-muted); font-weight: 700; margin-bottom: 4px; }
.kp-ad__body { display: flex; justify-content: center; align-items: center; overflow: hidden; max-width: 100%; min-height: 50px; }
.kp-ad__body img { margin: 0 auto; }
.kp-ad__ph { width: 100%; padding: 28px 12px; border: 2px dashed var(--kp-border); border-radius: 10px; color: var(--kp-muted); font-size: 13px; font-weight: 700; background: var(--kp-surface); }
.kp-ad--center { margin: 22px auto; }
.kp-ad--single_inside, .kp-ad--single_top, .kp-ad--single_bottom { margin: 26px auto; }
.kp-ad--loop { background: var(--kp-surface); border-radius: var(--kp-radius); box-shadow: var(--kp-shadow); padding: 12px; }
.kp-ad--sidebar_top, .kp-ad--sidebar_bottom { background: var(--kp-surface); border-radius: var(--kp-radius); box-shadow: var(--kp-shadow); padding: 12px; }
.kp-ad--widget { padding: 0; }
.kp-sticky { position: sticky; top: 90px; }
.admin-bar .kp-sticky { top: 122px; }

/* Sidebar ikut menempel saat scroll (desktop, halaman artikel) */
@media (min-width: 961px) {
	.single .kp-sidebar { position: sticky; top: var(--kp-stick-top, 90px); align-self: start; }
	.single .kp-sidebar .kp-sticky { position: static; }
	.admin-bar.single .kp-sidebar { --kp-stick-top: 122px; }
}
.kp-footer .kp-ad { background: rgba(255, 255, 255, .08); padding: 12px; border-radius: 10px; }
.kp-footer .kp-ad__label { color: rgba(255, 255, 255, .7); }

.kp-anchor-ad { display: none; }

/* Pagination -------------------------------------------------------------- */
.kp-pagination { margin: 30px 0 0; }
.kp-pagination ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.kp-pagination a, .kp-pagination span {
	display: inline-flex; align-items: center; gap: 6px; min-width: 40px; height: 40px; padding: 0 14px; justify-content: center;
	border-radius: 10px; background: var(--kp-surface); border: 1px solid var(--kp-border); font-weight: 800; font-size: 14px;
}
.kp-pagination a:hover { border-color: var(--kp-primary); color: var(--kp-primary); }
.kp-pagination .current { background: var(--kp-primary); border-color: var(--kp-primary); color: #fff; }

/* Archive head ------------------------------------------------------------ */
.kp-archive-head { display: flex; gap: 14px; background: var(--kp-surface); border-radius: var(--kp-radius); box-shadow: var(--kp-shadow); padding: 22px 24px; margin-top: 14px; }
.kp-archive-head__bar { width: 6px; border-radius: 6px; flex: 0 0 6px; }
.kp-archive-head__title { font-size: clamp(22px, 3vw, 30px); margin: 0; }
.kp-archive-head__title span { color: var(--kp-primary); }
.kp-archive-head__desc { color: var(--kp-muted); margin-top: 6px; }
.kp-none, .kp-404 { text-align: center; padding: 50px 20px; background: var(--kp-surface); border-radius: var(--kp-radius); box-shadow: var(--kp-shadow); }
.kp-none .kp-searchform { max-width: 460px; margin: 18px auto 0; }
.kp-404 { margin: 40px auto; max-width: 640px; }
.kp-404__code { display: block; font-size: 96px; font-weight: 800; line-height: 1; color: var(--kp-primary); }
.kp-404 .kp-searchform { margin: 20px auto; max-width: 440px; }

/* Breadcrumb -------------------------------------------------------------- */
.kp-bc { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; color: var(--kp-muted); font-weight: 600; margin-top: 18px; }
.kp-bc a:hover { color: var(--kp-primary); }
.kp-bc__sep { display: inline-flex; opacity: .6; }

/* Single ------------------------------------------------------------------ */
.kp-single { background: var(--kp-surface); border-radius: var(--kp-radius); box-shadow: var(--kp-shadow); padding: clamp(18px, 3vw, 34px); }
.kp-single__cats { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.kp-single__title { font-size: clamp(26px, 4vw, 38px); line-height: 1.22; margin-bottom: 16px; }
.kp-single__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; padding-bottom: 18px; border-bottom: 1px solid var(--kp-border); }
.kp-single__author { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 14px; }
.kp-single__author img { border-radius: 50%; }
.kp-single__upd { font-size: 12px; color: var(--kp-muted); margin: 10px 0 0; }
.kp-single__fig { margin: 22px 0 0; }
.kp-single__fig img { width: 100%; border-radius: 10px; }
.kp-single__fig figcaption { font-size: 12.5px; color: var(--kp-muted); margin-top: 8px; font-style: italic; }

.kp-share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.kp-share__label { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 13px; margin-right: 6px; }
.kp-share__b { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--kp-surface-2); color: var(--kp-text); }
.kp-share__b:hover { color: #fff; }
.kp-share__b--fb:hover { background: #1877f2; }
.kp-share__b--x:hover { background: #111; }
.kp-share__b--wa:hover { background: #25d366; }
.kp-share__b--tg:hover { background: #229ed9; }
.kp-share__b--copy:hover { background: var(--kp-primary); }
.kp-share__b.is-done { background: #2f8f5b; color: #fff; }

.entry-content { font-family: var(--kp-serif); font-size: 17px; line-height: 1.9; color: var(--kp-text); overflow-wrap: break-word; }
.entry-content > * { max-width: 100%; }
.entry-content h2 { font-family: var(--kp-font); font-size: 26px; margin: 1.6em 0 .6em; }
.entry-content h3 { font-family: var(--kp-font); font-size: 21px; margin: 1.4em 0 .5em; }
.entry-content h4 { font-family: var(--kp-font); font-size: 18px; margin: 1.3em 0 .5em; }
.entry-content a { color: var(--kp-primary); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: 8px; }
.entry-content blockquote { margin: 1.6em 0; padding: 14px 22px; border-left: 4px solid var(--kp-primary); background: var(--kp-surface-2); border-radius: 0 10px 10px 0; font-style: italic; }
.entry-content blockquote p:last-child { margin: 0; }
.entry-content figure { margin: 1.6em 0; }
.entry-content figcaption, .wp-caption-text { font-size: 13px; color: var(--kp-muted); text-align: center; margin-top: 6px; }
.entry-content table { width: 100%; border-collapse: collapse; font-family: var(--kp-font); font-size: 14.5px; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border: 1px solid var(--kp-border); padding: 9px 12px; text-align: left; }
.entry-content th { background: var(--kp-surface-2); }
.entry-content pre { background: #1d1a22; color: #eee; padding: 16px; border-radius: 10px; overflow-x: auto; font-size: 14px; line-height: 1.6; }
.entry-content code { background: var(--kp-surface-2); padding: 2px 6px; border-radius: 5px; font-size: .9em; }
.entry-content pre code { background: none; padding: 0; }
.entry-content iframe { max-width: 100%; }
.entry-content .alignwide, .entry-content .alignfull { max-width: 100%; }
.entry-content .alignleft { float: left; margin: .3em 1.4em 1em 0; }
.entry-content .alignright { float: right; margin: .3em 0 1em 1.4em; }
.entry-content .aligncenter { margin-inline: auto; display: block; }
.entry-content::after { content: ''; display: block; clear: both; }
.wp-block-image img, .wp-block-gallery img { height: auto; }
.kp-pages { margin: 20px 0; font-weight: 700; font-family: var(--kp-font); }
.kp-pages a, .kp-pages > span { display: inline-block; padding: 2px 10px; margin-left: 4px; border: 1px solid var(--kp-border); border-radius: 6px; }

.kp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; }
.kp-tags a { font-size: 12.5px; font-weight: 700; padding: 6px 12px; background: var(--kp-surface-2); border: 1px solid var(--kp-border); border-radius: 999px; }
.kp-tags a::before { content: '#'; opacity: .6; }
.kp-tags a:hover { background: var(--kp-primary); border-color: var(--kp-primary); color: #fff; }

.kp-authorbox { display: flex; gap: 16px; align-items: flex-start; padding: 18px; margin-top: 26px; background: var(--kp-surface-2); border-radius: 12px; }
.kp-authorbox img { border-radius: 50%; flex: 0 0 72px; }
.kp-authorbox__label { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--kp-muted); font-weight: 800; }
.kp-authorbox h3 { margin: 2px 0 6px; font-size: 18px; }
.kp-authorbox p { margin: 0; font-size: 14px; color: var(--kp-muted); }

.kp-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0; }
.kp-postnav a { display: block; background: var(--kp-surface); padding: 14px 18px; border-radius: 12px; box-shadow: var(--kp-shadow); }
.kp-postnav small { display: block; color: var(--kp-primary); font-weight: 800; font-size: 12px; margin-bottom: 4px; }
.kp-postnav span { font-weight: 800; font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kp-postnav__n { text-align: right; grid-column: 2; }
.kp-postnav__p:only-child { grid-column: 1; }
.kp-related { margin-top: 28px; }

/* Comments ---------------------------------------------------------------- */
.kp-comments { background: var(--kp-surface); border-radius: var(--kp-radius); box-shadow: var(--kp-shadow); padding: clamp(18px, 3vw, 30px); margin-top: 24px; }
.kp-comments__list, .kp-comments__list .children { list-style: none; padding: 0; margin: 0; }
.kp-comments__list .children { margin-left: 28px; }
.kp-comments__list .comment-body { padding: 16px 0; border-bottom: 1px solid var(--kp-border); position: relative; font-size: 15px; }
.kp-comments__list .comment-author { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.kp-comments__list .avatar { border-radius: 50%; }
.kp-comments__list .says { display: none; }
.kp-comments__list .comment-metadata { font-size: 12px; color: var(--kp-muted); margin: 2px 0 8px 58px; }
.kp-comments__list .comment-content { margin-left: 58px; }
.kp-comments__list .reply { margin-left: 58px; font-size: 13px; font-weight: 800; }
.comment-respond { margin-top: 24px; }
.comment-reply-title { font-size: 19px; }
.comment-form label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 11px 14px; border: 1px solid var(--kp-border); border-radius: 10px; background: var(--kp-surface); color: var(--kp-text); font: inherit;
}
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.comment-form-cookies-consent label { margin: 0; }

/* Footer ------------------------------------------------------------------ */
.kp-footer { background: var(--kp-footer); color: #f6e9ee; margin-top: 20px; }
.kp-footer a { color: #fff; }
.kp-footer a:hover { color: #ffd9e5; }
.kp-footer__grid { display: grid; grid-template-columns: 1.1fr 1.2fr 1fr; gap: 36px; padding: 46px 0 38px; }
.kp-footer__grid--2 { grid-template-columns: 1fr 1.2fr; }
.kp-footer .kp-brand__name { color: #fff; font-size: 30px; }
.kp-footer__about { font-size: 14px; line-height: 1.75; opacity: .92; margin: 14px 0 16px; }
.kp-footer .widget { background: transparent; box-shadow: none; padding: 0; color: inherit; }
.kp-footer .widget-title { color: #fff; }
.kp-footer .widget-title::before { background: #fff; }
.kp-footer .widget ul li { border-color: rgba(255, 255, 255, .15); }
.kp-footer .kp-social a:hover { background: rgba(255, 255, 255, .2); }
.kp-footer__bar { border-top: 1px solid rgba(255, 255, 255, .18); font-size: 13px; }
.kp-footer__bar-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 0; }
.kp-footer__menu { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; flex-wrap: wrap; }

.kp-totop {
	position: fixed; right: 18px; bottom: 18px; width: 44px; height: 44px; border: 0; border-radius: 50%; z-index: 40;
	background: var(--kp-primary); color: #fff; display: flex; align-items: center; justify-content: center;
	box-shadow: var(--kp-shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s;
}
.kp-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.kp-totop:hover { background: var(--kp-primary-d); }

.kp-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; background: transparent; }
.admin-bar .kp-progress { top: 32px; }
.kp-progress span { display: block; height: 100%; width: 0; background: var(--kp-accent); }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1100px) {
	:root { --kp-side: 300px; --kp-gap: 22px; }
	.kp-hero__img { min-height: 380px; }
	.kp-menu a { padding: 10px 9px; }
}

@media (max-width: 960px) {
	.kp-layout, .kp-top { grid-template-columns: 1fr; }
	.kp-trending { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.kp-trending .kp-sec-title { grid-column: 1 / -1; }
	.kp-hero__img { min-height: 340px; }
	.kp-sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
	.kp-sidebar .kp-ad--sidebar_top, .kp-sidebar .kp-ad--sidebar_bottom { grid-column: 1 / -1; }
	.kp-sticky { position: static; }

	.kp-burger { display: inline-flex; }
	.kp-nav {
		position: fixed; top: 0; right: 0; bottom: 0; width: min(86vw, 340px); background: var(--kp-surface); z-index: 80;
		flex-direction: column; justify-content: flex-start; padding: 0 0 24px; overflow-y: auto;
		transform: translateX(100%); transition: transform .3s ease; box-shadow: var(--kp-shadow-lg);
	}
	body.menu-open .kp-nav { transform: none; }
	.kp-nav__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-weight: 800; border-bottom: 1px solid var(--kp-border); }
	.kp-menu { flex-direction: column; align-items: stretch; gap: 0; padding: 10px; }
	.kp-menu a { padding: 12px 14px; font-size: 15px; }
	.kp-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; background: transparent; }
	.kp-menu .menu-item-has-children > a::after { display: none; }
	.kp-footer__grid, .kp-footer__grid--2 { grid-template-columns: 1fr 1fr; }
	.kp-footer__col:first-child { grid-column: 1 / -1; }
}

@media (max-width: 782px) {
	.admin-bar.has-sticky-header .kp-header { top: 46px; }
	.admin-bar .kp-progress { top: 46px; }
	.admin-bar .kp-sticky { top: 70px; }
}

@media (max-width: 640px) {
	body { font-size: 15px; }
	.kp-topbar__date { font-size: 11.5px; }
	.kp-header__in { min-height: 60px; gap: 10px; }
	.kp-brand__name { font-size: 24px; }
	.kp-brand__tag { display: none; }
	.kp-btn--sub span { display: none; }
	.kp-btn--sub { padding: 10px; margin-left: 0; }
	.kp-ticker__label { padding: 8px 12px; }
	.kp-hero__img { min-height: 300px; aspect-ratio: 4 / 5; }
	.kp-hero__box { left: 10px; right: 10px; bottom: 10px; padding: 14px; }
	.kp-hero__ex { display: none; }
	.kp-slider-nav { top: 10px; right: 10px; }
	.kp-trending { grid-template-columns: 1fr; }
	.kp-stories__list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin-inline: -16px; padding: 0 16px 10px; scrollbar-width: none; }
	.kp-stories__list::-webkit-scrollbar { display: none; }
	.kp-story { flex: 0 0 150px; scroll-snap-align: start; }
	.kp-grid { grid-template-columns: 1fr; }
	.kp-sidebar { grid-template-columns: 1fr; }
	.kp-single { padding: 18px 16px; }
	.entry-content { font-size: 16.5px; line-height: 1.85; }
	.kp-postnav { grid-template-columns: 1fr; }
	.kp-postnav__n { grid-column: 1; text-align: left; }
	.kp-comments__list .children { margin-left: 14px; }
	.kp-comments__list .comment-metadata, .kp-comments__list .comment-content, .kp-comments__list .reply { margin-left: 0; }
	.kp-footer__grid, .kp-footer__grid--2 { grid-template-columns: 1fr; gap: 28px; padding: 36px 0 28px; }
	.kp-footer__bar-in { flex-direction: column; text-align: center; }
	.kp-authorbox { flex-direction: column; align-items: center; text-align: center; }

	/* Anchor ad (mobile) */
	.kp-anchor-ad { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--kp-surface); box-shadow: 0 -4px 18px rgba(0, 0, 0, .15); padding: 4px 6px; }
	.kp-anchor-ad__x { position: absolute; top: -26px; right: 8px; width: 26px; height: 26px; border: 0; border-radius: 8px 8px 0 0; background: var(--kp-surface); color: var(--kp-text); display: flex; align-items: center; justify-content: center; }
	.kp-anchor-ad.is-closed { display: none; }
	.has-anchor-ad { padding-bottom: 64px; }
	.has-anchor-ad .kp-totop { bottom: 78px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.kp-ticker__track { overflow-x: auto; }
	.kp-ticker__dup { display: none; }
}

@media print {
	.kp-topbar, .kp-header, .kp-ticker, .kp-sidebar, .kp-footer, .kp-share, .kp-ad, .kp-related, .kp-comments, .kp-totop, .kp-postnav { display: none !important; }
	.kp-layout { display: block; }
	.kp-single { box-shadow: none; padding: 0; }
}
