/*
Theme Name: Un Lugar Bonito
Theme URI: https://unlugarbonito.com
Author: Buronade, S.L.
Description: Tema a medida para Un Lugar Bonito (diseño 2026): Inicio con vídeo, Distrito Arte, Espacios (Espacio I y II), Acerca de, Blog y Contacto. Paleta beige rosado #ECE4DA y marrón #574C3F, tipografías Marcellus y PT Serif.
Version: 2.4.0
Requires at least: 6.0
Tested up to: 6.8
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: unlugarbonito
*/

:root {
	--ulb-bg: #ECE4DA;          /* beige rosado (fondo) */
	--ulb-text: #574C3F;        /* marrón oscuro (textos) */
	--ulb-dark: #36302A;        /* marrón más oscuro: botones */
	--ulb-line: rgba(87, 76, 63, .45);
	--ulb-field: rgba(255, 255, 255, .35);
	--ulb-display: 'Marcellus', 'Times New Roman', serif;
	--ulb-body: 'PT Serif', Georgia, serif;
	--ulb-gutter: clamp(16px, 4vw, 70px);
	--ulb-max: 1600px;
	--ulb-header-h: 116px;
	--ulb-fs-h1: clamp(42px, 4.6vw, 78px);
	--ulb-fs-h2: clamp(32px, 3.1vw, 53px);
	--ulb-fs-h3: clamp(26px, 2.4vw, 41px);
	--ulb-fs-h4: clamp(20px, 1.65vw, 28px);
	--ulb-fs-lead: clamp(18px, 1.4vw, 24px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--ulb-header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: var(--ulb-bg);
	color: var(--ulb-text);
	font-family: var(--ulb-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0; }
figure { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto;
	padding: 12px 18px; background: #fff; color: var(--ulb-text);
}
:focus-visible { outline: 2px solid var(--ulb-text); outline-offset: 3px; }

/* ---------- Utilidades ---------- */
.ulb-wrap { width: 100%; max-width: var(--ulb-max); margin: 0 auto; padding-left: var(--ulb-gutter); padding-right: var(--ulb-gutter); }
.ulb-center { text-align: center; }
.ulb-section { padding-top: clamp(56px, 7vw, 120px); padding-bottom: clamp(56px, 7vw, 120px); }
.ulb-h1, .ulb-h2, .ulb-h3, .ulb-h4 { font-family: var(--ulb-display); font-weight: 400; line-height: 1.2; letter-spacing: -.02em; }
.ulb-h1 { font-size: var(--ulb-fs-h1); line-height: 1.1; }
.ulb-h2 { font-size: var(--ulb-fs-h2); }
.ulb-h3 { font-size: var(--ulb-fs-h3); }
.ulb-h4 { font-size: var(--ulb-fs-h4); }
.ulb-lead { font-size: var(--ulb-fs-lead); line-height: 1.5; }
.ulb-lead > p + p { margin-top: .6em; }
.ulb-eyebrow { font-size: clamp(13px, 1vw, 16px); letter-spacing: .08em; text-transform: uppercase; }

.ulb-btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 34px;
	font: inherit; font-size: 15px; letter-spacing: .04em; text-decoration: none; border-radius: 999px; cursor: pointer;
	transition: background-color .2s, color .2s;
}
.ulb-btn--solid { background: var(--ulb-dark); color: var(--ulb-bg); border: 1px solid var(--ulb-dark); text-transform: uppercase; }
.ulb-btn--solid:hover { background: var(--ulb-text); }
.ulb-btn--outline { background: transparent; color: var(--ulb-text); border: 1px solid var(--ulb-text); }
.ulb-btn--outline:hover { background: var(--ulb-text); color: var(--ulb-bg); text-decoration: none; }

/* Fondo marmolado (sección Espacios) */
.ulb-marble { position: relative; isolation: isolate; background: var(--ulb-bg) url('assets/images/marmol.jpg') center / cover no-repeat; }
.ulb-marble--soft::before, .ulb-marble--light::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ulb-bg); }
.ulb-marble--soft::before { opacity: .4; }
.ulb-marble--light::before { opacity: .15; }

