/* Eolica FM 90.7 — Diario digital */
:root {
    --eol-dark: #262626;
    --eol-darker: #1a1a1a;
    --eol-green: #1a9b5c;
    --eol-green-light: #7dcea0;
    --eol-green-mid: #2ecc71;
    --eol-green-deep: #0d6b3f;
    --eol-white: #ffffff;
    --eol-text: #1f2937;
    --eol-muted: #6b7280;
    --eol-bg: #f3f5f4;
    --eol-card: #ffffff;
    --gradient-brand: linear-gradient(160deg, var(--eol-green-light) 0%, var(--eol-green) 45%, var(--eol-green-deep) 100%);
    --eol-link: var(--eol-green);
    --eol-link-hover: var(--eol-green-deep);
    --eol-hdr-brand-bg: var(--eol-dark);
    --eol-hdr-link-hover: var(--eol-green-light);
    --eol-btn-live-bg: var(--eol-green);
    --eol-btn-live-text: #ffffff;
    --eol-nav-active-text: var(--eol-green-light);
    --eol-nav-active-bg: #2a4538;
    --eol-nav-active-border: var(--eol-green);
    --eol-ticker-bg: var(--eol-dark);
    --eol-ticker-border: var(--eol-green);
    --eol-ticker-label-bg: var(--eol-green);
    --eol-ticker-label-text: #ffffff;
    --eol-ticker-link-hover: var(--eol-green-light);
    --eol-section-title: var(--eol-dark);
    --eol-search-focus: var(--eol-green);
    --eol-chip-active-bg: var(--eol-green);
    --eol-chip-active-text: #ffffff;
    --eol-card-cat: var(--eol-green-deep);
    --eol-player-bg: var(--eol-dark);
    --eol-player-play: var(--eol-green);
    --font-display: "Nunito", "Segoe UI", sans-serif;
    --font-body: "Source Sans 3", "Segoe UI", sans-serif;
    --header-h: 120px;
    --player-h: 52px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--eol-text);
    background: var(--eol-bg);
    padding-bottom: calc(var(--player-h) + 16px);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--eol-link); text-decoration: none; }
a:hover { color: var(--eol-link-hover); }
.container { width: min(1120px, 92%); margin: 0 auto; }

/* Header — diario digital */
.site-header {
    position: sticky; top: 0; z-index: 900;
    background: var(--eol-dark);
    box-shadow: 0 4px 20px rgba(0,0,0,.25);
}
.hdr-top {
    background: var(--eol-darker, #1a1a1a);
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: .78rem;
}
.hdr-top-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; min-height: 28px; padding: 2px 0;
}
.hdr-date { color: rgba(255,255,255,.75); font-weight: 500; text-transform: capitalize; }
.hdr-top-right { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.hdr-top-link {
    color: rgba(255,255,255,.85); font-weight: 700; letter-spacing: .06em;
    text-transform: uppercase; font-size: .72rem;
}
.hdr-top-link:hover { color: var(--eol-hdr-link-hover); }
.hdr-social { display: flex; align-items: center; gap: 10px; }
.hdr-social a {
    color: rgba(255,255,255,.8); font-size: .95rem; line-height: 1;
    transition: color .15s ease;
}
.hdr-social a:hover { color: var(--eol-hdr-link-hover); }

.hdr-brand {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background:
        radial-gradient(ellipse 70% 120% at 50% -20%, color-mix(in srgb, var(--eol-green) 38%, transparent), transparent 70%),
        linear-gradient(180deg, color-mix(in srgb, var(--eol-hdr-brand-bg) 88%, #000) 0%, var(--eol-hdr-brand-bg) 100%);
}
.hdr-brand-aura {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.hdr-brand-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(28px);
    opacity: .55;
    animation: hdrOrbDrift 10s ease-in-out infinite;
}
.hdr-brand-orb--a {
    width: 140px; height: 140px;
    left: 8%; top: -50%;
    background: color-mix(in srgb, var(--eol-green-light) 45%, transparent);
}
.hdr-brand-orb--b {
    width: 120px; height: 120px;
    right: 6%; bottom: -55%;
    background: color-mix(in srgb, var(--eol-green) 40%, transparent);
    animation-delay: -4s;
    animation-direction: reverse;
}
.hdr-brand-beam {
    position: absolute;
    left: 50%; top: 50%;
    width: min(360px, 55vw); height: 1px;
    transform: translate(-50%, -50%);
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--eol-green-light) 45%, transparent), transparent);
    opacity: .35;
    animation: hdrBeamPulse 3.6s ease-in-out infinite;
}
@keyframes hdrOrbDrift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(18px, 10px) scale(1.08); }
}
@keyframes hdrBeamPulse {
    0%, 100% { opacity: .25; transform: translate(-50%, -50%) scaleX(.85); }
    50% { opacity: .65; transform: translate(-50%, -50%) scaleX(1); }
}
.hdr-brand-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 8px 0;
}
.hdr-brand-inner .brand { grid-column: 2; justify-self: center; }
.hdr-tagline {
    grid-column: 1;
    justify-self: start;
    min-width: 0;
    max-width: 260px;
    padding-right: 6px;
    animation: hdrFadeUp .55s ease both;
}
.hdr-tagline-kicker {
    display: none;
}
.hdr-tagline strong {
    display: block;
    font-family: var(--font-display);
    font-size: .88rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin: 0;
}
.hdr-tagline span#heroSubtitulo,
.hdr-tagline > span:last-child {
    display: block;
    font-size: .72rem;
    color: rgba(255,255,255,.68);
    line-height: 1.3;
    margin-top: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hdr-brand-right {
    grid-column: 3;
    justify-self: end;
    display: flex; align-items: center; gap: 10px;
    animation: hdrFadeUp .55s ease .05s both;
}

.brand {
    display: flex; align-items: center; gap: 10px; color: #fff;
    animation: hdrFadeUp .55s ease .03s both;
}
.brand-mark {
    position: relative;
    display: grid;
    place-items: center;
    width: 42px; height: 42px;
    border-radius: 12px;
    background: rgba(255,255,255,.06);
    box-shadow:
        0 0 0 1px rgba(255,255,255,.1),
        0 4px 14px rgba(0,0,0,.22),
        0 0 18px color-mix(in srgb, var(--eol-green) 28%, transparent);
    animation: brandMarkFloat 5.5s ease-in-out infinite;
}
.brand-mark::after {
    content: '';
    position: absolute; inset: -4px;
    border-radius: 14px;
    border: 1px solid color-mix(in srgb, var(--eol-green-light) 30%, transparent);
    opacity: .55;
    animation: brandRing 2.8s ease-out infinite;
}
.brand-mark img,
.brand img {
    height: 30px; width: auto; object-fit: contain;
    position: relative; z-index: 1;
}
.brand-mark img { height: 28px; }
.brand-text strong {
    display: block; font-family: var(--font-display); font-size: 1.25rem;
    font-weight: 800; letter-spacing: -0.02em;
    background: var(--gradient-brand);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-text span {
    display: block; font-size: .62rem; letter-spacing: .1em;
    text-transform: uppercase; color: var(--eol-green-light); font-weight: 700;
    margin-top: 1px;
}
@keyframes brandMarkFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}
@keyframes brandRing {
    0% { transform: scale(.92); opacity: .55; }
    100% { transform: scale(1.18); opacity: 0; }
}
@keyframes hdrFadeUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.hdr-weather {
    display: flex; align-items: center; gap: 8px;
    color: #fff; min-width: 0;
    padding: 5px 10px;
    border-radius: 10px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    backdrop-filter: blur(8px);
}
.hdr-weather i {
    font-size: 1.05rem; color: var(--eol-green-light);
}
.hdr-weather-text { line-height: 1.1; }
.hdr-weather-text strong {
    display: block; font-size: .85rem; font-weight: 800;
}
.hdr-weather-text span {
    display: block; font-size: .62rem; color: rgba(255,255,255,.65);
    text-transform: uppercase; letter-spacing: .04em;
}

.btn-live {
    display: inline-flex; align-items: center; gap: 7px;
    background: var(--eol-btn-live-bg); color: var(--eol-btn-live-text) !important;
    font-weight: 800; font-size: .7rem; padding: 7px 12px;
    border-radius: 999px; border: none; cursor: pointer;
    text-transform: uppercase; letter-spacing: .04em;
    box-shadow: 0 3px 12px color-mix(in srgb, var(--eol-green) 30%, transparent);
    animation: pulse-live 2.4s ease-in-out infinite;
    position: relative;
}
.btn-live .live-dot {
    width: 8px; height: 8px; border-radius: 50%; background: #fff;
    box-shadow: 0 0 0 0 rgba(255,255,255,.6);
    animation: liveDotPing 1.6s ease-out infinite;
}
@keyframes pulse-live {
    0%, 100% { box-shadow: 0 4px 16px color-mix(in srgb, var(--eol-green) 35%, transparent); }
    50% { box-shadow: 0 4px 28px color-mix(in srgb, var(--eol-green-light) 60%, transparent); }
}
@keyframes liveDotPing {
    0% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); }
    70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

