/*
Theme Name: rhfotografia
Theme URI: https://rhfotografia.com
Author: rhfotografia
Description: Tema editorial y luminoso para rhfotografia (Santa Marta). Portada a pantalla completa con titular rotativo, menú partido con logo al centro, fotos a todo el ancho con frases, bloques de foto y panel, galería de todas tus entradas, galerías privadas con clave, paquetes, reseñas y formulario que envía a WhatsApp.
Version: 2.14.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rhfoto
Tags: photography, portfolio, one-column, custom-logo, custom-menu, featured-images, translation-ready
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
	--white: #ffffff;
	--panel: #f3f3f1;
	--text: #555555;
	--head: #4a4a4a;
	--soft: #8a8a86;
	--line: #e3e3df;
	--ink: #2b2b2b;

	--serif: "Newsreader", "Cormorant Garamond", Georgia, serif;
	--sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

	--wrap: 1320px;
	--gutter: clamp(18px, 4vw, 56px);
	--sec: clamp(80px, 10vw, 150px);
	--hh: 108px;
	--ease: cubic-bezier(.19, 1, .22, 1);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
	margin: 0; background: var(--white); color: var(--text);
	font-family: var(--sans); font-size: 17px; line-height: 1.75; font-weight: 400;
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: opacity .3s, color .3s; }
a:hover { opacity: .7; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 300; line-height: 1.1; color: var(--head); }
figure { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.rh-skip { position: absolute; left: 12px; top: -60px; z-index: 999; padding: 12px 18px; background: var(--ink); color: var(--white); text-decoration: none; }
.rh-skip:focus { top: 12px; }

.rh-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.rh-section { padding: var(--sec) 0; position: relative; }
.rh-section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.rh-center { text-align: center; margin-top: clamp(32px, 4vw, 56px); }
.rh-muted { color: var(--soft); }
.rh-small { font-size: 14px; }
.rh-empty { text-align: center; padding: 60px 0; color: var(--soft); }

/* ==========================================================================
   3. Tipografía
   ========================================================================== */
.rh-h1, .rh-h2, .rh-display, .rh-band__title, .rh-quoteband__text, .rh-trio__statement, .rh-stage__word, .rh-cover__title, .rh-hero__title {
	font-family: var(--serif); font-weight: 200; letter-spacing: -.01em;
}
.rh-display { font-size: clamp(48px, 7vw, 104px); line-height: 1.02; }
.rh-h1 { font-size: clamp(40px, 5vw, 76px); line-height: 1.08; }
.rh-h2 { font-size: clamp(36px, 3.8vw, 58px); line-height: 1.1; margin-bottom: 28px; }
.rh-h3 { font-family: var(--serif); font-weight: 300; font-size: 32px; line-height: 1.15; }
.rh-h1 em, .rh-h2 em, .rh-display em { font-style: italic; }
.rh-eyebrow {
	font-family: var(--serif); font-weight: 300; font-size: 17px; letter-spacing: .14em; text-transform: uppercase;
	color: var(--soft); margin: 0 0 14px;
}
.rh-eyebrow--light { color: rgba(255,255,255,.85); }
.rh-lead { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.8; }
.rh-note { font-family: var(--serif); font-style: italic; font-size: 20px; margin-top: -12px; color: var(--soft); }
.rh-list { display: grid; gap: 8px; margin: 0 0 32px; }
.rh-list li { display: flex; gap: 14px; }
.rh-list li::before { content: "—"; color: var(--soft); }
.rh-center-head { text-align: center; max-width: 980px; margin: 0 auto clamp(40px, 5vw, 72px); padding: 0 var(--gutter); }
.rh-center-head__sub { font-family: var(--serif); font-weight: 300; font-size: clamp(20px, 2vw, 30px); line-height: 1.35; color: var(--soft); margin-top: 18px; }

/* ==========================================================================
   4. Botones
   ========================================================================== */
.rh-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 30px; border-radius: 999px;
	border: 1px solid var(--text); background: transparent; color: var(--text);
	font-family: var(--sans); font-size: 13px; letter-spacing: 3px; text-transform: uppercase; font-weight: 400;
	text-decoration: none; cursor: pointer; transition: background .4s var(--ease), color .4s var(--ease), border-color .4s;
}
.rh-btn:hover { opacity: 1; background: var(--text); color: var(--white); }
.rh-btn .rh-ico { width: 17px; height: 17px; }
.rh-btn--light { color: var(--white); border-color: rgba(255,255,255,.8); }
.rh-btn--light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.rh-btn--solid { background: var(--text); color: var(--white); border-color: var(--text); }
.rh-btn--solid:hover { background: var(--ink); border-color: var(--ink); }
.rh-btn--block { width: 100%; }
.rh-link { font-size: 13px; letter-spacing: 3px; text-transform: uppercase; text-decoration: underline; }

.rh-pill {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px;
	font-family: var(--sans); font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
	text-decoration: none; cursor: pointer; border: 1px solid currentColor; background: transparent;
	transition: background .3s, color .3s, border-color .3s;
}
.rh-pill .rh-ico { width: 15px; height: 15px; }
.rh-pill--solid { background: var(--text); color: var(--white); border-color: var(--text); }
.rh-pill--ghost:hover, .rh-pill--ghost[aria-pressed="true"] { background: var(--text); color: var(--white); border-color: var(--text); opacity: 1; }
.rh-round {
	width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
	border: 1px solid currentColor; background: transparent; cursor: pointer; transition: background .3s, color .3s;
}
.rh-round:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.rh-chip {
	min-height: 42px; padding: 0 18px; border-radius: 999px; cursor: pointer;
	border: 1px solid var(--line); background: var(--white);
	font-family: var(--sans); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--text);
	transition: all .35s var(--ease);
}
.rh-chip:hover { border-color: var(--text); }
.rh-chip.is-active { background: var(--text); color: var(--white); border-color: var(--text); }

