/* ==========================================================================
   Qohel — theme styles (front end and editor)
   Colours and fonts are defined in theme.json and used here as variables.
   ========================================================================== */

:root {
	--q-cream: var(--wp--preset--color--base);
	--q-ink: var(--wp--preset--color--ink);
	--q-forest: var(--wp--preset--color--forest);
	--q-accent: var(--wp--preset--color--accent);
	--q-sage: var(--wp--preset--color--sage);
	--q-parchment: var(--wp--preset--color--parchment);
	--q-muted: var(--wp--preset--color--muted);
	--q-rule: var(--wp--preset--color--rule);
	--q-heading: var(--wp--preset--font-family--heading);
	--q-sans: var(--wp--preset--font-family--sans);
	--q-serif: var(--wp--preset--font-family--serif);
}

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

:where(.wp-site-blocks) > * { margin-block-start: 0; }

/* ---------- Shared pieces ---------- */

.qohel-kicker,
.qohel-kicker a {
	font-family: var(--q-sans);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--q-accent);
	text-decoration: none;
	margin: 0;
}
.qohel-kicker--light { color: #E3D9B4; }

.qohel-textlink {
	font-family: var(--q-sans);
	font-size: 1.0625rem;
	font-weight: 500;
	color: var(--q-ink);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.45em;
}
.qohel-textlink:hover { color: var(--q-accent); }
.qohel-textlink-wrap { margin: 0; }

.qohel-meta {
	gap: 0.65rem !important;
	font-family: var(--q-sans);
	font-size: 0.9375rem;
	letter-spacing: 0.03em;
	color: var(--q-muted);
	margin: 0;
}
p.qohel-meta { display: flex; flex-wrap: wrap; align-items: baseline; }
.qohel-meta > *,
.qohel-meta p { margin: 0 !important; }
.qohel-meta a { color: inherit; text-decoration: none; }
.qohel-meta__sep { color: #9EA39A; }

.qohel-section { margin-top: clamp(4rem, 7vw, 6rem) !important; }
.qohel-section__head { margin-top: 0.75rem !important; margin-bottom: 0 !important; }
.qohel-section__head h2,
.qohel-section h2 { margin: 0; }

/* Buttons */
.wp-block-read-more.qohel-button-outline,
.qohel-button-outline {
	display: inline-block;
	margin-top: 2rem;
	padding: 1.05rem 1.75rem;
	border: 1px solid var(--q-forest);
	font-family: var(--q-sans);
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--q-forest);
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease;
}
.wp-block-read-more.qohel-button-outline:hover {
	background: var(--q-forest);
	color: var(--q-cream);
}
.qohel-button-light .wp-block-button__link {
	background: var(--q-cream) !important;
	color: var(--q-forest) !important;
	border-color: var(--q-cream) !important;
}
.qohel-button-light .wp-block-button__link:hover {
	background: #fff !important;
}
.qohel-arrow .wp-block-button__link::after {
	content: "→";
	display: inline-block;
	margin-left: 1rem;
	transition: transform .2s ease;
}
.qohel-arrow .wp-block-button__link:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */

.qohel-header {
	border-bottom: 1px solid var(--q-rule);
	padding-top: 0.75rem;
	padding-bottom: 1.25rem;
}
.qohel-brand { gap: 0.45rem !important; }
.qohel-brand__title,
.qohel-brand__title a {
	font-family: var(--q-sans) !important;
	font-size: clamp(1.75rem, 2.4vw, 2.375rem) !important;
	font-weight: 500 !important;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	line-height: 1 !important;
	color: var(--q-ink);
	text-decoration: none;
	margin: 0;
}
.qohel-brand__tagline {
	font-family: var(--q-sans);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--q-ink);
	margin: 0;
}
.qohel-header__nav { gap: 0 !important; align-items: center; }

.qohel-nav {
	font-family: var(--q-sans);
	font-size: 1.125rem;
	font-weight: 400;
	gap: 1.75rem;
}
.qohel-nav .wp-block-navigation-item__content {
	text-decoration: none;
	color: var(--q-ink);
	padding: 0.35rem 0 !important;
	position: relative;
}
.qohel-nav .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: -0.55rem;
	height: 2px;
	background: var(--q-accent);
	transform: scaleX(0);
	transition: transform .2s ease;
}
.qohel-nav .current-menu-item > .wp-block-navigation-item__content::after,
.qohel-nav .wp-block-navigation-item__content:hover::after { transform: scaleX(1); }
.qohel-nav .wp-block-navigation-item__content:hover { color: var(--q-accent); }

