/* ==========================================================================
   Rosevale: a book and wellness blog theme for Kadence
   Fonts are bundled (no outside requests): Cormorant Garamond, Allura and Jost.
   ========================================================================== */

@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Allura"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/allura-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/jost-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/jost-latin-500-normal.woff2") format("woff2"); }

:root {
	--rv-accent: #EBB1B8; --rv-accent-d: #D6808E; --rv-tint: #FBEAE8; --rv-bg: #FFFFFF; --rv-surface: #F6F1EC;
	--rv-ink: #555050; --rv-muted: #8E8787; --rv-line: #EEE5E3; --rv-sec: #C9A47E; --rv-head: #2F2A2B;
	--rv-bar: #FBEAE8; --rv-btn: #F3CFCF; --rv-btn-t: #2F2A2B; --rv-bar-t: #2F2A2B;
	--rv-display: "Cormorant Garamond", Georgia, serif;
	--rv-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
	--rv-ui: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
	--rv-script: "Allura", "Brush Script MT", cursive;
	--rv-wrap: 1152px;
	--rv-ease: cubic-bezier(.22, .61, .36, 1);
}

html { scroll-behavior: smooth; }
body { background: var(--rv-bg); color: var(--rv-ink); font-family: var(--rv-body); font-size: 17px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
body h1, body h2, body h3, body h4 { font-family: var(--rv-display); color: var(--rv-head); font-weight: 400; letter-spacing: 0; }
body, body .site, body #wrapper, body .content-bg, body.content-style-unboxed .site { background-color: var(--rv-bg); }
body.rv-dark { background: var(--rv-bg); }
body a { color: var(--rv-accent-d); }
body a:hover { color: var(--rv-head); }
::selection { background: var(--rv-accent); color: #fff; }
img { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }
.rv-hp { position: absolute !important; left: -9999px !important; opacity: 0; height: 0; width: 0; }
.rv-note { padding: .8rem 1rem; background: var(--rv-tint); border: 1px dashed var(--rv-accent); font-family: var(--rv-ui); font-size: .85rem; }
.rv-icon { flex: none; vertical-align: middle; }

/* ---------- Buttons ---------- */
.rv-btn, .wp-block-button__link, body .wp-block-button .wp-block-button__link, body .rv-newsletter button, .rv-searchform button[type=submit].rv-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55rem; background: var(--rv-btn); color: var(--rv-btn-t) !important; border: 1px solid var(--rv-btn);
	border-radius: 0; padding: .85rem 1.6rem; font: 500 .72rem/1 var(--rv-ui); letter-spacing: .14em; text-transform: uppercase; text-decoration: none !important; cursor: pointer; transition: background .25s, color .25s, transform .25s var(--rv-ease);
}
.rv-btn:hover, .wp-block-button__link:hover, body .rv-newsletter button:hover { background: var(--rv-accent-d); border-color: var(--rv-accent-d); color: #fff !important; transform: translateY(-1px); }
.rv-btn--sm { padding: .7rem 1.15rem; font-size: .66rem; }
body .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--rv-head) !important; border: 1px solid var(--rv-head); }
body .wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--rv-head); color: #fff !important; }
.rv-viewall { text-align: center; margin: 2.4rem 0 0; }
.rv-linkbtn { background: none; border: 0; padding: 0; font: inherit; color: var(--rv-accent-d); text-decoration: underline; cursor: pointer; }

