/* gallery-detail.css */
.page-hero--detail {
  padding-top: 80px;
  padding-bottom: 60px;
  background: var(--color-section);
  text-align: center;
}

.gallery-detail__meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.gallery-detail__category {
  padding: 4px 14px;
  color: var(--color-accent);
  background: rgba(15, 187, 221, 0.08);
  border: 1px solid rgba(15, 187, 221, 0.3);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.gallery-detail__date {
  color: var(--color-muted);
  font-size: 15px;
}

.gallery-detail {
  padding: 60px 0 100px;
  background: #ffffff;
}

.gallery-detail__inner {
  max-width: 900px;
  margin: 0 auto;
}

.gallery-detail__hero-image {
  margin: 0 0 50px;
  border-radius: var(--radius-media);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.gallery-detail__hero-image img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.gallery-detail__content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text);
}

.gallery-detail__content h3 {
  margin: 0 0 24px;
  font-size: 26px;
  color: #111111;
  line-height: 1.4;
}

.gallery-detail__content p {
  margin: 0 0 20px;
  word-break: keep-all;
}

.gallery-detail__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.gallery-detail__images img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
}

.gallery-detail__nav {
  padding: 40px 0 60px;
  background: #f8fbfc;
  border-top: 1px solid #e1ebef;
}

.gallery-detail__nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  max-width: 900px;
  margin: 0 auto;
  gap: 16px;
}

.nav-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  padding: 20px 24px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  min-width: 0;
}

.nav-btn:hover {
  border-color: var(--color-primary);
  box-shadow: 0 10px 24px rgba(10, 28, 38, 0.08);
  transform: translateY(-2px);
}

.nav-btn span {
  font-size: 13px;
  color: var(--color-muted);
  margin-bottom: 8px;
}

.nav-btn em {
  font-size: 16px;
  color: #111111;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-btn--prev { text-align: left; }
.nav-btn--next { text-align: right; }

.nav-btn--list {
  flex: 0 0 auto;
  min-width: 140px;
  align-items: center;
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  background: #232c33;
  border: none;
}

.nav-btn--list:hover {
  background: #111111;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(10, 28, 38, 0.15);
}

@media (max-width: 768px) {
  .gallery-detail__images {
    grid-template-columns: 1fr;
  }
  .gallery-detail__nav-inner {
    flex-direction: column;
    gap: 12px;
  }
  .nav-btn {
    text-align: center;
  }
  .nav-btn--list {
    order: -1;
    padding: 16px;
  }
}
