/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */
.witz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin: 40px auto;
  max-width: 1140px;
  padding: 0 20px;
  box-sizing: border-box;
}

.witz-kachel {
  background-color: var(--ct-content-bg-color, #fff);
  border: 1px solid var(--ct-border-color, #ddd);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.witz-kachel:hover {
  border-color: #FFA500;
  box-shadow: 0 6px 12px rgba(0,0,0,0.08);
}

.witz-kachel a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.witz-icon {
  font-size: 2.5em;
  margin-bottom: 0.4em;
  display: block;
}

.witz-name {
  font-size: 1.2em;
  font-weight: 600;
  margin-bottom: 0.2em;
  color: var(--ct-heading-color, #222);
}

.witz-desc {
  font-size: 0.95em;
  color: var(--ct-meta-color, #666);
  margin-top: 0.4em;
}

.random-witz-box {
  background: #fff8e6;
  border: 2px solid #ffa500;
  border-radius: 10px;
  padding: 20px;
  margin: 30px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.random-witz-title {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 0.5em;
}

.random-witz-text {
  font-size: 1em;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1em;
}

.random-witz-link {
  display: inline-block;
  padding: 8px 12px;
  background: #ffa500;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.2s;
}

.random-witz-link:hover {
  background: #e68900;
}

