/*
Theme Name: LR Presets Pro (GeneratePress)
Theme URI: https://lrpresetspro.com
Template: generatepress
Author: LR Presets Pro
Description: GeneratePress child theme for LR Presets Pro — Lightroom preset recipes and guides.
Version: 2.0.0
License: GPL-2.0-or-later
Text Domain: lrpp-gp
*/

:root {
	--paper: #f7f4ee;
	--paper-2: #efeae1;
	--card: #ffffff;
	--ink: #17181a;
	--ink-2: #2b2d31;
	--muted: #5d6166;
	--line: #e3ddd2;
	--warm: #c9522a;
	--warm-2: #e0703f;
	--warm-soft: #fbe9df;
	--cool: #1d6a68;
	--cool-2: #3fa7a2;
	--cool-soft: #e0f0ee;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 1px 2px rgba(23, 24, 26, .04), 0 8px 24px -12px rgba(23, 24, 26, .18);
	--shadow-lg: 0 2px 4px rgba(23, 24, 26, .05), 0 30px 60px -28px rgba(23, 24, 26, .45);
	--serif: "Fraunces", Georgia, "Times New Roman", serif;
	--sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 17px/1.7 var(--sans);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cool); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap--mid { max-width: 920px; }
.wrap--narrow { max-width: 760px; }

/* ------------------------------------------------------------ buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
	font-weight: 700; font-size: 15px; line-height: 1; text-decoration: none; cursor: pointer;
	transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { background: var(--ink); color: #fff; box-shadow: 0 6px 18px -8px rgba(23,24,26,.6); }
.btn--primary:hover { background: var(--warm); }
.btn--ghost { border-color: #cfc8bb; background: transparent; }
.btn--ghost:hover { border-color: var(--ink); background: #fff; }
.btn--small { padding: 9px 16px; font-size: 14px; background: var(--ink); color: #fff; }

.eyebrow { margin: 0 0 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cool); }
.eyebrow--light { color: var(--cool-2); }
.chip {
	display: inline-block; padding: 4px 11px; border-radius: 999px; background: var(--cool-soft); color: var(--cool);
	font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
}
.chip:hover { background: var(--cool); color: #fff; }
.link-arrow { font-weight: 700; text-decoration: none; white-space: nowrap; }
.link-arrow::after { content: " →"; transition: margin .15s; }
.link-arrow:hover::after { margin-left: 4px; }

/* ------------------------------------------------------------ hero */
.hero { padding: 64px 0 40px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero__title {
	font: 600 clamp(40px, 5.6vw, 68px)/1.04 var(--serif); letter-spacing: -.025em; margin: 0 0 22px;
	font-variation-settings: "opsz" 144;
}
.hero__title em { color: var(--ink); font-style: italic; }
.hl-warm, .hl-cool { position: relative; white-space: nowrap; }
.hl-warm { color: var(--warm); }
.hl-cool { color: var(--cool); }
.hero__lead { font-size: 19px; color: var(--muted); max-width: 33em; margin: 0 0 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 30px 0 0; color: var(--muted); font-size: 14.5px; }
.hero__facts li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--warm-2); margin-right: 9px; vertical-align: 2px; }
.hero__facts li:nth-child(2)::before { background: var(--cool-2); }
.hero__facts li:nth-child(3)::before { background: var(--ink); }
.hero__facts strong { color: var(--ink); }

