/**
 * Event-Seiten Design-Templates
 * 10 individuelle Designs + Standard
 *
 * @package PR_Event_Calendar
 */

/* ═══════════════════════════════════════════════════
   Template 1: DARK ELEGANCE
   Dunkler Hintergrund, helle Akzente, elegant
   ═══════════════════════════════════════════════════ */
.prec-tpl-dark .prec-event-main { background: #1a1a2e; color: #e2e8f0; border-radius: 16px; padding: 24px; }
.prec-tpl-dark .prec-event-main h1, .prec-tpl-dark .prec-event-main h2, .prec-tpl-dark .prec-event-main h3 { color: #f1f5f9; }
.prec-tpl-dark .prec-event-main a { color: #60a5fa; }
.prec-tpl-dark .prec-sidebar-box { background: #16213e; border: 1px solid #334155; color: #cbd5e1; }
.prec-tpl-dark .prec-sidebar-box h4 { color: #e2e8f0; }
.prec-tpl-dark .prec-box-header { background: #1e293b !important; border-color: #334155 !important; }
.prec-tpl-dark .prec-event-hero { border-radius: 20px; overflow: hidden; }
.prec-tpl-dark .prec-box-content { color: #94a3b8; }

/* ═══════════════════════════════════════════════════
   Template 2: GLASSMORPHISM
   Frosted Glass Effekte, transparent, modern
   ═══════════════════════════════════════════════════ */
.prec-tpl-glass .prec-event-content-wrap { background: linear-gradient(135deg, #667eea22, #764ba222); padding: 20px; border-radius: 20px; }
.prec-tpl-glass .prec-sidebar-box { background: rgba(255,255,255,.7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,.4); box-shadow: 0 8px 32px rgba(0,0,0,.06); }
.prec-tpl-glass .prec-box-header { background: rgba(255,255,255,.5) !important; backdrop-filter: blur(8px); }
.prec-tpl-glass .prec-event-hero { border-radius: 24px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,.15); }

/* ═══════════════════════════════════════════════════
   Template 3: MINIMALIST
   Kein Schnickschnack, viel Weißraum, feine Linien
   ═══════════════════════════════════════════════════ */
.prec-tpl-minimal .prec-sidebar-box { background: transparent; border: none; border-bottom: 1px solid #e5e7eb; border-radius: 0; padding-bottom: 16px; margin-bottom: 16px; box-shadow: none; }
.prec-tpl-minimal .prec-box-header { background: transparent !important; border: none !important; padding: 0 0 8px; }
.prec-tpl-minimal .prec-box-content { padding: 0; }
.prec-tpl-minimal .prec-event-hero { border-radius: 0; }
.prec-tpl-minimal .prec-hero-content { font-weight: 300; }
.prec-tpl-minimal .prec-event-content-wrap { gap: 48px; }

/* ═══════════════════════════════════════════════════
   Template 4: BOLD MAGAZINE
   Editorial-Stil, große Typo, volle Breite
   ═══════════════════════════════════════════════════ */
.prec-tpl-magazine .prec-event-hero { min-height: 400px; }
.prec-tpl-magazine .prec-hero-title { font-size: clamp(28px, 4vw, 48px) !important; font-weight: 900 !important; letter-spacing: -0.02em; line-height: 1.1 !important; }
.prec-tpl-magazine .prec-sidebar-box { border-radius: 0; border: none; border-left: 4px solid var(--prec-event-color, #2271b1); background: #fafbfc; }
.prec-tpl-magazine .prec-box-header { border-radius: 0; }

/* ═══════════════════════════════════════════════════
   Template 5: GRADIENT FLOW
   Farbenfrohe Verläufe, abgerundete Formen
   ═══════════════════════════════════════════════════ */
.prec-tpl-gradient .prec-sidebar-box { background: linear-gradient(135deg, #fff 0%, #f8fafc 100%); border: none; box-shadow: 0 4px 20px rgba(0,0,0,.06); border-radius: 20px; }
.prec-tpl-gradient .prec-box-header { background: linear-gradient(135deg, var(--prec-event-color, #2271b1), color-mix(in srgb, var(--prec-event-color, #2271b1) 70%, #000)) !important; color: #fff !important; border-radius: 20px 20px 0 0 !important; }
.prec-tpl-gradient .prec-box-header h4 { color: #fff !important; }
.prec-tpl-gradient .prec-box-header .prec-box-icon { filter: grayscale(1) brightness(10); }
.prec-tpl-gradient .prec-event-hero { border-radius: 24px; overflow: hidden; }

/* ═══════════════════════════════════════════════════
   Template 6: CORPORATE CLEAN
   Professionell, strukturiert, dezente Farben
   ═══════════════════════════════════════════════════ */
.prec-tpl-corporate .prec-sidebar-box { border-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,.08); border: 1px solid #d1d5db; }
.prec-tpl-corporate .prec-box-header { background: #f3f4f6 !important; border-radius: 4px 4px 0 0 !important; border-color: #d1d5db !important; }
.prec-tpl-corporate .prec-event-hero { border-radius: 4px; overflow: hidden; }
.prec-tpl-corporate .prec-event-content-wrap { gap: 24px; }

/* ═══════════════════════════════════════════════════
   Template 7: FESTIVAL NEON
   Dunkle Basis, Neon-Akzente, Glow-Effekte
   ═══════════════════════════════════════════════════ */
.prec-tpl-neon { --neon: #00ff88; --neon-alt: #ff00ff; }
.prec-tpl-neon .prec-event-main { background: #0a0a0a; color: #e0e0e0; border-radius: 16px; padding: 24px; }
.prec-tpl-neon .prec-event-main h1, .prec-tpl-neon .prec-event-main h2, .prec-tpl-neon .prec-event-main h3 { color: var(--neon); text-shadow: 0 0 20px rgba(0,255,136,.3); }
.prec-tpl-neon .prec-event-main a { color: var(--neon-alt); }
.prec-tpl-neon .prec-sidebar-box { background: #111; border: 1px solid #333; color: #ccc; box-shadow: 0 0 15px rgba(0,255,136,.05); }
.prec-tpl-neon .prec-box-header { background: #1a1a1a !important; border-color: #333 !important; }
.prec-tpl-neon .prec-box-header h4 { color: var(--neon) !important; }
.prec-tpl-neon .prec-event-hero { border: 2px solid var(--neon); border-radius: 16px; overflow: hidden; box-shadow: 0 0 30px rgba(0,255,136,.15); }

/* ═══════════════════════════════════════════════════
   Template 8: NATURE ORGANIC
   Erdtöne, organische Formen, sanfte Verläufe
   ═══════════════════════════════════════════════════ */
.prec-tpl-nature .prec-event-content-wrap { background: linear-gradient(180deg, #fefce8 0%, #fff 50%); padding: 20px; border-radius: 20px; }
.prec-tpl-nature .prec-sidebar-box { background: #fffbeb; border: 1px solid #fde68a; border-radius: 16px; }
.prec-tpl-nature .prec-box-header { background: linear-gradient(135deg, #065f46, #047857) !important; color: #fff !important; border-radius: 16px 16px 0 0 !important; }
.prec-tpl-nature .prec-box-header h4 { color: #fff !important; }
.prec-tpl-nature .prec-event-hero { border-radius: 24px 24px 80px 24px; overflow: hidden; }

/* ═══════════════════════════════════════════════════
   Template 9: RETRO VINTAGE
   Gedämpfte Farben, Serifen, ornamentale Borders
   ═══════════════════════════════════════════════════ */
.prec-tpl-retro .prec-event-main, .prec-tpl-retro .prec-sidebar-box { font-family: Georgia, 'Times New Roman', serif; }
.prec-tpl-retro .prec-hero-title { font-family: Georgia, serif !important; font-style: italic; }
.prec-tpl-retro .prec-sidebar-box { background: #faf8f5; border: 2px solid #d4a574; border-radius: 2px; box-shadow: 4px 4px 0 #d4a57440; }
.prec-tpl-retro .prec-box-header { background: #f5ebe0 !important; border-color: #d4a574 !important; border-radius: 0 !important; }
.prec-tpl-retro .prec-event-hero { border-radius: 2px; border: 3px solid #8b7355; }

/* ═══════════════════════════════════════════════════
   Template 10: TECH FUTURISTIC
   Monospace, kantige Formen, Cyan/Blau-Akzente
   ═══════════════════════════════════════════════════ */
.prec-tpl-tech .prec-event-main, .prec-tpl-tech .prec-sidebar-box { font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace; }
.prec-tpl-tech .prec-hero-title { font-family: 'JetBrains Mono', monospace !important; text-transform: uppercase; letter-spacing: 0.05em; }
.prec-tpl-tech .prec-sidebar-box { background: #0c1222; border: 1px solid #1e40af; border-radius: 2px; color: #93c5fd; }
.prec-tpl-tech .prec-event-main { background: #0f172a; color: #e2e8f0; border-radius: 2px; padding: 24px; }
.prec-tpl-tech .prec-event-main h1, .prec-tpl-tech .prec-event-main h2, .prec-tpl-tech .prec-event-main h3 { color: #38bdf8; }
.prec-tpl-tech .prec-box-header { background: #1e293b !important; border-color: #1e40af !important; border-radius: 2px 2px 0 0 !important; }
.prec-tpl-tech .prec-box-header h4 { color: #38bdf8 !important; }
.prec-tpl-tech .prec-event-hero { border-radius: 2px; border: 2px solid #2563eb; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%); }

/* ═══════════════════════════════════════════════════
   Template 11: COTTBUS
   Stadtdesign Rot & Weiß, dezent, professionell
   ═══════════════════════════════════════════════════ */
.prec-tpl-cottbus .prec-event-hero { border-radius: 0; }
.prec-tpl-cottbus .prec-hero-title { font-weight: 800 !important; text-transform: uppercase; letter-spacing: 0.02em; }
.prec-tpl-cottbus .prec-hero-meta span { background: rgba(255,255,255,0.15); padding: 3px 10px; border-radius: 3px; }

.prec-tpl-cottbus .prec-sidebar-box { background: #fff; border: 1px solid #e8e8e8; border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); overflow: hidden; }
.prec-tpl-cottbus .prec-box-header { background: #fff !important; border-color: #e8e8e8 !important; border-left: 4px solid #c8102e !important; border-radius: 0 !important; }
.prec-tpl-cottbus .prec-box-header h4 { color: #1a1a1a !important; font-weight: 700 !important; text-transform: uppercase; letter-spacing: 0.04em; font-size: 12px !important; }
.prec-tpl-cottbus .prec-box-header .prec-box-icon { filter: none; }

.prec-tpl-cottbus .prec-date-day-wrap { background: #c8102e !important; border-radius: 6px !important; }
.prec-tpl-cottbus .prec-date-weekday { color: #c8102e !important; font-weight: 700; }

.prec-tpl-cottbus .prec-event-main { border-radius: 0; }
.prec-tpl-cottbus .prec-event-main h1, .prec-tpl-cottbus .prec-event-main h2, .prec-tpl-cottbus .prec-event-main h3 { color: #1a1a1a; }

.prec-tpl-cottbus .prec-section-header { background: #fff !important; color: #1a1a1a !important; border-radius: 0 !important; border-left: 4px solid #c8102e !important; border-bottom: 1px solid #e8e8e8 !important; }
.prec-tpl-cottbus .prec-section-header h3 { color: #1a1a1a !important; }
.prec-tpl-cottbus .prec-section-header .prec-section-icon { filter: none; }

.prec-tpl-cottbus .prec-hero-cat-label { background: #c8102e !important; border-radius: 3px !important; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.prec-tpl-cottbus a { color: #c8102e; }
.prec-tpl-cottbus a:hover { color: #9a0c24; }

.prec-tpl-cottbus .prec-btn-nav, .prec-tpl-cottbus .prec-btn-primary { background: #c8102e !important; border-color: #c8102e !important; color: #fff !important; border-radius: 4px !important; }
.prec-tpl-cottbus .prec-btn-nav:hover, .prec-tpl-cottbus .prec-btn-primary:hover { background: #9a0c24 !important; }

.prec-tpl-cottbus .prec-ticket-badge-paid { background: #c8102e !important; }
.prec-tpl-cottbus .prec-sharing-btn { border-radius: 4px !important; }

.prec-tpl-cottbus .prec-time-allday span:last-child { background: #fef2f2 !important; color: #c8102e !important; border: 1px solid #fecaca; }
.prec-tpl-cottbus .prec-countdown-num { color: #c8102e !important; }
.prec-tpl-cottbus .prec-export-btn { border-color: #c8102e !important; color: #c8102e !important; border-radius: 4px !important; }
.prec-tpl-cottbus .prec-export-btn:hover { background: #c8102e !important; color: #fff !important; }

/* Einheitliche Sidebar-Buttons — alle gleich: volle Breite, flach, roter Rahmen */
.prec-tpl-cottbus .prec-box-btn,
.prec-tpl-cottbus .prec-nav-btn { display: block !important; width: 100% !important; background: #fff !important; border: 1.5px solid #c8102e !important; color: #c8102e !important; border-radius: 4px !important; font-weight: 600 !important; font-size: 13px !important; text-align: center !important; padding: 8px 16px !important; text-decoration: none !important; box-sizing: border-box !important; transition: all .2s; }
.prec-tpl-cottbus .prec-box-btn:hover,
.prec-tpl-cottbus .prec-nav-btn:hover { background: #c8102e !important; color: #fff !important; }

/* Preis-Badges als identische Buttons */
.prec-tpl-cottbus .prec-price-badge { display: flex !important; width: 100% !important; justify-content: center !important; align-items: center !important; gap: 8px !important; background: #fff !important; border: 1.5px solid #c8102e !important; color: #c8102e !important; border-radius: 4px !important; padding: 8px 16px !important; font-weight: 600 !important; font-size: 13px !important; box-sizing: border-box !important; }
.prec-tpl-cottbus .prec-price-free { border-color: #16a34a !important; color: #16a34a !important; }
.prec-tpl-cottbus .prec-price-display { color: #c8102e !important; }
.prec-tpl-cottbus .prec-price-amount { color: #c8102e !important; font-weight: 700; }

/* Ticket-Button + Links */
.prec-tpl-cottbus .prec-ticket-badge-paid { background: #c8102e !important; border-radius: 4px !important; }
.prec-tpl-cottbus .prec-ticket-link,
.prec-tpl-cottbus .prec-box-content a.button,
.prec-tpl-cottbus .prec-box-content .button { display: block !important; width: 100% !important; border: 1.5px solid #c8102e !important; background: #fff !important; color: #c8102e !important; border-radius: 4px !important; padding: 8px 16px !important; font-weight: 600 !important; font-size: 13px !important; text-align: center !important; box-sizing: border-box !important; text-decoration: none !important; transition: all .2s; }
.prec-tpl-cottbus .prec-ticket-link:hover,
.prec-tpl-cottbus .prec-box-content a.button:hover { background: #c8102e !important; color: #fff !important; }

/* Kalender-Export-Buttons */
.prec-tpl-cottbus .prec-export-row .prec-export-btn { padding: 8px 14px !important; font-size: 12px !important; }
