/* Awards page — scoped so it does not clash with site .header nav */

.awards-page {
  --awards-navy: #0f1f38;
  --awards-navy-2: #16294a;
  --awards-gold: #a5762f;
  --awards-gold-light: #c99a4d;
  --awards-ink: #1c2430;
  --awards-ink-soft: #5b6472;
  --awards-line: #e4e6ea;
  --awards-paper: #f7f7f5;
  --awards-white: #ffffff;
  background: var(--awards-paper);
  color: var(--awards-ink);
}

.awards-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 32px 80px;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 920px) {
  .awards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .awards-grid {
    grid-template-columns: 1fr;
  }

  .awards-wrap {
    padding: 40px 16px 60px;
  }

  .awards-card .imgbox {
    height: 300px;
  }
}

.awards-card {
  background: var(--awards-white);
  border: 1px solid var(--awards-line);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  padding: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.awards-card:hover {
  box-shadow: 0 12px 32px -8px rgba(15, 31, 56, 0.18);
  transform: translateY(-3px);
  border-color: #d7cbb0;
}

.awards-card:focus-visible {
  outline: 2px solid var(--awards-gold);
  outline-offset: 2px;
}

.awards-card .imgbox {
  position: relative;
  width: 100%;
  height: 360px;
  background: #fff;
  border-bottom: 1px solid var(--awards-line);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.awards-card .imgbox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.awards-card .content {
  padding: 20px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.awards-card .category {
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--awards-ink);
}

/* Lightbox */
.awards-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 22, 0.88);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 28px 16px;
}

.awards-lightbox.open {
  display: flex;
}

.awards-lightbox .lb-inner {
  position: relative;
  width: 100%;
  max-width: 980px;
  max-height: 92vh;
  background: #fff;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.55);
}

.awards-lightbox .lb-image {
  position: relative;
  background: #fff;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 48px 12px;
}

.awards-lightbox .lb-image img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(92vh - 180px);
  object-fit: contain;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}

.awards-lightbox .lb-info {
  padding: 16px 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-shrink: 0;
  border-top: 1px solid var(--awards-line);
  text-align: center;
}

.awards-lightbox .lb-index {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--awards-ink-soft);
  margin-bottom: 8px;
  font-family: "Montserrat", sans-serif;
}

.awards-lightbox .lb-title {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.4;
  margin: 0 0 10px;
  color: var(--awards-navy);
}

.awards-lightbox .lb-divider {
  display: none;
}

.awards-lightbox .lb-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--awards-line);
  background: rgba(255, 255, 255, 0.95);
  color: var(--awards-ink);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}

.awards-lightbox .lb-close:hover {
  background: var(--awards-paper);
  border-color: var(--awards-gold);
}

.awards-lightbox .lb-nav {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--awards-line);
  background: rgba(255, 255, 255, 0.96);
  color: var(--awards-navy);
  font-size: 22px;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.awards-lightbox .lb-nav:hover {
  background: var(--awards-white);
  border-color: var(--awards-gold);
}

.awards-lightbox .lb-prev {
  left: 12px;
}

.awards-lightbox .lb-next {
  right: 12px;
}

.awards-lightbox .lb-dots {
  display: flex;
  gap: 6px;
  margin-top: 4px;
  flex-wrap: wrap;
  justify-content: center;
}

.awards-lightbox .lb-dots button {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: var(--awards-line);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, width 0.2s;
}

.awards-lightbox .lb-dots button.active {
  background: var(--awards-gold);
  width: 16px;
  border-radius: 3px;
}

@media (max-width: 760px) {
  .awards-lightbox {
    padding: 12px;
  }

  .awards-lightbox .lb-image {
    padding: 48px 16px 8px;
  }

  .awards-lightbox .lb-image img {
    max-height: calc(92vh - 200px);
  }

  .awards-lightbox .lb-info {
    padding: 14px 16px 20px;
  }

  .awards-lightbox .lb-prev {
    left: 6px;
  }

  .awards-lightbox .lb-next {
    right: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .awards-card,
  .awards-lightbox .lb-close,
  .awards-lightbox .lb-nav,
  .awards-lightbox .lb-dots button {
    transition: none !important;
  }
}