/* ---------- Header ---------- */
.rv-hdr { display: contents; }
.rv-bar { background: var(--rv-bar); color: var(--rv-bar-t); z-index: 60; width: 100%; }
.rv-hdr.is-sticky .rv-bar { position: sticky; top: 0; }
body.admin-bar .rv-hdr.is-sticky .rv-bar { top: 32px; }
@media (max-width: 782px) { body.admin-bar .rv-hdr.is-sticky .rv-bar { top: 46px; } }
.rv-bar__in { max-width: var(--rv-wrap); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; min-height: 50px; gap: 1rem; }
.rv-nav { flex: 1; }
.rv-menu, .rv-menu ul { list-style: none; margin: 0; padding: 0; }
.rv-menu { display: flex; align-items: center; gap: 1.9rem; }
.rv-menu > li { position: relative; }
.rv-menu a { display: block; padding: 1rem 0; color: var(--rv-bar-t) !important; font: 400 .68rem/1 var(--rv-ui); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
.rv-menu > li.menu-item-has-children > a::after { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 0 3px 7px; border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg); }
.rv-menu a:hover, .rv-menu .current-menu-item > a, .rv-menu .current-menu-ancestor > a { color: #fff !important; }
body.rv-light .rv-menu a:hover, body.rv-light .rv-menu .current-menu-item > a { color: var(--rv-accent-d) !important; }
.rv-menu ul { position: absolute; left: -1.2rem; top: 100%; min-width: 220px; background: var(--rv-card); box-shadow: 0 14px 36px rgba(60, 40, 40, .14); padding: .5rem 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 5; }
body.rv-dark .rv-menu ul { background: var(--rv-surface); }
.rv-menu li:hover > ul, .rv-menu li:focus-within > ul { opacity: 1; visibility: visible; transform: none; }
.rv-menu ul a { padding: .7rem 1.3rem; color: var(--rv-head) !important; letter-spacing: .12em; }
.rv-menu ul a:hover { color: var(--rv-accent-d) !important; background: var(--rv-tint); }
.rv-bar__r { display: flex; align-items: center; gap: .9rem; }
.rv-bar .rv-social { display: flex; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.rv-bar .rv-social__btn { display: grid; place-items: center; width: 30px; height: 30px; color: var(--rv-bar-t) !important; border: 0; background: transparent; }
.rv-bar .rv-social__btn:hover { color: #fff !important; }
.rv-searchbtn, .rv-burger { background: none; border: 0; padding: 6px; color: var(--rv-bar-t); cursor: pointer; display: grid; place-items: center; }
.rv-burger { display: none; }
.rv-searchpop { border-top: 1px solid rgba(255, 255, 255, .5); background: var(--rv-bar); padding: .7rem 0 1rem; }
.rv-searchform { display: flex; background: var(--rv-card); border: 1px solid var(--rv-line); max-width: 520px; margin: 0 auto; width: 100%; }
.rv-searchform input[type=search] { flex: 1; border: 0; padding: .8rem 1rem; font: 400 .95rem var(--rv-body); background: transparent; color: var(--rv-ink); outline: none; min-width: 0; }
.rv-searchform button { border: 0; background: var(--rv-btn); color: var(--rv-btn-t); padding: 0 1.1rem; cursor: pointer; }
.rv-logo { display: inline-block; text-decoration: none !important; color: var(--rv-head) !important; font: 400 2.2rem/1 var(--rv-display); letter-spacing: .02em; }
.rv-logo--script { font-family: var(--rv-script); font-size: clamp(3.4rem, 9vw, 5.6rem); line-height: 1.05; padding: 0 .15em; }
.rv-logo--img img { max-height: 110px; width: auto; }

/* mobile menu layer */
.rv-layer { position: fixed; inset: 0; z-index: 1000; }
.rv-layer[hidden] { display: none; }
.rv-layer__bg { position: absolute; inset: 0; background: rgba(43, 43, 43, .45); }
.rv-layer__box { position: absolute; left: 0; top: 0; bottom: 0; width: min(86vw, 360px); background: var(--rv-bg); padding: 1.4rem; overflow-y: auto; transform: translateX(-100%); transition: transform .35s var(--rv-ease); }
.rv-layer.is-open .rv-layer__box { transform: none; }
.rv-layer__h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; }
.rv-layer__h .rv-logo { font-size: 2.4rem; }
.rv-x { background: none; border: 0; color: var(--rv-head); cursor: pointer; padding: 6px; }
.rv-mnav ul { list-style: none; margin: 1.2rem 0; padding: 0; }
.rv-mnav li { border-bottom: 1px solid var(--rv-line); }
.rv-mnav a { display: block; padding: .95rem 0; color: var(--rv-head); text-decoration: none; font: 400 .74rem/1 var(--rv-ui); letter-spacing: .15em; text-transform: uppercase; }
.rv-mnav ul ul { margin: 0 0 .5rem 1rem; }
.rv-mnav ul ul li { border: 0; }
.rv-mnav ul ul a { padding: .55rem 0; color: var(--rv-muted); }
.rv-layer .rv-social { display: flex; gap: .5rem; list-style: none; padding: 0; margin: 1.4rem 0 0; }
.rv-layer .rv-social__btn { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--rv-line); border-radius: 50%; color: var(--rv-head); }

@media (max-width: 860px) {
	.rv-nav { display: none; }
	.rv-burger { display: grid; }
	.rv-bar__in { min-height: 46px; }
	.rv-bar .rv-social { display: none; }
	.rv-bar__r { margin-left: auto; }
}

/* ---------- Layout helpers ---------- */
.rv-section { padding: 0 24px; margin: 0; }
.rv-section.rv-main { max-width: var(--rv-wrap); margin-left: auto; margin-right: auto; padding-top: 1rem; padding-bottom: 3rem; }
.rv-section.rv-main.rv-wide { padding-top: 1rem; }
.rv-section.rv-narrow { max-width: 780px; margin-left: auto; margin-right: auto; padding-bottom: 3rem; }
.rv-band { padding: 3.6rem 24px; margin: 1.5rem 0; }
.rv-band--tint { background: var(--rv-tint); }
.rv-band > * { max-width: var(--rv-wrap); margin-left: auto; margin-right: auto; }
.rv-band.rv-narrow > * { max-width: 640px; }
.rv-band.rv-narrow { max-width: none; }
.wp-block-group.rv-section > .wp-block-columns, .rv-section .wp-block-columns { margin-bottom: 0; gap: 3rem; }
.rv-cols { align-items: flex-start; }
.rv-pagehead { text-align: center; padding: 1.2rem 24px 2rem; }
.rv-pagetitle, body h1.rv-pagetitle { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0 0 .4rem; }
.rv-lead { max-width: 640px; margin: 0 auto 1.4rem; color: var(--rv-muted); font-size: 1.1rem; }
.rv-title { margin: 0 0 1.3rem; font-size: clamp(2rem, 4vw, 2.7rem); line-height: 1.15; }
.rv-title em, .rv-pagetitle em, .rv-welcome h2 em { font: 400 1.2em/1 var(--rv-script); color: var(--rv-accent); }
.rv-script, p.rv-script { font: 400 1.9rem/1.2 var(--rv-script); color: var(--rv-accent); margin: 0 0 .3rem; }
.rv-kicker, p.rv-kicker { font: 500 .68rem/1.4 var(--rv-ui); letter-spacing: .22em; text-transform: uppercase; color: var(--rv-accent); margin: 0 0 .6rem; }
.rv-small { font-size: .85rem; color: var(--rv-muted); }
.rv-card, .wp-block-group.rv-card { background: var(--rv-surface); padding: 2rem; border: 1px solid var(--rv-line); }
.rv-card h3 { margin-top: 0; }
.rv-aboutcols { align-items: center; }
.rv-aboutimg img { width: 100%; border-radius: 50% 50% 0 0 / 38% 38% 0 0; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- Post cards ---------- */
.rv-grid { display: grid; gap: 2.2rem 1.9rem; }
.rv-cols-1 { grid-template-columns: 1fr; }
.rv-cols-2 { grid-template-columns: repeat(2, 1fr); }
.rv-cols-3 { grid-template-columns: repeat(3, 1fr); }
.rv-cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .rv-cols-3, .rv-cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .rv-cols-2, .rv-cols-3, .rv-cols-4 { grid-template-columns: 1fr; } }
.rv-classic > .rv-post--feature { margin-bottom: 2.6rem; }
.rv-post { position: relative; }
.rv-post__media { display: block; position: relative; overflow: hidden; background: var(--rv-surface); }
.rv-post__img { display: block; }
.rv-post__img img { width: 100%; display: block; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .8s var(--rv-ease); }
.rv-post--feature .rv-post__img img { aspect-ratio: 3 / 2; }
.rv-post:hover .rv-post__img img { transform: scale(1.035); }
.rv-ph { display: grid; place-items: center; aspect-ratio: 1 / 1; color: var(--rv-accent); background: var(--rv-tint); }
.rv-chip, a.rv-chip, p.rv-chip { display: inline-block; margin: 1.1rem 0 .35rem; font: 400 .66rem/1.4 var(--rv-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--rv-accent) !important; text-decoration: none; }
.rv-post__title, .rv-post h3, .rv-post h2 { margin: 0 0 .5rem; font-size: 1.9rem; line-height: 1.22; }
.rv-post--feature .rv-post__title { font-size: clamp(2rem, 3.4vw, 2.5rem); }
.rv-post__title a { color: var(--rv-head) !important; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--rv-ease); }
.rv-post__title a:hover { background-size: 100% 1px; }
.rv-post__meta { margin: 0 0 .7rem; font: 400 .72rem/1.4 var(--rv-ui); color: var(--rv-muted); letter-spacing: .04em; }
.rv-post__excerpt { margin: .2rem 0 1.2rem; color: var(--rv-ink); }
.rv-post--feature .rv-post__excerpt { margin-bottom: 1.4rem; }
.rv-post--row { display: grid; grid-template-columns: 38% 1fr; gap: 1.8rem; align-items: start; }
.rv-post--row .rv-chip { margin-top: 0; }
.rv-list { display: grid; gap: 2.6rem; }
.rv-list + .rv-viewall { margin-top: 3rem; }
@media (max-width: 620px) { .rv-post--row { grid-template-columns: 1fr; } }
.rv-post--mini { display: grid; grid-template-columns: 76px 1fr; gap: 1rem; align-items: center; }
.rv-post--mini .rv-post__title { font-size: 1.15rem; margin: 0 0 .2rem; }
.rv-post--mini .rv-post__img img { aspect-ratio: 1; }
.rv-minis { display: grid; gap: 1.2rem; }
.rv-save { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--rv-head); display: grid; place-items: center; cursor: pointer; opacity: 0; transform: scale(.9); transition: opacity .25s, transform .25s, color .25s; }
.rv-post:hover .rv-save, .rv-save:focus-visible, .rv-save.is-on { opacity: 1; transform: none; }
.rv-save.is-on { color: #E0507A; }
.rv-save.is-on svg { fill: currentColor; }
@media (hover: none) { .rv-save { opacity: 1; transform: none; } }
.rv-minimal { list-style: none; margin: 0; padding: 0; }
.rv-minimal li { display: grid; grid-template-columns: 3.2rem 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--rv-line); }
.rv-minimal h3 { margin: 0; font-size: 1.5rem; }
.rv-minimal h3 a { color: var(--rv-head); text-decoration: none; }
.rv-num { font: 400 1.35rem/1 var(--rv-display); color: var(--rv-accent); }

