/* === TOUR de Crypto Custom Styles === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

body {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  color: #f0f0f0;
  background: linear-gradient(to bottom, #161922, #0a0c11 80%, #000000 100%);
  background-attachment: fixed;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Debug-Badges entfernen */
body::before,
#admin-bar-css-snippet,
.css-snippet-notice {
  display: none !important;
}

/* Headings */
h1, h2, h3 {
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: #f9d67a;
}

/* Sections / Layoutbereiche */
section {
  max-width: 1200px;
  margin: auto;
  padding: 100px 20px;
  box-sizing: border-box;
  text-align: center;
  background: radial-gradient(circle at center, rgba(30, 30, 30, 0.7) 0%, rgba(10, 10, 10, 0.9) 100%);
  border-radius: 16px;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
}

/* Topbar Menü */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  padding: 16px 24px;
  color: #f9d67a;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  position: sticky;
  top: 0;
  z-index: 9999;
}

/* Menübutton */
.menu-toggle {
  background: transparent;
  border: 2px solid #f9d67a;
  color: #f9d67a;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(249, 214, 122, 0.3);
}

.menu-toggle:hover {
  background: #f9d67a;
  color: #111;
  box-shadow: 0 0 16px rgba(249, 214, 122, 0.6);
}

/* Karten-Layout */
.topic-cards,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1140px;
  margin: 40px auto 0;
  padding: 40px 20px;
}

@media (max-width: 900px) {
  .topic-cards,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .topic-cards,
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* Blog Card */
.blog-card,
.topic-card {
  background: linear-gradient(to bottom, #1c1f26, #111);
  border-radius: 14px;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.4);
  padding: 24px;
  color: #f9f9f9;
  display: flex;
  flex-direction: column;
  max-width: 360px;
  margin: 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover,
.topic-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.08);
}
.blog-card h3,
.topic-card h3 {
  font-size: 20px;
  color: #fff;
  margin-bottom: 8px;
}
.blog-card p,
.topic-card p {
  color: #ccc;
  font-size: 14px;
}
.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

/* Buttons */
a.button,
.cta-button,
.blog-btn {
  background-color: #f9d67a;
  color: #111;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
}
a.button:hover,
.cta-button:hover,
.blog-btn:hover {
  background-color: #ffe385;
  transform: scale(1.05);
}

/* Zurück nach oben Link */
#back-to-top-text {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  opacity: 0.6;
  transition: 0.3s ease;
  z-index: 9999;
}
#back-to-top-text:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Blog Cards Grid und Responsive */
.wp-block-post {
  background-color: #111;
  padding: 1rem;
  border-radius: 0.75rem;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
  transition: 0.2s ease;
}
.wp-block-post:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}
.wp-block-post-title {
  color: #fcd34d;
  font-size: 1.1rem;
  font-weight: 600;
}
.wp-block-post-title a {
  color: #fcd34d;
  text-decoration: none;
}
.wp-block-post-title a:hover {
  text-decoration: underline;
}
.wp-block-post-excerpt {
  font-size: 0.875rem;
  color: #ccc;
  margin-top: 0.5rem;
}
.wp-block-post-excerpt .wp-block-post-excerpt__more-link {
  background-color: #fcd34d;
  color: #000;
  padding: 0.35rem 0.75rem;
  border-radius: 0.3rem;
  font-weight: 500;
  text-decoration: none;
}
.wp-block-post-excerpt .wp-block-post-excerpt__more-link:hover {
  background-color: #ffe36f;
}

/* Mobil-Optimierung */
@media (max-width: 768px) {
  .wp-block-query .wp-block-post-template {
    grid-template-columns: 1fr !important;
  }
  .wp-block-post {
    padding: 0.75rem;
  }
  .wp-block-post-title {
    font-size: 1rem;
  }
  .wp-block-post-excerpt {
    font-size: 0.8rem;
  }
  .wp-block-post-excerpt .wp-block-post-excerpt__more-link {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }
}

/* Footer und unnötige Elemente ausblenden */
.site-info,
body > div:last-of-type {
  display: none !important;
}

/* === Gutenberg Editor Fix === */
.editor-styles-wrapper,
.block-editor-writing-flow,
.block-editor-block-list__layout {
  background-color: #ffffff !important;
  color: #000000 !important;
}

.editor-styles-wrapper p,
.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3,
.editor-styles-wrapper h4,
.editor-styles-wrapper h5,
.editor-styles-wrapper h6,
.block-editor-rich-text__editable,
.block-editor-rich-text__editable * {
  color: #000000 !important;
}

.editor-post-title__input {
  background-color: #ffffff !important;
  color: #000000 !important;
}

.wp-block-button__link {
  color: #ffffff !important;
  background-color: #000000 !important;
}

.block-editor-block-list__block {
  border: 1px dashed rgba(0, 0, 0, 0.1);
  padding: 10px;
  margin-bottom: 10px;
}

.block-editor-rich-text__editable::placeholder {
  color: rgba(0, 0, 0, 0.4) !important;
}


