/* El Poble Àrees — página «El alcalde» (diseño nuevo). Mismo lenguaje que noticias, agenda y directori. */
.epal {
  --a-paper: #fff; --a-panel: #f6f5f2; --a-band: #f2f2f2; --a-ink: #1d1c19; --a-ink-soft: #5c5850;
  --a-line: #e2dfd8; --a-gold: #c39001; --a-gold-text: #7a5800; --a-gold-tint: #f6eed6; --a-focus: #1e6fa8; --a-pad: 28px;
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif; font-size: 16px; line-height: 1.5; color: var(--a-ink);
}
.epal *, .epal *::before, .epal *::after { box-sizing: border-box; }
.epal a { color: inherit; }
.epal :focus-visible { outline: 3px solid var(--a-focus); outline-offset: 2px; border-radius: 4px; }
.epal ul, .epal ol { margin: 0; padding: 0; list-style: none; }
.epal li { margin: 0; }
.epal h1, .epal h2, .epal h3 { font-family: inherit; text-transform: none; color: var(--a-ink); letter-spacing: normal; }
.epal figure { margin: 0; }
.epal-in { max-width: 1360px; margin: 0 auto; padding-inline: var(--a-pad); }
.epal-ico { width: 20px; height: 20px; flex: none; }
.epal-vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Encabezado de página */
.epal-head { background: var(--a-panel); border-bottom: 1px solid var(--a-line); }
.epal-head .epal-in { padding-block: 22px 26px; display: grid; gap: 10px; }
.epal-crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--a-ink-soft); }
.epal-crumbs li + li::before { content: "\203A"; margin-right: 6px; }
.epal-crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.epal .epal-title { margin: 0; font-size: 38px; font-weight: 700; line-height: 1.15; letter-spacing: -.015em; }
.epal-lead { margin: 0; max-width: 62ch; color: var(--a-ink-soft); font-size: 17px; }

/* Fondo gris con escudos en marca de agua, como el directori */
.epal-body { position: relative; background: var(--a-band); isolation: isolate; }
.epal-body::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(../../../../../uploads/2026/01/Recurso-56@4x.png) center top / 110px auto repeat; opacity: .5; pointer-events: none; }
.epal-body > .epal-in { padding-block: 32px 56px; display: grid; gap: 40px; }
.epal-lay { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 32px; align-items: start; }

/* Tarjetas */
.epal-card { background: var(--a-paper); border: 1px solid var(--a-line); border-radius: 12px; overflow: hidden; }
.epal-side { display: grid; gap: 16px; position: sticky; top: 24px; }
.epal-photo { aspect-ratio: 4 / 3; background: var(--a-panel); }
.epal-photo img { width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; object-position: center 25%; display: block; border-radius: 0 !important; }
.epal-who-body { padding: 20px 22px 18px; border-top: 4px solid var(--a-gold); }
.epal-role { margin: 0 0 2px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--a-gold-text); }
.epal .epal-who h2 { margin: 0; font-size: 24px; font-weight: 700; line-height: 1.2; }
.epal-org { margin: 4px 0 0; color: var(--a-ink-soft); font-size: 15px; }
.epal-contact { padding: 18px 22px 22px; }
.epal .epal-contact h2 { margin: 0 0 12px; font-size: 17px; font-weight: 700; line-height: 1.3; }
.epal-acts { display: grid; gap: 8px; }
.epal-act { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border: 1px solid var(--a-line); border-radius: 8px; text-decoration: none; min-height: 52px; }
.epal-act:hover { border-color: var(--a-gold); background: var(--a-gold-tint); }
.epal-act > .epal-ico:first-child { color: var(--a-gold-text); }
.epal-act > span { display: grid; min-width: 0; flex: 1; line-height: 1.35; }
.epal-act b { font-weight: 600; }
.epal-act small { color: var(--a-ink-soft); font-size: 13px; overflow-wrap: anywhere; }
.epal-act .epal-ext { width: 16px; height: 16px; color: var(--a-ink-soft); }

/* Saluda */
.epal-letter { padding: 36px 44px 40px; font-size: 18px; line-height: 1.65; }
.epal-letter > * { max-width: 68ch; }
.epal .epal-letter h2 { margin: 0 0 18px; font-size: 26px; font-weight: 700; line-height: 1.2; }
.epal-letter p { margin: 0 0 1.05em; }
.epal-letter .epal-first { font-size: 21px; font-weight: 600; line-height: 1.45; }
.epal-letter blockquote { margin: 26px 0; padding: 4px 0 4px 22px; border: 0; border-left: 4px solid var(--a-gold); background: none; font-style: normal; }
.epal-letter blockquote p { margin: 0; font-size: 23px; font-weight: 600; line-height: 1.35; color: var(--a-gold-text); }
.epal-letter .epal-sign { margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--a-line); display: grid; gap: 2px; font-size: 16px; line-height: 1.4; }
.epal-sign b { font-size: 18px; }
.epal-sign span { color: var(--a-ink-soft); }

/* Enlaces relacionados */
.epal .epal-more h2 { margin: 0 0 14px; font-size: 22px; font-weight: 700; }
.epal-more ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.epal-more a { position: relative; display: grid; gap: 2px; padding: 18px 48px 18px 20px; background: var(--a-paper); border: 1px solid var(--a-line); border-radius: 10px; text-decoration: none; height: 100%; line-height: 1.35; }
.epal-more a:hover { border-color: var(--a-gold); background: var(--a-gold-tint); }
.epal-more b { font-size: 17px; }
.epal-more small { color: var(--a-ink-soft); font-size: 14px; }
.epal-more .epal-ico { position: absolute; right: 18px; top: 50%; margin-top: -10px; color: var(--a-gold-text); }

