*,
*::before,
*::after {
  box-sizing: border-box;
}

.album-detail {
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: #0d0d0d;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
.album-detail :where(a) {
  color: inherit;
  text-decoration: none;
}
.album-detail img {
  display: block;
  max-width: 100%;
}
.album-detail h2,
.album-detail h3,
.album-detail h4 {
  margin: 0;
}
.album-detail__wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 60px 80px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 40px;
  align-items: start;
}

.album-main {
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-width: 0;
}

.gallery {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.gallery__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: #0d0d0d;
  text-wrap: pretty;
}
.gallery__stage {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #e8f3e9;
  aspect-ratio: 860/516;
}
.gallery__main {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #0d0d0d;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.gallery__nav:hover {
  background: #017435;
  color: #fff;
}
.gallery__nav--prev {
  left: 16px;
}
.gallery__nav--next {
  right: 16px;
}
.gallery__nav--prev:hover {
  transform: translateY(-50%) translateX(-2px);
}
.gallery__nav--next:hover {
  transform: translateY(-50%) translateX(2px);
}
.gallery__counter {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.3px;
}
.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.gallery__thumb {
  position: relative;
  padding: 0;
  border: none;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 135/81;
  cursor: pointer;
  background: #e8f3e9;
  box-shadow: 0 0 0 2px transparent;
  transition: box-shadow 0.15s ease, opacity 0.15s ease;
  opacity: 0.72;
}
.gallery__thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.gallery__thumb:hover {
  opacity: 1;
}
.gallery__thumb.is-active {
  opacity: 1;
  box-shadow: 0 0 0 3px #017435;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 16px;
}
.section-heading__icon {
  flex: 0 0 auto;
  color: #017435;
  line-height: 0;
}
.section-heading__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: #0d0d0d;
  white-space: nowrap;
}
.section-heading__rule {
  flex: 1 1 auto;
  height: 8px;
  background: url("/public/img/default_img/dash-line-grey.png") left center/auto 8px repeat-x;
}

.more-albums {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.album {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.album__media {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 271/162;
  background: #e8f3e9;
}
.album__media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.4s ease;
}
.album__badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #017435;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  transition: background 0.18s ease, transform 0.18s ease;
}
.album:hover .album__media img {
  transform: scale(1.05);
}
.album:hover .album__badge {
  background: #009f48;
  transform: translate(-50%, -50%) scale(1.08);
}
.album__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: #3b3b3b;
  text-wrap: pretty;
}
.album__title a:hover {
  color: #017435;
}

@media (max-width: 1100px) {
  .album-detail__wrap {
    grid-template-columns: 1fr;
  }
  .quicklinks {
    max-width: 420px;
  }
}
@media (max-width: 700px) {
  .album-detail__wrap {
    padding: 32px 20px;
  }
  .album-grid {
    grid-template-columns: 1fr;
  }
  .gallery__thumbs {
    grid-template-columns: repeat(3, 1fr);
  }
  .gallery__nav {
    width: 40px;
    height: 40px;
  }
}
.video-detail .gallery__title {
  margin-bottom: 20px;
}
.video-detail__desc {
  margin-top: 16px;
  color: #555;
  font-size: 15px;
  line-height: 1.7;
}

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
}
.video-embed iframe,
.video-embed video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 300px;
  background: #f5f5f5;
  border-radius: 8px;
  color: #bbb;
  gap: 12px;
  font-size: 14px;
}

.doc-detail .gallery__title {
  margin-bottom: 12px;
}
.doc-detail__desc {
  color: #555;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 16px;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #017435;
  color: #fff;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-download:hover {
  background: rgb(0.6512820513, 75.5487179487, 34.5179487179);
  color: #fff;
}
.btn-download--large {
  padding: 10px 24px;
  font-size: 15px;
  margin-top: 8px;
}
