/* ===== Repeater: Simple <ul> list (includes) ===== */
.mcas-list {margin: 0 0 1rem;padding-left: 1.2rem;}
.mcas-list li {margin:.25rem 0;}

/* ===== Repeater: Sections (course_curriculum) ===== */
/* .mcas-sections .mcas-section{padding: .75rem 0;border-bottom: 1px solid #eee;}
.mcas-sections .mcas-section:last-child { border-bottom: 0; }
.mcas-sections h3 {margin: 0 0 .25rem;font-size: 1.05rem;}
.mcas-sections p { margin: 0; line-height: 1.6;} */

/* ===== Repeater: Accordion (updated design) ===== */
.mcas-accordion-panel{
    overflow:hidden;
    max-height:0;
    opacity:0;
    transition:max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    padding:0 1.25rem;
}

/* Default button state */
button.mcas-accordion-header {background: var(--e-global-color-cfa1f76) !important;border: none !important; color:#000!important; cursor:pointer;font-size:var(--e-global-typography-520c191-font-size)!important;border-radius:5px!important;width:100%;text-align:left;padding:1.2rem 0.5rem;text-wrap:wrap;line-height:1.3rem;}

/* Hover effect when collapsed */
button.mcas-accordion-header:hover {color: var(--e-global-color-d49ac81);}
/* Expanded state */
.mcas-accordion-header[aria-expanded="true"] {background: var(--e-global-color-d49ac81) !important;color: #fff !important;}

/* Hover when expanded */
.mcas-accordion-header[aria-expanded="true"]:hover {
    color: #fff !important;
}

/* Parent background when expanded */
.mcas-accordion-item:has(.mcas-accordion-header[aria-expanded="true"]) {background: #f7f7f9;}
img.mcas-acc-icon{visibility:hidden;}
.mcas-accordion-header[aria-expanded="true"] + .mcas-accordion-panel {max-height: 500px;opacity: 1;padding:0.5rem;}
.mcas-accordion-item{margin-bottom:1rem;box-shadow: none;border-radius:5px;}
.mcas-accordion-panel ul{padding-left:20px;line-height:1.9rem;}

/* ===== Repeater: Testimonials slider (title_and_name + reivew) ===== */
.mcas-slider {position:relative;overflow: hidden;background: #fff;border: 1px solid #eee;border-radius:16px;padding:1rem 0;}
.mcas-slider-track {display: flex;transition: transform .45s ease;will-change:transform;}
.mcas-slide {
min-width: 100%;
padding: .5rem;
box-sizing: border-box;
}
.mcas-testimonial { display: block; }
.mcas-testi-content { display: block; }

.mcas-stars {
display: inline-flex;
gap: 4px;
margin-bottom: .25rem;
}
.mcas-star {
width: 18px;
height: 18px;
fill: #ffc107; /* yellow */
}

.mcas-testi-title {
margin: 0 0 .25rem;
font-size: 1.05rem;
font-weight: 700;
}
.mcas-testi-text { margin: 0; color: #333; line-height: 1.6; }

/* Slider controls */
.mcas-slider-nav {
display: flex;
gap: .5rem;
justify-content: center;
margin-top: .75rem;
}
.mcas-prev,
.mcas-next {
background: #111;
color: #fff;
border: none;
padding: .5rem .8rem;
border-radius: 999px;
cursor: pointer;
}
.mcas-accordion-item .mcas-accordion-header {
    background-color: #F8F8FF!important;
    font-size: 16px!important;
    line-height: 24px!important;
    font-weight: 500!important;
    font-family: "Inter", sans-serif!important;
    color: #331869!important;
}

.mcas-prev:hover,
.mcas-next:hover { opacity: .9; }

.mcas-acc-icon {width:14px;height:12px!important;margin-left:8px;transition: transform 0.2s ease;}
.mcas-accordion-header[aria-expanded="true"] .mcas-acc-icon { transform: rotate(90deg);}