/* ==========================================================================
   5. Encabezado (menú partido, logo al centro)
   ========================================================================== */
.rh-header {
	position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--text);
	background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line);
	transition: background .5s, color .5s, border-color .5s, transform .5s var(--ease);
}
.rh-header.is-hidden { transform: translateY(-100%); }
.has-hero .rh-header:not(.is-scrolled) { background: transparent; color: var(--white); border-bottom-color: transparent; }
.rh-header__inner {
	max-width: 1500px; margin: 0 auto; padding: 0 var(--gutter); height: var(--hh);
	display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 32px;
	transition: height .5s var(--ease);
}
.rh-header.is-scrolled .rh-header__inner { height: 84px; }
body:not(.has-hero) .rh-main { padding-top: var(--hh); }
.admin-bar .rh-header { top: 32px; }
.admin-bar .rh-galbar { top: calc(84px + 32px); }
@media (max-width: 782px) {
	.admin-bar .rh-header { top: 46px; }
	.admin-bar .rh-galbar { top: calc(84px + 46px); }
}
@media (max-width: 600px) {
	.admin-bar .rh-header { top: 0; }
	.admin-bar .rh-header:not(.is-scrolled) { top: 46px; }
}

.rh-nav--left { justify-self: end; }
.rh-nav--right { justify-self: start; }
.rh-menu { display: flex; gap: clamp(16px, 2.2vw, 36px); align-items: center; }
.rh-menu a {
	font-family: var(--sans); font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase;
	text-decoration: none; display: inline-flex; align-items: center; gap: 6px; padding: 10px 0; position: relative;
}
.rh-menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .5s var(--ease); }
.rh-menu a:hover { opacity: 1; }
.rh-menu a:hover::after { transform: scaleX(1); }
.rh-menu .rh-ico { width: 14px; height: 14px; }

.rh-logo { display: inline-flex; justify-content: center; align-items: center; text-decoration: none; position: relative; }
.rh-logo:hover { opacity: 1; }
.rh-logo__img { height: 74px; width: auto; max-width: 240px; object-fit: contain; transition: opacity .4s, height .5s var(--ease); }
.rh-header.is-scrolled .rh-logo__img { height: 58px; }
.rh-logo__img--light { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: 0; }
.rh-logo__img.is-inverted { filter: invert(1) brightness(.35); }
.has-hero .rh-header:not(.is-scrolled) .rh-logo__img--dark { opacity: 0; }
.has-hero .rh-header:not(.is-scrolled) .rh-logo__img--light { opacity: 1; }
.rh-logo__text { font-family: var(--serif); font-weight: 300; font-size: 30px; letter-spacing: 0; text-transform: none; }
.rh-logo__text em { font-style: italic; }
.rh-logo__text small { display: block; font-size: 11px; letter-spacing: .5em; text-align: center; }

.rh-burger { display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; position: relative; justify-self: end; }
.rh-burger__lines, .rh-burger__lines::before { position: absolute; left: 12px; right: 12px; height: 1px; background: currentColor; content: ""; transition: transform .5s var(--ease), top .5s var(--ease); }
.rh-burger__lines { top: 19px; }
.rh-burger__lines::before { left: 0; right: 0; top: 9px; }
.rh-burger[aria-expanded="true"] .rh-burger__lines { top: 23px; transform: rotate(45deg); }
.rh-burger[aria-expanded="true"] .rh-burger__lines::before { top: 0; transform: rotate(-90deg); }

.rh-overlay {
	position: fixed; inset: 0; z-index: 45; background: #1d1d1c; color: var(--white);
	display: flex; flex-direction: column; justify-content: space-between; padding: calc(var(--hh) + 30px) var(--gutter) 40px;
	clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease);
}
.rh-overlay.is-open { clip-path: inset(0); }
.rh-overlay[hidden] { display: none; }
.rh-menu--big { flex-direction: column; align-items: center; gap: 2px; }
.rh-menu--big a { font-family: var(--serif); font-weight: 200; font-size: clamp(36px, 9vw, 64px); letter-spacing: 0; text-transform: none; padding: 4px 0; }
.rh-menu--big a::after { display: none; }
.rh-overlay__foot { display: grid; gap: 6px; text-align: center; font-size: 14px; }
.rh-overlay__foot a { text-decoration: none; }
body.menu-open .rh-header { background: transparent !important; color: var(--white) !important; border-color: transparent !important; }
body.menu-open .rh-logo__img--dark { opacity: 0; }
body.menu-open .rh-logo__img--light { opacity: 1; }
body.menu-open { overflow: hidden; }

/* ==========================================================================
   6. Portada
   ========================================================================== */
