/**
 * File: /wp-content/plugins/ckut-amandla/assets/css/amandla.css
 */

.amandla-home {
  width: 100%;
}

.amandla-home-hero {
  position: relative;
  display: grid;
  min-height: auto;
  align-items: end;
  overflow: hidden;
  background: var(--amandla-green);
  border-bottom: 1px solid var(--amandla-border);
}

.amandla-home-hero__media {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
}

.amandla-home-hero__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 40%, rgba(0, 0, 0, 0.5) 100%);
}

.amandla-home-hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.amandla-home-hero__content {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, var(--amandla-content-width));
  margin: 0 auto;
  padding: clamp(3rem, 5vw, 5rem) 0;
  color: var(--amandla-hero-text-color, #ffffff);
}

.amandla-home-hero:not(.amandla-home-hero--has-media) .amandla-home-hero__content {
  color: var(--amandla-hero-text-color, var(--amandla-text));
}

.amandla-home-hero__title {
  max-width: 10ch;
  margin: 0;
  font-family: var(--amandla-font-display);
  font-size: clamp(5rem, 18vw, 16rem);
  font-weight: 400;
  letter-spacing: -0.09em;
  line-height: 0.72;
}

.amandla-home-hero__logo {
  width: min(100%, 720px);
}

.amandla-home-hero__logo-image {
  display: block;
  max-height: 300px;
  object-fit: contain;
  object-position: left center;
}

.amandla-home-hero__subtitle {
  max-width: 56ch;
  margin: 0 auto;
  font-family: var(--amandla-font-display);
  font-size: clamp(1.5rem, 2.5vw, 3.5rem);
  letter-spacing: 0;
  line-height: 1.05;
}

.amandla-home-hero__intro {
  margin-top: 0rem;
  color: inherit;
}


.amandla-home-section,
.amandla-episode-archive,
.amandla-taxonomy-view {
  width: min(100% - 2rem, var(--amandla-content-width));
  margin-right: auto;
  margin-left: auto;
}

.amandla-home-section {
  /* padding-top: clamp(4rem, 9vw, 9rem); */
  padding-top: 1rem;
}

.amandla-home-section--episodes,
.amandla-home-section--interviews {
  width: 100%;
  max-width: none;
}

.amandla-home-section--episodes .amandla-home-section__header,
.amandla-home-section--interviews .amandla-home-section__header {
  width: min(100% - 2rem, var(--amandla-content-width));
  margin-right: auto;
  margin-left: auto;
}

.amandla-home-section__header {
  display: flex;
  margin-bottom: 2rem;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.amandla-home-section__title,
.amandla-episode-archive__title,
.amandla-taxonomy-view__title {
  max-width: 16ch;
  margin: 0;
  font-family: var(--amandla-font-display);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.075em;
  line-height: 0.82;
}

.amandla-home-section__archive-link,
.amandla-taxonomy-view__back,
.amandla-episode-single__back {
  font-family: var(--amandla-font-display);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration-thickness: 0.05em;
  text-underline-offset: 0.2em;
}

.amandla-home-section__content,
.amandla-home-section__intro,
.amandla-home-section__page-content {
  margin-top: 1.5rem;
}

.amandla-home-section--page {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.4fr);
  align-items: start;
  gap: clamp(2rem, 8vw, 8rem);
}

.amandla-home-section--page .amandla-home-section__title {
  position: sticky;
  top: 2rem;
}

.amandla-home-section--page .amandla-button {
  grid-column: 2;
  justify-self: start;
}

.amandla-episode-grid {
  display: block;
  width: 100%;
  background: transparent;
}

.amandla-episode-card {
  --amandla-episode-background: var(--amandla-green);
  --amandla-episode-foreground: var(--amandla-dark);
  min-width: 0;
  color: var(--amandla-episode-foreground);
  background: var(--amandla-episode-background);
}

.amandla-episode-card__layout {
  display: grid;
  min-height: 50vh;
  padding: var(--amandla-gutter);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas: "description player participants";
  gap: var(--amandla-gutter);
}

.amandla-episode-card--no-participants .amandla-episode-card__layout {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.65fr);
  grid-template-areas: "description player";
}

.amandla-episode-card--with-featured-image .amandla-episode-card__layout {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas: "description player artwork";
}

