/*
Theme Name: Potinpete
Theme URI: https://potinpete.eu/
Author: Potinpete
Description: Sodobna uredniška tema za blog o modi, čevljih in potovanjih. Vključuje narekovanje objav z glasom (govor v besedilo) in poslušanje člankov (besedilo v govor).
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: potinpete
Tags: blog, fashion, travel, custom-logo, custom-menu, featured-images, wide-blocks
*/

/* ------------------------------------------------------------------ */
/* Tokens                                                              */
/* ------------------------------------------------------------------ */
:root {
	--ink: #1c1916;
	--ink-soft: #3a342e;
	--muted: #7a7067;
	--line: #e7ddd0;
	--paper: #faf6f0;
	--sand: #f1e8dc;
	--blush: #f3dcd3;
	--accent: #b4553a;
	--accent-ink: #ffffff;
	--camel: #c9a27e;

	--serif: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
	--sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--wrap: 1240px;
	--narrow: 720px;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 18px;
	--radius-sm: 10px;
	--shadow: 0 18px 40px -22px rgba(40, 24, 10, .35);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ------------------------------------------------------------------ */
/* Base                                                                */
/* ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: .18em; }
a:hover { color: var(--accent); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--serif);
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: -.015em;
	margin: 0 0 .5em;
	color: var(--ink);
}
p { margin: 0 0 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blush); color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(var(--narrow) + var(--gutter) * 2); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0; z-index: 1000;
	top: 8px; left: 8px; padding: 10px 16px; background: var(--ink); color: var(--paper); border-radius: 8px;
}

.eyebrow {
	display: inline-block;
	font-family: var(--sans);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--accent);
	text-decoration: none;
	margin-bottom: 12px;
}
a.eyebrow:hover { color: var(--ink); }

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 22px; border-radius: 999px; border: 1px solid var(--ink);
	background: var(--ink); color: var(--paper);
	font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer;
	transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn:active { transform: scale(.98); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ------------------------------------------------------------------ */
/* Top bar + header                                                    */
/* ------------------------------------------------------------------ */
.topbar {
	background: var(--ink);
	color: var(--sand);
	font-size: 12px;
	letter-spacing: .14em;
	text-transform: uppercase;
	text-align: center;
	padding: 8px var(--gutter);
}

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--paper) 88%, transparent);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .3s, box-shadow .3s;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 30px -24px rgba(0,0,0,.4); }

