main#primary {
    max-width: 1500px;
    margin: 0px auto 100px;
	padding: 15px;
}



main#primary h1.entry-title {
    padding: 0;
}

main#primary .entry-content,
.jg-ymm-booking {

}

.jg-ymm-event {
    max-width: 900px;
    margin: 200px auto 30px;
}

.jg-ymm-booking {
    box-shadow: rgba(0, 0, 0, 0.25) 0px 0px 10px 0px;
    border-radius: 20px;
    padding: 1px 20px 20px 20px;
    max-width: 1000px;
    margin-top: 30px;
}

button.elementor-button.elementor-button-link.elementor-size-sm,
a.elementor-button.elementor-button-link.elementor-size-sm {
    background-color: var(--e-global-color-accent);
    text-decoration: none;
    border: none;
}

button.elementor-button.elementor-button-link.elementor-size-sm:hover,
a.elementor-button.elementor-button-link.elementor-size-sm:hover {
    cursor: pointer;
}

.jg-ymm-session-inner {
    display: flex;
    gap: 50px;
}

.jg-ymm-session-inner > div {
    flex: 1 1 50%;
}

.jg-ymm-session {
    background: #f7edd2;
    background: radial-gradient(circle, rgba(169, 94, 72, 0.15) 0%, rgba(234, 183, 64, 0.15) 100%);
    border-radius: 10px;
    padding: 1px 20px;
    display: block;
    margin-top: 20px;
}

.jg-ymm-bundle {
    background: #def3f5;
    padding: 1px 20px;
    display: block;
    margin-top: 20px;
    border: 2px dashed;
    border-radius: 10px;
}

ul.jg-ymm-slot-list {
    list-style: none;
    margin: 10px 0;
    padding: 0;
}

.jg-ymm-container {
    max-width: 900px;
    margin: 0px auto 100px;
}

.jg-ymm-session-right {
    border-left: 1px solid #e9d7a4;
    padding-left: 30px;
}

/*Formular*/

p.jg-ymm-event-title {
    font-weight: 800;
    font-size: 22px;
    margin-bottom: -15px;
    color: #D6835D;
}

.jg-ymm-field {
    display: flex;
    justify-content: flex-start;
    flex-direction: row;
    margin-bottom: 8px;
}

.jg-ymm-field label {
    max-width: 100%;
    width: 290px;
}

.jg-ymm-field input,
.jg-ymm-field select
 {
    font-size: 16px;
    background-color: rgb(255, 255, 255);
    border: 2px solid var(--e-global-color-7b7f681);
    border-radius: 8px;
    font-family: AvenirLTPro, sans-serif;
    font-weight: 200;
    min-height: 47px;
    padding: 6px 16px;
    width: 400px;
    max-width: 100%;
    color: var(--e-global-color-text);
    max-height: 47px;
}

.ymm-bookingform section {
    background: linear-gradient(135deg, rgba(248, 239, 223, 0.7), #FFF 50%);
    padding: 1px 40px 30px;
    display: block;
    border-radius: 16px;
    margin-bottom: 20px;
    border: 1px solid #dcdcde;
}

.ymm-bookingform h2 {
    font-weight: 500;
}

/* Eingabefelder im Look des Kontaktformulars (Elementor-Form „ym-form") */
.ymm-bookingform .jg-ymm-field input,
.ymm-bookingform .jg-ymm-field select,
.ymm-bookingform .jg-ymm-field textarea {
    font-family: Karla, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #293B44;
    background-color: #FFFFFF;
    border: 1px solid #D7E2E5;
    border-radius: 12px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.ymm-bookingform .jg-ymm-field input:focus,
.ymm-bookingform .jg-ymm-field select:focus,
.ymm-bookingform .jg-ymm-field textarea:focus {
    outline: none;
    border-color: #ECB84E;
    box-shadow: 0 0 0 3px rgba(236, 184, 78, 0.25);
}

.ymm-bookingform fieldset {
    border: none;
    padding: 0;
    margin: 20px 0;
}

.jg-ymm-muted .jg-ymm-field label {

}

.jg-ymm-selection-inner .jg-ymm-field {
    background: #ededed;
    padding: 10px 20px;
}

.jg-ymm-field .billing-options select {
    width: 100px;
    max-width: 100px;
}

/* ─── Archive: 2-column grid ─── */

.jg-ymm-archive {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
}

.jg-ymm-event-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.jg-ymm-event-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.14);
    transform: translateY(-2px);
}

