#event-submission-form {
    max-width: 800px;
    margin: 0 auto;
    font-family: inherit;
}

#event-submission-form p {
    margin-bottom: 20px;
}

#event-submission-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

/* Basis-Styles für alle Eingabefelder */
#event-submission-form input[type="text"],
#event-submission-form input[type="email"],
#event-submission-form input[type="url"],
#event-submission-form input[type="date"],
#event-submission-form input[type="time"],
#event-submission-form textarea,
#event-submission-form select,
#event-submission-form .et_pb_contact_field_input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #fff;
    box-sizing: border-box;
}

/* Hover-Zustand für alle Eingabefelder */
#event-submission-form input[type="text"]:hover,
#event-submission-form input[type="email"]:hover,
#event-submission-form input[type="url"]:hover,
#event-submission-form input[type="date"]:hover,
#event-submission-form input[type="time"]:hover,
#event-submission-form textarea:hover,
#event-submission-form select:hover,
#event-submission-form .et_pb_contact_field_input:hover {
    border-color: #999;
}

/* Fokus-Zustand für alle Eingabefelder */
#event-submission-form input[type="text"]:focus,
#event-submission-form input[type="email"]:focus,
#event-submission-form input[type="url"]:focus,
#event-submission-form input[type="date"]:focus,
#event-submission-form input[type="time"]:focus,
#event-submission-form textarea:focus,
#event-submission-form select:focus,
#event-submission-form .et_pb_contact_field_input:focus {
    border-color: #e31179;
    outline: none;
    box-shadow: 0 0 5px rgba(227, 17, 121, 0.2);
}

#event-submission-form textarea {
    min-height: 150px;
    resize: vertical;
}

#event-submission-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

#event-submission-form input[type="submit"] {
    background-color: #e31179;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

#event-submission-form input[type="submit"]:hover {
    background-color: #c00f6a;
}

/* Spezifische Styles für das E-Mail-Feld */
#event-submission-form input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #fff;
    box-sizing: border-box;
}

#event-submission-form input[type="email"]:hover {
    border-color: #999;
}

#event-submission-form input[type="email"]:focus {
    border-color: #e31179;
    outline: none;
    box-shadow: 0 0 5px rgba(227, 17, 121, 0.2);
}

/* Hinweistext-Styling */
#event-submission-form .form-note,
#event-submission-form .image-requirements {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    color: #666;
    font-style: italic;
}

/* Fehlerzustand für alle Eingabefelder */
#event-submission-form input.error,
#event-submission-form textarea.error,
#event-submission-form select.error {
    border-color: #dc3232;
}

/* Responsive Anpassungen */
@media screen and (max-width: 768px) {
    #event-submission-form {
        padding: 0 15px;
    }
    
    #event-submission-form input[type="text"],
    #event-submission-form input[type="email"],
    #event-submission-form input[type="url"],
    #event-submission-form input[type="date"],
    #event-submission-form input[type="time"],
    #event-submission-form textarea,
    #event-submission-form select {
        font-size: 16px; /* Verhindert Zoom auf iOS */
    }
}

/* Styling für die Veranstaltungsliste */
.event-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
}

.event-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 10px;
    min-height: 200px;
}

.event-item h3 {
    margin-top: 0;
    color: #e31179;
    font-size: 1.5em;
    font-family: 'Barlow', Arial, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.event-details {
    margin-bottom: 10px;
}

.event-details p {
    margin: 4px 0;
}

.event-category {
    display: inline-block;
    background: #e31179;
    padding: 3px 12px;
    border-radius: 6px;
    font-size: 0.7em;
    color: #fff;
    margin-top: 10px;
    font-family: 'Barlow', Arial, sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* Styling für Anmeldungsbereich */
.event-registration {
    margin-top: 18px;
    padding-top: 12px;
    border-top: 1px solid #f3d1e3;
    font-family: 'Barlow', Arial, sans-serif;
}

.no-registration {
    display: inline-block;
    background: #f3d1e3;
    color: #e31179;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-family: 'Barlow', Arial, sans-serif;
    font-size: 1em;
    margin-top: 8px;
}

@media (max-width: 600px) {
    #event-submission-form {
        padding: 0 2vw;
    }
    
    #event-submission-form input[type="text"],
    #event-submission-form input[type="date"],
    #event-submission-form input[type="time"],
    #event-submission-form input[type="url"],
    #event-submission-form textarea,
    #event-submission-form select {
        padding: 10px 12px;
        font-size: 16px; /* Verhindert Zoom auf iOS */
    }
    
    #event-submission-form input[type="submit"] {
        width: 100%;
        padding: 12px 20px;
    }
    
    .event-list {
        grid-template-columns: 1fr;
 
        padding: 1em 0;
    }
    .event-item {
        padding: 1em 0.5em;
    }
}