.qohel-search {
	margin: 0 0 0 1.75rem !important;
	padding-left: 1.75rem;
	border-left: 1px solid var(--q-rule);
	min-height: 3.5rem;
	display: flex;
	align-items: center;
}
.qohel-search .wp-block-search__inside-wrapper { border: 0; padding: 0; background: transparent; }
.qohel-search .wp-block-search__button {
	background: transparent !important;
	border: 0 !important;
	color: var(--q-ink) !important;
	font-family: var(--q-sans);
	font-size: 1.125rem;
	font-weight: 400;
	padding: 0.35rem 0 !important;
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
}
.qohel-search .wp-block-search__button svg { width: 1.15rem; height: 1.15rem; fill: currentColor; min-width: 0; }
.qohel-search.wp-block-search__searchfield-hidden .wp-block-search__button::after { content: "Search"; }
.qohel-search .wp-block-search__input {
	font-family: var(--q-sans);
	border: 0;
	border-bottom: 1px solid var(--q-ink);
	background: transparent;
	border-radius: 0;
}
.qohel-search .wp-block-search__button:hover { color: var(--q-accent) !important; }

/* Mobile menu overlay */
.qohel-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--q-cream) !important;
	color: var(--q-ink) !important;
	padding: 2rem;
}
.qohel-nav .is-menu-open .wp-block-navigation__container { gap: 1.25rem; font-size: 1.5rem; }

@media (max-width: 960px) {
	.qohel-search { padding-left: 1rem; margin-left: 1rem !important; }
	.qohel-search.wp-block-search__searchfield-hidden .wp-block-search__button::after { content: none; }
}

/* ---------- Front page: meta row, hero, caption ---------- */

.qohel-meta-row {
	padding: 1.9rem 0 1.65rem;
	font-family: var(--q-sans);
	font-size: 0.875rem;
	letter-spacing: 0.17em;
	text-transform: uppercase;
	color: var(--q-muted);
}
.qohel-meta-row p { margin: 0; }

