/* Zusätzliches CSS aus der WordPress-Seite (myevents24.com) */

.slider-layer-text {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 700;
  padding: 10px 20px;
  max-width: 90%;
  box-sizing: border-box;
}

@media screen and (max-width: 600px) {
  .slider-layer-text {
    font-size: 1.1rem;
    padding: 8px 8px;
  }
}

.main-content-container {
  border: 1px solid #cccccc;
  border-radius: 8px;
  padding: 20px;
  box-sizing: border-box;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.75);
}

.main-col-container {
  width: 50%;
  float: left;
  box-sizing: border-box;
  padding: 10px;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.me-main h1,
.me-main h2,
.me-main h3,
.me-main p {
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
  margin-bottom: 1em;
  line-height: 1.4;
  color: #222;
}

.me-main h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ff00ff;
  margin-top: 0;
}

.me-main h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ff00ff;
}

.me-main h3 {
  font-size: 1.4rem;
  font-weight: 500;
  color: #666;
}

.me-main p {
  font-size: 1rem;
  color: #333;
  max-width: 700px;
}

@media (max-width: 768px) {
  .main-col-container {
    width: 100% !important;
    float: none !important;
  }
}

/* Hero-Slider (Startseite) */

.me-hero-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 420;
  max-height: 420px;
  background: #111827;
  overflow: hidden;
}

.me-hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.me-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.me-hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.62) 0%,
    rgba(0, 0, 0, 0.42) 18%,
    rgba(0, 0, 0, 0.18) 32%,
    rgba(0, 0, 0, 0) 48%
  );
}

.me-hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.me-hero-slide .slider-layer-text {
  position: absolute;
  top: 10px;
  left: 14px;
  z-index: 2;
  margin: 0;
  padding: 0;
  max-width: calc(100% - 110px);
  text-shadow: none;
  line-height: 1.15;
}

.me-hero-controls {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  display: flex;
  gap: 4px;
}

.me-hero-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 4px;
  background: var(--me-accent, #ff00ff);
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.me-hero-btn:hover {
  filter: brightness(0.92);
}

@media (max-width: 600px) {
  .me-hero-slider {
    aspect-ratio: 16 / 10;
    max-height: 280px;
  }

  .me-hero-slide .slider-layer-text {
    top: 8px;
    left: 10px;
    max-width: calc(100% - 90px);
  }
}

