/* ======================
   DETAILS ACCORDION — MAS v3.0.0
   ====================== */
details {
    margin: 10px 0;
    border-radius: 12px;
    overflow: hidden;
    border: none;
    box-shadow: 0 3px 14px rgba(26,77,179,0.13), 0 1px 4px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s ease;
}

details:hover {
    box-shadow: 0 6px 22px rgba(26,77,179,0.2), 0 2px 6px rgba(0,0,0,0.08);
}

details[open] {
    box-shadow: 0 6px 24px rgba(254,89,0,0.2), 0 2px 6px rgba(0,0,0,0.07);
}

details summary {
    list-style: none;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 48px;
    height: auto;
    padding: 10px 48px 10px 70px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: var(--mas-orange-soft);
    letter-spacing: 0.01em;
    background: linear-gradient(135deg, var(--mas-blue-dark) 0%, var(--mas-blue-bright) 40%, var(--mas-blue) 70%, var(--mas-blue-bright) 100%);
    transition: background 0.3s ease;
    overflow: visible;
    white-space: normal;
    word-break: break-word;
    line-height: 1.4;
    box-sizing: border-box;
}

details[open] summary {
    background: linear-gradient(135deg, var(--mas-orange-dark) 0%, var(--mas-orange-bright) 40%, var(--mas-orange) 70%, var(--mas-orange-bright) 100%);
}

details summary::-webkit-details-marker {
    display: none;
}

details summary::before {
    content: "✦";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 56px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: var(--mas-orange-soft);
    background: linear-gradient(135deg, var(--mas-orange) 0%, var(--mas-orange-bright) 60%, var(--mas-orange-dark) 100%);
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
    transition: background 0.3s ease;
}

details[open] summary::before {
    background: linear-gradient(135deg, var(--mas-blue-bright) 0%, var(--mas-blue) 60%, var(--mas-blue-bright) 100%);
}

details summary::after {
    content: "▶";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: var(--mas-orange-soft);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

details[open] summary::after {
    transform: translateY(-50%) rotate(90deg);
}

details > *:not(summary) {
    background: linear-gradient(160deg, var(--mas-orange-soft) 0%, var(--mas-orange-bg) 100%);
    border: 1.5px solid rgba(254,89,0,0.35);
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 14px 18px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: var(--mas-orange-dark);
    line-height: 1.7;
    margin: 0;
}

details summary strong {
    color: var(--mas-orange-soft) !important;
}

@media (max-width: 600px) {
    details summary {
        font-size: 12px;
        padding: 10px 44px 10px 64px;
        min-height: 44px;
    }

    details summary::before {
        width: 50px;
        font-size: 11px;
        min-height: 44px;
    }

    details summary::after {
        right: 10px;
        width: 24px;
        height: 24px;
        font-size: 10px;
    }

    details > *:not(summary) {
        font-size: 12px;
        padding: 12px 14px 14px;
    }
}