/* ---------- Cabecera ---------- */
.ulb-header { position: sticky; top: 0; z-index: 50; background: rgba(236, 228, 218, .92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.admin-bar .ulb-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ulb-header { top: 0; } }
.ulb-header__inner { min-height: var(--ulb-header-h); display: flex; align-items: center; gap: clamp(24px, 4vw, 80px); padding-top: 18px; padding-bottom: 6px; }
@media (min-width: 901px) {
	.ulb-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; }
	.ulb-brand { justify-self: start; }
	.ulb-nav { justify-self: center; }
	.ulb-header__tools { justify-self: end; }
}
.ulb-brand { font-family: var(--ulb-display); font-size: clamp(20px, 1.6vw, 26px); text-transform: uppercase; text-decoration: none; letter-spacing: -.01em; white-space: nowrap; }
.ulb-brand { display: inline-flex; align-items: center; gap: 14px; }
.ulb-brand__logo { height: clamp(44px, 4.4vw, 64px); width: auto; }
.ulb-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(24px, 3.4vw, 60px); }
.ulb-nav a { text-decoration: none; font-size: 16px; }
.ulb-nav a:hover, .ulb-nav .current-menu-item > a, .ulb-nav .current-menu-parent > a, .ulb-nav .current-page-ancestor > a { text-decoration: underline; text-decoration-thickness: 1px; }
.ulb-social { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; }
.ulb-social a { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--ulb-text); border-radius: 5px; }
.ulb-social a:hover { background: var(--ulb-text); color: var(--ulb-bg); }
.ulb-header__tools { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.ulb-lang { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.ulb-lang a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 5px; }
.ulb-lang svg { display: block; width: 33px; height: 22px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(87, 76, 63, .35); transition: transform .2s ease; }
.ulb-lang a:hover svg, .ulb-lang a:focus-visible svg { transform: scale(1.08); }
.ulb-nav .ulb-social--nav { display: none; }
.ulb-burger { display: none; margin-left: auto; background: none; border: 0; padding: 8px; color: inherit; cursor: pointer; }
.ulb-burger .ulb-icon-close, .ulb-burger[aria-expanded="true"] .ulb-icon-open { display: none; }
.ulb-burger[aria-expanded="true"] .ulb-icon-close { display: block; }

@media (max-width: 900px) {
	:root { --ulb-header-h: 72px; }
	.ulb-header, body.ulb-overlay-header .ulb-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--ulb-bg); }
	.ulb-burger { display: block; margin-left: 4px; }
	.ulb-social--header { display: none; }
	.ulb-header__tools { gap: 0; }
	.ulb-nav { display: none; position: fixed; left: 0; right: 0; top: var(--ulb-header-h); bottom: 0; background: var(--ulb-bg); padding: 40px var(--ulb-gutter); overflow-y: auto; }
	.admin-bar .ulb-nav { top: calc(var(--ulb-header-h) + 46px); }
	.ulb-nav.is-open { display: block; }
	.ulb-nav ul { flex-direction: column; gap: 22px; }
	.ulb-nav a { font-family: var(--ulb-display); font-size: 34px; }
	.ulb-nav .ulb-social--nav { display: flex; flex-direction: row; gap: 14px; margin-top: 40px; }
}

