/* Patrón: tarjetas del directorio y ficha local existentes; Manrope, tinta/salina y acciones de 44 px. */
.vec-dd{margin:0 0 40px;color:var(--vec-ink,#172f32)}
.vec-dd *{box-sizing:border-box;min-width:0}
.vec-dd-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:18px}
.vec-dd-heading h2{margin:4px 0 0;font-size:30px;line-height:1.2;letter-spacing:0}
.vec-dd-heading .vec-eyebrow{margin:0}.vec-dd-private{margin:0;font-size:14px;color:#53635d}
.vec-dd-cards{display:grid;gap:20px}.vec-dd-card{display:grid;overflow:hidden;border:1px solid #a9bcb0;border-radius:var(--vp-radius-card,22px);background:var(--vp-surface,#fffdfa);box-shadow:var(--vp-shadow,0 5px 16px #193b380a);border-color:transparent}
.vec-dd-cover{display:block;background:#edf3e8}.vec-dd-cover img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain}
.vec-dd-card-body{padding:22px}.vec-dd-kicker{margin:0 0 8px;font-size:14px;font-weight:750;color:#2e554e}
.vec-dd-card h3{font-size:28px;line-height:1.15;letter-spacing:0;margin:0 0 14px}.vec-dd-card h3 a{color:inherit;text-decoration:none}
.vec-dd-card-body>p:not(.vec-dd-kicker){font-size:16px;line-height:1.65;margin:0 0 16px;color:#405b50}
.vec-dd-when{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-weight:750}.vec-dd .vec-icon{width:20px;height:20px;flex:0 0 20px}
.vec-dd-actions{margin-top:10px}.vec-dd .vec-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;max-width:100%;min-height:46px;white-space:normal;text-align:center}
.vec-dd-detail{margin-top:16px;border:1px solid #ccd9cf;border-radius:12px;background:white;scroll-margin-top:100px;overflow:clip}
.vec-dd-detail>summary{display:flex;justify-content:space-between;align-items:center;gap:14px;min-height:56px;padding:16px 20px;font-size:16px;font-weight:750;cursor:pointer;color:#214e48;list-style:none}
.vec-dd-detail>summary::-webkit-details-marker{display:none}.vec-dd-detail[open]>summary{border-bottom:1px solid #dbe4e0}.vec-dd-detail[open]>summary .vec-icon{transform:rotate(45deg)}
.vec-dd-profile{padding:24px}.vec-dd-profile-head{display:flex;align-items:center;gap:16px}.vec-dd-logo{display:block;width:72px;height:72px;border-radius:50%;flex:0 0 72px;object-fit:contain}
.vec-dd-profile h2{margin:0 0 8px;font-size:clamp(26px,3.2vw,42px);line-height:1.12;letter-spacing:0}.vec-dd-tagline{margin:0;line-height:1.5;color:#405b50;font-size:16px}
.vec-dd-intro{font-size:18px;line-height:1.7;margin:24px 0 16px;color:#405b50}.vec-dd-facts{display:grid;gap:20px;margin-top:16px}
.vec-dd-facts>section{padding:22px;background:#f1f5ed;border-radius:8px}.vec-dd h3{font-size:22px;line-height:1.3;letter-spacing:0}.vec-dd-facts h3{display:flex;gap:9px;align-items:center;margin:0 0 14px}
.vec-dd-facts p{font-size:16px;line-height:1.65;margin:0 0 14px}.vec-dd-facts p:last-child{margin-bottom:0}
.vec-dd-section{padding-top:28px;margin-top:28px;border-top:1px solid #dbe4e0}.vec-dd-section>h3{margin:0 0 20px}
.vec-dd-services{display:grid;gap:20px}.vec-dd-services h4{margin:0 0 8px;font-size:18px;line-height:1.4}.vec-dd-services p{margin:0;font-size:16px;line-height:1.65;color:#405b50}
.vec-dd-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;max-width:720px;margin-inline:auto}.vec-dd-gallery figure{margin:0}.vec-dd-gallery a{display:block;background:#edf3e8;border-radius:8px;overflow:hidden}.vec-dd-gallery img{display:block;width:100%;height:auto;object-fit:contain}.vec-dd-gallery figcaption{margin-top:9px;font-size:13px;line-height:1.5;color:#53635d}
.vec-dd-contact{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;border-top:1px solid #dbe4e0;margin-top:28px;padding-top:28px}.vec-dd-contact h3{margin:0 0 8px}.vec-dd-contact p{font-size:16px;line-height:1.6;margin:0;color:#405b50}
.vec-dd a:focus-visible,.vec-dd summary:focus-visible{outline:3px solid #ab7514;outline-offset:4px}.vec-dd a:hover{text-decoration:underline;text-underline-offset:4px}
@media(min-width:760px){.vec-dd-card{grid-template-columns:minmax(260px,.75fr) minmax(0,1.25fr);align-items:center}.vec-dd-card-body{padding:28px 32px}.vec-dd-profile{padding:32px}.vec-dd-logo{width:96px;height:96px;flex-basis:96px}.vec-dd-facts{grid-template-columns:1fr 1fr}.vec-dd-services{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:359px){.vec-dd-profile{padding:18px}.vec-dd-profile-head{align-items:flex-start;gap:10px}.vec-dd-logo{width:56px;height:56px;flex-basis:56px}.vec-dd-profile h2{font-size:25px}.vec-dd-card-body{padding:18px}}
/* Patrón: galería existente de Vida Activa Senior, ampliada a cuatro fotos a todo el ancho. */
#ficha-vida-activa-senior .vec-dd-gallery{grid-template-columns:repeat(auto-fit,minmax(min(130px,100%),1fr));max-width:none;margin-inline:0;min-width:0}
#ficha-vida-activa-senior .vec-dd-gallery figure,#ficha-vida-activa-senior .vec-dd-gallery a,#ficha-vida-activa-senior .vec-dd-gallery img{min-width:0}
#ficha-vida-activa-senior .vec-dd-gallery img{aspect-ratio:9/16;object-fit:cover}
@media(min-width:760px){#ficha-vida-activa-senior .vec-dd-gallery{grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr))}}
/* Visor de fotos de la galería, dentro de la página */
.vec-dd-gallery a{cursor:zoom-in}
.vec-dd-lightbox{box-sizing:border-box;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:16px clamp(16px,3vw,32px) 24px;border:0;background:#0f1f21fa;color:#fff;flex-direction:column;gap:14px}
.vec-dd-lightbox[open]{display:flex}
.vec-dd-lightbox::backdrop{background:transparent}
html:has(.vec-dd-lightbox[open]){overflow:hidden}
.vec-dd-lightbox-bar{display:flex;align-items:center;gap:16px;min-width:0}
.vec-dd-lightbox-bar p{flex:1;min-width:0;margin:0;font-size:15px;line-height:1.45;color:#fff}
.vec-dd-lightbox-count{flex-shrink:0;font-size:13px;color:#ffffffb8;font-variant-numeric:tabular-nums}
.vec-dd-lightbox-close,.vec-dd-lightbox-nav{display:grid;place-items:center;flex-shrink:0;width:48px;height:48px;padding:0;border:0;border-radius:999px;background:#ffffff24;color:#fff;cursor:pointer;transition:background .15s}
.vec-dd-lightbox-close:hover,.vec-dd-lightbox-nav:hover{background:#ffffff3d}
.vec-dd-lightbox :focus-visible{outline:3px solid #7fd3d6;outline-offset:3px}
.vec-dd-lightbox .vec-icon{width:24px;height:24px}
.vec-dd-lightbox-stage{position:relative;flex:1;min-height:0;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:clamp(8px,2vw,24px)}
.vec-dd-lightbox-stage img{display:block;width:100%;height:100%;min-width:0;min-height:0;object-fit:contain}
.vec-dd-lightbox.is-single .vec-dd-lightbox-nav{visibility:hidden}
@media(max-width:600px){.vec-dd-lightbox-stage{grid-template-columns:minmax(0,1fr)}.vec-dd-lightbox-nav{position:absolute;top:50%;z-index:1;transform:translateY(-50%);background:#0f1f21b8}.vec-dd-lightbox-nav[data-step="-1"]{left:4px}.vec-dd-lightbox-nav[data-step="1"]{right:4px}}
/* En la plantilla nueva de negocios, «.vnv a{color:inherit}» dejaba el texto de los botones verde sobre verde (8-11-2026). */
.vnv .vec-dd a.vec-button,.vnv .vec-dd a.vec-button:visited,.vnv .vec-dd a.vec-button:hover,.vnv .vec-dd a.vec-button:focus-visible{color:var(--vp-on-action,#fffdfa)}
.vnv .vec-dd .vec-dd-intro{margin:24px 0 16px}
.vnv .vec-dd-facts p a{text-decoration:underline;text-underline-offset:3px;font-weight:700}