.rh-hero, .rh-cover {
	position: relative; min-height: 100vh; min-height: 100svh; background: #1d1d1c; color: var(--white);
	overflow: hidden; display: flex; align-items: flex-end; justify-content: center; text-align: center;
}
.rh-cover--locked { align-items: center; }
.rh-hero__media, .rh-cover__img { position: absolute; inset: 0; }
.rh-hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s ease; }
.rh-hero__slide.is-active { opacity: 1; }
.rh-hero__slide img, .rh-cover__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 9s linear; }
.rh-hero__slide.is-active img { transform: scale(1); }
.rh-cover__img img { transform: scale(1.04); }
.rh-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 50%, rgba(0,0,0,.62) 100%); }
.rh-hero__content, .rh-cover__content { position: relative; z-index: 2; padding: calc(var(--hh) + 20px) var(--gutter) clamp(90px, 12vh, 140px); width: 100%; }
.rh-cover--locked .rh-cover__content { padding-bottom: 60px; }
body.rhfoto .rh-hero, body.rhfoto .rh-hero .rh-hero__title, body.rhfoto .rh-hero .rh-hero__title span,
body.rhfoto .rh-cover, body.rhfoto .rh-cover .rh-cover__title { color: #fff; }
.rh-hero .rh-hero__title, .rh-cover .rh-cover__title { color: #fff; }
.rh-hero__title { margin: 0; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.rh-hero__fixed { display: block; font-weight: 300; font-size: clamp(34px, 4.8vw, 80px); letter-spacing: .14em; text-transform: uppercase; line-height: 1.05; padding-left: .14em; }
.rh-hero__words { display: block; position: relative; height: 1.25em; overflow: hidden; font-size: clamp(28px, 3.6vw, 58px); margin-top: .1em; }
.rh-hero__word {
	position: absolute; left: 0; right: 0; top: 0; white-space: nowrap; font-style: italic; font-weight: 200; line-height: 1.25;
	opacity: 0; transform: translateY(60%); filter: blur(12px);
	transition: transform 1.1s var(--ease), opacity 1.1s var(--ease), filter 1.1s var(--ease);
}
.rh-hero__word.is-active { opacity: 1; transform: none; filter: blur(0); }
.rh-hero__word.is-leaving { opacity: 0; transform: translateY(-60%); filter: blur(12px); }
.rh-hero__eyebrow { margin: 26px 0 0; font-family: var(--sans); font-size: 13px; letter-spacing: .5em; text-transform: uppercase; padding-left: .5em; color: rgba(255,255,255,.9); }
.rh-hero__scroll { position: absolute; z-index: 2; left: 50%; bottom: 26px; width: 28px; height: 46px; margin-left: -14px; border: 1px solid rgba(255,255,255,.7); border-radius: 20px; }
.rh-hero__scroll span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: rhScroll 2s ease-in-out infinite; }
@keyframes rhScroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.rh-intro { animation: rhIntro 1.5s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes rhIntro { from { opacity: 0; transform: translateY(30px); filter: blur(12px); } to { opacity: 1; transform: none; filter: blur(0); } }

/* ==========================================================================
   7. Aparición al bajar (difuminado)
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(46px); filter: blur(10px); transition: opacity 1.3s var(--ease), transform 1.3s var(--ease), filter 1.3s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: blur(0); }
.rh-zoom { overflow: hidden; }
.rh-zoom img { transition: transform 1.6s var(--ease); }
.js .rh-zoom[data-reveal] img, .js [data-reveal] .rh-zoom img { transform: scale(1.14); }
.js .rh-zoom[data-reveal].is-in img, .js [data-reveal].is-in .rh-zoom img { transform: scale(1); }

/* ==========================================================================
   8. Frase sobre blanco + foto con borde curvo (texto fuera de la foto)
   ========================================================================== */
.rh-band { position: relative; background: var(--white); text-align: center; padding-top: var(--sec); }
.rh-band__text { max-width: 1100px; margin: 0 auto; padding: 0 var(--gutter) clamp(36px, 5vw, 64px); }
.rh-band__title { color: var(--head); font-size: clamp(36px, 5vw, 80px); line-height: 1.1; margin-bottom: 18px; }
.rh-band__img { overflow: hidden; clip-path: ellipse(150% 100% at 50% 100%); }
.rh-band__img img { width: 100%; height: clamp(360px, 70vh, 820px); object-fit: cover; }

/* ==========================================================================
   9. Foto + panel gris (Nosotros y Paquetes)
   ========================================================================== */
.rh-split {
	position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
	align-items: center; padding: var(--sec) 0 0;
}
.rh-split__img { grid-column: 1 / span 7; grid-row: 1; position: relative; z-index: 1; }
.rh-split__img img { width: 100%; height: clamp(420px, 52vw, 820px); object-fit: cover; }
.rh-split__panel {
	grid-column: 7 / span 6; grid-row: 1; position: relative; z-index: 2; margin-right: var(--gutter);
	background: var(--panel); padding: clamp(36px, 5vw, 80px); align-self: center; margin-top: 18%;
}
.rh-split--rev .rh-split__img { grid-column: 6 / span 7; }
.rh-split--rev .rh-split__panel { grid-column: 1 / span 6; margin-right: 0; margin-left: var(--gutter); }
.rh-split__panel p:last-of-type { margin-bottom: 32px; }
.rh-split__panel .rh-stats:last-child { margin-bottom: 0; }
.rh-pkgs { padding-top: var(--sec); }
.rh-split--pkg { padding-top: clamp(60px, 7vw, 110px); }
.rh-split--pkg .rh-split__img img { height: clamp(340px, 38vw, 600px); }
.rh-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 20px; margin: 8px 0 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.rh-stats div { display: flex; flex-direction: column-reverse; gap: 2px; }
.rh-stats dd { margin: 0; font-family: var(--serif); font-weight: 200; font-size: 46px; line-height: 1; color: var(--head); }
.rh-stats dt { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--soft); }

/* Foto destacada debajo de Nosotros: se ve completa, en su forma original */
.rh-feature { padding: clamp(60px, 8vw, 120px) var(--gutter) 0; }
.rh-feature__img { max-width: 1300px; margin: 0 auto; display: flex; justify-content: center; }
.rh-feature__img img { width: auto; max-width: 100%; max-height: 92vh; height: auto; object-fit: contain; }

/* ==========================================================================
   10. Testimonios: foto a un lado, cita al otro (sin texto sobre caras)
   ========================================================================== */
.rh-qsplit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: var(--sec); align-items: stretch; }
.rh-qsplit__img { min-height: clamp(420px, 46vw, 760px); position: relative; }
.rh-qsplit__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rh-qsplit__panel { margin: 0; background: var(--panel); padding: clamp(40px, 6vw, 110px); display: flex; flex-direction: column; justify-content: center; }
.rh-qsplit--rev .rh-qsplit__img { order: 2; }
.rh-qsplit--dark .rh-qsplit__panel { background: #262624; color: #ecece8; }
.rh-qsplit__text { margin: 0; font-family: var(--serif); font-weight: 200; font-size: clamp(26px, 2.5vw, 42px); line-height: 1.25; color: var(--head); }
.rh-qsplit--dark .rh-qsplit__text { color: #fff; }
.rh-qsplit__who { margin-top: 22px; font-family: var(--serif); font-size: 20px; color: var(--soft); }
.rh-qsplit--dark .rh-qsplit__who { color: #c9c9c4; }
.rh-quote[hidden] { display: none; }
.rh-quote.is-active { animation: rhIntro 1.1s var(--ease) both; }
.rh-slider__nav { margin: 30px 0 24px; display: flex; align-items: center; gap: 18px; font-size: 13px; letter-spacing: 3px; }
.rh-qsplit--dark .rh-round { color: #fff; }
.rh-stars { display: inline-flex; gap: 4px; margin: 0 0 20px; color: #d9a945; }
.rh-stars .rh-ico { width: 18px; height: 18px; }

/* Widget de reseñas reales (Trustindex) */
.rh-reviews--widget .rh-qsplit__panel { padding: clamp(36px, 4.5vw, 80px); }
.rh-reviews--widget .rh-h2 { margin-bottom: 22px; }
.rh-reviews-widget { width: 100%; min-width: 0; max-height: 640px; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; }
.rh-reviews-list .rh-reviews-widget { max-height: none; overflow: visible; }

/* ==========================================================================
   11. Tres columnas: foto | frase | foto
   ========================================================================== */
.rh-trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); align-items: center; padding: var(--sec) var(--gutter) 0; max-width: 1600px; margin: 0 auto; }
.rh-trio__img img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.rh-trio__panel { background: var(--panel); padding: clamp(36px, 4vw, 64px); text-align: center; align-self: stretch; display: flex; flex-direction: column; justify-content: center; margin: 8% 0; }
.rh-trio__statement { font-size: clamp(28px, 2.8vw, 44px); line-height: 1.22; color: var(--head); margin-bottom: 28px; }
.rh-trio__panel p:last-child { font-size: 16px; margin: 0; }

/* ==========================================================================
   12. Galería: palabra fija + todas las entradas
   ========================================================================== */
.rh-stage { position: relative; background: var(--white); padding-top: var(--sec); --p: 0; }
.rh-stage__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; justify-content: center; overflow: hidden; pointer-events: none; }
.rh-stage__word {
	margin: 0; font-size: clamp(56px, 12vw, 220px); white-space: nowrap; text-transform: none; letter-spacing: -.01em; color: #d8d8d4;
	opacity: calc(1 - var(--p) * 1.1); transform: scale(calc(1 - var(--p) * .1)); filter: blur(calc(var(--p) * 10px));
}
.rh-stage__content { position: relative; z-index: 2; margin-top: -55vh; }
.rh-center-head--stage { background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 28px var(--gutter); max-width: 1100px; }
.rh-portfolio--stage { padding-bottom: 0; }
.rh-portfolio--stage .rh-wrap { max-width: none; padding-left: 0; padding-right: 0; }
.rh-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 auto clamp(24px, 3vw, 40px); padding: 0 var(--gutter); }

.rh-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.rh-grid.rh-grid--masonry { display: block; columns: 3 300px; column-gap: 8px; }
.rh-grid--masonry > .rh-card { break-inside: avoid; margin: 0 0 8px; display: block; width: 100%; }
.rh-card { position: relative; }
.rh-card.is-hidden { display: none; }
.rh-card__link { display: block; text-decoration: none; }
.rh-card__link:hover { opacity: 1; }
.rh-card__media { position: relative; background: var(--panel); }
.rh-card__media img { width: 100%; height: auto; }
.rh-grid:not(.rh-grid--masonry) .rh-card__media img { aspect-ratio: 3 / 2; object-fit: cover; }
.rh-card__media::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background .5s; pointer-events: none; }
.rh-card__link:hover .rh-card__media::after { background: rgba(0,0,0,.1); }
.rh-card__link:hover .rh-card__media img { transform: scale(1.03); }
.rh-card__empty { display: block; aspect-ratio: 4 / 5; }
.rh-card__lock { position: absolute; top: 10px; right: 10px; z-index: 1; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.35); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.rh-card__lock .rh-ico { width: 14px; height: 14px; }
.rh-card__meta { padding: 14px 0; }
.rh-card__title { font-family: var(--serif); font-weight: 300; font-size: 24px; }

/* ==========================================================================
   13. Logros con laureles
   ========================================================================== */
.rh-awards { position: relative; margin-top: var(--sec); padding: clamp(90px, 12vw, 180px) var(--gutter); color: var(--white); overflow: hidden; background: #2a2118; }
.rh-awards__img { position: absolute; inset: 0; }
.rh-awards__img img { width: 100%; height: 100%; object-fit: cover; filter: blur(6px) saturate(.9); transform: scale(1.08); }
.rh-awards::after { content: ""; position: absolute; inset: 0; background: rgba(38,26,14,.68); }
.rh-awards__list { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(28px, 5vw, 80px); }
.rh-award { display: flex; align-items: center; gap: 10px; }
.rh-laurel { color: #fff; flex: 0 0 auto; }
.rh-award__text { display: grid; text-align: center; min-width: 150px; }
.rh-award__text strong { font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 2.4vw, 36px); letter-spacing: .06em; text-transform: uppercase; line-height: 1.1; }
.rh-award__text span { font-family: var(--serif); font-size: 15px; letter-spacing: .12em; text-transform: uppercase; opacity: .9; }

/* ==========================================================================
   14. Galería privada
   ========================================================================== */
.rh-clients { background: var(--panel); margin-top: 0; }
.rh-clients__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.rh-clients .rh-h1 em { font-style: italic; }
.rh-clients .rh-lead { margin-top: 26px; max-width: 560px; }
.rh-steps-mini { margin-top: 34px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 600px; }
.rh-steps-mini li { border-top: 1px solid #cfcfca; padding-top: 14px; font-size: 15px; display: grid; gap: 4px; }
.rh-steps-mini span { font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--soft); line-height: 1; }
.rh-access { background: var(--white); padding: clamp(28px, 3.4vw, 52px); display: grid; gap: 10px; }
.rh-access__icon { width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; margin-bottom: 6px; }
.rh-access .rh-btn { margin-top: 14px; }
.rh-access .rh-small { margin: 8px 0 0; text-align: center; }
.rh-label { display: block; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--soft); margin-top: 6px; }
.rh-input {
	width: 100%; height: 54px; padding: 0 18px; border: 0; border-radius: 0; background: var(--panel); color: var(--text);
	font: inherit; font-size: 16px; transition: box-shadow .3s;
}
.rh-input:focus { outline: none; box-shadow: inset 0 0 0 1px var(--text); }
.rh-input::placeholder { color: #a3a39e; }

/* ==========================================================================
   15. Proceso
   ========================================================================== */
.rh-process .rh-sechead { justify-content: center; text-align: center; }
.rh-sechead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 64px; margin-bottom: clamp(40px, 5vw, 72px); }
.rh-sechead__aside { max-width: 380px; margin: 0; color: var(--soft); }
.rh-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.rh-step { border-top: 1px solid var(--line); padding-top: 22px; text-align: center; }
.rh-step__num { display: block; font-family: var(--serif); font-style: italic; font-weight: 200; font-size: 64px; line-height: 1; color: #b9b9b4; margin-bottom: 18px; }
.rh-step__title { font-family: var(--serif); font-weight: 300; font-size: 26px; margin-bottom: 10px; }
.rh-step p { font-size: 16px; margin: 0; }

/* ==========================================================================
   16. Contacto
   ========================================================================== */
.rh-contact__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; max-width: 900px; }
.rh-contact__intro { text-align: center; }
.rh-contact__intro .rh-lead { margin: 18px auto 0; max-width: 620px; }
.rh-contact__list { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 28px; }
.rh-contact__list a, .rh-contact__list span { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font-size: 15px; }
.rh-contact__list .rh-ico { width: 18px; height: 18px; color: var(--soft); }
.rh-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.rh-field--full { grid-column: 1 / -1; }
.rh-form .rh-label { margin: 0 0 6px; }
.rh-line {
	width: 100%; min-height: 54px; padding: 12px 16px; border: 0; border-radius: 0; background: var(--panel); color: var(--text);
	font: inherit; font-size: 16px; transition: box-shadow .3s;
}
.rh-line:focus { outline: none; box-shadow: inset 0 0 0 1px var(--text); }
select.rh-line { appearance: none; cursor: pointer; background: var(--panel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23555' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") right 16px center no-repeat; }
textarea.rh-line { resize: vertical; min-height: 120px; }
.rh-line.is-invalid { box-shadow: inset 0 0 0 1px #c0503a; }
.rh-form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 8px; }
.rh-form__actions p { margin: 0; }
.rh-form--shortcode { display: block; }
.rh-form--shortcode input:not([type=submit]), .rh-form--shortcode textarea, .rh-form--shortcode select { width: 100%; background: var(--panel); border: 0; padding: 14px 16px; font: inherit; color: var(--text); }

/* Área privada del cliente (bloque del plugin de descargas) */
.rh-cover__private { margin: 26px 0 0; }
.rh-cover__private .rh-ico { width: 16px; height: 16px; }
.rh-galbar[hidden] { display: none; }
.rh-gallery .rh-private-box {
	scroll-margin-top: 100px; max-width: 640px !important; margin: clamp(48px, 7vw, 96px) auto !important;
	padding: clamp(34px, 5vw, 60px) clamp(24px, 5vw, 64px) !important; border-radius: 0 !important; box-shadow: none !important;
	background: var(--panel) !important; text-align: center !important; color: var(--text);
}
.rh-private-box__icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border: 1px solid #cfcfca; border-radius: 50%; color: var(--text); margin-bottom: 14px; }
.rh-gallery .rh-private-box .rh-private-box__title { font-family: var(--serif) !important; font-weight: 300 !important; font-size: clamp(30px, 3vw, 42px) !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--head) !important; margin: 0 0 10px !important; line-height: 1.15 !important; }
.rh-private-box__help { font-size: 15px; color: var(--soft); margin: 0 0 24px; }
.rh-gallery .rh-private-box form { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0; }
.rh-gallery .rh-private-box input[type="password"], .rh-gallery .rh-private-box input[type="text"] {
	flex: 1 1 240px; width: auto !important; height: 54px; padding: 0 18px !important; border: 0 !important; border-radius: 0 !important;
	background: #fff !important; font: inherit; font-size: 16px; color: var(--text); box-shadow: inset 0 0 0 1px #dcdcd7;
}
.rh-gallery .rh-private-box input:focus { outline: none; box-shadow: inset 0 0 0 1px var(--text); }
.rh-gallery .rh-private-box button, .rh-gallery .rh-private-box input[type="submit"], .rh-gallery .rh-private-box a.button, .rh-gallery .rh-private-box a[download], .rh-gallery .rh-private-box a[href*="drive"], .rh-gallery .rh-private-box a[href*="wetransfer"] {
	margin: 0 !important; min-height: 54px; padding: 0 30px !important; border: 1px solid var(--text) !important; border-radius: 999px !important;
	background: var(--text) !important; color: #fff !important; font-family: var(--sans) !important; font-size: 13px !important; letter-spacing: 3px !important; text-transform: uppercase; cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center; text-decoration: none; transition: background .3s;
}
.rh-gallery .rh-private-box button:hover, .rh-gallery .rh-private-box a.button:hover { background: var(--ink) !important; }

/* Galerías hechas con Elementor: más aire y sin repetir el nombre */
.rh-gallery--elementor .rh-dup-title { display: none !important; }
.rh-gallery--elementor .e-con-boxed > .e-con-inner { max-width: 1400px; }
.rh-gallery--elementor .elementor-widget-image img { width: 100%; height: auto; }
.rh-gallery--elementor .e-gallery-item { overflow: hidden; }
.rh-gallery--elementor .e-gallery-item::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background .5s; pointer-events: none; }
.rh-gallery--elementor .e-gallery-item:hover::after { background: rgba(0,0,0,.08); }

/* Jetpack "Relacionado": lo reemplaza la sección "Más historias" del tema */
.rh-gallery .jp-relatedposts, .rh-gallery #jp-relatedposts { display: none !important; }

/* Descarga protegida del tema */
.rhg-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.rh-gallery .rhg-box { margin-top: clamp(48px, 7vw, 96px) !important; }
.rhg-box__err { background: #fff; border-left: 3px solid #b32d2e; padding: 10px 14px; font-size: 14px; color: #8a1f1f; margin: 0 auto 18px; max-width: 460px; text-align: left; }
.rhg-box__ask { margin: 18px 0 0; font-size: 13px; color: var(--soft); }
.rhg-box__ask a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.rh-gallery .rhg-box input[type="password"] { text-transform: uppercase; letter-spacing: .2em; }
.rh-gallery .rhg-box input[type="password"]::placeholder { text-transform: none; letter-spacing: 0; }

/* Más historias */
.rh-more { padding: clamp(70px, 9vw, 130px) 0 clamp(40px, 5vw, 70px); }
.rh-more__head { text-align: center; margin-bottom: clamp(34px, 4vw, 56px); }
.rh-more__head .rh-eyebrow { margin-bottom: 10px; }
.rh-more__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); max-width: 1240px; margin: 0 auto; }
.rh-more__item { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none !important; color: var(--text); }
.rh-more__img { display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--panel); margin-bottom: 20px; }
.rh-more__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.4s var(--ease), filter .6s; }
.rh-more__item:hover .rh-more__img img { transform: scale(1.035); }
.rh-more__cat { font-family: var(--sans); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--soft); margin-bottom: 8px; }
.rh-more__title { font-family: var(--serif); font-weight: 300; font-size: clamp(22px, 2vw, 28px); line-height: 1.2; color: var(--head); }
.rh-more__link { margin-top: 12px; font-family: var(--sans); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--text); border-bottom: 1px solid transparent; padding-bottom: 3px; transition: border-color .4s; }
.rh-more__item:hover .rh-more__link { border-color: currentColor; }

