@charset "UTF-8";
/*------------------------------------------------------------------
[Convention Schedule & Program Planner – WordPress Event Management Plugin Main Deail Page Stylesheet]

Project:        Convention Schedule & Program Planner – WordPress Event Management
Version:        1.7.0
Author:         LitteraNovix
Primary use:    Event Management & Display

Table of Contents:

1. SINGLE EVENT PAGE STYLES (Detail View)
2. RESPONSIVE / MOBILE STYLES (Tablet & Handy)
3. ULTRA-COMPACT (Deine Idee - für sehr schmale Screens < 400px)
-------------------------------------------------------------------*/



/* ==========================================================================
   1. SINGLE EVENT PAGE STYLES (Detail View)
   ========================================================================== */

html body .ec-event-calendar-app .ec-single-container {
  display: block;
  max-width: 1200px;
  width: 95%;
  margin: 40px auto;
  padding: 0 15px;
  box-sizing: border-box;
  font-family: inherit;
}

/* Abstand nach oben, wenn kein Hero-Bild vorhanden ist */
html body .ec-event-calendar-app .ec-single-container.no-hero-image {
    margin-top: 70px;
}

html body .ec-event-calendar-app .ec-single-header {
  position: relative;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  background: #333;
  margin-bottom: -30px;
  z-index: 1;
}
html body .ec-event-calendar-app .ec-hero-image {
  height: 350px;
  background-size: cover;
  background-position: center;
  opacity: 0.7;
  background-image: var(--ec-hero-url);
}
html body .ec-event-calendar-app .ec-header-content-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
  color: #fff;
  box-sizing: border-box;
}
html body .ec-event-calendar-app .ec-single-title {
  margin: 10px 0 20px 0;
  font-size: 2.2rem;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}
