/* Event Track Detail Block - Frontend Styles */

.etd-event-track-detail {
    --etd-primary: #e57f6d;
    --etd-secondary: #f5a29a;
    --etd-primary-dark: #d46a55;
    --etd-secondary-dark: #e68575;
    --etd-primary-text: #1a2c57;
    --etd-primary-light: #fce8e4;
    --etd-secondary-light: #fdf1ef;

    background-color: #f9fafb;
    font-family: 'Inter', system-ui, sans-serif;
}

.etd-event-track-detail.etd-theme-warm-coral {
    --etd-primary: #e57f6d;
    --etd-secondary: #f5a29a;
    --etd-primary-dark: #d46a55;
    --etd-secondary-dark: #e68575;
    --etd-primary-text: #1a2c57;
    --etd-primary-light: #fce8e4;
    --etd-secondary-light: #fdf1ef;

    background: linear-gradient(135deg, #e68576 0%, #c96b5c 25%, #1a2c57 70%, #152344 100%);
    color: #ffffff;
}

.etd-event-track-detail.etd-theme-green {
    --etd-primary: #14b8a6;
    --etd-secondary: #059669;
    --etd-primary-dark: #0d9488;
    --etd-secondary-dark: #047857;
    --etd-primary-text: #0f766e;
    --etd-primary-light: #ccfbf1;
    --etd-secondary-light: #d1fae5;
}

.etd-event-track-detail.etd-theme-blue-purple {
    --etd-primary: #3b82f6;
    --etd-secondary: #8b5cf6;
    --etd-primary-dark: #2563eb;
    --etd-secondary-dark: #7c3aed;
    --etd-primary-text: #1d4ed8;
    --etd-primary-light: #dbeafe;
    --etd-secondary-light: #ede9fe;
}

.etd-event-track-detail.etd-theme-light {
    --etd-primary: #2563eb;
    --etd-secondary: #7c3aed;
    --etd-primary-dark: #1e40af;
    --etd-secondary-dark: #6d28d9;
    --etd-primary-text: #1f2937;
    --etd-primary-light: #f1f5f9;
    --etd-secondary-light: #f3e8ff;

    background-color: #ffffff;
}

.etd-event-track-detail.etd-theme-dark {
    --etd-primary: #0b5ea8;
    --etd-secondary: #7c3aed;
    --etd-primary-dark: #063c6a;
    --etd-secondary-dark: #4c1d95;
    --etd-primary-text: #e6eefc;
    --etd-primary-light: rgba(255,255,255,0.06);
    --etd-secondary-light: rgba(255,255,255,0.03);

    background: linear-gradient(180deg,#08223f,#2b1f2f);
    color: var(--etd-primary-text);
}

/*
   Ensure true edge-to-edge full width even if the theme applies constraints
   (common with `.alignfull` blocks inside padded containers).
*/
.wp-block-etd-event-track-detail.alignfull,
.etd-event-track-detail.alignfull {
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    max-width: 100vw !important;
    width: 100vw !important;
}

.etd-container {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding: 5rem 1.5rem;
    overflow: visible;
}

/* For community layouts, ensure overflow for extended items */
@media (min-width: 1024px) {
    .etd-event-community .etd-container {
        overflow: visible;
    }
}

.etd-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
    position: relative;
}

@media (min-width: 1024px) {
    .etd-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    /* For community layouts, allow overflow for the breakout section */
    .etd-event-community .etd-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        overflow: visible;
    }
    
    .etd-event-community.etd-layout-content-right .etd-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Layout modifier: allow swapping content and image columns on desktop */
@media (min-width: 1024px) {
    .etd-layout-content-right .etd-content-column {
        order: 2;
    }

    .etd-layout-content-right .etd-image-column {
        order: 1;
    }
}

/* Content Column */
.etd-content-column {
    order: 2;
}

@media (min-width: 1024px) {
    .etd-content-column {
        order: 1;
    }
    
    /* For community layout, add overflow visible to allow items to extend */
    .etd-event-community .etd-content-column {
        overflow: visible;
        padding-right: 0;
    }
    
    /* When content is on the right, keep overflow visible */
    .etd-event-community.etd-layout-content-right .etd-content-column {
        padding-right: 0;
        padding-left: 0;
    }
}

/* Badge */
.etd-badge-container {
    margin-bottom: 1.5rem;
}

.etd-badge {
    display: inline-block;
    background: linear-gradient(to right, var(--etd-primary), var(--etd-secondary));
    color: white;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: rotate(-1deg);
}

.etd-event-track-detail.etd-theme-warm-coral .etd-badge {
    background: #26345d;
}

.etd-event-track-detail.etd-theme-warm-coral .etd-main-heading {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.etd-event-track-detail.etd-theme-warm-coral .etd-subheading {
    color: #fef3c7;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.etd-event-track-detail.etd-theme-warm-coral .etd-body-text {
    color: #f5f5f5;
}

.etd-event-track-detail.etd-theme-warm-coral .etd-body-text strong {
    color: #ffffff;
    font-weight: 700;
}

.etd-main-heading {
    font-size: 3rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.etd-subheading {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--etd-primary-text);
    margin-bottom: 1.5rem;
}

/* Body Text */
.etd-body-text {
    font-size: 1.125rem;
    color: #374151;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.etd-body-text:last-of-type {
    margin-bottom: 2.5rem;
}

.etd-body-text strong {
    font-weight: 600;
    color: #111827;
}

/* When Section */
.etd-when-section {
    background: var(--etd-primary-dark);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.etd-event-track-detail.etd-theme-warm-coral .etd-when-section {
    background: #1a2c57;
}

.etd-event-track-detail.etd-theme-warm-coral .etd-when-icon {
    background-color: rgba(255, 255, 255, 0.2);
}

.etd-when-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.etd-when-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.etd-when-icon i {
    color: white;
    font-size: 1.25rem;
}

.etd-when-label {
    color: white !important;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0;
}

.etd-when-date {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

/* Ideal For Section */
.etd-ideal-for-section {
    margin-bottom: 2.5rem;
    position: relative;
}

/* For community layout, break section out to span full width below the grid */
@media (min-width: 1024px) {
    .etd-event-community .etd-ideal-for-section {
        /* Break out of the column to span full container width */
        width: 200%;
        margin-left: 0;
        margin-bottom: 0;
        margin-top: 2rem;
    }
    
    .etd-event-community .etd-ideal-for-section .etd-section-title {
        width: 50%;
        margin-bottom: 2rem;
    }
    
    /* When image is on right (content-right), shift the breakout the other direction */
    .etd-event-community.etd-layout-content-right .etd-ideal-for-section {
        margin-left: -100%;
    }
    
    .etd-event-community.etd-layout-content-right .etd-ideal-for-section .etd-section-title {
        margin-left: auto;
        text-align: right;
        justify-content: flex-end;
    }
}

.etd-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.etd-event-track-detail.etd-theme-warm-coral .etd-section-title {
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.etd-event-track-detail.etd-theme-warm-coral .etd-title-bar {
    background-color: #fbbf24;
}

.etd-title-bar {
    width: 0.25rem;
    height: 2rem;
    background-color: var(--etd-primary-dark);
    border-radius: 9999px;
}

.etd-ideal-for-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

/* Tablet: Keep standard grid */
@media (min-width: 768px) and (max-width: 1023px) {
    .etd-ideal-for-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

/* Community layout specific: Zigzag alternating left/right pattern across full width */
@media (min-width: 1024px) {
    .etd-event-community .etd-ideal-for-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
        position: relative;
    }
    
    /* Cards alternate left and right in zigzag pattern with overlap */
    .etd-event-community .etd-ideal-for-item {
        width: 48%;
        max-width: none;
        margin-bottom: -3rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    }
    
    .etd-event-community .etd-ideal-for-item:last-child {
        margin-bottom: 0;
    }
    
    /* Odd items (1, 3) align left */
    .etd-event-community .etd-ideal-for-item:nth-child(odd) {
        margin-left: 2%;
        margin-right: auto;
        z-index: 2;
    }
    
    /* Even items (2, 4) align right */
    .etd-event-community .etd-ideal-for-item:nth-child(even) {
        margin-left: auto;
        margin-right: 2%;
        z-index: 1;
    }
    
    /* Hover brings card to front */
    .etd-event-community .etd-ideal-for-item:hover {
        z-index: 10;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    }
    
    /* === IMAGE ON RIGHT (content-right): Mirror the zigzag === */
    /* Odd items (1, 3) align right */
    .etd-event-community.etd-layout-content-right .etd-ideal-for-item:nth-child(odd) {
        margin-left: auto;
        margin-right: 2%;
    }
    
    /* Even items (2, 4) align left */
    .etd-event-community.etd-layout-content-right .etd-ideal-for-item:nth-child(even) {
        margin-left: 2%;
        margin-right: auto;
    }
}

.etd-ideal-for-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background-color: white;
    padding: 1.25rem;
    border-radius: 0.75rem;
    border-left-width: 4px;
    border-left-style: solid;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.etd-ideal-for-item:hover {
    box-shadow: 0 8px 12px -2px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Community items: vertical layout with title on top */
.etd-event-community .etd-ideal-for-item {
    flex-direction: column;
    padding: 1.25rem 1.5rem;
    align-items: flex-start;
    gap: 0;
    border-radius: 0.875rem;
    border-left-width: 5px;
    background-color: #ffffff;
}

.etd-border-teal {
    border-left-color: var(--etd-primary);
}

.etd-border-emerald {
    border-left-color: var(--etd-secondary);
}

/* Dark theme element adjustments */
.etd-event-track-detail.etd-theme-dark .etd-ideal-for-item {
    background-color: rgba(255,255,255,0.03);
    box-shadow: none;
}

.etd-event-track-detail.etd-theme-dark .etd-ideal-for-item:hover {
    background-color: rgba(255,255,255,0.05);
    box-shadow: 0 8px 12px -2px rgba(0, 0, 0, 0.3);
}

.etd-event-track-detail.etd-theme-dark .etd-ideal-for-text,
.etd-event-track-detail.etd-theme-dark .etd-main-heading,
.etd-event-track-detail.etd-theme-dark .etd-section-title,
.etd-event-track-detail.etd-theme-dark .etd-subheading,
.etd-event-track-detail.etd-theme-dark .etd-body-text {
    color: var(--etd-primary-text);
}

.etd-event-track-detail.etd-theme-dark .etd-body-text strong {
    color: var(--etd-primary-text);
}

/* Dark theme: make floating badge more visible */
.etd-event-track-detail.etd-theme-dark .etd-floating-badge {
    background: linear-gradient(to right, var(--etd-primary), var(--etd-secondary));
    border: 2px solid var(--etd-primary-dark);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

/* Dark theme: make floating badge legible */
.etd-event-track-detail.etd-theme-dark .etd-floating-badge {
    background-color: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.06);
    box-shadow: 0 10px 20px rgba(0,0,0,0.25);
}

.etd-event-track-detail.etd-theme-dark .etd-floating-badge-label {
    color: rgba(255,255,255,0.75);
}

.etd-event-track-detail.etd-theme-dark .etd-floating-badge-value {
    color: var(--etd-primary-text);
}

/* Dark theme: takeaways card adjustments */
.etd-event-track-detail.etd-theme-dark .etd-takeaways-section {
    background-color: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.04);
    box-shadow: none;
}

.etd-event-track-detail.etd-theme-dark .etd-takeaways-title {
    color: var(--etd-primary-text);
}

.etd-event-track-detail.etd-theme-dark .etd-takeaway-item p {
    color: rgba(255,255,255,0.85);
}

.etd-event-track-detail.etd-theme-dark .etd-takeaway-bullet {
    background-color: var(--etd-primary-light);
}

/* Dark theme: improve contrast for the small 'ideal for' icons */
.etd-event-track-detail.etd-theme-dark .etd-ideal-for-icon {
    background-color: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.04);
}

.etd-event-track-detail.etd-theme-dark .etd-bg-teal i,
.etd-event-track-detail.etd-theme-dark .etd-bg-emerald i {
    color: var(--etd-primary-text);
}

.etd-ideal-for-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.etd-bg-teal {
    background-color: var(--etd-primary-light);
}

.etd-bg-teal i {
    color: var(--etd-primary-dark);
}

.etd-bg-emerald {
    background-color: var(--etd-secondary-light);
}

.etd-bg-emerald i {
    color: var(--etd-secondary-dark);
}

.etd-ideal-for-text {
    color: #1f2937;
    font-weight: 500;
    font-size: 1.125rem;
    margin: 0;
}

/* Community block: Title and description layout */
.etd-event-community .etd-ideal-for-text {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: #1e3a5f;
    line-height: 1.3;
}

.etd-event-community .etd-experience-description {
    font-size: 0.925rem;
    color: #4b5563;
    line-height: 1.55;
    margin: 0;
}

.etd-event-track-detail.etd-theme-warm-coral .etd-ideal-for-text {
    color: #1a2c57;
    font-weight: 500;
}

/* Community block specific styles */
.etd-event-community .etd-badge {
    background: #1f2937; /* Dark gray background for contrast */
    color: white;
}

.etd-experience-content {
    width: 100%;
}

.etd-experience-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.5rem 0;
}

.etd-experience-description {
    font-size: 0.95rem;
    color: #4b5563;
    line-height: 1.5;
    margin: 0;
}

/* Community block: Enhance experience items */
.etd-event-community .etd-ideal-for-item {
    padding: 1.25rem 1.5rem;
}

.etd-event-community .etd-ideal-for-icon {
    display: none; /* Hide icons in community layout as per mockup */
    margin-bottom: 0;
}

/* Takeaways Section - now in right column below image */
.etd-takeaways-section {
    background-color: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    margin-top: 3rem;
}

.etd-takeaways-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.etd-star-icon {
    color: #eab308;
    font-size: 1.5rem;
}

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

.etd-takeaway-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.etd-takeaway-item:last-child {
    margin-bottom: 0;
}

.etd-takeaway-bullet {
    width: 0.5rem;
    height: 0.5rem;
    background-color: var(--etd-primary-dark);
    border-radius: 50%;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.etd-takeaway-item p {
    color: #374151;
    font-size: 1.125rem;
    margin: 0;
}

/* Call to Action Section */
.etd-cta-section {
    background: linear-gradient(135deg, var(--etd-primary-dark) 0%, var(--etd-secondary-dark) 100%);
    border-radius: 1.25rem;
    padding: 3rem;
    margin-top: 3rem;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 0 40px rgba(229, 127, 109, 0.3);
}

.etd-cta-headline {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.etd-cta-lead-text {
    font-size: 1.25rem;
    line-height: 1.6;
    margin: 0 0 2rem 0;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.etd-cta-buttons {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    width: 100%;
}

.etd-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    flex: 1 1 auto;
    min-width: 0;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.etd-cta-button-primary {
    background: white;
    color: var(--etd-primary-text);
}

.etd-cta-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.etd-cta-button-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.etd-cta-button-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Warm Coral theme specific CTA styling */
.etd-event-track-detail.etd-theme-warm-coral .etd-cta-section {
    background: linear-gradient(145deg, #f5a99e 0%, #eda090 50%, #e8917f 100%);
    color: #1a2c57;
    border: none;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2), 0 0 60px rgba(229, 127, 109, 0.3);
}

.etd-event-track-detail.etd-theme-warm-coral .etd-cta-section .etd-cta-headline {
    color: #1a2c57;
    font-size: 2rem;
}

.etd-event-track-detail.etd-theme-warm-coral .etd-cta-section .etd-cta-lead-text {
    color: #1a2c57;
    font-size: 1.25rem;
}

.etd-event-track-detail.etd-theme-warm-coral .etd-cta-section .etd-cta-button-primary {
    background: #ffffff;
    color: #d46a55;
    font-size: 1.125rem;
    padding: 1rem 2.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.etd-event-track-detail.etd-theme-warm-coral .etd-cta-section .etd-cta-button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
}

.etd-event-track-detail.etd-theme-warm-coral .etd-cta-section .etd-cta-button-secondary {
    color: #1a2c57;
    border-color: #1a2c57;
    background: transparent;
    font-size: 1.125rem;
    padding: 1rem 2.5rem;
    border-width: 2px;
}

.etd-event-track-detail.etd-theme-warm-coral .etd-cta-section .etd-cta-button-secondary:hover {
    background: rgba(26, 44, 87, 0.1);
}

/* Responsive CTA buttons */
@media (max-width: 768px) {
    .etd-cta-buttons {
        flex-direction: column;
    }

    .etd-cta-button {
        width: 100%;
    }
}

/* Image Column */
.etd-image-column {
    order: 1;
}

@media (min-width: 1024px) {
    .etd-image-column {
        order: 2;
    }
    
    /* For community layouts, ensure adequate spacing to prevent overlap */
    .etd-event-community .etd-image-column {
        padding-top: 0;
        min-height: 500px;
    }
}

.etd-image-wrapper {
    position: relative;
}

.etd-blur-circle {
    position: absolute;
    width: 18rem;
    height: 18rem;
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(48px);
}

.etd-blur-teal {
    top: -1.5rem;
    left: -1.5rem;
    background-color: var(--etd-primary-light);
}

.etd-blur-emerald {
    bottom: -1.5rem;
    right: -1.5rem;
    background-color: var(--etd-secondary-light);
}

.etd-image-container {
    position: relative;
    background-color: white;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    border: 8px solid white;
}

.etd-image-inner {
    height: 600px;
    overflow: hidden;
    position: relative;
}

/* For community layouts with tall images, increase height and ensure proper containment */
@media (min-width: 1024px) {
    .etd-event-community .etd-image-inner {
        min-height: 500px;
        max-height: 700px;
        height: auto;
    }
}

.etd-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.etd-floating-badge {
    position: absolute;
    bottom: -2rem;
    left: 2rem;
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    border: 1px solid #f3f4f6;
    max-width: 16rem;
}

.etd-floating-badge-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.etd-floating-badge-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(to bottom right, var(--etd-primary), var(--etd-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.etd-floating-badge-icon i {
    color: white;
    font-size: 1.25rem;
}

.etd-floating-badge-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
    margin: 0;
}

.etd-floating-badge-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

/* Import Inter font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ==================== PRICING BLOCK STYLES ==================== */

.etd-event-pricing {
    background: linear-gradient(180deg, #1e3a5f 0%, #2d4a6f 50%, #1e3a5f 100%);
    background-size: 100% 200%;
    padding: 4rem 1.5rem;
    font-family: 'Inter', system-ui, sans-serif;
    position: relative;
    overflow: hidden;
}

/* Full width for pricing block */
.wp-block-etd-event-pricing.alignfull,
.etd-event-pricing.alignfull {
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    max-width: 100vw !important;
    width: 100vw !important;
}

.etd-pricing-container {
    max-width: 75rem;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Header Section */
.etd-pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.etd-pricing-header-text {
    color: #60a5fa !important;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
}

.etd-pricing-main-heading {
    color: #ffffff !important;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .etd-pricing-main-heading {
        font-size: 2.5rem;
    }
}

.etd-pricing-subheading {
    color: #93c5fd !important;
    font-size: 1rem;
    font-weight: 500;
    margin: 0 0 0.5rem 0;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .etd-pricing-subheading {
        font-size: 1.125rem;
    }
}

.etd-pricing-disclaimer {
    color: #bfdbfe !important;
    font-size: 0.75rem;
    margin: 0;
    font-style: italic;
}

/* Attendance Mode Badge */
.etd-pricing-attendance-badge {
    display: inline-block;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
    color: #1f2937 !important;
    font-size: 1.125rem;
    font-weight: 800;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    margin: 0 auto 3rem;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    letter-spacing: 0.05em;
}

/* Tier Badge */
.etd-pricing-tier-badge {
    display: inline-block;
    background: linear-gradient(135deg, #06b6d4 0%, #0284c7 100%) !important;
    color: #ffffff !important;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.625rem 2rem;
    border-radius: 9999px;
    margin: 0 0 1.5rem 0;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(6, 182, 212, 0.4);
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% {
        box-shadow: 0 4px 14px rgba(6, 182, 212, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(6, 182, 212, 0.6);
    }
}

/* Pricing Cards Grid */
/* Pricing Boxes Container */
.etd-pricing-boxes {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
    max-width: 64rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .etd-pricing-boxes {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

/* Individual Pricing Box */
.etd-pricing-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid transparent;
    display: flex;
    flex-direction: column;
}

.etd-pricing-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16), 0 4px 12px rgba(0, 0, 0, 0.1);
}

.etd-pricing-box-member {
    border-color: #3b82f6;
}

.etd-pricing-box-nonmember {
    border-color: #8b5cf6;
}

/* One Day Box */
.etd-pricing-box-oneday {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 3px solid #f59e0b;
    max-width: 36rem;
    margin: 0 auto 2rem;
}

.etd-pricing-box-oneday .etd-pricing-box-title {
    color: #1e3a5f !important;
}

.etd-pricing-box-oneday .etd-pricing-option-label {
    color: #1e3a5f !important;
}

.etd-pricing-box-oneday .etd-pricing-box-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.etd-pricing-oneday-icon {
    font-size: 1.75rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.etd-pricing-box-oneday .etd-pricing-option {
    padding: 1rem 0;
}

.etd-pricing-box-oneday .etd-pricing-option-label {
    font-size: 1.125rem;
}

.etd-pricing-box-oneday .etd-pricing-option-price {
    color: #f59e0b !important;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.5rem;
}

/* Box Title */
.etd-event-pricing .etd-pricing-box-title {
    color: #1e3a5f !important;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin: 0 !important;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(30, 58, 95, 0.2);
    letter-spacing: 0.05em;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.etd-pricing-box-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
    margin-top: 0.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    text-align: center;
}

.etd-pricing-box-badge-date {
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    opacity: 0.95;
    font-style: italic;
}

/* Pricing Option Row */
.etd-pricing-option {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.875rem 0;
    border-bottom: 1px solid rgba(30, 58, 95, 0.1);
}

.etd-pricing-option:last-child {
    border-bottom: none;
}

/* Button per pricing option */
.etd-pricing-option-button {
    display: inline-block;
    padding: 0.625rem 1.5rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
    white-space: nowrap;
}

.etd-pricing-option-button:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.etd-pricing-box-nonmember .etd-pricing-option-button {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.etd-pricing-box-nonmember .etd-pricing-option-button:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.etd-pricing-box-oneday .etd-pricing-option-button {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.etd-pricing-box-oneday .etd-pricing-option-button:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.etd-pricing-option-centered {
    justify-content: center;
    gap: 2rem;
    border-bottom: none;
}

/* Left side of option */
.etd-pricing-option-left {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-start;
    justify-content: flex-end;
    height: 100%;
}

.etd-pricing-option-label {
    color: #1e3a5f !important;
    font-size: 1.125rem;
    font-weight: 600;
    align-self: center;
}

.etd-pricing-option-subtitle {
    color: #8b5cf6 !important;
    font-size: 0.875rem;
    font-style: italic;
    font-weight: 500;
}

.etd-pricing-option-price-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.125rem;
}

.etd-pricing-option-original {
    color: #6b7280 !important;
    font-size: 1.375rem;
    font-weight: 600;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: #ef4444;
    opacity: 0.85;
}

.etd-pricing-option-price {
    color: #1e40af !important;
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

/* Register Button for Each Box */
.etd-pricing-box-button {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    color: #ffffff !important;
    font-size: 1rem;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none !important;
    text-align: center;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.025em;
    border: none;
    cursor: pointer;
    margin-top: auto;
    padding-top: 1.5rem;
}

.etd-pricing-box-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%) !important;
    color: #ffffff !important;
}

.etd-pricing-box-member .etd-pricing-box-button {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
}

.etd-pricing-box-member .etd-pricing-box-button:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%) !important;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.etd-pricing-box-nonmember .etd-pricing-box-button {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%) !important;
}

.etd-pricing-box-nonmember .etd-pricing-box-button:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%) !important;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.etd-pricing-box-button-oneday {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    padding: 1.125rem 2.5rem;
    font-size: 1.0625rem;
}

.etd-pricing-box-button-oneday:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* Tier Info Banner */
.etd-pricing-tier-info {
    text-align: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 0.75rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.etd-pricing-tier-name {
    color: #ffffff !important;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.etd-pricing-tier-expires {
    display: block;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    font-style: italic;
}

/* Main Register Button - Secondary Style */
.etd-pricing-button-wrapper {
    text-align: center;
    margin-bottom: 2rem;
    padding-top: 1rem;
}

.etd-pricing-button {
    display: inline-block;
    background: transparent !important;
    color: #ffffff !important;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.875rem 2.5rem;
    border-radius: 0.5rem;
    text-decoration: none !important;
    box-shadow: none;
    transition: all 0.3s ease;
    letter-spacing: 0.025em;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
}

.etd-pricing-button:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: #ffffff !important;
    transform: none;
}

/* Footer Section */
.etd-pricing-footer {
    text-align: center;
    max-width: 50rem;
    margin: 0 auto;
}
.etd-pricing-footer-text {
    color: #ffffff !important;
    font-size: 0.875rem;
    margin: 0 0 0.5rem 0;
}

.etd-pricing-footer-subtext {
    color: #93c5fd !important;
    font-size: 0.875rem;
    margin: 0;
}

/* Additional specificity overrides for theme compatibility */
.etd-event-pricing .etd-pricing-header-text,
.etd-event-pricing .etd-pricing-main-heading,
.etd-event-pricing .etd-pricing-subheading,
.etd-event-pricing .etd-pricing-disclaimer,
.etd-event-pricing .etd-pricing-footer-text,
.etd-event-pricing .etd-pricing-footer-subtext {
    text-align: center;
}

.etd-event-pricing .etd-pricing-box-title,
.etd-event-pricing .etd-pricing-option {
    /* Pricing box specific overrides */
}

/* Ensure background is applied */
.wp-block-etd-event-pricing,
.etd-event-pricing {
    background: linear-gradient(180deg, #1e3a5f 0%, #2d4a6f 50%, #1e3a5f 100%) !important;
}

/* Editor Specific Styles */
.editor-styles-wrapper .etd-event-pricing {
    margin: 2rem 0;
}

