/* Approved React Forum page presentation, scoped to its package section. */
.uag-forum-page {
  overflow: hidden;
  color: var(--uag-text, #182943);
  background: var(--uag-bg, #fff);
}

.uag-forum-page *,
.uag-forum-page *::before,
.uag-forum-page *::after {
  box-sizing: border-box;
}

.uag-forum-page img {
  display: block;
  max-width: 100%;
}

.uag-forum-inner {
  width: min(100% - 3rem, 80rem);
  margin-inline: auto;
}

.uag-forum-hero {
  position: relative;
  padding: clamp(4rem, 8vw, 8rem) 0 clamp(5rem, 9vw, 8rem);
  background-color: #fff;
  background-image: linear-gradient(to right, rgb(25 48 78 / 3.5%) 1px, transparent 1px), linear-gradient(to bottom, rgb(25 48 78 / 3.5%) 1px, transparent 1px);
  background-position: right top;
  background-size: 4rem 4rem;
}

.uag-forum-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: end;
  gap: clamp(2.5rem, 6vw, 4rem);
}

.uag-forum-kicker {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 2rem;
  color: var(--uag-blue, #315d91);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  line-height: 1.5;
  text-transform: uppercase;
}

.uag-forum-kicker::before {
  width: 2.75rem;
  height: 1px;
  background: #bb2838;
  content: "";
}

.uag-forum-hero h1 {
  margin: 0;
  color: #172943;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.6rem, 7.5vw, 7.5rem);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .96;
}

.uag-forum-hero h1 span {
  color: var(--uag-blue, #315d91);
}

.uag-forum-lead {
  max-width: 38rem;
  margin: 2.25rem 0 0;
  color: #626f80;
  font-size: clamp(1.125rem, 1.8vw, 1.25rem);
  line-height: 1.7;
}

.uag-forum-archive-link {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-top: 2.25rem;
  padding: 0 0 .5rem;
  border-bottom: 1px solid rgb(49 93 145 / 30%);
  color: var(--uag-blue, #315d91);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}

.uag-forum-archive-link:hover {
  border-color: currentColor;
}

.uag-forum-page a:focus-visible,
.uag-forum-page button:focus-visible {
  outline: 3px solid #315d91;
  outline-offset: 4px;
}

.uag-forum-hero-figure {
  position: relative;
  min-width: 0;
  margin: 0;
}

.uag-forum-hero-figure::before {
  position: absolute;
  inset: -1.25rem 1.25rem 1.25rem -1.25rem;
  border: 1px solid rgb(49 93 145 / 20%);
  content: "";
}

.uag-forum-hero-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e9edf1;
}

.uag-forum-hero-figure figcaption {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: .8rem;
  color: #697687;
  font-size: .8rem;
}

.uag-forum-hero-figure figcaption span:last-child {
  color: var(--uag-blue, #315d91);
  font-weight: 700;
}

.uag-forum-featured {
  padding: clamp(4rem, 7vw, 6rem) 0;
  background: #162b49;
  color: #f5f5f2;
}

.uag-forum-featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, .9fr);
  gap: clamp(3rem, 8vw, 6rem);
}

.uag-forum-eyebrow {
  margin: 0 0 1.25rem;
  color: #c7d5e9;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.uag-forum-featured h2,
.uag-forum-meaning h2,
.uag-forum-cta h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.15;
}

.uag-forum-featured-copy {
  max-width: 38rem;
  margin: 1.25rem 0 0;
  color: rgb(226 234 244 / 82%);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.7;
}

.uag-forum-event-facts {
  display: grid;
  align-content: center;
  margin: 0;
  border-top: 1px solid rgb(245 245 242 / 25%);
}

.uag-forum-event-facts > div {
  padding: 1.25rem 0;
}

.uag-forum-event-facts > div + div {
  border-top: 1px solid rgb(245 245 242 / 20%);
}

.uag-forum-event-facts dt {
  margin-bottom: .5rem;
  color: #c7d5e9;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.uag-forum-event-facts dd {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.3;
}

.uag-forum-event-facts dd span {
  display: block;
  margin-top: .25rem;
  color: rgb(226 234 244 / 75%);
  font-family: inherit;
  font-size: 1rem;
}

.uag-forum-meaning {
  padding: clamp(5rem, 9vw, 8rem) 0;
  background: #f1f3f5;
}

.uag-forum-meaning-intro {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 5rem);
}

.uag-forum-meaning h2 {
  max-width: 32rem;
  color: #172943;
}

.uag-forum-meaning-intro > p:last-child {
  max-width: 38rem;
  margin: 0;
  color: #626f80;
  font-size: 1.125rem;
  line-height: 1.7;
}

.uag-forum-reasons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(3.5rem, 7vw, 5rem);
  border-top: 1px solid #d8dde3;
}

.uag-forum-reason {
  padding: 2rem 2rem 0 0;
}

.uag-forum-reason + .uag-forum-reason {
  padding-left: 2rem;
  border-left: 1px solid #d8dde3;
}

.uag-forum-reason-number {
  color: var(--uag-blue, #315d91);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
}

.uag-forum-reason h3 {
  margin: 1.25rem 0 .75rem;
  color: #172943;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  line-height: 1.3;
}

.uag-forum-reason p {
  max-width: 24rem;
  margin: 0;
  color: #626f80;
  font-size: .95rem;
  line-height: 1.7;
}

.uag-forum-gallery {
  padding: clamp(5rem, 9vw, 8rem) 0;
  background: #fff;
}

.uag-forum-gallery-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #d8dde3;
}

.uag-forum-gallery h2 {
  margin: 1rem 0 0;
  color: #172943;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  line-height: 1.15;
}

.uag-forum-gallery-description {
  max-width: 24rem;
  margin: 0;
  color: #626f80;
  font-size: .9rem;
  line-height: 1.7;
  text-align: right;
}

.uag-forum-photo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2.25rem 1.25rem;
  margin-top: 3rem;
}