/* ---------- Inicio ---------- */
.ulb-hero { padding: 0; }
.ulb-hero__media { position: relative; height: clamp(340px, calc(100vh - var(--ulb-header-h) - 190px), 900px); height: clamp(340px, calc(100svh - var(--ulb-header-h) - 190px), 900px); width: 100%; margin: 0; overflow: hidden; background: var(--ulb-bg); display: flex; align-items: center; justify-content: center; }
.ulb-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.ulb-hero__title { position: relative; font-family: var(--ulb-display); font-size: min(var(--ulb-fs-h1), 6.4vw); line-height: 1.06; letter-spacing: -.02em; white-space: nowrap; margin: 0; padding: 0 16px; text-align: center; color: var(--ulb-text); }
.ulb-hero__pause { position: absolute; right: 14px; bottom: 14px; z-index: 2; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 0; background: rgba(236, 228, 218, .75); color: var(--ulb-text); cursor: pointer; }
.ulb-hero__pause .ulb-i-play, .ulb-hero__pause[aria-pressed="true"] .ulb-i-pause { display: none; }
.ulb-hero__pause[aria-pressed="true"] .ulb-i-play { display: block; }

.ulb-welcome .ulb-eyebrow { margin-bottom: 6px; }
.ulb-welcome__name { text-transform: uppercase; }
.ulb-welcome__text { max-width: 18.5em; margin: 28px auto 0; line-height: 1.12; }
.ulb-welcome { padding-top: clamp(36px, 3.4vw, 56px); padding-bottom: clamp(80px, 9vw, 160px); }

/* ---------- Distrito Arte ---------- */
.ulb-intro h1 { max-width: 26em; margin: 0 auto; }
.ulb-intro .ulb-lead { max-width: 1190px; margin: 20px auto 0; }
.ulb-intro .ulb-lead p:first-child { max-width: none; margin: 0 auto 1.2em; text-align: center; }
@media (min-width: 901px) { .ulb-intro .ulb-lead p:first-child { white-space: nowrap; } }
.ulb-intro { padding-bottom: 40px; }
.ulb-section--gallery { padding-top: 20px; }

/* Galerías */
.ulb-gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(16px, 2.5vw, 44px); }
.ulb-gallery--3 { grid-template-columns: repeat(3, 1fr); }
.ulb-gallery--2 { grid-template-columns: repeat(2, 1fr); gap: clamp(16px, 2.2vw, 40px); }
.ulb-gallery li { position: relative; }
.ulb-gallery a { display: block; overflow: hidden; }
.ulb-pin { position: absolute; top: 12px; left: 12px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: #E60023; color: #fff; cursor: pointer; opacity: 0; transform: scale(.85); transition: opacity .2s ease, transform .2s ease, background .2s ease; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.ulb-gallery li:hover .ulb-pin, .ulb-pin:focus-visible { opacity: 1; transform: none; }
.ulb-pin:hover { background: #AD081B; }
.ulb-pin:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (hover: none) { .ulb-pin { display: none; } }
.ulb-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s ease; }
.ulb-gallery a:hover img { transform: scale(1.03); }
@media (max-width: 900px) { .ulb-gallery--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ulb-gallery--3, .ulb-gallery--2 { grid-template-columns: 1fr; } }

/* Lightbox */
.ulb-lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; background: rgba(236, 228, 218, .97); padding: 56px 72px; }
.ulb-lightbox[hidden] { display: none; }
.ulb-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ulb-lightbox button { position: absolute; background: none; border: 0; color: var(--ulb-text); width: 52px; height: 52px; display: grid; place-items: center; cursor: pointer; }
.ulb-lightbox [data-lb="close"] { top: 10px; right: 10px; }
.ulb-lightbox [data-lb="prev"] { left: 8px; top: 50%; transform: translateY(-50%); }
.ulb-lightbox [data-lb="next"] { right: 8px; top: 50%; transform: translateY(-50%); }
.ulb-lightbox__count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-size: 14px; }
@media (max-width: 600px) { .ulb-lightbox { padding: 56px 8px; } .ulb-lightbox [data-lb="prev"], .ulb-lightbox [data-lb="next"] { top: auto; bottom: 4px; transform: none; } }