.hdr-cats-wrap {
    background: rgba(0,0,0,.22);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.hdr-cats {
    display: flex; align-items: center; gap: 0;
    overflow-x: auto; scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    min-height: 34px;
}
.hdr-cats::-webkit-scrollbar { display: none; }
.hdr-nav, .hdr-cat {
    flex: 0 0 auto;
    color: rgba(255,255,255,.72);
    font-size: .74rem; font-weight: 700;
    padding: 7px 12px;
    border-right: 1px solid rgba(255,255,255,.1);
    white-space: nowrap;
    transition: color .15s ease, background .15s ease;
}
.hdr-nav:hover, .hdr-cat:hover { color: #fff; background: rgba(255,255,255,.05); }
@keyframes hdrNavActivePulse {
    0%, 100% {
        box-shadow: inset 0 -3px 0 var(--eol-green);
        background: color-mix(in srgb, var(--eol-green) 22%, transparent);
    }
    50% {
        box-shadow: inset 0 -4px 0 var(--eol-green-light), 0 0 12px color-mix(in srgb, var(--eol-green) 35%, transparent);
        background: color-mix(in srgb, var(--eol-green) 32%, transparent);
    }
}
.hdr-cat.is-active {
    color: var(--eol-nav-active-text);
    background: var(--eol-nav-active-bg);
    font-weight: 800;
    box-shadow: inset 0 -3px 0 var(--eol-nav-active-border);
    animation: hdrNavActivePulse 2s ease-in-out 2;
}
.hdr-nav.is-active {
    color: var(--eol-nav-active-text);
    background: var(--eol-nav-active-bg);
    font-weight: 800;
    box-shadow: inset 0 -3px 0 var(--eol-nav-active-border);
    animation: hdrNavActivePulse 2s ease-in-out 2;
}
.hdr-nav {
    color: rgba(255,255,255,.88);
}

.hdr-ticker {
    background: var(--eol-ticker-bg);
    border-bottom: 2px solid var(--eol-ticker-border);
}
.hdr-ticker-inner {
    display: flex; align-items: stretch; gap: 0; min-height: 30px;
}
.hdr-ticker-label {
    flex: 0 0 auto;
    display: inline-flex; align-items: center;
    background: var(--eol-ticker-label-bg);
    color: var(--eol-ticker-label-text);
    font-size: .68rem; font-weight: 800;
    letter-spacing: .08em; text-transform: uppercase;
    padding: 0 14px;
}
.hdr-ticker-track {
    flex: 1; min-width: 0;
    display: flex; align-items: center;
    overflow: hidden;
    white-space: nowrap;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.hdr-ticker-marquee {
    display: inline-flex; align-items: center;
    animation: ticker-scroll 45s linear infinite;
    will-change: transform;
}
.hdr-ticker-track:hover .hdr-ticker-marquee { animation-play-state: paused; }
.hdr-ticker-item {
    color: rgba(255,255,255,.92);
    font-size: .84rem; font-weight: 600;
    padding: 0 10px;
}
.hdr-ticker-kind {
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--eol-ticker-label-bg, var(--eol-green));
    margin-right: 4px;
}
.hdr-ticker-item a { color: inherit; }
.hdr-ticker-item a:hover { color: var(--eol-ticker-link-hover); }
.hdr-ticker-sep {
    color: rgba(255,255,255,.35);
    padding: 0 4px;
    font-weight: 400;
}
.hdr-ticker-empty {
    color: rgba(255,255,255,.55);
    font-size: .82rem;
    padding: 0 14px;
}
@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-33.333%); }
}

@media (max-width: 900px) {
    .hdr-brand-inner { grid-template-columns: 1fr auto; min-height: 52px; padding: 6px 0; }
    .hdr-brand-inner .brand { grid-column: 1; justify-self: start; }
    .hdr-tagline { display: none; }
    .hdr-brand-right { grid-column: 2; }
    .brand-text span { display: none; }
    .hdr-weather-text span { display: none; }
    .brand-mark { width: 38px; height: 38px; border-radius: 10px; }
    .brand-mark img { height: 24px; }
    .hdr-brand-beam { width: min(220px, 50vw); }
}
@media (max-width: 640px) {
    .btn-live { padding: 8px 12px; font-size: .72rem; }
    .hdr-ticker-label { font-size: .62rem; padding: 0 10px; }
    .brand img { height: 40px; }
    .brand-text strong { font-size: 1.15rem; }
    .hdr-top-inner { min-height: 30px; }
    .hdr-date { font-size: .7rem; max-width: 55%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* CTA / media badge (cards) */
.btn-cta {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--gradient-brand); color: #fff; font-weight: 700;
    padding: 12px 22px; border-radius: 8px; border: none;
    transition: transform .2s, opacity .2s;
}
.btn-cta:hover { color: #fff; transform: translateY(-2px); }
.media-play-badge {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(0,0,0,.45); border: 2px solid #fff; color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
    pointer-events: none; backdrop-filter: blur(4px);
}

/* Sections */
.section { padding: 48px 0; }
.section-header { margin-bottom: 28px; }
.section-header h2 {
    font-family: var(--font-display); font-size: 1.75rem; font-weight: 800;
    color: var(--eol-section-title); margin: 0 0 6px;
}
.section-header p { margin: 0; color: var(--eol-muted); }
.section-line {
    width: 56px; height: 3px; margin-top: 12px;
    background: var(--gradient-brand); border-radius: 2px;
}

/* Buscador home */
.home-search {
    margin-bottom: 16px;
    width: 100%;
    max-width: none;
}
.cat-filters#catFilters {
    margin-bottom: 28px;
}
.home-search-label {
    display: block;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--eol-muted);
    margin-bottom: 8px;
}
.home-search-label i { margin-right: 6px; color: var(--eol-green); }
.home-search-input {
    width: 100%;
    padding: 12px 16px 12px 42px;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    font-size: 1rem;
    font-family: inherit;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%236b7280' viewBox='0 0 512 512'%3E%3Cpath d='M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0 416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z'/%3E%3C/svg%3E") no-repeat 14px center / 18px 18px;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.home-search-input:focus {
    outline: none;
    border-color: var(--eol-search-focus);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--eol-search-focus) 18%, transparent);
}
.home-search-results {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}
.home-search-loading {
    text-align: center;
    color: var(--eol-muted);
    padding: 24px;
}
.home-search-result {
    background: #fff;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--eol-green) 12%, transparent);
    box-shadow: 0 2px 12px rgba(15, 23, 42, .06);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}
