/* Portada Can Rial · 3 slides, fundido, noticia sin foto. */
.hero-art .crhero{position:relative;max-width:100%;width:100%;margin:0 auto;isolation:isolate}
.hero-art .crhero-stage{position:relative;width:100%;aspect-ratio:1.77;min-height:300px;overflow:hidden;border-radius:14px}
.hero-art .crhero-slide{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;pointer-events:none;transition:opacity 1.15s ease,visibility 1.15s ease}
.hero-art .crhero-slide.is-active{opacity:1;visibility:visible;pointer-events:auto;z-index:1}
.hero-art .crhero-slide img{width:100%;height:100%;max-height:100%;display:block;object-fit:contain;object-position:center}
.hero-art .crhero-caption{position:absolute;bottom:10px;right:20px;left:20px;font-size:12px;letter-spacing:.03em;color:#55715e;text-align:right}
.hero-art .crhero-controls{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;margin-top:5px}
.hero-art .crhero-indicator{width:36px;height:34px;padding:0;background:#edf3e8;color:#214b35;border:1px solid #ccdccc;border-radius:10px;font:inherit;font-weight:750;font-size:14px;line-height:1;cursor:pointer;transition:background .2s,color .2s}
.hero-art .crhero-indicator.is-active,.hero-art .crhero-indicator:hover{background:#244d37;color:white;border-color:#244d37}
.hero-art .crhero-indicator:focus-visible,.hero-art .crhero-news a:focus-visible{outline:3px solid #d17b3d;outline-offset:3px}
.hero-art .crhero-screenreader{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.hero-art .crhero-slide-news{background:linear-gradient(145deg,#dce8d8,#f4f4e5 73%,#e4eadc);border:1px solid #d3dfcf;border-radius:16px}
.hero-art .crhero-news{height:100%;width:100%;padding:clamp(18px,3.6vw,38px);display:flex;flex-direction:column;align-items:flex-start;justify-content:center;color:#1a422f;overflow:hidden}
.hero-art .crhero-news .crhero-overline{color:#a14b30;font-size:12px;font-weight:800;letter-spacing:.12em}
.hero-art .crhero-news h2{font-size:clamp(23px,3vw,43px);font-weight:850;line-height:1.13;letter-spacing:-.025em;margin:11px 0 14px;max-width:100%;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.hero-art .crhero-rule{display:block;width:90px;height:3px;border-radius:2px;background:#c67d4a;flex:none}
.hero-art .crhero-news p{font-size:clamp(13px,1.2vw,16px);line-height:1.55;color:#42624d;margin:16px 0 13px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;max-width:100%}
.hero-art .crhero-news a{display:inline-flex;gap:10px;align-items:center;margin-top:auto;align-self:flex-end;background:#244d37;color:#fff;text-decoration:none;border-radius:28px;padding:10px 17px;font-size:14px;font-weight:800}
.hero-art .crhero-news a:hover{background:#366d52}
@media(max-width:1050px){.hero-art .crhero-stage{min-height:270px}}
@media(max-width:640px){.hero-art .crhero-stage{min-height:260px}.hero-art .crhero-news{padding:18px}.hero-art .crhero-news h2{font-size:clamp(21px,6vw,29px);margin:7px 0 10px}.hero-art .crhero-news p{font-size:12px;margin:10px 0;-webkit-line-clamp:3}.hero-art .crhero-news a{font-size:12px;padding:8px 11px}.hero-art .crhero-caption{font-size:10px}}
@media(prefers-reduced-motion:reduce){.hero-art .crhero-slide{transition:none}}
/* Administrador de la segunda diapositiva. */
.crslide-admin{max-width:1000px;margin:20px auto;padding:20px}.crslide-manager-list{display:grid;gap:13px;margin:20px 0 30px}
.crslide-manager-item{display:flex;align-items:center;gap:22px;flex-wrap:wrap}.crslide-manager-item img{height:125px;width:220px;object-fit:contain;background:#f1f5ed;border-radius:10px}.crslide-manager-item>div:nth-child(2){flex:1;min-width:160px}.crslide-manager-actions{display:flex;gap:7px}.crslide-manager-actions button{white-space:nowrap}.crslide-manager-actions form{margin:0}.crslide-active{color:#21603c;font-size:.9rem;font-weight:700}.crslide-remove{background:#f5e5e1;color:#832f28}
@media(max-width:640px){.crslide-admin{padding:12px}.crslide-manager-item img{width:100%;height:auto;max-height:220px}}

/* 2026-11-06: titulares completos y portada adaptable a pantallas estrechas. */
.hero-art .crhero-news h2{
  display:block;
  -webkit-line-clamp:unset;
  overflow:visible;
  flex:0 0 auto;
  overflow-wrap:break-word;
  hyphens:auto;
}
.hero-art .crhero-news .crhero-overline,
.hero-art .crhero-news .crhero-rule,
.hero-art .crhero-news a{flex-shrink:0}
.hero-art .crhero-stage.is-news-active{
  min-height:var(--crhero-news-min-height,300px);
}
@media(max-width:720px){
  .hero .hero-inner{width:100%;grid-template-columns:minmax(0,1fr)}
  .hero .hero-copy,.hero .hero-art{min-width:0;max-width:100%}
  .hero .hero-copy h1{
    max-width:100%;
    font-size:clamp(34px,9.2vw,60px);
    line-height:1.02;
    letter-spacing:-.055em;
  }
  .hero .hero-actions,.hero .hero-actions-row{min-width:0;max-width:100%}
  .hero .hero-actions-row .hero-cta{max-width:100%;overflow-wrap:anywhere}
}
@media(max-width:640px){
  .hero-art .crhero-stage.is-news-active{min-height:var(--crhero-news-min-height,340px)}
  .hero-art .crhero-news h2{line-height:1.16}
}