/* ---------- Sidebar ---------- */
.rv-sidebar { display: grid; gap: 2.4rem; }
.rv-side__t, .rv-sidebar h3.rv-side__t, .widget .rv-side__t { margin: 0 0 1.1rem; text-align: center; font: 500 .72rem/1.4 var(--rv-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--rv-head); }
.rv-side--about { text-align: center; }
.rv-author--round { text-align: center; }
.rv-author--round img { width: min(240px, 80%); aspect-ratio: 1; object-fit: cover; border-radius: 50%; margin: 0 auto 1.2rem; display: block; }
.rv-author__bio { margin: 0 0 .8rem; font-size: .98rem; line-height: 1.7; }
.rv-readmore { margin: 0; font-style: italic; letter-spacing: .04em; }
.rv-readmore a { color: var(--rv-head) !important; border-bottom: 1px solid var(--rv-head); text-decoration: none; }
.rv-side .rv-social--text { list-style: none; margin: 0; padding: 0; text-align: center; display: block; }
.rv-side .rv-social--text li { padding: .3rem 0; }
.rv-side .rv-social--text a { color: var(--rv-ink) !important; font: 400 .74rem/1 var(--rv-ui); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.rv-side .rv-social--text a:hover { color: var(--rv-accent-d) !important; }
.rv-topics { display: grid; gap: 1.4rem; }
.rv-topic { position: relative; display: block; text-decoration: none !important; }
.rv-topic__img { display: block; overflow: hidden; }
.rv-topic__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform .8s var(--rv-ease); }
.rv-topic:hover .rv-topic__img img { transform: scale(1.05); }
.rv-topic__btn { position: absolute; left: 50%; bottom: -1px; transform: translateX(-50%); background: var(--rv-btn); color: var(--rv-btn-t); padding: .8rem 2rem; font: 400 .68rem/1 var(--rv-ui); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; transition: background .25s; }
.rv-topic:hover .rv-topic__btn { background: var(--rv-accent-d); }
.rv-topics--wide { grid-template-columns: repeat(3, 1fr); gap: 1.9rem; }
.rv-topics--wide .rv-topic__img img { aspect-ratio: 4 / 5; }
@media (max-width: 760px) { .rv-topics--wide { grid-template-columns: 1fr; } }
.rv-popular { list-style: none; margin: 0; padding: 0; counter-reset: pp; }
.rv-popular li { display: grid; grid-template-columns: 2.4rem 1fr; gap: .6rem; padding: .85rem 0; border-bottom: 1px solid var(--rv-line); align-items: baseline; }
.rv-popular a { font: 400 1.2rem/1.3 var(--rv-display); color: var(--rv-head) !important; text-decoration: none; }
.rv-popular a:hover { color: var(--rv-accent-d) !important; }
.rv-side--sub { background: var(--rv-tint); padding: 1.6rem; }
.rv-side .rv-searchform { max-width: none; }
.widget { margin-bottom: 2.4rem; }