.uag-forum-photo {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
  text-align: left;
}

.uag-forum-photo-frame {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #e9edf1;
}

.uag-forum-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease-out;
}

.uag-forum-photo:hover .uag-forum-photo-frame img {
  transform: scale(1.045);
}

.uag-forum-photo-frame::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(21 41 72 / 35%), transparent 60%);
  content: "";
  opacity: 0;
  transition: opacity .3s ease;
}

.uag-forum-photo:hover .uag-forum-photo-frame::after,
.uag-forum-photo:focus-visible .uag-forum-photo-frame::after {
  opacity: 1;
}

.uag-forum-photo-label {
  display: flex;
  align-items: baseline;
  gap: .65rem;
  margin-top: .75rem;
}

.uag-forum-photo-label span:first-child {
  color: rgb(49 93 145 / 70%);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.uag-forum-photo-label span:last-child {
  color: #697687;
  font-size: .82rem;
  line-height: 1.4;
}

.uag-forum-lightbox {
  width: min(100% - 2rem, 72rem);
  max-width: 72rem;
  max-height: calc(100dvh - 2.5rem);
  padding: 1.25rem clamp(1rem, 3vw, 2rem);
  border: 0;
  background: #101d33;
  color: #f5f5f2;
}

.uag-forum-lightbox::backdrop {
  background: rgb(16 29 51 / 95%);
  backdrop-filter: blur(4px);
}

.uag-forum-lightbox-inner {
  display: flex;
  max-height: calc(100dvh - 5rem);
  flex-direction: column;
}

.uag-forum-lightbox-head,
.uag-forum-lightbox-foot {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.uag-forum-lightbox-head {
  margin-bottom: .75rem;
}

.uag-forum-lightbox-count {
  color: #c7d5e9;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.uag-forum-lightbox button {
  display: inline-flex;
  min-width: 2.75rem;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .5rem .75rem;
  border: 1px solid rgb(213 224 239 / 30%);
  border-radius: .4rem;
  background: transparent;
  color: #f5f5f2;
  cursor: pointer;
  font: inherit;
}

.uag-forum-lightbox button:hover {
  background: rgb(245 245 242 / 12%);
}

.uag-forum-lightbox button:focus-visible {
  outline-color: #f5f5f2;
}

.uag-forum-lightbox-close {
  width: 2.75rem;
  padding: .5rem !important;
  border-radius: 50% !important;
  font-size: 1.5rem !important;
  line-height: 1;
}

.uag-forum-lightbox-image-wrap {
  display: flex;
  min-height: 0;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
}

.uag-forum-lightbox-image {
  max-width: 100%;
  max-height: calc(100dvh - 11rem);
  object-fit: contain;
}

.uag-forum-lightbox-foot {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgb(213 224 239 / 20%);
}

.uag-forum-lightbox-caption {
  min-width: 0;
  margin: 0;
  color: #f5f5f2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.125rem;
  text-align: center;
}

.uag-forum-lightbox-help {
  margin: .35rem 0 0;
  color: #c7d5e9;
  font-size: .75rem;
  text-align: center;
}

.uag-forum-cta {
  padding: clamp(5rem, 9vw, 8rem) 0;
  border-top: 1px solid #d8dde3;
  background: #f1f3f5;
}

.uag-forum-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 3rem;
}

.uag-forum-cta h2 {
  max-width: 42rem;
  color: #172943;
}

.uag-forum-cta-copy {
  max-width: 38rem;
  margin: 1.25rem 0 0;
  color: #626f80;
  font-size: 1.125rem;
  line-height: 1.7;
}

.uag-forum-cta-links {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.uag-forum-cta-links a {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: .8rem 1.25rem;
  border: 1px solid #315d91;
  border-radius: .375rem;
  background: #315d91;
  color: #fff;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.uag-forum-cta-links a + a {
  border-color: rgb(49 93 145 / 28%);
  background: transparent;
  color: #315d91;
}

.uag-forum-cta-links a:hover {
  filter: brightness(.94);
}

@media (max-width: 900px) {
  .uag-forum-hero-grid,
  .uag-forum-featured-grid,
  .uag-forum-meaning-intro,
  .uag-forum-cta-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .uag-forum-hero-grid {
    gap: 3.5rem;
  }

  .uag-forum-hero-figure {
    margin-inline: 1.25rem;
  }

  .uag-forum-featured-grid {
    gap: 2.5rem;
  }

  .uag-forum-event-facts {
    border-top: 1px solid rgb(245 245 242 / 25%);
  }

  .uag-forum-photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .uag-forum-cta-links {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .uag-forum-inner {
    width: min(100% - 2rem, 80rem);
  }

  .uag-forum-hero {
    padding-top: 4rem;
  }

  .uag-forum-hero h1 {
    font-size: clamp(3.6rem, 17vw, 5rem);
  }

  .uag-forum-hero-figure {
    margin-inline: .75rem;
  }

  .uag-forum-hero-figure::before {
    inset: -.75rem .75rem .75rem -.75rem;
  }

  .uag-forum-meaning-intro {
    gap: 1.5rem;
  }

  .uag-forum-reasons {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 3rem;
  }

  .uag-forum-reason,
  .uag-forum-reason + .uag-forum-reason {
    padding: 1.75rem 0;
    border-bottom: 1px solid #d8dde3;
    border-left: 0;
  }

  .uag-forum-gallery-head {
    align-items: start;
    flex-direction: column;
    gap: 1.25rem;
  }

  .uag-forum-gallery-description {
    text-align: left;
  }

  .uag-forum-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem .75rem;
  }

  .uag-forum-photo-label {
    align-items: flex-start;
    gap: .4rem;
  }

  .uag-forum-photo-label span:last-child {
    font-size: .75rem;
  }

  .uag-forum-cta-links {
    flex-direction: column;
  }

  .uag-forum-cta-links a {
    width: 100%;
  }

  .uag-forum-lightbox {
    width: calc(100% - 1rem);
    max-height: calc(100dvh - 1rem);
    padding: .75rem;
  }

  .uag-forum-lightbox-inner {
    max-height: calc(100dvh - 2.5rem);
  }

  .uag-forum-lightbox-image {
    max-height: calc(100dvh - 10rem);
  }

  .uag-forum-lightbox-count {
    font-size: .65rem;
  }

  .uag-forum-lightbox-foot button {
    min-width: 2.75rem;
    padding-inline: .5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .uag-forum-page *,
  .uag-forum-page *::before,
  .uag-forum-page *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}