.home-search-result:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(15, 23, 42, .1);
}
.home-search-result-link {
    display: flex;
    gap: 16px;
    padding: 14px 16px;
    color: inherit;
    text-decoration: none;
    align-items: flex-start;
}
.home-search-result-img {
    flex: 0 0 88px;
    width: 88px;
    height: 66px;
    border-radius: 8px;
    overflow: hidden;
    background: #e8eef5;
}
.home-search-result-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-search-result-body { flex: 1; min-width: 0; }
.home-search-result-type {
    display: inline-block;
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--eol-green);
    margin-bottom: 4px;
}
.home-search-result-body h3 {
    margin: 0 0 6px;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--eol-dark);
}
.home-search-result-snippet {
    margin: 0 0 6px;
    font-size: .88rem;
    line-height: 1.45;
    color: var(--eol-muted);
}
.home-search-result-fecha {
    font-size: .78rem;
    color: var(--eol-muted);
}

/* Category filters */
.cat-filters {
    display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px;
}
.cat-chip {
    border: 1px solid #d1d5db; background: #fff; color: var(--eol-text);
    font-weight: 600; font-size: .85rem; padding: 8px 14px; border-radius: 999px;
    cursor: pointer; transition: all .2s;
}
.cat-chip:hover {
    border-color: var(--eol-chip-active-bg);
    color: var(--eol-chip-active-bg);
    background: #fff;
}
.cat-chip.is-active {
    border-color: transparent;
    color: var(--eol-chip-active-text);
    background: var(--eol-chip-active-bg);
}

.news-feed {
    display: flex;
    flex-direction: column;
    gap: clamp(36px, 5vw, 56px);
}
.news-cat-section {
    padding-bottom: clamp(8px, 2vw, 16px);
    border-bottom: 1px solid color-mix(in srgb, var(--eol-green) 12%, transparent);
}
.news-cat-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.news-cat-section-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
    --news-cat-accent: var(--eol-green);
}
.news-cat-section-title {
    margin: 0;
    font-family: var(--eol-font-head, 'Nunito', sans-serif);
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    font-weight: 800;
    color: var(--eol-dark, #262626);
    letter-spacing: -.02em;
    position: relative;
    padding-left: 14px;
}
.news-cat-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.15em;
    bottom: 0.15em;
    width: 4px;
    border-radius: 4px;
    background: var(--news-cat-accent);
}
.news-cat-section-line {
    flex: 1;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--news-cat-accent), transparent 85%);
    opacity: 0.45;
}