.jg-ymm-event-card-thumb {
    display: block;
    line-height: 0;
}

.jg-ymm-event-card-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.jg-ymm-event-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px;
}

.jg-ymm-event-card-title {
    font-size: 1.15rem;
    line-height: 1.3;
    margin: 0 0 10px;
}

.jg-ymm-event-card-title a {
    text-decoration: none;
    color: inherit;
}

.jg-ymm-event-card-title a:hover {
    text-decoration: underline;
}

.jg-ymm-event-card-excerpt {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
    margin: 0 0 15px;
    flex: 1;
}

.jg-ymm-event-card-price {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

/* Next date block */
.jg-ymm-next-date {
    background: radial-gradient(circle, rgba(169, 94, 72, 0.10) 0%, rgba(234, 183, 64, 0.10) 100%);
    border-radius: 8px;
    padding: 12px 14px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    line-height: 1.5;
}

.jg-ymm-next-date-label {
    font-weight: 700;
    margin-bottom: 4px;
}

.jg-ymm-next-date-value,
.jg-ymm-next-date-location {
    color: #444;
}

.jg-ymm-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    margin-top: 6px;
}

.jg-ymm-badge--available {
    background: #d4edda;
    color: #155724;
}

.jg-ymm-badge--full {
    background: #f8d7da;
    color: #721c24;
}

/* Button */
.jg-ymm-btn {
    display: inline-block;
    background-color: var(--e-global-color-accent, #a95e48);
    color: #fff;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.2s ease;
}

.jg-ymm-btn:hover {
    opacity: 0.9;
    color: #fff;
    text-decoration: none;
}

.jg-ymm-event-card-actions {
    margin-top: auto;
    padding-top: 5px;
}

.jg-ymm-vat-note {
    font-size: 0.75rem;
    color: #888;
    margin-top: 10px;
    line-height: 1.4;
}

/* ─── Responsive ─── */

@media (max-width: 1024px) {
    .jg-ymm-archive {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 500px;
    }
}

@media (max-width: 768px) {

    main#primary {
        margin: 50px auto 100px;
    }

    .jg-ymm-archive {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 500px;
    }

    .ymm-bookingform section {
        padding: 1px 15px 30px;
    }

    .jg-ymm-field input,
    .jg-ymm-field select
    {
        width: 100%;
    }

}

/* ─── Cancellation / withdrawal form ─── */

.jg-ymm-cancellation {
    max-width: 520px;
    margin: 0 auto;
    background: none;
}

.jg-ymm-cancellation h2 {
    margin-bottom: 12px;
}

.jg-ymm-cancellation > p {
    margin-bottom: 20px;
}

/* Stacked, full-width fields reusing the .jg-ymm-field input look */
.jg-ymm-cancellation .jg-ymm-field {
    display: block;
    margin-bottom: 12px;
}

.jg-ymm-cancellation .jg-ymm-field label {
    display: block;
    width: 100%;
}