/* Escudo: en páginas hechas con Elementor, sus estilos globales no cambian la letra del tema */
body.rhfoto :is(.rh-h1, .rh-h2, .rh-display, .rh-cover__title, .rh-band__title, .rh-trio__statement, .rh-qsplit__text, .rh-stage__word, .rh-step__title, .rh-postnav a, .rh-menu--big a) {
	font-family: var(--serif) !important; text-transform: none !important; letter-spacing: -.01em !important;
}
body.rhfoto :is(.rh-h1, .rh-h2, .rh-display, .rh-cover__title, .rh-band__title, .rh-trio__statement, .rh-qsplit__text, .rh-stage__word) { font-weight: 200 !important; }
body.rhfoto :is(.rh-step__title, .rh-postnav a, .rh-h3) { font-weight: 300 !important; }
body.rhfoto :is(.rh-cover__content .rh-mono, .rh-eyebrow, .rh-menu a, .rh-btn, .rh-pill, .rh-label) { font-family: var(--sans) !important; }
body.rhfoto .rh-eyebrow { font-family: var(--serif) !important; }
body.rhfoto .rh-cover__title { color: #fff !important; }

/* Invitación a cotizar al final de cada galería */
.rh-gal-cta { text-align: center; padding: clamp(60px, 8vw, 110px) var(--gutter); background: var(--panel); margin-top: clamp(40px, 6vw, 80px); }
.rh-gal-cta .rh-h2 { margin-bottom: 12px; }
.rh-gal-cta p:not(.rh-eyebrow) { max-width: 520px; margin: 0 auto 28px; }

/* Zona de cotización */
.rh-contact { position: relative; }
.rh-anchor { position: absolute; top: -20px; }
.rh-cot-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 26px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--text); }
.rh-cot-steps li { display: flex; align-items: center; gap: 10px; }
.rh-cot-steps span { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--soft); display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 16px; }

