/* ==========================================================
   Kreate Edgee — Blog (listing, article, archives, search)
   ========================================================== */

.ke-blog {
	--ke-bg: #130D1A;
	--ke-bg2: #1B152C;
	--ke-card: rgba(255, 255, 255, .03);
	--ke-line: rgba(192, 183, 240, .15);
	--ke-accent: var(--theme-color1, #C0B7F0);
	--ke-text: rgba(255, 255, 255, .72);
	--ke-head: #fff;
	background: var(--ke-bg);
	color: var(--ke-text);
	font-family: "Kumbh Sans", var(--text-font), sans-serif;
	overflow: clip;
}
/* The theme wrapper uses overflow:hidden, which breaks sticky sidebars; clip keeps the same look */
.page-wrapper { overflow: clip; }
.ke-blog h1, .ke-blog h2, .ke-blog h3, .ke-blog h4 { color: var(--ke-head); font-family: inherit; }
.ke-blog a { transition: color .2s ease; }
.ke-blog img { max-width: 100%; height: auto; display: block; }
.ke-blog .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.ke-eyebrow {
	display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
	color: var(--ke-accent); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.ke-eyebrow:before { content: ""; width: 28px; height: 1px; background: currentColor; }
.ke-chip {
	display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px;
	background: rgba(192, 183, 240, .12); color: var(--ke-accent); font-size: 12px; font-weight: 600; letter-spacing: .02em; line-height: 1.4;
}
.ke-chip:hover { background: var(--ke-accent); color: #130D1A; }
.ke-chip--lg { padding: 7px 16px; font-size: 13px; margin-bottom: 22px; }
.ke-badge {
	display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
	background: var(--ke-accent); color: #130D1A; font-size: 12px; font-weight: 700;
}
.ke-readmore { display: inline-flex; align-items: center; gap: 10px; color: var(--ke-accent); font-weight: 600; }
.ke-readmore i { transition: transform .25s ease; }
.ke-readmore:hover { color: #fff; }
.ke-readmore:hover i { transform: translateX(4px); }
.ke-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.ke-section-head h2 { margin: 0; font-size: clamp(26px, 3vw, 38px); font-weight: 600; }
.ke-side-title { font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ke-accent) !important; margin-bottom: 18px; }
.ke-empty { padding: 60px 0; text-align: center; font-size: 18px; }
.ke-empty a { color: var(--ke-accent); text-decoration: underline; }

/* Hero */
.ke-blog-hero, .ke-article-hero { position: relative; padding: 190px 0 70px; }
.ke-blog-hero { background-image: linear-gradient(180deg, rgba(19, 13, 26, .82), var(--ke-bg)), var(--ke-hero-bg, none); background-size: cover; background-position: center; border-bottom: 1px solid var(--ke-line); }
.ke-blog-hero__glow {
	position: absolute; width: 820px; height: 820px; left: 50%; top: -420px; transform: translateX(-50%); pointer-events: none;
	background: radial-gradient(circle, rgba(192, 183, 240, .2), rgba(192, 183, 240, 0) 62%);
}
.ke-blog-hero .auto-container { position: relative; text-align: center; }
.ke-blog-hero__title { font-size: clamp(36px, 5.4vw, 72px); line-height: 1.06; font-weight: 700; letter-spacing: -.02em; max-width: 960px; margin: 0 auto 22px; }
.ke-blog-hero__text { max-width: 680px; margin: 0 auto; font-size: 19px; line-height: 1.7; }
.ke-blog-hero__text p { margin: 0; color: var(--ke-text); }

.ke-blog-search {
	display: flex; align-items: center; gap: 10px; max-width: 640px; margin: 40px auto 0; padding: 8px 8px 8px 22px;
	background: rgba(255, 255, 255, .05); border: 1px solid var(--ke-line); border-radius: 999px; transition: border-color .2s, background .2s;
}
.ke-blog-search:focus-within { border-color: var(--ke-accent); background: rgba(255, 255, 255, .08); }
.ke-blog-search i { color: var(--ke-accent); }
.ke-blog-search input[type="search"] { flex: 1; min-width: 0; height: 46px; padding: 0 6px; border: 0; background: none; color: #fff; font-size: 16px; outline: none; }
.ke-blog-search input::placeholder { color: rgba(255, 255, 255, .45); }
.ke-blog-search button {
	height: 46px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--ke-accent); color: #130D1A; font-weight: 700; cursor: pointer;
	transition: transform .2s, box-shadow .2s;
}
.ke-blog-search button:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(192, 183, 240, .25); }

.ke-blog-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.ke-blog-tabs a {
	padding: 9px 18px; border-radius: 999px; border: 1px solid var(--ke-line); color: rgba(255, 255, 255, .8); font-size: 14px; font-weight: 500;
	transition: background .2s, color .2s, border-color .2s;
}
.ke-blog-tabs a:hover { border-color: var(--ke-accent); color: #fff; }
.ke-blog-tabs a.is-active { background: var(--ke-accent); border-color: var(--ke-accent); color: #130D1A; font-weight: 700; }

/* Featured + popular */
.ke-blog-top { padding: 70px 0 20px; }
.ke-blog-top__grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.ke-blog-top__grid.is-single { grid-template-columns: 1fr; }
.ke-feature { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: 26px; background: var(--ke-bg2); border: 1px solid var(--ke-line); }
.ke-feature__media { display: block; overflow: hidden; aspect-ratio: 16 / 8.5; }
.ke-feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.ke-feature:hover .ke-feature__media img { transform: scale(1.04); }
.ke-feature__body { padding: 32px 36px 36px; }
.ke-feature__title { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.25; font-weight: 700; margin: 16px 0 14px; }
.ke-feature__title a:hover, .ke-card__title a:hover { color: var(--ke-accent); }
.ke-feature__excerpt { font-size: 17px; line-height: 1.7; margin-bottom: 22px; }
.ke-feature .ke-card__foot { margin-bottom: 22px; }

.ke-popular { position: sticky; top: 30px; padding: 28px; border-radius: 26px; background: var(--ke-card); border: 1px solid var(--ke-line); }
.ke-popular__list { margin: 0; padding: 0; list-style: none; counter-reset: pop; }
.ke-popular__list li { counter-increment: pop; position: relative; padding: 16px 0; border-bottom: 1px solid var(--ke-line); }
.ke-popular__list li:last-child { border-bottom: 0; padding-bottom: 0; }

/* Cards */
.ke-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.ke-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: var(--ke-card); border: 1px solid var(--ke-line); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.ke-card:hover { transform: translateY(-6px); border-color: rgba(192, 183, 240, .45); box-shadow: 0 24px 50px rgba(0, 0, 0, .35); }
.ke-card__media { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--ke-bg2); }
.ke-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ke-card:hover .ke-card__media img { transform: scale(1.05); }
/* Designed cover for articles without a featured image */
.ke-cover {
	--c1: #3B2D6B; --c2: #1B152C;
	position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
	width: 100%; height: 100%; padding: 22px 24px; overflow: hidden;
	background:
		radial-gradient(circle at 88% 12%, rgba(255, 255, 255, .16), transparent 42%),
		repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 14px),
		linear-gradient(135deg, var(--c1), var(--c2));
	transition: transform .6s ease;
}
.ke-card:hover .ke-cover, .ke-feature:hover .ke-cover { transform: scale(1.04); }
.ke-cover--1 { --c1: #4B2E83; --c2: #160F24; }
.ke-cover--2 { --c1: #1E4B6B; --c2: #0F1624; }
.ke-cover--3 { --c1: #5B2C5E; --c2: #1A0F1E; }
.ke-cover--4 { --c1: #2B4F4A; --c2: #0E1A18; }
.ke-cover__cat { align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ke-cover__title { color: #fff; font-size: 21px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ke-cover__brand { color: rgba(192, 183, 240, .85); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.ke-feature .ke-cover { padding: 40px; }
.ke-feature .ke-cover__title { font-size: clamp(28px, 3vw, 40px); -webkit-line-clamp: 4; }
.ke-card--mini .ke-cover { align-items: center; justify-content: center; padding: 0; }
.ke-card--mini .ke-cover i { color: rgba(255, 255, 255, .55); font-size: 24px; }
.ke-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.ke-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; color: rgba(255, 255, 255, .55); }
.ke-card__title { font-size: 20px; line-height: 1.38; font-weight: 600; margin: 14px 0 10px; }
.ke-card__excerpt { font-size: 15px; line-height: 1.7; margin: 0 0 20px; color: var(--ke-text); }
.ke-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; font-size: 13px; color: rgba(255, 255, 255, .55); }
.ke-card__author { display: inline-flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .85); font-weight: 500; }
.ke-card__author img { border-radius: 50%; }

.ke-card--mini { flex-direction: row; gap: 16px; align-items: center; border: 0; background: none; border-radius: 0; overflow: visible; }
.ke-card--mini:hover { transform: none; box-shadow: none; }
.ke-card--mini .ke-card__media { flex: 0 0 84px; width: 84px; height: 84px; aspect-ratio: auto; border-radius: 16px; }
.ke-card--mini .ke-card__placeholder { font-size: 30px; }
.ke-card--mini .ke-card__body { padding: 0; }
.ke-card--mini .ke-card__meta .ke-chip { display: none; }
.ke-card--mini .ke-card__title { font-size: 16px; margin: 4px 0 6px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ke-card--mini .ke-card__date { font-size: 12px; color: rgba(255, 255, 255, .5); }
.ke-card--page .ke-card__body { padding-top: 26px; }

/* Listing + pager */
.ke-blog-list { padding: 70px 0 90px; }
.ke-blog-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 56px; }
.ke-blog-pager .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 48px; height: 48px; padding: 0 14px; border-radius: 999px;
	border: 1px solid var(--ke-line); color: #fff; font-weight: 600;
}
.ke-blog-pager a.page-numbers:hover { border-color: var(--ke-accent); color: var(--ke-accent); }
.ke-blog-pager .current { background: var(--ke-accent); border-color: var(--ke-accent); color: #130D1A; }
.ke-blog-pager .dots { border: 0; }

/* CTA band */
.ke-blog-cta { padding: 0 0 100px; }
.ke-blog-cta__box, .ke-inline-cta {
	display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 54px 56px; border-radius: 28px;
	background: radial-gradient(circle at 85% 20%, rgba(192, 183, 240, .25), transparent 55%), linear-gradient(120deg, #2A2147, #1B152C);
	border: 1px solid var(--ke-line);
}
.ke-blog-cta__box h2 { font-size: clamp(26px, 3vw, 40px); line-height: 1.2; margin-bottom: 10px; }
.ke-blog-cta__box p, .ke-inline-cta p { margin: 0; font-size: 17px; color: var(--ke-text); max-width: 620px; }
.ke-blog-cta__box .theme-btn, .ke-inline-cta .theme-btn { flex: 0 0 auto; }

/* ---------------- Article ---------------- */
.ke-progress { position: fixed; left: 0; right: 0; top: 0; z-index: 10000; height: 3px; pointer-events: none; }
.ke-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--theme-color1, #C0B7F0), #fff); transform: scaleX(0); transform-origin: 0 50%; }

.ke-article-hero { padding-bottom: 0; }
.ke-crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; font-size: 14px; color: rgba(255, 255, 255, .45); }
.ke-crumbs a { color: rgba(255, 255, 255, .7); }
.ke-crumbs a:hover { color: var(--ke-accent); }
.ke-article-hero__inner { max-width: 900px; }
.ke-article__title { font-size: clamp(32px, 4.6vw, 60px); line-height: 1.1; font-weight: 700; letter-spacing: -.02em; margin-bottom: 22px; }
.ke-article__dek { font-size: 20px; line-height: 1.65; color: rgba(255, 255, 255, .78); margin-bottom: 30px; max-width: 780px; }
.ke-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 34px; padding-top: 24px; border-top: 1px solid var(--ke-line); }
.ke-article__author { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-weight: 600; }
.ke-article__author img { border-radius: 50%; border: 2px solid rgba(192, 183, 240, .4); }
.ke-article__author small { display: block; font-size: 12px; font-weight: 400; color: rgba(255, 255, 255, .5); }
.ke-article__facts { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: rgba(255, 255, 255, .6); }
.ke-article__facts i { color: var(--ke-accent); margin-right: 4px; }
.ke-article__cover { margin: 46px 0 0; border-radius: 28px; overflow: hidden; border: 1px solid var(--ke-line); }
.ke-article__cover img { width: 100%; max-height: 620px; object-fit: cover; }

.ke-article__layout { display: grid; grid-template-columns: 270px minmax(0, 760px); justify-content: center; gap: 64px; padding: 64px 0 40px; }
.ke-article__layout.no-toc { grid-template-columns: minmax(0, 780px); }
.ke-article__side { position: sticky; top: 30px; align-self: start; }
.ke-toc { max-height: calc(100vh - 200px); overflow: auto; padding: 22px; border-radius: 20px; background: var(--ke-card); border: 1px solid var(--ke-line); scrollbar-width: thin; }
.ke-toc__toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 0; border: 0; background: none; color: var(--ke-accent); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; cursor: default; }
.ke-toc__toggle span i { margin-right: 8px; }
.ke-toc__toggle > i { display: none; }
.ke-toc__list { margin: 16px 0 0; padding: 0; list-style: none; }
.ke-toc__list li { margin: 0; }
.ke-toc__list a { display: block; padding: 7px 0 7px 14px; border-left: 2px solid var(--ke-line); color: rgba(255, 255, 255, .62); font-size: 14px; line-height: 1.45; }
.ke-toc__list .ke-toc__h3 a { padding-left: 28px; font-size: 13px; }
.ke-toc__list a:hover { color: #fff; }
.ke-toc__list a.is-active { color: var(--ke-accent); border-left-color: var(--ke-accent); font-weight: 600; }
.ke-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ke-share span { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-right: 4px; }
.ke-share a, .ke-share button {
	display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%;
	border: 1px solid var(--ke-line); background: none; color: #fff; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.ke-share a:hover, .ke-share button:hover { background: var(--ke-accent); border-color: var(--ke-accent); color: #130D1A; }
.ke-share button.is-copied { background: #3ecf8e; border-color: #3ecf8e; color: #fff; }
.ke-share--side { margin-top: 22px; padding: 0 4px; }
.ke-share--side span { width: 100%; }

/* Key takeaways */
.ke-takeaways { margin-bottom: 40px; padding: 30px 32px; border-radius: 22px; background: linear-gradient(135deg, rgba(192, 183, 240, .12), rgba(192, 183, 240, .03)); border: 1px solid rgba(192, 183, 240, .3); }
.ke-takeaways__title { font-size: 18px !important; margin: 0 0 16px !important; display: flex; align-items: center; gap: 10px; }
.ke-takeaways__title i { color: var(--ke-accent); }
.ke-takeaways ul { margin: 0; padding: 0; list-style: none; }
.ke-takeaways li { position: relative; padding-left: 28px; margin-bottom: 10px; color: #fff; line-height: 1.6; }
.ke-takeaways li:before { content: "\f00c"; font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 1px; color: var(--ke-accent); font-size: 14px; }

/* Article typography */
.ke-prose { font-size: 18px; line-height: 1.85; color: rgba(255, 255, 255, .8); }
.ke-prose > * { margin-top: 0; }
.ke-prose p { margin: 0 0 24px; color: rgba(255, 255, 255, .8); }
.ke-prose h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.25; font-weight: 700; margin: 56px 0 18px; scroll-margin-top: 30px; }
.ke-prose h3 { font-size: clamp(21px, 2vw, 25px); line-height: 1.35; font-weight: 600; margin: 40px 0 14px; scroll-margin-top: 30px; }
.ke-prose h4 { font-size: 20px; margin: 30px 0 12px; }
.ke-prose a { color: var(--ke-accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.ke-prose a:hover { color: #fff; }
.ke-prose strong { color: #fff; font-weight: 700; }
.ke-prose ul, .ke-prose ol { margin: 0 0 26px; padding-left: 0; list-style: none; }
.ke-prose ul li, .ke-prose ol li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.ke-prose ul li:before { content: ""; position: absolute; left: 6px; top: 13px; width: 8px; height: 8px; border-radius: 50%; background: var(--ke-accent); }
.ke-prose ol { counter-reset: kol; }
.ke-prose ol li { counter-increment: kol; }
.ke-prose ol li:before { content: counter(kol); position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: rgba(192, 183, 240, .15); color: var(--ke-accent); font-size: 12px; font-weight: 700; line-height: 22px; text-align: center; }
.ke-prose blockquote { margin: 34px 0; padding: 26px 30px; border-left: 3px solid var(--ke-accent); border-radius: 0 18px 18px 0; background: rgba(192, 183, 240, .07); font-size: 20px; font-style: italic; color: #fff; }
.ke-prose blockquote p:last-child { margin: 0; }
.ke-prose img, .ke-prose figure img { border-radius: 18px; margin: 10px 0; }
.ke-prose figure { margin: 34px 0; }
.ke-prose figcaption { font-size: 14px; text-align: center; color: rgba(255, 255, 255, .5); margin-top: 8px; }
.ke-prose table { width: 100%; margin: 30px 0; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.ke-prose th, .ke-prose td { padding: 12px 14px; border: 1px solid var(--ke-line); text-align: left; vertical-align: top; }
.ke-prose th { background: rgba(192, 183, 240, .1); color: #fff; }
.ke-prose code { padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); font-size: .9em; }
.ke-prose pre { padding: 20px; border-radius: 16px; background: #0c0811; overflow-x: auto; font-size: 14px; }
.ke-prose hr { border: 0; border-top: 1px solid var(--ke-line); margin: 44px 0; }
.ke-prose iframe { max-width: 100%; border-radius: 16px; }

/* Article FAQ */
.ke-article-faq { margin: 56px 0 10px; }
.ke-article-faq > h2 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 22px; }
.ke-faq { margin-bottom: 12px; border-radius: 16px; border: 1px solid var(--ke-line); background: var(--ke-card); transition: background .3s, border-color .3s; }
.ke-faq[open] { background: rgba(192, 183, 240, .06); border-color: rgba(192, 183, 240, .4); }
.ke-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; }
.ke-faq summary::-webkit-details-marker { display: none; }
.ke-faq summary h3 { margin: 0; font-size: 17px; line-height: 1.45; font-weight: 600; }
.ke-faq__icon { position: relative; flex: 0 0 32px; height: 32px; border-radius: 50%; background: rgba(192, 183, 240, .14); }
.ke-faq__icon:before, .ke-faq__icon:after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; background: var(--ke-accent); transform: translate(-50%, -50%); transition: transform .25s; }
.ke-faq__icon:after { transform: translate(-50%, -50%) rotate(90deg); }
.ke-faq[open] .ke-faq__icon:after { transform: translate(-50%, -50%) rotate(0); }
.ke-faq__a { padding: 0 22px 20px; line-height: 1.75; }
.ke-faq__a p { margin: 0 0 10px; color: var(--ke-text); }

/* Inline CTA, tags, author, post nav */
.ke-inline-cta { margin: 56px 0 40px; padding: 38px 40px; }
.ke-inline-cta h2 { font-size: 26px !important; line-height: 1.3; margin: 0 0 8px !important; }
.ke-article__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; border-top: 1px solid var(--ke-line); border-bottom: 1px solid var(--ke-line); }
.ke-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; }
.ke-tags span { color: rgba(255, 255, 255, .5); margin-right: 4px; }
.ke-tags a { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--ke-line); color: rgba(255, 255, 255, .75); }
.ke-tags a:hover { border-color: var(--ke-accent); color: var(--ke-accent); }
.ke-author-box { display: flex; gap: 24px; align-items: flex-start; margin: 40px 0; padding: 30px; border-radius: 22px; background: var(--ke-card); border: 1px solid var(--ke-line); }
.ke-author-box img { flex: 0 0 auto; border-radius: 50%; border: 2px solid rgba(192, 183, 240, .4); }
.ke-author-box small { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ke-accent); }
.ke-author-box h3 { font-size: 22px; margin: 4px 0 8px; }
.ke-author-box h3 a:hover { color: var(--ke-accent); }
.ke-author-box p { margin: 0; line-height: 1.7; }
.ke-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ke-postnav a { display: block; padding: 22px 24px; border-radius: 18px; border: 1px solid var(--ke-line); color: #fff; font-weight: 600; line-height: 1.45; transition: border-color .2s, background .2s; }
.ke-postnav a:hover { border-color: var(--ke-accent); background: rgba(192, 183, 240, .05); }
.ke-postnav small { display: block; margin-bottom: 8px; color: var(--ke-accent); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ke-postnav__next { text-align: right; grid-column: 2; }
.ke-related { background: var(--ke-bg2); }

/* Responsive */
@media (max-width: 1199.98px) {
	.ke-article__layout { grid-template-columns: 230px minmax(0, 1fr); gap: 44px; }
}
@media (max-width: 991.98px) {
	.ke-blog-hero, .ke-article-hero { padding-top: 150px; }
	.ke-blog-top__grid { grid-template-columns: 1fr; }
	.ke-popular { position: static; }
	.ke-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ke-article__layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 34px; }
	.ke-article__layout.no-toc { grid-template-columns: minmax(0, 1fr); }
	.ke-article__side { position: static; margin-bottom: 30px; }
	.ke-toc { max-height: none; padding: 0; }
	.ke-toc__toggle { padding: 18px 20px; cursor: pointer; }
	.ke-toc__toggle > i { display: inline-block; transition: transform .25s; }
	.ke-toc.is-open .ke-toc__toggle > i { transform: rotate(180deg); }
	.ke-toc__list { display: none; margin: 0; padding: 0 20px 18px; }
	.ke-toc.is-open .ke-toc__list { display: block; }
	.ke-share--side { display: none; }
	.ke-blog-cta__box, .ke-inline-cta { flex-direction: column; align-items: flex-start; padding: 38px 30px; }
}
@media (max-width: 767.98px) {
	.ke-grid { grid-template-columns: 1fr; }
	.ke-feature__body { padding: 24px; }
	.ke-blog-search { padding-left: 16px; }
	.ke-blog-search button { padding: 0 18px; }
	.ke-blog-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: 6px; margin-left: -15px; margin-right: -15px; padding-left: 15px; scrollbar-width: none; }
	.ke-blog-tabs a { flex: 0 0 auto; }
	.ke-prose { font-size: 17px; }
	.ke-article__dek { font-size: 18px; }
	.ke-author-box { flex-direction: column; }
	.ke-postnav { grid-template-columns: 1fr; }
	.ke-postnav__next { grid-column: auto; text-align: left; }
	.ke-article__cover { border-radius: 18px; margin-top: 32px; }
}
