/* Christmas in Málaga 2026 guide (EN 'christmas-malaga-2026' / ES 'navidad-malaga-2026'). Loaded only on posts whose body
   holds the .mf-xmas wrapper (inc/guide-extras.php). Every selector is scoped under .mf-xmas. Look: design/christmas-malaga-2026-preview.html.
   Brand tokens come from main.css (--mf-*). No mint. */

.mf-xmas{font-size:17px;line-height:1.65}
.mf-xmas>*{margin-top:0;margin-bottom:0}
.mf-xmas h2,.mf-xmas h3,.mf-xmas h4{font-family:var(--mf-font-head);letter-spacing:-.02em;text-wrap:balance;margin:0}
.mf-xmas p{margin:0}
.mf-xmas a{color:var(--mf-purple)}
.mf-xmas a:focus-visible,.mf-xmas summary:focus-visible,.mf-xmas input:focus-visible{outline:3px solid var(--mf-purple);outline-offset:2px}

/* opening */
.mf-xmas .mfx-lede{font-size:19px;line-height:1.6;margin-bottom:10px}
.mf-xmas .mfx-byline{font-size:14px;color:var(--mf-muted);margin-bottom:20px}

/* quick facts */
.mf-xmas .mfx-facts{background:var(--mf-white);border:1px solid var(--mf-line);border-radius:24px;padding:24px;margin:0 0 20px;box-shadow:0 12px 30px rgba(91,42,134,.12)}
.mf-xmas .mfx-facts h2{font-size:20px;margin-bottom:12px;color:var(--mf-ink)}
.mf-xmas .mfx-facts dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:14px 24px;margin:0}
.mf-xmas .mfx-facts dt,.mf-xmas .mfx-meta dt{font:600 12px/1.2 var(--mf-font-body);text-transform:uppercase;letter-spacing:.08em;color:var(--mf-purple)}
.mf-xmas .mfx-facts dd,.mf-xmas .mfx-meta dd{margin:3px 0 0;font-size:15.5px;line-height:1.45}

/* sticky jump chips + filter */
.mf-xmas .mfx-chips{position:sticky;top:0;z-index:5;display:flex;gap:8px;overflow-x:auto;padding:10px 0;margin:0;background:var(--mf-base);-webkit-overflow-scrolling:touch;scrollbar-width:thin}
.admin-bar .mf-xmas .mfx-chips{top:32px}
@media (max-width:782px){.admin-bar .mf-xmas .mfx-chips{top:0}}
.mf-xmas .mfx-chips a{flex:none;text-decoration:none;background:var(--mf-purple-tint);color:var(--mf-purple);font-weight:500;font-size:14.5px;line-height:1.2;padding:8px 16px;border-radius:999px;min-height:44px;display:inline-flex;align-items:center}
.mf-xmas .mfx-chips a:hover,.mf-xmas .mfx-chips a:focus-visible{background:var(--mf-purple);color:var(--mf-white)}
.mf-xmas .mfx-chips a:focus-visible{outline-offset:-3px;outline-color:var(--mf-ink)}
.mf-xmas .mfx-filter{margin:6px 0 4px;font-size:15px}
.mf-xmas .mfx-filter[hidden]{display:none}
.mf-xmas .mfx-filter label{display:inline-flex;gap:10px;align-items:center;min-height:44px;cursor:pointer}
.mf-xmas .mfx-filter input{width:22px;height:22px;margin:0;accent-color:var(--mf-green)}
.mf-xmas.is-free-only .mfx-card[data-free="0"]{display:none}

/* sections */
.mf-xmas .mfx-sec{margin-top:40px;scroll-margin-top:72px}
.mf-xmas .mfx-sec>*{margin-top:0;margin-bottom:0}
.mf-xmas .mfx-sec>h2{font-size:clamp(24px,4vw,32px);color:var(--mf-purple);line-height:1.15}
.mf-xmas .mfx-secintro{color:var(--mf-muted);margin:6px 0 16px;max-width:62ch}

