.resource {
}

.resource .resource__thumbnail {
  margin-bottom: 1rem;
}
.resource .resource__thumbnail img {
  width: 100%;
  height: auto;
}

.resource .resource__headline {
  margin-bottom: .75rem;
}

.resource .resource__headline h3, .resource .resource__title {
  font-family: 'FuturaPTBold', Futura, Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.resource .resource__headline h3 {
  color: #2b2b2b;
  margin: 0;
}

.resource .resource__title {
  color: #666;
  margin-bottom: .5rem;
}

.resource .resource__location {
  color: #2b2b2b;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 22px;
}

.resource .resource__video a {
  margin-top: 20px;
  text-decoration: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  color: #028447;
  font-family: 'FuturaPTBold', Futura, Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.resource .resource__video a::after {
  content: "";
  flex: 0 0 auto;
  width: 33px;
  height: 33px;
  background-color: #028447;
  background-image: url("./assets/icons/plus-sight-icon.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
  border-radius: 9999px;
}

.resource .resource__video .resource__dialog {
  align-items: center;
  background-color: rgba(0, 0, 0, 0.9);
  display: none;
  height: 100dvh;
  justify-content: center;
  left: 0;
  position: fixed;
  top: 0;
  width: 100dvw;
  z-index: 10000;
}

.resource .resource__video .resource__dialog.open {
  display: flex;
}

.resource .resource__video .resource__dialog-close {
  background-color: transparent;
  border: none;
  color: white;
  font-size: 2.5rem;
  margin: 0;
  padding: 0;
  position: absolute;
  right: 2rem;
  top: 1rem;
}

.resource .resource__video .resource__dialog-container {
  max-width: 80rem;
  width: 95%;
}

.resource .resource__video .resource__dialog-iframe {
  -webkit-overflow-scrolling: touch;
  aspect-ratio: 16 / 9;
  pointer-events: auto;
  position: relative;
  width: 100%;
}

.resource .resource__video .resource__dialog-iframe::after {
  -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background-color: black;
  bottom: 0;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  content: '';
  display: block;
  height: auto;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: auto;
  z-index: -1;
}

.resource .resource__video .resource__dialog-iframe :is(iframe, video, object, embed) {
  border: 0;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}