/* Überschriften-Stil wie im Screenshot */
.event-item h3,
.event-single-view h1,
.event-single-view h2,
.event-single-view h3,
#event-submission-form h2,
#event-submission-form h3 {
    font-family: 'Barlow', Arial, sans-serif;
    font-weight: 700;
    color: #181818;
    text-transform: none;
    letter-spacing: 0;
    background: none;
    margin-top: 0;
    margin-bottom: 0.7em;
}
.event-single-view h1 {
    font-size: 2.5rem;
    line-height: 1.1;
}
.event-item h3, .event-single-view h2 {
    font-size: 1.5rem;
    line-height: 1.2;
}
.event-single-view h3, #event-submission-form h3 {
    font-size: 1.2rem;
    line-height: 1.2;
}

/* Datepicker-Styling für Chrome */
#event-submission-form input[type="date"] {
    position: relative;
    background-color: #fff;
}

#event-submission-form input[type="date"]::-webkit-calendar-picker-indicator {
    background: transparent;
    bottom: 0;
    color: transparent;
    cursor: pointer;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
    padding: 0;
    margin: 0;
}

#event-submission-form input[type="date"]::-webkit-inner-spin-button,
#event-submission-form input[type="date"]::-webkit-clear-button {
    display: none;
    -webkit-appearance: none;
}

#event-submission-form input[type="date"]::-webkit-datetime-edit {
    padding: 0;
}

#event-submission-form input[type="date"]::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
}

#event-submission-form input[type="date"]::-webkit-datetime-edit-text {
    padding: 0 2px;
    color: #666;
}

#event-submission-form input[type="date"]::-webkit-datetime-edit-year-field,
#event-submission-form input[type="date"]::-webkit-datetime-edit-month-field,
#event-submission-form input[type="date"]::-webkit-datetime-edit-day-field {
    padding: 0 2px;
    color: #333;
}

/* Custom Datepicker Icon */
#event-submission-form input[type="date"] {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e31179' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3e%3c/rect%3e%3cline x1='16' y1='2' x2='16' y2='6'%3e%3c/line%3e%3cline x1='8' y1='2' x2='8' y2='6'%3e%3c/line%3e%3cline x1='3' y1='10' x2='21' y2='10'%3e%3c/line%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    padding-right: 45px;
}

/* Firefox Datepicker Styling */
#event-submission-form input[type="date"]::-moz-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.event-category-filter {
    margin-bottom: 2em;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.event-category-filter select {
    width: 100%;
    max-width: 400px;
    padding: 12px 20px;
    font-size: 16px;
    font-family: 'Barlow', Arial, sans-serif;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e31179' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
    padding-right: 40px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.event-category-filter select:hover {
    border-color: #e31179;
    box-shadow: 0 2px 8px rgba(227, 17, 121, 0.1);
}

.event-category-filter select:focus {
    outline: none;
    border-color: #e31179;
    box-shadow: 0 0 0 3px rgba(227, 17, 121, 0.1);
}

.event-category-filter select option {
    padding: 10px;
    font-size: 16px;
    background-color: #fff;
    color: #333;
}

/* Divi-spezifische Anpassungen */
.et_pb_row .event-category-filter {
    margin-bottom: 3em;
}

.et_pb_row .event-category-filter select {
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Responsive Anpassungen */
@media (max-width: 980px) {
    .event-category-filter {
        padding: 0 15px;
    }
    
    .event-category-filter select {
        font-size: 15px;
        padding: 10px 15px;
    }
}

@media (max-width: 767px) {
    .event-category-filter {
        margin-bottom: 2em;
    }
    
    .event-category-filter select {
        max-width: 100%;
    }
}

.event-item.hidden {
    display: none;
}

#event-submission-form input[type="file"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px dashed #e0e0e0;
    border-radius: 8px;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Barlow', Arial, sans-serif;
    color: #666;
}

#event-submission-form input[type="file"]:hover {
    border-color: #e31179;
    background-color: #fff0f7;
}