.qohel-hero {
	padding: 0 !important;
	position: relative;
	overflow: hidden;
	min-height: clamp(440px, 41vw, 600px);
	display: flex;
	align-items: center;
	margin-top: 0 !important;
}
.qohel-hero__image {
	position: absolute !important;
	inset: 0 0 0 auto;
	width: 62%;
	height: 100%;
	margin: 0 !important;
}
.qohel-hero__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 55% 50%;
	-webkit-mask-image: linear-gradient(to right, transparent 0, rgba(0,0,0,.55) 12%, #000 30%);
	mask-image: linear-gradient(to right, transparent 0, rgba(0,0,0,.55) 12%, #000 30%);
}
.qohel-hero__content {
	position: relative;
	z-index: 1;
	max-width: 48%;
	padding: clamp(2.5rem, 5vw, 5rem) clamp(1.5rem, 3.5vw, 3.1rem);
}
.qohel-hero__content > * + * { margin-top: 0; }
.qohel-hero__title {
	font-family: var(--q-heading);
	font-size: clamp(3.75rem, 7.2vw, 6.5rem) !important;
	font-weight: 500;
	line-height: 0.92 !important;
	color: var(--q-cream) !important;
	margin: 1.6rem 0 1.75rem !important;
	letter-spacing: -0.01em;
}
.qohel-hero__title em { font-style: italic; font-weight: 500; }
.qohel-hero__text {
	font-family: var(--q-sans);
	font-size: 1.1875rem;
	line-height: 1.7;
	color: var(--q-cream);
	margin: 0 0 2rem !important;
}

.qohel-caption-row {
	padding-top: 1rem;
	font-family: var(--q-sans);
	font-size: 0.9375rem;
	color: var(--q-muted);
	margin-top: 0 !important;
}
.qohel-caption-row p { margin: 0; }
.qohel-caption-row__credit { font-style: italic; }

@media (max-width: 781px) {
	.qohel-meta-row { font-size: 0.75rem; gap: 0.4rem; padding: 1.25rem 0; }
	.qohel-hero { flex-direction: column; align-items: stretch; min-height: 0; }
	.qohel-hero__image { position: relative !important; width: 100%; height: 300px; }
	.qohel-hero__image img {
		-webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
		mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
	}
	.qohel-hero__content { max-width: none; padding: 0 1.5rem 2.5rem; margin-top: -2.5rem; }
	.qohel-caption-row { flex-direction: column; align-items: flex-start !important; gap: 0.25rem; font-size: 0.875rem; }
}

/* ---------- Latest writing ---------- */

.qohel-latest__cols {
	margin-top: 2.75rem !important;
	gap: 0 !important;
}
.qohel-latest__lead { padding-right: clamp(1.5rem, 4vw, 3.1rem); }
.qohel-latest__list {
	border-left: 1px solid var(--q-rule);
	padding-left: clamp(1.5rem, 3vw, 3rem);
}
.qohel-latest .wp-block-post-template { margin: 0; padding: 0; list-style: none; }

.qohel-numeral {
	font-family: var(--q-heading);
	font-size: 4.75rem;
	font-weight: 500;
	line-height: 1;
	color: #C7CEBE;
	margin: 1.5rem 0 1.25rem !important;
}
.qohel-lead__title {
	font-size: clamp(2.5rem, 4vw, 3.75rem) !important;
	font-weight: 500;
	line-height: 1.05 !important;
	margin: 1.5rem 0 1.75rem !important;
}
.qohel-lead__excerpt,
.qohel-lead__excerpt p {
	font-family: var(--q-serif);
	font-size: 1.25rem;
	line-height: 1.6;
	color: var(--q-ink);
	max-width: 33em;
	margin: 0;
}

.qohel-rows > li { padding: 1.5rem 0; border-bottom: 1px solid var(--q-rule); }
.qohel-rows > li:first-child { padding-top: 0; }
.qohel-rows > li:last-child { border-bottom: 0; }
.qohel-row { gap: 1.75rem !important; }
.qohel-row__text { flex: 1 1 auto; min-width: 0; }
.qohel-row__title {
	font-size: clamp(1.6rem, 2.3vw, 2.125rem) !important;
	font-weight: 500;
	line-height: 1.12 !important;
	margin: 0.9rem 0 0 !important;
}
.qohel-row__title a:hover,
.qohel-lead__title a:hover,
.qohel-card__title a:hover,
.qohel-poem__title a:hover { color: var(--q-forest); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.15em; }

.qohel-thumb {
	flex: 0 0 152px;
	width: 152px !important;
	aspect-ratio: 152 / 138;
	margin: 0 !important;
	overflow: hidden;
	background: var(--q-sage);
}
.qohel-thumb a { display: block; height: 100%; }
.qohel-thumb img { width: 100%; height: 100% !important; object-fit: cover; display: block; }

@media (max-width: 781px) {
	.qohel-latest__lead { padding-right: 0; }
	.qohel-latest__list { border-left: 0; padding-left: 0; border-top: 1px solid var(--q-rule); padding-top: 2rem; margin-top: 2.5rem; }
	.qohel-thumb { flex-basis: 96px; width: 96px !important; }
}

/* ---------- Typographic tiles (posts without images) ---------- */

.qohel-tile {
	width: 100%;
	height: 100%;
	min-height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1.4rem;
	background: var(--q-parchment);
	text-align: center;
	padding: 1.5rem;
	box-sizing: border-box;
}
.qohel-tile__title {
	font-family: var(--q-heading);
	font-size: clamp(2.25rem, 3.4vw, 3.125rem);
	line-height: 1.08;
	color: var(--q-forest);
}
.qohel-tile__title em { font-style: italic; }
.qohel-tile__label {
	font-family: var(--q-sans);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--q-forest);
}
.qohel-tile--thumb { background: var(--q-sage); padding: 0; }
.qohel-tile__mark {
	font-family: var(--q-heading);
	font-size: 3.25rem;
	font-style: italic;
	color: var(--q-forest);
	opacity: 0.55;
}

/* ---------- Browse by subject ---------- */