/* event card */
.mf-xmas .mfx-card{display:grid;grid-template-columns:84px minmax(0,1fr);gap:18px;background:var(--mf-white);border:1px solid var(--mf-line);border-radius:24px;padding:22px;margin-top:14px;scroll-margin-top:72px}
.mf-xmas .mfx-badge{background:var(--mf-purple-tint);border-radius:18px;height:84px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:4px;color:var(--mf-purple)}
.mf-xmas .mfx-badge__big{font:700 24px/1 var(--mf-font-head);letter-spacing:-.02em}
.mf-xmas .mfx-badge__small{font:600 10.5px/1.2 var(--mf-font-body);text-transform:uppercase;letter-spacing:.06em;margin-top:5px}
.mf-xmas .mfx-body{min-width:0}
.mf-xmas .mfx-top{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:flex-start;justify-content:space-between}
.mf-xmas .mfx-card h3{font-size:21px;line-height:1.2;color:var(--mf-ink)}
.mf-xmas .mfx-tags{display:flex;gap:6px;flex-wrap:wrap}
.mf-xmas .mfx-tag{font:600 12px/1 var(--mf-font-body);padding:6px 10px;border-radius:999px;white-space:nowrap}
.mf-xmas .mfx-tag--free{background:var(--mf-green-tint);color:var(--mf-green-text)}
.mf-xmas .mfx-tag--book{background:var(--mf-purple-tint);color:var(--mf-purple)}
.mf-xmas .mfx-body>p{margin:10px 0 0}
.mf-xmas .mfx-meta{display:grid;gap:10px;margin:14px 0 0;padding:14px 16px;background:var(--mf-base);border-radius:16px}
.mf-xmas .mfx-meta>div{display:grid;grid-template-columns:72px minmax(0,1fr);gap:10px}
.mf-xmas .mfx-tip{margin-top:14px;border-left:4px solid var(--mf-green);background:var(--mf-green-tint);padding:10px 14px;border-radius:0 14px 14px 0;font-size:15.5px}
.mf-xmas .mfx-body>p.mfx-buy{margin:12px 0 0;font-size:15.5px;background:var(--mf-purple-tint);border-radius:14px;padding:10px 14px}
.mf-xmas .mfx-links{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center;margin-top:16px}
.mf-xmas .mfx-btn{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:999px;border:2px solid var(--mf-purple);color:var(--mf-purple);background:var(--mf-white);font-weight:600;font-size:15px;line-height:1.2;text-decoration:none;transition:transform .15s,box-shadow .15s,background-color .15s}
.mf-xmas .mfx-btn:hover,.mf-xmas .mfx-btn:focus-visible{transform:translateY(-2px);box-shadow:0 6px 14px rgba(91,42,134,.18);background:var(--mf-purple);color:var(--mf-white)}
.mf-xmas .mfx-lnk{font-weight:600;font-size:15px;min-height:44px;display:inline-flex;align-items:center}

/* dated sub-rows (series) */
.mf-xmas .mfx-items{list-style:none;margin:14px 0 0;padding:0;border-top:1px solid var(--mf-line)}
.mf-xmas .mfx-items li{display:grid;grid-template-columns:116px minmax(0,1fr);gap:14px;padding:14px 0;margin:0;border-bottom:1px solid var(--mf-line)}
.mf-xmas .mfx-idate{font:700 15px/1.3 var(--mf-font-head);color:var(--mf-purple)}
.mf-xmas .mfx-items h4{font-size:16.5px;line-height:1.3;color:var(--mf-ink)}
.mf-xmas .mfx-items p{margin:3px 0 0;font-size:15.5px;line-height:1.55;color:var(--mf-muted)}
.mf-xmas .mfx-items .mfx-ilinks{margin-top:2px;display:flex;flex-wrap:wrap;gap:0 16px}

/* plan by date: the table scrolls sideways on narrow screens */
.mf-xmas .mfx-table{margin:0;overflow-x:auto;background:var(--mf-white);border:1px solid var(--mf-line);border-radius:20px;-webkit-overflow-scrolling:touch}
.mf-xmas .mfx-table table{display:table;border-collapse:collapse;width:100%;min-width:680px;margin:0;font-size:14.5px;line-height:1.45}
.mf-xmas .mfx-table th{text-align:left;font:600 12px/1.3 var(--mf-font-body);text-transform:uppercase;letter-spacing:.08em;color:var(--mf-purple);background:var(--mf-purple-tint);padding:12px 14px;border:0}
.mf-xmas .mfx-table td{padding:11px 14px;border:0;border-top:1px solid var(--mf-line);vertical-align:top}
.mf-xmas .mfx-table td:first-child{font-weight:600;white-space:nowrap}
.mf-xmas .mfx-table tbody tr:nth-child(even){background:#FBFAFC}

/* closer + sources */
.mf-xmas .mfx-closer{background:var(--mf-purple-tint);border-radius:28px;padding:28px}
.mf-xmas .mfx-closer>h2{font-size:26px}
.mf-xmas .mfx-closer>p{margin:12px 0 0}
.mf-xmas .mfx-closer>p.mfx-links{margin-top:16px}
.mf-xmas .mfx-small{font-size:14.5px;color:var(--mf-muted)}
.mf-xmas .mfx-sources{margin-top:16px;font-size:14.5px;color:var(--mf-muted)}
.mf-xmas .mfx-sources summary{cursor:pointer;font-weight:600;color:var(--mf-purple);min-height:44px;display:flex;align-items:center}
.mf-xmas .mfx-sources ul{margin:4px 0 0;padding-left:1.3em}
.mf-xmas .mfx-sources li{margin-bottom:6px}

@media (max-width:600px){
	.mf-xmas{font-size:16.5px}
	.mf-xmas .mfx-facts{padding:18px}
	.mf-xmas .mfx-card{grid-template-columns:minmax(0,1fr);padding:18px;gap:12px}
	.mf-xmas .mfx-badge{height:auto;flex-direction:row;gap:8px;justify-content:flex-start;padding:8px 14px;width:max-content;max-width:100%;border-radius:999px}
	.mf-xmas .mfx-badge__small{margin-top:0}
	.mf-xmas .mfx-items li{grid-template-columns:minmax(0,1fr);gap:4px}
	.mf-xmas .mfx-meta>div{grid-template-columns:minmax(0,1fr);gap:2px}
	.mf-xmas .mfx-closer{padding:22px 18px}
}
@media (prefers-reduced-motion:reduce){.mf-xmas .mfx-btn{transition:none}.mf-xmas .mfx-btn:hover,.mf-xmas .mfx-btn:focus-visible{transform:none}}
