/* === Tummo — il fuoco interiore === */
/* Colore tematico: brace / fuoco */

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

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

.exercise-number.intro-badge {
    background: #8f3216;
}

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

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

.instructions-header h3 {
    color: #8f3216;
    margin-bottom: 10px;
}

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

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

/* Griglia di schede (es. i due Tummo, i tre canali) */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 24px 0;
}

.cards-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 700px) {
    .cards-grid,
    .cards-grid.cols-2 {
        grid-template-columns: 1fr;
    }
}

.pillar-card {
    background: #fbeee6;
    padding: 20px;
    border-radius: 10px;
    border-top: 4px solid #c0451f;
    text-align: center;
}

.pillar-card .pillar-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 10px;
}

.pillar-card h4 {
    color: #8f3216;
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.pillar-card p {
    color: #6b3a26;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

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

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

.phase-card .phase-tag {
    background: #c0451f;
    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: #6b3a26;
    line-height: 1.7;
}

/* Canale: pallini colorati per i tre nadi */
.channel-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
}

.channel-dot--white { background: #f4f1ea; border: 1px solid #c9bfa8; }
.channel-dot--red { background: #c0392b; }
.channel-dot--blue { background: #2e6fb0; }

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

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

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

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

[data-theme="dark"] .pillar-card p,
[data-theme="dark"] .phase-card li {
    color: #d6b3a2;
}
