/* oembed.css - The video frame's page (/media/oembed): the YouTube player once consented, and until then
   the consent notice in the site's colours and type. */
@font-face {
  font-family: "Futura PT W01 Book";
  src: url(/themes/custom/kja/fonts/Fonts/1059698/aafdd021-88d4-41d8-8e15-fe91f83e4b17.woff2) format("woff2"),
    url(/themes/custom/kja/fonts/Fonts/1059698/81d44d4b-ac07-4ad4-8cdd-4df771a3c1c3.woff) format("woff");
  font-display: swap;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  background-color: #f2f7f1;
  color: #333;
  font-family: "Futura PT W01 Book", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
}
iframe {
  display: block;
  max-width: 100%;
  border: 0;
}
.video-consent {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 100%;
  padding: 16px;
  text-align: center;
}
.video-consent p {
  margin: 0;
  max-width: 36em;
}
.video-consent__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
}
.video-consent button {
  /* Tap targets of at least 44 × 44 px; every frame size the page renders (270 × 175 up) has room for it. */
  min-width: 44px;
  min-height: 44px;
  font: inherit;
  cursor: pointer;
}
.video-consent__accept {
  padding: 8px 16px;
  border: 0;
  border-radius: 20px;
  /* A darker shade of the site's green, so the white text reaches 5.1:1 (the brand #74ae34 gives 2.68:1). */
  background-color: #4d7a1f;
  color: #fff;
  font-weight: 700;
}
.video-consent__settings {
  padding: 8px 0;
  border: 0;
  background: none;
  color: #4d7a1f;
  text-decoration: underline;
}
.video-consent button:focus-visible {
  outline: 2px solid #333;
  outline-offset: 2px;
}
/* A short or narrow frame (the slides' 270 × 175 and 320 × 175 frames below 768 px, the small 386 × 226
   frame): the notice keeps its text and both buttons inside the frame with smaller type and spacing. */
@media (max-height: 260px), (max-width: 420px) {
  body {
    font-size: 13px;
    line-height: 1.3;
  }
  .video-consent {
    gap: 6px;
    padding: 8px 12px;
  }
  .video-consent__actions {
    gap: 4px 12px;
  }
  .video-consent__accept {
    padding: 5px 12px;
  }
  .video-consent__settings {
    padding: 5px 0;
  }
}
