/* Accordion Layout */
.ea-86ad6a34-wrapper {
    width: 100%;
    overflow: hidden;
    background: #fff;
    /* Default border styles if not overridden by controls */
    border: 1px solid transparent; 
}

.ea-86ad6a34-item {
    transition: all 0.3s ease;
}

.ea-86ad6a34-header {
    display: flex;
    align-items: center;
    padding: 20px 30px;
    cursor: pointer;
    position: relative;
    user-select: none;
    flex-wrap: nowrap; /* Prevent wrapping to maintain alignment */
    gap: 20px;
}

.ea-86ad6a34-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Fixed width for date column to ensure consistent alignment */
    width: 80px;
    min-width: 80px;
	max-width: 80px;
    flex-shrink: 0;
	overflow: visible;
}

.ea-86ad6a34-month {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.ea-86ad6a34-day {
    font-size: 28px;
    font-weight: 400;
    line-height: 1;
    font-family: serif;
    white-space: nowrap; /* Prevent date range from wrapping */
}

.ea-86ad6a34-year {
    font-size: 11px;
    margin-top: 2px;
}

.ea-86ad6a34-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    /* Fixed width for badge column */
    width: 120px; 
    min-width: 120px;
    flex-shrink: 0;
}

.ea-86ad6a34-badge i {
    font-size: 16px;
    margin-bottom: 5px;
}

.ea-86ad6a34-badge svg {
    width: 16px;
    height: 16px;
    margin-bottom: 5px;
}

.ea-86ad6a34-header-content {
    flex-grow: 1;
    /* Ensure text truncates properly if space is limited */
    min-width: 0;
}

.ea-86ad6a34-title {
    margin: 0 0 5px 0;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
    overflow: visible;
    text-overflow: ellipsis;
}

.ea-86ad6a34-subtitle {
    font-size: 14px;
    margin: 0;
    white-space: nowrap;
    overflow: visible;
    text-overflow: ellipsis;
}

.ea-86ad6a34-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.ea-86ad6a34-chevron {
    transition: transform 0.3s ease;
}

.ea-86ad6a34-item.is-active .ea-86ad6a34-chevron {
    transform: rotate(-180deg);
}

.ea-86ad6a34-item.is-active .ea-86ad6a34-toggle-text {
    opacity: 0;
}

/* Accordion Content */
.ea-86ad6a34-content {
    border-top: 1px solid transparent;
}

.ea-86ad6a34-content-inner {
    /* Align with the LEFT EDGE of the text content: 
       30px (header padding) + 80px (date width) + 20px (gap) + 120px (badge width) + 20px (gap) = 270px padding left */
    padding: 0 30px 30px 130px; 
}

.ea-86ad6a34-desc {
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 14px;
}

/* Button Styling Fix to Match Reference */
.ea-86ad6a34-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    box-sizing: border-box;
    /* Force consistent rendering */
    height: 42px; 
    line-height: 1;
    min-width: 100px;
}

button.ea-86ad6a34-btn,
a.ea-86ad6a34-btn {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    /* Tablet layout */
    .ea-86ad6a34-header {
        flex-wrap: wrap;
    }
    
	    .ea-86ad6a34-date {
        width: auto;        /* ADD THIS */
        min-width: unset;   /* ADD THIS */
        max-width: unset;   /* ADD THIS */
    }
	
    .ea-86ad6a34-header-content {
        flex-basis: 100%;
        order: 4;
        margin-top: 10px;
    }
    
    .ea-86ad6a34-toggle {
        margin-left: auto;
    }
    
    .ea-86ad6a34-content-inner {
        padding: 0 30px 30px 30px;
    }
}

@media (max-width: 768px) {
    /* Mobile layout */
    .ea-86ad6a34-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 15px;
    }
    
    .ea-86ad6a34-date {
        flex-direction: row;
        gap: 10px;
        align-items: baseline;
        width: auto; /* Reset fixed width on mobile */
		min-width: unset;
        max-width: unset;
    }
    
    .ea-86ad6a34-day {
        font-size: 24px;
    }
    
    .ea-86ad6a34-badge {
        width: auto; /* Reset fixed width on mobile */
        flex-direction: row;
        padding: 6px 12px;
        gap: 8px;
    }
    
    .ea-86ad6a34-badge i,
    .ea-86ad6a34-badge svg {
        margin-bottom: 0;
    }
    
    .ea-86ad6a34-header-content {
        order: unset;
        margin-top: 0;
        width: 100%;
    }
    
    .ea-86ad6a34-title {
        white-space: normal;
    }
    
    .ea-86ad6a34-toggle {
        position: absolute;
        top: 20px;
        right: 20px;
        margin-left: 0;
    }
    
    .ea-86ad6a34-toggle-text {
        display: none;
    }
    
    .ea-86ad6a34-content-inner {
        padding: 0 20px 20px 20px;
    }
}

/* Modal Overlay Styles */
.ea-86ad6a34-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ea-86ad6a34-modal-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.ea-86ad6a34-modal {
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(20px) scale(0.98);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

.ea-86ad6a34-modal-overlay.is-active .ea-86ad6a34-modal {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.ea-86ad6a34-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e9ecef;
}

.ea-86ad6a34-modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.ea-86ad6a34-modal-close {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.ea-86ad6a34-modal-close:hover {
    background-color: rgba(0,0,0,0.05);
}

.ea-86ad6a34-modal-body {
	padding: 0 24px 24px;
    overflow-y: auto;
}