/* ---------- Espacios (índice) ---------- */
.ulb-spaces { position: relative; min-height: calc(100vh - var(--ulb-header-h)); min-height: calc(100svh - var(--ulb-header-h)); display: flex; align-items: center; justify-content: center; overflow: hidden; margin-top: calc(var(--ulb-header-h) * -1); padding-top: var(--ulb-header-h); }
.ulb-spaces__bg { position: absolute; inset: 0; z-index: -1; background: center / cover no-repeat; opacity: 0; transition: opacity .5s ease; }
.ulb-spaces__bg.is-active { opacity: 1; }
.ulb-spaces__list { list-style: none; margin: 0; padding: 60px 0; display: flex; flex-direction: column; align-items: center; gap: clamp(40px, 6vw, 110px); }
.ulb-spaces__link { font-family: var(--ulb-display); font-size: clamp(48px, 4.6vw, 79px); line-height: 1; letter-spacing: -.02em; text-decoration: none; color: var(--ulb-dark); transition: opacity .3s; }
.ulb-spaces.has-active .ulb-spaces__link:not(.is-active) { opacity: .35; }
.ulb-spaces.has-active .ulb-spaces__link.is-active { color: #fff; text-shadow: 0 1px 24px rgba(0, 0, 0, .35); }
body.ulb-overlay-header .ulb-header { background: rgba(236, 228, 218, .35); }
.ulb-quote-band { padding-top: 80px; padding-bottom: 80px; }
.ulb-quote { margin: 0 auto; max-width: 52em; font-size: var(--ulb-fs-lead); line-height: 1.45; text-align: center; }

/* ---------- Ficha de espacio ---------- */
.ulb-space-intro__text { max-width: 1190px; margin: clamp(32px, 3.2vw, 56px) auto 0; font-family: var(--ulb-display); font-size: var(--ulb-fs-h4); line-height: 1.3; }
.ulb-space-intro__text p + p { margin-top: 1.1em; }
.ulb-space-intro { margin-top: calc(var(--ulb-header-h) * -1); padding-top: calc(var(--ulb-header-h) + clamp(64px, 7vw, 130px)); padding-bottom: clamp(72px, 8vw, 140px); }
.ulb-specs__head { display: flex; align-items: flex-end; gap: clamp(20px, 3vw, 60px); margin-bottom: 18px; }
.ulb-specs__rule { flex: 1; height: 1px; background: var(--ulb-text); margin-bottom: .45em; }
.ulb-specs__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(40px, 7vw, 120px); max-width: 1500px; }
.ulb-specs__claim { grid-column: 1; grid-row: 2; align-self: center; margin: 24px 0 0; white-space: nowrap; }
.ulb-map { grid-column: 2; grid-row: 2; }
.ulb-acc { border-top: 1px solid var(--ulb-line); }
.ulb-acc:last-of-type { border-bottom: 1px solid var(--ulb-line); }
.ulb-acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-family: var(--ulb-display); font-size: clamp(18px, 1.3vw, 22px); cursor: pointer; }
.ulb-acc summary::-webkit-details-marker { display: none; }
.ulb-acc summary::after { content: ''; width: 18px; height: 18px; flex-shrink: 0; background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat; transition: transform .25s; }
.ulb-acc[open] summary::after { transform: rotate(45deg); }
.ulb-acc ul { margin: 0; padding: 0 0 22px; list-style: none; }
.ulb-acc li + li { margin-top: 2px; }
.ulb-map { margin-top: 24px; min-height: 140px; padding: 22px; border: 1px solid var(--ulb-line); background: rgba(236, 228, 218, .55); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.ulb-map__note { font-size: 13px; }
.ulb-map.is-loaded { padding: 0; border: 0; background: none; }
.ulb-map iframe { width: 100%; height: 260px; border: 0; display: block; }
.ulb-next { padding-top: 40px; padding-bottom: 40px; }
.ulb-next .ulb-wrap { display: flex; justify-content: flex-end; }
.ulb-next a { display: inline-flex; align-items: center; gap: 14px; font-family: var(--ulb-display); font-size: clamp(22px, 1.65vw, 28px); text-decoration: none; }
@media (max-width: 760px) { .ulb-specs__grid { grid-template-columns: 1fr; } .ulb-map { grid-column: 1; grid-row: auto; } .ulb-specs__col + .ulb-specs__col .ulb-acc:first-of-type { border-top: 0; } .ulb-specs__claim { display: none; } }

/* ---------- Acerca de / Contacto (texto + imagen) ---------- */
.ulb-split { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 80px); align-items: center; }
.ulb-split__media img { width: 100%; }
.ulb-arch { overflow: hidden; border-radius: 50% 50% 0 0 / 28.8% 28.8% 0 0; aspect-ratio: 590 / 1024; }
.ulb-arch img { height: 100%; object-fit: cover; opacity: .82; }
.ulb-about h1 { max-width: 11em; margin: 0 auto; }
.ulb-about .ulb-lead { margin-top: 36px; font-size: clamp(16px, 1.1vw, 19px); }
.ulb-about__mission { margin: 56px auto 48px; max-width: 18em; font-size: clamp(24px, 1.9vw, 33px); }
.ulb-contact .ulb-split { align-items: start; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.ulb-contact .ulb-lead { margin-top: 10px; max-width: 30em; }
.ulb-contact__media img { aspect-ratio: 857 / 907; object-fit: cover; opacity: .82; }
.ulb-contact__claim { margin-top: 56px; }
@media (max-width: 900px) {
	.ulb-split, .ulb-contact .ulb-split { grid-template-columns: 1fr; }
	.ulb-arch { max-width: 420px; margin: 0 auto; width: 100%; }
}

/* Formulario */
.ulb-form { margin-top: 48px; max-width: 657px; font-size: 14px; }
.ulb-form > p, .ulb-form fieldset { margin: 0 0 18px; }
.ulb-form fieldset { border: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.ulb-form legend { padding: 0; margin-bottom: 6px; font-size: 15px; }
.ulb-form label { display: block; margin-bottom: 4px; font-size: 13px; }
.ulb-form label span { opacity: .7; font-size: 12px; }
.ulb-form input[type="text"], .ulb-form input[type="email"], .ulb-form textarea {
	width: 100%; font: inherit; font-size: 16px; color: var(--ulb-text); background: var(--ulb-field);
	border: 1px solid var(--ulb-text); border-radius: 0; padding: 8px 10px;
}
.ulb-form textarea { min-height: 96px; resize: vertical; }
.ulb-form input:focus, .ulb-form textarea:focus { outline: 2px solid var(--ulb-text); outline-offset: 0; }
.ulb-form__check { display: flex; gap: 10px; align-items: flex-start; }
.ulb-form__check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--ulb-dark); flex-shrink: 0; }
.ulb-form__check label { font-size: 14px; margin: 0; }
.ulb-form__legal { font-size: 12px; line-height: 1.5; opacity: .8; }
.ulb-form__hp { position: absolute !important; left: -9999px; }
@media (max-width: 480px) { .ulb-form fieldset { grid-template-columns: 1fr; } }
.ulb-notice { padding: 14px 18px; margin-bottom: 20px; font-size: 15px; }
.ulb-notice--ok { background: #E1E7D6; color: #2F4A22; }
.ulb-notice--error { background: #F3DCD5; color: #7A2414; }

/* ---------- Pie ---------- */
.ulb-footer { position: relative; isolation: isolate; overflow: hidden; }
.ulb-footer__bg { position: absolute; inset: 0; z-index: -2; background: center / cover no-repeat; }
.ulb-footer::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ulb-bg); opacity: .7; }
.ulb-footer__inner, .ulb-footer__bottom { max-width: none; padding-left: clamp(16px, 2.6vw, 44px); padding-right: clamp(16px, 2.6vw, 44px); }
.ulb-footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-top: 58px; padding-bottom: 40px; }
.ulb-footer__brand { text-align: center; width: max-content; max-width: 100%; }
.ulb-footer__name { font-family: var(--ulb-display); font-size: clamp(28px, 2.4vw, 41px); line-height: 1.15; text-transform: uppercase; }
.ulb-footer__place { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
.ulb-footer .ulb-social { justify-content: center; margin-top: 24px; gap: 10px; }
.ulb-footer .ulb-social a { width: 34px; height: 34px; }
.ulb-footer .ulb-social svg { width: 16px; height: 16px; }
.ulb-footer__email { margin-top: 24px; font-family: var(--ulb-display); font-size: clamp(20px, 1.65vw, 28px); }
.ulb-footer__email a { text-decoration: none; }
.ulb-footer__logo img { width: clamp(110px, 11.5vw, 200px); }
.ulb-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 18px; padding-bottom: 22px; font-size: 13px; border-top: 1px solid var(--ulb-line); }
.ulb-footer__bottom ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.ulb-footer__bottom a { text-decoration: none; }
.ulb-footer__bottom a:hover { text-decoration: underline; }
@media (max-width: 600px) {
	.ulb-footer__inner { flex-direction: column; }
	.ulb-footer__brand { width: 100%; }
}

