/* LCA awards, scoped to the shared module. Existing award and certification cards are untouched. */
:is(#page-about, #page-credentials) .ttg-lca {
  --lca-heading: var(--ttg-heading, #103349);
  --lca-blue: var(--ttg-blue, #006c88);
  --lca-border: #c8dce6;
  font-family: inherit;
  color: #fff;
  width: 100%;
  min-width: 0;
  grid-column: 1 / -1;
  scroll-margin-top: 6rem;
}
:is(#page-about, #page-credentials) .ttg-lca,
:is(#page-about, #page-credentials) .ttg-lca * { box-sizing: border-box; }
:is(#page-about, #page-credentials) .ttg-lca :where(h3, h4, p, figure) { margin: 0; }
:is(#page-about, #page-credentials) .ttg-lca-header { margin-bottom: 28px; max-width: 760px; }
:is(#page-about, #page-credentials) .ttg-lca-eyebrow {
  color: #99e6f1; font-size: 14px; line-height: 1.6; font-weight: 600;
  letter-spacing: .10em; text-transform: uppercase; margin-bottom: 10px !important;
}
:is(#page-about, #page-credentials) .ttg-lca-heading {
  color: #fff; font-size: clamp(27px, 3.3vw, 40px); font-weight: 600;
  line-height: 1.22; letter-spacing: -.035em; text-wrap: balance;
}
:is(#page-about, #page-credentials) .ttg-lca-intro {
  margin-top: 15px !important; color: #d2e7ee;
  font-size: 17px; line-height: 1.75; max-width: 68ch;
}
:is(#page-about, #page-credentials) .ttg-lca-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px; align-items: stretch;
}
:is(#page-about, #page-credentials) .ttg-lca-card {
  display: flex; flex-direction: column; min-width: 0; background: #fff;
  border: 1px solid var(--lca-border); border-radius: 16px;
  color: var(--lca-heading); overflow-wrap: break-word;
}
:is(#page-about, #page-credentials) .ttg-lca-image-stage {
  block-size: 244px; padding: 16px; display: grid; place-items: center;
  background: #fff; border-radius: 15px 15px 0 0; border-bottom: 1px solid #e1ebef;
  flex: 0 0 auto;
}
:is(#page-about, #page-credentials) .ttg-lca-badge {
  display: block; inline-size: 212px; block-size: 212px;
  max-inline-size: 100%; object-fit: contain; object-position: center;
}
:is(#page-about, #page-credentials) .ttg-lca-card-body {
  display: flex; flex-direction: column; flex: 1 1 auto;
  padding: 24px 26px 22px; min-width: 0;
}
:is(#page-about, #page-credentials) .ttg-lca-status {
  color: var(--lca-blue); font-size: 15px; line-height: 1.6; font-weight: 600;
  text-transform: uppercase; letter-spacing: .04em;
}
:is(#page-about, #page-credentials) .ttg-lca-organiser {
  color: #4b6270; font-size: 15px; line-height: 1.6; margin-top: 9px !important;
}
:is(#page-about, #page-credentials) .ttg-lca-card-title {
  color: var(--lca-heading); font-size: 22px; line-height: 1.3; font-weight: 600;
  letter-spacing: -.025em; margin-top: 12px !important; min-block-size: 3.9em;
}
:is(#page-about, #page-credentials) .ttg-lca-card-copy {
  color: #425e6d; font-size: 17px; line-height: 1.65;
  margin-top: 13px !important; margin-bottom: 12px !important;
}
:is(#page-about, #page-credentials) .ttg-lca-card-action {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  margin-top: auto; min-height: 44px; padding: 6px 0; color: var(--lca-blue);
  font-size: 16px; font-weight: 600; line-height: 1.5; text-decoration: underline;
  text-underline-offset: 5px; text-decoration-thickness: 1px;
}
:is(#page-about, #page-credentials) .ttg-lca a:hover { text-decoration-thickness: 2px; }
:is(#page-about, #page-credentials) .ttg-lca a:focus-visible {
  outline: 3px solid var(--lca-blue); outline-offset: 5px; border-radius: 2px;
}
/* Available only when a light award section is actually used; both current sections are dark. */
:is(#page-about, #page-credentials) .ttg-lca--light { color: var(--lca-heading); }
:is(#page-about, #page-credentials) .ttg-lca--light .ttg-lca-eyebrow { color: var(--lca-blue); }
:is(#page-about, #page-credentials) .ttg-lca--light .ttg-lca-heading { color: var(--lca-heading); }
:is(#page-about, #page-credentials) .ttg-lca--light .ttg-lca-intro { color: #425e6d; }

/* Article body only: the article template owns the H1, byline and outer chrome. */
.ttg-lca-news {
  color: #284959; font-family: inherit; font-size: 18px;
  line-height: 1.85; overflow-wrap: break-word;
}
.ttg-lca-news * { box-sizing: border-box; }
.ttg-lca-news p { margin: 0 0 1.2em; }
.ttg-lca-news :where(h2, .ttg-lca-subheading) {
  font-size: 27px; line-height: 1.35; font-weight: 600; color: #103349;
  letter-spacing: -.025em; margin: 1.75em 0 .65em; scroll-margin-top: 6rem;
}
.ttg-lca-news ul { padding-left: 1.3em; margin: 0 0 1.5em; }
.ttg-lca-news li { margin: .25em 0; color: #103349; font-weight: 600; }
.ttg-lca-news a { color: #006c88; text-underline-offset: 4px; }
.ttg-lca-news a:focus-visible { outline: 3px solid #006c88; outline-offset: 5px; }
.ttg-lca-gallery {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px; margin: 28px 0 42px;
}
.ttg-lca-gallery figure { margin: 0; min-width: 0; }
.ttg-lca-gallery-image {
  display: grid; place-items: center; background: #fff;
  padding: 14px; border: 1px solid #d6e5eb; border-radius: 12px;
}
.ttg-lca-gallery img {
  display: block; width: min(100%, 220px); height: auto;
  aspect-ratio: 1; object-fit: contain;
}
.ttg-lca-gallery figcaption {
  font-size: 14px; color: #486372; line-height: 1.6; padding-top: 12px;
}
.ttg-lca-news-actions {
  display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 22px 0;
}
.ttg-lca-news-action {
  display: inline-flex; align-items: center; min-height: 46px;
  padding: 10px 17px; border: 1px solid #006c88; border-radius: 6px;
  font-size: 16px; line-height: 1.55; font-weight: 600;
}
.ttg-lca-news-action:first-child { background: #006c88; color: #fff; }
.ttg-lca-event-reference { font-size: 14px; margin-top: 28px !important; }

/* Only resources opting into contained media use white, uncropped badge stages. */
.r28-page .r28-card.r28-card-contain > img.r28-image-contain {
  box-sizing: border-box;
  width: 100%;
  height: 220px;
  aspect-ratio: auto;
  padding: 16px;
  background: #fff;
  object-fit: contain;
  object-position: center;
}
.r28-page .r28-feature.r28-feature-contain > img.r28-image-contain {
  box-sizing: border-box;
  position: relative;
  inset: auto;
  width: 100%;
  height: 220px;
  aspect-ratio: auto;
  flex: 0 0 auto;
  padding: 16px;
  background: #fff;
  object-fit: contain;
  object-position: center;
  opacity: 1;
}
.r28-page .r28-feature.r28-feature-contain > div {
  background: #08283c;
  padding: 24px 32px;
}
@media (min-width: 1100px) {
  :is(#page-about, #page-credentials) .ttg-lca-card-title { min-block-size: 2.6em; }
}
@media (max-width: 679px) {
  :is(#page-about, #page-credentials) .ttg-lca-grid {
    grid-template-columns: minmax(0, 1fr); gap: 22px;
  }
  :is(#page-about, #page-credentials) .ttg-lca-header { margin-bottom: 23px; }
  :is(#page-about, #page-credentials) .ttg-lca-eyebrow { font-size: 12px; }
  :is(#page-about, #page-credentials) .ttg-lca-intro { font-size: 16px; line-height: 1.75; }
  :is(#page-about, #page-credentials) .ttg-lca-image-stage { block-size: 220px; padding: 12px; }
  :is(#page-about, #page-credentials) .ttg-lca-badge { inline-size: 196px; block-size: 196px; }
  :is(#page-about, #page-credentials) .ttg-lca-card-body { padding: 21px 22px 20px; }
  :is(#page-about, #page-credentials) .ttg-lca-card-title { font-size: 21px; min-block-size: 0; }
  .ttg-lca-news { font-size: 17px; line-height: 1.8; }
  .ttg-lca-news :where(h2, .ttg-lca-subheading) { font-size: 24px; }
  .ttg-lca-gallery { gap: 22px; grid-template-columns: 1fr; }
  .ttg-lca-gallery img { width: min(100%, 210px); }
  .ttg-lca-news-actions { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .ttg-lca, .ttg-lca-news { scroll-behavior: auto; }
}