/* Mensajes del formulario de cotización */
.rh-form-ok { text-align: center; background: var(--panel); padding: clamp(32px, 5vw, 64px); }
.rh-form-ok .rh-h2 { margin-bottom: 12px; }
.rh-form-alert { background: #fbeae6; color: #8a2d1a; padding: 12px 16px; margin: 0; }

/* ==========================================================================
   17. Pie de página
   ========================================================================== */
.rh-footer { border-top: 1px solid var(--line); padding: clamp(60px, 7vw, 100px) 0 40px; text-align: center; }
.rh-footer__inner { display: grid; gap: 22px; justify-items: center; }
.rh-footer .rh-logo__img { height: 90px; }
.rh-footer .rh-logo__img--light { display: none; }
.rh-footer__menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; }
.rh-footer__menu a { font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase; text-decoration: none; }
.rh-footer__contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 24px; margin: 0; font-size: 15px; }
.rh-footer__contact a { text-decoration: none; }
.rh-footer__social { display: flex; gap: 10px; margin: 0; }
.rh-footer__social a { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; }
.rh-footer__social .rh-ico { width: 18px; height: 18px; }
.rh-footer__legal { font-size: 13px; color: var(--soft); margin: 10px 0 0; }

.rh-wa { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--text); color: var(--white); box-shadow: 0 10px 30px rgba(0,0,0,.2); transition: transform .5s var(--ease); }
.rh-wa:hover { opacity: 1; transform: scale(1.08); }
.rh-wa .rh-ico { width: 26px; height: 26px; }