/* ---------- Forms ---------- */
.rv-newsletter__form { display: flex; gap: 0; flex-wrap: wrap; max-width: 520px; margin: 0 auto; }
.rv-side--sub .rv-newsletter__form { display: grid; gap: .7rem; }
.rv-newsletter__form input[type=email], .rv-contact input, .rv-contact textarea { flex: 1 1 220px; border: 1px solid var(--rv-line); background: var(--rv-card); padding: .9rem 1rem; font: 400 1rem var(--rv-body); color: var(--rv-ink); border-radius: 0; width: 100%; box-sizing: border-box; }
body.rv-dark .rv-newsletter__form input[type=email], body.rv-dark .rv-contact input, body.rv-dark .rv-contact textarea { background: var(--rv-surface); }
.rv-newsletter__form input:focus, .rv-contact input:focus, .rv-contact textarea:focus, .rv-searchform input:focus { outline: 2px solid var(--rv-accent); outline-offset: -2px; }
.rv-newsletter__msg { flex: 1 0 100%; margin: .6rem 0 0; font: 400 .85rem var(--rv-ui); min-height: 1.2em; text-align: center; }
.rv-newsletter__msg.is-ok { color: #3b7a4e; }
.rv-newsletter__msg.is-err { color: #b3402a; }
.rv-newsletter__consent { flex: 1 0 100%; font: 400 .8rem var(--rv-ui); margin-top: .5rem; }
.rv-contact label { display: block; font: 500 .68rem/1 var(--rv-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--rv-head); margin-bottom: .45rem; }
.rv-contact__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .rv-contact__row { grid-template-columns: 1fr; } }
.rv-contact p { margin: 0 0 1rem; }
.rv-contact-info { list-style: none; padding: 0; margin: 1rem 0; }
.rv-contact-info li { display: flex; gap: .7rem; padding: .35rem 0; align-items: center; }
.rv-contact-info__icon { color: var(--rv-accent); display: inline-flex; }

/* ---------- Social ---------- */
.rv-social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.rv-social--icons { justify-content: center; }
.rv-social__btn { display: grid; place-items: center; width: 36px; height: 36px; color: var(--rv-head) !important; border: 1px solid var(--rv-line); border-radius: 50%; transition: background .25s, color .25s; }
.rv-social__btn:hover { background: var(--rv-accent); color: #fff !important; }

/* ---------- Welcome band, slider, resources ---------- */
.rv-welcome { display: grid; grid-template-columns: 320px 1fr; gap: 3.4rem; align-items: center; max-width: 900px; margin: 0 auto; }
.rv-welcome img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.rv-welcome h2 { margin: 0 0 1rem; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.2; }
@media (max-width: 760px) { .rv-welcome { grid-template-columns: 1fr; text-align: center; gap: 1.6rem; } .rv-welcome img { width: 220px; margin: 0 auto; } }
.rv-slider { position: relative; }
.rv-slider__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3.2rem) / 3); gap: 1.6rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .4rem; }
.rv-slider__track::-webkit-scrollbar { display: none; }
.rv-slide { scroll-snap-align: start; position: relative; }
.rv-slide__img { display: block; overflow: hidden; }
.rv-slide__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; transition: transform .8s var(--rv-ease); }
.rv-slide:hover .rv-slide__img img { transform: scale(1.04); }
.rv-slide__b { text-align: center; padding: 0 .6rem; }
.rv-slide h3 { margin: 0; font-size: 1.55rem; line-height: 1.25; }
.rv-slide h3 a { color: var(--rv-head) !important; text-decoration: none; }
.rv-slider__nav { display: flex; justify-content: center; gap: .6rem; margin-top: 1.6rem; }
.rv-slider__nav button { width: 44px; height: 44px; border: 1px solid var(--rv-head); background: transparent; color: var(--rv-head); cursor: pointer; display: grid; place-items: center; transition: background .25s, color .25s; }
.rv-slider__nav button:first-child svg { transform: scaleX(-1); }
.rv-slider__nav button:hover { background: var(--rv-head); color: #fff; }
@media (max-width: 900px) { .rv-slider__track { grid-auto-columns: calc((100% - 1.6rem) / 2); } }
@media (max-width: 560px) { .rv-slider__track { grid-auto-columns: 82%; } }
.rv-resources { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4rem; text-align: center; margin-top: 1rem; }
.rv-res h3 { font-size: 1.7rem; margin: 0 0 .6rem; }
.rv-res p { margin: 0 0 1.3rem; font-size: 1rem; }
@media (max-width: 760px) { .rv-resources { grid-template-columns: 1fr; } }
.rv-disclosure { font-size: .9rem; color: var(--rv-muted); font-style: italic; text-align: center; margin: 0; }

/* ---------- Favourites ---------- */
.rv-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: 0 0 2rem; }
.rv-chipbtn { background: var(--rv-btn); color: var(--rv-btn-t); border: 1px solid var(--rv-btn); padding: .75rem 1.3rem; font: 400 .66rem/1 var(--rv-ui); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: background .25s, color .25s; }
.rv-chipbtn:not(.is-on) { background: transparent; color: var(--rv-head); }
.rv-chipbtn:hover { background: var(--rv-accent-d); border-color: var(--rv-accent-d); color: #fff; }
.rv-fave { text-align: center; background: var(--rv-surface); padding: 0 0 1.4rem; transition: transform .35s var(--rv-ease), box-shadow .35s; }
.rv-fave:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(80, 50, 40, .1); }
.rv-fave[hidden] { display: none; }
.rv-fave__img { display: block; position: relative; overflow: hidden; }
.rv-fave__img img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.rv-fave__img em { position: absolute; top: 12px; left: 12px; background: var(--rv-card); color: var(--rv-head); font: 500 .6rem/1 var(--rv-ui); letter-spacing: .14em; text-transform: uppercase; padding: .45rem .7rem; font-style: normal; }
.rv-fave__b { padding: 0 1rem; }
.rv-fave .rv-chip { margin-top: 1rem; }
.rv-fave h3 { margin: 0 0 .4rem; font-size: 1.35rem; line-height: 1.25; }
.rv-fave h3 a { color: var(--rv-head) !important; text-decoration: none; }
.rv-fave__d { margin: 0 0 .5rem; font-size: .92rem; color: var(--rv-muted); line-height: 1.55; }
.rv-fave__p { margin: 0 0 .9rem; font: 500 .85rem var(--rv-ui); color: var(--rv-head); }

/* ---------- Link in bio ---------- */
.rv-lb { text-align: center; max-width: 640px; margin: 0 auto; }
.rv-lb__photo { width: 190px; height: 190px; object-fit: cover; border-radius: 50%; margin: 0 auto 1rem; display: block; }
.rv-lb__name { margin: 0; font-size: 2rem; }
.rv-lb__tag { margin: .2rem 0 1.2rem; color: var(--rv-muted); font-style: italic; }
.rv-lb .rv-social { justify-content: center; margin-bottom: 1.6rem; }
.rv-lb__links { display: grid; gap: .7rem; margin-bottom: 3rem; }
.rv-lb__btn { display: block; background: var(--rv-btn); color: var(--rv-btn-t) !important; padding: 1.05rem 1rem; font: 400 .72rem/1 var(--rv-ui); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; transition: background .25s, transform .25s var(--rv-ease); }
.rv-lb__btn:hover { background: var(--rv-accent-d); transform: translateY(-2px); }
.rv-lb__h { font-size: 1.6rem; margin: 0 0 1.4rem; }
.rv-lb .rv-post { text-align: left; }
.rv-lb .rv-post__title { font-size: 1.4rem; }
.rv-lb .rv-post__excerpt, .rv-lb .rv-btn { display: none; }
body.rv-nohead .rv-bar, body.rv-nohead .rv-insta, body.rv-nohead .rv-footer__menu { display: none; }
.rv-lbsec { padding-bottom: 4rem; }

