/* === Terapia del Soffio === */
/* Colore tematico: verde giada / guarigione */

.exercise-title {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3d8b6f;
}

.exercise-number {
    display: inline-block;
    background: #3d8b6f;
    color: white;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8em;
    margin-right: 10px;
    vertical-align: middle;
}

.exercise-number.intro-badge {
    background: #2c6450;
}

.exercise-number.danger-badge {
    background: var(--danger-color);
}

/* Intro / header */
.instructions-header {
    background: #e6f2ee;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    border-left: 4px solid #3d8b6f;
}

.instructions-header h3 {
    color: #2c6450;
    margin-bottom: 10px;
}

.instructions-header p {
    margin-bottom: 8px;
}

.instructions-header p:last-child {
    margin-bottom: 0;
}

/* Schede a pannello per fasi */
.phase-card {
    background: #eaf4f0;
    padding: 18px 20px;
    border-radius: 10px;
    margin: 16px 0;
    border-left: 4px solid #3d8b6f;
}

.phase-card h4 {
    color: #2c6450;
    margin-bottom: 12px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.phase-card .phase-tag {
    background: #3d8b6f;
    color: white;
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.phase-card ul,
.phase-card ol {
    margin-left: 20px;
}

.phase-card li {
    margin: 8px 0;
    color: #345248;
    line-height: 1.7;
}

/* Conteggio simbolico 21 × 21 */
.count-badge {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    background: #2c6450;
    color: #fff;
    padding: 14px 22px;
    border-radius: 12px;
    font-weight: 600;
    margin: 8px 0;
}

.count-badge .count-num {
    font-size: 1.8rem;
    font-family: var(--heading-font);
}

/* ================================================================
   Dark Mode
   ================================================================ */

[data-theme="dark"] .exercise-title {
    border-bottom-color: #5fb293;
}

[data-theme="dark"] .instructions-header,
[data-theme="dark"] .phase-card {
    background: #12251f;
}

[data-theme="dark"] .instructions-header h3,
[data-theme="dark"] .phase-card h4 {
    color: #7fc8aa;
}

[data-theme="dark"] .phase-card li {
    color: #a3c6ba;
}
