/*
Theme Name: GeneratePress Child
Template: generatepress
*/

/* ------------------------------------------------
   Resource grid – Desktop & Tablet
--------------------------------------------------*/
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 100%;
  margin: 3rem auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

/* -----------------------------------------------
   Mobile Anpassungen
-------------------------------------------------*/
@media (max-width: 768px) {
  .resource-grid {
    grid-template-columns: 1fr;
  }
  .site-main p {
    word-break: break-word;
  }
  .site-main h1 {
    font-size: 1.5rem;
  }
}

/* Kachel-Hover auf Startseite */
.hover-box {
  background: #111;
  padding: 1.5rem;
  border-radius: 12px;
  max-width: 420px;
  margin: 2rem auto;
  text-align: center;
  box-shadow: 0 0 10px #000;
  transition: 0.2s;
}
.hover-box:hover {
  background: #1c1c1c;
  box-shadow: 0 0 12px #66ccff;
}

/* Menü-Hover */
.main-navigation a:hover {
  color: #66ccff;
  text-shadow: 0 0 6px #66ccff;
  transition: 0.2s;
}

/* Breadcrumbs */
.jp343-breadcrumbs {
  display: flex;
  gap: 0.3rem;
  font-size: 0.9rem;
  line-height: 1.6;
  white-space: nowrap;
  overflow-x: auto;
}

/* ---------------- Ressourcenseiten ---------------- */
.resource-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

.text-center {
  text-align: center;
}
.resource-inner {
  max-width: 100%;
}

/* Meta-Zeile */
.resource-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin: 1.5rem 0;
  text-align: center;
}

/* Links */
.resource-links {
  text-align: center;
  margin-bottom: 1rem;
}

/* Medien */
.media-wrap {
  text-align: center;
  margin: 2rem 0;
}
.spotify-embed {
  width: 100%;
  max-width: 720px;
  height: 152px;
  border: 0;
  border-radius: 12px;
  margin: 0 auto;
  display: block;
}
.yt-embed {
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16/9;
  display: block;
  margin: 2rem auto;
}
.caption-txt {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 1rem;
}

/* Stats */
.resource-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
}
.like-button,
.reset-like {
  background: #121212;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
}
.reset-like {
  background: #333;
}
.like-button:hover,
.reset-like:hover {
  background: #222;
}

/* Links ohne Unterstreichung */
.no-underline {
  text-decoration: none !important;
  color: inherit;
}
.no-underline:hover {
  text-decoration: none !important;
}

/* Intro-Text */
.intro-text {
  color: #66ccff;
}

/* Bild in Hover-Kachel */
.hover-box img {
  display: block;
  margin: 0 auto 1rem;
  width: 64px;
  height: 64px;
}
.home-grid-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.home-grid-container .hover-box {
  flex: 1 1 280px;
  max-width: 340px;
}



.about-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #ddd;
}

.about-section a {
  color: #66ccff;
  text-decoration: none;
}

.about-section a:hover {
  text-decoration: underline;
}

.about-section .note {
  font-size: 0.95rem;
  color: #aaa;
  margin-top: -0.5rem;
}
a.ko-fi-link {
  color: #66ccff;
  text-decoration: none !important;
  transition: color 0.3s ease;
}

a.ko-fi-link:hover {
  color: #99ddff;
  text-decoration: none !important;
}

.media-toggle-buttons {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-left: auto;
}
.media-toggle-buttons a {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  background-color: #111;
  color: #fff;
  text-decoration: none;
  border: 1px solid #444;
  transition: all 0.2s ease-in-out;
  font-size: 0.9rem;
}
.media-toggle-buttons a img {
  height: 18px;
  margin-right: 0.4rem;
}
.media-toggle-buttons a.active {
  border-color: #66ff66;
  background-color: #1f3;
  color: #000;
  font-weight: bold;
}

a.active {
  border: 2px solid #66ff66;
  background-color: #1a3;
  color: #000;
  font-weight: bold;
}

.media-symbols {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: flex-end;
  margin: -1.5rem 0 1rem 0;
  padding: 0 2rem;
  flex-wrap: wrap;
}

.media-icon {
  border-radius: 6px;
  box-shadow: 0 0 6px rgba(0,0,0,0.3);
}

.media-icon:hover {
}


.media-icon-box:hover {
  background: #1c1c1c;
  box-shadow: 0 0 12px #66ccff;
}

.media-icon-box {
  background: #111;
  padding: 0.8rem;
  border-radius: 10px;
  box-shadow: 0 0 10px #000;
  width: 72px;
  height: 72px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.media-icon-text {
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: white;
  font-weight: bold;
  box-shadow: none; /* optional, je nach Effektwunsch */
  padding: 0.8rem; /* optional, falls noch Platz entsteht */
  text-align: center;
}


@media (max-width: 768px) {
  .media-symbols {
    justify-content: center;
    padding: 0 1rem;
  }
}

.media-icon-box {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.media-icon-box:hover,
.media-icon-box.active {
  transform: scale(1.05);
  box-shadow: 0 0 12px #66ccff; /* ← dein ursprüngliches Blau */
  background: #1c1c1c;
}