/* Logos de financiación (bajo el pie) */
.ulb-funding { background: #fff; }
.ulb-funding .ulb-wrap { display: flex; justify-content: center; padding-top: 8px; padding-bottom: 8px; }
.ulb-funding img { display: block; width: 100%; max-width: 660px; height: auto; margin: 0 auto; }

/* ---------- Páginas interiores (aviso legal, privacidad…) ---------- */
.ulb-page { padding-top: 64px; padding-bottom: 120px; }
.ulb-page__title { margin: 0 0 32px; font-family: var(--ulb-display); font-weight: 400; font-size: var(--ulb-fs-h1); line-height: 1.1; letter-spacing: -.02em; }
.ulb-content { max-width: 760px; font-size: 17px; }
.ulb-content > * + * { margin-top: 1.1em; }
.ulb-content h2, .ulb-content h3 { font-family: var(--ulb-display); font-weight: 400; line-height: 1.2; }
.ulb-content .alignwide { max-width: var(--ulb-max); }
.ulb-content .alignfull { max-width: none; }

/* ---------- Aviso de cookies ---------- */
.ulb-cookies[hidden], .ulb-cookies [hidden] { display: none !important; }
.ulb-cookies {
	position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100;
	max-width: 1100px; margin: 0 auto; background: #F6F1EB; color: var(--ulb-text);
	border: 1px solid var(--ulb-line); box-shadow: 0 16px 40px rgba(54, 48, 42, .2);
	font-size: 15px; line-height: 1.55;
}
.ulb-cookies__inner { padding: 24px 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.ulb-cookies__main { flex: 1 1 420px; min-width: 0; }
.ulb-cookies__title { font-family: var(--ulb-display); font-size: 22px; margin-bottom: 4px; }
.ulb-cookies__main a { font-weight: 700; }
.ulb-cookies__prefs { flex: 1 1 100%; order: 2; }
.ulb-cookies__prefs fieldset { border: 0; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--ulb-line); display: flex; flex-direction: column; gap: 12px; }
.ulb-cookies__opt { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.ulb-cookies__opt input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--ulb-dark); flex-shrink: 0; }
.ulb-cookies__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; order: 3; }
.ulb-cookies__btn {
	font: inherit; font-size: 14px; letter-spacing: .04em; min-height: 44px; padding: 10px 22px;
	border-radius: 999px; border: 1px solid var(--ulb-dark); background: var(--ulb-dark); color: var(--ulb-bg); cursor: pointer;
}
.ulb-cookies__btn:hover { background: var(--ulb-text); border-color: var(--ulb-text); }
.ulb-cookies__btn--link { background: transparent; color: var(--ulb-text); border-color: transparent; text-decoration: underline; text-underline-offset: 4px; padding-left: 8px; padding-right: 8px; }
.ulb-cookies__btn--link:hover { background: transparent; border-color: transparent; color: var(--ulb-dark); }
@media (max-width: 600px) {
	.ulb-cookies { left: 8px; right: 8px; bottom: 8px; }
	.ulb-cookies__inner { padding: 20px; }
	.ulb-cookies__actions { width: 100%; }
	.ulb-cookies__actions .ulb-cookies__btn:not(.ulb-cookies__btn--link) { flex: 1 1 120px; }
	.ulb-cookies__btn--link { flex: 1 1 100%; }
}

