/* =============================================================================
   Kashi Interior — shared section chrome

   The per-page section rules live in assets/css/sections/*.css, which all
   depend on this file. What lives here is only what more than one page group
   needs: the section rhythm, the two-column shells the templates themselves
   emit, and the small utility blocks (search, pagination, comments, empty
   states) that have no counterpart in the design and therefore have nowhere
   else to go.
   ========================================================================== */

/* -----------------------------------------------------------------------------
   01 · SECTION RHYTHM
   -------------------------------------------------------------------------- */

.k-section {
	position: relative;
}

/* The vertical rhythm the design repeats across inner-page body sections. */
.k-page-body {
	padding-top: clamp(44px, 5.5vw, 80px);
	padding-bottom: clamp(48px, 6vw, 84px);
}

.k-page-body > .k-prose {
	max-width: 820px;
	margin-inline: auto;
}

/* -----------------------------------------------------------------------------
   02 · CONTACT — the two-column shell emitted by tpl-contact.php
   Values from "Contact form" in Kashi Contact.dc.html.
   -------------------------------------------------------------------------- */

.k-contact {
	padding-top: clamp(44px, 5.5vw, 80px);
	padding-bottom: clamp(44px, 5.5vw, 80px);
}

.k-contact__grid {
	max-width: var(--kashi-max);
	margin-inline: auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: clamp(34px, 5vw, 72px);
}

/* -----------------------------------------------------------------------------
   03 · ARTICLE — the article/aside row emitted by single.php
   Values from "Article" in Kashi Blog Post.dc.html.
   -------------------------------------------------------------------------- */

.k-article {
	padding-top: clamp(44px, 5.5vw, 80px);
	padding-bottom: clamp(44px, 5.5vw, 80px);
}

.k-article__row {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: clamp(34px, 5vw, 64px);
}

/* -----------------------------------------------------------------------------
   04 · SEARCH FORM
   NET-NEW: the design ships no search UI. Built from the footer newsletter's
   split-pill so it belongs to the same family.
   -------------------------------------------------------------------------- */

.k-search {
	display: flex;
	width: 100%;
	max-width: 420px;
}

.k-search__input {
	flex: 1;
	min-width: 0;
	background: #fff;
	border: 1px solid var(--kashi-border);
	border-right: none;
	padding: 13px 18px;
	font-family: var(--kashi-font-form);
	font-size: 14px;
	color: var(--kashi-navy);
	border-radius: 999px 0 0 999px;
}

.k-search__input:focus {
	border-color: var(--kashi-gold);
	outline: none;
}

.k-search__submit {
	flex: none;
	width: 52px;
	border: none;
	background: var(--kashi-gold);
	color: var(--kashi-navy-deep);
	cursor: pointer;
	border-radius: 0 999px 999px 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .25s ease;
}

.k-search__submit:hover {
	background: var(--kashi-navy-deep);
	color: #fff;
}

/* -----------------------------------------------------------------------------
   05 · EMPTY STATE
   -------------------------------------------------------------------------- */

.k-none {
	padding-top: clamp(40px, 5vw, 72px);
	padding-bottom: clamp(48px, 6vw, 84px);
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 24px;
}

.k-none__text {
	font-size: 16px;
	line-height: 1.7;
	color: var(--kashi-text-muted);
	font-weight: 300;
	margin: 0;
	max-width: 480px;
}

.k-notfound {
	padding-top: clamp(40px, 5vw, 64px);
	padding-bottom: clamp(48px, 6vw, 84px);
	display: flex;
	justify-content: center;
}

/* -----------------------------------------------------------------------------
   06 · PAGINATION
   NET-NEW: the design has no paginated view. Uses the filter pill's shape.
   -------------------------------------------------------------------------- */

.k-pagination {
	padding: 0 var(--kashi-gut-max) clamp(48px, 6vw, 84px);
}

.k-pagination__list {
	max-width: var(--kashi-max);
	margin-inline: auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.k-pagination__list .page-numbers {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 42px;
	height: 42px;
	padding: 0 16px;
	justify-content: center;
	border: 1px solid var(--kashi-border-mid);
	border-radius: 999px;
	background: transparent;
	color: var(--kashi-navy);
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	transition: var(--kashi-pill);
}

.k-pagination__list .page-numbers:hover,
.k-pagination__list .page-numbers:focus-visible {
	border-color: var(--kashi-gold);
	color: var(--kashi-gold);
}

.k-pagination__list .page-numbers.current {
	background: var(--kashi-navy-deep);
	border-color: var(--kashi-navy-deep);
	color: #fff;
}

.k-pagination__list .page-numbers.dots {
	border-color: transparent;
}

/* -----------------------------------------------------------------------------
   07 · COMMENTS
   NET-NEW: no comment design exists. Kept quiet and inside the prose voice.
   -------------------------------------------------------------------------- */

.k-comments-wrap {
	padding-bottom: clamp(48px, 6vw, 84px);
}

.k-comments {
	max-width: 820px;
	margin-inline: auto;
	border-top: 1px solid var(--kashi-hairline-strong);
	padding-top: 32px;
}

.k-comments__title,
.k-comments__reply-title {
	font-family: var(--kashi-font-display);
	font-size: clamp(22px, 2.3vw, 28px);
	font-weight: 500;
	color: var(--kashi-text);
	margin: 0 0 24px;
}

.k-comments__list {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
}

.k-comments__list ol {
	list-style: none;
	padding-left: clamp(18px, 3vw, 40px);
}

.k-comments .comment-body {
	padding: 22px 0;
	border-bottom: 1px solid var(--kashi-hairline);
	font-size: 14.5px;
	line-height: 1.8;
	color: var(--kashi-text-muted);
	font-weight: 300;
}

.k-comments .comment-author img {
	border-radius: 999px;
	margin-right: 12px;
	vertical-align: middle;
}

.k-comments .comment-author .fn {
	font-size: 15px;
	font-weight: 600;
	color: var(--kashi-text);
	font-style: normal;
}

.k-comments .comment-meta {
	font-size: 12px;
	color: var(--kashi-text-meta);
	letter-spacing: 0.06em;
	margin-bottom: 10px;
}

.k-comments .comment-form input[type="text"],
.k-comments .comment-form input[type="email"],
.k-comments .comment-form input[type="url"],
.k-comments .comment-form textarea {
	width: 100%;
	border: 1px solid var(--kashi-border);
	background: #fff;
	border-radius: 10px;
	padding: 14px 18px;
	font-family: var(--kashi-font-form);
	font-size: 14px;
	color: var(--kashi-navy);
}

.k-comments .comment-form input:focus,
.k-comments .comment-form textarea:focus {
	border-color: var(--kashi-gold);
	outline: none;
}

.k-comments__closed {
	font-size: 14px;
	color: var(--kashi-text-dim);
	font-weight: 300;
}

/* -----------------------------------------------------------------------------
   08 · PAGE LINKS (multi-page posts)
   -------------------------------------------------------------------------- */

.k-page-links {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 28px;
	font-size: 13px;
	letter-spacing: 0.08em;
}
