/* =========================================================
   Taize Donazioni — stile schede frontend
   ========================================================= */

.taize-donazioni-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding: 20px 10px 40px;
    max-width: 720px;
    margin: 0 auto;
    font-family: inherit;
}

/* ── Singola scheda ── */
.taize-don-card {
    position: relative;
    width: 100%;
    max-width: 680px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
    overflow: hidden;
    border-top: 6px solid #2e86c1;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.taize-don-card:hover {
    box-shadow: 0 8px 36px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.taize-don-mensile {
    border-top-color: #27ae60;
}

/* ── Badge tipo donazione ── */
.taize-don-badge {
    display: inline-block;
    position: absolute;
    top: 16px;
    right: 16px;
    background: #2e86c1;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
}

.taize-don-badge-mensile {
    background: #27ae60;
}

/* ── Corpo scheda (testo + qr affiancati) ── */
.taize-don-body {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px 28px 32px;
}

.taize-don-text {
    flex: 1;
}

.taize-don-text h3 {
    margin: 0 0 10px;
    font-size: 1.35rem;
    color: #1a1a2e;
    line-height: 1.3;
}

.taize-don-text p {
    margin: 0 0 16px;
    color: #444;
    line-height: 1.65;
    font-size: 0.97rem;
}

/* ── Importo ── */
.taize-don-importo {
    margin-bottom: 20px;
    font-size: 1rem;
    color: #1a1a2e;
}

.taize-don-importo strong {
    font-size: 1.3rem;
    color: #2e86c1;
}

.taize-don-mensile .taize-don-importo strong {
    color: #27ae60;
}

.taize-don-note {
    font-size: 0.78rem;
    color: #888;
    margin-left: 6px;
}

/* ── Pulsante ── */
.taize-don-btn {
    display: inline-block;
    padding: 13px 28px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff !important;
    background: #2e86c1;
    transition: background 0.2s ease, transform 0.15s ease;
    cursor: pointer;
    border: none;
}

.taize-don-btn:hover {
    background: #1a6fa3;
    transform: scale(1.03);
    text-decoration: none;
    color: #fff !important;
}

.taize-don-btn-mensile {
    background: #27ae60;
}

.taize-don-btn-mensile:hover {
    background: #1e8449;
}

/* ── QR code ── */
.taize-don-qr {
    flex-shrink: 0;
    text-align: center;
}

.taize-don-qr img {
    display: block;
    width: 160px;
    height: 160px;
    border-radius: 8px;
    border: 2px solid #eee;
    margin: 0 auto 6px;
}

.taize-don-qr p {
    margin: 0;
    font-size: 0.75rem;
    color: #888;
}

/* ── Responsive ── */
@media (max-width: 560px) {
    .taize-don-body {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 18px 28px;
    }

    .taize-don-qr {
        align-self: center;
    }

    .taize-don-badge {
        position: static;
        display: block;
        text-align: center;
        border-radius: 0;
        margin: 0;
        padding: 8px 16px;
    }
}
