/* Workshop Single Page Enhancements */


/* CTA Box Styling */
.workshop-float-cta {
    background: #fff;
    border: 1px solid #e1e4e8;
    border-radius: var(--border-radius);
    padding: 1.25rem;
    /* Reduced padding for better fit in narrow columns */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    font-family: var(--font-body);
    /* Reset font to sans-serif */
    font-size: 1rem;
    /* Reset font size */
    line-height: 1.5;
    color: var(--color-text-main);
    text-align: left;
    box-sizing: border-box;
    /* Ensure padding doesn't break width */
    /* Mobile default */
}

.workshop-float-cta h3,
.workshop-float-cta h4 {
    font-family: var(--font-heading);
    margin-top: 0;
    line-height: 1.2;
    color: var(--color-text-main);
}

.workshop-float-cta h3 {
    font-size: 1.25rem;
    /* Slightly smaller for box context */
}

.workshop-float-cta .button {
    padding-left: 1rem;
    padding-right: 1rem;
    white-space: normal;
    /* Allow wrapping if absolutely necessary, but prefer single line */
    text-align: center;
}

/* Tablet & Desktop: Float Effect */
@media (min-width: 768px) {

    /* Default float behavior if no specific class (fallback) */
    .workshop-float-cta {
        float: right;
        width: 300px;
        margin-left: 2rem;
        margin-bottom: 1rem;
        margin-top: 0;
        /* Align with top of text */
        /* Ensure no overlap issues */
    }

    /* Explicit Float Mode (from shortcode) */
    .workshop-float-cta.workshop-mode-float {
        display: block;
        float: right;
        width: 300px !important;
        margin-left: 2rem;
        margin-bottom: 1rem;
        margin-top: 5px;
        /* Tiny offset to align visually with line-height if needed */
        clear: none;
    }

    .workshop-float-cta.workshop-inline-cta {
        float: none;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-top: 2rem;
        margin-bottom: 2rem;
        clear: both;
    }
}



/* Scoped padding removal */
.workshop-single .workshop-content {
    padding-left: 0;
    padding-right: 0;
}

/* Labels & Price Highlights */
.workshop-label-badge {
    display: inline-block;
    background-color: #ffd700;
    color: #000;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

.workshop-price-wrapper {
    display: flex;
    flex-direction: column;
}

.workshop-price-wrapper.align-end {
    justify-content: flex-end;
    align-items: flex-end;
    font-weight: 700;
    color: var(--color-text-main);
}

.workshop-price-wrapper.align-start {
    justify-content: flex-start;
    align-items: flex-start;
}

.workshop-price-original {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9em;
}

.workshop-price-vat {
    color: #666;
    font-size: 0.8em;
    font-weight: 400;
}

.workshop-price-promo {
    color: #e74c3c;
    font-weight: 700;
    font-size: 1.1rem;
}

.workshop-price-omnibus {
    font-size: 0.75rem;
    color: #888;
    margin-top: 2px;
    line-height: 1.2;
}


/* Persuasion Kit */
.persuasion-kit {
    background: var(--white);
    border: 1px solid #e1e4e8;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .persuasion-kit {
        flex-direction: column;
        align-items: stretch;
        padding: 1.25rem;
    }
}

/* Workshop Footer List Styles override */
.workshop-footer {
    display: grid !important;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
}

.workshop-footer-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.workshop-footer-buy {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-end;
}

.workshop-next-date {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.workshop-next-date strong {
    color: var(--color-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.workshop-next-date .date-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-main);
}

.workshop-meta-list {
    margin-top: 0.5rem;
}

@media (max-width: 900px) {
    .workshop-footer {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 2rem;
    }

    .workshop-footer-buy {
        align-items: flex-start;
        width: 100%;
    }

    .workshop-price-wrapper.align-end {
        align-items: flex-start;
    }


    .workshop-actions {
        width: 100%;
        justify-content: flex-start;
    }
}

/* Email Popup Styling */
.email-popup {
    padding: 2rem;
    border: none;
    border-radius: var(--border-radius, 8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 800px;
    background: #fff;
    box-sizing: border-box;
    margin: auto;
    /* Ensure centering */
}

.email-popup *,
.email-popup *::before,
.email-popup *::after {
    box-sizing: border-box;
}

.email-popup::backdrop {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.email-popup h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--color-text-main, #333);
    font-size: 1.5rem;
}

.email-popup p {
    color: #666;
    margin-bottom: 1.5rem;
}

.email-popup-textarea {
    width: 100%;
    max-width: 100%;
    height: 300px;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid #e1e4e8;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1.5;
    resize: vertical;
    background-color: #f9f9f9;
}

.email-popup-textarea:focus {
    outline: none;
    border-color: var(--color-primary, #007bff);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.email-popup-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.persuasion-kit-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
}

.persuasion-kit-content p {
    margin: 0;
    font-size: 0.95rem;
}

.persuasion-actions {
    flex: 0 0 auto;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .persuasion-actions {
        flex-direction: column;
        width: 100%;
    }

    .persuasion-actions .button {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }
}

.persuasion-btn-style {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    text-decoration: none;
}

/* Hero Back Link */
.hero-back-link {
    color: #fff;
    opacity: 0.8;
    text-decoration: none;
}

/* Details Section */
.workshop-details-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.details-column {
    /* Implicit width via grid */
}

.details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.details-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.icon-box {
    color: var(--color-primary);
    margin-top: 2px;
}

.detail-label {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-text-main);
}

.detail-block {
    margin-bottom: 1.5rem;
}

.detail-block h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--color-text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Takeaways / Agenda */
.takeaways-section {
    margin-top: 3rem;
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: var(--border-radius);
}

/* Dates Section */
.workshop-dates-section {
    margin-top: 3rem;
    background: #fff;
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid #eee;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.dates-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.date-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.date-info {
    flex: 1 1 300px;
}

.date-title {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-primary);
}

.date-meta {
    font-size: 0.95rem;
    margin-top: 5px;
}

.date-action {
    flex: 0 0 auto;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .date-action {
        align-items: flex-start;
        text-align: left;
    }
}

.custom-contact-row {
    padding-top: 0.5rem;
}

.workshop-footer-fallback {
    margin-top: 4rem;
    background: var(--color-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
}

@media (max-width: 768px) {
    .workshop-details-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Common Page Layout & Hero */
.page-hero-section {
    padding: 6rem 0;
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('../images/hero.png');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}

.page-hero-title {
    margin-bottom: 1rem;
    color: #fff !important;
}

.page-hero-subtitle {
    max-width: 600px;
    margin: 0 auto;
    color: #fff !important;
    opacity: 0.9;
    font-size: 1.2rem;
}

.main-content-container {
    margin: 4rem auto;
}

.empty-listings-message {
    text-align: center;
}