#event-submission-form input[type="file"]:focus {
    outline: none;
    border-color: #e31179;
    box-shadow: 0 0 0 3px rgba(227, 17, 121, 0.1);
}

.image-requirements {
    display: block;
    font-size: 0.85em;
    color: #666;
    margin-top: 5px;
    font-style: italic;
}

/* Datei-Upload Button Styling */
#event-submission-form input[type="file"]::-webkit-file-upload-button {
    background: #e31179;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Barlow', Arial, sans-serif;
    font-weight: 600;
    margin-right: 10px;
    transition: all 0.3s ease;
}

#event-submission-form input[type="file"]::-webkit-file-upload-button:hover {
    background: #b90e5c;
}

/* Firefox Styling */
#event-submission-form input[type="file"]::file-selector-button {
    background: #e31179;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Barlow', Arial, sans-serif;
    font-weight: 600;
    margin-right: 10px;
    transition: all 0.3s ease;
}

#event-submission-form input[type="file"]::file-selector-button:hover {
    background: #b90e5c;
}

.event-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 10px;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-content {
    padding: 10px;
}

/* Responsive Anpassungen */
@media (max-width: 1200px) {
    .event-list {
        grid-template-columns: repeat(2, 1fr);
        padding: 10px;
    }
}

@media (max-width: 768px) {
    .event-list {
        grid-template-columns: 1fr;
        padding: 5px;
    }
    
    .event-item {
        padding: 8px;
    }
    
    .event-content {
        padding: 8px;
    }
}

/* Spezifische Styles für das Kontakt-E-Mail-Feld */
#event-submission-form .contact-email-field {
    margin-bottom: 20px;
}

#event-submission-form .contact-email-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

#event-submission-form .contact-email-field input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #fff;
    box-sizing: border-box;
}

#event-submission-form .contact-email-field input[type="email"]:hover {
    border-color: #999;
}

#event-submission-form .contact-email-field input[type="email"]:focus {
    border-color: #e31179;
    outline: none;
    box-shadow: 0 0 5px rgba(227, 17, 121, 0.2);
}

#event-submission-form .contact-email-field .form-note {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    color: #666;
    font-style: italic;
}

/* Beschreibungstext-Styling */
#event-submission-form .et_pb_contact_field_description,
#event-submission-form .image-requirements {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    color: #666;
    font-style: italic;
}

.event-title-link {
    color: #e31179;
    text-decoration: none;
    transition: color 0.3s ease;
}

.event-title-link:hover {
    color: #b90e5c;
    text-decoration: none;
}

.event-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.event-image a:hover img {
    transform: scale(1.05);
}

/* Styles für die Einzelansicht */
.et_pb_post {
    background: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.et_pb_post .entry-title {
    font-family: 'Barlow', Arial, sans-serif;
    font-size: 2.5em;
    font-weight: 700;
    color: #181818;
    margin-bottom: 20px;
    line-height: 1.1;
}

.et_post_meta {
    margin-bottom: 20px;
    font-size: 0.9em;
    color: #666;
}

.et_post_meta span {
    display: inline-block;
    margin-right: 20px;
}

.et_post_meta i {
    margin-right: 5px;
    color: #e31179;
}

.et_post_thumb {
    margin: -30px -30px 30px -30px;
    overflow: hidden;
}

.et_post_thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.et_post_content {
    font-size: 1.1em;
    line-height: 1.6;
    color: #333;
}

.et_post_content h2 {
    font-family: 'Barlow', Arial, sans-serif;
    font-size: 1.8em;
    font-weight: 700;
    color: #181818;
    margin: 1.5em 0 0.8em;
}

.event-details {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.event-info p {
    margin: 8px 0;
}

.event-info strong {
    color: #181818;
    font-weight: 600;
}

.event-description {
    margin-top: 10px;
}

.event-registration {
    margin: 30px 0;
    text-align: center;
}

.registration-link {
    display: inline-block;
    background: #e31179;
    color: white;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Barlow', Arial, sans-serif;
    text-transform: uppercase;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 2px 2px 0 #b90e5c;
}

.registration-link:hover {
    background: #b90e5c;
    color: white;
    text-decoration: none;
    box-shadow: 1px 1px 0 #e31179;
    transform: translateY(1px);
}

.event-categories {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.event-category {
    display: inline-block;
    background: #e31179;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.7em;
    margin-right: 10px;
    margin-bottom: 10px;
    font-weight: 800;
}

/* Responsive Anpassungen */
@media (max-width: 980px) {
    .et_pb_post {
        padding: 20px;
    }

    .et_post_thumb {
        margin: -20px -20px 20px -20px;
    }

    .et_pb_post .entry-title {
        font-size: 2em;
    }
}

@media (max-width: 767px) {
    .et_pb_post {
        padding: 15px;
    }

    .et_post_thumb {
        margin: -15px -15px 15px -15px;
    }

    .et_pb_post .entry-title {
        font-size: 1.8em;
    }

    .et_post_meta span {
        display: block;
        margin-bottom: 10px;
    }
}

/* Styles für die Mehrfachauswahl */
#event-submission-form select[multiple] {
    height: auto;
    min-height: 120px;
    padding: 8px;
}

#event-submission-form select[multiple] option {
    padding: 8px 12px;
    margin: 2px 0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

#event-submission-form select[multiple] option:hover {
    background-color: #f0f0f0;
}

#event-submission-form select[multiple] option:checked {
    background-color: #e31179;
    color: white;
}

