/* Galerías de El Castillo de Hannic: reutiliza el diseño principal. */
.page-breadcrumb {font-size:.91rem;margin-top:7px;color:#e5f4ff}
.page-breadcrumb a{color:#fff}
.gallery-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.gallery-category-card{display:block;overflow:hidden;border-radius:9px;background:white;box-shadow:0 5px 18px rgba(0,0,0,.08);color:#1d272a;text-decoration:none;transition:transform .2s,box-shadow .2s}
.gallery-category-card:hover{text-decoration:none;transform:translateY(-4px);box-shadow:0 8px 24px rgba(0,0,0,.16)}
.gallery-category-card img,.gallery-category-placeholder{display:block;width:100%;height:215px;object-fit:cover;background:#dce5ea}
.gallery-category-placeholder{display:grid;place-items:center;color:#536671}
.gallery-category-body{padding:16px 18px 19px}
.gallery-category-body h2{font-size:1.1rem;margin:0 0 7px;color:#1d272a}
.gallery-category-body span{color:#087fc1;font-weight:700}
.gallery-back{margin:0 0 22px}
.gallery-photos{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.gallery-photo{display:block;aspect-ratio:4/3;border:3px solid #fff;border-radius:7px;overflow:hidden;background:#e0e5e8;box-shadow:0 3px 12px rgba(0,0,0,.1)}
.gallery-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s}
.gallery-photo:hover img{transform:scale(1.05)}
.gallery-empty{padding:22px;background:#fff;border-radius:8px}
@media(max-width:850px){.gallery-categories{grid-template-columns:repeat(2,minmax(0,1fr))}.gallery-photos{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.gallery-categories{grid-template-columns:1fr}.gallery-photos{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.gallery-category-card img{height:220px}}
@media(prefers-reduced-motion:reduce){.gallery-photo img,.gallery-category-card{transition:none}}