/* News grid — tarjetas tipo diario */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 32px;
    overflow: visible;
}
.news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: none;
    box-shadow: 0 2px 14px rgba(15, 23, 42, .07);
    transition: transform .28s ease, box-shadow .28s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .12);
}
.news-card-link {
    color: inherit;
    display: flex;
    flex-direction: column;
    flex: 1;
    text-decoration: none;
}
.news-card-link:hover { color: inherit; }
.news-card-img {
    aspect-ratio: 16 / 9;
    background: #e8eef5;
    overflow: hidden;
    position: relative;
    border-radius: 0;
}
.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s;
}
.news-card:hover .news-card-img img:not(.news-card-img-placeholder) { transform: scale(1.04); }
.news-card-img--placeholder {
    background: #f3f5f4;
}
.news-card-img-placeholder {
    object-fit: contain;
    object-position: center;
    padding: 10%;
    box-sizing: border-box;
    background: #f3f5f4;
}
.news-card.is-destacada {
    grid-column: 1 / -1;
}
@media (min-width: 768px) {
    .news-card.is-destacada .news-card-link {
        flex-direction: row;
        align-items: stretch;
    }
    .news-card.is-destacada .news-card-img {
        flex: 0 0 45%;
        max-width: 45%;
        aspect-ratio: unset;
        align-self: stretch;
        min-height: 220px;
    }
    .news-card.is-destacada .news-card-img img {
        object-fit: cover;
    }
    .news-card.is-destacada .news-card-img-placeholder {
        object-fit: contain;
        padding: 8%;
    }
    .news-card.is-destacada .news-card-body {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 24px 28px;
    }
}
.home-search-result-img--placeholder {
    background: #f3f5f4;
}
.home-search-result-img--placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 10%;
    box-sizing: border-box;
    background: #f3f5f4;
}
.news-card-img .media-play-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 1;
}
.news-card-body {
    padding: 16px 18px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.news-card-cat {
    font-family: var(--font-body);
    font-size: .95rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    color: var(--eol-card-cat);
    margin: 0;
    line-height: 1.3;
}
.news-card h3 {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    color: #0d2744;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card-link:hover h3 {
    color: #163a66;
}
.news-card-bajada {
    font-size: .92rem;
    color: #64748b;
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card-fecha {
    font-size: .8rem;
    color: #94a3b8;
    margin-top: auto;
    padding-top: 4px;
}
.news-card-footer { display: none; }

/* Share (Eolica) */
.share-wrap { position: relative; display: inline-flex; flex-shrink: 0; }
.share-trigger {
    width: 38px; height: 38px; border: none; border-radius: 50%;
    background: var(--eol-dark); color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: .95rem; transition: background .2s, transform .2s;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.share-trigger:hover { background: var(--eol-green); transform: scale(1.05); }
.share-wrap.open { z-index: 200; }
.share-wrap.open .share-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.share-menu {
    position: absolute; top: calc(100% + 8px); right: 0; min-width: 180px;
    background: #fff; border-radius: 12px;
    box-shadow: 0 8px 32px rgba(38,38,38,.22); padding: 8px 0;
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .2s, transform .2s, visibility .2s; z-index: 210;
}
/* En cards: abrir hacia arriba para no taparse */
.news-card-footer .share-menu {
    top: auto;
    bottom: calc(100% + 8px);
    transform: translateY(6px);
}
.news-card-footer .share-wrap.open .share-menu {
    transform: translateY(0);
}
.share-menu-item {
    display: flex; align-items: center; gap: 12px; width: 100%;
    border: none; background: transparent; padding: 10px 16px;
    font-size: .9rem; color: var(--eol-text); cursor: pointer; text-align: left;
}
.share-menu-item:hover { background: #f3f5f4; }
.share-menu-item i { width: 20px; text-align: center; font-size: 1.1rem; }
.share-menu-item[data-action="whatsapp"] i { color: #25D366; }
.share-menu-item[data-action="facebook"] i { color: #1877F2; }
.share-menu-item[data-action="instagram"] i { color: #E4405F; }
.share-menu-item[data-action="copy"] i { color: #6b7280; }

.empty-state, .loading {
    text-align: center; padding: 48px 16px; color: var(--eol-muted);
}

/* Quiénes somos */
.quienes-section {
    position: relative;
    background:
        radial-gradient(ellipse at 12% 20%, rgba(125, 206, 160, .22), transparent 52%),
        radial-gradient(ellipse at 88% 80%, color-mix(in srgb, var(--eol-green) 10%, transparent), transparent 48%),
        linear-gradient(180deg, #f6faf7 0%, #eef5f1 100%);
    padding-top: 72px;
    padding-bottom: 72px;
    overflow: hidden;
}
.quienes-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        -12deg,
        transparent,
        transparent 18px,
        color-mix(in srgb, var(--eol-green) 3%, transparent) 18px,
        color-mix(in srgb, var(--eol-green) 3%, transparent) 19px
    );
    pointer-events: none;
}
.quienes-inner { position: relative; z-index: 1; }
.quienes-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(28px, 5vw, 56px);
    align-items: center;
}
.quienes-grid--solo {
    grid-template-columns: 1fr;
    max-width: 720px;
}
.quienes-kicker {
    margin: 0 0 10px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--eol-green-deep);
}
.quienes-copy h2 {
    margin: 0 0 14px;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.2vw, 2.85rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.02em;
    color: var(--eol-dark);
}
.quienes-copy .section-line {
    margin: 0 0 22px;
}
.quienes-texto {
    max-width: 42ch;
    color: var(--eol-text);
    font-size: 1.08rem;
    line-height: 1.8;
}
.quienes-grid--solo .quienes-texto { max-width: 58ch; }
.quienes-media {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 4px;
    min-height: 320px;
    aspect-ratio: 5 / 4;
    background: color-mix(in srgb, var(--eol-green) 8%, transparent);
}
.quienes-media::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0; right: 0;
    height: 36%;
    background: linear-gradient(180deg, transparent, rgba(26, 38, 32, .28));
    pointer-events: none;
}
.quienes-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
@media (max-width: 800px) {
    .quienes-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .quienes-media {
        order: -1;
        min-height: 220px;
        aspect-ratio: 16 / 10;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        width: 100vw;
        max-width: 100vw;
        border-radius: 0;
    }
    .quienes-texto { max-width: none; }
}

/* Equipo */
.equipo-section {
    background: #fff;
    padding-top: 64px;
    padding-bottom: 72px;
    border-top: 1px solid color-mix(in srgb, var(--eol-green) 12%, transparent);
}
.equipo-header {
    text-align: left;
    margin-bottom: 40px;
}
.equipo-section .equipo-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: var(--eol-green-deep);
    margin: 0 0 6px;
    letter-spacing: -0.02em;
}
.equipo-section .equipo-header p {
    margin: 0;
    color: var(--eol-muted);
    font-size: 1rem;
}
.equipo-header .section-line {
    margin-top: 14px;
    width: 48px;
    height: 3px;
    background: var(--gradient-brand);
    border-radius: 2px;
}
.equipo-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px 28px;
    justify-items: center;
}
.equipo-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 220px;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    text-align: center;
}
.equipo-photo {
    width: 152px;
    height: 152px;
    flex-shrink: 0;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(160deg, color-mix(in srgb, var(--eol-green-light) 35%, transparent), color-mix(in srgb, var(--eol-green) 18%, transparent));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--eol-green-deep);
    font-size: 2.2rem;
}
.equipo-photo.no-photo {
    width: 152px;
    height: 152px;
}
.equipo-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}
.equipo-member:hover .equipo-photo img {
    transform: scale(1.03);
}
.equipo-meta {
    text-align: center;
}
.equipo-meta h3 {
    margin: 0 0 6px;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--eol-dark);
}
.equipo-cargo {
    display: block;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #777;
    margin-bottom: 8px;
}
.equipo-bio {
    margin: 0;
    font-size: .88rem;
    line-height: 1.5;
    color: var(--eol-muted);
    text-align: center;
}

/* Documentos / Farmacias */
.docs-section.farm-section {
    background:
        linear-gradient(180deg, #f7faf8 0%, #eef4f0 100%);
    color: var(--eol-text);
    padding-top: 56px;
    padding-bottom: 64px;
}
.farm-section .section-header h2 { color: var(--eol-dark); }
.farm-section .section-header p { color: var(--eol-muted); }
.farm-empty { color: var(--eol-muted); }

/* Teléfonos útiles */
.telefonos-section {
    background: linear-gradient(180deg, #f7faf8 0%, #eef4f0 100%);
    padding-top: 56px;
    padding-bottom: 64px;
}
.telefonos-panel { max-width: 720px; margin: 0 auto; }
.telefonos-grupo { margin-bottom: 28px; }
.telefonos-grupo-titulo {
    font-size: 1rem;
    font-weight: 800;
    color: var(--eol-green-deep);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 12px;
}
.telefonos-lista { list-style: none; margin: 0; padding: 0; }
.telefono-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 14px 18px;
    background: var(--eol-card);
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--eol-green) 10%, transparent);
    margin-bottom: 10px;
    box-shadow: 0 4px 16px rgba(26, 38, 32, .05);
}
.telefono-item-nombre { font-weight: 600; color: var(--eol-text); }
.telefono-item-num {
    font-weight: 700;
    color: var(--eol-green);
    text-decoration: none;
    white-space: nowrap;
}
.telefono-item-num:hover { color: var(--eol-green-deep); text-decoration: underline; }
.telefonos-empty { color: var(--eol-muted); }

.docs-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px;
}

