.small-masthead {
    position: relative;
    padding: 6rem 0 5rem;
    background: linear-gradient(180deg, rgba(0, 0, 0, .5), rgba(0, 0, 0, .6)), url('/img/Fondo_Pantalla/bg-masthead.jpg') center/cover no-repeat;
    margin-bottom: 1rem;
}

.album-search-wrap {
    position: relative;
    margin: 1rem auto 2rem;
    max-width: 800px;
    background: #f8f9fa;
    border-radius: 999px;
    padding: .75rem 1.25rem .75rem 2.75rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}

.album-search-wrap .fa-search {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #b9992a;
}

.album-search {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 1.05rem;
}

.albums-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 48px;
}

@media (min-width:768px) {
    .albums-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width:1200px) {
    .albums-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.album-col {
    display: flex;
    justify-content: center;
}

.album-card {
    max-width: 460px;
}

.album-cover {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 18px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
    border-bottom: 6px solid #d3b44d;
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.album-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: .25rem;
}

.album-meta {
    color: #444;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width:576px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width:992px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #111;
    min-height: 120px;
}

.gallery-card a {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.gallery-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.gallery-card .caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    font-size: .9rem;
    line-height: 1.2;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .75));
    color: #fff;
    padding: 36px 10px 10px;
}

.fade-in {
  opacity: 0;
  animation: fadeIn 1.2s ease-in forwards;
}

.delay-1s {
  animation-delay: 1s;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

#album-sub h4 {
  font-weight: 500;
  font-size: 1.4rem;    /* más grande */
  color: #555;
  margin-top: 3rem;     /* más aire debajo del título */
  margin-bottom: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}


/* Ajusta el espacio para que el header fijo no tape el título/subtítulo */
body {
  padding-top: 100px; /* ajusta según la altura real del header */
}

.btn-gradient-gold {
  display: inline-block;
  background: linear-gradient(135deg, #bda236, #d4bb45); /* degradado elegante */
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  padding: 0.5rem 1.25rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
  margin-top: 1rem;
}

.btn-gradient-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
  background: linear-gradient(135deg, #a68f2f, #c4a83d); /* versión más oscura en hover */
}

.album-location {
  margin-top: 0.35rem;
  font-size: 1rem;          /* un poquito más grande */
  font-style: italic;       /* mantiene la idea original */
  font-weight: 500;         /* más cuerpo, sin ser bold */
  color: #444;              /* gris más oscuro para contraste */
  letter-spacing: 0.3px;
  transition: color 0.3s ease;
}