#event-submission-form select[multiple] option:checked:hover {
    background-color: #b90e5c;
}

/* Verbesserte Scrollbar für die Mehrfachauswahl */
#event-submission-form select[multiple]::-webkit-scrollbar {
    width: 8px;
}

#event-submission-form select[multiple]::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

#event-submission-form select[multiple]::-webkit-scrollbar-thumb {
    background: #e31179;
    border-radius: 4px;
}

#event-submission-form select[multiple]::-webkit-scrollbar-thumb:hover {
    background: #b90e5c;
}

/* Styles für die englische Beschreibung */
.event-description-en {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.event-description-en h2 {
    color: #181818;
    font-size: 1.8em;
    margin-bottom: 20px;
}

/* Styles für den Weiterlesen-Link */
.read-more-link {
    display: inline-block;
    color: #e31179;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
    font-family: 'Barlow', Arial, sans-serif;
    transition: color 0.3s ease;
}

.read-more-link:hover {
    color: #b90e5c;
    text-decoration: none;
}

.read-more-link::after {
    content: ' →';
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more-link:hover::after {
    transform: translateX(3px);
}

/* Styles für das Veranstalter:in-Feld */
.et_post_organizer {
    display: inline-block;
    margin-right: 20px;
    font-weight: 600;
    color: #181818;
}

.et_post_organizer i {
    color: #e31179;
    margin-right: 5px;
}

/* Responsive Anpassungen */
@media (max-width: 1200px) {
    .event-list {
        grid-template-columns: repeat(2, 1fr);
        padding: 10px;
    }
}

@media (max-width: 767px) {
    .event-list {
        grid-template-columns: 1fr;
        gap: 1.5em;
        padding: 1.5em 1em;
    }
}

/* Highlight Carousel Styles */
.highlight-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.highlight-carousel-container {
    display: flex;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.highlight-carousel-item {
    flex: 0 0 300px;
    margin-right: 20px;
    padding: 0;
    background-color: #f5f5f5;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    overflow: hidden;
}

.highlight-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.highlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.highlight-image:hover img {
    transform: scale(1.05);
}

.highlight-content {
    padding: 15px;
}

.highlight-carousel-item h3 {
    font-family: 'Barlow', Arial, sans-serif;
    font-size: 1.2em;
    font-weight: 700;
    color: #181818;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.highlight-carousel-item h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.highlight-carousel-item h3 a:hover {
    color: #e31179;
}

.highlight-date,
.highlight-time {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 8px;
}

.highlight-date i,
.highlight-time i {
    color: #e31179;
    margin-right: 5px;
    width: 16px;
    text-align: center;
}

.highlight-carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.highlight-carousel-prev,
.highlight-carousel-next {
    background: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    pointer-events: auto;
}

.highlight-carousel-prev:hover,
.highlight-carousel-next:hover {
    background: #e31179;
    color: #fff;
}

.highlight-carousel-prev {
    margin-left: -20px;
}

.highlight-carousel-next {
    margin-right: -20px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .highlight-carousel {
        padding: 20px;
    }
    
    .highlight-carousel-item {
        flex: 0 0 280px;
    }
}

@media (max-width: 768px) {
    .highlight-carousel-item {
        flex: 0 0 260px;
    }
    
    .highlight-carousel-prev,
    .highlight-carousel-next {
        width: 36px;
        height: 36px;
    }
} 