/* ---------- Photo strip and footer ---------- */
.rv-insta { background: var(--rv-bar); padding: 2.4rem 24px 2.6rem; margin-top: 2rem; }
.rv-insta__in { max-width: var(--rv-wrap); margin: 0 auto; }
.rv-insta h3 { text-align: center; margin: 0 0 1.4rem; font-size: 1.4rem; font-family: var(--rv-display); }
.rv-insta h3 a { color: var(--rv-head) !important; text-decoration: none; }
.rv-insta__grid { display: grid; grid-template-columns: repeat(8, 1fr); }
.rv-insta__grid a { display: block; overflow: hidden; }
.rv-insta__grid img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; transition: transform .6s var(--rv-ease), opacity .3s; }
.rv-insta__grid a:hover img { transform: scale(1.08); }
@media (max-width: 760px) { .rv-insta__grid { grid-template-columns: repeat(4, 1fr); } }
.rv-footer { background: var(--rv-tint); padding: 1.3rem 24px; }
.rv-footer__in { max-width: var(--rv-wrap); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font: 400 .66rem/1.4 var(--rv-ui); letter-spacing: .14em; text-transform: uppercase; }
.rv-fmenu { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.rv-fmenu a, .rv-footer a { color: var(--rv-head) !important; text-decoration: none; }
.rv-fmenu a:hover { color: var(--rv-accent-d) !important; }
.rv-footer__copy { margin: 0; color: var(--rv-head); }
.rv-top { position: fixed; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--rv-accent); color: #fff; cursor: pointer; z-index: 80; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(60, 40, 40, .2); }
.rv-top[hidden] { display: none; }
.rv-toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 30px); background: var(--rv-btn); color: var(--rv-btn-t); padding: .8rem 1.3rem; font: 400 .8rem var(--rv-ui); letter-spacing: .06em; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; z-index: 1100; }
.rv-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Single posts ---------- */
.rv-progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 999; pointer-events: none; }
.rv-progress span { display: block; height: 100%; width: 0; background: var(--rv-accent); }
body.admin-bar .rv-progress { top: 32px; }
.single-post .entry-title, .single .entry-title { font-size: clamp(2.2rem, 4.4vw, 3.1rem); line-height: 1.15; text-align: left; }
.single-post .entry-taxonomies, .single-post .entry-meta { font: 400 .7rem/1.4 var(--rv-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--rv-muted); }
.single-post .entry-taxonomies a { color: var(--rv-accent) !important; text-decoration: none; }
.single-post .entry-content { font-size: 1.1rem; }
.single-post .entry-content h2 { font-size: 2rem; margin: 2.2rem 0 .8rem; }
.single-post .entry-content p { margin: 0 0 1.35rem; }
.single-post .post-thumbnail img, .single-post .article-post-thumbnail img { width: 100%; }
.entry-content blockquote, .entry-content .wp-block-quote { border: 0; border-left: 2px solid var(--rv-accent); margin: 2rem 0; padding: .2rem 0 .2rem 1.6rem; font: italic 400 1.5rem/1.45 var(--rv-display); color: var(--rv-head); }
.entry-content blockquote p { margin: 0; }
.rv-readtime { display: flex; align-items: center; gap: .4rem; font: 400 .7rem var(--rv-ui); letter-spacing: .12em; text-transform: uppercase; color: var(--rv-muted); margin: 0 0 1.2rem; }
.rv-toc { background: var(--rv-surface); padding: 1.4rem 1.6rem; margin: 0 0 2rem; border-left: 2px solid var(--rv-accent); }
.rv-toc ol { margin: 0; padding-left: 1.3rem; }
.rv-toc a { color: var(--rv-head) !important; text-decoration: none; }
.rv-share { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 2.4rem 0 1.6rem; padding: 1rem 0; border-top: 1px solid var(--rv-line); border-bottom: 1px solid var(--rv-line); font: 500 .68rem var(--rv-ui); letter-spacing: .16em; text-transform: uppercase; }
.rv-share span { color: var(--rv-muted); margin-right: .4rem; }
.rv-share button, .rv-share a { background: none; border: 1px solid var(--rv-line); padding: .6rem 1rem; font: 500 .66rem/1 var(--rv-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--rv-head) !important; cursor: pointer; text-decoration: none; }
.rv-share button:hover, .rv-share a:hover { background: var(--rv-head); color: #fff !important; border-color: var(--rv-head); }
.rv-author--box { display: grid; grid-template-columns: 110px 1fr; gap: 1.6rem; align-items: center; background: var(--rv-surface); padding: 1.6rem; margin: 1.6rem 0 2.6rem; }
.rv-author--box img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; }
.rv-author--box h3 { margin: 0 0 .4rem; font-size: 1.7rem; }
.rv-author--box p { margin: 0 0 .6rem; }
@media (max-width: 560px) { .rv-author--box { grid-template-columns: 1fr; text-align: center; } .rv-author--box img { margin: 0 auto; } }
.rv-related h2 { font-size: 1.9rem; text-align: center; margin: 0 0 1.4rem; }
.rv-related .rv-post__excerpt, .rv-related .rv-btn { display: none; }
.rv-related .rv-post__title { font-size: 1.5rem; }


/* ---------- Kadence archive and search entries ---------- */
.archive .page-title, .blog .page-title, .search .page-title { font-size: clamp(2rem, 4vw, 2.8rem); text-align: center; }
.loop-entry, .loop-entry.type-post { background: transparent; box-shadow: none; border: 0; }
.loop-entry .entry-title { font-size: 1.9rem; line-height: 1.22; }
.loop-entry .entry-title a { color: var(--rv-head); text-decoration: none; }
.loop-entry .entry-taxonomies { font: 400 .66rem/1.4 var(--rv-ui); letter-spacing: .16em; text-transform: uppercase; }
.loop-entry .entry-taxonomies a { color: var(--rv-accent) !important; text-decoration: none; }
.loop-entry .entry-meta { font: 400 .72rem var(--rv-ui); color: var(--rv-muted); }
.loop-entry .post-more-link, .loop-entry .more-link { display: inline-flex; background: var(--rv-btn); color: var(--rv-btn-t) !important; padding: .85rem 1.5rem; font: 500 .68rem/1 var(--rv-ui); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
.pagination, .navigation.pagination { margin-top: 2.4rem; }
.pagination .page-numbers { font: 500 .75rem var(--rv-ui); letter-spacing: .1em; padding: .6rem .9rem; border: 1px solid var(--rv-line); color: var(--rv-head); text-decoration: none; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--rv-btn); color: var(--rv-btn-t); border-color: var(--rv-btn); }
.sidebar-primary, #secondary, .primary-sidebar { font-size: 1rem; }
body .content-wrap { max-width: none; }
body #primary.content-area { margin-top: 1rem; }
.entry-content-wrap, .content-bg.entry { box-shadow: none; }
.comment-respond .comment-reply-title { font-size: 1.7rem; }
.comment-form input[type=submit] { background: var(--rv-btn); color: var(--rv-btn-t); border: 0; padding: .9rem 1.6rem; font: 500 .7rem var(--rv-ui); letter-spacing: .14em; text-transform: uppercase; border-radius: 0; cursor: pointer; }

/* Kadence's own layout width: line it up with the theme width */
body.single-post .site-container, body.archive .site-container, body.blog .site-container, body.search .site-container { max-width: var(--rv-wrap); }
body.page .site-container, body.home .site-container { max-width: none; padding: 0; }
body .site-main { min-height: 40vh; }
#kt-scroll-up, .kadence-scroll-to-top { display: none !important; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Print ---------- */
@media print {
	.rv-columns { display: block; }
	body { font-size: 12pt; }
}

/* ==========================================================================
   Rosevale: pink bookish look, books, challenge ring, bookshelf and light/dark switch
   ========================================================================== */

