:root {
    --ue-ink: var(--wp--preset--color--charcoal);
    --ue-paper: var(--wp--preset--color--ivory);
    --ue-sand: var(--wp--preset--color--sand);
    --ue-line: var(--wp--preset--color--line);
    --ue-muted: var(--wp--preset--color--muted);
    --ue-white: var(--wp--preset--color--white);
    --ue-accent: var(--wp--preset--color--terracotta);
    --ue-serif: var(--wp--preset--font-family--editorial);
    --ue-gutter: var(--wp--custom--gutter);
    --ue-radius: var(--wp--custom--radius--card);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block: 0; }
img { max-width: 100%; height: auto; vertical-align: middle; }
h1, h2, h3 { margin: 0 0 .45em; overflow-wrap: anywhere; }
p { margin: 0 0 1em; }
a { text-underline-offset: .19em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
[hidden] { display: none !important; }
.ue-shell { width: min(100%, 1440px); margin-inline: auto; padding-inline: var(--ue-gutter); }
.ue-main { min-height: 52vh; padding-block: 16px 64px; }
.ue-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ue-accent-antojos-y-sabores { color: var(--wp--preset--color--terracotta); }
.ue-accent-lo-bueno-de-vivir { color: var(--wp--preset--color--olive); }
.ue-accent-aqui-entre-nosotros { color: var(--wp--preset--color--blue); }
.ue-label, .ue-slogan, .ue-byline, .ue-cover figcaption, .ue-crumbs { font-size: var(--wp--preset--font-size--label); }
.ue-label { text-transform: uppercase; font-weight: 700; letter-spacing: .035em; margin-block: 0 8px; }
.ue-slogan, .ue-byline, .ue-cover figcaption, .ue-crumbs { color: var(--ue-muted); }

.ue-header { border-bottom: 1px solid var(--ue-line); position: relative; z-index: 2; }
.ue-header-grid { display: grid; grid-template-columns: minmax(170px, 220px) auto 1fr auto auto; gap: 16px; align-items: center; padding-block: 14px; }
.ue-identity { display: grid; align-content: start; min-width: 0; gap: 4px; }
.ue-brand { color: inherit; font: 700 24px/1.15 var(--ue-serif); text-decoration: none; }
.ue-brand img { display: block; width: 100%; max-width: 230px; height: auto; }
.ue-header .ue-identity { order: 1; }
.ue-city { order: 2; }
.ue-section-nav { order: 3; margin-inline: auto; }
.ue-quick-search { order: 4; }
.ue-menu { order: 5; }
.ue-links, .ue-crumbs, .ue-cards { list-style: none; padding: 0; margin: 0; }
.ue-links, .ue-crumbs { display: flex; gap: 4px 20px; flex-wrap: wrap; }
.ue-links a, .ue-panel a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; }
.ue-section-nav { font-size: 14px; font-weight: 650; }
.ue-section-nav a:not([aria-current]) { text-decoration: none; }
.ue-section-nav a[href*="/antojos-y-sabores/"] { color: var(--wp--preset--color--terracotta); }
.ue-section-nav a[href*="/lo-bueno-de-vivir/"] { color: var(--wp--preset--color--olive); }
.ue-section-nav a[href*="/aqui-entre-nosotros/"] { color: var(--wp--preset--color--blue); }
.ue-disclosure { position: relative; font-size: 14px; }
.ue-disclosure summary { cursor: pointer; padding: 10px 12px; min-height: 44px; font-weight: 650; }
.ue-city summary { background: var(--ue-sand); border-radius: var(--ue-radius); }
.ue-panel { position: absolute; right: 0; top: 100%; padding: 14px; min-width: 225px; width: max-content; max-width: min(85vw, 360px); background: var(--ue-paper); border: 1px solid var(--ue-line); border-radius: var(--ue-radius); box-shadow: 0 6px 20px #2020201c; }
.ue-panel .ue-links { display: grid; gap: 0; }
.ue-panel nav + nav { border-top: 1px solid var(--ue-line); margin-top: 8px; }
.ue-city .ue-panel { left: 0; right: auto; display: grid; }
.ue-footer { background: var(--ue-ink); color: var(--ue-white); }
.ue-footer-grid { display: grid; grid-template-columns: minmax(180px, 1.2fr) 1fr 1fr 1fr; gap: 24px; padding-block: 40px; }
.ue-footer .ue-slogan, .ue-footer a { color: var(--ue-white); }
.ue-footer .ue-links { display: grid; gap: 0; font-size: 14px; }
.ue-footer .ue-brand { display: block; width: min(100%, 245px); }

.ue-hero { position: relative; isolation: isolate; background: var(--ue-sand); border-radius: var(--ue-radius); overflow: hidden; display: grid; align-items: center; min-height: 420px; }
.ue-hero-image { position: absolute; inset: 0 0 0 27%; z-index: -2; }
.ue-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.ue-hero.ue-has-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--ue-paper) 27%, #faf8f3fa 43%, #faf8f3a8 55%, #faf8f324 68%, transparent 82%); }
.ue-hero-copy { width: min(57%, 680px); padding: clamp(20px, 3.3vw, 56px); }
.ue-hero-copy h2 { font-size: var(--wp--preset--font-size--hero); }
.ue-hero-copy > p:not(.ue-label) { max-width: 44ch; }
.ue-hub-hero { min-height: 275px; }
.ue-hub-hero .ue-hero-copy > :last-child { margin-bottom: 0; }
.ue-button, .ue-search-form button, .ue-hero-controls button { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid transparent; border-radius: var(--ue-radius); font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; }
.ue-button, .ue-search-form button { background: var(--ue-accent); color: var(--ue-white); text-decoration: none; }
.ue-button:focus-visible, .ue-search-form button:focus-visible { outline-color: var(--ue-ink); }
.ue-hero-controls, .ue-pagination { display: flex; align-items: center; flex-wrap: wrap; margin-block: 16px; gap: 16px; }
.ue-module { margin-block: 32px 48px; }
.ue-module-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 12px; }
.ue-module-heading > a { font-size: 14px; }
.ue-cards { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ue-cards.ue-count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ue-cards.ue-count-1 { grid-template-columns: minmax(0, 1fr); }
.ue-cards .ue-card:not(:has(.ue-card-image)) { display: block; }
.ue-card { border-bottom: 1px solid var(--ue-line); }
.ue-card-image { overflow: hidden; border-radius: var(--ue-radius); aspect-ratio: 16/9; background: var(--ue-sand); }
.ue-card-image img { width: 100%; height: 100%; object-fit: cover; }
.ue-card-text { padding-block: 12px; }
.ue-card h3 { font-size: var(--wp--preset--font-size--card); }
.ue-card h3 a { color: var(--ue-ink); text-decoration: none; }
.ue-card h3 a:hover { text-decoration: underline; }
.ue-card-text > p:not(.ue-label) { font-size: 15px; color: var(--ue-muted); }
.ue-count-1 .ue-card { display: grid; gap: 24px; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; }
.ue-cross .ue-links a { background: var(--ue-sand); padding: 10px 16px; border-radius: var(--ue-radius); }

.ue-crumbs { margin-block: 6px 16px; gap: 2px 8px; }
.ue-crumbs li:not(:first-child)::before { content: "›"; margin-right: 8px; }
.ue-deck { color: var(--ue-muted); max-width: 58ch; }
.ue-article-heading { max-width: 960px; padding-block: 4px 14px; }
.ue-byline { display: flex; flex-wrap: wrap; column-gap: 16px; }
.ue-cover { margin: 0; }
.ue-cover img { width: 100%; aspect-ratio: 16/9; max-height: 660px; object-fit: cover; border-radius: var(--ue-radius); }
.ue-cover figcaption { padding-block: 8px; }
.ue-article-layout { display: grid; grid-template-columns: minmax(0, 720px); justify-content: center; gap: 36px; margin-block: 28px; }
.ue-article-layout.ue-with-panel { grid-template-columns: minmax(0, 720px) minmax(235px, 330px); }
@media (min-width: 1024px) {
    .ue-with-panel .ue-practical { grid-column: 2; grid-row: 1 / span 2; }
    .ue-with-panel .ue-faq { grid-column: 1; }
}
.ue-prose { min-width: 0; overflow-wrap: anywhere; }
.ue-prose h2, .ue-prose h3 { margin-top: 1.15em; }
.ue-prose h2 { font-size: clamp(23px, 2vw, 32px); }
.ue-practical { align-self: start; background: var(--ue-sand); border-radius: var(--ue-radius); padding: 20px; }
.ue-practical h2 { font-size: 25px; }
.ue-practical > :last-child { margin-bottom: 0; }
.ue-share {
    max-width: 880px;
    margin: 48px auto 0;
    padding-block: 28px;
    border-top: 1px solid var(--ue-line);
    text-align: center;
}
.ue-share h2 { font-style: italic; margin-bottom: 22px; }
.ue-share-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 64px;
    padding: 12px 16px;
    border-radius: 16px;
    background: #10775c;
    color: #fff;
    font-size: clamp(16px, 2vw, 22px);
    font-weight: 700;
    text-decoration: none;
}
.ue-share-whatsapp:hover { background: #0c664e; }
.ue-share svg { width: 26px; height: 26px; flex: none; }
.ue-share-options {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px 8px;
    max-width: 690px;
    margin: 24px auto 0;
    padding: 0;
    list-style: none;
}
.ue-share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ue-ink);
    font: inherit;
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
    text-decoration: none;
}
.ue-share-option:hover { text-decoration: underline; }
.ue-share-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    color: #fff;
}
.ue-share-facebook { background: #0866ff; }
.ue-share-x { background: #000; }
.ue-share-linkedin { background: #0a66c2; }
.ue-share-telegram { background: #146f96; }
.ue-share-email { background: #593962; }
.ue-share-copy { background: #465f60; }
.ue-share-fallback { margin: 16px auto 0; max-width: 520px; }
.ue-share-fallback input { display: block; width: 100%; min-height: 44px; font: inherit; }
.ue-share [role="status"] { display: block; margin-top: 8px; font-size: 14px; }
.ue-share [role="status"]:empty { display: none; }
.ue-share-whatsapp:focus-visible { outline-color: var(--ue-ink); }
.ue-hero-controls button { background: var(--ue-sand); color: var(--ue-ink); border-color: var(--ue-line); }
@media (max-width: 560px) {
    .ue-share-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.ue-institution { max-width: 720px; margin: 28px auto; }
.ue-empty { padding: clamp(24px, 6vw, 80px) 0; }
.ue-search-form, .mi-contact { display: grid; max-width: 720px; gap: 8px; margin-bottom: 24px; }
.ue-search-form :is(input, select), .mi-contact :is(input, select, textarea, button) { min-height: 44px; width: 100%; padding: 8px; color: var(--ue-ink); background: var(--ue-white); border: 1px solid var(--ue-muted); border-radius: var(--ue-radius); font: inherit; }
.ue-search-form button { justify-self: start; }
.ue-quick-search .ue-panel {
    width: min(24rem, calc(100vw - var(--ue-gutter) - var(--ue-gutter)));
    min-width: 0;
    max-width: none;
}
.ue-quick-search .ue-search-form {
    grid-template-columns: minmax(0, 1fr) auto;
    margin-bottom: 0;
}
.ue-quick-search .ue-search-form label { grid-column: 1 / -1; }
.ue-quick-search .ue-search-form input { min-width: 0; }

.ue-cards.ue-search-cards { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.ue-search-cards .ue-card { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: center; }

@media (min-width: 1280px) {
    .ue-hub-cards:not(.ue-count-1, .ue-count-2, .ue-count-3) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
    .ue-header-grid { grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; }
    .ue-menu { order: 0; grid-area: 1 / 1; }
    .ue-quick-search { grid-area: 1 / 3; }
    .ue-header .ue-identity { grid-area: 1 / 2; }
    .ue-menu .ue-panel { left: 0; right: auto; }
    .ue-header .ue-identity { justify-items: center; text-align: center; }
    .ue-header .ue-brand img { width: min(100%, 245px); }
    .ue-city { order: 4; grid-area: 2 / 1 / 3 / -1; }
    .ue-section-nav { order: 5; grid-area: 3 / 1 / 4 / -1; }
    .ue-section-nav .ue-links { justify-content: center; column-gap: 16px; }
    .ue-article-layout.ue-with-panel { grid-template-columns: minmax(0, 720px); }
}
@media (max-width: 767px) {
    .ue-main { padding-block: 12px 36px; }
    .ue-header-grid { padding-block: 8px 0; }
    .ue-header .ue-slogan { font-size: 11px; }
    .ue-disclosure summary { padding-inline: 6px; }
    .ue-city summary { padding-inline: 10px; }
    .ue-section-nav { font-size: 12px; }
    .ue-section-nav .ue-links { column-gap: 10px; }
    .ue-hero { display: block; min-height: auto; background: var(--ue-paper); }
    .ue-hero-image { position: relative; inset: auto; aspect-ratio: 16/9; }
    .ue-hero.ue-has-photo::before { display: none; }
    .ue-hero-copy { width: auto; }
    .ue-cards, .ue-cards.ue-count-2 { grid-template-columns: minmax(0, 1fr); }
    .ue-count-1 .ue-card { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .ue-card-image { max-height: 310px; }
    .ue-single { display: flex; flex-direction: column; }
    .ue-single-image { order: -1; margin-bottom: 12px; }
    .ue-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
}