.amandla-episode-card__player {
  position: relative;
  display: flex;
  min-width: 0;
  grid-area: player;
  align-items: center;
  justify-content: center;
}

.amandla-episode-card__number-shell {
  display: flex;
  width: 85%;
  align-items: center;
  justify-content: space-between;
  font-family: var(--amandla-font-display);
  font-size: clamp(8rem, 17vw, 18rem);
  letter-spacing: -0.09em;
  line-height: 0.72;
}

.amandla-episode-card__bracket {
  flex: 0 0 auto;
}

.amandla-episode-card__play {
  position: relative;
  display: grid;
  min-width: 0;
  padding: 0;
  place-items: center;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
  line-height: inherit;
  text-decoration: none;
  cursor: pointer;
}

.amandla-episode-card__number {
  position: relative;
  transition: opacity 180ms ease;
}

.amandla-episode-card__play-icon {
  position: absolute;
  width: clamp(3rem, 7vw, 7.5rem);
  height: clamp(3rem, 7vw, 7.5rem);
  opacity: 0;
  transition: opacity 180ms ease;
}

.amandla-episode-card__play-icon::before {
  position: absolute;
  top: 50%;
  left: 54%;
  width: 0;
  height: 0;
  content: "";
  transform: translate(-50%, -50%);
  border-top: clamp(1.2rem, 2.8vw, 3rem) solid transparent;
  border-bottom: clamp(1.2rem, 2.8vw, 3rem) solid transparent;
  border-left: clamp(2rem, 4.5vw, 5rem) solid currentColor;
}

.amandla-episode-card__play:hover .amandla-episode-card__number,
.amandla-episode-card__play:focus-visible .amandla-episode-card__number,
.amandla-episode-card.is-playing .amandla-episode-card__number {
  opacity: 0.14;
}

.amandla-episode-card__play:hover .amandla-episode-card__play-icon,
.amandla-episode-card__play:focus-visible .amandla-episode-card__play-icon,
.amandla-episode-card.is-playing .amandla-episode-card__play-icon {
  opacity: 1;
}

.amandla-episode-card.is-playing .amandla-episode-card__play-icon::before {
  left: 50%;
  width: clamp(1.8rem, 3.6vw, 4rem);
  height: clamp(2.7rem, 5.8vw, 6.5rem);
  transform: translate(-50%, -50%);
  border: 0;
  background: linear-gradient(90deg, currentColor 0 35%, transparent 35% 65%, currentColor 65% 100%);
}

.amandla-episode-card__open-icon {
  position: absolute;
  width: clamp(3rem, 7vw, 7.5rem);
  height: clamp(3rem, 7vw, 7.5rem);
  overflow: hidden;
  color: currentColor;
  font-size: 0;
  opacity: 0;
  transition: opacity 180ms ease;
}

.amandla-episode-card__open-icon::before,
.amandla-episode-card__open-icon::after {
  position: absolute;
  content: "";
}

.amandla-episode-card__open-icon::before {
  top: 18%;
  right: 18%;
  width: 42%;
  height: 42%;
  border-top: clamp(0.22rem, 0.45vw, 0.52rem) solid currentColor;
  border-right: clamp(0.22rem, 0.45vw, 0.52rem) solid currentColor;
}

.amandla-episode-card__open-icon::after {
  top: 50%;
  left: 50%;
  width: 72%;
  height: clamp(0.22rem, 0.45vw, 0.52rem);
  background: currentColor;
  transform: translate(-50%, -50%) rotate(-45deg);
  transform-origin: center;
}

.amandla-episode-card__play--link:hover .amandla-episode-card__number,
.amandla-episode-card__play--link:focus-visible .amandla-episode-card__number {
  opacity: 0.14;
}

.amandla-episode-card__play--link:hover .amandla-episode-card__open-icon,
.amandla-episode-card__play--link:focus-visible .amandla-episode-card__open-icon {
  opacity: 1;
}

.amandla-episode-card__audio {
  display: none;
}

.amandla-episode-card__description {
  min-width: 0;
  grid-area: description;
  align-self: start;
}

.amandla-episode-card__artwork {
  min-width: 0;
  overflow: hidden;
  grid-area: artwork;
  align-self: stretch;
}

.amandla-episode-card__artwork img {
  height: 100%;
}