:root { --rv-card: #fff; --rv-shadow: 0 18px 44px rgba(70, 40, 50, .12); --rv-r: 3px; }
body { font-weight: 300; font-size: 17px; }
body h1, body h2, body h3, body h4 { font-weight: 400; line-height: 1.15; }
body.rv-dark { --rv-card: #2E2128; --rv-shadow: 0 18px 44px rgba(0, 0, 0, .4); }
body h2 em, body h1 em, body h3 em, .rv-title em, .rv-pagetitle em { font-family: var(--rv-script); font-style: normal; font-weight: 400; color: var(--rv-accent-d); font-size: 1.25em; line-height: .9; padding: 0 .04em; }
.rv-script, p.rv-script { font: 400 clamp(1.7rem, 3vw, 2.4rem)/1.1 var(--rv-script); color: var(--rv-accent); margin: 0 0 .3rem; letter-spacing: 0; text-transform: none; }
.rv-script--h { font-size: clamp(2.4rem, 5vw, 3.4rem); margin-bottom: .6rem; }
h2.rv-script { font-family: var(--rv-script); font-weight: 400; color: var(--rv-accent); }
.rv-title { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 1.4rem; letter-spacing: .01em; }
.rv-title--left { text-align: left; }
.rv-pagetitle, body h1.rv-pagetitle { font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: .02em; }
.rv-kicker, p.rv-kicker { font: 500 .68rem/1.4 var(--rv-ui); letter-spacing: .24em; text-transform: uppercase; color: var(--rv-accent-d); margin: 0 0 .6rem; }
.rv-lead { font-size: 1.08rem; color: var(--rv-muted); }
.rv-more { margin: 0; font: 500 .68rem var(--rv-ui); letter-spacing: .18em; text-transform: uppercase; }
.rv-more a { color: var(--rv-head) !important; text-decoration: none; border-bottom: 1px solid var(--rv-accent); padding-bottom: 3px; }

/* Buttons: soft pink with dark text */
.rv-btn, .wp-block-button__link, body .wp-block-button .wp-block-button__link, body .rv-newsletter button { font-family: var(--rv-ui); font-weight: 500; letter-spacing: .16em; border-radius: 0; transition: background .3s, color .3s, transform .3s var(--rv-ease), box-shadow .3s; }
.rv-btn:hover, .wp-block-button__link:hover, body .rv-newsletter button:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(120, 60, 80, .16); }
.rv-btn--ghost { background: transparent; color: var(--rv-head) !important; border: 1px solid var(--rv-head); }
.rv-btn--ghost:hover { background: var(--rv-head); color: var(--rv-bg) !important; }

/* ---------- Header: logo left, menu right ---------- */
#masthead.rv-hdr { display: block; background: var(--rv-bg); border-bottom: 1px solid var(--rv-line); z-index: 60; width: 100%; }
#masthead.rv-hdr.is-sticky { position: sticky; top: 0; }
body.admin-bar #masthead.rv-hdr.is-sticky { top: 32px; }
@media (max-width: 782px) { body.admin-bar #masthead.rv-hdr.is-sticky { top: 46px; } }
.rv-hdr__in { max-width: 1280px; margin: 0 auto; padding: 0 28px; min-height: 86px; display: flex; align-items: center; gap: 2.4rem; }
.rv-logo { font: 400 1.9rem/1 var(--rv-display); letter-spacing: .14em; text-transform: uppercase; color: var(--rv-head) !important; flex: none; }
.rv-logo--script { font-family: var(--rv-script); font-size: 3rem; letter-spacing: 0; text-transform: none; }
.rv-logo--img img { max-height: 54px; width: auto; }
.rv-nav { flex: 1; display: flex; justify-content: flex-end; }
.rv-menu { gap: 1.9rem; }
.rv-menu a { color: var(--rv-head) !important; font: 400 .68rem/1 var(--rv-ui); letter-spacing: .2em; padding: 1.9rem 0; position: relative; }
.rv-menu > li > a::before { content: ""; position: absolute; left: 0; right: 0; bottom: 1.4rem; height: 1px; background: var(--rv-accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--rv-ease); }
.rv-menu > li > a:hover::before, .rv-menu > li.current-menu-item > a::before, .rv-menu > li.current-menu-ancestor > a::before { transform: scaleX(1); }
.rv-menu a:hover, .rv-menu .current-menu-item > a, .rv-menu .current-menu-ancestor > a { color: var(--rv-accent-d) !important; }
body.rv-light .rv-menu a:hover, body.rv-light .rv-menu .current-menu-item > a { color: var(--rv-accent-d) !important; }
.rv-menu ul { top: calc(100% - .6rem); background: var(--rv-card); border: 1px solid var(--rv-line); box-shadow: var(--rv-shadow); }
.rv-menu ul a { padding: .7rem 1.3rem; letter-spacing: .14em; }
.rv-menu ul a::before { display: none; }
.rv-bar__r { gap: .5rem; margin-left: 0; }
.rv-bar__r .rv-social { margin-right: .3rem; }
.rv-bar .rv-social__btn, .rv-hdr .rv-social__btn { color: var(--rv-head) !important; width: 30px; height: 30px; display: grid; place-items: center; border: 0; background: transparent; }
.rv-hdr .rv-social__btn:hover { color: var(--rv-accent-d) !important; }
.rv-searchbtn, .rv-burger, .rv-modebtn { background: none; border: 0; padding: 6px; color: var(--rv-head); cursor: pointer; display: grid; place-items: center; transition: color .25s, transform .4s var(--rv-ease); }
.rv-searchbtn:hover, .rv-modebtn:hover { color: var(--rv-accent-d); }
.rv-modebtn[aria-pressed="true"] { transform: rotate(-25deg); color: var(--rv-accent); }
.rv-searchpop { border-top: 1px solid var(--rv-line); background: var(--rv-surface); padding: .9rem 0 1.1rem; }
.rv-searchform { background: var(--rv-card); }
.rv-burger { display: none; }
@media (max-width: 1000px) { .rv-nav { display: none; } .rv-burger { display: grid; } .rv-hdr__in { justify-content: space-between; min-height: 72px; } .rv-bar__r .rv-social { display: none; } }

/* ---------- Layout ---------- */
.rv-band--tint { background: var(--rv-tint); }
.rv-bandwide.rv-band { padding-left: 24px; padding-right: 24px; }
.rv-bandwide > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.rv-headrow { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; flex-wrap: nowrap; }
.rv-headrow__t { flex: 1 1 auto; min-width: 0; }
.rv-headrow .rv-title { margin: 0; }
.rv-headrow > .wp-block-group, .rv-headrow > p { margin: 0; }
.rv-headrow .rv-more { flex: none; }

/* ---------- Four featured posts ---------- */
.rv-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
@media (max-width: 900px) { .rv-feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .rv-feats { grid-template-columns: 1fr; } }
.rv-feat__img { display: block; overflow: hidden; background: var(--rv-surface); }
.rv-feat__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; transition: transform 1s var(--rv-ease); }
.rv-feat:hover .rv-feat__img img { transform: scale(1.05); }
.rv-feat__c { display: inline-block; margin: 1rem 0 .3rem; font: 500 .62rem var(--rv-ui); letter-spacing: .22em; text-transform: uppercase; color: var(--rv-accent-d) !important; text-decoration: none; }
.rv-feat h3 { margin: 0; font-size: 1.6rem; line-height: 1.25; }
.rv-feat h3 a { color: var(--rv-head) !important; text-decoration: none; background-image: linear-gradient(var(--rv-accent), var(--rv-accent)); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .45s var(--rv-ease); }
.rv-feat:hover h3 a { background-size: 100% 1px; }

/* ---------- Hello band with an overlapping card ---------- */
.rv-hello { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; margin: 3.4rem 0; }
.rv-hello__panel { background: var(--rv-surface); display: flex; align-items: center; justify-content: flex-end; padding: 4rem 0; position: relative; }
.rv-hello__card { background: var(--rv-card); padding: clamp(2rem, 4vw, 3.2rem); width: calc(100% + 120px); margin-right: -120px; position: relative; z-index: 2; max-width: 560px; box-shadow: var(--rv-shadow); }
.rv-hello__card h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin: 0 0 1rem; }
.rv-hello__card p { margin: 0 0 1.4rem; }
.rv-hello__card p.rv-script { margin: 0 0 .4rem; }
.rv-hello__photo img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; display: block; }
@media (max-width: 900px) { .rv-hello { grid-template-columns: 1fr; } .rv-hello__panel { padding: 0; } .rv-hello__card { width: auto; margin: 0 20px; max-width: none; transform: translateY(40px); } .rv-hello__photo { order: -1; } .rv-hello__photo img { min-height: 340px; } }