/* Farmacias de turno — bloque editorial */
.farmacias-panel { margin-bottom: 8px; }
.farmacias-widget {
    background: var(--eol-card);
    border-radius: 18px;
    box-shadow: 0 12px 40px rgba(26, 38, 32, .08);
    border: 1px solid color-mix(in srgb, var(--eol-green) 12%, transparent);
    overflow: hidden;
}
.farmacias-widget-kicker {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; flex-wrap: wrap;
    padding: 16px 22px 0;
}
.farmacias-widget-badge {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .72rem; font-weight: 800; letter-spacing: .08em;
    text-transform: uppercase; color: var(--eol-green-deep);
}
.farmacias-widget-badge i { color: var(--eol-green); }
.farmacias-widget-period {
    font-size: .85rem; font-weight: 600; color: var(--eol-muted);
}
.farmacias-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 18px 22px 8px;
}
.farmacias-feature-card {
    padding: 22px 24px;
    border-radius: 14px;
    position: relative;
    overflow: hidden;
}
.farmacias-feature-card.is-hoy {
    background: var(--gradient-brand);
    color: #fff;
    box-shadow: 0 10px 28px color-mix(in srgb, var(--eol-green) 28%, transparent);
}
.farmacias-feature-card.is-manana {
    background: #f3f7f5;
    color: var(--eol-dark);
    border: 1px solid color-mix(in srgb, var(--eol-green) 14%, transparent);
}
.farmacias-hoy-label {
    display: block; font-size: .72rem; font-weight: 800;
    letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px;
}
.farmacias-feature-card.is-hoy .farmacias-hoy-label { opacity: .92; }
.farmacias-feature-card.is-manana .farmacias-hoy-label { color: var(--eol-green); }
.farmacias-hoy-nombre {
    display: block; font-family: var(--font-display);
    font-size: clamp(1.25rem, 2.8vw, 1.85rem); font-weight: 800; line-height: 1.2;
}
.farmacias-hoy-meta {
    display: block; margin-top: 10px; font-size: .88rem;
}
.farmacias-feature-card.is-hoy .farmacias-hoy-meta { opacity: .88; }
.farmacias-feature-card.is-manana .farmacias-hoy-meta { color: var(--eol-muted); }
.farmacias-carousel-wrap { padding: 12px 22px 22px; }
.farmacias-carousel-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; margin-bottom: 14px;
}
.farmacias-carousel-head h3 {
    margin: 0; font-size: 1rem; color: var(--eol-dark); font-weight: 700;
}
.farmacias-carousel-nav { display: flex; gap: 6px; }
.farm-car-prev, .farm-car-next {
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--eol-green) 22%, transparent);
    background: #fff; color: var(--eol-green-deep); cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.farm-car-prev:hover, .farm-car-next:hover {
    background: var(--eol-green); color: #fff; border-color: transparent;
}
.farmacias-carousel {
    overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 4px;
}
.farmacias-carousel-track {
    display: flex; gap: 12px; width: max-content;
}
.farm-day-card {
    flex: 0 0 168px;
    scroll-snap-align: center;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .04);
    transition: border-color .15s ease, transform .15s ease;
    text-align: center;
}
.farm-day-card:hover {
    border-color: color-mix(in srgb, var(--eol-green) 35%, transparent);
    transform: translateY(-2px);
}
.farm-day-card.is-today {
    border-color: var(--eol-green);
    background: linear-gradient(180deg, color-mix(in srgb, var(--eol-green) 14%, #fff) 0%, #fff 100%);
    box-shadow: 0 6px 20px color-mix(in srgb, var(--eol-green) 22%, transparent);
}
.farm-day-card.is-manana {
    border-color: color-mix(in srgb, var(--eol-green) 28%, transparent);
}
.farm-day-card.is-sunday {
    border-color: color-mix(in srgb, var(--eol-green) 35%, transparent);
    background: linear-gradient(180deg, #f2faf5 0%, #fff 100%);
}
.farm-day-num {
    display: block; font-family: var(--font-display);
    font-size: 1.35rem; font-weight: 800; line-height: 1;
    color: var(--eol-green); margin-bottom: 8px;
    text-align: center;
}
.farm-day-name {
    display: block; font-size: .92rem; font-weight: 700;
    line-height: 1.3; color: var(--eol-dark);
    text-align: center;
}
.farm-day-tag {
    display: inline-block; margin-top: 8px;
    font-size: .68rem; font-weight: 700; letter-spacing: .04em;
    text-transform: uppercase; color: var(--eol-green-deep);
    background: color-mix(in srgb, var(--eol-green) 12%, transparent);
    padding: 3px 8px; border-radius: 999px;
}

/* FAB contactos */
.contactos-fab {
    position: fixed;
    right: max(16px, env(safe-area-inset-right));
    bottom: calc(var(--player-h, 64px) + 16px + env(safe-area-inset-bottom, 0px));
    z-index: 980;
    width: 56px; height: 56px;
    min-width: 44px; min-height: 44px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: #25D366;
    color: #fff;
    box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
    display: flex; align-items: center; justify-content: center;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    padding: 0;
}
.contactos-fab .fab-icon-wa {
    width: 28px;
    height: 28px;
    display: block;
    flex-shrink: 0;
}
.contactos-fab .fab-icon-close { display: none; font-size: 1.2rem; }
.contactos-fab:hover { transform: scale(1.06); }
.contactos-fab.is-open {
    background: var(--eol-dark);
    box-shadow: 0 8px 20px rgba(0,0,0,.35);
}
.contactos-fab.is-open .fab-icon-wa { display: none; }
.contactos-fab.is-open .fab-icon-close { display: block; }
.contactos-fab-backdrop {
    position: fixed; inset: 0; z-index: 970;
    background: rgba(0,0,0,.35);
}
.contactos-fab-panel {
    position: fixed;
    right: max(12px, env(safe-area-inset-right));
    bottom: calc(var(--player-h, 64px) + 84px + env(safe-area-inset-bottom, 0px));
    z-index: 985;
    width: min(300px, calc(100vw - 24px));
    max-height: min(60vh, calc(100vh - var(--player-h, 64px) - 120px));
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0,0,0,.28);
    transform: translateY(12px) scale(.96);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.contactos-fab-panel.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}
.contactos-fab-panel-head {
    flex: 0 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px;
    background: var(--eol-dark);
    color: #fff;
}
.contactos-fab-close {
    border: none; background: transparent; color: #fff;
    font-size: 1.4rem; line-height: 1; cursor: pointer; padding: 0 4px;
}
.contactos-fab-list {
    display: flex; flex-direction: column; padding: 10px;
    overflow-y: auto; flex: 1; min-height: 0;
}
.contactos-fab-item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    color: var(--eol-dark);
    text-decoration: none;
    font-weight: 600;
    transition: background .15s ease;
}
.contactos-fab-item i { width: 22px; text-align: center; color: var(--eol-green); font-size: 1.15rem; }
.contactos-fab-item:hover { background: color-mix(in srgb, var(--eol-green) 10%, transparent); }
.contactos-fab-item.is-principal {
    background: rgba(37, 211, 102, .12);
    border: 1px solid rgba(37, 211, 102, .4);
}
.contactos-fab-item.is-principal i { color: #128C7E; }
.contactos-fab-empty {
    margin: 12px; color: #6b7280; font-size: .9rem; text-align: center;
}

/* Panel Últimas 24HS */
.hs24-tab[hidden] {
    display: none !important;
}
.hs24-tab {
    position: fixed;
    right: 0;
    top: 42%;
    z-index: 940;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    border: none;
    cursor: pointer;
    background: var(--eol-green);
    color: #fff;
    font-weight: 800;
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 14px 10px;
    border-radius: 0 10px 10px 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: -4px 0 18px rgba(0,0,0,.25);
    transition: background .15s ease, padding .15s ease;
}
.hs24-tab:hover, .hs24-tab.is-open { background: var(--eol-green-deep); }
.hs24-tab-dot {
    width: 7px; height: 7px; border-radius: 50%; background: #fff;
    flex-shrink: 0;
    box-shadow: 0 0 0 0 rgba(255,255,255,.5);
    animation: pulse-live 2s ease-in-out infinite;
}
.hs24-tab-text { line-height: 1; }
.hs24-backdrop {
    position: fixed; inset: 0; z-index: 960;
    background: rgba(0,0,0,.45);
}
.hs24-panel {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    z-index: 965;
    width: min(380px, 92vw);
    background: #141414;
    color: #fff;
    box-shadow: -12px 0 40px rgba(0,0,0,.4);
    transform: translateX(105%);
    transition: transform .25s ease;
    display: flex;
    flex-direction: column;
}
.hs24-panel.is-open { transform: translateX(0); }
.hs24-panel-head {
    flex: 0 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    background: var(--eol-green);
}
.hs24-panel-head-text {
    flex: 1;
    min-width: 0;
}
.hs24-panel-head strong {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: .95rem; letter-spacing: .06em; text-transform: uppercase;
}
.hs24-panel-sub {
    display: block;
    margin-top: 4px;
    font-size: .72rem;
    font-weight: 600;
    opacity: .9;
    letter-spacing: .02em;
}
.hs24-close {
    width: 34px; height: 34px; border-radius: 50%;
    border: none; background: rgba(255,255,255,.2); color: #fff;
    font-size: 1.35rem; line-height: 1; cursor: pointer;
}
.hs24-close:hover { background: rgba(255,255,255,.32); }
.hs24-list {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0 24px;
    position: relative;
}
.hs24-list::before {
    content: '';
    position: absolute;
    left: 22px; top: 12px; bottom: 24px;
    width: 2px;
    background: color-mix(in srgb, var(--eol-green) 35%, transparent);
}
.hs24-item {
    position: relative;
    padding: 14px 18px 14px 44px;
}
.hs24-item::before {
    content: '';
    position: absolute;
    left: 17px; top: 22px;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--eol-green);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--eol-green) 25%, transparent);
    z-index: 1;
}
.hs24-item-link {
    display: block;
    color: inherit;
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 10px;
    transition: background .15s ease;
}
.hs24-item-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.hs24-cat {
    display: inline-block;
    font-size: .68rem; font-weight: 800;
    letter-spacing: .06em; text-transform: uppercase;
    border: 1px solid;
    padding: 2px 8px; border-radius: 4px;
    margin-bottom: 8px;
}
.hs24-item h3 {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: 1rem; font-weight: 800; line-height: 1.3;
    color: #fff;
}
.hs24-item time {
    display: block;
    font-size: .78rem;
    color: rgba(255,255,255,.55);
}
.hs24-empty {
    margin: 28px 20px;
    text-align: center;
    color: rgba(255,255,255,.55);
    font-size: .92rem;
}

