html {
  --pdfcolor1: var(--purple1); /* bar */
  --pdfcolor2: var(--brown3);  /* buttons */
  --pdfcolor3: var(--purple1); /* button labels */
}

/* .cardholder:has(.newscard) {
  flex-flow: column wrap;
  max-height: 700px;
} */
.newscard {
  max-width: 300px;
  display: grid;
  grid-template-rows: auto 1fr;
  align-self: baseline;
}
.newsheader {
  padding: 8px 20px 8px 20px;
  background: linear-gradient(var(--yellowlight), var(--yellowdark));
  color: var(--purple1);
  font-size: 14px;
  overflow: hidden;
  position: relative;
}
.newsheader p {
  padding: 0;
}
.newstitle, .newssubtitle {
  font-family: var(--headerfont);
  font-weight: bold;
}

.videoheader {
  background: linear-gradient(var(--brown3), var(--brown2));
  color: var(--yellowpale);
  padding-bottom: 10px;
}
.embcontent {
  justify-self: center;
}
.embvideodiv {
  width: 100%;
  position: relative;
  padding-top: 45%;
}
.embvideo {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
.transcript {
  padding: 16px;
  height: 400px;
  overflow-y: scroll;
}

.pdfheader {
  background: linear-gradient(var(--purple1), var(--purple2));
  color: var(--yellowlight);
  text-shadow: 0 0 2px black, 0 0 3px var(--purple1);
  padding-bottom: 10px;
}
.embfakepdf {
  width: 100%;
  height: 500px;
  background: var(--brown2);
  display: grid;
  grid-template-rows: auto 1fr;
  position: relative;
}
.fakepdf-controls {
  width: 100%;
  height: 36px;
  background: var(--pdfcolor1);
  z-index: 5;
  padding: 2px 10px 0 10px;
  outline: 2px solid var(--pdfcolor2);
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  color: var(--pdfcolor2);
}
.fakepdf-numpages, .fakepdf-zoomfit, .fakepdf-download {
  font-size: .8rem;
}
.fakepdf-numpages {
  padding-top: 7px;
  font-weight: bold;
}
.fakepdf-centerbtns {
  display: flex;
  flex-flow: row wrap;
}
.embfakepdf button, .fakepdf-download {
  display: inline-block;
  height: 20px;
  margin: 5px 5px;
  background: var(--pdfcolor2);
  border-radius: var(--bordrad);
  color: var(--pdfcolor3);
  text-align: center;
  font-weight: bold;
  font-family: 'Noto Sans';
  cursor: pointer;
}
.fakepdf-zoomout, .fakepdf-zoomin {
  width: 20px;
  margin-right: 7px !important;
  position: relative;
}
.zoomminus, .zoomplus {
  position: absolute;
  background: var(--pdfcolor3);
}
.zoomminus {
  width: 10px;
  height: 2px;
  left: 5px;
  top: 9px;
}
.zoomplus {
  height: 10px;
  width: 2px;
  top: -4px;
  left: 4px;
}
.fakepdf-zoomout::after, .fakepdf-zoomin::after {
  content: "";
  position: absolute;
  top: -4.5px;
  left: 25px;
  width: 2px;
  height: 16px;
  background: var(--pdfcolor2);
  margin-top: 7px;
}
/* .fakepdf-controls-divider {
  width: 2px;
  height: 16px;
  background: var(--yellowdark);
  margin-top: 7px;
} */
.fakepdf-download {
  padding: 1px 5px 0 5px;
  margin-right: 0;
}
.fakepdf-zoomfit {
  padding: 0 5px;
}
.fakepdf-download a {
  color: var(--pdfcolor3);
  text-decoration: none;
}
.embfakepdf button:hover, .fakepdf-download:hover {
  background: var(--yellowbase);
}

.fakepdf-pages {
  height: 100%;
  width: 100%;
  display: grid;
  justify-content: center;
  padding: 7px 0;
  grid-template-columns: 1fr;
  overflow: scroll;
  position: relative;
}
.fakepdf-page {
  width: 95%;
  justify-self: center;
  margin: 7px 0;
  box-shadow: 0 0 3px black;
}

@media screen and (max-width: 600px) {
  .embcontent {
    width: 90%;
  }
  .embvideodiv {
    padding-top: 50.625%;
  }
  .embfakepdf {
    height: 350px;
  }
}
@media screen and (max-width: 450px) {
  .embcontent {
    width: 100%;
  }
  .embvideodiv {
    padding-top: 56.25%;
  }
}