/* /mapa-de-huesca and /noticias-de-huesca: the empresas.css components in the landing's green. */
:root{--ink:#163b30;--muted:#556c61;--teal:#1b906a;--teal-deep:#0f6e4c;--teal-ink:#0d3a28}
body{background:#edf4ed}
.ambient{background:radial-gradient(ellipse at 85% 12%,#b3ecc595,transparent 47%),radial-gradient(ellipse at 0% 35%,#e9f8bd75,transparent 40%),radial-gradient(ellipse at 90% 70%,#98d3d04d,transparent 48%),linear-gradient(145deg,#f4f8f2,#e9f2ea)}
.pill.primary{background:linear-gradient(150deg,#1b906a,#076e4c);box-shadow:inset 0 1px 0 #ffffff50,0 8px 22px #147d5426}
.m-icon{background:linear-gradient(150deg,#1b906a,#076e4c);box-shadow:0 10px 24px #147d5433}
.note .badge{background:#1b906a}.note .badge.soft{background:#d6edd0;color:#0f6e4c}
.halo{background:radial-gradient(ellipse,#80cc9160,transparent 66%)}
.wide-shot{margin:0;border-radius:32px;overflow:hidden;position:relative;box-shadow:0 30px 70px #1a473324}
.wide-shot img{display:block;width:100%;height:auto;max-height:560px;object-fit:cover;object-position:50% 40%}
.wide-shot figcaption{position:absolute;left:18px;bottom:18px;padding:10px 14px;border-radius:14px;background:#ffffffd9;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);font-size:13px;font-weight:650;color:var(--ink)}
.teaser{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap;padding:34px;border-radius:30px}
.teaser h3{font-size:24px;letter-spacing:-.6px;margin:0 0 6px}
.teaser p{margin:0;color:var(--muted)}
.topics{display:flex;flex-wrap:wrap;gap:8px;margin-top:22px}
.topics span{padding:9px 14px;border-radius:100px;background:#ffffffb3;border:1px solid #fff;font-size:14px;font-weight:600}
.news-stack{position:relative;width:min(340px,100%);display:grid;gap:12px}
.news-card{display:flex;gap:12px;align-items:center;padding:14px;border-radius:22px}
.news-card i{width:64px;height:64px;border-radius:16px;flex-shrink:0;background:linear-gradient(135deg,#cfe9d4,#a9d9b6)}
.news-card:nth-child(2) i{background:linear-gradient(135deg,#f7dcc2,#eab68a)}
.news-card:nth-child(3) i{background:linear-gradient(135deg,#cfe0f5,#9fc2ea)}
.news-card div{flex:1}
.news-card b{display:inline-block;font-size:11px;letter-spacing:1px;text-transform:uppercase;color:var(--teal);margin-bottom:6px}
.news-card span{display:block;height:9px;border-radius:6px;background:#d9e7dc;margin-top:6px}
.news-card span:last-child{width:60%}
.soon-badge{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border-radius:100px;font-size:13px;font-weight:650;background:#fff4d6;color:#8a5a00;border:1px solid #ffe3a3}
.build{text-align:center;padding:50px 30px;border-radius:36px;background:radial-gradient(ellipse at 50% 0,#a8e6b866,transparent 60%),linear-gradient(145deg,#ffffff8c,#ffffff38)}
.build h2{margin:6px auto 14px;max-width:700px}
.build p:not(.kicker){max-width:560px;margin:0 auto 24px;font-size:17px;line-height:1.6;color:var(--muted)}
/* Noticias: a news front page (filled by the Worker; the fallback shows while there are no articles) */
.masthead{padding:56px 0 20px;border-bottom:2px solid var(--ink)}
.n-date{font-size:13px;font-weight:700;letter-spacing:1.4px;text-transform:uppercase;color:#0f7a56;margin:0}
.masthead h1{font-family:Georgia,'Times New Roman',serif;font-size:clamp(46px,7vw,92px);letter-spacing:-2px;font-weight:700;margin:12px 0 14px}
.masthead .lead{max-width:640px;margin-bottom:6px}
.news-section{padding:30px 0 20px}
.news-wrap:not(:empty)+.news-empty{display:none}
.news-empty{text-align:center;padding:50px 24px;border-radius:32px}
.news-empty .m-icon{margin:0 auto 16px}
.news-empty p{max-width:500px;margin:0 auto 22px;color:var(--muted);line-height:1.6}
.n-lead a{display:grid;grid-template-columns:1.35fr 1fr;gap:34px;align-items:center;padding-bottom:30px;border-bottom:1px solid #264f3226}
.n-lead img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:22px;background:#dfeadf}
.n-cat{display:inline-block;font-size:12px;font-weight:800;letter-spacing:1.2px;text-transform:uppercase;color:#0f7a56;margin-bottom:10px}
.n-lead h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(28px,3.4vw,44px);line-height:1.12;letter-spacing:-.8px;margin:0 0 14px}
.n-lead p{font-size:17px;line-height:1.6;color:var(--muted);margin:0 0 14px}
.n-meta{font-size:13px;color:var(--muted)}
.n-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;padding:30px 0;border-bottom:1px solid #264f3226}
.n-card img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:16px;background:#dfeadf;margin-bottom:12px}
.n-card h3{font-family:Georgia,'Times New Roman',serif;font-size:20px;line-height:1.25;margin:0 0 8px}
.n-lead a:hover h2,.n-card a:hover h3,.n-list a:hover strong{color:var(--teal)}
.n-list{list-style:none;margin:0;padding:10px 0 0;display:grid;grid-template-columns:repeat(2,1fr);gap:0 34px}
.n-list li{border-bottom:1px solid #264f321a}
.n-list a{display:block;padding:16px 0}
.n-list strong{display:block;font-family:Georgia,'Times New Roman',serif;font-size:18px;line-height:1.3;font-weight:700}
.n-credit{font-size:13px;color:var(--muted);margin:22px 0 0}
.n-credit a{color:var(--teal);font-weight:650;text-decoration:underline;text-underline-offset:3px}
@media(max-width:860px){.n-lead a{grid-template-columns:1fr;gap:18px}.n-grid{grid-template-columns:1fr 1fr;gap:20px}.n-list{grid-template-columns:1fr}}
@media(max-width:560px){.n-grid{grid-template-columns:1fr}.masthead{padding-top:36px}}

/* Three-line menu next to Descargar (Noticias and Mapa only). Desktop keeps the plain link row. */
.menu-btn{display:none;place-items:center;width:44px;height:44px;border-radius:50%;background:#ffffffb3;border:1px solid #fff;color:var(--ink);flex-shrink:0;cursor:pointer;transition:background .2s}
.menu-btn:hover{background:#fff}
.menu-ic{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round}
@media(max-width:820px){
  .topbar{position:sticky}
  .topbar .nav-cta{margin-left:auto;margin-right:8px}
  .menu-btn{display:grid}
  .topbar nav{display:flex;flex-direction:column;position:absolute;top:calc(100% + 8px);left:0;right:0;padding:10px;border-radius:26px;background:#f6fbf7fa;border:1px solid #fff;box-shadow:0 18px 44px #1a473322;backdrop-filter:blur(26px);-webkit-backdrop-filter:blur(26px);opacity:0;visibility:hidden;transform:translateY(-6px);pointer-events:none;transition:opacity .25s,transform .25s,visibility 0s linear .25s}
  .topbar.menu-open nav{opacity:1;visibility:visible;transform:none;pointer-events:auto;transition-delay:0s}
  .topbar nav a{padding:14px 16px;border-radius:16px;font-size:16px;font-weight:600;color:var(--ink)}
  .topbar nav a:hover{background:#ffffffb3}
}
.kicker{color:#0f7a56}
.n-credit a,.n-lead a:hover h2,.n-card a:hover h3,.n-list a:hover strong{color:#0f7a56}
