/* Match About/Privacy Typography */
.training-section p,
.training-section summary,
.training-section h2 {
    font-family: inherit;
    color: #2a2a2a;
}

/* Wrapper */
.training-section {
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 40px;
}

/* Header with right button */
.training-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.training-header h2 {
    font-size: 34px;
    font-weight: 700;
    color: #2c3e50;
}

/* Email Button */
.training-mail-btn {
    background: #4b79a1;
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.25s ease;
    cursor: pointer;
}

.training-mail-btn:hover {
    background: #283e51;
}

/* Intro paragraph */
.training-section p {
    font-size: 20px;
    line-height: 1.75;
    font-weight: 500;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto 40px auto;
}

/* Expandable list container */
.training-list details {
    background: #ffffff;
    border: 1px solid #e6e9ef;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    cursor: pointer;
}

/* Summary heading */
.training-list summary {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
}

/* Description inside details */
.training-list p {
    margin-top: 10px;
    margin-bottom: 10px !important; /* FIX: removes big empty space */
    font-size: 17px;
    color: #555;
    line-height: 1.6;
}

/* FIX: Remove default bullets */
.training-list ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

/* List items inside details */
.training-list ul li {
    margin: 6px 0;
    font-size: 16px;
    color: #444;
    font-weight: 500;
}

/* Mobile */
@media (max-width: 700px) {
    .training-header {
        flex-direction: column;
        gap: 15px;
    }
}