@media (max-width: 1099px) { .epal { --a-pad: 16px; } .epal-lay { grid-template-columns: 300px minmax(0, 1fr); } .epal-more ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } .epal-letter { padding: 30px 32px 34px; } }
@media (max-width: 860px) {
  .epal .epal-title { font-size: 30px; }
  .epal-lay { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .epal-side { display: contents; }
  .epal-who { display: grid; grid-template-columns: 140px minmax(0, 1fr); order: 1; }
  .epal-photo { aspect-ratio: auto; min-height: 150px; }
  .epal-who-body { border-top: 0; border-left: 4px solid var(--a-gold); align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
  .epal-letter { order: 2; padding: 24px 20px 28px; font-size: 17px; }
  .epal-contact { order: 3; }
  .epal-letter .epal-first { font-size: 19px; }
  .epal-letter blockquote p { font-size: 20px; }
}
@media (max-width: 520px) { .epal-more ul { grid-template-columns: minmax(0, 1fr); } .epal-who { grid-template-columns: 110px minmax(0, 1fr); } .epal .epal-who h2 { font-size: 20px; } }

/* ======================================================= Corporación municipal */
.epal-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.epal-jump a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px; background: var(--a-paper); border: 1px solid var(--a-line); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; }
.epal-jump a:hover { border-color: var(--a-gold); background: var(--a-gold-tint); }
.epal-jump span { min-width: 24px; padding: 1px 7px; border-radius: 999px; background: var(--a-panel); color: var(--a-ink-soft); font-size: 13px; text-align: center; }
.epal-corp .epal-body > .epal-in { gap: 44px; }
.epal-sec { scroll-margin-top: 90px; }
.epal-sh { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--a-gold); }
.epal .epal-sh h2 { margin: 0; font-size: 26px; font-weight: 700; line-height: 1.2; }
.epal-party { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 15px; font-weight: 600; color: var(--a-ink-soft); line-height: 1.3; }
.epal .epal-logo { width: 28px !important; height: 28px !important; border-radius: 50% !important; object-fit: contain; background: #fff; flex: none; }

.epal-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.epal-cards-sm { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.epal-cc { display: flex; flex-direction: column; background: var(--a-paper); border: 1px solid var(--a-line); border-radius: 12px; overflow: hidden; }
.epal-cc-photo { aspect-ratio: 4 / 3; background: var(--a-panel); }
.epal-cc-photo img { width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; display: block; border-radius: 0 !important; }
.epal-cc-b { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; }
.epal .epal-cc h3 { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.25; }
.epal-cc-role { margin: 0; align-self: flex-start; padding: 2px 10px; border-radius: 999px; background: var(--a-gold-tint); color: var(--a-gold-text); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.epal-cc-lbl { margin: 4px 0 0; font-size: 13px; font-weight: 600; color: var(--a-ink-soft); }
.epal-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.epal-tags li { padding: 3px 10px; border: 1px solid var(--a-line); border-radius: 6px; background: var(--a-panel); font-size: 14px; line-height: 1.4; }
.epal-cc-acts { margin-top: auto; padding-top: 10px; display: grid; gap: 8px; }
.epal-cc-acts a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 9px 12px; border: 1px solid var(--a-line); border-radius: 8px; text-decoration: none; font-size: 15px; line-height: 1.3; }
.epal-cc-acts a:hover { border-color: var(--a-gold); background: var(--a-gold-tint); }
.epal-cc-acts .epal-ico { width: 18px; height: 18px; color: var(--a-gold-text); }
.epal-cc-mail span { min-width: 0; overflow-wrap: anywhere; }
.epal-cc-more { justify-content: space-between; font-weight: 600; }
.epal-cards-sm .epal-cc-b { padding: 14px 16px 16px; }
.epal .epal-cards-sm h3 { font-size: 18px; }

@media (max-width: 1099px) { .epal-cards, .epal-cards-sm { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .epal-cards, .epal-cards-sm { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  /* Foto pequeña junto al nombre; concejalías y correo a todo el ancho */
  .epal-cc { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; column-gap: 14px; padding: 14px; }
  .epal-cc-b { display: contents; }
  .epal-cc-photo { grid-row: 1 / span 2; grid-column: 1; align-self: start; aspect-ratio: 1; border-radius: 8px; overflow: hidden; }
  .epal .epal-cc h3, .epal-cc-role, .epal-cc .epal-party { grid-column: 2; }
  .epal .epal-cc h3 { font-size: 18px; align-self: end; }
  .epal .epal-cc:not(.epal-cc-mayor) h3 { grid-row: 1 / span 2; align-self: center; }
  .epal .epal-cards-sm .epal-cc h3 { grid-row: 1; align-self: end; }
  .epal-cards-sm .epal-party { grid-row: 2; align-self: start; }
  .epal-cc-role { align-self: end; justify-self: start; }
  .epal .epal-cc-mayor h3 { grid-row: 2; align-self: start; }
  .epal-cc-lbl, .epal-tags, .epal-cc-acts { grid-column: 1 / -1; }
  .epal-cc-lbl { margin-top: 12px; }
  .epal-tags { margin-top: 6px; }
  .epal-cc-acts { margin-top: 4px; }
  .epal-cc-mail { font-size: 14px !important; }
}

/* ======================================================= Plenos */
.epal-plens .epal-body > .epal-in { grid-template-columns: minmax(0, 1fr); }
.epal-plens .epal-body > .epal-in > * { min-width: 0; }
.epal-pl-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; }
.epal-pl-last, .epal-pl-what { background: var(--a-paper); border: 1px solid var(--a-line); border-radius: 12px; padding: 26px 28px; }
.epal-pl-last { border-top: 4px solid var(--a-gold); display: flex; flex-direction: column; }
.epal-kicker { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--a-gold-text); }
.epal .epal-pl-last h2 { margin: 0; font-size: 30px; font-weight: 700; line-height: 1.2; }
.epal-pl-date { margin: 4px 0 0; font-size: 19px; color: var(--a-ink-soft); }
.epal-pl-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 22px; }
.epal .epal-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 18px; border-radius: 8px; background: var(--a-ink); color: #fff; text-decoration: none; font-weight: 600; line-height: 1.2; }
.epal .epal-btn:hover { background: #3a372f; color: #fff; }
.epal .epal-btn-ghost { background: var(--a-paper); color: var(--a-ink); border: 1px solid var(--a-line); }
.epal .epal-btn-ghost:hover { border-color: var(--a-gold); background: var(--a-gold-tint); color: var(--a-ink); }
.epal-btn-ghost .epal-ext { width: 16px; height: 16px; color: var(--a-ink-soft); }
.epal .epal-pl-what h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 19px; font-weight: 700; }
.epal-pl-what h2 .epal-ico { color: var(--a-gold-text); }
.epal-pl-what p { margin: 0 0 12px; color: var(--a-ink-soft); }
.epal-pl-what p a { color: var(--a-ink); text-decoration: underline; text-underline-offset: 3px; }
.epal-pl-types { display: grid; gap: 6px; font-size: 15px; color: var(--a-ink-soft); }
.epal-pl-types b { display: inline-block; min-width: 118px; color: var(--a-ink); }

.epal-pl-arch .epal-sh { align-items: baseline; }
.epal-pl-count { margin: 0; color: var(--a-ink-soft); font-size: 15px; }
.epal-pl-years { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.epal-pl-years[hidden] { display: none; }
.epal .epal-pl-years button { min-height: 40px; min-width: 56px; padding: 6px 14px; border: 1px solid var(--a-line); border-radius: 999px; background: var(--a-paper); color: var(--a-ink); font: inherit; font-size: 15px; font-weight: 600; line-height: 1.2; cursor: pointer; text-transform: none; letter-spacing: normal; }
.epal .epal-pl-years button:hover, .epal .epal-pl-years button:focus { border-color: var(--a-gold); background: var(--a-gold-tint); color: var(--a-ink); }
.epal .epal-pl-years button[aria-pressed="true"] { background: var(--a-ink); border-color: var(--a-ink); color: #fff; }
.epal-pl-yr[hidden] { display: none; }
.epal-pl-yr + .epal-pl-yr { margin-top: 26px; }
.epal .epal-pl-yr h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 20px; font-weight: 700; }
.epal-pl-yr h3 span { padding: 1px 8px; border-radius: 999px; background: var(--a-panel); color: var(--a-ink-soft); font-size: 13px; font-weight: 600; }
.epal-pl-yr ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; }
.epal-pl-yr a { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 14px; background: var(--a-paper); border: 1px solid var(--a-line); border-radius: 10px; text-decoration: none; }
.epal-pl-yr a:hover { border-color: var(--a-gold); background: var(--a-gold-tint); }
.epal-pl-d { display: grid; place-items: center; width: 56px; min-height: 44px; padding: 2px 4px; border-radius: 8px; background: var(--a-panel); font-size: 12px; line-height: 1.15; color: var(--a-ink-soft); text-align: center; flex: none; }
.epal-pl-d b { font-size: 20px; color: var(--a-ink); }
.epal-pl-t { display: grid; gap: 2px; min-width: 0; flex: 1; }
.epal-pl-ty { justify-self: start; padding: 1px 8px; border-radius: 6px; font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; background: var(--a-panel); color: var(--a-ink-soft); }
.epal-pl-ty-o { background: var(--a-gold-tint); color: var(--a-gold-text); }
.epal-pl-ty-u { background: #fbeceb; color: #9a1f17; }
.epal-pl-ty-i { background: #e8f0f7; color: #1d4f7a; }
.epal-pl-n { font-size: 16px; font-weight: 500; line-height: 1.35; }
.epal-pl-go { display: inline-flex; align-items: center; gap: 6px; color: #8f1d1d; font-weight: 600; font-size: 15px; flex: none; }

@media (max-width: 860px) { .epal-pl-top { grid-template-columns: minmax(0, 1fr); } .epal-pl-yr ul { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .epal-pl-last, .epal-pl-what { padding: 20px; }
  .epal .epal-pl-last h2 { font-size: 24px; }
  .epal-pl-acts .epal-btn { flex: 1 1 100%; justify-content: center; }
  .epal-pl-years { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--a-pad) * -1); padding-inline: var(--a-pad); scrollbar-width: none; }
  .epal .epal-pl-years button { flex: none; }
  .epal-pl-go-l { display: none; }
  .epal-pl-types b { display: block; min-width: 0; }
}

/* ======================================================= Farmacia de guardia */
.epal-farm .epal-body > .epal-in { grid-template-columns: minmax(0, 1fr); }
.epal-farm .epal-body > .epal-in > * { min-width: 0; }
.epal-fa-top { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; }
.epal-fa-now { background: var(--a-paper); border: 1px solid var(--a-line); border-top: 6px solid #1f6b3a; border-radius: 12px; padding: 26px 30px 28px; }
.epal-fa-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #1f6b3a; }
.epal-fa-kicker .epal-ico { width: 18px; height: 18px; }
.epal-fa-home { padding: 2px 8px; border-radius: 6px; background: #e7f3eb; letter-spacing: .02em; }
.epal-fa-home[hidden] { display: none; }
.epal .epal-fa-now h2 { margin: 0 0 12px; font-size: 32px; font-weight: 700; line-height: 1.2; }
.epal .epal-fa-now h2[hidden], .epal-fa-now [hidden] { display: none !important; }
.epal-fa-addr, .epal-fa-when { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 8px; font-size: 18px; }
.epal-fa-addr .epal-ico, .epal-fa-when .epal-ico { margin-top: 3px; color: var(--a-ink-soft); }
.epal-fa-when { color: #1f6b3a; font-weight: 600; }
.epal-fa-none { margin: 0; font-size: 18px; }
.epal-fa-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.epal-fa-sos { background: #fbeceb; border: 1px solid #ecc9c6; border-radius: 12px; padding: 22px 24px; }
.epal .epal-fa-sos h2 { margin: 0 0 6px; font-size: 19px; font-weight: 700; color: #7d1a14; }
.epal-fa-sos p { margin: 0 0 14px; color: #5e2a26; }
.epal-fa-sos ul { display: grid; gap: 8px; }
.epal-fa-sos a { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 12px; background: var(--a-paper); border: 1px solid #ecc9c6; border-radius: 10px; text-decoration: none; line-height: 1.3; }
.epal-fa-sos a:hover { border-color: #b3261e; }
.epal-fa-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #b3261e; color: #fff; flex: none; }
.epal-fa-ic .epal-ico { width: 18px; height: 18px; }
.epal-fa-sos b { display: block; font-size: 17px; }
.epal-fa-sos small { color: var(--a-ink-soft); font-size: 13px; }
.epal-fa-next .epal-sh p, .epal-fa-all .epal-sh p { margin: 0; color: var(--a-ink-soft); font-size: 15px; }
.epal-fa-next .epal-sh, .epal-fa-all .epal-sh { align-items: baseline; }
.epal-fa-days { display: grid; gap: 8px; }
.epal-fa-days li[hidden] { display: none; }
.epal-fa-days li { display: flex; align-items: center; gap: 16px; padding: 12px 14px; background: var(--a-paper); border: 1px solid var(--a-line); border-radius: 10px; }
.epal-fa-dd { display: grid; place-items: center; width: 60px; min-height: 52px; border-radius: 8px; background: var(--a-panel); font-size: 13px; line-height: 1.1; color: var(--a-ink-soft); flex: none; }
.epal-fa-dd b { font-size: 22px; color: var(--a-ink); }
.epal-fa-dn { display: grid; gap: 1px; min-width: 0; flex: 1; line-height: 1.35; }
.epal-fa-wd { font-size: 13px; font-weight: 600; color: var(--a-gold-text); }
.epal-fa-dn b { font-size: 17px; }
.epal-fa-ad { color: var(--a-ink-soft); font-size: 15px; }
.epal-fa-tag { padding: 2px 8px; border-radius: 6px; background: #e7f3eb; color: #1f6b3a; font-size: 13px; font-weight: 700; flex: none; }
.epal-fa-mp { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--a-line); border-radius: 8px; color: var(--a-ink-soft); flex: none; }
.epal-fa-mp:hover { border-color: var(--a-gold); background: var(--a-gold-tint); color: var(--a-ink); }
.epal-fa-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.epal-fa-cards li { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; background: var(--a-paper); border: 1px solid var(--a-line); border-radius: 10px; line-height: 1.35; }
.epal-fa-cards b { font-size: 16px; }
.epal-fa-cards span { color: var(--a-ink-soft); font-size: 15px; }
.epal-fa-cards .epal-fa-town { color: var(--a-ink); font-weight: 600; }
.epal-fa-cards a { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 15px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.epal-fa-cards a:last-child { margin-top: auto; padding-top: 8px; }
.epal-fa-cards a .epal-ico { width: 15px; height: 15px; }
@media (max-width: 1099px) { .epal-fa-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .epal-fa-top { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .epal-fa-now { padding: 20px; }
  .epal .epal-fa-now h2 { font-size: 25px; }
  .epal-fa-addr, .epal-fa-when { font-size: 17px; }
  .epal-fa-acts .epal-btn { flex: 1 1 100%; justify-content: center; }
  .epal-fa-days li { gap: 10px; padding: 10px 12px; }
  .epal-fa-tag { display: none; }
  .epal-fa-cards { grid-template-columns: minmax(0, 1fr); }
}

/* ======================================================= Cómo llegar */
.epal-arr .epal-body > .epal-in { grid-template-columns: minmax(0, 1fr); }
.epal-arr .epal-body > .epal-in > * { min-width: 0; }
.epal-ar-dest { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.epal-ar-card { display: flex; flex-direction: column; gap: 14px; background: var(--a-paper); border: 1px solid var(--a-line); border-top: 4px solid var(--a-gold); border-radius: 12px; padding: 24px 26px; }
.epal-ar-sea { border-top-color: #1d5f7a; }
.epal-ar-ch { display: flex; align-items: center; gap: 14px; }
.epal-ar-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--a-gold-tint); color: var(--a-gold-text); flex: none; }
.epal-ar-sea .epal-ar-ic { background: #e6f1f6; color: #1d5f7a; }
.epal-ar-ic .epal-ico { width: 24px; height: 24px; }
.epal-ar-k { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--a-ink-soft); }
.epal .epal-ar-card h2 { margin: 0; font-size: 26px; font-weight: 700; line-height: 1.2; }
.epal-ar-facts { display: grid; gap: 8px; font-size: 17px; }
.epal-ar-facts li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.4; }
.epal-ar-facts .epal-ico { margin-top: 2px; color: var(--a-ink-soft); }
.epal-ar-facts a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.epal-ar-txt { margin: 0; font-size: 17px; color: var(--a-ink-soft); }
.epal-ar-acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }
.epal-ar-acts .epal-btn-ghost .epal-ico { width: 18px; height: 18px; color: var(--a-gold-text); }
.epal-ar-two { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.epal .epal-ar-h { margin: 0 0 14px; font-size: 22px; font-weight: 700; line-height: 1.2; }
.epal-ar-map { display: grid; place-items: center; align-content: center; gap: 12px; min-height: 320px; padding: 24px; background: var(--a-paper) repeating-linear-gradient(45deg, #f6f5f2 0 12px, #fff 12px 24px); border: 1px solid var(--a-line); border-radius: 12px; text-align: center; color: var(--a-ink-soft); }
.epal-ar-map p { margin: 0; max-width: 40ch; }
.epal-ar-map.is-on { display: block; padding: 0; overflow: hidden; }
.epal-ar-map iframe { display: block; width: 100%; height: 420px; border: 0; }
.epal .epal-ar-map button { cursor: pointer; font: inherit; font-weight: 600; text-transform: none; letter-spacing: normal; }
.epal-ar-other ul { display: grid; gap: 10px; }
.epal-ar-other a { display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 12px 16px; background: var(--a-paper); border: 1px solid var(--a-line); border-radius: 10px; text-decoration: none; }
.epal-ar-other a:hover { border-color: var(--a-gold); background: var(--a-gold-tint); }
.epal-ar-other .epal-ar-ic { width: 42px; height: 42px; }
.epal-ar-other .epal-ar-ic .epal-ico { width: 20px; height: 20px; }
.epal-ar-tx { display: grid; flex: 1; line-height: 1.35; }
.epal-ar-tx b { font-size: 17px; }
.epal-ar-tx small { color: var(--a-ink-soft); font-size: 14px; }
.epal-ar-go { color: var(--a-gold-text); }
.epal-ar-about-in { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; }
.epal-ar-chips { display: grid; gap: 10px; }
.epal-ar-chips li { display: grid; padding: 14px 16px; background: var(--a-paper); border: 1px solid var(--a-line); border-radius: 10px; line-height: 1.25; }
.epal-ar-chips b { font-size: 22px; }
.epal-ar-chips span { color: var(--a-ink-soft); font-size: 14px; }
.epal-ar-txtbox { background: var(--a-paper); border: 1px solid var(--a-line); border-radius: 12px; padding: 26px 30px; font-size: 17px; line-height: 1.65; }
.epal-ar-txtbox p { margin: 0 0 1em; max-width: 72ch; }
.epal-ar-txtbox p:last-child { margin-bottom: 0; }
.epal-ar-about .epal-sh { margin-bottom: 18px; }
@media (max-width: 860px) { .epal-ar-dest, .epal-ar-two { grid-template-columns: minmax(0, 1fr); } .epal-ar-about-in { grid-template-columns: minmax(0, 1fr); } .epal-ar-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .epal-ar-card { padding: 20px; }
  .epal .epal-ar-card h2 { font-size: 23px; }
  .epal-ar-acts .epal-btn { flex: 1 1 100%; justify-content: center; }
  .epal-ar-chips { grid-template-columns: minmax(0, 1fr); }
  .epal-ar-chips li { grid-template-columns: auto 1fr; align-items: baseline; gap: 10px; }
  .epal-ar-txtbox { padding: 20px; }
  .epal-ar-map { min-height: 220px; }
  .epal-ar-map iframe { height: 320px; }
}

/* ===================== Áreas: índice y ficha (0.6.0) ===================== */
/* Icono original del área (SVG de línea blanco) sobre la foto original de los mosaicos, con velo marrón */
.epal-aic { position: relative; display: grid; place-items: center; overflow: hidden; flex: none; background: #302203 url(../../../../../uploads/2025/11/470207883_898085515744055_5504986409331554350_n-768x432.jpg) center / cover; }
.epal-aic::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(48,34,3,.62), rgba(48,34,3,.86)); transition: opacity .2s; }
.epal-aic img { position: relative; display: block; width: 58%; height: auto !important; max-width: none; border-radius: 0 !important; transition: transform .2s; }
.epal-area-ttl { display: flex; align-items: center; gap: 20px; }
.epal-aic-lg { width: 88px; height: 88px; border-radius: 16px; }
.epal-aic-lg img { width: 64%; }

/* Buscador del índice */
.epal-find { display: flex; align-items: center; gap: 10px; max-width: 520px; margin-top: 6px; padding: 0 14px; min-height: 52px; background: var(--a-paper); border: 1px solid #cfcac0; border-radius: 10px; }
.epal-find:focus-within { outline: 3px solid var(--a-focus); outline-offset: 2px; }
.epal-find .epal-ico { color: var(--a-ink-soft); }
.epal .epal-find input { flex: 1; min-width: 0; width: auto; height: auto; margin: 0; padding: 12px 0; border: 0; border-radius: 0; background: none; box-shadow: none; font: inherit; font-size: 17px; color: var(--a-ink); outline: none; }
.epal-empty { margin: 0; padding: 18px 20px; background: var(--a-paper); border: 1px solid var(--a-line); border-radius: 10px; }
.epal-empty a { font-weight: 600; text-underline-offset: 3px; }
.epal-grp[hidden], .epal-tiles li[hidden], .epal-empty[hidden] { display: none !important; }

/* Mosaicos */
.epal-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.epal-tiles a { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; background: var(--a-paper); border: 1px solid var(--a-line); border-radius: 12px; text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.epal-tiles .epal-aic { width: 100%; aspect-ratio: 16 / 8; }
.epal-tiles .epal-aic img { width: 34%; }
.epal-at-b { display: block; padding: 14px 44px 16px 16px; border-top: 3px solid var(--a-gold); }
.epal-at-b b { display: block; font-size: 18px; line-height: 1.25; }
.epal-at-b small { display: block; margin-top: 3px; color: var(--a-ink-soft); font-size: 14px; line-height: 1.4; }
.epal-at-go { position: absolute; right: 16px; bottom: 18px; width: 18px; height: 18px; color: var(--a-gold-text); transition: transform .2s; }
.epal-tiles a:hover { border-color: var(--a-gold); box-shadow: 0 8px 22px rgba(48,34,3,.14); transform: translateY(-3px); }
.epal-tiles a:hover .epal-aic::before { opacity: .8; }
.epal-tiles a:hover .epal-aic img { transform: scale(1.06); }
.epal-tiles a:hover .epal-at-go { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .epal-tiles a, .epal-tiles a:hover, .epal-aic img, .epal-at-go { transition: none; transform: none !important; } }

/* Portal turístico */
.epal-promo { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px 32px; padding: 30px 34px; border-radius: 12px; color: #fff; background: linear-gradient(90deg, rgba(31,24,6,.86), rgba(31,24,6,.55)), var(--bg) center / cover; }
.epal-promo img { display: block; width: 220px; height: auto; margin-bottom: 12px; }
.epal .epal-promo h2 { margin: 0 0 4px; font-size: 24px; color: #fff; }
.epal-promo p { margin: 0; color: #f1ece0; }
.epal .epal-promo-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 10px 18px; border-radius: 8px; background: #fff; color: var(--a-ink); text-decoration: none; font-weight: 600; }
.epal .epal-promo-btn:hover { background: var(--a-gold-tint); }
.epal-promo-btn .epal-ico { width: 16px; height: 16px; }

/* Ficha */
.epal-area-lay { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; align-items: start; }
.epal-area-lay > * { min-width: 0; }
.epal-box { background: var(--a-paper); border: 1px solid var(--a-line); border-radius: 12px; padding: 26px 30px; }
.epal .epal-prose h2 { margin: 0 0 12px; font-size: 24px; font-weight: 700; }
.epal-prose-in { font-size: 17px; overflow-wrap: anywhere; }
.epal-prose-in p { margin: 0 0 16px; max-width: 72ch; }
.epal-prose-in a { font-weight: 600; text-underline-offset: 3px; }
.epal-prose-in h2, .epal-prose-in h3, .epal-prose-in h4 { margin: 22px 0 10px; font-size: 20px; }
.epal-prose-in img { max-width: 100%; height: auto; border-radius: 8px; }
.epal .epal-dots { display: grid; gap: 12px; margin: 0 0 16px; }
.epal-dots li { position: relative; padding-left: 22px; max-width: 72ch; }
.epal-dots li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--a-gold); }
.epal-prose-in ul:not(.epal-dots) { display: grid; gap: 8px; margin: 0 0 16px; padding-left: 22px; list-style: disc; }
.epal-tablebox { overflow-x: auto; margin: 0 0 16px; border: 1px solid var(--a-line); border-radius: 10px; }
.epal-tablebox table { width: 100%; min-width: 560px; margin: 0; border-collapse: collapse; font-size: 15px; }
.epal-tablebox th, .epal-tablebox td { padding: 10px 12px; border: 0; border-bottom: 1px solid var(--a-line); text-align: left; vertical-align: top; }
.epal-tablebox tr:first-child td, .epal-tablebox th { background: var(--a-panel); font-weight: 700; }
.epal-tablebox tr:last-child td { border-bottom: 0; }
.epal-soon { margin: 0; padding: 16px 18px; background: var(--a-panel); border-radius: 10px; font-size: 17px; }
.epal-webbtn { margin: 16px 0 0; }
.epal-upd { margin: 20px 0 0; padding-top: 14px; border-top: 1px solid var(--a-line); color: var(--a-ink-soft); font-size: 14px; }

.epal-area-side { display: grid; gap: 20px; }
.epal-resp { padding: 0; overflow: hidden; }
.epal-resp-lbl { margin: 0; padding: 18px 24px 0; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--a-gold-text); }
.epal-resp-b { display: flex; gap: 16px; align-items: center; padding: 12px 24px 20px; }
.epal-resp-b img { width: 84px !important; height: 84px !important; max-width: none; border-radius: 50% !important; object-fit: cover; object-position: 50% 25%; flex: none; }
.epal .epal-resp h3 { margin: 0 0 2px; font-size: 18px; font-weight: 700; line-height: 1.25; }
.epal-resp-b p { margin: 0; color: var(--a-ink-soft); font-size: 15px; }
.epal-resp-f { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 14px 24px; border-top: 1px solid var(--a-line); background: var(--a-panel); font-size: 15px; }
.epal-resp-f a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-underline-offset: 3px; overflow-wrap: anywhere; }
.epal-resp-f .epal-ico { width: 16px; height: 16px; }

.epal-ct { border-top: 6px solid var(--a-gold); padding: 22px 24px 24px; }
.epal .epal-ct h2 { margin: 0 0 14px; font-size: 20px; font-weight: 700; }
.epal-ct-l { display: grid; gap: 10px; }
.epal-ct-big { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 14px; border: 1px solid var(--a-line); border-radius: 10px; text-decoration: none; }
.epal-ct-big:hover { border-color: var(--a-gold); background: var(--a-gold-tint); }
.epal-ct-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--a-ink); color: #fff; flex: none; }
.epal-ct-ic .epal-ico { width: 18px; height: 18px; }
.epal-ct-big b { display: block; font-size: 17px; overflow-wrap: anywhere; }
.epal-ct-mail b { font-size: 15px; }
.epal-ct-big small { color: var(--a-ink-soft); font-size: 14px; }
.epal-ct-row { display: flex; align-items: flex-start; gap: 12px; padding: 6px 2px 0; }
.epal-ct-row .epal-ico { margin-top: 2px; color: var(--a-ink-soft); }
.epal-ct-row a { font-weight: 600; text-underline-offset: 3px; }

.epal-arel .epal-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.epal-arel .epal-at-b small { display: none; }
.epal-all { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-underline-offset: 3px; }
.epal-all .epal-ico { width: 18px; height: 18px; color: var(--a-gold-text); }

@media (max-width: 1199px) { .epal-tiles, .epal-arel .epal-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1099px) { .epal-area-lay { grid-template-columns: minmax(0, 1fr); } .epal-area-side { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
@media (max-width: 860px) { .epal-tiles, .epal-arel .epal-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .epal-area-side { grid-template-columns: minmax(0, 1fr); } .epal-promo { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .epal-area-ttl { gap: 14px; } .epal-aic-lg { width: 68px; height: 68px; border-radius: 14px; }
  .epal-tiles, .epal-arel .epal-tiles { grid-template-columns: minmax(0, 1fr); }
  .epal-tiles a { flex-direction: row; align-items: stretch; }
  .epal-tiles .epal-aic { width: 96px; aspect-ratio: auto; min-height: 84px; }
  .epal-tiles .epal-aic img { width: 62%; }
  .epal-at-b { align-self: stretch; display: flex; flex-direction: column; justify-content: center; border-top: 0; border-left: 3px solid var(--a-gold); padding: 12px 40px 12px 14px; }
  .epal-at-go { top: 50%; bottom: auto; margin-top: -9px; }
  .epal-box { padding: 20px; }
  .epal-prose-in { font-size: 16px; }
  .epal-promo { padding: 24px 20px; } .epal-promo img { width: 180px; } .epal .epal-promo-btn { justify-content: center; }
}
.epal-prose-in a, .epal-ct-row a, .epal-resp-f a, .epal-all, .epal-empty a { text-decoration: underline; }
.epal-tablebox td:last-child { white-space: nowrap; }
.epal-aic img { max-height: 74%; object-fit: contain; }
@media (max-width: 600px) { .epal-tiles .epal-aic img { width: auto; max-width: 62%; height: 70% !important; } }

/* ===================== Ordenanzas (0.7.0) ===================== */
.epal-ord-lay { grid-template-columns: 300px minmax(0, 1fr) !important; gap: 28px !important; align-items: start; }
.epal-ord-lay > * { min-width: 0; }
.epal-ord-side { position: sticky; top: 20px; display: grid; gap: 16px; }
.epal .epal-ord-box { margin: 0; min-width: 0; background: var(--a-paper); border: 1px solid var(--a-line); border-radius: 12px; padding: 18px 20px; }
.epal .epal-ord-box h2, .epal .epal-ord-box legend { float: left; width: 100%; margin: 0 0 10px; padding: 0; font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--a-gold-text); }
.epal-ord-box .epal-find { margin: 0; max-width: none; min-height: 48px; }
.epal-ord-opts { clear: both; display: grid; gap: 4px; }
.epal-ord-opts label { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px 10px; border-radius: 8px; cursor: pointer; }
.epal-ord-opts label:hover { background: var(--a-panel); }
.epal .epal-ord-opts input { width: 18px; height: 18px; margin: 0; accent-color: var(--a-ink); }
.epal-ord-opts label:has(input:checked) { background: var(--a-gold-tint); font-weight: 600; }
.epal-ord-n { margin-left: auto; color: var(--a-ink-soft); font-size: 14px; }
.epal-ord-note { background: var(--a-gold-tint) !important; border-color: #e7d7a6 !important; }
.epal-ord-note p { margin: 0 0 10px; font-size: 15px; }
.epal-ord-note a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.epal-ord-note .epal-ico { width: 16px; height: 16px; }
.epal .epal-ord-toggle { display: none; }
.epal-ord-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.epal-ord-bar p { margin: 0; color: var(--a-ink-soft); }
.epal-ord-bar b { color: var(--a-ink); }
.epal .epal-ord-reset, .epal .epal-ord-more { min-height: 40px; padding: 6px 14px; border: 1px solid var(--a-line); border-radius: 8px; background: var(--a-paper); color: var(--a-ink); font: inherit; font-size: 15px; cursor: pointer; }
.epal .epal-ord-reset:hover, .epal .epal-ord-more:hover { border-color: var(--a-gold); background: var(--a-gold-tint); }
.epal .epal-ord-more { display: block; width: 100%; margin-top: 20px; min-height: 48px; font-weight: 600; }
.epal-ord-more[hidden], .epal-ord-reset[hidden], .epal-ord-empty[hidden], .epal-ord-year[hidden], .epal-ord-doc[hidden] { display: none !important; }
.epal-ord-year + .epal-ord-year { margin-top: 28px; }
.epal .epal-ord-year h2 { display: flex; align-items: baseline; gap: 10px; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 2px solid var(--a-gold); font-size: 24px; font-weight: 700; }
.epal-ord-year h2 small { font-size: 15px; font-weight: 400; color: var(--a-ink-soft); }
.epal-ord-docs { display: grid; gap: 8px; }
.epal-ord-doc { display: flex; align-items: center; gap: 16px; padding: 12px 14px; background: var(--a-paper); border: 1px solid var(--a-line); border-radius: 10px; }
.epal-ord-dd { display: grid; place-items: center; width: 60px; min-height: 54px; border-radius: 8px; background: var(--a-panel); font-size: 13px; line-height: 1.1; color: var(--a-ink-soft); flex: none; text-align: center; }
.epal-ord-dd b { font-size: 21px; color: var(--a-ink); }
.epal-ord-dt { flex: 1; min-width: 0; display: grid; gap: 4px; }
.epal-ord-dt > b { font-size: 16.5px; line-height: 1.35; font-weight: 600; overflow-wrap: anywhere; }
.epal-ord-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.epal-ord-tag { padding: 1px 8px; border-radius: 6px; background: var(--a-panel); color: var(--a-ink-soft); font-size: 13px; font-weight: 600; }
.epal-ord-t-definitiva { background: #e7f3eb; color: #1f6b3a; }
.epal-ord-t-inicial { background: #e8f0f8; color: #1e5a8a; }
.epal-ord-t-provisional { background: #f6eed6; color: #7a5800; }
.epal-ord-pdf { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--a-line); border-radius: 8px; text-decoration: none; font-weight: 600; flex: none; }
.epal-ord-pdf:hover { border-color: var(--a-gold); background: var(--a-gold-tint); }
.epal-ord-pdf .epal-ico { color: #b3261e; }
.epal-ord-empty { margin: 0; padding: 20px; background: var(--a-paper); border: 1px solid var(--a-line); border-radius: 10px; }
@media (max-width: 960px) {
  .epal-ord-lay { grid-template-columns: minmax(0, 1fr) !important; }
  .epal-ord-side { position: static; }
  .epal-ord-side .epal-ord-f { display: none; }
  .epal-ord-side.is-open .epal-ord-f { display: block; }
  .epal .epal-ord-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 8px 16px; border: 1px solid #cfcac0; border-radius: 10px; background: var(--a-paper); color: var(--a-ink); font: inherit; font-weight: 600; cursor: pointer; }
}
@media (max-width: 600px) {
  .epal-ord-doc { flex-wrap: wrap; gap: 12px; }
  .epal-ord-dd { width: 52px; min-height: 48px; }
  .epal-ord-dt { flex-basis: calc(100% - 64px); }
  .epal-ord-pdf { width: 100%; justify-content: center; }
}

/* ===================== Anuncios (0.8.0) ===================== */
.epal-anu-lay { grid-template-columns: minmax(0, 1fr) 320px !important; gap: 28px !important; align-items: start; }
.epal-anu-lay > * { min-width: 0; }
.epal-anu-side { display: grid; gap: 16px; position: sticky; top: 20px; }
.epal .epal-anu-board h2 { float: none; text-transform: none; letter-spacing: 0; font-size: 18px; color: var(--a-ink); }
.epal-anu-board p { margin: 0 0 12px; font-size: 15px; color: var(--a-ink-soft); }
.epal .epal-anu-btn { display: flex; justify-content: center; width: 100%; }
.epal-anu-btn .epal-ico { width: 16px; height: 16px; }
.epal-anu-miss { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; border: 1px dashed #cfcac0; border-radius: 8px; color: var(--a-ink-soft); font-size: 14px; flex: none; }
.epal-anu-miss .epal-ico { width: 18px; height: 18px; }
.epal-anu-t-sub { background: #e7f3eb; color: #1f6b3a; }
.epal-anu-t-ban { background: #f6eed6; color: #7a5800; }
.epal-anu-t-llista { background: #e8f0f8; color: #1e5a8a; }
@media (max-width: 960px) { .epal-anu-lay { grid-template-columns: minmax(0, 1fr) !important; } .epal-anu-side { position: static; } }
@media (max-width: 600px) { .epal-anu-miss { width: 100%; justify-content: center; } }

/* ===================== Archivos de categoría (0.9.0) ===================== */
.epal-cat-all { margin: 0; }
.epal-cat-all a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ===================== Aparcamiento Cala Moraig (0.10.0) ===================== */
.epal-pk-now { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding: 26px 30px; border-radius: 14px; background: #1f6b3a; color: #fff; }
.epal-pk-big { display: flex; align-items: center; gap: 16px; flex: 1 1 380px; }
.epal-pk-ring { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.16); flex: none; }
.epal-pk-ring .epal-ico { width: 32px; height: 32px; }
.epal .epal-pk-now h2 { margin: 0; font-size: 30px; line-height: 1.15; color: #fff; }
.epal-pk-now p { margin: 4px 0 0; color: #dcefe3; }
.epal .epal-pk-btn { background: #fff; color: var(--a-ink); }
.epal .epal-pk-btn:hover { background: #e7f3eb; color: var(--a-ink); }
.epal-pk-btn .epal-ico, .epal-pk-how .epal-btn .epal-ico { width: 16px; height: 16px; }
.epal-pk-now.is-paid { background: #6b4d00; }
.epal-pk-now.is-paid p { color: #f3e6c4; }
.epal-pk-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.epal-pk-facts li { display: grid; gap: 6px; align-content: start; padding: 20px; background: var(--a-paper); border: 1px solid var(--a-line); border-radius: 12px; }
.epal-pk-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--a-gold-tint); color: var(--a-gold-text); }
.epal-pk-facts b { font-size: 17px; }
.epal-pk-facts li > span:last-child { color: var(--a-ink-soft); font-size: 15px; }
.epal-pk-warn { display: flex; gap: 12px; margin-top: 14px; padding: 16px 20px; background: var(--a-gold-tint); border: 1px solid #e7d7a6; border-radius: 10px; }
.epal-pk-warn .epal-ico { margin-top: 2px; color: var(--a-gold-text); }
.epal-pk-warn p { margin: 0; }
.epal-pk-how { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: center; padding: 28px; background: var(--a-paper); border: 1px solid var(--a-line); border-radius: 12px; }
.epal-pk-how > * { min-width: 0; }
.epal .epal-pk-how h2 { margin: 0 0 16px; font-size: 24px; font-weight: 700; }
.epal .epal-pk-steps { counter-reset: s; display: grid; gap: 16px; margin: 0 0 22px; }
.epal-pk-steps li { position: relative; padding-left: 52px; min-height: 38px; }
.epal-pk-steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--a-ink); color: #fff; font-weight: 700; }
.epal-pk-steps b { display: block; font-size: 17px; }
.epal-pk-steps span { color: var(--a-ink-soft); }
.epal-pk-small { margin: 14px 0 0; font-size: 14px; color: var(--a-ink-soft); }
.epal-pk-img img { display: block; width: 100% !important; height: auto !important; border-radius: 10px !important; }
.epal-pk-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.epal-pk-card { padding: 20px 22px; background: var(--a-paper); border: 1px solid var(--a-line); border-radius: 12px; }
.epal .epal-pk-card h3 { margin: 0 0 6px; font-size: 18px; font-weight: 700; }
.epal-pk-card p { margin: 0 0 8px; color: var(--a-ink-soft); }
.epal-pk-card a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.epal-pk-why { max-width: 80ch; padding: 22px 26px; background: var(--a-paper); border: 1px solid var(--a-line); border-radius: 12px; }
.epal .epal-pk-why h2 { margin: 0 0 8px; font-size: 20px; font-weight: 700; }
.epal-pk-why p { margin: 0; color: var(--a-ink-soft); }
@media (max-width: 1099px) { .epal-pk-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .epal-pk-how, .epal-pk-cols { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .epal-pk-now { padding: 22px 20px; } .epal .epal-pk-now h2 { font-size: 24px; }
  .epal .epal-pk-btn, .epal-pk-how .epal-btn { width: 100%; justify-content: center; }
  .epal-pk-facts { grid-template-columns: minmax(0, 1fr); } .epal-pk-how { padding: 20px; }
}

/* ===================== WhatsApp del Ayuntamiento (0.11.0) ===================== */
.epal-wa-ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.epal-wa-way { display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: 26px 28px 24px; background: var(--a-paper); border: 1px solid var(--a-line); border-radius: 12px; }
.epal-wa-hd { display: flex; align-items: center; gap: 16px; }
.epal-wa-tile { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; flex: none; }
.epal-wa-tile .epal-ico { width: 26px; height: 26px; }
.epal .epal-wa-k { margin: 0 0 2px; font-size: 14px; }
.epal .epal-wa-way h2 { margin: 0; font-size: 24px; font-weight: 700; line-height: 1.2; }
.epal-wa-way p { margin: 0; }
.epal-wa-num { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 14px 18px; border-radius: 10px; }
.epal-wa-num span { font-size: 14px; }
.epal-wa-num b { font-size: 30px; letter-spacing: .01em; white-space: nowrap; }
.epal-wa-stat { font-size: 14px; }
.epal-wa-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--a-line); }
.epal-wa-acts .epal-ico { width: 16px; height: 16px; }
.epal-wa-alt { font-size: 15px; }
.epal-wa-alt a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.epal-wa-chat { background: #1f6b3a; border-color: #1f6b3a; color: #fff; }
.epal-wa-chat .epal-wa-tile { background: rgba(255,255,255,.14); color: #fff; }
.epal-wa-chat .epal-wa-k, .epal-wa-chat .epal-wa-num span { color: #cfe6d7; }
.epal .epal-wa-chat h2, .epal-wa-chat .epal-wa-num b, .epal-wa-chat .epal-wa-stat b, .epal-wa-chat .epal-wa-alt a { color: #fff; }
.epal-wa-chat p { color: #dcefe3; }
.epal-wa-chat .epal-wa-num { background: rgba(0,0,0,.18); }
.epal-wa-chat .epal-wa-acts { border-top-color: rgba(255,255,255,.22); }
.epal .epal-wa-chat .epal-btn { background: #fff; color: var(--a-ink); }
.epal .epal-wa-chat .epal-btn:hover { background: #e7f3eb; color: var(--a-ink); }
.epal-wa-ch { background: #fcf8ee; border-color: #ecdcae; }
.epal-wa-ch .epal-wa-tile { background: var(--a-gold-tint); color: var(--a-gold-text); }
.epal-wa-ch .epal-wa-k, .epal-wa-ch p { color: var(--a-ink-soft); }
.epal-wa-how { min-width: 0; padding: 28px; background: var(--a-paper); border: 1px solid var(--a-line); border-radius: 12px; }
.epal .epal-wa-how h2 { margin: 0 0 16px; font-size: 24px; font-weight: 700; }
.epal-wa-g { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 24px 56px; align-items: center; }
.epal-wa-g > * { min-width: 0; }
.epal .epal-wa-g .epal-pk-steps { gap: 22px; margin: 0; }
.epal-wa-tip { display: flex; gap: 10px; margin: 26px 0 0; padding: 14px 16px; background: var(--a-panel); border-radius: 10px; font-size: 15px; color: var(--a-ink-soft); }
.epal-wa-tip .epal-ico { margin-top: 2px; color: var(--a-gold-text); }
.epal-wa-phone { justify-self: center; width: 100%; max-width: 340px; margin: 0; padding: 10px; background: #1d1c19; border-radius: 34px; box-shadow: 0 18px 40px rgba(29,28,25,.18); }
.epal-wa-scr { overflow: hidden; border-radius: 26px; background: #efe7dd; }
.epal-wa-bar { display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px; background: #1f6b3a; color: #fff; }
.epal .epal-wa-bar img { width: 34px !important; height: 34px !important; padding: 3px; border-radius: 50% !important; background: #fff; object-fit: contain; }
.epal-wa-bar b { display: block; font-size: 15px; line-height: 1.2; }
.epal-wa-bar small { font-size: 12px; color: #cfe6d7; }
.epal-wa-msgs { display: grid; gap: 8px; padding: 14px 12px 18px; font-size: 14px; line-height: 1.4; }
.epal .epal-wa-bub { max-width: 86%; margin: 0; padding: 8px 11px; border-radius: 10px; background: #fff; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.epal .epal-wa-me { justify-self: end; background: #d9f7c6; }
.epal .epal-wa-bub ol { display: grid; gap: 3px; margin: 6px 0 0; padding: 0; list-style: none; }
.epal-wa-bub li { display: flex; gap: 8px; }
.epal-wa-bub li b { min-width: 14px; color: #1f6b3a; }
.epal-wa-phone figcaption { padding: 10px 6px 2px; font-size: 12px; color: #cfccc4; text-align: center; }
.epal-wa-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.epal-wa-note { display: flex; gap: 12px; min-width: 0; padding: 18px 20px; background: var(--a-paper); border: 1px solid var(--a-line); border-radius: 12px; }
.epal-wa-note > .epal-ico { margin-top: 2px; color: var(--a-gold-text); }
.epal-wa-urg { background: #fdf0ef; border-color: #f0c9c5; }
.epal-wa-urg > .epal-ico { color: #a3261b; }
.epal .epal-wa-note h3 { margin: 0 0 4px; font-size: 17px; font-weight: 700; }
.epal-wa-note p { margin: 0; color: var(--a-ink-soft); }
.epal-wa-note a { color: var(--a-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.epal-wa-more ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .epal-wa-ways, .epal-wa-g, .epal-wa-notes, .epal-wa-more ul { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .epal-wa-way { padding: 22px 20px; } .epal-wa-num b { font-size: 26px; }
  .epal .epal-wa-acts .epal-btn { width: 100%; justify-content: center; } .epal-wa-how { padding: 20px; }
}

/* ---------- Ficha de «Urbanismo y obras» (clases epal-u-*) ---------- */

/* Accesos directos bajo el título */
.epal .epal-u-qk { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 0; }
.epal-u-qk .epal-ico { width: 16px; height: 16px; }
#epal-u-tramits, #epal-ct-t, .epal-u-blk > h3 { scroll-margin-top: 110px; }

/* Columna principal */
.epal-u-col { display: grid; gap: 20px; min-width: 0; }
.epal .epal-u-how h2 { margin: 0 0 6px; font-size: 24px; font-weight: 700; }
.epal-u-how-p { margin: 0 0 18px; color: var(--a-ink-soft); font-size: 16px; }
.epal-u-ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.epal-u-way { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px; border: 1px solid var(--a-line); border-radius: 10px; background: var(--a-paper); }
.epal-u-wh { display: flex; align-items: center; gap: 12px; }
.epal-u-wi { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--a-gold-tint); color: var(--a-gold-text); flex: none; }
.epal .epal-u-way h3 { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.25; }
.epal-u-way h3 small { display: block; color: var(--a-ink-soft); font-size: 14px; font-weight: 400; }
.epal .epal-u-way ul { display: grid; gap: 6px; }
.epal-u-way li { position: relative; padding-left: 18px; font-size: 16px; }
.epal-u-way li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--a-gold); }
.epal-u-way .epal-btn { justify-content: center; margin-top: auto; }
.epal-u-way .epal-btn .epal-ico { width: 16px; height: 16px; }
.epal-u-pay { padding-top: 10px; border-top: 1px solid var(--a-line); }
.epal-u-pay summary { cursor: pointer; font-size: 15px; font-weight: 600; }
.epal-u-pay summary:hover { text-decoration: underline; text-underline-offset: 3px; }
.epal-u-pay dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 10px 0 0; font-size: 15px; }
.epal-u-pay dt { font-weight: 700; }
.epal-u-pay dd { margin: 0; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

/* Contacto por asunto */
.epal .epal-u-dept { display: grid; gap: 10px; }
.epal-u-dept li { padding: 12px 14px; border: 1px solid var(--a-line); border-radius: 10px; }
.epal-u-what { margin: 0 0 8px; font-size: 15px; font-weight: 600; line-height: 1.35; }
.epal-u-how2 { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 15px; }
.epal-u-how2 a, .epal-u-meta a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.epal-u-how2 .epal-ico { width: 16px; height: 16px; color: var(--a-gold-text); }
.epal-u-meta { display: grid; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--a-line); font-size: 15px; }
.epal-u-meta > div { display: flex; gap: 10px; align-items: flex-start; }
.epal-u-meta .epal-ico { width: 18px; height: 18px; margin-top: 2px; color: var(--a-ink-soft); }

/* Trámites */
.epal-u-trm { min-width: 0; }
.epal-u-trm .epal-sh { align-items: baseline; }
.epal-u-trm .epal-sh p { margin: 0; color: var(--a-ink-soft); font-size: 15px; }
.epal-u-tools { display: grid; gap: 14px; margin-bottom: 26px; }
.epal-u-tools .epal-find { max-width: 640px; margin: 0; }
.epal-u-jump { display: flex; flex-wrap: wrap; gap: 8px; }
.epal-u-jump a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px; border: 1px solid #cfcac0; border-radius: 999px; background: var(--a-paper); font-size: 15px; font-weight: 600; text-decoration: none; }
.epal-u-jump a span { color: var(--a-ink-soft); font-weight: 400; }
.epal-u-jump a:hover { border-color: var(--a-gold); background: var(--a-gold-tint); }

.epal-u-blk + .epal-u-blk { margin-top: 34px; }
.epal .epal-u-blk > h3 { margin: 0 0 6px; font-size: 22px; font-weight: 700; line-height: 1.25; }
.epal-u-bd { margin: 0 0 14px; max-width: 75ch; color: var(--a-ink-soft); font-size: 16px; }
.epal-u-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.epal-u-card { padding: 18px 20px 12px; background: var(--a-paper); border: 1px solid var(--a-line); border-radius: 12px; }
.epal .epal-u-card h4 { margin: 0 0 4px; font-family: inherit; font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--a-ink); text-transform: none; }
.epal-u-gd { margin: 0 0 8px; color: var(--a-ink-soft); font-size: 15px; }

.epal-u-tl li + li { border-top: 1px solid var(--a-line); }
.epal .epal-u-tr { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 10px 4px; text-decoration: none; }
.epal-u-ti { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: var(--a-panel); color: var(--a-ink-soft); flex: none; }
.epal-u-ti .epal-ico { width: 18px; height: 18px; }
.epal-u-tr.is-on .epal-u-ti { background: #e8f0f7; color: #1e5a87; }
.epal-u-tt { flex: 1; min-width: 0; }
.epal-u-tt b { display: block; font-size: 16px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.epal-u-tt small { display: block; margin-top: 1px; color: var(--a-ink-soft); font-size: 14px; }
.epal-u-go { width: 18px; height: 18px; color: var(--a-gold-text); transition: transform .15s; }
.epal-u-tr:hover b { text-decoration: underline; text-underline-offset: 3px; }
.epal-u-tr:hover .epal-u-go { transform: translateX(3px); }

.epal-u-first { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; padding: 16px 20px; background: var(--a-paper); border: 1px solid var(--a-line); border-radius: 12px; }
.epal-u-first > div { flex: 1; min-width: 0; }
.epal-u-fi { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--a-gold-tint); color: var(--a-gold-text); font-weight: 700; flex: none; }
.epal-u-first p { margin: 0 0 6px; font-size: 16px; }

.epal-u-other { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 34px; padding: 20px 24px; background: var(--a-paper); border: 1px solid var(--a-line); border-radius: 12px; }
.epal .epal-u-other h3 { margin: 0 0 2px; font-size: 19px; font-weight: 700; }
.epal-u-other p { margin: 0; color: var(--a-ink-soft); }
.epal-u-other .epal-btn .epal-ico { width: 16px; height: 16px; }

.epal-u-nores { margin: 0 0 20px; padding: 18px 20px; background: var(--a-paper); border: 1px solid var(--a-line); border-radius: 10px; }
.epal-u-nores a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.epal-u-trm [hidden] { display: none !important; }
.epal-u-trm.is-filtering .epal-u-bd, .epal-u-trm.is-filtering .epal-u-gd, .epal-u-trm.is-filtering .epal-u-first p { display: none; }

@media (prefers-reduced-motion: reduce) { .epal-u-go { transition: none; } }
@media (max-width: 860px) { .epal-u-ways, .epal-u-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .epal-u-qk .epal-btn { flex: 1; justify-content: center; }
  .epal .epal-u-how h2 { font-size: 22px; }
  .epal-u-way { padding: 18px; }
  .epal-u-card { padding: 16px 16px 8px; }
  .epal .epal-u-blk > h3 { font-size: 20px; }
  .epal-u-other .epal-btn { width: 100%; justify-content: center; }
}

/* ===================== Redes sociales (0.14.0) ===================== */
.epal .epal-xs-main { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.epal-xs-card { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 24px 22px 22px; background: var(--a-paper); border: 1px solid var(--a-line); border-radius: 12px; }
.epal-xs-logo { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; color: #fff; }
.epal-xs-logo .epal-xs-svg { width: 26px; height: 26px; }
.epal-xs-svg { fill: currentColor; flex: none; }
.epal-xs-fb .epal-xs-logo { background: #1877f2; }
.epal-xs-ig .epal-xs-logo { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.epal-xs-yt .epal-xs-logo { background: #e00; }
.epal-xs-wa .epal-xs-logo { background: #1f6b3a; }
.epal .epal-xs-card h3 { margin: 0; font-size: 20px; font-weight: 700; }
.epal .epal-xs-card p { margin: 0; color: var(--a-ink-soft); }
.epal .epal-xs-card .epal-xs-handle { margin-top: -8px; font-size: 15px; overflow-wrap: anywhere; }
.epal .epal-xs-card .epal-btn { margin-top: auto; align-self: flex-start; }
.epal-xs-card .epal-btn .epal-ico { width: 16px; height: 16px; }
.epal .epal-xs-others { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.epal-xs-acc { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 16px; align-items: start; min-width: 0; padding: 20px 22px; background: var(--a-paper); border: 1px solid var(--a-line); border-radius: 12px; }
.epal .epal-xs-aic { grid-row: span 3; width: 60px; height: 60px; border-radius: 14px; }
.epal .epal-xs-aic img { width: 62%; }
.epal .epal-xs-acc h3 { margin: 2px 0 0; font-size: 18px; font-weight: 700; }
.epal .epal-xs-acc p { margin: 0; color: var(--a-ink-soft); }
.epal-xs-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.epal .epal-xs-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; max-width: 100%; padding: 6px 12px; border: 1px solid var(--a-line); border-radius: 999px; font-size: 15px; color: var(--a-ink); text-decoration: none; overflow-wrap: anywhere; }
.epal .epal-xs-links a:hover { border-color: var(--a-gold); background: var(--a-gold-tint); }
.epal-xs-links .epal-xs-svg { width: 16px; height: 16px; }
.epal-xs-f .epal-xs-svg { color: #1877f2; }
.epal-xs-i .epal-xs-svg { color: #c13584; }
@media (max-width: 1099px) { .epal .epal-xs-main { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .epal .epal-xs-others { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .epal .epal-xs-main { grid-template-columns: minmax(0, 1fr); } .epal .epal-xs-card .epal-btn { align-self: stretch; justify-content: center; } }

/* ===================== Responsable del área (0.15.7) ===================== */
/* Retrato grande centrado con borde blanco y sombra, sobre una franja dorada suave; el nombre debajo. */
.epal-resp { position: relative; isolation: isolate; }
.epal-resp::before { content: ""; position: absolute; z-index: -1; inset: 0 0 auto; height: 118px; background: linear-gradient(160deg, rgba(48,34,3,.62), rgba(48,34,3,.86)), #302203 url(../../../../../uploads/2025/11/470207883_898085515744055_5504986409331554350_n-768x432.jpg) center / cover; }
.epal .epal-resp-lbl { padding: 20px 24px 0; text-align: center; color: #f3e6c4; }
.epal-resp-b { flex-direction: column; align-items: center; gap: 14px; padding: 14px 24px 22px; text-align: center; }
.epal-resp-ph { display: block; flex: none; }
.epal .epal-resp-ph > img { display: block; width: 150px !important; height: 150px !important; max-width: none; border-radius: 50% !important; border: 6px solid #fff; object-fit: cover; object-position: 50% 25%; box-shadow: 0 10px 26px rgba(29,28,25,.18); }
.epal .epal-resp h3 { font-size: 20px; }
/* Al aparecer la tarjeta en pantalla (clase is-in, que pone un script del pie), la foto hace un pequeño zoom con rebote suave. */
@keyframes epal-resp-pop { 0% { transform: scale(1); } 45% { transform: scale(1.07); } 70% { transform: scale(.98); } 100% { transform: scale(1); } }
/* La banda de fondo aparece con un barrido suave de arriba abajo (is-pre la oculta hasta entonces; sin script se ve fija). */
@keyframes epal-resp-sweep { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.epal-resp.is-pre::before { clip-path: inset(0 0 100% 0); }
.epal-resp.is-in::before { animation: epal-resp-sweep .8s cubic-bezier(.25,.8,.3,1) both; }
.epal .epal-resp.is-in .epal-resp-ph > img { animation: epal-resp-pop .9s .35s ease-out 1 both; }
@media (prefers-reduced-motion: reduce) { .epal-resp.is-pre::before { clip-path: none; } .epal-resp.is-in::before, .epal .epal-resp.is-in .epal-resp-ph > img { animation: none; } }
/* Tarjeta de contacto sin la franja de color de arriba. */
.epal .epal-ct { border-top: 1px solid var(--a-line); }

/* ===================== Estructura (0.16.0) ===================== */
/* Áreas sin imagen destacada: icono de su bloque, en blanco sobre el fondo de siempre. */
.epal-aic .epal-aic-svg { position: relative; display: block; width: 34%; height: auto; aspect-ratio: 1; color: #fff; }
.epal-aic-lg .epal-aic-svg { width: 56%; }
/* Etiqueta de servicio en el mosaico: «Servicio · Cultura». */
.epal .epal-at-tag { display: inline-block; margin-top: 8px; padding: 2px 8px; border-radius: 6px; background: var(--a-gold-tint); color: var(--a-gold-text); font-size: 13px; font-weight: 600; line-height: 1.4; }
/* Concejalías que aún no tienen página: lista sencilla con su concejal. */
.epal .epal-oth { margin-top: 16px; padding: 18px 20px; background: var(--a-panel); border-radius: 12px; }
.epal .epal-oth h3 { margin: 0; font-size: 17px; font-weight: 700; }
.epal .epal-oth > p { margin: 4px 0 14px; color: var(--a-ink-soft); font-size: 15px; }
.epal .epal-oth > p a { color: var(--a-ink); font-weight: 700; white-space: nowrap; }
.epal .epal-oth-l { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 24px; margin: 0; padding: 0; list-style: none; }
.epal .epal-oth-l li { display: flex; flex-direction: column; margin: 0; padding-left: 12px; border-left: 2px solid var(--a-line); }
.epal .epal-oth-l b { font-size: 16px; line-height: 1.3; }
.epal .epal-oth-l small { color: var(--a-ink-soft); font-size: 14px; line-height: 1.4; }
.epal .epal-oth[hidden], .epal .epal-oth-l li[hidden] { display: none !important; }
/* Ficha de servicio: de qué área depende. */
.epal .epal-dep { padding: 18px 24px; }
.epal .epal-dep p { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--a-gold-text); }
.epal .epal-dep a, .epal .epal-dep b { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 700; color: var(--a-ink); text-decoration: none; }
.epal .epal-dep a:hover span { text-decoration: underline; text-decoration-color: var(--a-gold); text-underline-offset: 3px; }
.epal .epal-dep a .epal-ico { margin-left: auto; width: 20px; height: 20px; flex: none; }
.epal .epal-dep .epal-aic { width: 52px; height: 52px; border-radius: 10px; }
.epal .epal-dep .epal-aic img { width: 64%; }
.epal .epal-dep .epal-aic .epal-aic-svg { width: 56%; }
/* Servicios de esta área (debajo de la ficha). */
.epal .epal-asvc { margin-top: 44px; }
/* Corporación: cada concejalía con ficha enlaza a ella. */
.epal .epal-tags a { color: inherit; text-decoration: underline; text-decoration-color: var(--a-gold); text-underline-offset: 3px; }
.epal .epal-tags a:hover { color: var(--a-gold-text); }
@media (max-width: 860px) { .epal .epal-oth-l { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .epal .epal-oth-l { grid-template-columns: minmax(0, 1fr); } }

/* Bloques opcionales de la ficha: accesos, instalaciones, más información, contactos y noticias. */
/* Accesos directos. */
.epal-ax-quick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 22px; padding: 0; list-style: none; }
.epal-ax-quick a { display: flex; align-items: center; gap: 14px; height: 100%; padding: 16px 18px; background: var(--a-paper); border: 1px solid var(--a-line); border-radius: 12px; color: var(--a-ink); text-decoration: none; transition: border-color .2s, background .2s; }
.epal-ax-quick a:hover { border-color: var(--a-gold); background: var(--a-gold-tint); }
.epal-ax-quick a > .epal-ico:first-child { width: 28px; height: 28px; flex: none; color: var(--a-gold-text); }
.epal-ax-quick span { display: grid; flex: 1; min-width: 0; line-height: 1.35; }
.epal-ax-quick b { font-size: 17px; }
.epal-ax-quick small { color: var(--a-ink-soft); font-size: 14px; }
.epal-ax-quick .epal-ax-go { width: 18px; height: 18px; flex: none; color: var(--a-ink-soft); }
/* Secciones. */
.epal .epal-ax-sec { margin-top: 48px; }
.epal .epal-ax-intro { max-width: 780px; margin: 0 0 20px; font-size: 17px; line-height: 1.6; color: var(--a-ink); }
.epal-ax-grp { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin: 26px 0 12px; }
.epal .epal-ax-grp h3 { margin: 0; font-size: 20px; font-weight: 700; }
.epal-ax-map { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; color: var(--a-gold-text); }
.epal-ax-map .epal-ico { width: 16px; height: 16px; }
/* Instalaciones: tarjeta con foto y galería. */
.epal-ax-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.epal-ax-card { display: flex; flex-direction: column; margin: 0; background: var(--a-paper); border: 1px solid var(--a-line); border-radius: 12px; overflow: hidden; }
.epal-ax-ph { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #302203; cursor: zoom-in; aspect-ratio: 3 / 2; }
.epal-ax-ph img { display: block; width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 0 !important; transition: transform .25s; }
.epal-ax-ph:hover img { transform: scale(1.04); }
.epal-ax-ph:focus-visible { outline: 3px solid var(--a-focus); outline-offset: -3px; }
.epal-ax-count { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: rgba(29,28,25,.78); color: #fff; font-size: 13px; font-weight: 600; }
.epal-ax-count .epal-ico { width: 15px; height: 15px; }
.epal-ax-cb { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.epal .epal-ax-cb h4 { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.3; }
.epal .epal-ax-cb p { margin: 0; color: var(--a-ink-soft); font-size: 15px; line-height: 1.45; }
.epal-ax-cb a { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; font-size: 15px; font-weight: 600; color: var(--a-gold-text); }
.epal-ax-cb a .epal-ico { width: 15px; height: 15px; }
/* Escuelas y actividades. */
.epal-ax-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.epal .epal-ax-list { padding: 22px 24px; }
.epal .epal-ax-list h3 { margin: 0 0 10px; font-size: 18px; font-weight: 700; }
.epal .epal-ax-list ul { margin: 0; }
.epal .epal-ax-list li { font-size: 16px; }
.epal-ax-note { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; padding: 14px 16px; background: var(--a-panel); border-radius: 10px; font-size: 16px; }
.epal-ax-note .epal-ico { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--a-gold-text); }
.epal-ax-note a { overflow-wrap: anywhere; }
/* Clubes y contactos. */
.epal-ax-clubs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.epal-ax-clubs li { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 14px 16px; background: var(--a-paper); border: 1px solid var(--a-line); border-radius: 10px; }
.epal-ax-clubs b { font-size: 16px; }
.epal-ax-clubs a { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font-size: 15px; color: var(--a-ink); }
.epal-ax-clubs a span { overflow-wrap: anywhere; }
.epal-ax-clubs .epal-ico { width: 16px; height: 16px; flex: none; color: var(--a-gold-text); }
/* Noticias del área. */
.epal-ax-news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.epal-ax-news li { margin: 0; }
.epal-ax-news a { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: var(--a-paper); border: 1px solid var(--a-line); border-radius: 12px; color: var(--a-ink); text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.epal-ax-news a:hover { border-color: var(--a-gold); box-shadow: 0 8px 22px rgba(48,34,3,.12); }
.epal-ax-nimg { display: block; aspect-ratio: 16 / 10; background: var(--a-panel); }
.epal-ax-nimg img { display: block; width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 0 !important; }
.epal-ax-nb { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 18px; }
.epal-ax-nb time { color: var(--a-gold-text); font-size: 14px; font-weight: 600; }
.epal-ax-nb b { font-size: 17px; line-height: 1.35; }
/* Galería. */
.epal-ax-lb { width: min(1100px, 94vw); max-height: 94vh; padding: 0; border: 0; border-radius: 12px; background: #111; color: #fff; }
.epal-ax-lb::backdrop { background: rgba(0,0,0,.75); }
.epal-ax-lb-in { position: relative; }
.epal-ax-lb figure { margin: 0; }
.epal-ax-lb img { display: block; width: 100%; max-height: 82vh; object-fit: contain; }
.epal-ax-lb figcaption { padding: 12px 16px; font-size: 15px; }
.epal-ax-lb button { position: absolute; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: #1d1c19; font-size: 26px; line-height: 1; cursor: pointer; }
.epal-ax-lb-x { top: 10px; right: 10px; font-size: 18px !important; }
.epal-ax-lb-p { left: 10px; top: calc(50% - 40px); }
.epal-ax-lb-n { right: 10px; top: calc(50% - 40px); }
@media (max-width: 1099px) { .epal-ax-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } .epal-ax-clubs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .epal-ax-quick, .epal-ax-3, .epal-ax-news { grid-template-columns: minmax(0, 1fr); } .epal-ax-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .epal-ax-cards, .epal-ax-clubs { grid-template-columns: minmax(0, 1fr); } .epal .epal-ax-sec { margin-top: 36px; } }
.epal-ax-lb.is-one .epal-ax-lb-p, .epal-ax-lb.is-one .epal-ax-lb-n { display: none; }
.epal-ax-cv { color: var(--a-ink-soft); font-size: 15px; }
/* Aviso de texto no oficial, pendiente de revisión. */
.epal .epal-ax-draft { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 18px; padding: 12px 16px; background: #fff8db; border: 1px solid #ecd98b; border-radius: 10px; color: var(--a-ink); font-size: 15px; line-height: 1.45; }
.epal .epal-ax-draft .epal-ico { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--a-gold-text); }

/* ======================================================= En Moviment */
.epal-mv .epal-body > .epal-in { grid-template-columns: minmax(0, 1fr); }
.epal-mv .epal-body > .epal-in > * { min-width: 0; }
.epal-mv [id] { scroll-margin-top: 110px; }
.epal-mv-ttl { display: flex; align-items: center; gap: 20px; }
.epal-mv-kick { margin: 2px 0 0; color: var(--a-gold-text); font-weight: 600; font-size: 16px; }
.epal-mv-qk { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 0; }
.epal-mv-qk .epal-ico { width: 16px; height: 16px; }
.epal-mv .epal-sh p { margin: 0; color: var(--a-ink-soft); font-size: 15px; }

.epal-mv-lay { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; align-items: start; }
.epal-mv-lay > * { min-width: 0; }
.epal-mv-col, .epal-mv-side { display: grid; gap: 20px; }
.epal-mv-box { background: var(--a-paper); border: 1px solid var(--a-line); border-radius: 12px; padding: 26px 30px; }
.epal .epal-mv-box h2 { margin: 0 0 12px; font-size: 24px; font-weight: 700; line-height: 1.2; }
.epal-mv-box p { margin: 0 0 16px; max-width: 72ch; font-size: 17px; }
.epal-mv-logo { max-width: 360px; }
.epal-mv-logo img, .epal-mv-poster img, .epal-mv-gva img { display: block; width: 100% !important; height: auto !important; border-radius: 8px; }

.epal-mv-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; margin: 0 0 18px !important; }
.epal-mv-checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 17px; line-height: 1.4; }
.epal-mv-checks .epal-ico { margin-top: 1px; color: var(--a-gold-text); }
.epal-mv .epal-mv-hint { display: flex; gap: 12px; margin: 0; padding: 14px 16px; background: var(--a-panel); border-radius: 8px; max-width: none; font-size: 16px; }
.epal-mv-hint .epal-ico { margin-top: 2px; color: var(--a-gold-text); }

.epal-mv-join { background: var(--a-gold-tint); border-color: #e7d7a6; }
.epal .epal-mv-join h2 { font-size: 22px; }
.epal-mv .epal-mv-big { margin: 0 0 14px; font-size: 18px; line-height: 1.4; }
.epal-mv-mini { display: grid; gap: 10px; margin: 0 0 18px !important; counter-reset: mv; }
.epal-mv-mini li { position: relative; padding-left: 36px; font-size: 16px; counter-increment: mv; }
.epal-mv-mini li::before { content: counter(mv); position: absolute; left: 0; top: -1px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--a-ink); color: #fff; font-size: 14px; font-weight: 700; }
.epal-mv-join .epal-btn { width: 100%; justify-content: center; }
.epal-mv .epal-mv-small { margin: 12px 0 0; color: var(--a-ink-soft); font-size: 14px; }
.epal-mv .epal-mv-soft { margin: 0 0 14px; color: var(--a-ink-soft); font-size: 16px; }

.epal-mv-mail { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 14px; border: 1px solid var(--a-line); border-radius: 10px; text-decoration: none; }
.epal-mv-mail:hover { border-color: var(--a-gold); background: var(--a-gold-tint); }
.epal-mv-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--a-ink); color: #fff; flex: none; }
.epal-mv-ic .epal-ico { width: 18px; height: 18px; }
.epal-mv-mail small { display: block; color: var(--a-ink-soft); font-size: 14px; }
.epal-mv-mail b { display: block; font-size: 16px; overflow-wrap: anywhere; }

.epal-mv-poster { padding: 14px; }
.epal-mv-poster img { border-radius: 6px; }
.epal-mv-poster figcaption { margin-top: 10px; }
.epal-mv-poster figcaption a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.epal-mv-poster figcaption .epal-ico { width: 18px; height: 18px; color: var(--a-gold-text); }

.epal-mv-caps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.epal-mv-caps li { display: flex; gap: 14px; padding: 20px; background: var(--a-paper); border: 1px solid var(--a-line); border-radius: 12px; }
.epal-mv-wi { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--a-gold-tint); color: var(--a-gold-text); flex: none; }
.epal-mv-wi .epal-ico { width: 24px; height: 24px; }
.epal .epal-mv-caps h3, .epal .epal-mv-steps h3 { margin: 0 0 4px; font-size: 18px; font-weight: 700; line-height: 1.25; }
.epal-mv-caps p, .epal-mv-steps p { margin: 0; color: var(--a-ink-soft); font-size: 15.5px; }

.epal-mv-steps { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.epal-mv-steps::before { content: ""; position: absolute; top: 21px; left: 10%; right: 10%; height: 2px; background: #d9cfb3; }
.epal-mv-steps li { position: relative; padding: 0 4px; text-align: center; }
.epal-mv-n { position: relative; display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto 12px; border-radius: 50%; background: var(--a-ink); color: #fff; font-size: 18px; font-weight: 700; box-shadow: 0 0 0 6px var(--a-band); }

.epal-mv-who2 { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding: 22px 26px; background: var(--a-paper); border: 1px solid var(--a-line); border-radius: 12px; }
.epal-mv-parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; }
.epal-mv-parts b { display: block; font-size: 17px; }
.epal-mv-parts span { display: block; color: var(--a-ink-soft); font-size: 15.5px; }
.epal-mv-gva { width: 200px; }

.epal-mv .epal-mv-motto { margin: 0; text-align: center; font-size: 24px; font-weight: 700; }
.epal-mv-motto span { display: block; margin-top: 4px; color: var(--a-ink-soft); font-size: 17px; font-weight: 400; }

@media (max-width: 1099px) {
  .epal-mv-lay { grid-template-columns: minmax(0, 1fr); }
  .epal-mv-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .epal-mv-poster { grid-column: 1 / -1; max-width: 420px; }
  .epal-mv-caps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .epal-mv-side { grid-template-columns: minmax(0, 1fr); }
  .epal-mv-steps { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .epal-mv-steps::before { top: 10px; bottom: 10px; left: 21px; right: auto; width: 2px; height: auto; }
  .epal-mv-steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; text-align: left; padding: 0; }
  .epal-mv-n { grid-row: span 2; margin: 0; }
  .epal-mv-who2, .epal-mv-parts { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .epal-mv-ttl { gap: 14px; } .epal-mv-ttl .epal-aic-lg { width: 68px; height: 68px; border-radius: 14px; }
  .epal-mv-checks, .epal-mv-caps { grid-template-columns: minmax(0, 1fr); }
  .epal-mv-box { padding: 20px; }
  .epal-mv-qk .epal-btn { flex: 1 1 100%; justify-content: center; }
  .epal-mv-mail { padding-inline: 12px; gap: 10px; } .epal-mv-mail b { font-size: 14px; } .epal-mv-ic { width: 34px; height: 34px; }
  .epal-mv .epal-mv-motto { font-size: 20px; }
}
.epal-mv-rel .epal-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 860px) { .epal-mv-rel .epal-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ================================================================== Información de la cala del Moraig (includes/info-moraig.php) */
.epal-im-lnk { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.epal-im-sum { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); background: var(--a-paper); border: 1px solid var(--a-line); border-radius: 12px; overflow: hidden; }
.epal-im-img { margin: 0; min-height: 260px; }
.epal-im-img img { display: block; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; border-radius: 0 !important; }
.epal-im-tx { padding: 28px; display: grid; gap: 20px; align-content: center; }
.epal .epal-im-tx h2 { margin: 0; font-size: 26px; font-weight: 700; line-height: 1.2; }
.epal-im-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.epal-im-facts li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 14px; align-items: start; }
.epal-im-facts .epal-pk-ic { grid-row: span 2; }
.epal-im-facts b { font-size: 17px; line-height: 1.3; }
.epal-im-facts li > span:last-child { color: var(--a-ink-soft); font-size: 15px; }
.epal-im-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.epal-im-acts .epal-btn .epal-ico { width: 16px; height: 16px; }
.epal-im-note { margin: -4px 0 16px; color: var(--a-ink-soft); }
.epal-im-who, .epal-im-help { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.epal-im-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; background: var(--a-paper); border: 1px solid var(--a-line); border-radius: 12px; }
.epal-im-top { display: flex; align-items: center; gap: 12px; }
.epal-im-top .epal-pk-ic { flex: none; }
.epal .epal-im-card h3 { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.25; }
.epal .epal-im-help h3 { font-size: 18px; }
.epal-im-card p { margin: 0; color: var(--a-ink-soft); }
.epal-im-card .epal-im-price { font-size: 15px; font-weight: 700; color: #1f6b3a; }
.epal-im-card .epal-im-price.is-pay { color: var(--a-gold-text); }
.epal-im-ck { display: grid; gap: 6px; }
.epal-im-ck li { position: relative; padding-left: 26px; }
.epal-im-ck li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--a-gold); }
.epal-im-card .epal-im-foot { margin-top: auto; padding-top: 6px; }
.epal .epal-im-mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.epal-im-mini li { padding: 16px 20px; background: var(--a-paper); border: 1px solid var(--a-line); border-radius: 12px; }
.epal-im-mini b { display: block; font-size: 16px; }
.epal-im-mini span { color: var(--a-ink-soft); font-size: 15px; }
.epal-im-warn { margin-top: 0; }
.epal-im-qh { align-items: end; }
.epal-im-find { position: relative; flex: 0 1 380px; }
.epal .epal-im-find input { width: 100%; min-height: 48px; margin: 0; padding: 10px 14px 10px 44px; border: 1px solid #b9b5ab; border-radius: 8px; background: var(--a-paper); font: inherit; color: var(--a-ink); box-shadow: none; }
.epal-im-find .epal-ico { position: absolute; left: 14px; top: 14px; color: var(--a-ink-soft); pointer-events: none; }
.epal-im-faq { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; }
.epal-im-toc { position: sticky; top: 84px; display: grid; gap: 4px; }
.epal-im-toc a { display: block; padding: 10px 14px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.epal-im-toc a:hover { background: var(--a-gold-tint); }
.epal-im-grp { scroll-margin-top: 84px; }
.epal-im-grp + .epal-im-grp { margin-top: 26px; }
.epal .epal-im-grp h3 { margin: 0 0 10px; font-size: 19px; font-weight: 700; }
.epal-im-qa { background: var(--a-paper); border: 1px solid var(--a-line); border-radius: 10px; }
.epal-im-qa + .epal-im-qa { margin-top: 8px; }
.epal-im-qa summary { position: relative; display: block; padding: 16px 52px 16px 20px; font-size: 17px; font-weight: 600; line-height: 1.4; cursor: pointer; list-style: none; border-radius: 10px; }
.epal-im-qa summary::-webkit-details-marker { display: none; }
.epal-im-qa summary:hover { background: #faf8f2; }
.epal-im-qa summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--a-gold-text); border-bottom: 2px solid var(--a-gold-text); transform: rotate(45deg); transition: transform .15s; }
.epal-im-qa[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.epal-im-an { padding: 0 20px 18px; max-width: 78ch; color: #3b3832; }
.epal-im-an p { margin: 0 0 10px; }
.epal-im-an p:last-child { margin: 0; }
.epal-im-none { margin: 0; padding: 18px 20px; background: var(--a-paper); border: 1px dashed #b9b5ab; border-radius: 10px; color: var(--a-ink-soft); }
.epal-im [hidden] { display: none !important; }
@media (max-width: 1099px) {
  .epal-im-faq { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .epal-im-toc { position: static; display: flex; flex-wrap: wrap; gap: 8px; }
  .epal-im-toc a { padding: 8px 14px; background: var(--a-paper); border: 1px solid var(--a-line); font-size: 15px; }
}
@media (max-width: 860px) {
  .epal-im-sum { grid-template-columns: minmax(0, 1fr); }
  .epal-im-img { min-height: 0; aspect-ratio: 16 / 9; }
  .epal-im-who, .epal-im-help, .epal .epal-im-mini { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .epal-im-tx { padding: 20px; } .epal .epal-im-tx h2 { font-size: 22px; }
  .epal-im-facts { grid-template-columns: minmax(0, 1fr); }
  .epal-im-acts .epal-btn { width: 100%; justify-content: center; }
  .epal-im-find { flex-basis: 100%; }
  .epal-im-qa summary { font-size: 16px; padding-left: 16px; } .epal-im-an { padding-inline: 16px; }
}
