/* ==========================================================================
   Awards & Press Section
   ========================================================================== */

#awards {
  background-color: #333333;
  color: #cccccc;
}

#awards h2 {
  color: #ffffff;
}

#awards .textbox h2 span {
  color: #fc0;
}

.awards-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.awards-section__header {
  text-align: center;
  margin-bottom: 2rem;
}

.awards-section__header h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #fff;
}

.awards-section__header h2 span {
  color: #FC0;
}

.awards-section__subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin: 0;
  line-height: 1.5;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.awards-card {
  background: #333;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.awards-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.awards-card__image-wrap {
  aspect-ratio: 16 / 10;
  background: #444;
  overflow: hidden;
  position: relative;
}

.awards-card__image-wrap:empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #444 0%, #333 100%);
}

.awards-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.awards-card__body {
  padding: 1.25rem 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.awards-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.awards-card__badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.awards-card__badge.--award {
  background: #FC0;
  color: #212121;
}

.awards-card__badge.--press {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.awards-card__badge.--work {
  background: #00bcd4;
  color: #fff;
}

.awards-card__date {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.awards-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.35;
  margin: 0;
}

.awards-card__summary {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.awards-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #FC0;
  margin-top: 8px;
  cursor: pointer;
  transition: color 0.2s;
  background: none;
  border: none;
  font-family: inherit;
  padding: 0;
  text-align: left;
}

.awards-card__cta:hover {
  color: #ffd700;
}

.awards-card__cta svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ---------- Modal ---------- */

.awards-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  overflow-y: auto;
}

.awards-modal-overlay.--open {
  opacity: 1;
  visibility: visible;
}

.awards-modal {
  background: #fff;
  border-radius: 16px;
  max-width: 560px;
  width: 100%;
  max-height: calc(100vh - 2rem);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.awards-modal-overlay.--open .awards-modal {
  transform: scale(1);
}

.awards-modal__header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-shrink: 0;
}

.awards-modal__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #212121;
  margin: 0;
}

.awards-modal__close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #f0f0f0;
  color: #333;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.awards-modal__close:hover {
  background: #e0e0e0;
}

.awards-modal__body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
}

.awards-modal__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.awards-modal__badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  text-transform: uppercase;
}

.awards-modal__badge.--award {
  background: #FC0;
  color: #212121;
}

.awards-modal__badge.--press {
  background: #212121;
  color: #fff;
}

.awards-modal__badge.--work {
  background: #00bcd4;
  color: #fff;
}

.awards-modal__date {
  font-size: 0.85rem;
  color: #666;
}

.awards-modal__gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 1.25rem;
}

.awards-modal__gallery:empty { display: none; }

.awards-modal__gallery-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

.awards-modal__text {
  font-size: 1rem;
  line-height: 1.65;
  color: #333;
  margin: 0 0 1rem;
  white-space: pre-wrap;
}

.awards-modal__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #FC0;
  text-decoration: none;
  margin-top: 0.5rem;
  transition: color 0.2s;
}

.awards-modal__link:hover {
  color: #e6b800;
}

.awards-modal__link svg {
  width: 16px;
  height: 16px;
}

@media screen and (max-width: 768px) {
  .awards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .awards-card__body {
    padding: 1rem 1rem 1.25rem;
  }
}
