/*
Theme Name: Madrid Private
Description: Dos webs editoriales de visitas privadas para Carmen Pascual. Sin tienda, rastreadores ni dependencias externas.
Version: 3.2.2
Author: Carmen Pascual
Text Domain: madrid-private
Requires at least: 6.6
Requires PHP: 8.0
*/

:root {
  --mp-paper: #f7f6f1;
  --mp-white: #fffefa;
  --mp-ink: #243b33;
  --mp-muted: #58665d;
  --mp-accent: #274d3f;
  --mp-wash: #e9ece3;
  --mp-border: #d6dbd1;
  --mp-serif: Georgia, 'Times New Roman', serif;
  --mp-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mp-display: var(--mp-serif);
  --mp-wrap: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--mp-paper); color: var(--mp-ink); font: 400 16px/1.65 var(--mp-sans); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
body.mp-spanish { --mp-paper: #f9f9f6; --mp-white: #fff; --mp-ink: #203846; --mp-muted: #58656d; --mp-accent: #9c452f; --mp-wash: #e9eff0; --mp-border: #d7dee0; --mp-display: var(--mp-sans); }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, summary { -webkit-tap-highlight-color: transparent; }
button, summary { cursor: pointer; }
a { color: inherit; text-underline-offset: .22em; }
button:disabled { cursor: not-allowed; opacity: .55; }
img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--mp-display); font-weight: 400; line-height: 1.14; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5vw, 4.75rem); }
h2 { font-size: clamp(2rem, 3.2vw, 3.2rem); }
h3 { font-size: 1.6rem; }
.mp-spanish h1, .mp-spanish h2, .mp-spanish h3 { font-weight: 600; letter-spacing: -.04em; }
p { margin-bottom: 1.3em; }
ul, ol { padding-left: 1.3rem; }
li + li { margin-top: .5em; }
::selection { background: var(--mp-ink); color: var(--mp-paper); }
:focus-visible { outline: 3px solid #9c661b; outline-offset: 5px; }
[hidden] { display: none !important; }
.mp-wrap { width: min(var(--mp-wrap), calc(100% - 96px)); margin-inline: auto; }
.mp-section { padding-block: 92px; }
.mp-kicker { margin: 0 0 19px; font: 600 13px/1.5 var(--mp-sans); text-transform: uppercase; letter-spacing: .13em; color: var(--mp-muted); }
.mp-lead { max-width: 720px; font-size: 20px; line-height: 1.65; color: var(--mp-muted); }
.mp-small { font-size: 14px; line-height: 1.6; color: var(--mp-muted); }
.mp-button { min-height: 50px; padding: 13px 22px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; background: var(--mp-accent); color: #fff; border: 1px solid var(--mp-accent); border-radius: 2px; text-decoration: none; font: 600 15px/1.45 var(--mp-sans); transition: background .16s ease, color .16s ease; }
.mp-button:hover { background: var(--mp-ink); border-color: var(--mp-ink); color: #fff; }
.mp-button span[aria-hidden] { font-size: 19px; font-weight: 400; }
.mp-button-small { min-height: 43px; padding: 10px 15px; font-size: 14px; }
.mp-button-outline { background: transparent; color: var(--mp-ink); border-color: var(--mp-border); }
.mp-button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.mp-text-link { display: inline-flex; align-items: center; gap: 18px; font-size: 15px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--mp-ink); padding-block: 5px; }
.mp-text-link:hover { color: var(--mp-accent); }
.mp-text-button { border: 0; border-bottom: 1px solid currentColor; padding: 7px 0; margin: 4px 8px; background: none; color: var(--mp-ink); font-size: 14px; }
.mp-skip { position: fixed; z-index: 200; left: 20px; top: -100px; background: var(--mp-ink); color: #fff; padding: 12px 20px; }
.mp-skip:focus { top: 16px; }
.mp-draft-banner { padding: 5px 20px; background: #e4e7e0; text-align: center; color: #435248; font-size: 12px; line-height: 1.5; letter-spacing: .04em; }
.mp-spanish .mp-draft-banner { background: #e2e9eb; color: #374f5b; }
.mp-header { position: relative; z-index: 20; border-bottom: 1px solid var(--mp-border); background: var(--mp-paper); }
.mp-header-inner { max-width: 1400px; min-height: 99px; margin-inline: auto; padding: 18px 48px; display: flex; align-items: center; gap: 28px; }
.mp-brand { display: inline-flex; align-items: center; flex-shrink: 0; gap: 13px; text-decoration: none; font: 500 18px/1.2 var(--mp-serif); letter-spacing: -.025em; }
.mp-brand small { display: block; margin-top: 6px; font: 400 11px/1.4 var(--mp-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--mp-muted); }
.mp-mark { font: italic 47px/.9 var(--mp-serif); letter-spacing: -.095em; padding-right: 5px; padding-bottom: 7px; }
.mp-spanish .mp-brand { font: 650 18px/1.2 var(--mp-sans); letter-spacing: -.04em; }
.mp-spanish .mp-mark { color: var(--mp-accent); }
.mp-nav { display: flex; align-items: center; gap: 24px; }
.mp-nav > a { font-size: 14px; white-space: nowrap; text-decoration: none; }
.mp-nav > a:not(.mp-button):hover, .mp-nav > a[aria-current] { text-decoration: underline; text-underline-offset: 7px; }
.mp-desktop-nav { margin-left: auto; }
.mp-header-tools { display: flex; align-items: center; gap: 18px; }
.mp-languages { display: flex; gap: 10px; border-left: 1px solid var(--mp-border); padding-left: 18px; }
.mp-languages a { font-size: 13px; text-decoration: none; color: var(--mp-muted); padding: 7px 1px; }
.mp-languages a[aria-current] { color: var(--mp-ink); font-weight: 700; text-decoration: underline; }
.mp-mobile-menu { display: none; }
.mp-mobile-menu summary { list-style: none; display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 14px; }
.mp-mobile-menu summary::-webkit-details-marker { display: none; }
.mp-mobile-menu summary span { font-size: 23px; transition: transform .15s; }
.mp-mobile-menu[open] summary span { transform: rotate(45deg); }
.mp-mobile-menu .mp-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--mp-paper); padding: 24px 32px 32px; align-items: stretch; gap: 6px; border-bottom: 1px solid var(--mp-border); box-shadow: 0 14px 22px rgb(0 0 0 / 5%); }
.mp-mobile-menu .mp-nav > a { padding: 12px; }
.mp-mobile-menu .mp-nav > .mp-button { margin-top: 10px; }

/* International: editorial title and introduction above a wide city photograph. */
.mp-hero { padding-top: 76px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 28px 72px; align-items: end; }
.mp-hero-heading h1 { margin: 0; max-width: 780px; }
.mp-hero-intro { padding-bottom: 6px; max-width: 480px; }
.mp-hero-intro > p { font-size: 18px; color: var(--mp-muted); margin-bottom: 22px; }
.mp-hero-image { grid-column: 1 / -1; position: relative; background: var(--mp-wash); margin-top: 24px; aspect-ratio: 2.5; overflow: hidden; }
.mp-hero-image > img { width: 100%; height: 100%; object-fit: cover; }
.mp-image-caption { position: absolute; inset: auto 0 0; padding: 38px 24px 18px; display: flex; justify-content: space-between; gap: 18px; color: #fff; background: linear-gradient(transparent, rgb(0 0 0 / 58%)); font-size: 13px; }
.mp-hero-note { display: none; }
/* Spanish: a split composition, large sans-serif headline and a tall photograph. */
.mp-spanish .mp-hero { padding-top: 56px; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto 1fr; gap: 24px 66px; align-items: start; }
.mp-spanish .mp-hero-heading { grid-column: 1; grid-row: 1; padding-top: 48px; }
.mp-spanish .mp-hero-heading h1 { font-size: clamp(2.75rem, 4.7vw, 4.5rem); line-height: 1.09; }
.mp-spanish .mp-hero-intro { grid-column: 1; grid-row: 2; }
.mp-spanish .mp-hero-image { grid-column: 2; grid-row: 1 / 4; margin: 0; height: 620px; aspect-ratio: auto; border-radius: 3px; }
.mp-spanish .mp-hero-note { grid-column: 1; grid-row: 3; display: flex; gap: 18px; align-items: flex-start; margin-top: 20px; padding-top: 22px; border-top: 1px solid var(--mp-border); color: var(--mp-muted); font-size: 14px; }
.mp-spanish .mp-hero-note > span { color: var(--mp-accent); font-weight: 650; }
.mp-spanish .mp-hero-note p { margin: 0; }
.mp-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 40px; }
.mp-section-heading h2 { max-width: 750px; margin-bottom: 0; }
.mp-section-heading > .mp-text-link { flex-shrink: 0; }
.mp-tour-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; }
.mp-tour-card { min-width: 0; }
.mp-card-image { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mp-wash); }
.mp-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.mp-tour-card:hover .mp-card-image img { transform: scale(1.025); }
.mp-card-body { padding-top: 23px; }
.mp-card-body .mp-kicker { font-size: 12px; margin-bottom: 12px; }
.mp-card-body h3 { margin: 0 0 14px; font-size: 27px; line-height: 1.2; }
.mp-card-body h3 a { text-decoration: none; }
.mp-card-body h3 a:hover { text-decoration: underline; }
.mp-card-body > p:not(.mp-kicker) { color: var(--mp-muted); font-size: 15px; margin-bottom: 22px; }
.mp-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 38px; font-size: 13px; border-top: 1px solid var(--mp-border); padding-top: 13px; }
.mp-card-arrow { margin-left: auto; font-size: 22px; line-height: 1; }
.mp-spanish .mp-card-image { aspect-ratio: 1.4; border-radius: 3px; }
.mp-spanish .mp-card-body h3 { font-size: 24px; }
.mp-spanish .mp-card-body .mp-kicker { color: var(--mp-accent); }
.mp-personal-section { margin-top: 4px; background: var(--mp-wash); }
.mp-personal { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; padding-block: 88px; align-items: center; }
.mp-personal > div > p:not(.mp-kicker) { max-width: 490px; color: var(--mp-muted); }
.mp-personal h2 { margin-bottom: 25px; }
.mp-steps { padding: 0; list-style: none; margin: 0; }
.mp-steps li { display: flex; gap: 22px; border-top: 1px solid var(--mp-border); margin: 0; padding: 28px 0; }
.mp-steps li:last-child { padding-bottom: 0; }
.mp-step-number { font: 400 15px/1.6 var(--mp-sans); color: var(--mp-accent); padding-top: 4px; }
.mp-steps h3 { font-size: 24px; margin: 0 0 10px; }
.mp-steps p { color: var(--mp-muted); margin: 0; font-size: 15px; }
.mp-home-content { max-width: 850px; margin-inline: auto; }
.mp-home-content > :last-child { margin-bottom: 0; }
.mp-useful-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.mp-useful-card { display: flex; flex-direction: column; align-items: start; border-top: 1px solid var(--mp-border); padding: 34px 30px 20px 0; text-decoration: none; }
.mp-useful-card h2 { font-size: 36px; margin-bottom: 20px; }
.mp-useful-card p { max-width: 500px; color: var(--mp-muted); }
.mp-useful-card .mp-text-link { margin-top: auto; }
.mp-useful-card:hover .mp-text-link { color: var(--mp-accent); }
.mp-contact-band { display: flex; align-items: center; justify-content: space-between; gap: 50px; border-block: 1px solid var(--mp-border); padding-block: 55px; margin: 0 0 90px; }
.mp-contact-band h2 { font-size: clamp(2rem, 3vw, 2.8rem); margin-bottom: 14px; }
.mp-contact-band p:not(.mp-kicker) { color: var(--mp-muted); margin-bottom: 0; }
.mp-contact-band .mp-button { flex-shrink: 0; }
.mp-contact-band .mp-kicker { margin-bottom: 12px; }

