/*
Theme Name: Twenty Twenty-Four Child
Theme URI: https://jahreskreis-kiel.de/
Description: Ein Child-Theme für Twenty Twenty-Four
Author: Jahreskreis Kiel & Umgebung
Author URI: https://jahreskreis-kiel.de/
Template: twentytwentyfour
Version: 1.0
*/



ul.wp-block-list {
  list-style: none;
  padding-left: 0;
  margin: 2em 0;
}

ul.wp-block-list li {
  position: relative;
  padding-left: 2em;
  margin-bottom: 1em;
  font-size: 1.2rem;
  font-family: 'Quicksand', sans-serif;
  line-height: 1.6;
}

ul.wp-block-list li::before {
  content: "✦";
  font-family: 'Segoe UI Symbol', 'Arial Unicode MS', 'Noto Sans Symbols', sans-serif;
  position: absolute;
  left: 0;
  top: 0.1em;
  color: #64831b;
  font-size: 1.1em;
}

/*Inhaltsverzeichnis*/

details.toc-block summary {
  cursor: pointer;
  font-size: 1.2rem;
  font-family: 'Quicksand', sans-serif;
  margin-bottom: 0.5em;
}

details.toc-block[open] summary::after {
  content: " ▲";
  font-size: 0.9em;
}

details.toc-block summary::after {
  content: " ▼";
  font-size: 0.9em;
}


/*Autorenbox*/

.autorenbox {
  border-left: 4px solid #64831b;
  padding: 1em 1.2em;
  background-color: #fdfbf5;
  font-family: 'Quicksand', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  margin-top: 2em;
  margin-bottom: 3em;
}

.autorenbox a {
  color: #64831b;
  text-decoration: underline;
}


/*Lesezeit*/
.lesezeit {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 1rem;
  font-style: italic;
}

/*Eichemann*/

.eichenmann {
	text-align:center;
}


/*Button*/

/* === Eleganter Button: global definiert === */
a.popup-button-elegant {
  display: inline-block !important;
  min-width: 8em !important;
  max-width: 16em !important;
  width: auto !important;
  font-family: var(--wp--preset--font-family--marcellus) !important;
  text-align: center !important;
  font-size: 1.2em !important;
  color: #485900 !important;
  text-decoration: none !important;
  position: relative !important;
  background-color: rgba(251, 250, 243, 0.8) !important;
  border: 1px solid #485900 !important;
  border-radius: 50px !important;
  padding: 0.5em 1.5em !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}


.popup-button-elegant::after {
  content: "";
  position: absolute;
  left: 10%;
  bottom: 0.7em;
  height: 1px;
  width: 80%;
  background-color: #485900;
  transform-origin: left;
  transform: scaleX(1);
  transition: transform 0.4s ease;
}

.popup-button-elegant:hover::after {
  transform: scaleX(0);
}


/*Button in gold*/

/* === Eleganter Button: global definiert === */
a.popup-button-gold {
  display: inline-block !important;
  min-width: 8em !important;
  max-width: 16em !important;
  width: auto !important;
  font-family: var(--wp--preset--font-family--marcellus) !important;
  text-align: center !important;
  font-size: 1.2em !important;
  color: #A67F2D !important;
  text-decoration: none !important;
  position: relative !important;
  background-color: rgba(251, 250, 243, 0.8) !important;
  border: 1px solid #A67F2D !important;
  border-radius: 50px !important;
  padding: 0.5em 1.5em !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}


.popup-button-gold::after {
  content: "";
  position: absolute;
  left: 10%;
  bottom: 0.7em;
  height: 1px;
  width: 80%;
  background-color: #A67F2D;
  transform-origin: left;
  transform: scaleX(1);
  transition: transform 0.4s ease;
}

.popup-button-gold:hover::after {
  transform: scaleX(0);
}

.center {
	text-align:center !important;
}


/* === Custom Audio Player (Tanja) === */
.audio-player {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 100%;
  flex-wrap: wrap;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  font-family: sans-serif;
}

.audio-player .play-btn {
  background-color: #64831b;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 24px;
  cursor: pointer;
  flex-shrink: 0;
}
.audio-player .play-btn:hover { background-color: #557115; }
.audio-player .play-btn:focus-visible {
  outline: 2px solid #64831b;
  outline-offset: 2px;
}

.audio-player .progress {
  flex-grow: 1;
  appearance: none;
  height: 8px;
  background: #ccc;
  border-radius: 5px;
  cursor: pointer;
}

/* Slider Daumen */
.audio-player .progress::-webkit-slider-thumb {
  appearance: none;
  width: 16px; height: 16px;
  background: #64831b;
  border-radius: 50%;
  border: none;
}
.audio-player .progress::-moz-range-thumb {
  width: 16px; height: 16px;
  background: #64831b;
  border-radius: 50%;
  border: none;
}

/* Slider Track (optional schöner) */
.audio-player .progress::-webkit-slider-runnable-track {
  height: 8px; border-radius: 5px; background: #ccc;
}
.audio-player .progress::-moz-range-track {
  height: 8px; border-radius: 5px; background: #ccc;
}

.audio-player .time {
  font-size: 1rem;
  min-width: 45px;
  text-align: center;
  color: #333;
  flex-shrink: 0;
}

@media (max-width: 500px) {
  .audio-player { flex-direction: column; align-items: stretch; }
  .audio-player .play-btn { align-self: center; }
  .audio-player .progress { width: 100%; margin: 0.5rem 0; }
  .audio-player .time { text-align: center; }
}