.qohel-band {
	margin-top: clamp(4.5rem, 7vw, 6rem) !important;
	padding-top: clamp(3.5rem, 5vw, 4.75rem);
	padding-bottom: clamp(3.5rem, 5vw, 4.75rem);
}
.qohel-band h2 { margin-top: 1rem; margin-bottom: 1.5rem; }

.qohel-subjects {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 1.75rem;
}
.qohel-subjects li { border-bottom: 1px solid #CCD1C2; }
.qohel-subjects a {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	padding: 1.45rem 0 1.3rem;
	text-decoration: none;
	color: var(--q-ink);
}
.qohel-subjects__name { font-family: var(--q-sans); font-size: 1.1875rem; font-weight: 500; }
.qohel-subjects__count { font-family: var(--q-sans); font-size: 0.9375rem; color: var(--q-muted); }
.qohel-subjects a:hover .qohel-subjects__name { color: var(--q-accent); }

.qohel-subjects-all { margin-top: 2.5rem !important; }

@media (max-width: 900px) { .qohel-subjects { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .qohel-subjects { grid-template-columns: 1fr; } }

/* ---------- Poetry & Reflection ---------- */

.qohel-poem {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	column-gap: clamp(2rem, 6vw, 6rem);
	row-gap: 2.5rem;
	align-items: start;
}
.qohel-poem__title {
	font-size: clamp(2.5rem, 4vw, 3.75rem);
	margin: 1.25rem 0 2rem !important;
}
.qohel-poem__title a { text-decoration: none; color: var(--q-ink); }
.qohel-poem__lines {
	margin: 0;
	padding: 0.6rem 0 0.6rem clamp(1.5rem, 3vw, 3.25rem);
	border-left: 2px solid var(--q-accent);
}
.qohel-poem__lines p {
	font-family: var(--q-heading);
	font-style: italic;
	font-size: clamp(1.5rem, 2.2vw, 2rem);
	line-height: 1.7;
	margin: 0;
}
.qohel-poem__byline {
	grid-column: 1 / -1;
	text-align: center;
	font-family: var(--q-sans);
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.17em;
	text-transform: uppercase;
	color: var(--q-muted);
	margin: 0;
}
@media (max-width: 781px) {
	.qohel-poem { grid-template-columns: 1fr; row-gap: 1.75rem; }
	.qohel-poem__byline { text-align: left; }
}

/* ---------- Art, music & books cards ---------- */

.qohel-culture h2 { margin-top: 1rem; }
.qohel-cards {
	margin-top: 3.5rem;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2.25rem;
}
.qohel-card {
	border-top: 1px solid var(--q-rule);
	padding-top: 1.75rem;
	display: flex;
	flex-direction: column;
}
.qohel-card__media {
	display: block;
	text-decoration: none !important;
	aspect-ratio: 445 / 247;
	overflow: hidden;
	background: var(--q-parchment);
	margin-bottom: 2.25rem;
}
.qohel-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .5s ease;
}
.qohel-card__media:hover img { transform: scale(1.03); }
.qohel-card__title {
	font-size: clamp(1.75rem, 2.4vw, 2.25rem);
	margin: 0.9rem 0 1.1rem;
}
.qohel-card__title a { text-decoration: none; color: var(--q-ink); }
.qohel-card__excerpt {
	font-family: var(--q-sans);
	font-size: 1.0625rem;
	line-height: 1.95;
	color: var(--q-muted);
	margin: 0 0 1.25rem;
}
.qohel-card .qohel-textlink { margin-top: auto; align-self: flex-start; }

@media (max-width: 900px) { .qohel-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .qohel-cards { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */

.qohel-footer {
	padding-left: var(--wp--style--root--padding-left) !important;
	padding-right: var(--wp--style--root--padding-right) !important;
	margin-top: clamp(5rem, 8vw, 7rem) !important;
	padding-top: clamp(3rem, 5vw, 4.5rem);
	padding-bottom: 2rem;
}
.qohel-footer a { color: var(--q-cream); text-decoration: none; }
.qohel-footer a:hover { color: #E3D9B4; }
.qohel-brand--light .qohel-brand__title,
.qohel-brand--light .qohel-brand__title a,
.qohel-brand--light .qohel-brand__tagline { color: var(--q-cream); }
.qohel-footer__top { gap: 3rem !important; }
.qohel-footer__blurb {
	font-family: var(--q-serif);
	font-size: 1.125rem;
	max-width: 30em;
	opacity: 0.85;
	margin-top: 1.25rem !important;
}
.qohel-footer__links { gap: 0.6rem !important; }
.qohel-footer__links p { margin: 0; font-size: 1rem; }
.qohel-footer__links .qohel-kicker { margin-bottom: 0.4rem; }
.qohel-footer__bottom {
	margin-top: 3.5rem !important;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(246, 244, 236, 0.18);
	font-size: 0.8125rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.75;
}
.qohel-footer__bottom p { margin: 0; }

/* ---------- Articles and pages ---------- */

.qohel-article__head {
	text-align: center;
	padding-top: clamp(3rem, 6vw, 5rem);
	padding-bottom: 0.5rem;
}
.qohel-article__cats a { color: var(--q-accent); }
.qohel-article__cats .wp-block-post-terms__separator { color: var(--q-accent); }
.qohel-article__title {
	font-size: clamp(2.75rem, 5.2vw, 4.75rem) !important;
	line-height: 1.04 !important;
	margin: 1.5rem auto 1.75rem !important;
	text-wrap: balance;
}
.qohel-article .qohel-meta { justify-content: center; }
.qohel-article__image {
	margin-top: 3rem !important;
}
.qohel-article__image img { width: 100%; max-height: 640px; object-fit: cover; }

.qohel-prose { margin-top: 3rem !important; }
.qohel-prose a {
	color: var(--q-forest);
	text-decoration-color: rgba(7, 119, 40, 0.45);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	overflow-wrap: anywhere;
}
.qohel-prose a:hover { color: var(--q-accent); text-decoration-color: currentColor; }
.qohel-prose h2,
.qohel-prose h3,
.qohel-prose h4 { margin-top: 2.5em; margin-bottom: 0.6em; }
.qohel-prose h2 { font-size: 2.5rem; }
.qohel-prose h3 { font-size: 2rem; }
.qohel-prose img { height: auto; }
.qohel-prose figure,
.qohel-prose .wp-block-image { margin-top: 2.25em; margin-bottom: 2.25em; }
.qohel-prose ul,
.qohel-prose ol { padding-left: 1.4em; }
.qohel-prose li { margin-bottom: 0.4em; }
.qohel-prose blockquote:not(.wp-block-quote) {
	margin: 2em 0;
	padding-left: 1.75rem;
	border-left: 2px solid var(--q-accent);
	font-family: var(--q-heading);
	font-style: italic;
	font-size: 1.625rem;
	line-height: 1.45;
}
.qohel-prose hr { border: 0; border-top: 1px solid var(--q-rule); margin: 3em auto; }
.qohel-prose table { font-family: var(--q-sans); font-size: 1rem; }

.qohel-article__foot { margin-top: 4rem !important; }
.qohel-article__tags {
	font-family: var(--q-sans);
	font-size: 0.9375rem;
	color: var(--q-muted);
}
.qohel-article__tags a { color: var(--q-forest); }

.qohel-postnav {
	margin-top: 3rem !important;
	padding: 2rem 0;
	border-top: 1px solid var(--q-rule);
	border-bottom: 1px solid var(--q-rule);
	gap: 2rem !important;
}
.qohel-postnav > * { flex: 1 1 50%; }
.qohel-postnav a {
	font-family: var(--q-heading);
	font-size: 1.5rem;
	line-height: 1.2;
	text-decoration: none;
	color: var(--q-ink);
}
.qohel-postnav .post-navigation-link__label {
	display: block;
	font-family: var(--q-sans);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--q-accent);
	margin-bottom: 0.5rem;
}
.qohel-postnav a:hover { color: var(--q-forest); }

/* Comments */
.qohel-comments { margin-top: 3.5rem !important; font-family: var(--q-sans); }
.qohel-comments .wp-block-comments-title { font-size: 2rem; }
.qohel-comment { padding: 1.5rem 0; border-bottom: 1px solid var(--q-rule); }
.qohel-comment .wp-block-comment-content { font-family: var(--q-serif); font-size: 1.125rem; }
.qohel-comment .wp-block-comment-author-name { font-weight: 600; color: var(--q-ink); }
.qohel-comments .comment-respond { margin-top: 2.5rem; }
.qohel-comments .comment-reply-title { font-family: var(--q-heading); font-size: 2rem; font-weight: 500; }
.qohel-comments input[type="text"],
.qohel-comments input[type="email"],
.qohel-comments input[type="url"],
.qohel-comments textarea {
	width: 100%;
	border: 1px solid var(--q-rule);
	background: #fff;
	padding: 0.8rem 1rem;
	font-family: var(--q-sans);
	font-size: 1rem;
	border-radius: 0;
	box-sizing: border-box;
}
.qohel-comments .form-submit input[type="submit"],
.qohel-comments .wp-block-button__link {
	background: var(--q-forest);
	color: var(--q-cream);
	border: 0;
	padding: 1rem 1.75rem;
	font-family: var(--q-sans);
	font-weight: 600;
	cursor: pointer;
}

/* ---------- Listings (archive, category, search, topics) ---------- */

.qohel-listing__head {
	padding-top: clamp(3rem, 6vw, 5rem);
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--q-rule);
	margin-bottom: 2.5rem;
}
.qohel-listing__head h1,
.qohel-listing__head .wp-block-query-title {
	font-size: var(--wp--preset--font-size--x-large) !important;
	margin: 1rem 0 1.25rem !important;
}
.qohel-listing__head .wp-block-term-description,
.qohel-listing__intro {
	font-family: var(--q-serif);
	font-size: 1.25rem;
	color: var(--q-muted);
	max-width: 40em;
}
.qohel-listing .wp-block-post-template { margin: 0; padding: 0; list-style: none; }
.qohel-rows--list > li { padding: 2rem 0; }
.qohel-rows--list > li:first-child { padding-top: 0; }
.qohel-row--list .qohel-row__title { font-size: clamp(1.85rem, 2.8vw, 2.5rem) !important; margin-top: 0.75rem !important; }
.qohel-row__excerpt,
.qohel-row__excerpt p {
	font-family: var(--q-sans);
	font-size: 1rem;
	line-height: 1.85;
	color: var(--q-muted);
	margin: 0.9rem 0 0;
	max-width: 46em;
}
.qohel-row--list .qohel-thumb { flex-basis: 200px; width: 200px !important; }
@media (max-width: 600px) { .qohel-row--list .qohel-thumb { flex-basis: 96px; width: 96px !important; } }

.qohel-pagination {
	margin-top: 3rem !important;
	padding-top: 2rem;
	border-top: 1px solid var(--q-rule);
	font-family: var(--q-sans);
	font-size: 1rem;
}
.qohel-pagination a { text-decoration: none; }
.qohel-pagination .page-numbers { padding: 0 0.4rem; }
.qohel-pagination .page-numbers.current { color: var(--q-accent); font-weight: 600; }

.qohel-search-page { max-width: 36rem; margin-top: 1.5rem !important; }
.qohel-search-page .wp-block-search__input,
.qohel-list .wp-block-search__input {
	border: 1px solid var(--q-rule);
	background: #fff;
	font-family: var(--q-sans);
	padding: 0.8rem 1rem;
	border-radius: 0;
}
.qohel-search-page .wp-block-search__button,
.qohel-list .wp-block-search__button {
	background: var(--q-forest);
	color: var(--q-cream);
	border: 0;
	border-radius: 0;
	font-family: var(--q-sans);
	font-weight: 600;
	padding: 0.8rem 1.5rem;
	margin-left: 0;
}

/* Interesting links */
.qohel-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 3rem;
}
.qohel-links li { padding: 1.1rem 0; border-bottom: 1px solid var(--q-rule); }
.qohel-links a {
	font-family: var(--q-heading);
	font-size: 1.625rem;
	font-weight: 500;
	text-decoration: none;
	color: var(--q-ink);
}
.qohel-links a:hover { color: var(--q-accent); }
.qohel-links__desc {
	display: block;
	font-family: var(--q-sans);
	font-size: 0.9375rem;
	color: var(--q-muted);
	margin-top: 0.2rem;
}
@media (max-width: 700px) { .qohel-links { grid-template-columns: 1fr; } }

/* Accessibility */
:focus-visible { outline: 2px solid var(--q-accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; }
}
