.view-content:has(.podcast-card) {
  display: flex;
  flex-wrap: wrap;
  gap: 5rem;
  justify-content: center;
  padding-bottom: 50px;
  max-width: 75%;
  margin-left: auto;
  margin-right: auto;
}

.podcast-card {
  background-color: #002233;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 400px;
  min-height: 550px;
  border: 3px solid #DEDC01;
  transition: box-shadow 0.3s ease;
}

.podcast-card:hover {
  box-shadow: 0 10px 15px -3px rgba(222, 220, 1, 0.6), 0 4px 6px -2px rgba(222, 220, 1, 0.6);
}

.podcast-card .klaro.cm-as-context-notice .context-notice {
  display: block;
  padding: 0 10px 10px 10px;
  background: transparent;
  border: none;
  max-height: 200px;
}

.podcast-card .klaro.cm-as-context-notice .context-notice p {
  font-size: 18px;
  max-width: 100%;
}

.podcast-card .klaro.cm-as-context-notice .context-notice .cm-buttons {
  display: block;
}

.podcast-card .klaro.cm-as-context-notice .context-notice .cm-buttons .cm-btn {
  margin-right: 0 !important;
  min-width: 200px !important;
}

.podcast-card .klaro.cm-as-context-notice .context-notice .cm-buttons .cm-btn:last-child {
  margin-top: 10px !important;
}

.podcast-image {
  position: relative;
  width: 200px;
  height: 200px;
  padding-top: 0 !important;
  margin: 5vh auto 2vh auto;
  border-radius: 50%;
  overflow: hidden;
}

.podcast-image img {
  position: absolute;
  padding: 0 !important;
  margin: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background: #002233;
}

.podcast-video {
  margin-top: 25px;
  padding-inline: 5%;
}

.podcast-content {
  padding: 2rem;
  padding-top: 0;
  flex-grow: 1;
}

.podcast-content h3 span {
  font-size: 2.5rem;
  text-align: center;
  font-weight: 700;
  color: white;
  display: -webkit-box;
  -webkit-line-clamp: unset;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.podcast-content span {
  display: -webkit-box;
  -webkit-line-clamp: unset;
  -webkit-box-orient: vertical;
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #9DA3AF;
}

.podcast-content .text-sm {
  color: #4b5563;
  font-size: 1.25rem;
  display: flex;
  overflow: hidden;
}

.podcast-player-section {
  padding: 3rem;
  background-color: #002233;
  margin-top: auto;
}

.custom-controls>div {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn-seek-back,
.btn-seek-forward {
  color: #DEDC01;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-seek-back:hover,
.btn-seek-forward:hover {
  color: #fff;
}

.btn-seek-back svg,
.btn-seek-forward svg {
  width: 3rem;
  height: 3rem;
}

.btn-seek-back svg:hover,
.btn-seek-forward svg:hover {
  fill: currentColor;
}

.btn-play-pause {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background-color: #DEDC01;
  color: #ffffff;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.btn-play-pause:hover {
  background-color: #003a63;
}

.btn-play-pause svg {
  width: 5rem;
  height: 5rem;
  color: #002233;
}

.btn-play-pause:hover {
  background: #ffffff;
}

.time-display {
  display: flex;
  justify-content: flex-end;
  padding-top: 7.5px;
  font-size: 1.25rem;
  color: #9ca3af;
  font-family: roboto, sans-serif;
  font-weight: bold;
  letter-spacing: 0.015em;
}

.hidden {
  display: none !important;
}

.podcast-progress {
  width: 100%;
  margin-top: 2.25rem;
}

.audio-progress {
  display: block;
  width: 100%;
  height: 6px;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 999px;
  background: #dbe3ea;
  cursor: pointer;
  outline: none;
}

/* Fortschrittsregler für Chrome, Edge und Safari */
.audio-progress::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #DEDC01;
  border: 2px solid #DEDC01;
  box-shadow: 0 0 0 1px #DEDC01;
}

/* Fortschrittsregler für Firefox */
.audio-progress::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #DEDC01;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #DEDC01;
}

.video-btn-podcast {
  width: 100%;
  display: block;
  text-align: center;
  padding: 1.25rem 1rem;
  background-color: #003a63;
  color: #ffffff;
  border-style: none;
}

.video-btn-podcast:hover {
  background-color: #001F3D;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
}

.paragraph--type--podcast .paragraph--podcast--link-icon,
.node--type-podcast-archiv-eintrag .paragraph--podcast--link-icon,
.podcast-card .paragraph--podcast--link-icon {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  vertical-align: middle;
  margin-right: 5px;
}

.paragraph--podcast--link-icon.spotify {
  background-image: url('../images/podcast/spotify.svg');
}

.paragraph--podcast--link-icon.apple-podcast {
  background-image: url('../images/podcast/apple-podcast.svg');
}

.paragraph--podcast--link-icon.google-podcast {
  background-image: url('../images/podcast/google-podcast.svg');
}

.paragraph--podcast--platforms,
.paragraph--podcast--transcript-link {
  margin-left: auto;
  margin-right: auto;
}

.paragraph--podcast--transcript-link {
  margin-bottom: 1vh;
}

.podcast-kategorie {
  font-size: 1.75rem !important;
}

.podcast-description-wrapper button {
  width: 100%;
  background: none;
  border: none;
  margin-left: auto;
  margin-right: auto;
  padding-top: 4vh;
  padding-bottom: 2vh;
  display: block !important;
  font-size: 1.5rem !important;
  color: #dedc01 !important;
}

.podcast-description-content {
  display: block !important;
}

.podcast-description-content p {
  color: white;
  text-align: block;
  margin-bottom: 2vh !important;
  font-size: 2rem;
  padding-inline: 10px;
}

@media only screen and (max-width: 768px) {
  .podcast-card {
    width: 325px;
  }
}


@media only screen and (min-width: 769px) and (max-width: 1240px) {
  .podcast-card {
    width: 650px;
  }
}