html body .ec-event-calendar-app .ec-single-cat-badge {
  background: var(--ec-primary);
  color: #fff;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: bold;
}
html body .ec-event-calendar-app .ec-single-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 2;
  overflow: hidden;
}
html body .ec-event-calendar-app .ec-single-meta-bar {
  background-color: rgba(var(--ec-s-bg-rgb), 0.15);
  padding: 25px;
  display: flex;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid rgba(var(--ec-s-bg-rgb), 0.2);
}
html body .ec-event-calendar-app .ec-meta-box.date-box {
  background: #fff;
  padding: 10px 0;
  width: 90px;
  text-align: center;
  border-radius: 6px;
  border: 2px solid var(--ec-s-accent);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  background-color: rgba(255, 255, 255, 0.8);
}
html body .ec-event-calendar-app .ec-mb-day {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #333;
}
html body .ec-event-calendar-app .ec-mb-date {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--ec-s-accent);
}
html body .ec-event-calendar-app .ec-mb-month {
  display: block;
  font-size: 0.8rem;
  color: #333;
}
html body .ec-event-calendar-app .ec-meta-details {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 30px;
  width: 100%;
}
html body .ec-event-calendar-app .ec-meta-left {
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1 1 45%;
  min-width: 280px;
}
html body .ec-event-calendar-app .ec-meta-right {
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1 1 45%;
  min-width: 280px;
  padding-left: 0;
}
html body .ec-event-calendar-app .ec-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0;
}
html body .ec-event-calendar-app .ec-detail-row .ec-svg {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  background-color: var(--ec-s-accent);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
html body .ec-event-calendar-app .ec-role-link {
  color: var(--ec-s-accent);
  text-decoration: none;
  border-bottom: none;
  transition: filter 0.2s ease-in-out;
}
html body .ec-event-calendar-app .ec-role-link:hover {
  color: var(--ec-s-accent);
  filter: brightness(0.8);
  text-decoration: none;
}

html body .ec-event-calendar-app .ec-single-actions-bar {
  padding: 15px 25px;
  background-color: var(--ec-bg-light);
  border-bottom: 1px solid #eee;
  display: flex;
  gap: 15px;
}
html body .ec-event-calendar-app .ec-single-actions-bar button,
html body .ec-event-calendar-app .ec-single-actions-bar a.ec-ticket-btn-single {
  background: #fff;
  border: 2px solid var(--ec-primary);
  color: var(--ec-primary);
  padding: 8px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.2s ease-in-out;
  display: inline-flex; /* Wichtig für Links */
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  min-width: 160px;
  justify-content: center;
  text-decoration: none; /* Unterstreichung weg */
  font-size: 1rem;
}


html body .ec-event-calendar-app .ec-single-actions-bar button:hover,
html body .ec-event-calendar-app .ec-single-actions-bar a:hover,
html body .ec-event-calendar-app .ec-single-actions-bar .ec-fav-btn-single:hover,
html body .ec-event-calendar-app .ec-single-actions-bar .ec-ical-btn-single:hover {
  background-color: var(--ec-primary); /* Nimmt deine eingestellte Farbe */
  border-color: var(--ec-primary);
  color: #fff;
  opacity: 1;
  transform: translateY(-2px); /* Kleiner netter Effekt */
}

html body .ec-event-calendar-app .ec-single-actions-bar .ec-fav-btn-single.active .ec-mask-icon {
  background-color: var(--ec-primary);
}
html body .ec-event-calendar-app .ec-single-actions-bar .ec-fav-btn-single.active:hover .ec-mask-icon {
  background-color: #fff;
}

html body .ec-event-calendar-app .ec-single-description-content {
  padding: 40px 30px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}
html body .ec-event-calendar-app .ec-single-footer {
  margin-top: 30px;
  text-align: center;
  padding-bottom: 50px;
}
html body .ec-event-calendar-app .ec-back-btn {
  background-color: #fff;
  border: 2px solid var(--ec-primary);
  color: var(--ec-primary);
  padding: 8px 25px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  display: inline-block; /* Sicherstellen, dass Padding greift */
}
html body .ec-event-calendar-app .ec-back-btn:hover, .ec-event-calendar-app .ec-back-btn:focus, .ec-event-calendar-app .ec-back-btn:active {
  background-color: var(--ec-primary);
  color: #fff;
  border-color: var(--ec-primary);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
html body .ec-event-calendar-app .ec-single-actions-bar {
  display: flex;
  gap: 15px;
  padding: 15px 25px;
}
/* Versteckt die mobilen Status-Elemente in der Desktop-Ansicht */
html body .ec-event-calendar-app .ec-mobile-status-inline,
html body .ec-event-calendar-app .ec-meta-time-live {
  display: none;
}


/* ==========================================================================
   2. RESPONSIVE / MOBILE STYLES (Tablet & Handy)
   ========================================================================== */

@media screen and (max-width: 768px) {
	

  html body .ec-event-calendar-app .ec-single-title {
    font-size: 1.4rem; /* Kleiner als Desktop (meist 2.5rem) */
    line-height: 1.2;
    word-wrap: break-word; /* Erzwingt Umbruch bei langen WÃƒÆ’Ã‚Â¶rtern */
    hyphens: auto; /* Automatische Silbentrennung */
  }
  
  /* Hilfsklasse für Shortcode-Abstände */
html body .ec-event-calendar-app .ec-single-title-margin {
    margin: 0 0 10px 0;
}
    
  html body .ec-event-calendar-app .ec-header-content-wrap {
    padding: 20px;
    bottom: 20px;
  }
    
  html body .ec-event-calendar-app .ec-single-cat-badge {
    font-size: 0.7rem;
    margin-bottom: 10px;
  }
  
  html body .ec-event-calendar-app .ec-hero-image {
    height: 200px;
  }
  html body .ec-event-calendar-app .ec-single-meta-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  html body .ec-event-calendar-app .ec-meta-box.date-box {
    display: flex;
    width: 100%;
    padding: 15px;
    gap: 10px;
    margin: 0 0 20px 0;
    justify-content: center;
    align-items: baseline;
    background-color: rgba(255, 255, 255, 0.8);
  }
  html body .ec-event-calendar-app .ec-mb-day, .ec-event-calendar-app .ec-mb-date, .ec-event-calendar-app .ec-mb-month {
    width: auto;
    margin: 0;
    display: inline-block;
  }
  html body .ec-event-calendar-app .ec-mb-date {
    font-size: 1.5rem;
  }
  html body .ec-event-calendar-app .ec-single-actions-bar {
    flex-direction: column;
  }
  html body .ec-event-calendar-app .ec-single-actions-bar button {
    width: 100%;
  }
  html body .ec-event-calendar-app .ec-meta-details {
    flex-direction: column;
    gap: 20px;
  }
  html body .ec-event-calendar-app .ec-back-btn {
    width: 100%;
    display: block;
    margin-bottom: 20px;
    text-align: center;
  }
  html body .ec-event-calendar-app .ec-single-footer {
    width: 100%;
    padding: 0;
  }
  
}

/* ==========================================================================
   3. ULTRA-COMPACT (Deine Idee - für sehr schmale Screens < 400px)
   ========================================================================== */

@media screen and (max-width: 400px) {
    
    /* Input darf schrumpfen (verhindert Überlauf) */
    html body .ec-event-calendar-app #ec-app #ec-search-input {
        min-width: 0 !important; 
    }

    /* Titel auf Single Page kleiner */
    html body .ec-event-calendar-app .ec-single-title {
        font-size: 1.2rem; 
    }
}