.site-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 12px;
	padding-block: 18px;
}
.brand { grid-column: 2; text-align: center; }
.brand__name {
	font-family: var(--serif);
	font-size: clamp(28px, 4vw, 40px);
	font-weight: 600;
	font-style: italic;
	letter-spacing: -.02em;
	line-height: 1;
	text-decoration: none;
	color: var(--ink);
}
.brand__name:hover { color: var(--ink); }
.brand__tagline {
	display: block; margin-top: 6px;
	font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.brand .custom-logo { max-height: 64px; width: auto; margin-inline: auto; }

.header-actions { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 6px; }
.icon-btn {
	display: inline-grid; place-items: center;
	width: 42px; height: 42px; border-radius: 999px;
	border: 1px solid transparent; background: transparent; cursor: pointer;
	color: var(--ink); text-decoration: none;
	transition: background .2s, border-color .2s, color .2s;
}
.icon-btn:hover { background: var(--sand); color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn--accent { background: var(--accent); color: var(--accent-ink); }
.icon-btn--accent:hover { background: var(--ink); color: var(--paper); }

.nav-toggle {
	grid-column: 1; justify-self: start;
	display: none;
	width: 42px; height: 42px; border: 0; background: transparent; cursor: pointer;
	padding: 11px 9px; flex-direction: column; justify-content: space-between;
}
.nav-toggle span:not(.screen-reader-text) { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.site-nav { border-top: 1px solid var(--line); }
.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 30px; }
.site-nav .menu > li { position: relative; }
.site-nav .menu a {
	display: block; padding: 14px 0;
	font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	text-decoration: none; color: var(--ink);
	position: relative;
}
.site-nav .menu > li > a::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px;
	background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.site-nav .menu > li > a:hover::after,
.site-nav .menu > .current-menu-item > a::after,
.site-nav .menu > .current-cat > a::after { transform: scaleX(1); }
.site-nav .sub-menu {
	list-style: none; margin: 0; padding: 10px 0; position: absolute; top: 100%; left: -18px; min-width: 220px;
	background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s var(--ease); z-index: 10;
}
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub-menu a { padding: 8px 18px; letter-spacing: .08em; }
.site-nav .sub-menu a:hover { color: var(--accent); }

.search-panel { border-top: 1px solid var(--line); background: var(--paper); padding-block: 22px; }
.search-form { display: flex; gap: 10px; max-width: 640px; margin-inline: auto; }
.search-form label { flex: 1; }
.search-field {
	width: 100%; padding: 14px 20px; border-radius: 999px; border: 1px solid var(--line);
	background: #fff; font-size: 16px;
}
.search-field:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }

@media (max-width: 900px) {
	/* backdrop-filter bi "ujel" fiksni predal menija v glavo */
	.site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--paper); }
	.nav-open .site-header { z-index: 70; }
	.nav-toggle { display: flex; }
	.site-nav {
		position: fixed; inset: 0 auto 0 0; width: min(86vw, 360px);
		background: var(--paper); border: 0; border-right: 1px solid var(--line);
		transform: translateX(-102%); transition: transform .35s var(--ease);
		overflow-y: auto; padding-top: 80px; z-index: 60;
		visibility: hidden;
		transition: transform .35s var(--ease), visibility 0s .35s;
	}
	.site-nav.is-open { transform: none; visibility: visible; transition: transform .35s var(--ease); box-shadow: 20px 0 60px -30px rgba(0,0,0,.4); }
	.site-nav .menu { flex-direction: column; gap: 0; }
	.site-nav .menu a { padding: 14px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
	.site-nav .menu > li > a::after { display: none; }
	.site-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; background: none; }
	.nav-overlay { position: fixed; inset: 0; background: rgba(28,25,22,.4); z-index: 55; }
	.site-header__inner { padding-block: 12px; }
	.brand__tagline { display: none; }
}

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */
.hero { padding-top: clamp(20px, 4vw, 44px); }
.hero__card {
	display: grid;
	grid-template-columns: 1.25fr 1fr;
	background: var(--sand);
	border-radius: var(--radius);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	min-height: 520px;
}
.hero__media { position: relative; overflow: hidden; background: var(--blush); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hero__card:hover .hero__media img { transform: scale(1.04); }
.hero__body {
	display: flex; flex-direction: column; justify-content: center;
	padding: clamp(28px, 5vw, 64px);
}
.hero__title { font-size: clamp(32px, 4.4vw, 58px); margin-bottom: 18px; }
.hero__title a { text-decoration: none; }
.hero__excerpt { color: var(--ink-soft); font-size: 18px; margin-bottom: 26px; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
@media (max-width: 860px) {
	.hero__card { grid-template-columns: 1fr; min-height: 0; }
	.hero__media { aspect-ratio: 4 / 3.4; }
}

/* ------------------------------------------------------------------ */
/* Category pills + section headings                                   */
/* ------------------------------------------------------------------ */
.pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding-block: 34px 6px; }
.pill {
	padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line);
	font-size: 14px; font-weight: 600; text-decoration: none; background: #fff;
	transition: .2s;
}
.pill:hover, .pill.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pill small { color: var(--muted); margin-left: 4px; font-weight: 500; }
.pill:hover small, .pill.is-active small { color: var(--camel); }

.section-head {
	display: flex; align-items: end; justify-content: space-between; gap: 20px;
	padding-block: clamp(34px, 5vw, 56px) 22px;
	border-bottom: 1px solid var(--line); margin-bottom: 32px;
}
.section-head h2 { font-size: clamp(26px, 3vw, 36px); margin: 0; }
.section-head p { margin: 0; color: var(--muted); }