.radio-status {
    color: rgba(255,255,255,.65); font-size: .8rem; font-weight: 600;
}

/* Contacto / footer */
.contacto-section { background: #fff; }
.contacto-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
.form-contacto label { display: block; font-weight: 600; font-size: .85rem; margin-bottom: 4px; }
.form-contacto input, .form-contacto textarea {
    width: 100%; padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 8px;
    font-family: inherit; margin-bottom: 12px;
}
.form-contacto input:focus, .form-contacto textarea:focus {
    outline: none; border-color: var(--eol-green);
}

/* Sticky radio player */
.radio-player {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
    height: var(--player-h);
    background: var(--eol-player-bg);
    border-top: 2px solid var(--eol-player-play);
    display: flex; align-items: center;
    box-shadow: 0 -6px 18px rgba(0,0,0,.22);
}
.radio-player-inner {
    width: min(1120px, 92%); margin: 0 auto;
    display: flex; align-items: center; gap: 12px; justify-content: space-between;
}
.radio-info { display: flex; align-items: center; gap: 10px; color: #fff; min-width: 0; }
.radio-info img { height: 32px; width: auto; border-radius: 4px; }
.radio-info strong { display: block; font-size: .85rem; }
.radio-info span { font-size: .7rem; color: var(--eol-green-light); }
.radio-controls { display: flex; align-items: center; gap: 10px; }
.radio-play {
    width: 36px; height: 36px; border-radius: 50%; border: none; cursor: pointer;
    background: var(--eol-player-play); color: #fff; font-size: .9rem;
    display: flex; align-items: center; justify-content: center;
}
.radio-play.is-playing { background: #fff; color: var(--eol-green-deep); }
.radio-link {
    color: rgba(255,255,255,.7); font-size: .8rem; font-weight: 600;
}
.radio-link:hover { color: #fff; }
.radio-player.is-hidden { display: none; }

/* Páginas institucionales (ancho completo) */
.pagina-institucional-main {
    min-height: calc(100vh - 220px);
}
.pagina-institucional .pagina-institucional-inner {
    width: 100%;
    max-width: none;
    padding-inline: clamp(16px, 4vw, 56px);
}
.pagina-institucional .quienes-grid--solo { max-width: none; }
.pagina-institucional .quienes-texto { max-width: none; }
.pagina-institucional .equipo-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: clamp(24px, 3vw, 48px);
}
.pagina-institucional .equipo-member { max-width: none; }
.pagina-institucional .contacto-grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 4vw, 64px);
}
.pagina-institucional .farmacias-widget { width: 100%; }

.descargar-app-section { background: #fff; }
.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: clamp(16px, 3vw, 28px);
    max-width: 920px;
    margin: 0 auto;
}
.dl-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    border-radius: 14px;
    border: 1px solid color-mix(in srgb, var(--eol-green) 22%, transparent);
    background: linear-gradient(145deg, #fff 0%, color-mix(in srgb, var(--eol-green) 6%, #fff) 100%);
    color: var(--eol-dark, #262626);
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(38, 38, 38, .07);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.dl-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(38, 38, 38, .12);
    border-color: color-mix(in srgb, var(--eol-green) 45%, transparent);
    color: var(--eol-dark, #262626);
    text-decoration: none;
}
.dl-btn .dl-ico {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    color: #fff;
}
.dl-android .dl-ico { background: linear-gradient(135deg, #3ddc84, #1a9b5c); }
.dl-ios .dl-ico { background: linear-gradient(135deg, #555, #111); }
.dl-windows .dl-ico { background: linear-gradient(135deg, #00a4ef, #0078d4); }
.dl-text { display: flex; flex-direction: column; gap: 4px; text-align: left; }
.dl-text strong { font-family: var(--eol-font-head, 'Nunito', sans-serif); font-size: 1.05rem; }
.dl-sub { font-size: .85rem; color: var(--eol-muted, #666); }
.descargar-app-empty { max-width: 420px; margin: 24px auto 0; text-align: center; }
/* Comunicados público */
.comunicados-section { background: #fff; }
.comunicados-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: clamp(20px, 3vw, 32px);
}
.comunicado-card {
    border: 1px solid color-mix(in srgb, var(--eol-green) 15%, transparent);
    border-radius: 12px;
    overflow: hidden;
    background: var(--eol-card, #fff);
    box-shadow: 0 4px 18px rgba(38, 38, 38, .06);
    transition: transform .2s ease, box-shadow .2s ease;
}
.comunicado-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(38, 38, 38, .1);
}
.comunicado-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}
.comunicado-card-flyer img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 420px;
    object-fit: cover;
}
.comunicado-card-body { padding: 16px 18px 20px; }
.comunicado-card-body h3 {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--eol-dark);
}
.comunicado-card-text {
    margin: 0;
    font-size: .92rem;
    line-height: 1.55;
    color: var(--eol-muted);
}
.comunicado-detalle {
    padding: clamp(28px, 4vw, 48px) 0 clamp(48px, 6vw, 72px);
    background: #fff;
}
.comunicado-detalle-header {
    margin-bottom: 28px;
}
.comunicado-detalle-badge {
    display: inline-block;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--eol-green);
    margin-bottom: 12px;
}
.comunicado-detalle h1 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.35rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 10px;
    color: var(--eol-dark);
}
.comunicado-detalle-fecha {
    display: block;
    font-size: .9rem;
    color: var(--eol-muted);
    margin-bottom: 14px;
}
.comunicado-detalle-header .section-line {
    width: 56px;
    height: 3px;
    margin-top: 4px;
    background: var(--gradient-brand);
    border-radius: 2px;
}
.comunicado-detalle-card {
    margin: 0 0 28px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--eol-green) 18%, transparent);
    box-shadow: 0 8px 32px rgba(38, 38, 38, .08);
    background: #fff;
}
.comunicado-detalle-flyer {
    margin: 0;
}
.comunicado-detalle-flyer img {
    width: 100%;
    height: auto;
    display: block;
    max-height: min(72vh, 720px);
    object-fit: contain;
    background: #f3f5f4;
}
.comunicado-detalle-texto {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--eol-text);
    max-width: 68ch;
}
.comunicado-detalle-footer {
    margin: 32px 0 0;
    padding-top: 20px;
    border-top: 1px solid color-mix(in srgb, var(--eol-green) 12%, transparent);
}
.comunicado-detalle-back {
    font-weight: 700;
    color: var(--eol-green);
}
.comunicado-detalle-back:hover {
    color: var(--eol-green-deep);
}
.comunicado-detalle .breadcrumb-nav {
    margin-bottom: 20px;
    font-size: .85rem;
    color: var(--eol-muted);
}
.comunicado-detalle .breadcrumb-nav a {
    color: var(--eol-green);
}

/* Detalle noticia */
.noticia-detalle { padding: 40px 0 64px; }
.noticia-detalle .breadcrumb-nav { margin-bottom: 20px; font-size: .85rem; color: var(--eol-muted); }
.noticia-detalle .breadcrumb-nav a { color: var(--eol-green); }
.noticia-hero-img {
    width: 100%; aspect-ratio: 16 / 9; max-height: none; object-fit: cover; border-radius: 4px; margin-bottom: 24px;
    background: #e5e7eb;
}
.noticia-cat {
    display: inline-block; font-size: .75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .06em; color: var(--eol-green); margin-bottom: 10px;
}
.noticia-top-row {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px;
}
.noticia-detalle h1 {
    font-family: var(--font-display); font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800; line-height: 1.2; margin: 0 0 12px; color: var(--eol-dark);
}
.noticia-bajada {
    font-size: 1.15rem; color: var(--eol-muted); line-height: 1.5; margin: 0 0 16px;
    border-left: 3px solid var(--eol-green); padding-left: 14px;
}
.noticia-meta {
    display: flex; flex-wrap: wrap; gap: 12px 20px;
    font-size: .85rem; color: #9ca3af; margin-bottom: 28px;
}
.noticia-meta i { margin-right: 6px; color: var(--eol-green); }
.noticia-autor { color: var(--eol-text); font-weight: 600; }

/* Autor en cards / hero */
.autor-inline {
    display: inline-flex; align-items: center; gap: 8px;
}
.autor-inline-avatar {
    width: 22px; height: 22px; border-radius: 50%;
    object-fit: cover; border: 1.5px solid var(--eol-green);
    flex-shrink: 0;
}
.autor-inline-name {
    font-weight: 600; font-size: .85rem;
}
.autor-inline-name { color: rgba(255,255,255,.9); }
.autor-inline-avatar { border-color: var(--eol-green-light); }

/* Ficha Autor (detalle) */
.autor-block {
    margin-top: 40px; padding-top: 8px; max-width: 720px;
}
.autor-block-title {
    font-family: var(--font-display);
    font-size: 1.15rem; font-weight: 800;
    color: var(--eol-dark); margin: 0 0 8px;
    text-transform: uppercase; letter-spacing: .04em;
}
.autor-block-line {
    width: 48px; height: 3px; background: var(--eol-green);
    border-radius: 2px; margin-bottom: 18px;
}
.autor-block-body {
    display: flex; align-items: flex-start; gap: 16px;
}
.autor-block-avatar {
    width: 72px; height: 72px; border-radius: 50%;
    object-fit: cover; border: 3px solid var(--eol-green);
    flex-shrink: 0;
}
.autor-block-name {
    font-weight: 800; text-transform: uppercase;
    letter-spacing: .03em; color: var(--eol-dark);
    font-size: 1.05rem; margin-bottom: 6px;
}
.autor-block-bio {
    margin: 0; font-style: italic; color: #6b7280;
    font-size: .95rem; line-height: 1.5;
}

.noticia-video {
    margin: 0 0 24px; border-radius: 8px; overflow: hidden; background: #111;
    aspect-ratio: 16/9;
}
.noticia-video iframe, .noticia-video video {
    width: 100%; height: 100%; border: 0; display: block;
}
.noticia-cuerpo {
    font-size: 1.05rem; line-height: 1.75; color: var(--eol-text);
    max-width: 720px;
}
.noticia-cuerpo p { margin: 0 0 1em; }
.noticia-cuerpo .eol-image-block,
.noticia-cuerpo .eol-video-block,
.noticia-cuerpo .eol-audio-block {
    margin: 1.25em 0;
}
.noticia-cuerpo .eol-image-block .eol-media-caption,
.noticia-cuerpo .eol-video-block .eol-media-caption,
.noticia-cuerpo .eol-audio-block .eol-media-caption {
    font-family: var(--font-body);
    font-size: .95rem;
    line-height: 1.5;
    color: var(--eol-text);
    font-style: normal;
    font-weight: 500;
    text-align: left;
    display: block;
    margin: 0;
    padding: 11px 14px 11px 16px;
    background: color-mix(in srgb, var(--eol-green) 12%, #fff);
    border-top: 3px solid var(--eol-green);
    box-shadow: inset 4px 0 0 color-mix(in srgb, var(--eol-green) 35%, transparent);
}
.noticia-cuerpo .eol-audio-block .eol-media-caption {
    margin-top: 12px;
    border-radius: 8px;
    border-top: none;
    border-left: 4px solid var(--eol-green);
    box-shadow: none;
}
.noticia-cuerpo .eol-media-caption:empty {
    display: none;
}
.eol-carousel-slide .eol-media-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    margin: 0;
    padding: 28px 14px 14px;
    background: linear-gradient(transparent 0%, rgba(0, 0, 0, .88) 100%);
    color: #fff;
    font-style: normal;
    font-size: .92rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .9);
    border-top: none;
    box-shadow: none;
}
.eol-carousel-slide .eol-media-caption:empty {
    display: none;
}

/* Carrusel en cuerpo */
.eol-carousel {
    position: relative;
    margin: 1.25em 0;
    border-radius: 10px;
    overflow: hidden;
    background: #111;
}
.eol-carousel-slide a.eol-slide-link-a {
    display: block; width: 100%; height: 100%;
}
.eol-image-block a.eol-slide-link-a {
    display: block; width: 100%;
}
.eol-video-block .eol-drag-handle,
.eol-audio-block .eol-drag-handle,
.eol-carousel .eol-drag-handle,
.eol-image-block .eol-drag-handle,
.eol-block-toolbar,
.eol-block-footer { display: none; }
.eol-carousel-track { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; }
.eol-carousel-slide {
    display: none; margin: 0; height: 100%; position: relative;
}
.eol-carousel-slide.is-active { display: block; height: 100%; }
.eol-carousel-slide img {
    width: 100%; height: 100%; object-fit: cover;
    margin: 0 !important; border-radius: 0 !important; aspect-ratio: auto;
}
.noticia-cuerpo > p > img,
.noticia-cuerpo img:not(.eol-carousel-slide img) {
    max-width: 100%; width: 100%; height: auto;
    aspect-ratio: 16 / 9; object-fit: cover;
    border-radius: 4px; margin: 1em 0; display: block;
}
.eol-carousel-prev, .eol-carousel-next {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 40px; height: 40px; border: none; border-radius: 50%;
    background: rgba(0,0,0,.55); color: #fff; font-size: 1.5rem; line-height: 1;
    cursor: pointer; z-index: 2;
}
.eol-carousel-prev { left: 10px; }
.eol-carousel-next { right: 10px; }
.eol-carousel-prev:hover, .eol-carousel-next:hover { background: var(--eol-green); }
.eol-carousel-dots {
    position: absolute; bottom: 12px; left: 0; right: 0;
    display: flex; justify-content: center; gap: 8px; z-index: 2;
}
.eol-carousel-dot {
    width: 10px; height: 10px; border-radius: 50%; border: none;
    background: rgba(255,255,255,.45); padding: 0; cursor: pointer;
}
.eol-carousel-dot.is-active { background: #fff; }

.eol-video-block {
    border-radius: 10px;
    overflow: hidden;
    background: #111;
}
.eol-video-block .eol-drag-handle { display: none; }
.eol-video-inner {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #111;
}
.eol-video-inner video, .eol-video-inner iframe {
    width: 100%; height: 100%; border: 0; display: block;
}

.eol-audio-block {
    padding: 14px 16px;
    background: #f7faf8;
    border: 1px solid color-mix(in srgb, var(--eol-green) 18%, transparent);
    border-radius: 10px;
}
.eol-audio-block .eol-drag-handle,
.eol-audio-block .eol-block-toolbar { display: none; }
.eol-audio-inner audio {
    width: 100%;
    display: block;
}

/* Sections polish */
.section { padding: clamp(36px, 6vw, 64px) 0; }
.section-header { margin-bottom: clamp(20px, 4vw, 32px); }
.section-header h2 {
    font-family: var(--font-display); font-size: clamp(1.45rem, 3.5vw, 1.85rem); font-weight: 800;
    color: var(--eol-dark); margin: 0 0 6px; letter-spacing: -0.02em;
}
.site-header {
    box-shadow: 0 6px 24px rgba(0,0,0,.28);
}
.hdr-ticker {
    background: #0f0f0f;
}
.hdr-ticker-item {
    font-size: .86rem;
    letter-spacing: .01em;
}
.news-card {
    border-radius: 12px;
}
.news-card:hover {
    transform: translateY(-3px);
}
.form-contacto input, .form-contacto textarea {
    padding: 12px 14px;
    border-radius: 10px;
    border-color: #e5e7eb;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.form-contacto input:focus, .form-contacto textarea:focus {
    outline: none; border-color: var(--eol-green);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--eol-green) 15%, transparent);
}
.form-contacto .btn-cta {
    width: 100%;
    justify-content: center;
    margin-top: 4px;
}
.cat-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    gap: 10px;
}
.cat-filters::-webkit-scrollbar { display: none; }
.cat-chip { flex: 0 0 auto; }

