:root{
  --bg: #002F47;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: rgba(15, 23, 42, .10);
  --shadow: 0 10px 30px rgba(0,0,0,.12);
  --radius: 14px;
}

.album{
    margin: -50px 0 0 0;
    padding: 0 16px;
    color: var(--text);
}

.album-head{
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    background-color: #002F47;
    color: #fff;
    border-radius: 10px;
    padding: 10px;
}
.album-title h1{
    margin: 0;
    font-size: 28px;
    letter-spacing: -.02em;
    color: #fff;
}
.album-sub{
    margin: 6px 0 0;
    color: #fff;
    font-size: 13px;
}

.album-actions{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover{ transform: translateY(-1px); box-shadow: 0 10px 18px rgba(0,0,0,.08); }
.btn.primary{
  background: var(--bg);
  border-color: transparent;
  color: #fff;
}

.album-grid{
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 5px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.photo a{
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    background: #f1f5f9;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,.06);
    transform: translateZ(0);
}

.photo img{
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
    transition: transform .2s ease, filter .2s ease;
}

.photo a:hover img{
  transform: scale(1.03);
  filter: saturate(1.05) contrast(1.03);
}

/* responsive */
@media (max-width: 1100px){
  .album-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .photo img{ height: 200px; }
}
@media (max-width: 780px){
  .album-head{ align-items: flex-start; flex-direction: column; }
  .album-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo img{ height: 180px; }
}
@media (max-width: 420px){
  .album-grid{ grid-template-columns: 1fr; }
  .photo img{ height: 220px; }
}

/* Lightbox */
.lightbox{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.78);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 9999;
}

.lightbox.open{ display: flex; }

.lb-img{
  max-width: min(1100px, 94vw);
  max-height: 86vh;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
  background: #111;
}

.lb-close{
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.35);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}