/*
 * On multi-column archive/home cards, let the artwork fill the full height
 * of the text column. The image is cropped with object-fit: cover so longer
 * excerpts do not leave the thumbnail floating at the top of the card.
 * Mobile restores the image's natural aspect ratio in amandla-responsive.css.
 */
.amandla-episode-card--archive .amandla-episode-card__artwork {
  width: 100%;
  aspect-ratio: auto;
  align-self: stretch;
}
.amandla-episode-card__artwork--has-image {
  position: relative;
}

.amandla-episode-card__artwork-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.amandla-episode-card__artwork-link {
  position: absolute;
  inset: 0;
  display: block;
  color: inherit;
}

.amandla-episode-card__artwork-link:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: -5px;
}

.amandla-episode-card--archive .amandla-episode-card__layout {
  min-height: 50vh;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
  grid-template-areas: "description artwork";
}

/* Interview archive only: compact thumbnail column with a subtle 5px edge crop. */
.amandla-episode-card--archive.amandla-interview-archive-card .amandla-episode-card__layout {
  min-height: 0;
  grid-template-columns: minmax(0, 5fr) minmax(0, 1fr);
}

.amandla-interview-archive-card .amandla-episode-card__artwork {
  position: static;
  align-self: start;
  overflow: hidden;
}

.amandla-interview-archive-card .amandla-episode-card__artwork-link {
  position: static;
  display: block;
  overflow: hidden;
}

.amandla-interview-archive-card .amandla-episode-card__artwork-image {
  position: static;
  inset: auto;
  display: block;
  width: calc(100% + 10px);
  max-width: none;
  height: auto;
  margin: -5px;
  object-fit: contain;
}

.amandla-episode-card--archive .amandla-episode-card__description {
  display: flex;
  min-width: 0;
  align-self: stretch;
  flex-direction: column;
}

.amandla-episode-card--archive .amandla-episode-card__summary {
  width: 100%;
  max-width: none;
}