/* Lightroom-style editor mock */
.editor {
	background: #1c1d20; border-radius: 22px; padding: 12px; box-shadow: var(--shadow-lg);
	transform: rotate(1.2deg); color: #c9cbcf;
}
.editor__bar { display: flex; align-items: center; gap: 6px; padding: 4px 6px 12px; font-size: 12px; }
.editor__bar span { width: 10px; height: 10px; border-radius: 50%; background: #3a3c41; }
.editor__bar span:first-child { background: #e0703f; }
.editor__bar em { margin-left: auto; font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: #8b8e94; font-weight: 600; }
.editor__photo {
	position: relative; aspect-ratio: 3 / 2; border-radius: 12px; overflow: hidden;
	background: linear-gradient(120deg, #5d6b72 0%, #8b8a80 45%, #b6a184 100%);
}
.editor__photo:not(.has-photo)::after {
	content: ""; position: absolute; inset: 0 0 0 50%;
	background: linear-gradient(120deg, #1d5f63 0%, #c58f5b 60%, #f0b27a 100%);
}
.editor__before, .editor__after img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.editor__after { position: absolute; inset: 0; clip-path: inset(0 0 0 50%); animation: reveal 1.4s .3s cubic-bezier(.2,.7,.2,1) both; }
.editor__split { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.15); z-index: 2; }
.editor__split::after { content: ""; position: absolute; top: 50%; left: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.editor__tag { position: absolute; top: 10px; z-index: 3; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; }
.editor__tag--l { left: 10px; } .editor__tag--r { right: 10px; }
.editor__panel { padding: 14px 8px 4px; display: grid; gap: 9px; }
.slider { display: grid; grid-template-columns: 78px 1fr 44px; align-items: center; gap: 12px; font-size: 12.5px; }
.slider__label { color: #a7aab0; }
.slider__val { text-align: right; font-variant-numeric: tabular-nums; color: #e9eaec; }
.slider__track { position: relative; height: 3px; border-radius: 3px; background: #45474d; }
.slider__track--temp { background: linear-gradient(90deg, #4f8fd6, #e9d36b); }
.slider__track i {
	position: absolute; top: 50%; left: var(--pos); width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
	background: #e9eaec; box-shadow: 0 1px 3px rgba(0,0,0,.5);
	animation: knob 1.1s var(--d) cubic-bezier(.2,.7,.2,1) both;
}
@keyframes knob { from { left: 50%; } }
@keyframes reveal { from { clip-path: inset(0 0 0 100%); } }
@media (prefers-reduced-motion: reduce) { .slider__track i, .editor__after { animation: none; } html { scroll-behavior: auto; } }

@media (max-width: 960px) {
	.hero { padding-top: 40px; }
	.hero__grid { grid-template-columns: 1fr; gap: 40px; }
	.editor { transform: none; }
}

/* ------------------------------------------------------------ topics */
.topics { padding: 8px 0 24px; }
.topics__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.topic {
	display: grid; grid-template-columns: 42px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
	padding: 16px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); text-decoration: none;
	transition: transform .15s ease, box-shadow .15s ease, border-color .15s;
}
.topic:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: transparent; }
.topic__icon { grid-row: span 2; width: 42px; height: 42px; border-radius: 12px; background: var(--warm-soft); color: var(--warm); display: grid; place-items: center; }
.topic:nth-child(even) .topic__icon { background: var(--cool-soft); color: var(--cool); }
.topic__icon svg { width: 22px; height: 22px; }
.topic__name { font-weight: 700; font-size: 15px; line-height: 1.25; }
.topic__count { font-size: 13px; color: var(--muted); }
@media (max-width: 1080px) { .topics__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .topics__grid { grid-template-columns: 1fr 1fr; } .topic:last-child { grid-column: span 2; } }

/* ------------------------------------------------------------ sections + cards */
.section { padding: 56px 0; }
.section--tight { padding: 24px 0 64px; }
.section--flush { padding-top: 8px; }
.section--related { border-top: 1px solid var(--line); background: var(--paper-2); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section__title { font: 600 clamp(28px, 3.4vw, 40px)/1.1 var(--serif); letter-spacing: -.02em; margin: 0; }
.section--related .section__title { margin-bottom: 26px; }
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid--3 { grid-template-columns: 1fr; } .section__head { flex-direction: column; align-items: start; } }

.card { display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.035); }
.card__ph { display: block; width: 100%; height: 100%; background: linear-gradient(120deg, var(--cool) 0%, #a98d6c 60%, var(--warm-2) 100%); }
.card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__body .chip { align-self: start; }
.card__title { font: 600 21px/1.25 var(--serif); letter-spacing: -.01em; margin: 2px 0 0; }
.card__title a { text-decoration: none; }
.card__title a:hover { color: var(--warm); }
.card__excerpt { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.card__meta { margin: auto 0 0; padding-top: 6px; font-size: 13px; color: var(--muted); font-weight: 600; }

/* band */
.band { background: var(--ink); color: #e8e6e1; padding: 64px 0; }
.band__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.band__title { font: 600 clamp(28px, 3.4vw, 40px)/1.15 var(--serif); letter-spacing: -.02em; margin: 0; color: #fff; }
.band__steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 18px; }
.band__steps li { counter-increment: s; position: relative; padding-left: 54px; color: #b9bbbf; }
.band__steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid #45474d; display: grid; place-items: center; font: 600 16px var(--serif); color: var(--warm-2); }
.band__steps strong { color: #fff; }
@media (max-width: 860px) { .band__grid { grid-template-columns: 1fr; gap: 32px; } }

.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 36px 40px; border-radius: 24px; background: linear-gradient(115deg, var(--cool-soft), var(--warm-soft)); border: 1px solid var(--line); }
.cta-card h2 { font: 600 30px/1.15 var(--serif); margin: 0 0 6px; }
.cta-card p { margin: 0; color: var(--muted); }
.cta-card__links { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }
@media (max-width: 760px) { .cta-card { flex-direction: column; align-items: start; padding: 28px 24px; } }

/* archive */
.archive-head { padding: 56px 0 36px; }
.archive-head__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--warm-soft); color: var(--warm); margin-bottom: 16px; }
.archive-head__icon svg { width: 26px; height: 26px; }
.archive-head__title { font: 600 clamp(36px, 5vw, 56px)/1.05 var(--serif); letter-spacing: -.025em; margin: 0 0 12px; }
.archive-head__desc { max-width: 40em; color: var(--muted); font-size: 18px; }
.archive-head__desc p { margin: 0; }
.archive-head--404 { padding: 90px 0; text-align: left; }
.archive-head--404 .nav__list { flex-wrap: wrap; margin-top: 18px; }
.search-big { display: flex; gap: 10px; margin: 22px 0 0; max-width: 560px; }
.search-big input { flex: 1; min-width: 0; padding: 13px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.pager { margin-top: 44px; }
.pager .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pager .page-numbers { padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); background: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }
.pager .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { padding: 40px 0; color: var(--muted); }
.empty .nav__list { flex-wrap: wrap; }

/* ------------------------------------------------------------ single */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.post__head { padding-top: 44px; padding-bottom: 28px; }
.post__title { font: 600 clamp(34px, 4.6vw, 54px)/1.08 var(--serif); letter-spacing: -.025em; margin: 14px 0 14px; font-variation-settings: "opsz" 144; }
.page .post__title { margin-top: 0; }
.post__dek { font-size: 20px; line-height: 1.55; color: var(--muted); margin: 0 0 18px; max-width: 40em; }
.post__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; font-size: 14px; color: var(--muted); font-weight: 600; }
.post__meta span + span::before { content: "·"; margin-right: 18px; color: #b9b3a7; }
.post__meta a { text-decoration: none; color: var(--ink); }
.post__hero { margin-top: 0; margin-bottom: 40px; }
.post__hero img { width: 100%; border-radius: 20px; aspect-ratio: 16 / 9; object-fit: cover; box-shadow: var(--shadow); }
.post__layout { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 64px; justify-content: center; padding-bottom: 64px; }
.post__aside { position: relative; }
.toc { position: sticky; top: 96px; font-size: 14px; }
.toc summary { font-weight: 700; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); cursor: pointer; list-style: none; margin-bottom: 12px; }
.toc summary::-webkit-details-marker { display: none; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--muted); line-height: 1.4; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); border-left-color: var(--warm); font-weight: 600; }
@media (max-width: 1080px) {
	.post__layout { grid-template-columns: minmax(0, 720px); gap: 0; }
	.toc { position: static; margin-bottom: 30px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
	.toc summary { margin: 0; }
	.toc[open] summary { margin-bottom: 12px; }
}

/* prose */
.entry-content { font-size: 18px; line-height: 1.78; color: var(--ink-2); }
.entry-content > *:first-child { margin-top: 0; }
.entry-content p, .entry-content ul, .entry-content ol, .entry-content table, .entry-content blockquote, .entry-content figure { margin: 0 0 1.35em; }
.entry-content h2 { font: 600 clamp(26px, 3vw, 32px)/1.2 var(--serif); letter-spacing: -.015em; color: var(--ink); margin: 2.1em 0 .65em; }
.entry-content h3 { font: 700 20px/1.35 var(--sans); color: var(--ink); margin: 1.8em 0 .5em; }
.entry-content a { color: var(--cool); text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: rgba(29,106,104,.35); }
.entry-content a:hover { text-decoration-color: currentColor; }
.entry-content strong { color: var(--ink); }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin: .35em 0; padding-left: .2em; }
.entry-content ul li::marker { color: var(--warm); }
.entry-content blockquote { border-left: 3px solid var(--warm); padding: 4px 0 4px 22px; font-family: var(--serif); font-size: 21px; color: var(--ink); }
.entry-content figure img { border-radius: 14px; }
.entry-content figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }

.lrp-summary { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--cool); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 18px 22px; margin: 0 0 1.6em; font-size: 17px; }
.lrp-summary p { margin: 0; }
.lrp-callout { position: relative; background: var(--warm-soft); border-radius: var(--radius-sm); padding: 18px 22px 18px 56px; margin: 1.6em 0; font-size: 16.5px; line-height: 1.65; }
.lrp-callout::before { content: ""; position: absolute; left: 20px; top: 21px; width: 20px; height: 20px; background: var(--warm); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 18h6M10 21h4M12 3a6 6 0 0 0-3.6 10.8c.6.5 1 1.2 1.1 2h5c.1-.8.5-1.5 1.1-2A6 6 0 0 0 12 3z' fill='black'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 18h6M10 21h4M12 3a6 6 0 0 0-3.6 10.8c.6.5 1 1.2 1.1 2h5c.1-.8.5-1.5 1.1-2A6 6 0 0 0 12 3z' fill='black'/%3E%3C/svg%3E") center/contain no-repeat; }
.lrp-callout > *:last-child { margin-bottom: 0; }
.lrp-callout p { margin: 0 0 .6em; }
.lrp-callout--warn { background: #fdecec; }

.entry-content table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15.5px; line-height: 1.5; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; display: block; overflow-x: auto; }
.entry-content table thead, .entry-content table tbody { display: table; width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.entry-content tr:last-child td { border-bottom: 0; }
.entry-content th { background: var(--paper-2); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lrp-recipe { border-color: #2c2e33 !important; }
.entry-content .lrp-recipe th { background: #1c1d20; color: #a7aab0; }
.entry-content .lrp-recipe td:first-child { font-weight: 700; color: var(--ink); white-space: nowrap; width: 1%; }
.entry-content .lrp-recipe td:nth-child(2) { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--warm); white-space: nowrap; width: 1%; }
.entry-content .lrp-recipe td:nth-child(3) { color: var(--muted); }

.entry-content ol.lrp-steps { list-style: none; counter-reset: st; padding: 0; }
.entry-content ol.lrp-steps > li { counter-increment: st; position: relative; padding: 0 0 0 48px; margin: 0 0 1em; }
.entry-content ol.lrp-steps > li::before { content: counter(st); position: absolute; left: 0; top: 2px; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 700 14px/1 var(--sans); }

/* download + author */
.download { display: grid; grid-template-columns: 56px 1fr auto; gap: 20px; align-items: center; margin: 44px 0 0; padding: 26px; border-radius: 20px; background: var(--ink); color: #d6d7da; box-shadow: var(--shadow-lg); }
.download__icon { width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(135deg, var(--warm-2), var(--cool-2)); color: #fff; display: grid; place-items: center; }
.download__icon svg { width: 28px; height: 28px; }
.download h2 { font: 600 24px/1.2 var(--serif); color: #fff; margin: 0 0 6px; }
.download p { margin: 0; font-size: 15px; line-height: 1.6; }
.download strong { color: #fff; }
.download__help { margin-top: 6px !important; color: #9fa2a8; }
.download__help a { color: #9ad3cf; }
.download .btn--primary { background: #fff; color: var(--ink); }
.download .btn--primary:hover { background: var(--warm-2); color: #fff; }
@media (max-width: 680px) { .download { grid-template-columns: 1fr; } }
.lrp-author { display: flex; gap: 16px; align-items: start; margin-top: 40px; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.lrp-author p { margin: 0; }
.lrp-author__name { font-weight: 700; color: var(--ink); margin-bottom: 4px !important; }
.lrp-author__avatar { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--cool), var(--warm)); color: #fff; display: grid; place-items: center; font: 600 16px var(--serif); }
.lrp-author a { color: var(--cool); }

/* forms */
.lrp-form { display: grid; gap: 16px; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.lrp-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lrp-form label { display: grid; gap: 6px; font-weight: 700; font-size: 14.5px; color: var(--ink); }
.lrp-form input, .lrp-form textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); font-weight: 400; font-size: 16px; }
.lrp-form input:focus, .lrp-form textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.lrp-form .btn { justify-self: start; }
.lrp-form__note { margin: 0 !important; font-size: 14px; color: var(--muted); }
.lrp-hp { position: absolute !important; left: -9999px; }
@media (max-width: 600px) { .lrp-form__row { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ footer */
.lrp-footer { background: var(--ink); color: #a7aab0; padding-top: 60px; font-size: 15px; }
.lrp-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; padding-bottom: 44px; }
.lrp-footer .brand__name { color: #fff; }
.lrp-footer .brand__name em { color: var(--warm-2); }
.lrp-footer__about p { max-width: 30em; margin: 16px 0 0; line-height: 1.65; }
.lrp-footer__small { font-size: 13px; color: #7d8086; }
.lrp-footer__h { font: 700 12.5px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 8px 0 16px; }
.lrp-footer .nav__list { flex-direction: column; gap: 2px; }
.lrp-footer .nav__list a { padding: 5px 0; color: #a7aab0; font-weight: 500; border-radius: 0; background: none; }
.lrp-footer .nav__list a:hover { color: #fff; background: none; }
.lrp-footer__bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid #2c2e33; font-size: 13.5px; }
.lrp-footer__bar a { color: #a7aab0; text-decoration: none; }
@media (max-width: 860px) { .lrp-footer__grid { grid-template-columns: 1fr 1fr; } .lrp-footer__about { grid-column: span 2; } }

.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60; max-width: 520px; margin-left: auto; display: flex; align-items: center; gap: 16px; padding: 14px 16px 14px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-size: 14px; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; flex: 1; }
.cookie a { color: var(--cool); }

@media (max-width: 640px) {
	body { font-size: 16.5px; }
	.wrap { padding: 0 16px; }
	.entry-content { font-size: 17px; }
	.hero__lead { font-size: 17.5px; }
	.section { padding: 44px 0; }
	.post__head { padding-top: 28px; }
	.post__hero img { border-radius: 14px; }
	.slider { grid-template-columns: 66px 1fr 40px; gap: 10px; }
}

/* ============================================================ GeneratePress */
body { font-family: var(--sans); font-size: 17px; line-height: 1.7; color: var(--ink); background: var(--paper); }
h1, h2, h3, h4, .entry-title, .main-title { font-family: var(--serif); color: var(--ink); }
a { color: var(--cool); }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247,244,238,.88); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(227,221,210,.8); }
.admin-bar .site-header { top: 32px; }
.inside-header { padding: 14px 24px; max-width: var(--wrap); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 36px; height: 36px; flex-shrink: 0; }
.brand__name { font: 600 21px/1 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.brand__name em { font-style: italic; color: var(--warm); }
.main-navigation, .main-navigation ul ul { background: transparent; }
.main-navigation .main-nav ul li a { font-weight: 600; font-size: 15px; color: var(--ink-2); padding-left: 12px; padding-right: 12px; line-height: 44px; border-radius: 999px; }
.main-navigation .main-nav ul li:not([class*="current-menu-"]):hover > a, .main-navigation .main-nav ul li:not([class*="current-menu-"]):focus > a { color: var(--ink); background: #fff; }
.main-navigation .main-nav ul li[class*="current-menu-"] > a { color: var(--warm); background: transparent; }
.main-navigation .menu-bar-items .search-item a, .menu-toggle { color: var(--ink); }
.navigation-search input[type="search"] { background: #fff; color: var(--ink); border-radius: 999px; }
@media (max-width: 768px) {
	.inside-header { padding: 10px 16px; }
	.main-navigation.toggled .main-nav ul li a { line-height: 48px; border-radius: 10px; }
	.main-navigation .main-nav ul li a { padding-left: 14px; }
	.has-inline-mobile-toggle #site-navigation.toggled { margin-top: 8px; }
}

/* layout */
.site.grid-container { max-width: var(--wrap); }
.one-container .site-content, .separate-containers .inside-article { background: transparent; padding: 0; box-shadow: none; }
.one-container .site-content { padding: 40px 24px 64px; }
.single .site-main, .page .site-main { max-width: 760px; margin-left: auto; margin-right: auto; }
.home .site.grid-container { max-width: none; }
.home .site-content { padding: 0 !important; display: block; }
.lrp-front { width: 100%; }

/* single + page headers */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.single .entry-header .chip { margin-bottom: 14px; }
.entry-title { font-weight: 600; letter-spacing: -.025em; font-variation-settings: "opsz" 144; }
.single .entry-title, .page .entry-title { font-size: clamp(34px, 4.6vw, 50px); line-height: 1.08; margin-bottom: 14px; }
.entry-meta { font-size: 14px; color: var(--muted); font-weight: 600; }
.entry-meta a { color: var(--ink); text-decoration: none; }
.single .entry-meta .posted-on, .single .entry-meta .byline, .lrp-rt { margin-right: 14px; }
.lrp-rt::before { content: "· "; color: #b9b3a7; }
.featured-image.page-header-image-single { margin: 28px 0 34px; }
.featured-image img, .post-image img { border-radius: 18px; box-shadow: var(--shadow); width: 100%; height: auto; }
footer.entry-meta { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); }
.cat-links a, .tags-links a { color: var(--cool); }
.post-navigation { display: none; }

/* inline TOC */
.entry-content .toc { position: static; margin: 0 0 1.6em; padding: 16px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); font-size: 15px; line-height: 1.5; }
.entry-content .toc summary { margin: 0; }
.entry-content .toc[open] summary { margin-bottom: 10px; }
.entry-content .toc ol { margin: 0; padding: 0; }
.entry-content .toc li { margin: 0; padding: 0; }
.entry-content .toc a { color: var(--muted); text-decoration: none; }

/* related */
.lrp-related { margin-top: 56px; }
.lrp-related__title { font: 600 28px/1.2 var(--serif) !important; margin: 0 0 22px !important; }
.lrp-related .grid--3 { grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lrp-related .card__title { font-size: 17px; }
.lrp-related .card__excerpt { display: none; }
.lrp-related .card__body { padding: 14px; }
@media (max-width: 700px) { .lrp-related .grid--3 { grid-template-columns: 1fr; } }
.entry-content .card__title a, .entry-content .chip, .entry-content .card a { text-decoration: none; color: inherit; }
.entry-content .chip { color: var(--cool); }

/* archives: GeneratePress post list as a card grid */
.blog .site-main, .archive .site-main, .search .site-main { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.blog .site-main > :not(article), .archive .site-main > :not(article), .search .site-main > :not(article) { grid-column: 1 / -1; }
.blog .site-main > article, .archive .site-main > article, .search .site-main > article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 0; transition: transform .2s ease, box-shadow .2s ease; }
.blog .site-main > article:hover, .archive .site-main > article:hover, .search .site-main > article:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.blog .inside-article, .archive .inside-article, .search .inside-article { padding: 0 0 20px !important; display: flex; flex-direction: column; }
.blog .post-image, .archive .post-image, .search .post-image { order: -1; margin: 0 0 16px !important; aspect-ratio: 3 / 2; overflow: hidden; }
.blog .post-image img, .archive .post-image img, .search .post-image img { border-radius: 0; box-shadow: none; width: 100%; height: 100%; object-fit: cover; }
.blog .entry-header, .archive .entry-header, .search .entry-header, .blog .entry-summary, .archive .entry-summary, .search .entry-summary, .blog footer.entry-meta, .archive footer.entry-meta, .search footer.entry-meta { padding: 0 20px; }
.blog .entry-title, .archive .entry-title, .search .entry-title { font-size: 21px; line-height: 1.25; margin: 0 0 8px; }
.blog .entry-title a, .archive .entry-title a, .search .entry-title a { color: var(--ink); text-decoration: none; }
.blog .entry-title a:hover, .archive .entry-title a:hover { color: var(--warm); }
.blog .entry-summary, .archive .entry-summary, .search .entry-summary { font-size: 15px; color: var(--muted); line-height: 1.6; margin-top: 0; }
.blog .entry-summary p, .archive .entry-summary p { margin: 0; }
.blog footer.entry-meta, .archive footer.entry-meta, .search footer.entry-meta { border: 0; margin-top: auto; padding-top: 10px; font-size: 13px; }
.blog .entry-meta .byline, .archive .entry-meta .byline, .search .entry-meta .byline, .blog .tags-links, .archive .tags-links, .search .tags-links { display: none; }
.page-header { margin-bottom: 8px; padding: 0; background: transparent; }
.page-header .page-title { font: 600 clamp(36px, 5vw, 54px)/1.05 var(--serif); letter-spacing: -.025em; margin: 0 0 10px; }
.taxonomy-description { color: var(--muted); font-size: 18px; max-width: 40em; }
.paging-navigation { margin-top: 24px; }
.paging-navigation .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.paging-navigation .page-numbers { padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); background: #fff; text-decoration: none; font-weight: 600; color: var(--ink); }
.paging-navigation .page-numbers.current { background: var(--ink); color: #fff; }
@media (max-width: 960px) { .blog .site-main, .archive .site-main, .search .site-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .blog .site-main, .archive .site-main, .search .site-main { grid-template-columns: 1fr; } .one-container .site-content { padding: 28px 16px 48px; } }

/* footer */
.site-footer .footer-widgets { display: none; }
.lrp-footer { background: var(--ink); color: #a7aab0; padding-top: 60px; font-size: 15px; }
.lrp-footer .brand__name { color: #fff; }
.lrp-footer .brand__name em { color: var(--warm-2); }
.lrp-footer .nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.lrp-footer .nav__list a { display: block; padding: 5px 0; color: #a7aab0; text-decoration: none; font-weight: 500; }
.lrp-footer .nav__list a:hover { color: #fff; }
.site-info { background: var(--ink); color: #7d8086; border-top: 1px solid #2c2e33; font-size: 13.5px; }
.site-info a { color: #a7aab0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 16px; } }
.lrp-footer .brand__mark rect { fill: #2b2d31; }
.blog .site-main > .page-header { margin-bottom: 4px; }