.archive-head { text-align: center; padding-block: clamp(40px, 6vw, 80px) 10px; }
.archive-head h1 { font-size: clamp(36px, 6vw, 68px); font-style: italic; font-weight: 500; }
.archive-head .archive-desc { max-width: 620px; margin-inline: auto; color: var(--ink-soft); }

/* ------------------------------------------------------------------ */
/* Cards grid                                                          */
/* ------------------------------------------------------------------ */
.grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(26px, 3vw, 44px) clamp(18px, 2.4vw, 32px);
	padding-bottom: 20px;
}
@media (max-width: 980px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }

.card { display: flex; flex-direction: column; }
.card__media {
	position: relative; display: block; overflow: hidden;
	border-radius: var(--radius); aspect-ratio: 4 / 5; background: var(--sand);
	margin-bottom: 18px;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__placeholder {
	position: absolute; inset: 0; display: grid; place-items: center;
	font-family: var(--serif); font-style: italic; font-size: 54px; color: var(--camel);
	background: linear-gradient(135deg, var(--sand), var(--blush));
}
.card__badge {
	position: absolute; left: 14px; bottom: 14px;
	display: inline-flex; align-items: center; gap: 6px;
	padding: 6px 12px; border-radius: 999px;
	background: rgba(255,255,255,.92); color: var(--ink);
	font-size: 12px; font-weight: 700;
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.card__badge svg { width: 14px; height: 14px; color: var(--accent); }
.card .eyebrow { margin-bottom: 8px; }
.card__title { font-size: 24px; margin-bottom: 10px; }
.card__title a { text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .4s var(--ease); }
.card__title a:hover { background-size: 100% 1px; color: var(--ink); }
.card__excerpt { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 12px; }
.card__excerpt p { margin: 0; }

.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; color: var(--muted); font-size: 13.5px; }
.meta > * + *::before { content: "·"; margin-right: 14px; color: var(--camel); }
.meta a { text-decoration: none; }
.meta__author { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; }
.meta__author img { width: 30px; height: 30px; border-radius: 50%; }

/* ------------------------------------------------------------------ */
/* Pagination                                                          */
/* ------------------------------------------------------------------ */
.pagination { padding-block: 40px 70px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers {
	min-width: 46px; height: 46px; padding: 0 16px; display: inline-grid; place-items: center;
	border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; background: #fff;
}
.pagination .page-numbers.current, .pagination a.page-numbers:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pagination .dots { border: 0; background: none; }

/* ------------------------------------------------------------------ */
/* Single post                                                         */
/* ------------------------------------------------------------------ */
.reading-progress {
	position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 100;
	background: var(--accent); transform-origin: 0 50%; transform: scaleX(0);
}
.single__head { text-align: center; padding-top: clamp(36px, 6vw, 80px); }
.single__title { font-size: clamp(36px, 6vw, 68px); max-width: 15ch; margin-inline: auto; margin-bottom: 20px; }
.single__dek { font-family: var(--serif); font-size: clamp(19px, 2.2vw, 23px); font-style: italic; color: var(--ink-soft); max-width: 36em; margin: 0 auto 26px; line-height: 1.5; }
.single__head .meta { justify-content: center; margin-bottom: 28px; }
.single__media { margin: 10px auto clamp(34px, 5vw, 56px); }
.single__media img { width: 100%; border-radius: var(--radius); max-height: 82vh; object-fit: cover; }
.single__media figcaption { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 10px; }

.entry-content { max-width: calc(var(--narrow) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); font-size: 18.5px; line-height: 1.8; }
.entry-content > * { margin-top: 0; margin-bottom: 1.35em; }
.entry-content > .alignwide { max-width: min(1100px, calc(100vw - var(--gutter) * 2)); margin-left: 50%; transform: translateX(-50%); width: min(1100px, calc(100vw - var(--gutter) * 2)); }
.entry-content > .alignfull { width: 100vw; max-width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.entry-content h2 { font-size: clamp(28px, 3.2vw, 36px); margin-top: 1.7em; }
.entry-content h3 { font-size: clamp(23px, 2.4vw, 28px); margin-top: 1.5em; }
.entry-content h4 { font-size: 21px; margin-top: 1.4em; }
.entry-content a { color: var(--accent); text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.entry-content a:hover { color: var(--ink); }
.single .entry-content > p:first-of-type::first-letter {
	float: left; font-family: var(--serif); font-weight: 600; font-size: 4.6em; line-height: .82;
	margin: .08em .1em 0 0; color: var(--accent);
}
.entry-content img { border-radius: var(--radius-sm); }
.entry-content figure { margin-inline: 0; }
.entry-content figcaption, .entry-content .wp-element-caption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 10px; }
.entry-content blockquote, .entry-content .wp-block-quote {
	margin-inline: 0; padding: 6px 0 6px 28px; border-left: 3px solid var(--accent);
	font-family: var(--serif); font-size: 1.3em; font-style: italic; line-height: 1.5; color: var(--ink);
}
.entry-content blockquote cite { display: block; margin-top: 10px; font-family: var(--sans); font-style: normal; font-size: 14px; color: var(--muted); }
.entry-content .wp-block-pullquote { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0; text-align: center; }
.entry-content .wp-block-pullquote blockquote { border: 0; padding: 0; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: .45em; }
.entry-content li::marker { color: var(--accent); }
.entry-content hr { border: 0; height: 1px; background: var(--line); margin-block: 2.5em; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }
.entry-content pre { background: var(--ink); color: var(--sand); padding: 18px; border-radius: var(--radius-sm); overflow: auto; font-size: 14px; }
.entry-content .wp-block-gallery { gap: 12px; }
.entry-content .wp-block-button__link { border-radius: 999px; background: var(--ink); color: var(--paper); text-decoration: none; padding: 12px 24px; }
.entry-content .wp-block-button__link:hover { background: var(--accent); color: #fff; }
.entry-content .is-reading { background: linear-gradient(transparent 55%, color-mix(in srgb, var(--blush) 85%, transparent) 55%); transition: background .3s; }

.single__foot { max-width: calc(var(--narrow) + var(--gutter) * 2); margin: 40px auto 0; padding-inline: var(--gutter); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tags a { padding: 6px 14px; border-radius: 999px; background: var(--sand); font-size: 13.5px; text-decoration: none; font-weight: 600; }
.tags a:hover { background: var(--ink); color: var(--paper); }
.share { display: flex; align-items: center; gap: 8px; padding-block: 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.share__label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-right: auto; }
.share .icon-btn { border-color: var(--line); }

.author-box {
	display: flex; gap: 20px; align-items: flex-start;
	margin-top: 36px; padding: 26px; border-radius: var(--radius); background: var(--sand);
}
.author-box img { border-radius: 50%; flex: none; }
.author-box h3 { font-size: 21px; margin-bottom: 6px; }
.author-box p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

.related { background: var(--sand); margin-top: clamp(50px, 7vw, 90px); padding-bottom: 40px; }
.related .section-head { border-color: color-mix(in srgb, var(--camel) 40%, transparent); }

/* ------------------------------------------------------------------ */
/* Listen player                                                       */
/* ------------------------------------------------------------------ */
.listen {
	display: flex; align-items: center; gap: 14px;
	max-width: 560px; margin: 0 auto 30px;
	padding: 10px 14px 10px 10px; border-radius: 999px;
	background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
	text-align: left; position: relative;
}
.listen[hidden] { display: none; }
.listen__play {
	flex: none; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
	display: grid; place-items: center; background: var(--accent); color: #fff;
	transition: transform .2s var(--ease), background .2s;
}
.listen__play:hover { background: var(--ink); }
.listen__play:active { transform: scale(.94); }
.listen__play svg { width: 22px; height: 22px; }
.listen__play .i-pause { display: none; }
.listen.is-playing .listen__play .i-play { display: none; }
.listen.is-playing .listen__play .i-pause { display: block; }
.listen.is-playing .listen__play { animation: pp-pulse 2s infinite; }
.listen__body { flex: 1; min-width: 0; }
.listen__top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.listen__label { font-weight: 700; font-size: 15px; }
.listen__meta { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.listen__bar { position: relative; height: 6px; margin-top: 9px; border-radius: 6px; background: var(--sand); cursor: pointer; overflow: hidden; }
.listen__fill { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--accent); border-radius: 6px; transition: width .25s linear; }
.listen__speed {
	flex: none; min-width: 52px; height: 36px; padding: 0 10px; border-radius: 999px;
	border: 1px solid var(--line); background: var(--paper); font-weight: 700; font-size: 13px; cursor: pointer;
}
.listen__speed:hover { border-color: var(--ink); }
.listen__note { position: absolute; left: 20px; right: 20px; top: calc(100% + 8px); margin: 0; font-size: 13px; color: var(--muted); text-align: center; }
.listen.is-unavailable { opacity: .75; }
.listen.is-unavailable .listen__play { background: var(--muted); cursor: not-allowed; }
@keyframes pp-pulse {
	0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent); }
	70% { box-shadow: 0 0 0 14px transparent; }
	100% { box-shadow: 0 0 0 0 transparent; }
}
@media (max-width: 600px) {
	.listen { margin-inline: var(--gutter); }
	.listen__meta { display: none; }
}

/* ------------------------------------------------------------------ */
/* Pages, 404, comments                                                */
/* ------------------------------------------------------------------ */
.page-head { text-align: center; padding-block: clamp(40px, 6vw, 80px) 26px; }
.page-head h1 { font-size: clamp(36px, 6vw, 64px); }
.empty-state { text-align: center; padding-block: 80px; }
.empty-state h1 { font-size: clamp(60px, 12vw, 140px); font-style: italic; color: var(--camel); margin: 0; }
.empty-state .search-form { margin-top: 26px; }

.comments { max-width: calc(var(--narrow) + var(--gutter) * 2); margin: 60px auto 80px; padding-inline: var(--gutter); }
.comments__title { font-size: 28px; }
.comment-list { list-style: none; margin: 0 0 40px; padding: 0; }
.comment-list .children { list-style: none; padding-left: clamp(16px, 4vw, 40px); }
.comment-body { padding: 22px 0; border-bottom: 1px solid var(--line); }
.comment-meta { display: flex; align-items: center; gap: 12px; font-size: 14px; margin-bottom: 8px; }
.comment-meta img { border-radius: 50%; }
.comment-author .fn { font-weight: 700; font-style: normal; }
.comment-author .says { display: none; }
.comment-metadata a { color: var(--muted); text-decoration: none; }
.comment-content p { margin-bottom: .6em; }
.reply a { font-size: 13px; font-weight: 700; color: var(--accent); text-decoration: none; }
.comment-respond { background: var(--sand); padding: clamp(20px, 4vw, 36px); border-radius: var(--radius); }
.comment-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
}
.comment-form .submit { border: 0; padding: 13px 26px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 700; cursor: pointer; }
.comment-form .submit:hover { background: var(--accent); }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.comment-form-cookies-consent label { font-weight: 400; }

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */
.site-footer { background: var(--ink); color: #d9cfc3; margin-top: clamp(40px, 6vw, 80px); padding-top: clamp(50px, 7vw, 90px); }
.related + .site-footer, .comments + .site-footer { margin-top: 0; }
.site-footer a { color: #f4ece2; text-decoration: none; }
.site-footer a:hover { color: var(--camel); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-brand { font-family: var(--serif); font-style: italic; font-size: 38px; color: #fff; margin-bottom: 14px; display: inline-block; }
.footer-about { max-width: 34em; color: #b9ada0; font-size: 15.5px; }
.site-footer h2 { color: #fff; font-family: var(--sans); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials .icon-btn { border-color: rgba(255,255,255,.18); color: #f4ece2; }
.socials .icon-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 22px; font-size: 13.5px; color: #9d9185; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ */
/* Dictation page                                                      */
/* ------------------------------------------------------------------ */
.dictate { max-width: 760px; margin-inline: auto; padding: clamp(28px, 5vw, 60px) var(--gutter) 160px; }
.dictate__head { text-align: center; margin-bottom: 30px; }
.dictate__head h1 { font-size: clamp(34px, 6vw, 56px); font-style: italic; font-weight: 500; }
.dictate__head p { color: var(--ink-soft); max-width: 30em; margin-inline: auto; }
.dictate__alert { padding: 14px 18px; border-radius: var(--radius-sm); background: var(--blush); color: var(--ink); margin-bottom: 20px; font-size: 15px; }
.dictate__alert[hidden] { display: none; }
.dictate__field { display: block; margin-bottom: 18px; }
.dictate__label { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.dictate__label .target-chip { letter-spacing: .04em; text-transform: none; font-weight: 600; color: var(--accent); opacity: 0; transition: opacity .2s; }
.dictate__field.is-target .target-chip { opacity: 1; }
.dictate input[type="text"], .dictate select, .dictate textarea {
	width: 100%; border: 1px solid var(--line); background: #fff; border-radius: var(--radius-sm);
	padding: 14px 16px; font-size: 16px;
	transition: border-color .2s, box-shadow .2s;
}
.dictate input[type="text"]:focus, .dictate select:focus, .dictate textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.dictate__field.is-target input, .dictate__field.is-target textarea { border-color: var(--accent); }
.dictate__title { font-family: var(--serif); font-size: 24px !important; font-weight: 600; }
.dictate textarea { min-height: 300px; resize: vertical; line-height: 1.7; font-size: 17px; }
.dictate__interim { min-height: 1.6em; margin-top: 8px; color: var(--muted); font-style: italic; font-size: 15px; }
.dictate__tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }
.dictate__tools select { width: auto; padding: 9px 12px; font-size: 14px; }
.dictate__tools .btn { padding: 9px 16px; font-size: 14px; }
.dictate__check { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; }
.dictate__count { margin-left: auto; font-size: 13px; color: var(--muted); }
.dictate details { background: var(--sand); border-radius: var(--radius-sm); padding: 12px 18px; margin-bottom: 24px; font-size: 15px; }
.dictate summary { cursor: pointer; font-weight: 700; }
.dictate details ul { margin: 12px 0 4px; padding-left: 1.2em; }
.dictate kbd { font-family: var(--sans); background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; font-size: 13.5px; }
.dictate__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 600px) { .dictate__meta { grid-template-columns: 1fr; } }
.dictate__photo { display: flex; align-items: center; gap: 14px; }
.dictate__photo img { width: 74px; height: 74px; object-fit: cover; border-radius: var(--radius-sm); }
.dictate__photo input { font-size: 14px; }
.dictate__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.dictate__msg { margin-top: 18px; padding: 14px 18px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); }
.dictate__msg:empty { display: none; }
.dictate__msg.is-ok { border-color: #8bb48a; background: #f1f7ef; }
.dictate__msg.is-err { border-color: var(--accent); background: #fbefea; }

.mic {
	position: fixed; left: 50%; bottom: max(22px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 70;
	display: inline-flex; align-items: center; gap: 12px;
	padding: 10px 26px 10px 10px; border-radius: 999px; border: 0; cursor: pointer;
	background: var(--ink); color: var(--paper); box-shadow: 0 18px 40px -12px rgba(0,0,0,.5);
	font-weight: 700; font-size: 16px;
	transition: background .2s;
}
.mic__dot { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); }
.mic__dot svg { width: 26px; height: 26px; color: #fff; }
.mic[aria-pressed="true"] { background: var(--accent); }
.mic[aria-pressed="true"] .mic__dot { background: #fff; animation: pp-pulse-w 1.4s infinite; }
.mic[aria-pressed="true"] .mic__dot svg { color: var(--accent); }
.mic[disabled] { opacity: .5; cursor: not-allowed; }
@keyframes pp-pulse-w {
	0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); }
	70% { box-shadow: 0 0 0 16px rgba(255,255,255,0); }
	100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* ------------------------------------------------------------------ */
/* WordPress core classes                                              */
/* ------------------------------------------------------------------ */
.alignleft { float: left; margin: .3em 1.6em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.6em; }
.aligncenter { margin-inline: auto; }
.wp-caption { max-width: 100%; }
.sticky .card__title::before { content: "★ "; color: var(--accent); }
.bypostauthor { }
.gallery-caption { font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