/* Blog */
.ulb-blog__head { margin-bottom: clamp(40px, 5vw, 80px); }
.ulb-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 4vw, 64px) clamp(20px, 2.5vw, 44px); }
@media (max-width: 900px) { .ulb-posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ulb-posts { grid-template-columns: 1fr; } }
.ulb-card__link { display: block; color: inherit; text-decoration: none; }
.ulb-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: rgba(87, 76, 63, .08); }
.ulb-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ulb-card__media .ulb-card__placeholder { position: absolute; inset: 0; margin: auto; width: auto; max-width: none; height: 62%; object-fit: contain; opacity: .35; }
.ulb-card__link:hover .ulb-card__media img:not(.ulb-card__placeholder) { transform: scale(1.03); }
.ulb-card__date { margin: 18px 0 6px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.ulb-card__title { margin: 0 0 10px; font-family: var(--ulb-display); font-weight: 400; font-size: var(--ulb-fs-h4); line-height: 1.2; }
.ulb-card__excerpt p { margin: 0; }
.ulb-card__more { display: inline-block; margin-top: 12px; font-size: 15px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.ulb-card__link:hover .ulb-card__title { text-decoration: underline; text-decoration-thickness: 1px; }
.ulb-blog .navigation.pagination { margin-top: clamp(48px, 5vw, 80px); }
.ulb-blog .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ulb-blog .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--ulb-line); border-radius: 5px; text-decoration: none; }
.ulb-blog .page-numbers.current, .ulb-blog a.page-numbers:hover { background: var(--ulb-text); color: var(--ulb-bg); border-color: var(--ulb-text); }
.ulb-article__head { margin-bottom: clamp(32px, 4vw, 56px); }
.ulb-article__head .ulb-h1 { max-width: 18em; margin-left: auto; margin-right: auto; }
.ulb-article__head .ulb-eyebrow a { color: inherit; }
.ulb-article__media { margin: 0 auto clamp(40px, 5vw, 72px); max-width: 1200px; }
.ulb-article__media img { width: 100%; height: auto; max-height: 80vh; object-fit: cover; }
.ulb-article__content { margin: 0 auto; font-size: 18px; line-height: 1.7; }
.ulb-article__content img { max-width: 100%; height: auto; }
.ulb-article__content blockquote { margin-left: 0; padding-left: 24px; border-left: 1px solid var(--ulb-text); font-style: italic; }
.ulb-article__nav { display: flex; justify-content: space-between; gap: 24px; max-width: 760px; margin: clamp(48px, 5vw, 80px) auto 40px; padding-top: 28px; border-top: 1px solid var(--ulb-line); }
.ulb-article__nav a { display: flex; flex-direction: column; gap: 4px; max-width: 48%; text-decoration: none; font-family: var(--ulb-display); font-size: 20px; }
.ulb-article__nav a span { font-family: var(--ulb-body); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.ulb-article__next { margin-left: auto; text-align: right; }
.ulb-nav .current_page_parent > a { text-decoration: underline; text-decoration-thickness: 1px; }
