/* Masterclass FAQ – stronger styles to avoid theme overrides */
.mcfaq-wrap { max-width: 900px; margin: 32px auto; }
.mcfaq-title { font-size: 1.5rem; margin-bottom: 16px; }

.mcfaq-accordion { border-top: 1px solid #e5e5e5; }
.mcfaq-item { border-bottom: 1px solid #e5e5e5; }

.mcfaq-question {
    /* reset common theme button styles */
    all: unset;
    box-sizing: border-box;
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    cursor: pointer;

    /* explicit typography/colors to ensure text is visible */
    color: #111;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;

    /* ensure no theme borders/pills leak in */
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
}

.mcfaq-question:focus { outline: 2px solid #7ec4a6; outline-offset: 2px; }
.mcfaq-icon { font-weight: 700; transition: transform .2s ease; }

/* rotate icon when expanded */
.mcfaq-item[aria-expanded="true"] .mcfaq-icon,
.mcfaq-question[aria-expanded="true"] .mcfaq-icon { transform: rotate(45deg); }

.mcfaq-answer { padding: 0 0 12px 0; }
.mcfaq-answer-inner { opacity: 0.95; line-height: 1.6; }