/* ---------- Latest book review band ---------- */
.rv-reviewband { display: grid; grid-template-columns: .8fr 2fr; gap: 3rem; align-items: center; }
@media (max-width: 900px) { .rv-reviewband { grid-template-columns: 1fr; gap: 1.6rem; } }
.rv-reviewband__t h2 { margin: 0 0 .8rem; }
.rv-reviewband__t p { color: var(--rv-muted); margin: 0 0 1.4rem; }
.rv-reviewband__g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 600px) { .rv-reviewband__g { grid-template-columns: 1fr 1fr; } }
.rv-tile__img { display: block; overflow: hidden; background: var(--rv-surface); }
.rv-tile__img img { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; display: block; transition: transform 1s var(--rv-ease); }
.rv-tile:hover .rv-tile__img img { transform: scale(1.05); }
.rv-tile h3 { margin: .9rem 0 0; font-size: 1.45rem; line-height: 1.25; }
.rv-tile h3 a { color: var(--rv-head) !important; text-decoration: none; }

/* ---------- Posts ---------- */
.rv-post__title a { background-image: linear-gradient(var(--rv-accent), var(--rv-accent)); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .45s var(--rv-ease); }
.rv-post:hover .rv-post__title a { background-size: 100% 1px; }
.rv-post--row { grid-template-columns: 280px 1fr; }
.rv-list .rv-post__img img { aspect-ratio: 4 / 5; }
.rv-chip, body .rv-chip { font: 500 .62rem var(--rv-ui); letter-spacing: .22em; color: var(--rv-accent-d) !important; background: none; padding: 0; border: 0; }
.rv-save { border-radius: 50%; }

/* ---------- Favourites carousel ---------- */
.rv-slider--faves .rv-slider__track { grid-auto-columns: calc((100% - 3.6rem) / 4); }
@media (max-width: 900px) { .rv-slider--faves .rv-slider__track { grid-auto-columns: calc((100% - 1.2rem) / 2); } }
.rv-slider--faves .rv-fave { background: transparent; border: 0; text-align: center; }
.rv-slider--faves .rv-fave__img img { aspect-ratio: 1; object-fit: contain; background: var(--rv-surface); padding: 1.4rem; }
.rv-slider--faves .rv-fave__b { align-items: center; }

/* ---------- Books ---------- */
.rv-books { gap: 2.2rem 1.6rem; }
.rv-book { text-align: left; }
.rv-book__cover { position: relative; display: block; perspective: 800px; }
.rv-book__cover img, .rv-ph--book { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; display: block; border-radius: 2px 6px 6px 2px; box-shadow: -3px 4px 14px rgba(60, 30, 40, .22), inset 4px 0 5px rgba(255, 255, 255, .25); transition: transform .5s var(--rv-ease), box-shadow .5s; transform-origin: left center; }
.rv-book:hover .rv-book__cover img { transform: rotateY(-14deg) translateY(-6px); box-shadow: -10px 14px 26px rgba(60, 30, 40, .3); }
.rv-ph--book { display: grid; place-items: center; background: var(--rv-tint); color: var(--rv-accent); }
.rv-book__tag { position: absolute; left: 10px; top: 10px; background: var(--rv-card); color: var(--rv-head); font: 500 .56rem var(--rv-ui); letter-spacing: .16em; text-transform: uppercase; padding: .35rem .55rem; font-style: normal; box-shadow: 0 4px 12px rgba(0, 0, 0, .12); }
.rv-book__tag--reading { background: var(--rv-accent); color: #2F2A2B; }
.rv-book h3 { font-size: 1.3rem; margin: .9rem 0 .1rem; line-height: 1.2; }
.rv-book h3 a { color: var(--rv-head) !important; text-decoration: none; }
.rv-book__by { margin: 0 0 .3rem; font: 400 .74rem var(--rv-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--rv-muted); }
.rv-book__by--lg { font-size: .86rem; margin: .2rem 0 .6rem; }
.rv-book[hidden] { display: none; }
.rv-stars { display: inline-flex; gap: 1px; color: #D9A441; }
.rv-stars i { display: inline-flex; font-style: normal; opacity: .25; }
.rv-stars i.is-on { opacity: 1; } .rv-stars i.is-half { opacity: .6; }
.rv-bookbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--rv-line); }
.rv-bookbar__r { display: flex; gap: .8rem; }
.rv-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.rv-chipbtn { background: transparent; border: 1px solid var(--rv-line); color: var(--rv-head); padding: .55rem 1.1rem; border-radius: 999px; font: 400 .68rem var(--rv-ui); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: all .25s; }
.rv-chipbtn:hover { border-color: var(--rv-accent); }
.rv-chipbtn.is-on { background: var(--rv-accent); border-color: var(--rv-accent); color: #2F2A2B; }
.rv-sel select { border: 1px solid var(--rv-line); background: var(--rv-card); color: var(--rv-ink); padding: .6rem 1rem; font: 400 .85rem var(--rv-ui); border-radius: 0; }
.rv-library__none { text-align: center; }

/* Bookshelf */
.rv-shelf { display: grid; gap: 1.6rem; }
.rv-shelf__row { display: flex; align-items: flex-end; justify-content: center; gap: clamp(.4rem, 1.4vw, 1.1rem); padding: 0 1.6rem; position: relative; min-height: 220px; border-bottom: 14px solid #C9A47E; background: linear-gradient(180deg, transparent 80%, rgba(0, 0, 0, .05)); box-shadow: 0 16px 0 -6px rgba(120, 80, 50, .25); }
body.rv-dark .rv-shelf__row { border-bottom-color: #6B4F3A; }
.rv-spine { position: relative; display: block; flex: 1 1 0; max-width: 150px; height: calc(var(--h, 100%) * 2.2); max-height: 230px; transform-origin: bottom center; transition: transform .45s var(--rv-ease); }
.rv-spine img, .rv-spine .rv-ph--book { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; border-radius: 2px 4px 4px 2px; box-shadow: -2px 3px 10px rgba(60, 30, 40, .3); }
.rv-spine:hover { transform: translateY(-14px) rotate(-3deg); z-index: 3; }
.rv-spine__t { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); background: var(--rv-head); color: var(--rv-bg); font: 400 .68rem var(--rv-ui); letter-spacing: .06em; padding: .4rem .7rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .25s; }
.rv-spine:hover .rv-spine__t { opacity: 1; }
@media (max-width: 700px) { .rv-shelf__row { padding: 0 .4rem; min-height: 150px; } .rv-spine { height: calc(var(--h, 100%) * 1.5); } }

/* Challenge ring */
.rv-challenge { display: grid; grid-template-columns: auto 1fr; gap: 2.4rem; align-items: center; }
@media (max-width: 640px) { .rv-challenge { grid-template-columns: 1fr; text-align: center; justify-items: center; } }
.rv-ring { position: relative; width: 150px; height: 150px; }
.rv-ring svg { transform: rotate(-90deg); display: block; }
.rv-ring circle { fill: none; stroke-width: 7; }
.rv-ring__bg { stroke: var(--rv-line); }
.rv-ring__fg { stroke: var(--rv-accent-d); stroke-linecap: round; transition: stroke-dashoffset 1.6s var(--rv-ease); }
.rv-ring__n { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.rv-ring__n b { font: 400 2.8rem/1 var(--rv-display); color: var(--rv-head); }
.rv-ring__n small { font: 400 .72rem var(--rv-ui); letter-spacing: .16em; text-transform: uppercase; color: var(--rv-muted); }
.rv-challenge__b h3 { margin: 0 0 .8rem; font-size: 1.9rem; }
.rv-challenge__b p { margin: .6rem 0 0; color: var(--rv-muted); }
.rv-meter { height: 8px; background: var(--rv-line); border-radius: 99px; overflow: hidden; max-width: 420px; }
.rv-meter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--rv-accent), var(--rv-accent-d)); border-radius: 99px; transition: width 1.4s var(--rv-ease); }
.rv-meter i.is-on { width: var(--w); }
.rv-minis-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.rv-mini { width: 44px; display: block; }
.rv-mini img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; display: block; border-radius: 1px 3px 3px 1px; box-shadow: -1px 2px 6px rgba(60, 30, 40, .25); transition: transform .3s var(--rv-ease); }
.rv-mini:hover img { transform: translateY(-4px); }

