/* =============================================
   Awards page — node--80
   ============================================= */

/* Hero */
.awards-hero {
  width: 100%;
  border-top: solid 1px var(--bg-gold);
  text-align: center;
}
.awards-hero__inner {
  max-width: 630px;
  margin-inline: auto;
  padding-block: 3rem 3.25rem;
  padding-inline: 2rem;
}
#stars {
  color: var(--gold);
  font-size: 1.75rem;
  letter-spacing: 0.25em;
  margin-bottom: 0.75rem;
}
.awards-hero h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
.awards-hero p {
  font-size: 1.1rem;
  line-height: 1.55;
}

/* Award entry rows */
.award-entry {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid #d8d5cf;
  max-height: 400px;
}
.award-entry--reverse {
  flex-direction: row-reverse;
}

/* Image grid */
.award-entry .imgs {
  flex: 0 0 55%;
  display: grid;
  gap: 2px;
  min-height: 360px;
}
.award-entry .imgs--3 {
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.award-entry .imgs--3 img:first-child {
  grid-row: 1 / 3;
}
.award-entry .imgs--2 {
  grid-template-columns: 1fr 1fr;
}
.award-entry .imgs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Award content */
.award-content {
  flex: 0 0 45%;
  padding: 3rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.award-content h2 {
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 0.3rem;
}
/* Override global p { font-size: 1.25rem } — higher specificity wins without !important */
.award-content p {
  font-size: 1.025rem;
  line-height: 1.5;
  margin-block: 0.3rem;
}
/* strong inherits mrs-eaves which may not have a bold variant — faux-bold shifts optical size */
.award-content strong {
  font-size: inherit;
  font-family: "mrs-eaves", serif;
}
/* Higher specificity than .award-content p to hold its own font-size */
.award-content .award-year {
  color: var(--gold) !important;
  font-family: "Afacad", sans-serif;
  font-size: 0.963rem;
  letter-spacing: 0.02em;
  margin-top: 0;
  margin-bottom: 0.6rem;
}
.award-tag {
  display: inline-block;
  align-self: flex-start;
  background-color: var(--gold);
  color: #fff !important;
  font-family: "Afacad", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.3em 1.25em;
  border-radius: 2em;
  margin-bottom: 1.75rem;
  line-height: 1.8;
}
.award-content p + p {
  margin-top: 0.2rem;
}
/* Override global `p a { border-bottom: dotted 1px }` and `a { font-size: 1.25rem }` */
.award-content p a {
  font-size: inherit;
  text-decoration: underline;
  border-bottom: none;
  color: #22201C;
}

/* CTA */
.awards-cta {
  width: 100%;
  border-top: solid 1px var(--bg-gold);
  text-align: center;
}
.awards-cta__inner {
  max-width: 630px;
  margin-inline: auto;
  padding-block: 3rem 3.25rem;
  padding-inline: 2rem;
}
.awards-cta h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
.awards-cta a {
  color: #22201C;
  font-family: "mrs-eaves", serif;
  font-size: 1.1rem;
  text-decoration: none;
  border-bottom: 1px solid #aaa;
}
.awards-cta a:hover {
  border-bottom-color: var(--gold);
  color: var(--gold);
}

/* Responsive */
@media only screen and (max-width: 840px) {
  .award-content {
    padding: 2.5rem 2.5rem;
  }
}

@media only screen and (max-width: 700px) {
  .award-entry,
  .award-entry--reverse {
    flex-direction: column;
    max-height: none;
  }
  /* Flatten mosaic grid to equal columns on mobile */
  .award-entry .imgs--3 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
  }
  .award-entry .imgs--3 img:first-child {
    grid-row: auto;
  }
  /* Always show images before content regardless of DOM order */
  .award-entry .imgs {
    order: 1;
    flex: 0 0 auto;
    min-height: 60vw;
  }
  .award-content {
    order: 2;
    flex: 0 0 auto;
    padding: 2rem 1.5rem;
  }
  .awards-hero__inner,
  .awards-cta__inner {
    padding-inline: 1.25rem;
  }
}
