/* Awards hub — tokens and header/footer stay in styles.css + treatment.css */

.awards-page {
  overflow-x: clip;
}

.awards-page .tx-breadcrumb {
  padding: 10px 0 0;
}

.aw-hero {
  padding: 18px 0 32px;
}

.aw-hero h1 {
  max-width: 18ch;
}

.aw-hero .tx-hero-lead {
  max-width: 46ch;
  margin-bottom: 0;
}

.aw-featured {
  background: var(--white);
  padding: 12px 0 48px;
}

.aw-featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 36px;
  align-items: center;
}

.aw-featured-media {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #eef1f7;
  box-shadow: 0 10px 28px rgba(26, 43, 86, 0.1);
}

.aw-featured-media button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.aw-featured-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center 18%;
}

.aw-featured-copy .section-eyebrow {
  color: var(--gold);
}

.aw-featured-copy h2 {
  color: var(--navy);
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  max-width: 16ch;
}

.aw-featured-copy .tx-copy {
  margin-bottom: 22px;
  max-width: 48ch;
}

.aw-gallery {
  background: #f5f7fb;
}

.aw-gallery-head {
  margin-bottom: 22px;
  max-width: 42rem;
}

.aw-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.aw-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(26, 43, 86, 0.06);
  box-shadow: 0 8px 22px rgba(26, 43, 86, 0.06);
  min-width: 0;
}

.aw-card__media {
  margin: 0;
  background: #eef1f7;
}

.aw-card__open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}

.aw-card__open:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.aw-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.aw-card img.aw-card__img--contain {
  object-fit: contain;
  object-position: center;
  background: #f7f8fb;
}

.aw-card img.aw-card__img--portrait {
  object-position: center top;
}

.aw-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 16px 18px;
  flex: 1;
}

.aw-card__body h3 {
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.aw-card__body p {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.5;
  flex: 1;
}

.aw-card__meta {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 0.04em;
}

.aw-card .tx-btn {
  align-self: flex-start;
  margin-top: 8px;
  padding: 8px 14px;
  font-size: 13px;
  border-radius: 8px;
}

.awards-page .final-cta {
  min-height: 280px;
}

.awards-page .final-cta-title {
  max-width: 22ch;
}

.awards-page .final-cta-family {
  object-position: center 18%;
}

.awards-page .final-cta-layout {
  min-height: 260px;
  justify-content: center;
}

.aw-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: rgba(10, 18, 40, 0.86);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.aw-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.aw-lightbox__panel {
  position: relative;
  max-width: min(1100px, 100%);
  max-height: 100%;
}

.aw-lightbox img {
  display: block;
  max-width: 100%;
  max-height: min(86vh, 900px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  background: #111;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.aw-lightbox__close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  font-size: 26px;
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.aw-lightbox__close:hover,
.aw-lightbox__close:focus-visible {
  background: var(--navy);
  color: #fff;
  outline: none;
}

.aw-lightbox__caption {
  margin: 10px 8px 0;
  color: #fff;
  font-size: 14px;
  text-align: center;
}

body.aw-lightbox-open {
  overflow: hidden;
}

@media (max-width: 980px) {
  .aw-featured-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .aw-featured-copy h2 {
    max-width: none;
  }

  .aw-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .aw-grid {
    grid-template-columns: 1fr;
  }

  .awards-page .final-cta-layout {
    min-height: 0;
  }

  .aw-lightbox__close {
    top: 0;
    right: 0;
  }
}