/* Currently reading */
.rv-now { display: grid; grid-template-columns: 150px 1fr; gap: 1.8rem; align-items: center; }
.rv-now__cover img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; display: block; border-radius: 2px 6px 6px 2px; box-shadow: -4px 6px 18px rgba(60, 30, 40, .28); transform: rotate(-3deg); transition: transform .5s var(--rv-ease); }
.rv-now:hover .rv-now__cover img { transform: rotate(0) scale(1.03); }
.rv-now h3 { margin: 0 0 .1rem; font-size: 1.9rem; }
.rv-now h3 a { color: var(--rv-head) !important; text-decoration: none; }
.rv-readcols { align-items: center; gap: 3rem !important; }

/* Book page */
.rv-bookpage { max-width: 1100px; margin: 0 auto; padding: 3rem 24px 4rem; }
.rv-bookpage__top { display: grid; grid-template-columns: 340px 1fr; gap: 3.4rem; align-items: start; }
@media (max-width: 800px) { .rv-bookpage__top { grid-template-columns: 1fr; } .rv-bookpage__cover { max-width: 280px; margin: 0 auto; } }
.rv-bookpage__cover img { width: 100%; border-radius: 2px 8px 8px 2px; box-shadow: -10px 14px 34px rgba(60, 30, 40, .28); display: block; }
.rv-bookpage__info h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); margin: 0; }
.rv-bookpage__g { margin: 1rem 0 0; }
.rv-crumbs { font: 400 .68rem var(--rv-ui); letter-spacing: .18em; text-transform: uppercase; margin: 0 0 1rem; }
.rv-crumbs a { color: var(--rv-muted) !important; text-decoration: none; }
.rv-facts { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: .5rem; font-family: var(--rv-ui); font-size: .86rem; color: var(--rv-muted); }
.rv-facts li { display: flex; align-items: center; gap: .6rem; }
.rv-facts svg { color: var(--rv-accent-d); }
.rv-bookquote { margin: 1.4rem 0; padding: 1rem 0 1rem 1.4rem; border: 0; border-left: 3px solid var(--rv-accent); font: italic 400 1.5rem/1.4 var(--rv-display); color: var(--rv-head); }
.rv-bookpage__btns { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.rv-bookpage__review { max-width: 760px; margin: 3.4rem auto 0; font-size: 1.1rem; }
.rv-bookpage__review h2 { font-size: 2rem; margin-bottom: 1rem; }
.rv-bookpage__more { margin-top: 4.4rem; }
body.single-rv_book .site-container, body.single-rv_book .content-container { max-width: none; padding: 0; }

/* ---------- Footer ---------- */
.rv-footer { background: var(--rv-surface); border-top: 1px solid var(--rv-line); }
.rv-footer__top { max-width: 1200px; margin: 0 auto; padding: 4.4rem 24px 2.6rem; display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 3.4rem; }
@media (max-width: 860px) { .rv-footer__top { grid-template-columns: 1fr; gap: 2rem; } }
.rv-footer__h { font: 400 1.7rem var(--rv-display); margin: 0 0 1rem; }
.rv-footer__col p { margin: 0 0 1rem; color: var(--rv-muted); }
.rv-footer .rv-minimal { margin: 0; }
.rv-footer .rv-newsletter__form { justify-content: flex-start; }
.rv-footer__in { max-width: 1200px; margin: 0 auto; padding: 1.6rem 24px 2.2rem; border-top: 1px solid var(--rv-line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }

/* ---------- Light / dark switch ---------- */
html.rv-force-dark body, html.rv-force-dark body .site, html.rv-force-dark body #wrapper, html.rv-force-dark body .content-bg { background: #1C1418 !important; }
html.rv-force-dark { --rv-bg: #1C1418; --rv-surface: #261B20; --rv-tint: #2E1F27; --rv-ink: #E8DDE1; --rv-muted: #A99BA1; --rv-line: #3A2B33; --rv-head: #FFF4F6; --rv-card: #2E2128; --rv-btn: #F0A3B5; --rv-btn-t: #2F2A2B; color-scheme: dark; }
html.rv-force-dark body, html.rv-force-dark .site-main, html.rv-force-dark .entry-content { color: var(--rv-ink); }
html.rv-force-dark .rv-searchform input, html.rv-force-dark .rv-field input, html.rv-force-dark .rv-field textarea, html.rv-force-dark .rv-newsletter input[type=email] { background: #261B20; color: var(--rv-ink); }
html.rv-force-light { --rv-bg: #FFFFFF; --rv-surface: #F6F1EC; --rv-tint: #FBEAE8; --rv-ink: #555050; --rv-muted: #8E8787; --rv-line: #EEE5E3; --rv-head: #2F2A2B; --rv-card: #fff; }
html.rv-force-light body, html.rv-force-light body .site, html.rv-force-light body #wrapper, html.rv-force-light body .content-bg { background: #fff !important; }

/* ---------- Gentle reveals ---------- */
.rv-fx .rv-rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--rv-ease), transform .9s var(--rv-ease); transition-delay: var(--rd, 0ms); }
.rv-fx .rv-rv.rv-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv-fx .rv-rv { opacity: 1; transform: none; transition: none; } .rv-ring__fg, .rv-meter i { transition: none; } }

/* ---------- Kadence layout ---------- */
body.single-rv_book .entry-content { margin: 0; }