.amandla-episode-card__entry-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 1.35rem;
  padding: 0.65rem 0.85rem;
  align-items: center;
  justify-content: center;
  color: var(--amandla-episode-foreground);
  background: transparent;
  border: 1px solid currentColor;
  font-family: var(--amandla-font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.045em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.amandla-episode-card__entry-link:hover,
.amandla-episode-card__entry-link:focus-visible {
  color: var(--amandla-episode-background);
  background: var(--amandla-episode-foreground);
}

.amandla-episode-card__date {
  display: none !important;
  width: 100%;
  margin-bottom: clamp(1.5rem, 4vw, 4rem);
  padding-left: clamp(0rem, 3vw, 3.5rem);
  font-family: var(--amandla-font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.amandla-episode-card__title {
  margin: 0;
  font-family: var(--amandla-font-display);
  font-size: clamp(3.1rem, 2.6vw, 2.8rem);
  font-weight: 300;
  letter-spacing: 0.005em;
  line-height: 1.05;
  text-transform: none;
}

.amandla-episode-card__title-link {
  text-decoration: none;
}

.amandla-episode-card__title-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.amandla-episode-card__title-prefix {
  white-space: nowrap;
}

.amandla-episode-card__subtitle {
  margin-top: 0.6rem;
  font-style: italic;
}

.amandla-episode-card__airing-message {
  margin-top: 0.9rem;
  font-family: var(--amandla-font-display);
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  font-weight: 400;
  line-height: 1.15;
}

.amandla-episode-card__summary {
  margin-top: 0.9rem;
  font-size: clamp(0.95rem, 1.08vw, 1.1rem);
  line-height: 1.28;
  white-space: pre-line;
}


.amandla-episode-card__participants {
  min-width: 0;
  grid-area: participants;
  align-self: start;
  text-align: right;
  font-size: clamp(0.95rem, 1.08vw, 1.1rem);
  line-height: 1.28;
}

.amandla-episode-card__participants-label {
  display: inline;
  font-family: var(--amandla-font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.amandla-episode-card__participants-list {
  display: inline;
}

.amandla-episode-card__participant,
.amandla-episode-card__details-link {
  text-decoration-thickness: 0.07em;
  text-underline-offset: 0.14em;
}

.amandla-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 2rem;
  background: var(--amandla-border);
  border: 1px solid var(--amandla-border);
}

.amandla-support-grid__item {
  padding: clamp(1.5rem, 4vw, 3rem);
  background: rgba(255, 255, 255, 0.32);
}

.amandla-support-grid__title {
  margin: 0 0 1rem;
  font-family: var(--amandla-font-display);
  font-size: 1.5rem;
}

.amandla-link-list {
  display: flex;
  margin-top: 2rem;
  padding-bottom: clamp(4rem, 9vw, 9rem);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.amandla-episode-archive,
.amandla-taxonomy-view {
  width: 100%;
  max-width: none;
  padding-top: 3rem;
  padding-bottom: 0;
}

.amandla-episode-archive {
  padding-top: 0;
}

.amandla-episode-archive__masthead,
.amandla-taxonomy-view__masthead,
.amandla-filter,
.amandla-pagination,
.amandla-empty-state,
.amandla-taxonomy-view > .amandla-empty-state__message {
  width: min(100% - 2rem, var(--amandla-content-width));
  margin-right: auto;
  margin-left: auto;
}

.amandla-episode-archive__masthead,
.amandla-taxonomy-view__masthead {
  margin-bottom: clamp(2.5rem, 3vw, 5rem);
}

/*
 * Episode and Interview archive mastheads use the Amandla liberation green.
 * The masthead remains full-bleed while its content aligns with the normal
 * site content width.
 */
.amandla-episode-archive__masthead {
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
  padding: 3rem 1rem 4rem;
  color: var(--amandla-dark);
  background: #ffffff;
}
.amandla-interview-archive .amandla-episode-archive__masthead{
  padding: 3rem 1rem 1rem;
}

/* Episodes flow directly from the green archive masthead into the first card. */
.amandla-episode-archive:not(.amandla-interview-archive) .amandla-episode-archive__masthead {
  margin-bottom: 0;
}

.amandla-interview-archive .amandla-episode-archive__masthead {
  margin-bottom: 1rem;
}

.amandla-episode-archive__eyebrow {
  margin-bottom: 1rem;
  font-family: var(--amandla-font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.amandla-episode-archive__intro,
.amandla-taxonomy-view__description {
  margin-top: 1.5rem;
}

.amandla-taxonomy-view__back {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.amandla-filter {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 3rem;
  padding: var(--amandla-gutter);
  gap: var(--amandla-gutter);
  /* background: rgba(255, 255, 255, 0.3); */
  border: 1px solid #000;
}

.amandla-filter__field {
  display: grid;
  min-width: 0;
  gap: 0.4rem;
}

.amandla-filter__field--search {
  grid-column: span 2;
}

.amandla-filter__label {
  font-family: var(--amandla-font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.amandla-filter__input,
.amandla-filter__select,
.amandla-audio__speed-select {
  width: 100%;
  min-height: 44px;
  padding: 0.55rem 0.65rem;
  color: var(--amandla-text);
  background: #fff;
  border: 1px solid var(--amandla-border);
  border-radius: 0;
  font: inherit;
}

.amandla-filter__actions {
  display: flex;
  grid-column: 1 / -1;
  gap: 0.75rem;
}

.amandla-pagination {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.amandla-pagination__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.amandla-pagination .page-numbers {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  padding: 0.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--amandla-border);
  text-decoration: none;
}

.amandla-pagination .page-numbers.current {
  color: var(--amandla-background);
  background: var(--amandla-text);
}

.amandla-empty-state {
  padding: 0;
  padding: 2rem;
  border: 1px solid var(--amandla-border);
}

.amandla-empty-state__title {
  margin: 0 0 0.5rem;
  font-family: var(--amandla-font-display);
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.amandla-interview-results-count {
  width: min(100% - 2rem, var(--amandla-content-width));
  margin: -1.5rem auto 1.5rem;
  font-family: var(--amandla-font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.amandla-interview-grid {
  width: 100%;
  margin: 0;
}

.amandla-home-section--interviews {
  width: 100%;
  max-width: none;
}

.amandla-home-interviews__pagination {
  margin-top: 2rem;
}

.amandla-interview-person-card {
  min-width: 0;
}

.amandla-trailers {
  width: 100%;
  max-width: none;
  padding: 0 1rem 4rem;
}

.amandla-trailer-list,
.amandla-trailers__empty {
  width: min(100% - 2rem, var(--amandla-content-width));
  margin-right: auto;
  margin-left: auto;
}

/* Match the Episodes / Interviews archive masthead sizing and placement. */
.amandla-trailers__masthead {
  width: calc(100% + 2rem);
  max-width: none;
  margin: 0 -1rem 0;
  padding: 3rem 1rem;
}

.amandla-trailers__title {
  max-width: 100%;
}


/* About uses the same full-width masthead system while its article stays centered. */
.amandla-page-view--about {
  padding-top: 0;
}

.amandla-page-view--about .amandla-page-view__masthead {
  margin-bottom: 0;
}

.amandla-page-view--about .amandla-page-view__title {
  max-width: 16ch;
  margin: 0;
}

.amandla-page-view--about .amandla-page-view__article {
  padding-top: 0;
}

.amandla-trailers__intro {
  margin-top: 1.5rem;
}

.amandla-trailer-list {
  border-top: 1px solid var(--amandla-border);
}

.amandla-trailer-card {
  display: grid;
  padding: clamp(1.25rem, 3vw, 2.5rem) 0;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  border-bottom: 1px solid var(--amandla-border);
}

.amandla-trailer-card--no-artwork {
  grid-template-columns: 1fr;
}

.amandla-trailer-card__artwork {
  align-self: start;
  overflow: hidden;
  background: var(--amandla-green);
  aspect-ratio: 1 / 1;
}

.amandla-trailer-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.amandla-trailer-card__content {
  min-width: 0;
}

.amandla-trailer-card__title {
  margin: 0;
  font-family: var(--amandla-font-display);
  font-size: clamp(2.4rem, 6vw, 5.6rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.86;
}

.amandla-trailer-card__description,
.amandla-trailer-card__player,
.amandla-trailer-card__media-empty {
  margin-top: 1.5rem;
}

.amandla-trailer-card__media-empty {
  padding: 1rem;
  border: 1px solid var(--amandla-border);
}

.amandla-youtube,
.amandla-video-file {
  position: relative;
  overflow: hidden;
  background: #000000;
  aspect-ratio: 16 / 9;
}

.amandla-youtube__button {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: #000000;
  border: 0;
  cursor: pointer;
}

.amandla-youtube__thumbnail,
.amandla-youtube iframe,
.amandla-video-file__element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.amandla-youtube__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 82px;
  height: 82px;
  transform: translate(-50%, -50%);
  background: #ffffff;
  border-radius: 50%;
}

.amandla-youtube__play::after {
  position: absolute;
  top: 50%;
  left: 54%;
  width: 0;
  height: 0;
  content: "";
  transform: translate(-50%, -50%);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 22px solid #200000;
}

.amandla-audio {
  padding: clamp(1rem, 3vw, 1.5rem);
  color: var(--amandla-text);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--amandla-border);
}

.amandla-audio__title {
  margin-bottom: 0.75rem;
  font-family: var(--amandla-font-display);
  font-weight: 700;
}

.amandla-audio__element {
  display: block;
  width: 100%;
}

.amandla-audio__tools {
  display: flex;
  margin-top: 1rem;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.amandla-audio__speed-field {
  display: grid;
  gap: 0.35rem;
}

.amandla-audio__speed-label {
  font-family: var(--amandla-font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.amandla-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--amandla-border);
}

/* Homepage background audio */
.amandla-home-hero--has-audio .amandla-home-hero__content {
  padding-bottom: calc(clamp(3rem, 8vw, 8rem) + 2.75rem);
}

.amandla-ambient-audio {
  position: absolute;
  z-index: 3;
  right: var(--amandla-gutter);
  bottom: var(--amandla-gutter);
  width: auto;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.amandla-ambient-audio__element {
  display: none;
}

.amandla-ambient-audio__credit {
  max-width: min(320px, 34vw);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.7rem;
  line-height: 1.25;
  color: var(--amandla-yellow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(2px);
  transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
  pointer-events: none;
}

.amandla-ambient-audio:hover .amandla-ambient-audio__credit,
.amandla-ambient-audio:focus-within .amandla-ambient-audio__credit {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.amandla-ambient-audio__controls {
  display: inline-flex;
  min-height: 36px;
  padding: 0.2rem 0.35rem;
  align-items: center;
  gap: 0.2rem;
  color: var(--amandla-yellow);
  /* background: var(--amandla-green);
  border: 1px solid var(--amandla-yellow); */
  border-radius: 0;
  box-shadow: none;
}

.amandla-ambient-audio__button {
  display: inline-flex;
  width: 30px;
  height: 30px;
  padding: 0;
  flex: 0 0 30px;
  align-items: center;
  justify-content: center;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 0;
  font: inherit;
  cursor: pointer;
}

.amandla-ambient-audio__button:hover {
  color: var(--amandla-green);
  background: var(--amandla-yellow);
}

.amandla-ambient-audio__button:focus-visible,
.amandla-ambient-audio__volume:focus-visible {
  outline: 2px solid var(--amandla-yellow);
  outline-offset: 2px;
}

.amandla-ambient-audio__play-icon {
  position: relative;
  display: block;
  width: 12px;
  height: 14px;
}

.amandla-ambient-audio__play-icon::before {
  position: absolute;
  top: 1px;
  left: 2px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid currentColor;
  content: "";
}

.amandla-ambient-audio.is-playing .amandla-ambient-audio__play-icon::before,
.amandla-ambient-audio.is-playing .amandla-ambient-audio__play-icon::after {
  position: absolute;
  top: 1px;
  width: 3px;
  height: 12px;
  background: currentColor;
  border: 0;
  content: "";
}

.amandla-ambient-audio.is-playing .amandla-ambient-audio__play-icon::before {
  left: 2px;
}

.amandla-ambient-audio.is-playing .amandla-ambient-audio__play-icon::after {
  right: 2px;
}

.amandla-ambient-audio__volume-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  overflow: visible;
}

.amandla-ambient-audio__volume-wave,
.amandla-ambient-audio__volume-slash {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.amandla-ambient-audio__volume-slash {
  display: none;
}

.amandla-ambient-audio.is-muted .amandla-ambient-audio__volume-wave {
  display: none;
}

.amandla-ambient-audio.is-muted .amandla-ambient-audio__volume-slash {
  display: block;
}

.amandla-ambient-audio__volume-field {
  display: inline-flex;
  width: 64px;
  align-items: center;
}

.amandla-ambient-audio__volume {
  --amandla-ambient-volume: 65%;
  width: 64px;
  height: 18px;
  margin: 0;
  padding: 0;
  appearance: none;
  color: var(--amandla-yellow);
  background: transparent;
  cursor: pointer;
}

.amandla-ambient-audio__volume::-webkit-slider-runnable-track {
  height: 2px;
  background: linear-gradient(
    to right,
    currentColor 0,
    currentColor var(--amandla-ambient-volume),
    rgba(255, 217, 0, 0.4) var(--amandla-ambient-volume),
    rgba(255, 217, 0, 0.4) 100%
  );
}

.amandla-ambient-audio__volume::-webkit-slider-thumb {
  width: 8px;
  height: 8px;
  margin-top: -3px;
  appearance: none;
  background: currentColor;
  border: 0;
  border-radius: 50%;
}

.amandla-ambient-audio__volume::-moz-range-track {
  height: 2px;
  background: rgba(255, 217, 0, 0.4);
  border: 0;
}

.amandla-ambient-audio__volume::-moz-range-progress {
  height: 2px;
  background: currentColor;
}

.amandla-ambient-audio__volume::-moz-range-thumb {
  width: 8px;
  height: 8px;
  background: currentColor;
  border: 0;
  border-radius: 50%;
}

@media (max-width: 760px) {
  .amandla-home-hero--has-audio .amandla-home-hero__content {
    padding-bottom: calc(clamp(3rem, 8vw, 8rem) + 2.4rem);
  }

  .amandla-home-hero--has-audio-credit .amandla-home-hero__content {
    padding-bottom: calc(clamp(3rem, 8vw, 8rem) + 4.2rem);
  }

  .amandla-ambient-audio {
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .amandla-ambient-audio__credit {
    max-width: none;
    padding: 0.25rem 0.5rem 0;
    font-size: 0.68rem;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .amandla-ambient-audio__controls {
    display: flex;
    width: 100%;
    min-height: 32px;
    padding: 0.1rem 0.5rem;
    gap: 0.1rem;
  }

  .amandla-ambient-audio__button {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .amandla-ambient-audio__volume-field {
    width: auto;
    flex: 1 1 auto;
  }

  .amandla-ambient-audio__volume {
    width: 100%;
  }
  .amandla-trailers__masthead{
    padding: 1rem 1rem 2rem;
  }
  .amandla-trailer-list{
    padding: 0;
    margin: 0;
    width: 100%;
  }
  .amandla-episode-archive__masthead{
    padding: 1rem 0.65rem 1.5rem;
  }
  .amandla-interview-archive .amandla-episode-archive__masthead{
    padding: 1rem 0.65rem 0rem;
  }
}

.amandla-trailers .amandla-prose{
  max-width: 100%;
}
.amandla-trailers .amandla-prose p{
  max-width: var(--amandla-prose-width);
}
.amandla-trailers .amandla-prose iframe{
  max-width: 100%;
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
}

/*
Media Player
*/
.amandla-site .mejs-container {
	margin-bottom: 20px;
}
.amandla-site .mejs-container, .amandla-site .mejs-container .mejs-controls, .amandla-site .mejs-embed, .amandla-site .mejs-embed body {
	background: transparent !important;
}
.amandla-site .mejs-button > button {
	background: transparent url(https://ckut.ca/archive-player/mejs-controls.svg) !important;
}
.amandla-site .mejs-container .mejs-controls {
	border: 1px solid;
}
.amandla-site .mejs-controls .mejs-time-rail .mejs-time-current {
	background:#fff !important;
}
.amandla-site .mejs-time {
	color: #000 !important;
}
.amandla-site .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-total, .amandla-site .mejs-controls .mejs-time-rail .mejs-time-total {
	background:rgba(0, 0, 0, 0.33) !important;
}
.amandla-site .mejs-controls .mejs-horizontal-volume-slider .mejs-horizontal-volume-current, .amandla-site .mejs-controls .mejs-time-rail .mejs-time-loaded {
	background: #000 !important;
}
.amandla-site .mejs-mute > button {
	background-position: -60px 0 !important;
}

.amandla-plugin-landing .thermometer-wrapper,
.amandla-plugin-trailers .thermometer-wrapper,
.amandla-plugin-about .thermometer-wrapper
{
  top: unset !important;
  bottom: 53px !important;
}
.amandla-site + hr{
  margin: 0;
  border: 0;
}

/* Shared Amandla project footer and CKUT credit. */
.amandla-home-credit {
  width: 100%;
  margin: 0;
  padding: 0.75rem 1rem;
  background: var(--amandla-white);
}

.amandla-home-credit__inner {
  display: flex;
  width: 100%;
  max-width: none;
  margin: 0;
  align-items: center;
  gap: 0.75rem;
}

.amandla-home-credit__logo-link {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
}

.amandla-home-credit__logo-link:hover,
.amandla-home-credit__logo-link:focus-visible {
  opacity: 0.85;
}

.amandla-home-credit__logo {
  display: block;
  width: auto;
  max-width: 120px;
  height: auto;
  max-height: 64px;
  flex: 0 0 auto;
  object-fit: contain;
}

.amandla-home-credit__text {
  min-width: 0;
  flex: 1 1 auto;
  color: var(--amandla-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.35;
}


.amandla-project-footer {
  width: 100%;
  margin: 0;
}

.amandla-project-socials {
  width: 100%;
  margin: 0;
  padding: 0.65rem 1rem;
  color: var(--amandla-dark);
  background: #ffcc00;
  border-top: 1px solid #000000;
  border-bottom: 1px solid #000000;
  font-family: var(--amandla-font-body);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.2;
}

.amandla-project-socials__inner {
  display: flex;
  width: 100%;
  max-width: none;
  margin: 0;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.amandla-project-socials__title {
  flex: 0 0 auto;
  color: var(--amandla-dark);
  font: inherit;
  white-space: nowrap;
}

.amandla-project-socials__links {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 0.45rem 1rem;
}

.amandla-project-socials__link {
  color: var(--amandla-dark);
  text-decoration: none;
  white-space: nowrap;
}

.amandla-project-socials__link:hover,
.amandla-project-socials__link:focus-visible {
  color: var(--amandla-dark);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.amandla-project-socials__link:focus-visible {
  outline: 2px solid var(--amandla-dark);
  outline-offset: 2px;
}

.amandla-project-credit {
  border: 0;
}

@media (max-width: 760px) {
  .amandla-project-socials {
    padding: 0.6rem 0.75rem;
    font-size: 0.8rem;
  }

  .amandla-project-socials__inner {
    justify-content: space-between;
    gap: 0.75rem;
  }

  .amandla-project-socials__links {
    justify-content: flex-end;
    gap: 0.35rem 0.75rem;
  }
}

