/* --- Case Study Container --- */
.case-study {
    margin-top: 0;
    line-height: 1.6;
}

/* --- Table Styling (Only inside Case Studies) --- */
.case-study table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 1rem;
    background-color: #fff;
}

.case-study table th, 
.case-study table td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #ddd;
}

.case-study table thead tr {
    background-color: #f2f2f2;
    color: #333;
    font-weight: bold;
}

.case-study table tbody tr:nth-of-type(even) {
    background-color: #fafafa;
}

/* --- Accordion / Details Styling --- */
.case-study details {
    margin-bottom: 1.5rem;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 1rem;
    background-color: #ffffff;
}

.case-study summary {
    font-weight: bold;
    cursor: pointer;
    font-size: 1.2rem;
    color: #222;
}

.case-study summary:hover {
    color: #007bff; /* Subtle blue hover to show it's clickable */
}

/* --- Content Elements --- */
.case-study h3 {
    margin-top: 1.5rem;
    color: #333;
}

.case-study blockquote {
    border-left: 5px solid #333;
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    font-style: italic;
    background: #f9f9f9;
    color: #555;
}

.case-study ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.case-study li {
    margin-bottom: 0.75rem;
}

/* --- Mobile Responsiveness --- */
@media screen and (max-width: 600px) {
    .case-study table {
        font-size: 0.85rem;
    }
    .case-study table th, 
    .case-study table td {
        padding: 8px;
    }
}