/*
Theme Name: Planazo Murcia
Author: Jonathan
Description: Guía de la Región de Murcia: qué hacer, playas, pueblos, comer, agenda, municipios y lo práctico.
Version: 0.6.1
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: planazo
*/

/* Fuentes dentro del tema (Bricolage Grotesque e Inter, licencia SIL OFL) */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 800; font-display: swap; src: url(assets/fonts/bricolage-800.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(assets/fonts/inter.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
	--sea: #0b3a5b;
	--sea2: #0f5c8a;
	--sun: #ff8a1f;
	--sun-d: #e2700a;
	--sand: #fbf4e8;
	--ink: #16212c;
	--text: #4a5563;
	--muted: #6f7a87;
	--line: #eadfcd;
	--head: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--sand); color: var(--text); font: 16px/1.6 var(--font); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sea2); }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 800; color: var(--ink); line-height: 1.08; letter-spacing: -.025em; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 100; width: auto; height: auto; clip: auto; padding: 10px 16px; background: #fff; color: var(--ink); }

/* Cabecera */
.bar { position: sticky; top: 0; z-index: 20; background: rgba(251,244,232,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.admin-bar .bar { top: 32px; }
.bar .wrap { position: relative; display: flex; align-items: center; gap: 26px; min-height: 80px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand img { max-height: 56px; width: auto; }
.brand__pin { flex: none; width: 48px; height: 50px; }
.brand__text { display: flex; flex-direction: column; line-height: .9; }
.brand__text b { color: var(--sea); font-family: var(--head); font-size: 33px; font-weight: 800; letter-spacing: -.045em; }
.brand__text small { margin-top: 3px; color: var(--sun-d); font-size: 15px; font-weight: 700; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; }
.nav a { display: block; padding: 6px 0; color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.nav a:hover, .nav .current-menu-item > a, .nav .current-cat > a { color: var(--sun-d); }
.nav .sub-menu { display: none; }
.bar__cta { padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; }
.bar__cta:hover { background: var(--sea); color: #fff; }
.menu-toggle { display: none; margin-left: auto; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: 600 15px var(--font); cursor: pointer; }

/* Portada: cabecera con buscador y collage */
.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 34px 0 10px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--sun-d); font-weight: 700; font-size: 13px; box-shadow: 0 2px 8px rgba(22,33,44,.06); }
.hero h1 { margin: 18px 0 16px; font-size: 58px; line-height: 1.02; }
.hero h1 em { font-style: normal; color: var(--sun); }
.hero__text > p { max-width: 40ch; margin: 0 0 24px; font-size: 19px; }
.hero-search { display: flex; max-width: 540px; padding: 6px; border-radius: 16px; background: #fff; box-shadow: 0 10px 30px rgba(22,33,44,.1); }
.hero-search input { flex: 1; min-width: 0; padding: 12px 14px; border: 0; background: none; font: 16px var(--font); outline: none; }
.hero-search button { padding: 0 22px; border: 0; border-radius: 12px; background: var(--sun); color: #fff; font: 700 16px var(--font); cursor: pointer; }
.hero-search button:hover { background: var(--sun-d); }
.hint { margin-top: 14px; color: var(--muted); font-size: 14px; }
.hint a { display: inline-block; margin: 4px 4px 0 0; padding: 4px 11px; border-radius: 999px; background: #fff; color: var(--sea2); font-weight: 600; text-decoration: none; }
.hint a:hover { color: var(--sun-d); }
.collage { position: relative; height: 460px; }
.collage .ph { position: absolute; display: block; overflow: hidden; border-radius: 26px; background: #e8dcc8; box-shadow: 0 20px 50px rgba(22,33,44,.18); transition: transform .3s; }
.collage .ph img { width: 100%; height: 100%; object-fit: cover; }
.c1 { left: 0; top: 30px; width: 58%; height: 290px; transform: rotate(-2.5deg); }
.c2 { right: 0; top: 0; width: 46%; height: 220px; transform: rotate(3deg); }
.c3 { right: 6%; bottom: 0; width: 56%; height: 210px; transform: rotate(-1deg); }
.collage--1 .c1 { inset: 0; width: 100%; height: 100%; transform: rotate(-1.5deg); }
.collage--2 .c2 { top: auto; bottom: 0; height: 240px; }
.collage .ph:hover { transform: rotate(0) scale(1.02); z-index: 3; }
.tag { position: absolute; left: 12px; bottom: 12px; padding: 7px 12px; border-radius: 12px; background: #fff; color: var(--ink); font-weight: 700; font-size: 14px; box-shadow: 0 8px 20px rgba(22,33,44,.15); }
.tag i { font-style: normal; color: var(--sun-d); }
.hero__credit { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 11.5px; text-align: right; }
.hero__credit a { color: inherit; }

/* Bloques */
.sec { margin: 0; padding: 40px 0 8px; }
.sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.sec__head h2 { margin: 0; font-size: 36px; }
.sec__head p { margin: 6px 0 0; color: var(--muted); }
.sec__head a { color: var(--sea2); font-weight: 700; text-decoration: none; white-space: nowrap; }
.sec__empty { margin: 32px 0 0; padding: 18px; border: 1px dashed var(--line); border-radius: 14px; color: var(--muted); }

/* ¿Qué buscas? */
.cats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.cat { display: flex; flex-direction: column; gap: 10px; padding: 18px 14px; border-radius: 18px; background: #fff; color: var(--ink); font-weight: 700; font-size: 15px; line-height: 1.2; text-decoration: none; box-shadow: 0 1px 2px rgba(22,33,44,.05); transition: transform .2s, box-shadow .2s; }
.cat:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(22,33,44,.1); }
.cat svg { width: 30px; height: 30px; }
.cat small { display: block; margin-top: 3px; color: var(--muted); font-weight: 500; font-size: 13px; }

/* Municipios */
.towns { display: flex; flex-wrap: wrap; gap: 8px; }
.towns a { padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; }
.towns a:hover { border-color: var(--sun); color: var(--sun-d); }
.towns a span { display: inline-block; min-width: 20px; margin-left: 4px; padding: 0 6px; border-radius: 999px; background: var(--sand); color: var(--sun-d); font-size: 12px; font-weight: 700; text-align: center; }
.towns-all { margin-top: 10px; }
.towns-all summary { display: inline-block; padding: 9px 15px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; cursor: pointer; list-style: none; }
.towns-all summary::-webkit-details-marker { display: none; }
.towns-all summary::after { content: " →"; }
.towns-all[open] summary { margin-bottom: 10px; }
.towns-all[open] summary::after { content: " ↑"; }

/* Tarjetas */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 22px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { display: block; color: inherit; text-decoration: none; }
.card__media { aspect-ratio: 4 / 3; margin-bottom: 12px; overflow: hidden; border-radius: 18px; background: #e8dcc8; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card:hover .card__media img { transform: scale(1.04); }
.card__town { margin-left: 6px; color: var(--muted); font-size: 13px; font-weight: 600; }
.card__title { display: block; margin: 2px 0 4px; color: var(--ink); font-family: var(--head); font-size: 20px; font-weight: 800; line-height: 1.12; letter-spacing: -.02em; }
.card:hover .card__title { color: var(--sea2); }
.card__text { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.chip { display: inline-block; margin-bottom: 7px; padding: 3px 10px; border-radius: 999px; background: #fbe3c9; color: #9a4e06; font-size: 12px; font-weight: 700; text-decoration: none; }
.chip--g1 { background: #d8f0f8; color: #0f5c8a; }
.chip--g2 { background: #fbe3c9; color: #9a4e06; }
.chip--g3 { background: #e1f2db; color: #2f6b3a; }
.chip--g4 { background: #efe0f7; color: #6b3d91; }
.chip--g5 { background: #f4e4cc; color: #7d4f12; }
.chip--g6 { background: #dde6fb; color: #2f4fa8; }
.chip--town { background: #fff; color: var(--ink); }
.pic { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.pic span { padding: 0 18px; color: #fff; font-family: var(--head); font-size: 22px; font-weight: 800; text-align: center; text-shadow: 0 2px 10px rgba(0,0,0,.18); }
.g1 { background: linear-gradient(135deg, #7fd0e8, #1e88b5); }
.g2 { background: linear-gradient(135deg, #ffd9a0, #ff8a1f); }
.g3 { background: linear-gradient(135deg, #b9e3a7, #3d9a5b); }
.g4 { background: linear-gradient(135deg, #e7c9f5, #8a55b8); }
.g5 { background: linear-gradient(135deg, #ffe2b8, #c9792f); }
.g6 { background: linear-gradient(135deg, #bfd4ff, #3f63c7); }

/* Cajas: agenda, lo práctico, rankings */
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.box { padding: 24px; border-radius: 22px; background: #fff; }
.box h3 { margin: 6px 0 10px; font-size: 25px; }
.box ul { margin: 0 0 14px; padding: 0; list-style: none; }
.box li { padding: 10px 0; border-bottom: 1px solid #f1e8da; }
.box li a { color: var(--ink); font-weight: 600; font-size: 15.5px; text-decoration: none; }
.box li a:hover { color: var(--sun-d); }
.box li span { display: block; color: var(--muted); font-size: 13.5px; }
.box__more { color: var(--sea2); font-weight: 700; font-size: 15px; text-decoration: none; }

/* Calendario de fiestas (sección Fiestas y agenda) */
.cal { display: grid; grid-template-columns: 230px 1fr; gap: 18px; margin-bottom: 20px; }
.cal__months { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; align-content: start; }
.cal__months button { padding: 9px 0; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); font: 600 14px var(--font); cursor: pointer; }
.cal__months button.is-on { border-color: var(--sun); background: var(--sun); color: #fff; }
.cal__months button.has-events { box-shadow: inset 0 -3px 0 var(--sun); }
.cal__months button.is-on.has-events { box-shadow: none; }
.cal__events { min-height: 160px; padding: 8px 18px; border-radius: 18px; background: #fff; }
.cal__list { display: none; margin: 0; padding: 0; list-style: none; }
.cal__list.is-on { display: block; }
.cal__list li { padding: 12px 0; border-bottom: 1px solid #f1e8da; }
.cal__list li:last-child { border: 0; }
.cal__list a { color: var(--ink); font-weight: 700; text-decoration: none; }
.cal__list a:hover { color: var(--sun-d); }
.cal__list span { display: block; color: var(--muted); font-size: 14.5px; }
.cal__none { padding: 14px 0; color: var(--muted); }
.no-js .cal__list { display: block; }

/* Patrocinado y botones */
.featured { display: flex; flex-direction: column; justify-content: center; padding: 24px; border: 2px dashed var(--sun); border-radius: 20px; background: #fff; }
.featured small { color: #9a5200; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.featured b { margin: 6px 0; color: var(--ink); font-size: 21px; line-height: 1.25; }
.featured p { margin: 0 0 14px; font-size: 15px; }
.btn { display: inline-block; align-self: flex-start; padding: 11px 18px; border: 0; border-radius: 999px; background: var(--sun); color: #fff; font: 700 15px var(--font); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--sun-d); color: #fff; }

/* Listados */
.page-head { padding: 40px 0 8px; }
.page-head h1 { margin: 14px 0 0; font-size: 48px; }
.page-head p { max-width: 60ch; margin: 10px 0 0; font-size: 18px; }
.listing { padding: 28px 20px 20px; }
.page .page-head .wrap { max-width: 800px; }
.empty { max-width: 620px; padding: 28px; border-radius: 22px; background: #fff; }
.empty b { display: block; color: var(--ink); font-family: var(--head); font-size: 24px; line-height: 1.15; }
.empty p { margin: 8px 0 16px; }
.empty .btn { margin-top: 16px; }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; }
.pagination .page-numbers { padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; }
.pagination .current { border-color: var(--ink); background: var(--ink); color: #fff; }

/* Artículo */
.post-head { padding: 40px 0 6px; }
.post-head .wrap { max-width: 800px; }
.post-head .chip { margin-right: 6px; }
.post-head h1 { margin: 8px 0 12px; font-size: 46px; line-height: 1.05; }
.post-meta { color: var(--muted); font-size: 15px; }
.post-body { max-width: 800px; margin: 0 auto; padding: 24px 20px 10px; color: #3c4653; font-size: 18px; }
.post-body .wp-post-image { width: 100%; margin: 0 0 26px; border-radius: 22px; }
.post-body h2 { margin: 1.6em 0 .5em; font-size: 30px; }
.post-body h3 { margin: 1.5em 0 .4em; font-size: 23px; }
.post-body ul, .post-body ol { padding-left: 1.3em; }
.post-body li { margin: .35em 0; }
.post-body img { border-radius: 14px; }
.post-body figure { margin: 1.5em 0; }
.post-body figcaption { color: var(--muted); font-size: 14px; text-align: center; }
.post-body table { width: 100%; border-collapse: collapse; background: #fff; font-size: 16px; }
.post-body th, .post-body td { padding: 9px 10px; border: 1px solid var(--line); text-align: left; }
.post-body th { background: #f4e7d2; color: var(--ink); }
.photo-credit { margin: -18px 0 26px; color: var(--muted); font-size: 13px; text-align: right; }
.photo-credit a { color: inherit; }
.check-note { margin: 30px 0 0; padding: 14px 16px; border-left: 4px solid var(--sun); border-radius: 0 12px 12px 0; background: #fff; color: var(--ink); font-size: 15.5px; }
.related { padding: 30px 0 10px; }

/* Pie */
.site-footer { margin-top: 60px; padding: 30px 0; background: var(--ink); color: #aab4bf; font-size: 14.5px; }
.site-footer a { color: #fff; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 16px; margin: 0; padding: 0; list-style: none; }

/* Formularios */
.search-form { display: flex; max-width: 520px; gap: 8px; }
.search-form label { flex: 1; }
.search-form input[type="search"] { width: 100%; min-width: 0; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; font: 16px var(--font); }
.search-form input[type="submit"], .search-form button { padding: 0 18px; border: 0; border-radius: 12px; background: var(--sun); color: #fff; font: 700 15px var(--font); cursor: pointer; }

.grid > *, .cats > *, .cols > * { min-width: 0; }

@media (max-width: 1080px) {
	.nav ul { gap: 16px; }
	.bar__cta { display: none; }
}
@media (max-width: 1000px) {
	.cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hero h1 { font-size: 48px; }
}
@media (max-width: 900px) {
	.menu-toggle { display: block; }
	.nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; padding: 8px 20px 16px; border-bottom: 1px solid var(--line); background: var(--sand); }
	.nav.is-open { display: block; }
	.nav ul { flex-direction: column; gap: 0; }
	.nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
	.cal { grid-template-columns: 1fr; }
	.cal__months { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 782px) {
	.admin-bar .bar { top: 46px; }
}
@media (max-width: 760px) {
	.bar .wrap { min-height: 66px; }
	.brand__pin { width: 40px; height: 42px; }
	.brand__text b { font-size: 27px; }
	.brand__text small { font-size: 13px; }
	.hero { grid-template-columns: minmax(0, 1fr); gap: 14px; padding-top: 18px; }
	.hero h1 { font-size: 40px; }
	.hero__text > p { font-size: 17px; }
	.collage { height: 300px; }
	.c1 { height: 200px; } .c2 { height: 150px; } .c3 { height: 150px; }
	.collage--2 .c2 { height: 170px; }
	.tag { font-size: 13px; padding: 6px 10px; }
	.hero__credit { text-align: left; }
	.cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.cat { padding: 15px 13px; }
	.sec { padding-top: 34px; }
	.sec__head h2 { font-size: 29px; }
	.page-head h1 { font-size: 36px; }
	.post-head h1 { font-size: 34px; }
	.post-body { font-size: 17px; }
}
@media (max-width: 560px) {
	.grid, .grid--3 { grid-template-columns: minmax(0, 1fr); }
	.cal__months { grid-template-columns: repeat(4, 1fr); }
	.search-form { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Artículo 0.5 ---------- */
.read-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 30; height: 4px; pointer-events: none; }
.admin-bar .read-progress { top: 32px; }
.read-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--sun), #ffd34d); transform: scaleX(0); transform-origin: 0 50%; }
.post-hero { padding: 26px 0 0; }
.post-hero__box { position: relative; }
.post-hero__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.post-hero__chips .chip { margin: 0; }
.post-hero h1 { max-width: 22ch; margin: 0 0 14px; font-size: 52px; line-height: 1.02; }
.post-hero .post-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: 15px; }
.post-hero:not(.post-hero--img) .post-hero__text { max-width: 820px; padding: 14px 0 6px; }
.post-hero--img .post-hero__box { display: flex; align-items: flex-end; min-height: 520px; overflow: hidden; border-radius: 28px; background: var(--sea); box-shadow: 0 24px 60px rgba(22,33,44,.18); }
.post-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-hero--img .post-hero__box::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,30,48,0) 30%, rgba(8,30,48,.82) 100%); }
.post-hero--img .post-hero__text { position: relative; z-index: 1; padding: 40px 44px; }
.post-hero--img h1 { color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.post-hero--img .post-meta { color: rgba(255,255,255,.88); }
.post-hero--img .chip--town { background: rgba(255,255,255,.92); }
.post-hero .photo-credit { margin: 8px 4px 0; }
.post-layout { padding-top: 30px; }
.post-layout.has-toc { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 56px; align-items: start; max-width: 1100px; }
.post-layout .post-body { max-width: 720px; margin: 0; padding: 0; }
.post-layout:not(.has-toc) .post-body { margin: 0 auto; }
.post-body > p:first-of-type { color: var(--ink); font-size: 21px; line-height: 1.55; }
.post-body p { margin: 0 0 1.15em; }
.post-body h2 { position: relative; margin: 2em 0 .6em; padding-top: 18px; font-size: 31px; scroll-margin-top: 110px; }
.post-body h2::before { content: ""; position: absolute; top: 0; left: 0; width: 46px; height: 5px; border-radius: 9px; background: var(--sun); }
.post-body h3 { margin: 1.6em 0 .45em; color: var(--sea); font-size: 22px; }
.post-body a { color: var(--sea2); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255,138,31,.55); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.post-body a:hover { color: var(--sun-d); }
.post-body ul { margin: 0 0 1.3em; padding: 0; list-style: none; }
.post-body ul li { position: relative; margin: 0 0 .6em; padding-left: 26px; }
.post-body ul li::before { content: ""; position: absolute; top: .62em; left: 4px; width: 9px; height: 9px; border-radius: 50%; background: var(--sun); }
.post-body ol { margin: 0 0 1.3em; padding: 0; list-style: none; counter-reset: plz; }
.post-body ol li { position: relative; margin: 0 0 .75em; padding-left: 44px; counter-increment: plz; }
.post-body ol li::before { content: counter(plz); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sea); color: #fff; font: 800 15px var(--font); }
.post-body li strong { color: var(--ink); }
.post-body table { display: block; overflow-x: auto; max-width: 100%; margin: 0 0 1.5em; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 16px; background: #fff; font-size: 15.5px; }
.post-body th, .post-body td { padding: 10px 14px; border: 0; border-bottom: 1px solid #f1e8da; white-space: nowrap; }
.post-body th { background: var(--sea); color: #fff; font-weight: 700; }
.post-body tbody tr:nth-child(even) td { background: #fdf9f2; }
.post-body tbody tr:last-child td { border-bottom: 0; }
.post-body blockquote { margin: 1.5em 0; padding: 18px 22px; border-left: 5px solid var(--sun); border-radius: 0 16px 16px 0; background: #fff; color: var(--ink); font-size: 19px; }
.check-note { display: flex; gap: 14px; align-items: flex-start; margin: 34px 0 0; padding: 18px 20px; border: 0; border-radius: 18px; background: #fff3e3; color: var(--ink); font-size: 15.5px; }
.check-note span { font-size: 22px; line-height: 1.2; }
.check-note p { margin: 0 !important; }
.share { margin: 22px 0 0; padding: 22px; border-radius: 20px; background: var(--ink); color: #fff; }
.share b { display: block; margin-bottom: 12px; font-family: var(--head); font-size: 20px; }
.share__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.share__btn { display: inline-block; padding: 10px 16px; border: 0; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff !important; font: 700 14px var(--font); text-decoration: none !important; cursor: pointer; }
.share__btn:hover { background: rgba(255,255,255,.22); }
.share__btn--wa { background: #25d366; }
.share__btn--wa:hover { background: #1fb457; }
.post-side { position: sticky; top: 110px; }
.toc { border-radius: 20px; background: #fff; }
.toc--side { padding: 20px 20px 14px; }
.toc b, .toc summary { display: block; margin-bottom: 8px; color: var(--ink); font-family: var(--head); font-size: 18px; font-weight: 800; }
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc li { margin: 0; padding: 0; counter-increment: toc; }
.toc li::before { display: none; }
.toc a { display: flex; gap: 10px; padding: 7px 0; border-top: 1px solid #f1e8da; color: var(--text); font-size: 14.5px; font-weight: 500; line-height: 1.35; text-decoration: none; }
.toc a::before { content: counter(toc); flex: none; color: var(--sun-d); font-weight: 800; }
.toc a:hover, .toc a.is-on { color: var(--ink); font-weight: 700; }
.toc--mobile { display: none; margin: 0 0 24px; padding: 14px 18px; }
.toc--mobile summary { margin: 0; cursor: pointer; list-style: none; }
.toc--mobile summary::-webkit-details-marker { display: none; }
.toc--mobile summary::after { content: " ▾"; color: var(--sun-d); }
.toc--mobile[open] summary { margin-bottom: 8px; }
.toc--mobile li { padding-left: 0 !important; margin: 0 !important; }
@media (max-width: 1000px) {
	.post-layout.has-toc { display: block; }
	.post-side { display: none; }
	.toc--mobile { display: block; }
	.post-layout .post-body { margin: 0 auto; }
}
@media (max-width: 760px) {
	.post-hero { padding-top: 14px; }
	.post-hero--img .post-hero__box { min-height: 400px; border-radius: 22px; }
	.post-hero--img .post-hero__text { padding: 24px 20px; }
	.post-hero h1 { font-size: 33px; }
	.post-hero .post-meta { font-size: 13.5px; }
	.post-body > p:first-of-type { font-size: 19px; }
	.post-body h2 { font-size: 26px; }
	.post-body h3 { font-size: 20px; }
}
@media (max-width: 782px) {
	.admin-bar .read-progress { top: 46px; }
}.post-body .toc li { padding-left: 0; margin: 0; }
.post-body .toc li::before { display: none; }
.post-body .toc a { color: var(--text); font-weight: 500; text-decoration: none; }
.post-body .toc a:hover { color: var(--ink); }
/* ---------- Artículos con más vida 0.6 ---------- */
.post-body .datos { margin: 28px 0 32px; padding: 22px 24px; border-radius: 22px; background: #fff; box-shadow: 0 10px 30px rgba(22,33,44,.07); }
.datos__title { display: block; margin-bottom: 12px; color: var(--ink); font-family: var(--head); font-size: 21px; font-weight: 800; }
.post-body .datos ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; margin: 0; }
.post-body .datos li { margin: 0; padding: 0; color: var(--ink); font-size: 15.5px; line-height: 1.4; }
.post-body .datos li::before { display: none; }
.post-body .datos li span { display: block; margin-bottom: 2px; color: var(--sun-d); font-size: 12.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.post-body .foto { margin: 30px 0; }
.post-body .foto img { width: 100%; height: auto; border-radius: 20px; box-shadow: 0 14px 34px rgba(22,33,44,.14); }
.post-body .foto figcaption { margin-top: 8px; color: var(--muted); font-size: 13.5px; text-align: left; }
.post-body .foto figcaption a { color: inherit; font-weight: 500; text-decoration-color: rgba(111,122,135,.4); text-decoration-thickness: 1px; }
.post-body .curioso { margin: 28px 0; padding: 20px 22px 20px 64px; position: relative; border-radius: 20px; background: var(--sea); color: #d7ecf7; font-size: 16.5px; line-height: 1.55; }
.post-body .curioso::before { content: "💡"; position: absolute; left: 22px; top: 18px; font-size: 26px; }
.post-body .curioso b { display: block; margin-bottom: 4px; color: #ffd34d; font-family: var(--head); font-size: 19px; }
.post-body .mapa { margin: 28px 0; overflow: hidden; border-radius: 20px; background: #fff; box-shadow: 0 10px 30px rgba(22,33,44,.07); }
.post-body .mapa iframe { display: block; width: 100%; height: 340px; border: 0; }
.post-body .mapa a { display: block; padding: 10px 16px; font-size: 14px; }
.post-body ol.plan li { padding: 14px 16px 14px 58px; border-radius: 16px; background: #fff; }
.post-body ol.plan li::before { top: 14px; left: 16px; background: var(--sun); }
.post-body .faq { margin: 0 0 10px; border-radius: 16px; background: #fff; }
.post-body .faq summary { padding: 15px 48px 15px 18px; position: relative; color: var(--ink); font-weight: 700; cursor: pointer; list-style: none; }
.post-body .faq summary::-webkit-details-marker { display: none; }
.post-body .faq summary::after { content: "+"; position: absolute; right: 18px; top: 10px; color: var(--sun-d); font-size: 26px; font-weight: 400; }
.post-body .faq[open] summary::after { content: "−"; }
.post-body .faq p { margin: 0; padding: 0 18px 16px; }
@media (max-width: 560px) {
	.post-body .datos ul { grid-template-columns: 1fr; }
	.post-body .mapa iframe { height: 260px; }
	.post-body .curioso { padding-left: 22px; padding-top: 56px; }
}