/* ==========================================================================
   18. Páginas internas
   ========================================================================== */
.rh-pagehead { padding: clamp(70px, 9vw, 140px) 0 clamp(30px, 4vw, 56px); text-align: center; }
.rh-pagehead .rh-mono { margin-bottom: 14px; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--soft); }
.rh-404 .rh-lead { margin: 24px auto; }
.rh-prose { max-width: 820px; margin: 0 auto; }
.rh-prose h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3vw, 44px); margin: 1.6em 0 .6em; }
.rh-prose h3 { font-family: var(--serif); font-weight: 300; font-size: 26px; margin: 1.4em 0 .5em; }
.rh-prose__cover { margin-bottom: 40px; }
.rh-fullwidth > * { max-width: none; }
.rh-revlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.rh-revcard { background: var(--panel); padding: clamp(28px, 3vw, 48px); display: flex; flex-direction: column; gap: 18px; }
.rh-revcard blockquote { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.35; color: var(--head); }
.rh-revcard figcaption { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; font-size: 14px; }
.rh-revcard .rh-stars { margin: 0; }

/* ==========================================================================
   19. Galería individual (entrada)
   ========================================================================== */
.rh-cover__content .rh-mono { font-size: 13px; letter-spacing: .3em; text-transform: uppercase; }
.rh-cover__title { font-size: clamp(44px, 6.4vw, 100px); margin: 14px 0 0; line-height: 1.05; }
.rh-cover__sub { max-width: 620px; margin: 22px auto 0; font-size: 18px; }
.rh-cover--locked .rh-cover__img img { filter: blur(18px) brightness(.55); transform: scale(1.15); }
.rh-lock { margin: 34px auto 0; max-width: 520px; text-align: left; }
.rh-lock__text { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; color: #eee; }
.rh-lock__text .rh-ico { flex: 0 0 auto; margin-top: 4px; }
.rh-lock__form { margin-top: 20px; }
.rh-lock__form .rh-label { color: rgba(255,255,255,.8); }
.rh-lock__form .rh-input { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.45); }
.rh-lock__form .rh-input::placeholder { color: rgba(255,255,255,.6); }
.rh-lock__field { display: flex; gap: 10px; margin-top: 8px; }
.rh-lock__field .rh-input { flex: 1; }
.rh-lock__error { color: #ffb3a3; margin: 12px 0 0; font-size: 14px; }
.rh-lock__help { margin-top: 16px; color: #ddd; }

.rh-galbar { position: sticky; top: 84px; z-index: 20; background: rgba(255,255,255,.95); border-bottom: 1px solid var(--line); }
.rh-header.is-hidden ~ .rh-main .rh-galbar { top: 0; }
.rh-galbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; padding-bottom: 12px; }
.rh-galbar__inner .rh-mono { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
.rh-galbar__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.rh-gallery .wp-block-gallery, .rh-gallery .gallery { display: block !important; columns: 3 300px; column-gap: 8px; margin: 0 !important; }
.rh-gallery .wp-block-gallery > figure, .rh-gallery .wp-block-gallery .wp-block-image, .rh-gallery .gallery-item { width: 100% !important; margin: 0 0 8px !important; break-inside: avoid; display: block !important; max-width: none !important; }
.rh-gallery .wp-block-gallery img, .rh-gallery .gallery img { width: 100% !important; height: auto !important; }
.rh-gallery .gallery br { display: none; }
.rh-ph { position: relative; overflow: hidden; cursor: zoom-in; }
.rh-ph img { transition: transform 1.2s var(--ease); }
.rh-ph:hover img { transform: scale(1.03); }
.rh-ph.is-hidden { display: none !important; }
.rh-heart { position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 0; cursor: pointer; background: rgba(255,255,255,.92); color: var(--ink); opacity: 0; transform: scale(.8); transition: opacity .3s, transform .4s var(--ease), background .3s, color .3s; }
.rh-ph:hover .rh-heart, .rh-heart:focus-visible, .rh-heart[aria-pressed="true"] { opacity: 1; transform: none; }
.rh-heart[aria-pressed="true"] { background: var(--ink); color: #fff; }
.rh-heart[aria-pressed="true"] svg, .rh-lightbox [data-lb-fav][aria-pressed="true"] svg { fill: currentColor; }
@media (hover: none) { .rh-heart { opacity: 1; transform: none; } }

.rh-lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(12,12,12,.97); color: #fff; display: grid; grid-template-columns: 80px minmax(0, 1fr) 80px; grid-template-rows: 72px minmax(0, 1fr) 80px; align-items: center; }
.rh-lightbox[hidden] { display: none; }
.rh-lightbox__fig { grid-column: 2; grid-row: 2; height: 100%; display: grid; place-items: center; }
.rh-lightbox__fig img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; animation: rhIntro .8s var(--ease) both; }
.rh-lightbox__close { grid-column: 3; grid-row: 1; justify-self: center; }
.rh-lightbox__prev { grid-column: 1; grid-row: 2; justify-self: center; }
.rh-lightbox__next { grid-column: 3; grid-row: 2; justify-self: center; }
.rh-lightbox .rh-round { color: #fff; }
.rh-lightbox__bar { grid-column: 1 / -1; grid-row: 3; display: flex; justify-content: space-between; align-items: center; padding: 0 24px; gap: 12px; }
.rh-lightbox__bar .rh-mono { font-size: 13px; letter-spacing: 2px; }
.rh-lightbox__bar > div { display: flex; gap: 10px; }
.rh-lightbox .rh-pill--solid { background: #fff; color: var(--ink); border-color: #fff; }
.rh-lightbox .rh-pill--ghost:hover, .rh-lightbox .rh-pill--ghost[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; }

.rh-postnav { display: flex; justify-content: space-between; gap: 24px; padding-top: 48px; padding-bottom: 48px; border-top: 1px solid var(--line); }
.rh-postnav a { text-decoration: none; display: grid; gap: 4px; font-family: var(--serif); font-weight: 300; font-size: clamp(22px, 2vw, 30px); color: var(--head); }
.rh-postnav a .rh-mono { font-family: var(--sans); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--soft); }
.rh-postnav .is-next { text-align: right; }

.nav-links { display: inline-flex; gap: 8px; }
.nav-links .page-numbers { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; text-decoration: none; border: 1px solid var(--line); }
.nav-links .current { background: var(--text); color: #fff; }

/* ==========================================================================
   20. Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.rh-nav { display: none; }
	.rh-burger { display: inline-block; }
	.rh-header__inner { grid-template-columns: 48px auto 48px; justify-content: space-between; }
	.rh-header__inner .rh-logo { grid-column: 2; }
	.rh-header__inner .rh-burger { grid-column: 3; }
	.rh-split { grid-template-columns: minmax(0, 1fr); padding-top: clamp(60px, 9vw, 100px); }
	.rh-split__img, .rh-split--rev .rh-split__img { grid-column: 1; grid-row: 1; }
	.rh-split__img img { height: auto; aspect-ratio: 4 / 3; }
	.rh-split__panel, .rh-split--rev .rh-split__panel { grid-column: 1; grid-row: 2; margin: -60px var(--gutter) 0; }
	.rh-trio { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.rh-qsplit { grid-template-columns: minmax(0, 1fr); }
	.rh-qsplit__img, .rh-qsplit--rev .rh-qsplit__img { order: 0; min-height: 0; }
	.rh-qsplit__img img { position: static; aspect-ratio: 4 / 3; height: auto; }
	.rh-trio__panel { grid-column: 1 / -1; grid-row: 1; margin: 0; }
	.rh-clients__grid { grid-template-columns: minmax(0, 1fr); }
	.rh-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	.rh-more__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
	.rh-more__item:nth-child(3) { display: none; }
	.rh-more__img { margin-bottom: 12px; }
	.rh-more__title { font-size: 19px; }
	.rh-more__link { display: none; }
	.rh-more__cat { font-size: 10px; letter-spacing: 2px; }
	:root { --hh: 80px; }
	.rh-logo__img { height: 56px; }
	.rh-header.is-scrolled .rh-logo__img { height: 48px; }
	.rh-header.is-scrolled .rh-header__inner { height: 70px; }
	.rh-hero__fixed { letter-spacing: .08em; padding-left: .08em; }
	.rh-hero__eyebrow { letter-spacing: .3em; font-size: 11px; }
	.rh-band__img { clip-path: ellipse(260% 100% at 50% 100%); }
	.rh-band__img img { height: 56vh; }
	.rh-trio { grid-template-columns: minmax(0, 1fr); }
	.rh-grid.rh-grid--masonry { columns: 2 140px; column-gap: 6px; }
	.rh-grid--masonry > .rh-card { margin-bottom: 6px; }
	.rh-stage__word { font-size: 15vw; letter-spacing: -.01em; }
	.rh-stage__content { margin-top: -40vh; }
	.rh-steps, .rh-steps-mini, .rh-revlist, .rh-form { grid-template-columns: minmax(0, 1fr); }
	.rh-award { transform: scale(.9); }
	.rh-lightbox { grid-template-columns: 52px minmax(0, 1fr) 52px; }
	.rh-lightbox .rh-round { width: 44px; height: 44px; }
	.rh-lightbox__bar .rh-pill span { display: none; }
	.rh-lock__field { flex-direction: column; }
	.rh-lock__field .rh-input { flex: none; }
	.rh-btn { font-size: 12px; letter-spacing: 1.6px; padding: 0 22px; white-space: nowrap; }
	.rh-split__panel .rh-btn, .rh-form__actions .rh-btn, .rh-access .rh-btn { width: 100%; }
	.rh-split__panel, .rh-split--rev .rh-split__panel { padding: 30px 24px 34px; margin: -48px 14px 0; }
	.rh-qsplit__panel { padding: 40px 24px 44px; }
	.rh-reviews-widget { max-height: none; overflow: visible; }
	.rh-trio { padding-left: 14px; padding-right: 14px; }
	.rh-hero__content { padding-bottom: 96px; }
	.rh-footer__menu a, .rh-footer__contact a { display: inline-block; padding: 10px 4px; }
	.rh-galbar__actions { width: 100%; }
	.rh-gallery .jp-relatedposts-items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.rh-gallery .jp-relatedposts-post-title { font-size: 18px !important; }
	.rh-gallery .rh-private-box form { flex-direction: column; }
	.rh-gallery .rh-private-box input[type="password"] { flex: none; width: 100% !important; }
	.rh-cot-steps { flex-direction: column; align-items: flex-start; max-width: 320px; margin-left: auto; margin-right: auto; text-align: left; }
	.rh-galbar__actions .rh-pill { flex: 1; justify-content: center; font-size: 11px; letter-spacing: 1px; padding: 0 10px; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.js [data-reveal] { opacity: 1; transform: none; filter: none; }
	.rh-stage__word { opacity: 1; transform: none; filter: none; }
}

/* WordPress */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, .wp-element-caption { font-size: 13px; color: var(--soft); margin-top: 8px; }