.jg-ymm-cancellation .jg-ymm-field input {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.jg-ymm-cancellation .jg-ymm-field input::placeholder {
    color: #9aa0a6;
    opacity: 1;
}

.jg-ymm-cancellation .jg-ymm-field input:focus {
    outline: none;
    border-color: var(--e-global-color-primary, #6b8785);
    box-shadow: 0 0 0 3px rgba(107, 135, 133, 0.15);
}

/* Screen-reader-only labels (fields use placeholders visually) */
.jg-ymm-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* Rounded pill submit button */
.jg-ymm-cancel-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    cursor: pointer;
    padding: 13px 30px;
    border-radius: 999px;
    font-size: 16px;
    font-family: AvenirLTPro, sans-serif;
    color: #fff;
    background: var(--e-global-color-primary, #6b8785);
    transition: filter 0.15s ease, transform 0.05s ease;
}

.jg-ymm-cancel-submit:hover {
    filter: brightness(1.08);
}

.jg-ymm-cancel-submit:active {
    transform: translateY(1px);
}

.jg-ymm-cancel-submit .jg-ymm-arrow {
    font-size: 18px;
    line-height: 1;
}

/* Notices: subtle left accent, no fill (per request: no background color) */
.jg-ymm-cancellation .jg-ymm-notice {
    margin-bottom: 16px;
    padding: 12px 16px;
    border-left: 4px solid var(--e-global-color-primary, #6b8785);
}

.jg-ymm-cancellation .jg-ymm-notice--error {
    border-left-color: #c0392b;
}

.jg-ymm-cancellation .jg-ymm-notice ul {
    margin: 0;
    padding-left: 18px;
}

/* ─── Participant form ─── */

.jg-ymm-pf {
    max-width: 900px;
    margin: 0 auto;
}

.jg-ymm-pf__title {
    margin-bottom: 8px;
}

.jg-ymm-pf__meta {
    margin: 0 0 24px;
}

.jg-ymm-pf__meta strong {
    color: #D6835D;
    font-size: 20px;
}

.jg-ymm-pf__intro {
    margin-bottom: 24px;
}

.jg-ymm-pf__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 24px;
    margin-bottom: 10px;
}

.jg-ymm-pf__field--full,
.jg-ymm-pf__subheading,
.jg-ymm-pf__text {
    grid-column: 1 / -1;
}

.jg-ymm-pf__subheading {
    margin: 12px 0 0;
    font-size: 18px;
    font-weight: 500;
}

.jg-ymm-pf__field > label:not(.jg-ymm-pf__choice),
.jg-ymm-pf__field legend {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
}

.jg-ymm-pf__field input[type="text"],
.jg-ymm-pf__field input[type="email"],
.jg-ymm-pf__field input[type="tel"],
.jg-ymm-pf__field input[type="date"],
.jg-ymm-pf__field textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: 10px 14px;
    font-family: Karla, sans-serif;
    font-size: 14px;
    color: #293B44;
    background-color: #FFFFFF;
    border: 1px solid #D7E2E5;
    border-radius: 12px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.jg-ymm-pf__field textarea {
    min-height: 120px;
    resize: vertical;
}

.jg-ymm-pf__field input:focus,
.jg-ymm-pf__field textarea:focus {
    outline: none;
    border-color: #ECB84E;
    box-shadow: 0 0 0 3px rgba(236, 184, 78, 0.25);
}

.jg-ymm-pf__field fieldset {
    margin: 0;
    padding: 0;
    border: none;
}

.jg-ymm-pf__choice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 6px 0;
    cursor: pointer;
}

.jg-ymm-pf__choice input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: #D6835D;
}

.jg-ymm-pf__choice input:focus-visible {
    outline: 2px solid #ECB84E;
    outline-offset: 2px;
}

.jg-ymm-pf__help {
    margin-top: 6px;
    font-size: 14px;
    color: #5b6b73;
}

.jg-ymm-pf__help p {
    margin: 0;
}

.jg-ymm-pf__req,
.jg-ymm-pf__error {
    color: #B3261E;
}

.jg-ymm-pf__error {
    margin-top: 6px;
    font-size: 14px;
}

.jg-ymm-pf__field--error input,
.jg-ymm-pf__field--error textarea {
    border-color: #B3261E;
}

.jg-ymm-pf .jg-ymm-notice {
    margin-bottom: 20px;
    padding: 12px 20px;
    background: #F4F7F8;
    border-radius: 12px;
}

.jg-ymm-pf .jg-ymm-notice--error {
    background: #FDF1F0;
    border: 1px solid #B3261E;
}

.jg-ymm-pf__details {
    margin-bottom: 16px;
    padding: 12px 16px;
    background: #FFFFFF;
    border: 1px solid #D7E2E5;
    border-radius: 12px;
}

.jg-ymm-pf__details summary {
    font-weight: 600;
    cursor: pointer;
}

.jg-ymm-pf__privacy-text {
    margin-top: 12px;
    font-size: 14px;
}

.jg-ymm-pf__actions {
    margin-top: 24px;
}

@media (max-width: 768px) {
    .jg-ymm-pf__grid {
        grid-template-columns: 1fr;
    }
}
