/*
 * Theme Name: Countdown Games Redesign
 * Theme URI: https://countdown-games.de/
 * Author: Countdown Games
 * Description: Custom theme for Countdown Games.
 * Version: 26.0.0
 * Requires at least: 6.2
 * Requires PHP: 7.4
 * Text Domain: countdown-games
 */
:root {
  --navy: #071722;
  --paper: #e9dfcc;
  --red: #842018;
  --gold: #bd9457;
  --blue: #123d68;
  --green: #43592d;
  --ink: #191814;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font-family: Arial,Helvetica,sans-serif;
  line-height: 1.45;
}
.site-shell {
  overflow: hidden;
}
.wrap {
  width: min(1180px,calc(100% - 40px));
  margin: auto;
}
.site-header {
  height: 82px;
  background: var(--navy);
  color: #fff;
  padding: 0;
  position: relative;
  z-index: 20;
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px,2vw,28px);
}
.brand {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: .83;
  letter-spacing: .03em;
  max-width: 190px;
}
.brand-mark {
  display: none;
}
.brand-has-logo {
  display: block;
  line-height: 1;
}
.brand-has-logo .custom-logo-link,
.brand-has-logo .custom-logo {
  display: block;
}
.brand-has-logo .custom-logo {
  width: auto;
  height: auto;
  max-width: 220px;
  max-height: 58px;
}
.nav ul {
  display: flex;
  gap: 34px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 700;
}
.menu-toggle {
  display: none;
}
.cg-hero {
  position: relative;
  background: #d9cdb6;
}
.cg-hero-copy {
  z-index: 3;
}
.cg-hero-copy:before {
  content: "";
  position: absolute;
  inset: -35px -55px -55px -35px;
  z-index: -1;
  background: linear-gradient(90deg,rgba(238,229,210,.99) 75%,rgba(238,229,210,.15));
  filter: drop-shadow(8px 5px 7px rgba(30,20,10,.15));
}
.cg-worlds h2,.cg-card h3,.cg-corporate h2 {
  font-family: "Courier New",monospace;
}
.cg-kicker,.cg-hero h1 {
  color: var(--red);
  font-weight: 700;
  font-family: Georgia,"Times New Roman",serif;
}
.cg-kicker {
  font-size: 2.15rem;
  margin: 0;
  margin-bottom: 2px;
  line-height: 1;
}
.cg-hero h1 {
  font-size: clamp(2.45rem,3.6vw,3.45rem);
  line-height: 1.02;
  letter-spacing: -.035em;
  margin: 0 0 20px;
}
.cg-hero h2 {
  font-size: 1.35rem;
  margin: 0 0 18px;
}
.cg-hero-copy p:not(.cg-kicker) {
  font-size: .95rem;
  max-width: 360px;
}
.cg-button {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  font-size: .8rem;
  padding: 14px 22px;
  margin-top: 15px;
}
.cg-button.red {
  background: var(--red);
}
.cg-button.gold {
  background: var(--gold);
}
.cg-hero-evidence {
  background: url('assets/images/kaufmann-evidence.jpg') center/cover no-repeat;
}
.cg-hero blockquote {
  position: absolute;
  z-index: 5;
  left: 35%;
  bottom: 10px;
  width: 53%;
  margin: 0;
  padding: 18px 25px;
  background: rgba(239,226,201,.95);
  font: italic 1.25rem Georgia,serif;
  box-shadow: 0 4px 14px #0005;
  transform: rotate(-.7deg);
}
.cg-hero cite {
  display: block;
  color: var(--red);
  margin-top: 6px;
  font-size: .86rem;
}
.cg-worlds {
  padding: 30px 3% 36px;
  color: #fff;
  background: radial-gradient(circle at 40% 0,#122631,#06131c 65%);
}
.cg-worlds header {
  text-align: center;
}
.cg-worlds h2 {
  font-size: 2.4rem;
  margin: 0;
  letter-spacing: .03em;
}
.cg-worlds header p {
  margin: 0;
  color: #d6b778;
}
.cg-cards {
  max-width: 1180px;
  margin: 28px auto 0;
  display: grid;
}
.cg-card {
  background: var(--paper);
  border: 1px solid #8e7d65;
  color: var(--ink);
  display: flex;
  flex-direction: column;
}
.cg-card-photo {
  height: 225px;
  background: center/cover no-repeat;
}
.kaufmann .cg-card-photo {
  background-image: url('assets/images/kaufmann-evidence.jpg');
}
.gameshow .cg-card-photo {
  display: grid;
  place-items: center;
  text-align: center;
  text-transform: uppercase;
  font: bold 2.3rem/1 "Arial Black",sans-serif;
}
.cg-card-body {
  position: relative;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 25px 18px 18px;
  flex: 1;
}
.cg-icon {
  position: absolute;
  top: -26px;
  left: calc(50% - 25px);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border: 3px solid var(--paper);
  font-size: 1.4rem;
}
.gameshow .cg-icon,.kaufmann .cg-icon {
  background: var(--red);
}
.cottage .cg-icon {
  background: var(--green);
}
.cg-card h3 {
  text-transform: uppercase;
  color: var(--blue);
  font-size: 1.25rem;
  line-height: 1.05;
  margin: 7px 0 15px;
}
.cg-card h3 small {
  display: block;
}
.gameshow h3,.kaufmann h3 {
  color: var(--red);
}
.cottage h3 {
  color: var(--green);
}
.cg-card p {
  font-size: .83rem;
  margin: 0 0 18px;
  flex: 1;
}
.cg-corporate {
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 340px;
  color: #fff;
  background: #06131c;
}
.cg-corporate-copy {
  text-align: center;
  padding: 35px 55px;
}
.cg-corporate h2 {
  font-size: 2rem;
  margin: 0;
}
.cg-corporate h3 {
  color: #d2a85f;
  margin: 0;
}
.cg-corporate-copy>p {
  max-width: 610px;
  margin: 8px auto 20px;
}
.cg-benefits {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 14px;
  font-size: .78rem;
}
.cg-benefits b {
  display: block;
  color: #c49852;
  font-size: 2.2rem;
  height: 45px;
}
.cg-trust {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  padding: 28px 9%;
  background: #e8ddc9;
  color: #221e18;
  text-align: center;
}
.cg-trust>div {
  padding: 0 25px;
  border-right: 1px solid #b8aa93;
}
.cg-trust>div:last-child {
  border: 0;
}
.cg-trust b {
  display: grid;
  place-items: center;
  margin: 0 auto 13px;
  border: 1px solid #39342b;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.4rem;
}
.cg-trust strong {
  display: block;
  text-transform: uppercase;
  font-size: .77rem;
}
.cg-trust p {
  font-size: .72rem;
}
.cg-contact {
  text-align: center;
  padding: 70px 20px;
  background: #0b202c;
  color: #fff;
}
.cg-contact h2 {
  font: 2.2rem "Courier New",monospace;
  margin: 0;
}
.site-footer {
  background: #041018;
  color: #b9afa0;
  padding: 30px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(2,max-content);
  column-gap: 28px;
  row-gap: 7px;
}
.footer-links a {
  color: inherit;
}
.page-main {
  min-height: 65vh;
  background: var(--paper);
  padding: 100px 0;
}
.entry-content {
  max-width: 800px;
}
.page-main h1 {
  font: 3rem "Courier New",monospace;
  color: var(--red);
}
@media (max-width:900px) {
  .cg-corporate {
    grid-template-columns: 1fr;
  }
  .cg-corporate-photo {
    min-height: 300px;
  }
  .cg-trust {
    grid-template-columns: repeat(2,1fr);
    gap: 25px;
  }
  .cg-trust>div {
    border: 0;
  }
}
@media (max-width:560px) {
  .site-header {
    height: 70px;
  }
  .brand {
    font-size: 1.15rem;
  }
  .cg-hero-copy:before {
    inset: 0;
  }
  .cg-card-photo {
    height: 240px;
  }
  .cg-corporate-copy {
    padding: 35px 20px;
  }
  .cg-benefits {
    grid-template-columns: repeat(2,1fr);
  }
  .cg-trust {
    grid-template-columns: 1fr;
  }
  .cg-worlds h2 {
    font-size: 2rem;
  }
}
/* Homepage hero */
@media (min-width:901px) {
  .cg-hero-copy:before {
    display: none;
  }
  .cg-hero blockquote {
    font-size: 1.15rem;
  }
}
.gameshow .cg-icon {
  background: #a86616;
}
.gameshow h3 {
  color: #8a520f;
}
.kaufmann .cg-icon {
  background: var(--red);
}
.kaufmann h3 {
  color: var(--red);
}
@media (min-width:561px) and (max-width:900px) {
  .cg-hero-copy:before {
    display: none;
  }
}
/* Client references and offer pages */
.cg-more-link {
  text-align: center;
  margin: 28px 0 0;
}
.cg-more-link a {
  color: #d8bb81;
  font-weight: 700;
  text-decoration: none;
}
.cg-clients {
  padding: 30px 4%;
  background: #f2eadb;
  text-align: center;
  border-top: 1px solid #c7b89e;
}
.cg-clients>p {
  margin: 0 0 20px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  color: #75664f;
}
.cg-client-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(8,1fr);
  align-items: center;
  gap: 24px;
}
.cg-client-grid span {
  font-weight: 800;
  color: #30414a;
  font-size: 1.05rem;
  line-height: 1.05;
  filter: grayscale(1);
}
.experience-page {
  background: var(--paper);
}
.experience-hero {
  display: grid;
  grid-template-columns: 45% 55%;
  min-height: 520px;
}
.experience-copy {
  padding: 70px clamp(30px,6vw,95px);
  background: #eadfca;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.experience-copy h1,.formats-page h1 {
  font: 700 clamp(2.7rem,5vw,4.8rem)/.98 Georgia,serif;
  color: var(--red);
  margin: 8px 0 24px;
}
.experience-copy>p:not(.cg-kicker-small) {
  font: 1.2rem/1.55 Georgia,serif;
}
.cg-kicker-small {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 800;
  color: var(--gold);
  font-size: .78rem;
}
.experience-image {
  background: center/cover no-repeat;
}
.experience-details {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 80px;
  padding-top: 75px;
  padding-bottom: 75px;
}
.experience-details h2,.experience-next h2,.format-grid h2 {
  font: 700 2rem Georgia,serif;
  color: var(--red);
}
.experience-details p {
  font-size: 1.06rem;
  line-height: 1.7;
}
.experience-details ul {
  list-style: none;
  margin: 0;
  padding: 25px;
  background: #0c2330;
  color: #fff;
  align-self: start;
}
.experience-details li {
  padding: 15px 5px 15px 32px;
  border-bottom: 1px solid #ffffff2b;
  position: relative;
}
.experience-details li:before {
  content: '✓';
  position: absolute;
  left: 4px;
  color: #d5a85f;
}
.experience-next {
  text-align: center;
  padding: 65px 20px;
  background: #0b202c;
  color: #fff;
}
.experience-next h2 {
  color: #fff;
  margin: 0;
}
.experience-next p {
  margin: 8px 0;
}
.experience-page.gameshow .experience-copy {
  background: #efe0bd;
}
.experience-page.gameshow .experience-copy h1 {
  color: #925613;
}
.experience-page.cottage .experience-copy h1 {
  color: var(--green);
}
.formats-page .page-lead,.narrow {
  max-width: 820px;
}
.page-lead {
  font: 1.25rem/1.55 Georgia,serif;
}
.format-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 22px;
  margin-top: 45px;
}
.format-grid article {
  background: #fffaf0;
  border-left: 6px solid var(--gold);
  padding: 25px 28px;
}
.format-grid h2 {
  font-size: 1.55rem;
  margin: 0 0 8px;
}
.format-grid p {
  margin: 0;
}
@media (max-width:900px) {
  .cg-client-grid {
    grid-template-columns: repeat(4,1fr);
  }
  .experience-hero {
    grid-template-columns: 1fr;
  }
  .experience-image {
    min-height: 380px;
    grid-row: 1;
  }
  .experience-copy {
    padding: 45px 30px;
  }
  .experience-details {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .format-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width:560px) {
  .cg-client-grid {
    grid-template-columns: repeat(2,1fr);
    gap: 24px;
  }
  .experience-image {
    min-height: 270px;
  }
  .experience-copy h1,.formats-page h1 {
    font-size: 2.5rem;
  }
  .page-main {
    padding: 60px 0;
  }
}
/* Experience cards and galleries */
.academy .cg-card-photo {
  background-image: url('assets/images/academy-playing-v7.jpg');
}
.cottage .cg-card-photo {
  background-image: url('assets/images/cottage-brahe.jpg');
}
.gameshow .cg-card-photo {
  background: url('assets/images/gameshow-generated.jpg') center/cover no-repeat;
  color: transparent;
  text-shadow: none;
}
.experience-story {
  padding-top: 10px;
  padding-bottom: 90px;
}
.experience-story-copy {
  max-width: 760px;
  margin-bottom: 34px;
}
.experience-story h2 {
  font: 700 clamp(2rem,3.5vw,3rem)/1.08 Georgia,serif;
  color: var(--red);
  margin: 7px 0 16px;
}
.experience-page.cottage .experience-story h2 {
  color: var(--green);
}
.experience-page.gameshow .experience-story h2 {
  color: #925613;
}
.experience-story-copy>p:last-child {
  font-size: 1.06rem;
  line-height: 1.7;
}
.experience-gallery {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 18px;
}
.experience-gallery figure {
  position: relative;
  margin: 0;
  background: #10232d;
  min-height: 290px;
  overflow: hidden;
  box-shadow: 0 10px 30px #392f2530;
}
.experience-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 290px;
  max-height: 430px;
  object-fit: cover;
  transition: transform .35s ease;
}
.experience-gallery figure:hover img {
  transform: scale(1.025);
}
.experience-gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 18px 15px;
  color: #fff;
  background: linear-gradient(transparent,#06131ddd);
  font-size: .82rem;
}
.experience-page.cottage .experience-gallery figure:nth-child(1) {
  transform: rotate(-.6deg);
}
.experience-page.cottage .experience-gallery figure:nth-child(2) {
  transform: rotate(.6deg);
}
@media (max-width:700px) {
  .experience-gallery {
    grid-template-columns: 1fr;
  }
  .experience-gallery figure,.experience-gallery img {
    min-height: 240px;
  }
  .experience-story {
    padding-bottom: 55px;
  }
}
.cg-card {
  position: relative;
  text-decoration: none;
  transition: transform .2s ease,box-shadow .2s ease;
}
.cg-card:hover,.cg-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px #0008;
  outline: 2px solid #d8bb81;
  outline-offset: 2px;
}
.cg-card-cta {
  display: block;
  padding: 10px;
  color: #fff;
  background: var(--blue);
  text-transform: uppercase;
  font-size: .76rem;
  font-weight: 700;
}
.gameshow .cg-card-cta {
  background: #a86616;
}
.kaufmann .cg-card-cta {
  background: var(--red);
}
.cottage .cg-card-cta {
  background: var(--green);
}
.experience-page.academy .experience-image {
  background-position: center center;
}
.experience-page.academy .experience-gallery figure:first-child {
  max-width: none;
  justify-self: stretch;
}
.experience-page.academy .experience-gallery figure:first-child img {
  object-fit: cover;
  background: none;
  object-position: center center;
}
/* Smile gallery */
.cg-smiles {
  background: #071722;
  color: #fff;
  padding: 58px 0 0;
  overflow: hidden;
}
.cg-smiles-heading {
  width: min(900px,calc(100% - 40px));
  margin: 0 auto 34px;
  text-align: center;
}
.cg-smiles-heading h2 {
  font: 700 clamp(2rem,4vw,3.45rem)/1.12 Georgia,serif;
  margin: 8px 0;
  color: #f1e5d1;
}
.cg-smiles-grid {
  display: grid;
  grid-template-columns: repeat(6,1fr);
  grid-auto-rows: 145px;
  grid-auto-flow: dense;
  gap: 5px;
  padding: 0 5px 5px;
}
.cg-smiles-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.92) contrast(1.03);
  transition: filter .25s ease,transform .25s ease;
}
.cg-smiles-grid img:hover {
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.015);
  z-index: 1;
}
.cg-smiles-grid img:nth-child(1),.cg-smiles-grid img:nth-child(8),.cg-smiles-grid img:nth-child(15) {
  grid-column: span 2;
  grid-row: span 2;
}
.cg-smiles-grid img:nth-child(5),.cg-smiles-grid img:nth-child(12),.cg-smiles-grid img:nth-child(19) {
  grid-column: span 2;
}
@media (max-width:900px) {
  .cg-smiles-grid {
    grid-template-columns: repeat(4,1fr);
    grid-auto-rows: 130px;
  }
}
@media (max-width:560px) {
  .cg-smiles {
    padding-top: 45px;
  }
  .cg-smiles-grid {
    grid-template-columns: repeat(2,1fr);
    grid-auto-rows: 125px;
  }
  .cg-smiles-grid img:nth-child(n) {
    grid-column: span 1;
    grid-row: span 1;
  }
  .cg-smiles-grid img:nth-child(1),.cg-smiles-grid img:nth-child(8),.cg-smiles-grid img:nth-child(15) {
    grid-column: span 2;
    grid-row: span 2;
  }
}
/* References and cross-navigation */
.experience-switcher {
  padding: 48px 0 54px;
  background: #e2d5bf;
  border-top: 1px solid #c8b99f;
}
.experience-switcher .cg-kicker-small {
  text-align: center;
  color: #76644b;
}
.experience-switcher-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
  margin-top: 18px;
}
.experience-tile {
  min-height: 92px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.2;
  transition: transform .2s ease,filter .2s ease;
}
.experience-tile b {
  font-size: 1.6rem;
}
.experience-tile:hover,.experience-tile:focus-visible {
  transform: translateY(-3px);
  filter: brightness(1.1);
  outline: 3px solid #fff;
  outline-offset: -6px;
}
.experience-tile.academy {
  background: var(--blue);
}
.experience-tile.gameshow {
  background: #a86616;
}
.experience-tile.kaufmann {
  background: var(--red);
}
.experience-tile.cottage {
  background: var(--green);
}
.cg-references {
  padding: 70px 0;
  background: #f4ead8;
}
.cg-references h2 {
  font: 700 clamp(2rem,4vw,3.2rem)/1.08 Georgia,serif;
  color: var(--red);
  margin: 8px 0 30px;
}
.cg-reference-grid {
  display: grid;
  gap: 20px;
}
.cg-reference-grid blockquote,.cg-reference-grid article {
  margin: 0;
  padding: 32px;
  background: #fffaf0;
  border-top: 5px solid var(--gold);
}
.cg-reference-grid blockquote p {
  font: italic 1.25rem/1.55 Georgia,serif;
  margin: 0 0 20px;
}
.cg-reference-grid cite {
  font-style: normal;
  color: #675b49;
}
.cg-reference-grid article {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cg-reference-grid article span {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .7rem;
  color: #806f54;
}
.cg-reference-grid article strong {
  font: 700 3.2rem Georgia,serif;
  color: #263e50;
  margin: 8px 0;
}
.cg-reference-grid article p {
  margin: 0;
  color: #5c5348;
}
.about-page .page-main {
  min-height: 0;
  padding-bottom: 70px;
}
.about-page .cg-smiles {
  margin: 0;
}
@media (max-width:700px) {
  .experience-switcher-grid,.cg-reference-grid {
    grid-template-columns: 1fr;
  }
  .experience-tile {
    min-height: 76px;
  }
}
/* Practical details and client logos */
.cg-corporate-photo {
  background: url('assets/images/corporate-event-v9.jpg') center/cover no-repeat;
}
.cg-client-logo {
  height: 76px;
  padding: 8px;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.cg-client-logo img {
  display: block;
  max-width: 100%;
  max-height: 58px;
  object-fit: contain;
  filter: grayscale(1);
  mix-blend-mode: multiply;
}
.cg-client-logo b {
  display: none;
  font-size: .78rem;
  color: #30414a;
}
.experience-facts {
  background: #071722;
  color: #fff;
  padding: 25px 27px;
}
.experience-facts dl {
  margin: 0;
}
.experience-facts dl div {
  padding: 10px 0;
  border-bottom: 1px solid #ffffff26;
}
.experience-facts dt {
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #d8bb81;
  font-size: .68rem;
  font-weight: 700;
}
.experience-facts dd {
  margin: 3px 0 0;
  font-size: .92rem;
}
.experience-facts>p {
  margin: 20px 0 0;
  font-size: .84rem;
  line-height: 1.55;
  color: #e9dfcc;
}
.museum-link {
  color: var(--red);
  font-weight: 700;
}
.cg-smiles-grid img {
  object-position: center 28%;
}
.cg-reference-grid {
  grid-template-columns: 1fr 1fr;
}
.cg-reference-grid blockquote:nth-child(2) p {
  font-size: 1.03rem;
  line-height: 1.48;
}
.cg-reference-grid blockquote:nth-child(3) {
  grid-column: 1 / -1;
}
.cg-reference-grid blockquote:nth-child(3) p {
  font-size: 1.02rem;
  line-height: 1.5;
}
@media (max-width:900px) {
  .cg-client-logo {
    height: 70px;
  }
  .cg-reference-grid {
    grid-template-columns: 1fr;
  }
  .cg-reference-grid blockquote:nth-child(3) {
    grid-column: auto;
  }
}
/* Why us and company history */
.cg-why {
  padding: 65px 0;
  background: #f1e7d5;
}
.cg-why>.wrap>.cg-kicker-small {
  text-align: center;
  color: #76644b;
}
.cg-why-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 18px;
  margin-top: 24px;
}
.cg-why-grid article {
  padding: 25px;
  background: #fffaf0;
  border-top: 5px solid var(--gold);
}
.cg-why-grid h2 {
  font: 700 1.25rem/1.15 Georgia,serif;
  color: var(--red);
  margin: 0 0 10px;
}
.cg-why-grid p {
  font-size: .9rem;
  line-height: 1.55;
  margin: 0;
}
.experience-page.kaufmann .experience-gallery figure:first-child {
  background: #e5d6b9;
}
.experience-page.kaufmann .experience-gallery figure:first-child img {
  object-fit: contain;
  object-position: center top;
  background: #e5d6b9;
}
.experience-page.cottage .experience-gallery figure {
  overflow: hidden;
  background: #10232d;
}
.experience-page.cottage .experience-gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 18px 15px;
  color: #fff;
  background: linear-gradient(transparent,#06131ddd);
  font-size: .82rem;
}
.cg-history {
  padding: 75px 0;
  background: #e6dbc7;
}
.cg-history>.wrap {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.cg-history h2 {
  font: 700 clamp(2.1rem,4vw,3.4rem)/1.08 Georgia,serif;
  color: var(--red);
  margin: 8px 0 22px;
}
.cg-history-copy p {
  line-height: 1.7;
}
.cg-history-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.cg-history-gallery figure {
  margin: 0;
  background: #071722;
  box-shadow: 0 10px 26px #392f2530;
}
.cg-history-gallery img {
  display: block;
  width: 100%;
  height: 310px;
  object-fit: cover;
}
.cg-history-gallery figcaption {
  padding: 12px 15px;
  color: #fff;
  font-size: .82rem;
}
.cg-reference-grid blockquote:first-child p {
  font-size: 1rem;
  line-height: 1.5;
}
@media (max-width:900px) {
  .cg-why-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .cg-history>.wrap {
    grid-template-columns: 1fr;
  }
  .cg-history-gallery img {
    height: 280px;
  }
}
@media (max-width:560px) {
  .cg-why-grid,.cg-history-gallery {
    grid-template-columns: 1fr;
  }
  .cg-history-gallery img {
    height: 240px;
  }
}
.format-grid .format-card-with-image {
  padding: 0;
  overflow: hidden;
}
.format-card-with-image img {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
}
.format-card-with-image>div {
  padding: 25px 28px;
}
.format-video-link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 800;
  color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.cg-video-figure a {
  display: block;
  position: relative;
  color: inherit;
}
.cg-play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #b02028e8;
  color: #fff;
  font-size: 1.45rem;
  box-shadow: 0 6px 20px #0008;
  padding-left: 4px;
}
.cg-video-figure a:hover .cg-play-button,.cg-video-figure a:focus-visible .cg-play-button {
  background: #d5a85f;
}
/* Contact and partner locations */
.cg-button.outline {
  border: 1px solid #d8bb81;
  color: #fff;
  margin-left: 10px;
}
.cg-contact>p {
  max-width: 780px;
  margin: 12px auto;
  line-height: 1.65;
}
.cg-contact-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-inner>div:first-child {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.footer-inner>div:first-child span {
  font-size: .78rem;
}
.footer-links a {
  color: inherit;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: 70px;
  align-items: start;
}
.contact-direct {
  display: grid;
  gap: 12px;
  margin: 30px 0;
}
.contact-direct a {
  display: flex;
  flex-direction: column;
  background: #071722;
  color: #fff;
  text-decoration: none;
  padding: 18px 22px;
}
.contact-direct span {
  text-transform: uppercase;
  color: #d8bb81;
  font-size: .7rem;
  letter-spacing: .12em;
}
.contact-direct strong {
  font-size: 1.2rem;
}
.contact-form-card {
  background: #fffaf0;
  border-top: 6px solid var(--gold);
  padding: 32px;
}
.contact-form-card h2 {
  font: 700 2rem Georgia,serif;
  color: var(--red);
  margin-top: 0;
}
.contact-form-card form {
  display: grid;
  gap: 16px;
}
.contact-form-card label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  font-size: .82rem;
}
.contact-form-card input,.contact-form-card select,.contact-form-card textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #aa9d88;
  background: #fff;
  font: inherit;
}
.contact-form-card .privacy-check {
  grid-template-columns: auto 1fr;
  font-weight: 400;
  line-height: 1.45;
}
.privacy-check input {
  width: auto;
  margin-top: 4px;
}
.form-success {
  padding: 14px;
  background: #e1ecd8;
  border-left: 4px solid var(--green);
}
.form-error {
  padding: 14px;
  background: #f5d9d6;
  border-left: 4px solid var(--red);
}
.contact-form-card .contact-website-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
  margin-top: 42px;
}
.partner-grid article {
  background: #fffaf0;
  border-top: 5px solid var(--gold);
  padding: 25px;
}
.partner-grid h2 {
  font: 700 1.35rem Georgia,serif;
  color: var(--red);
  margin: 0 0 8px;
}
.partner-grid a {
  color: var(--red);
  font-weight: 700;
}
.partner-cta {
  text-align: center;
  margin-top: 55px;
  padding: 40px;
  background: #e2d5bf;
}
.partner-cta h2 {
  font: 700 2rem Georgia,serif;
  color: var(--red);
  margin: 0;
}
@media (max-width:900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .partner-grid {
    grid-template-columns: repeat(2,1fr);
  }
}
@media (max-width:560px) {
  .cg-button.outline {
    margin-left: 0;
  }
  .partner-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-card {
    padding: 24px;
  }
  .footer-inner {
    display: grid;
  }
  .cg-hero h1 {
    font-size: 2.5rem;
  }
}
/* Card labels */
.cg-card-format {
  display: block;
  margin: -7px 0 12px;
  color: var(--red);
  font-size: .75rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.gameshow .cg-card-format {
  color: #8a520f;
}
.kaufmann .cg-card-format {
  color: var(--red);
}
.cottage .cg-card-format {
  color: var(--green);
}
/* Desktop header */
@media (min-width:1101px) {
  .site-header .header-inner {
    width: min(1500px,calc(100% - 64px));
    gap: 18px;
  }
  .brand {
    max-width: none;
    white-space: nowrap;
    flex: 0 0 auto;
  }
  .nav {
    margin-left: auto;
  }
  .nav ul {
    gap: clamp(16px,1.8vw,30px);
    justify-content: flex-end;
  }
}
/* Featured experiences and Outdoor Events */
.cg-cards {
  grid-template-columns: repeat(3,1fr);
  gap: 14px;
}
.academy-most-wanted .cg-card-photo {
  background-image: url('assets/images/academy-cellar-v7.jpg');
}
.academy-solve .cg-card-photo {
  background-image: url('assets/images/solve-the-case-cases-v22.webp');
  background-position: center 52%;
}
.outdoor .cg-card-photo {
  background-image: url('assets/images/outdoor-event-v11.jpg');
}
.outdoor .cg-icon,.outdoor .cg-card-cta {
  background: #46666a;
}
.outdoor h3,.outdoor .cg-card-format {
  color: #35565a;
}
.academy .cg-card-format {
  color: var(--blue);
}
.experience-page.academy .experience-copy {
  background: #dfe7ed;
}
.experience-page.academy .experience-copy h1,
.experience-page.academy .experience-details h2,
.experience-page.academy .experience-story h2 {
  color: var(--blue);
}
.experience-page.outdoor .experience-copy {
  background: #dfe7df;
}
.experience-page.outdoor .experience-copy h1,
.experience-page.outdoor .experience-details h2,
.experience-page.outdoor .experience-story h2 {
  color: #35565a;
}
.outdoor-format-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 16px;
  margin-top: 28px;
}
.outdoor-format-grid article {
  background: #fffaf0;
  border-top: 5px solid #46666a;
  padding: 22px;
}
.outdoor-format-grid .outdoor-format-with-image {
  padding: 0;
  overflow: hidden;
}
.outdoor-format-with-image img {
  display: block;
  width: 100%;
  aspect-ratio: 1012/634;
  object-fit: cover;
}
.outdoor-format-copy {
  padding: 22px;
}
.outdoor-format-grid h3 {
  font: 700 1.45rem Georgia,serif;
  color: #35565a;
  margin: 3px 0 10px;
}
.outdoor-format-grid p:last-child {
  margin-bottom: 0;
}
.experience-switcher-grid {
  grid-template-columns: repeat(auto-fit,minmax(190px,1fr));
}
.experience-tile.outdoor {
  background: #46666a;
}
@media (max-width:900px) {
  .cg-cards {
    grid-template-columns: repeat(2,1fr);
  }
}
@media (max-width:700px) {
  .experience-switcher-grid {
    grid-template-columns: 1fr;
  }
  .outdoor-format-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width:560px) {
  .cg-cards {
    grid-template-columns: 1fr;
  }
}
/* Temporary-image notices and seasonal promotion */
.cg-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.gameshow .cg-icon svg {
  fill: currentColor;
  stroke-width: 1.5;
}
.cg-card-photo {
  position: relative;
  overflow: hidden;
}
.cg-image-watermark {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 125%;
  padding: 9px 20px;
  transform: translate(-50%,-50%) rotate(-12deg);
  background: rgba(127,29,29,.86);
  border-top: 2px solid rgba(255,255,255,.8);
  border-bottom: 2px solid rgba(255,255,255,.8);
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: .74rem;
  font-weight: 900;
  text-shadow: 0 1px 2px #000;
}
.experience-image {
  position: relative;
}
.cg-seasonal-corner {
  position: absolute;
  z-index: 3;
  top: 22px;
  right: 22px;
  width: min(370px,calc(100% - 44px));
  padding: 20px 22px;
  background: rgba(127,29,29,.95);
  border: 1px solid #e4c58f;
  color: #fff;
  box-shadow: 0 10px 28px #0007;
}
.cg-seasonal-corner .cg-kicker-small {
  margin: 0 0 4px;
  color: #e4c58f;
}
.cg-seasonal-corner strong {
  display: block;
  font: 700 1.35rem/1.18 Georgia,serif;
}
.cg-seasonal-corner a {
  display: inline-block;
  margin-top: 14px;
  padding: 9px 13px;
  background: var(--gold);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 800;
}
.cg-history-media {
  display: grid;
  gap: 18px;
}
.cg-about-mid-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 4px 0 0;
}
.cg-about-mid-actions .cg-button {
  margin-top: 0;
}
.cg-translation-note {
  font: normal .78rem/1.4 Arial,Helvetica,sans-serif !important;
  color: #75664f;
}
.about-final-cta {
  border-top: 1px solid #d8bb8155;
}
@media (max-width:700px) {
  .cg-seasonal-corner {
    top: 14px;
    right: 14px;
    width: min(340px,calc(100% - 28px));
    padding: 16px 18px;
  }
  .cg-seasonal-corner strong {
    font-size: 1.08rem;
  }
}
/* Additional formats */
.experience-page.gameshow .experience-details h2 {
  color: #925613;
}
.experience-page.cottage .experience-details h2 {
  color: var(--green);
}
.formats-page {
  padding-bottom: 0;
}
.formats-final-cta {
  margin-top: 100px;
}
/* Responsive homepage hero */
@media (min-width:901px) {
  .cg-hero {
    display: grid;
    grid-template-columns: minmax(0,42%) minmax(0,58%);
    min-height: 585px;
    height: auto;
    overflow: visible;
  }
  .cg-hero-copy {
    position: relative;
    grid-column: 1;
    grid-row: 1;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
    min-height: 585px;
    max-width: none;
    padding: 45px clamp(30px,5vw,80px);
    overflow: visible;
    background: linear-gradient(90deg,rgba(238,229,210,1) 0 88%,rgba(238,229,210,.94) 100%);
    filter: drop-shadow(8px 5px 7px rgba(30,20,10,.15));
  }
  .cg-hero-evidence {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    inset: auto;
    min-height: 585px;
  }
  .cg-hero blockquote {
    left: 42%;
    width: 53%;
  }
}
@media (max-width:900px) {
  .cg-hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: auto;
    overflow: visible;
  }
  .cg-hero-evidence {
    position: relative;
    order: 1;
    inset: auto;
    left: auto;
    width: 100%;
    height: clamp(270px,48vw,390px);
    min-height: 270px;
  }
  .cg-hero-copy {
    position: relative;
    order: 2;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    max-width: none;
    padding: 38px clamp(24px,7vw,56px);
    overflow: visible;
    background: rgba(238,229,210,.98);
  }
  .cg-hero blockquote {
    position: relative;
    order: 3;
    left: auto;
    right: auto;
    bottom: auto;
    width: auto;
    margin: 0 clamp(18px,6vw,52px) 28px;
    padding: 18px 22px;
    font-size: 1.05rem;
    transform: rotate(-.35deg);
  }
}
@media (max-width:560px) {
  .cg-hero-copy {
    padding: 30px 24px 34px;
  }
  .cg-hero blockquote {
    margin: 0 18px 24px;
    font-size: 1rem;
  }
}
.outdoor-format-facts {
  display: grid;
  gap: 0;
  margin: 22px 0 0;
  border-top: 1px solid #46666a55;
}
.outdoor-format-facts div {
  display: grid;
  grid-template-columns: minmax(90px,.7fr) 1.3fr;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #46666a33;
}
.outdoor-format-facts dt {
  font-weight: 800;
  color: #35565a;
}
.outdoor-format-facts dd {
  margin: 0;
}
.outdoor-format-closing {
  margin-top: 20px;
  font: italic 1rem/1.5 Georgia,serif;
  color: #35565a;
}
/* Personal contact and interactive puzzle */
.cg-personal-contact h2 a {
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.cg-personal-contact h2 a:hover,.cg-personal-contact h2 a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.cg-personal-contact .cg-button.outline {
  margin-left: 0;
}
.outdoor-format-with-image>img {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #071722;
}
.cg-puzzle-open {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: #071722;
  color: #fff;
  cursor: zoom-in;
  text-align: inherit;
}
.cg-puzzle-open img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}
.cg-puzzle-open span {
  display: block;
  padding: 10px 14px;
  background: #071722;
  border-top: 1px solid #d8bb81;
  color: #fff;
  text-align: center;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .03em;
}
.cg-puzzle-open:hover span,.cg-puzzle-open:focus-visible span {
  background: #35565a;
}
.cg-puzzle-open:focus-visible {
  outline: 3px solid #d8bb81;
  outline-offset: 3px;
}
.cg-lightbox[hidden] {
  display: none !important;
}
.cg-lightbox {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 2vh 2vw;
  background: rgba(2,9,14,.94);
}
.cg-lightbox-panel {
  display: flex;
  flex-direction: column;
  width: min(1500px,96vw);
  max-height: 96vh;
  background: #071722;
  border: 1px solid #d8bb81;
  box-shadow: 0 20px 70px #000;
}
.cg-lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 16px;
  color: #fff;
}
.cg-lightbox-header h2 {
  margin: 0;
  font: 700 clamp(1rem,2vw,1.45rem) Georgia,serif;
}
.cg-lightbox-close {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border: 1px solid #d8bb81;
  background: #842018;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.cg-lightbox-close:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
.cg-lightbox-image-wrap {
  overflow: auto;
  background: #06131c;
  touch-action: pan-x pan-y pinch-zoom;
}
.cg-lightbox-image-wrap img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(96vh - 72px);
  margin: auto;
  object-fit: contain;
}
body.cg-modal-open {
  overflow: hidden;
}
.cg-personal-contact.partner-cta {
  margin-top: 55px;
  padding: 55px 20px;
  background: #0b202c;
  color: #fff;
}
.cg-personal-contact.partner-cta h2 {
  color: #fff;
}
@media (max-width:560px) {
  .cg-lightbox {
    padding: 8px;
  }
  .cg-lightbox-panel {
    width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
  }
  .cg-lightbox-header {
    padding: 8px 10px;
  }
  .cg-lightbox-image-wrap img {
    max-height: calc(100vh - 78px);
  }
}
/* Global navigation */
.nav {
  margin-left: auto;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.header-phone {
  display: flex;
  flex: 0 0 auto;
  flex-direction: row;
  align-items: center;
  gap: 7px;
  padding: 10px 0;
  border: 0;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.header-phone .header-phone-icon {
  display: inline;
  color: #d8bb81;
  font-size: 1.05rem;
  letter-spacing: 0;
}
.header-phone .header-phone-number {
  display: inline;
  color: #fff;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .015em;
  text-transform: none;
}
.header-phone:hover .header-phone-number,.header-phone:focus-visible .header-phone-number {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.header-phone:focus-visible,.header-contact-link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.header-contact-link {
  display: flex;
  align-items: center;
  align-self: stretch;
  padding: 0 18px;
  background: var(--gold);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .02em;
}
@media (max-width:1100px) {
  .site-header .header-inner {
    width: min(1180px,calc(100% - 40px));
    gap: 12px;
  }
  .nav {
    display: none;
    position: absolute;
    top: 82px;
    left: 20px;
    right: 20px;
    margin: 0;
    background: var(--navy);
    padding: 20px;
  }
  .nav.open {
    display: block;
  }
  .nav ul {
    display: grid;
    gap: 18px;
  }
  .menu-toggle {
    display: block;
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    padding: 8px 12px;
  }
  .header-actions {
    margin-left: auto;
  }
}
@media (max-width:560px) {
  .site-header .header-inner {
    width: calc(100% - 16px);
    gap: 7px;
  }
  .nav {
    top: 70px;
    left: 8px;
    right: 8px;
  }
  .header-phone {
    width: 38px;
    height: 38px;
    justify-content: center;
    padding: 0;
    border: 1px solid #bd9457;
  }
  .header-phone .header-phone-number {
    display: block;
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
  }
  .header-phone .header-phone-icon {
    display: inline;
    font-size: 1.15rem;
  }
  .header-contact-link {
    height: 38px;
    padding: 0 10px;
    font-size: .69rem;
  }
  .menu-toggle {
    height: 38px;
    padding: 0 9px;
    font-size: .72rem;
  }
  .footer-links {
    grid-template-columns: 1fr;
  }
}
@media (max-width:420px) {
  .brand {
    max-width: 100px;
    white-space: normal;
    font-size: .92rem;
    line-height: 1;
  }
  .brand-has-logo .custom-logo {
    max-width: 100px;
  }
}

/* Accessibility and utility pages */
.skip-link {
  position: fixed;
  z-index: 2000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  transform: translateY(-150%);
  background: #fff;
  color: var(--navy);
  font-weight: 800;
}
.skip-link:focus {
  transform: translateY(0);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
.cg-button.dark {
  background: var(--navy);
}
.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  *,*::before,*::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Version 23: Agent Academy mission artwork and Instagram */
.footer-instagram {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-instagram svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.footer-instagram svg circle:last-child {
  fill: currentColor;
  stroke: none;
}
.experience-supporting-banner {
  margin: 8px 0 0;
  background: #fff;
  box-shadow: 0 10px 30px #392f2530;
  overflow: hidden;
}
.experience-supporting-banner img {
  display: block;
  width: 100%;
  height: auto;
}
.academy-mission-materials {
  padding: 64px 0 78px;
  background: #0b202c;
  color: #fff;
}
.academy-mission-heading {
  max-width: 760px;
  margin-bottom: 28px;
}
.academy-mission-heading h2 {
  margin: 6px 0 12px;
  color: #fff;
  font: 700 clamp(2rem,3.5vw,3rem)/1.08 Georgia,serif;
}
.academy-mission-heading p:last-child {
  margin-bottom: 0;
  color: #d7e0e4;
  font-size: 1.03rem;
  line-height: 1.65;
}
.academy-mission-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
  align-items: stretch;
}
.academy-mission-grid figure {
  margin: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  background: #071722;
  border: 1px solid #ffffff1f;
  overflow: hidden;
}
.academy-mission-grid img {
  display: block;
  width: 100%;
  height: 360px;
  padding: 12px;
  object-fit: contain;
  background: #eef1f2;
}
.academy-mission-grid figcaption {
  padding: 12px 14px 14px;
  color: #fff;
  font-size: .82rem;
  line-height: 1.4;
}
@media (max-width:900px) {
  .academy-mission-grid {
    grid-template-columns: 1fr 1fr;
  }
  .academy-mission-grid figure:last-child {
    grid-column: 1 / -1;
  }
}
@media (max-width:560px) {
  .academy-mission-materials {
    padding: 48px 0 58px;
  }
  .academy-mission-grid {
    grid-template-columns: 1fr;
  }
  .academy-mission-grid figure:last-child {
    grid-column: auto;
  }
  .academy-mission-grid img {
    height: auto;
    max-height: 480px;
  }
}