@media (max-width: 900px) {
    .contacto-grid { grid-template-columns: 1fr; gap: 24px; }
    .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
    .equipo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; }
    .hs24-panel { width: min(100vw, 400px); }
}

@media (max-width: 720px) {
    .radio-info span { display: none; }
    .radio-link { display: none; }
    .radio-player-inner { gap: 10px; width: min(100%, 96%); }
    .radio-info strong { font-size: .85rem; }
    .radio-play { width: 42px; height: 42px; }
}

@media (max-width: 640px) {
    .container { width: min(100%, 94%); }
    .home-search-input {
        padding: 11px 14px 11px 38px;
        font-size: 16px;
    }
    .home-search-result-link {
        flex-direction: column;
        align-items: stretch;
    }
    .home-search-result-img {
        flex: none;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }
    .news-grid { grid-template-columns: 1fr; gap: 18px; }
    .equipo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
    .farmacias-featured { grid-template-columns: 1fr; padding: 14px 16px 4px; }
    .farmacias-widget-kicker,
    .farmacias-carousel-wrap { padding-left: 16px; padding-right: 16px; }
    .farm-day-card { flex-basis: 140px; }
    .hs24-tab {
        top: auto;
        bottom: calc(var(--player-h, 64px) + 88px + env(safe-area-inset-bottom, 0px));
        padding: 10px 7px;
        font-size: .65rem;
    }
    .hs24-panel { width: 100vw; }
    .contactos-fab {
        right: max(12px, env(safe-area-inset-right));
        width: 52px; height: 52px;
    }
    .contactos-fab-panel {
        right: max(10px, env(safe-area-inset-right));
        left: max(10px, env(safe-area-inset-left));
        width: auto;
    }
    .quienes-section, .equipo-section, .farm-section, .contacto-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .section { padding: 36px 0; }
}

@media (max-width: 480px) {
    .hdr-brand-inner { min-height: 60px; padding: 8px 0; gap: 8px; }
    .hdr-weather-text strong { font-size: .85rem; }
    .btn-live { padding: 7px 10px; }
    .hdr-nav, .hdr-cat { padding: 9px 11px; font-size: .74rem; }
    .news-card-body { padding: 14px 16px 18px; }
    .news-card h3 { font-size: 1.05rem; }
    .news-card-cat { font-size: .9rem; }
    .equipo-grid { grid-template-columns: 1fr; gap: 32px; }
    .equipo-photo,
    .equipo-photo.no-photo { width: 112px; height: 112px; font-size: 1.7rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .hdr-ticker-marquee { animation: none; padding-left: 0; transform: none; }
    .news-card:hover, .equipo-member:hover .equipo-photo img, .contactos-fab:hover { transform: none; }
    .brand-mark, .brand-mark::after, .hdr-brand-orb, .hdr-brand-beam, .btn-live, .btn-live .live-dot {
        animation: none !important;
    }
}