.mp-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 30px 0; color: var(--mp-muted); font-size: 13px; }
.mp-breadcrumb a { text-decoration: none; }
.mp-breadcrumb a:hover { text-decoration: underline; }
.mp-page-header { max-width: 960px; padding-block: 27px 40px; }
.mp-page-header h1 { margin-bottom: 26px; }
.mp-page-header .mp-lead { margin-bottom: 0; }
.mp-page-image { margin-bottom: 50px; max-height: 510px; overflow: hidden; }
.mp-page-image img { width: 100%; height: 100%; max-height: 510px; object-fit: cover; }
.mp-page-content { max-width: 800px; margin-bottom: 80px; }
.mp-content-wide { max-width: none; }
.mp-content-wide > p { max-width: 830px; }
.mp-prose { line-height: 1.8; font-size: 17px; }
.mp-prose > :first-child { margin-top: 0; }
.mp-prose h2 { margin-top: 1.4em; margin-bottom: .65em; font-size: 34px; }
.mp-prose h3 { margin-top: 1.4em; margin-bottom: .7em; font-size: 26px; }
.mp-prose h4 { margin-top: 1.5em; font-size: 19px; line-height: 1.4; }
.mp-prose p { color: var(--mp-muted); }
.mp-prose strong { color: var(--mp-ink); font-weight: 650; }
.mp-prose a { text-decoration-thickness: 1px; }
.mp-prose a:hover { color: var(--mp-accent); }
.mp-prose blockquote { border-left: 3px solid var(--mp-accent); margin: 2em 0; padding: 0 0 0 24px; font: 25px/1.5 var(--mp-display); }
.mp-prose table { width: 100%; border-collapse: collapse; font-size: 15px; text-align: left; margin-block: 25px; }
.mp-prose th, .mp-prose td { padding: 14px 16px; border-bottom: 1px solid var(--mp-border); vertical-align: top; }
.mp-prose th { background: var(--mp-wash); color: var(--mp-ink); font-weight: 600; }
.mp-prose .wp-block-table { overflow-x: auto; margin-inline: 0; }
.mp-prose .wp-block-table table { min-width: 480px; }
.mp-prose figure { margin-inline: 0; }
.mp-prose figcaption { color: var(--mp-muted); font-size: 13px; }
.mp-prose .wp-block-button__link { font-family: var(--mp-sans); border-radius: 2px; background: var(--mp-accent); color: #fff; font-size: 15px; }
.mp-prose details { border-block-end: 1px solid var(--mp-border); padding-block: 18px; }
.mp-prose summary { font-size: 18px; font-weight: 600; }
.mp-prose details[open] summary { margin-bottom: 16px; }
.mp-prose .notice, .mp-prose .verified-info, .mp-prose .madrid-verified { background: var(--mp-wash); border-left: 3px solid var(--mp-accent); padding: 24px; margin-block: 28px; }
.mp-prose .notice p:last-child, .mp-prose .verified-info p:last-child, .mp-prose .madrid-verified p:last-child { margin-bottom: 0; }
.mp-detail-header { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 80px; padding-block: 25px 45px; }
.mp-detail-header h1 { font-size: clamp(2.4rem, 4.7vw, 4.25rem); margin-bottom: 0; }
.mp-detail-header .mp-lead { margin-bottom: 4px; font-size: 19px; }
.mp-detail-image { width: 100%; aspect-ratio: 2.55; max-height: 530px; background: var(--mp-wash); overflow: hidden; }
.mp-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.mp-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 325px; align-items: start; gap: 90px; padding-top: 62px; }
.mp-visit-aside { background: var(--mp-wash); padding: 28px; position: sticky; top: 28px; }
.mp-visit-aside .mp-kicker { margin-bottom: 25px; }
.mp-visit-aside h2 { font-size: 29px; margin-bottom: 18px; }
.mp-visit-aside p:not(.mp-kicker):not(.mp-duration) { font-size: 15px; color: var(--mp-muted); }
.mp-visit-aside .mp-aside-label { margin-bottom: 5px; font-size: 14px; }
.mp-visit-aside .mp-duration { font: 400 26px/1.3 var(--mp-display); margin-bottom: 14px; }
.mp-visit-aside hr { border: 0; border-top: 1px solid var(--mp-border); margin-block: 25px; }
.mp-visit-aside .mp-button { width: 100%; padding-inline: 15px; gap: 12px; }
.mp-aside-phone { display: block; text-align: center; font-size: 15px; padding-top: 18px; text-decoration: none; }
.mp-back-link { margin-top: 35px; }
.mp-catalogue { padding: 10px 0 80px; }
.mp-catalogue-intro { max-width: 820px; padding-bottom: 24px; }
.mp-filter-bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 22px 0; border-block: 1px solid var(--mp-border); }
.mp-category-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.mp-category-buttons button { min-height: 44px; padding: 10px 16px; border: 1px solid var(--mp-border); background: transparent; color: var(--mp-ink); border-radius: 2px; font-size: 14px; }
.mp-category-buttons button:hover { background: var(--mp-wash); }
.mp-category-buttons button[aria-pressed=true] { background: var(--mp-ink); color: var(--mp-white); border-color: var(--mp-ink); }
.mp-search { max-width: 300px; width: 100%; flex-shrink: 0; }
.mp-search > span { display: block; font-size: 14px; margin-bottom: 5px; }
.mp-search input { display: block; width: 100%; border: 1px solid var(--mp-border); background: var(--mp-white); color: var(--mp-ink); border-radius: 2px; padding: 10px 14px; min-height: 44px; font-size: 16px; }
.mp-results { font-size: 13px; color: var(--mp-muted); margin: 16px 0 24px; min-height: 21px; }
.mp-empty { padding: 40px 20px; background: var(--mp-wash); text-align: center; }
.mp-contact-intro { max-width: 850px; margin-bottom: 30px; }
.mp-contact-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 75px; padding: 15px 0 95px; }
.mp-contact-details { padding-top: 22px; }
.mp-contact-details h2 { font-size: 38px; }
.mp-contact-details > p:not(.mp-kicker) { color: var(--mp-muted); }
.mp-contact-line { display: block; border-top: 1px solid var(--mp-border); padding: 19px 0; text-decoration: none; }
.mp-contact-line span { display: block; font-size: 13px; color: var(--mp-muted); margin-bottom: 3px; }
.mp-contact-line strong { font-size: 17px; font-weight: 500; overflow-wrap: anywhere; }
.mp-contact-details > .mp-button { margin-block: 12px; }
.mp-form-panel { background: var(--mp-white); border: 1px solid var(--mp-border); padding: 35px; }
.mp-form-panel > h2 { font-size: 34px; margin-bottom: 17px; }
.mp-form-panel > p { color: var(--mp-muted); font-size: 15px; }
.mp-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-block: 26px 21px; }
.mp-fields label { font-size: 14px; font-weight: 500; }
.mp-fields label > input, .mp-fields label > textarea { display: block; width: 100%; min-width: 0; min-height: 48px; margin-top: 8px; padding: 11px 12px; border: 1px solid #aab5ae; border-radius: 2px; background: var(--mp-white); color: var(--mp-ink); font-size: 16px; font-weight: 400; }
.mp-fields textarea { resize: vertical; line-height: 1.65; }
.mp-fields input::placeholder, .mp-fields textarea::placeholder { color: #737c74; opacity: 1; }
.mp-field-wide { grid-column: 1 / -1; }
.mp-prepared { margin-top: 32px; border-top: 1px solid var(--mp-border); padding-top: 28px; }
.mp-prepared h3 { font-size: 25px; }
.mp-prepared > p { font-size: 15px; color: var(--mp-muted); }
.mp-prepared pre { white-space: pre-wrap; overflow-wrap: anywhere; font: 14px/1.7 var(--mp-sans); background: var(--mp-wash); padding: 18px; }
.mp-sitemap { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; margin-bottom: 85px; }
.mp-sitemap h2 { font-size: 28px; }
.mp-sitemap ul { padding: 0; list-style: none; }
.mp-sitemap li { border-bottom: 1px solid var(--mp-border); padding-block: 10px; margin: 0; }
.mp-sitemap a { text-decoration: none; }
.mp-sitemap a:hover { text-decoration: underline; }
.mp-not-found { padding-block: 120px; min-height: 60vh; }
.mp-not-found h1 { max-width: 800px; }
.mp-not-found > p { max-width: 680px; }
.mp-language-page { display: grid; grid-template-columns: 1fr .85fr; gap: 80px; padding-block: 72px 100px; align-items: center; }
.mp-language-copy h1 { font-size: clamp(3rem, 5.5vw, 5.3rem); margin-bottom: 25px; }
.mp-language-copy h1 em { color: var(--mp-muted); }
.mp-language-copy > p:not(.mp-kicker) { color: var(--mp-muted); font-size: 17px; }
.mp-language-image { height: 570px; background: var(--mp-wash); }
.mp-language-image img { width: 100%; height: 100%; object-fit: cover; }
.mp-language-choices { margin-top: 40px; border-top: 1px solid var(--mp-border); }
.mp-language-choices a { display: grid; grid-template-columns: 95px 1fr auto; align-items: center; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--mp-border); text-decoration: none; }
.mp-language-choices a > span:first-child { font-size: 14px; color: var(--mp-muted); }
.mp-language-choices a > strong { font: 400 26px/1.3 var(--mp-serif); }
.mp-language-choices a > span:last-child { font-size: 25px; }
.mp-language-choices a:hover { background: var(--mp-wash); }

.mp-footer { background: var(--mp-wash); padding-top: 60px; }
.mp-footer-main { display: grid; grid-template-columns: 1.2fr .85fr 1fr; gap: 70px; padding-bottom: 45px; }
.mp-footer-brand .mp-brand { margin-bottom: 23px; }
.mp-footer-brand > p { max-width: 325px; font-size: 14px; color: var(--mp-muted); margin-bottom: 12px; }
.mp-footer-main > nav { display: flex; flex-direction: column; gap: 10px; align-items: start; padding-top: 7px; }
.mp-footer-main > nav > a, .mp-footer-contact > a { font-size: 14px; text-decoration: none; }
.mp-footer-main > nav > a:hover, .mp-footer-contact > a:hover { text-decoration: underline; }
.mp-footer-contact { display: flex; flex-direction: column; gap: 10px; align-items: start; padding-top: 7px; }
.mp-footer-contact > a { overflow-wrap: anywhere; }
.mp-footer-contact .mp-kicker { margin-bottom: 7px; }
.mp-footer-bottom { border-top: 1px solid var(--mp-border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 40px; padding-block: 25px 95px; font-size: 12px; color: var(--mp-muted); }
.mp-footer-bottom > p { margin: 0; }
.mp-footer-bottom > div { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.mp-footer-bottom a { text-decoration: none; }
.mp-footer-bottom a:hover { text-decoration: underline; }
.mp-footer-bottom .mp-footer-note { flex: 1 0 100%; margin-top: 5px; max-width: 920px; }
.mp-preview-label { border: 1px solid var(--mp-border); padding: 2px 7px; }
.mp-private-note { border-left: 2px solid var(--mp-border); padding-left: 12px; }
.mp-whatsapp { position: fixed; right: 24px; bottom: 24px; z-index: 80; }
.mp-whatsapp > summary { list-style: none; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 12px 18px; border-radius: 50px; background: var(--mp-ink); color: #fff; font-size: 14px; box-shadow: 0 5px 22px rgb(0 0 0 / 16%); }
.mp-whatsapp > summary::-webkit-details-marker { display: none; }
.mp-whatsapp > summary > svg { width: 25px; height: 25px; }
.mp-whatsapp-card { position: absolute; right: 0; bottom: calc(100% + 14px); width: 320px; padding: 27px; background: var(--mp-white); border: 1px solid var(--mp-border); box-shadow: 0 8px 45px rgb(0 0 0 / 13%); }
.mp-whatsapp-card .mp-kicker { margin-bottom: 11px; }
.mp-whatsapp-card h2 { font-size: 27px; margin-bottom: 16px; }
.mp-whatsapp-card > p:not(.mp-kicker) { font-size: 15px; color: var(--mp-muted); }
.mp-whatsapp-card .mp-button { width: 100%; font-size: 14px; gap: 12px; padding-inline: 13px; }

/* Official live information is progressively enhanced by a separate local plugin. */
.madrid-live-info { border-top: 1px solid var(--mp-border); padding-top: 34px; margin-block: 40px; }
.mp-prose .madrid-live-info > h2 { margin-top: 0; }
.madrid-live-info > p { max-width: 850px; }
.madrid-weather-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-block: 25px; }
.weather-day { min-width: 0; padding: 22px 17px; background: var(--mp-wash); }
.mp-prose .weather-day .weather-date { font: 600 16px/1.5 var(--mp-sans); margin: 0 0 20px; letter-spacing: 0; }
.weather-temperatures { display: flex; flex-wrap: wrap; gap: 16px; margin: 0 0 17px; }
.weather-temperatures dt { font-size: 12px; color: var(--mp-muted); }
.weather-temperatures dd { margin: 0; font: 500 26px/1.4 var(--mp-sans); letter-spacing: -.04em; }
.mp-prose .weather-rain { font-size: 13px; margin-bottom: 0; }
.mp-prose .madrid-live-source, .mp-prose .madrid-live-note { font-size: 13px; color: var(--mp-muted); line-height: 1.7; }
.mp-prose .madrid-live-fallback { padding: 22px; border-left: 3px solid var(--mp-accent); background: var(--mp-wash); font-size: 16px; }
.madrid-agenda-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-block: 30px; }
.madrid-agenda-event { padding: 25px; border: 1px solid var(--mp-border); background: var(--mp-white); min-width: 0; }
.mp-prose .madrid-agenda-event > h3 { font-size: 26px; margin: 13px 0 20px; }
.mp-prose .madrid-agenda-status { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin: 0; color: var(--mp-accent); }
.mp-prose .madrid-agenda-dates { font-size: 15px; color: var(--mp-ink); margin-bottom: 12px; }
.mp-prose .madrid-agenda-venue { font-size: 14px; margin-bottom: 20px; }
.madrid-agenda-event > p:last-child { margin-bottom: 0; font-size: 14px; }
.madrid-agenda-links { border-top: 1px solid var(--mp-border); padding-top: 8px; margin-top: 30px; }
.madrid-agenda-links ul { display: flex; flex-wrap: wrap; gap: 14px 30px; list-style: none; padding: 0; }
.madrid-agenda-links li { margin: 0; font-size: 15px; }

@media (min-width: 1600px) { .mp-hero-image { max-height: 510px; } }
@media (max-width: 1180px) {
  .mp-header-inner { padding-inline: 36px; gap: 20px; }
  .mp-desktop-nav { display: none; }
  .mp-header-tools { margin-left: auto; }
  .mp-mobile-menu { display: block; }
  .mp-mobile-menu .mp-nav { display: flex; flex-direction: column; }
  .mp-wrap { width: calc(100% - 72px); }
  .mp-hero { gap: 26px 40px; }
  .mp-hero-intro > p { font-size: 17px; }
  .mp-spanish .mp-hero { gap: 24px 40px; }
  .mp-spanish .mp-hero-heading { padding-top: 30px; }
  .mp-spanish .mp-hero-image { height: 580px; }
  .mp-personal { gap: 65px; }
  .mp-detail-layout { gap: 48px; grid-template-columns: minmax(0, 1fr) 290px; }
  .mp-detail-header { gap: 45px; }
  .mp-contact-layout { gap: 45px; }
  .mp-footer-main { gap: 40px; }
  .mp-filter-bar { align-items: flex-start; flex-direction: column; }
  .mp-search { max-width: 440px; }
  .mp-language-page { gap: 45px; }
}
@media (max-width: 900px) {
  .mp-section { padding-block: 66px; }
  .mp-tour-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
  .mp-hero { padding-top: 48px; grid-template-columns: 1fr; gap: 24px; }
  .mp-hero-heading h1 { max-width: 720px; }
  .mp-hero-intro { max-width: 630px; }
  .mp-hero-image { margin-top: 9px; aspect-ratio: 1.9; }
  .mp-spanish .mp-hero { grid-template-columns: 1fr 1fr; gap: 20px 28px; padding-top: 35px; }
  .mp-spanish .mp-hero-heading { padding-top: 20px; }
  .mp-spanish .mp-hero-heading h1 { font-size: 44px; }
  .mp-spanish .mp-hero-image { height: 570px; }
  .mp-spanish .mp-hero-note { margin-top: 0; }
  .mp-section-heading { align-items: start; flex-direction: column; gap: 20px; }
  .mp-personal { grid-template-columns: 1fr; gap: 40px; padding-block: 64px; }
  .mp-personal > div > p:not(.mp-kicker) { max-width: 650px; }
  .mp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .mp-steps li { display: block; }
  .mp-step-number { display: block; margin-bottom: 14px; }
  .mp-steps h3 { font-size: 23px; }
  .mp-useful-card { padding-right: 10px; }
  .mp-useful-card h2 { font-size: 30px; }
  .mp-contact-band { gap: 28px; align-items: start; flex-direction: column; margin-bottom: 65px; }
  .mp-detail-header { grid-template-columns: 1fr; gap: 22px; padding-top: 16px; }
  .mp-detail-header h1 { max-width: 700px; }
  .mp-detail-header .mp-lead { max-width: 800px; }
  .mp-detail-layout { grid-template-columns: minmax(0, 1fr); gap: 34px; padding-top: 40px; }
  .mp-visit-aside { position: static; max-width: none; padding: 30px; }
  .mp-visit-aside .mp-button { width: auto; min-width: 220px; }
  .mp-aside-phone { display: inline-block; margin-left: 25px; }
  .mp-contact-layout { grid-template-columns: 1fr; gap: 35px; padding-bottom: 65px; }
  .mp-contact-details { max-width: 650px; }
  .mp-form-panel { max-width: 760px; }
  .mp-footer-main { grid-template-columns: 1fr 1fr; gap: 35px; }
  .mp-footer-brand { grid-column: 1 / -1; }
  .mp-footer-brand > p { max-width: 520px; }
  .mp-language-page { gap: 40px; grid-template-columns: 1fr; padding-top: 40px; }
  .mp-language-copy { max-width: 650px; }
  .mp-language-image { height: 380px; }
  .madrid-weather-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .madrid-agenda-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  html { scroll-padding-top: 30px; }
  .mp-wrap { width: calc(100% - 40px); }
  .mp-header-inner { padding: 14px 20px; min-height: 82px; gap: 14px; }
  .mp-brand { gap: 10px; font-size: 16px; }
  .mp-spanish .mp-brand { font-size: 16px; }
  .mp-mark { font-size: 39px; padding-bottom: 5px; }
  .mp-brand small { font-size: 10px; letter-spacing: .1em; margin-top: 4px; }
  .mp-header-tools { gap: 12px; }
  .mp-languages { border-left: 0; padding-left: 0; gap: 9px; }
  .mp-languages a { font-size: 12px; }
  .mp-mobile-menu summary { gap: 6px; font-size: 13px; }
  .mp-mobile-menu summary span { font-size: 20px; }
  .mp-mobile-menu .mp-nav { padding-inline: 20px; }
  h1 { font-size: 43px; line-height: 1.12; }
  h2 { font-size: 34px; }
  .mp-kicker { font-size: 12px; margin-bottom: 16px; }
  .mp-hero { padding-top: 39px; gap: 22px; }
  .mp-hero-heading h1 { font-size: 48px; }
  .mp-hero-intro > p { font-size: 17px; }
  .mp-hero-image { aspect-ratio: 1.2; margin-top: 12px; }
  .mp-image-caption { padding: 40px 16px 15px; font-size: 12px; }
  .mp-spanish .mp-hero { display: flex; flex-direction: column; gap: 21px; padding-top: 25px; }
  .mp-spanish .mp-hero-heading { padding-top: 0; }
  .mp-spanish .mp-hero-heading h1 { font-size: 43px; max-width: 450px; }
  .mp-spanish .mp-hero-image { width: 100%; height: auto; aspect-ratio: 1.15; order: 3; }
  .mp-spanish .mp-hero-note { order: 4; width: 100%; padding-top: 17px; font-size: 13px; }
  .mp-section { padding-block: 56px; }
  .mp-section-heading { margin-bottom: 28px; }
  .mp-section-heading h2 { max-width: 100%; }
  .mp-tour-grid { grid-template-columns: 1fr; gap: 34px; }
  .mp-card-body { padding-top: 19px; }
  .mp-card-body h3 { font-size: 28px; }
  .mp-card-body > p:not(.mp-kicker) { font-size: 16px; margin-bottom: 19px; }
  .mp-card-foot { padding-top: 11px; }
  .mp-spanish .mp-card-body h3 { font-size: 25px; }
  .mp-personal { padding-block: 50px; gap: 28px; }
  .mp-steps { display: block; }
  .mp-steps li { display: flex; padding-block: 23px; }
  .mp-step-number { margin-bottom: 0; }
  .mp-steps h3 { font-size: 25px; }
  .mp-steps p { font-size: 16px; }
  .mp-useful-grid { grid-template-columns: 1fr; gap: 15px; }
  .mp-useful-card { padding-top: 28px; }
  .mp-useful-card h2 { font-size: 32px; }
  .mp-contact-band { padding-block: 35px; margin-bottom: 55px; }
  .mp-contact-band h2 { font-size: 32px; }
  .mp-breadcrumb { font-size: 12px; gap: 7px; padding-block: 22px; }
  .mp-page-header { padding-block: 17px 32px; }
  .mp-page-header h1 { margin-bottom: 20px; }
  .mp-page-header .mp-lead { font-size: 18px; }
  .mp-page-content { margin-bottom: 50px; }
  .mp-page-image { margin-bottom: 30px; }
  .mp-prose { font-size: 16px; }
  .mp-prose h2 { font-size: 29px; }
  .mp-prose h3 { font-size: 24px; }
  .mp-prose table { font-size: 14px; }
  .mp-prose th, .mp-prose td { padding: 12px 10px; }
  .mp-prose blockquote { font-size: 23px; padding-left: 18px; }
  .mp-detail-header { padding-block: 15px 28px; gap: 20px; }
  .mp-detail-header h1 { font-size: 41px; }
  .mp-detail-header .mp-lead { font-size: 18px; }
  .mp-detail-image { aspect-ratio: 1.4; }
  .mp-detail-layout { padding-top: 32px; gap: 25px; }
  .mp-visit-aside { padding: 25px; }
  .mp-visit-aside h2 { font-size: 28px; }
  .mp-visit-aside .mp-button { width: 100%; }
  .mp-aside-phone { display: block; margin-left: 0; }
  .mp-filter-bar { gap: 22px; padding-block: 20px; }
  .mp-category-buttons { gap: 7px; }
  .mp-category-buttons button { padding: 9px 12px; font-size: 14px; }
  .mp-search { max-width: none; }
  .mp-catalogue { padding-bottom: 50px; }
  .mp-contact-details { padding-top: 0; }
  .mp-contact-details h2 { font-size: 33px; }
  .mp-contact-layout { padding-bottom: 50px; }
  .mp-form-panel { padding: 25px 20px; }
  .mp-form-panel > h2 { font-size: 28px; }
  .mp-fields { grid-template-columns: 1fr; gap: 18px; }
  .mp-sitemap { grid-template-columns: 1fr; gap: 22px; margin-bottom: 50px; }
  .mp-not-found { padding-block: 60px; }
  .mp-language-page { padding-block: 36px 55px; gap: 35px; }
  .mp-language-copy h1 { font-size: 48px; }
  .mp-language-copy > p:not(.mp-kicker) { font-size: 16px; }
  .mp-language-image { height: 320px; }
  .mp-language-choices { margin-top: 27px; }
  .mp-language-choices a { grid-template-columns: 90px 1fr auto; gap: 15px; }
  .mp-footer { padding-top: 44px; }
  .mp-footer-main { gap: 30px; padding-bottom: 30px; }
  .mp-footer-contact { grid-column: 1 / -1; }
  .mp-footer-bottom { padding-bottom: 100px; gap: 13px; }
  .mp-footer-bottom > div { gap: 15px; }
  .mp-whatsapp { right: 16px; bottom: 16px; }
  .mp-whatsapp > summary { min-height: 48px; padding: 11px 16px; font-size: 13px; }
  .mp-whatsapp-card { width: min(320px, calc(100vw - 32px)); padding: 24px; }
  .madrid-weather-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .weather-day { padding: 19px 16px; }
  .madrid-agenda-list { grid-template-columns: 1fr; }
  .madrid-agenda-event { padding: 24px; }
}
@media (max-width: 380px) {
  .mp-brand { font-size: 14px; gap: 7px; }
  .mp-brand small { font-size: 9px; }
  .mp-mark { font-size: 34px; }
  .mp-header-tools { gap: 9px; }
  .mp-mobile-menu summary { font-size: 12px; }
  .mp-languages { gap: 7px; }
  .mp-hero-heading h1, .mp-language-copy h1 { font-size: 42px; }
  .mp-spanish .mp-hero-heading h1 { font-size: 39px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media print {
  .mp-header-tools, .mp-desktop-nav, .mp-whatsapp, .mp-contact-band, .mp-draft-banner, .mp-visit-aside, .mp-footer { display: none !important; }
  body { background: #fff; color: #000; }
  .mp-wrap { width: 100%; }
  .mp-header { border: 0; }
  .mp-detail-layout { display: block; }
  .mp-detail-image { max-height: 280px; }
}
