/* TecnologiaDigitale.net - Article Modular Blocks v1 */

.td-box,
.td-pros-cons,
.td-specs,
.td-faq,
.td-verdict,
.td-update-box,
.td-security-box,
.td-product-card,
.td-timeline,
.td-quote,
.td-download-box,
.td-links-box {
    margin: 28px 0;
}

/* BOX BASE */

.td-box,
.td-faq,
.td-security-box,
.td-download-box,
.td-links-box {
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid rgba(59, 130, 246, 0.28);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.10), rgba(14, 165, 233, 0.06));
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.td-box strong,
.td-update-box strong,
.td-download-box strong,
.td-links-box strong {
    display: block;
    margin-bottom: 8px;
    font-size: 1.02rem;
}

.td-box p:last-child,
.td-faq p:last-child,
.td-verdict p:last-child,
.td-update-box p:last-child,
.td-security-box p:last-child,
.td-download-box p:last-child,
.td-links-box p:last-child {
    margin-bottom: 0;
}

.td-box-warning {
    border-color: rgba(245, 158, 11, 0.35);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.13), rgba(251, 191, 36, 0.07));
}

/* AGGIORNAMENTO */

.td-update-box {
    padding: 18px 20px;
    border-left: 5px solid #2563eb;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(37, 99, 235, 0.03));
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

/* SICUREZZA */

.td-security-box {
    border-color: rgba(239, 68, 68, 0.34);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(245, 158, 11, 0.06));
}

.td-security-box h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.td-security-box ul {
    margin-bottom: 0;
}

/* PRO E CONTRO */

.td-pros-cons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.td-pros,
.td-cons {
    padding: 18px 20px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
}

.td-pros h4,
.td-cons h4 {
    margin-top: 0;
    margin-bottom: 10px;
}

.td-pros {
    border-color: rgba(34, 197, 94, 0.28);
}

.td-cons {
    border-color: rgba(239, 68, 68, 0.25);
}

.td-pros ul,
.td-cons ul {
    margin-bottom: 0;
    padding-left: 20px;
}

/* SCHEDE / TABELLE */

.td-specs,
.td-product-card {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
}

.td-specs table,
.td-product-card table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.td-specs th,
.td-specs td,
.td-product-card th,
.td-product-card td {
    padding: 13px 15px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
    vertical-align: top;
}

.td-specs th,
.td-product-card th {
    width: 34%;
    text-align: left;
    font-weight: 700;
    background: rgba(15, 23, 42, 0.04);
}

.td-specs tr:last-child th,
.td-specs tr:last-child td,
.td-product-card tr:last-child th,
.td-product-card tr:last-child td {
    border-bottom: 0;
}

.td-product-card h3 {
    margin: 0;
    padding: 18px 20px;
    background: rgba(15, 23, 42, 0.04);
    border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}

/* FAQ */

.td-faq h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

/* VERDETTO */

.td-verdict {
    padding: 22px;
    border-radius: 22px;
    border: 1px solid rgba(59, 130, 246, 0.30);
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.16), transparent 38%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.94));
    color: #f8fafc;
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.22);
}

.td-verdict h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #ffffff;
}

/* TIMELINE */

.td-timeline {
    position: relative;
    padding-left: 22px;
    border-left: 3px solid rgba(37, 99, 235, 0.35);
}

.td-timeline__item {
    position: relative;
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.24);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.td-timeline__item::before {
    content: "";
    position: absolute;
    left: -31px;
    top: 20px;
    width: 13px;
    height: 13px;
    border-radius: 999px;
    background: #2563eb;
    box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.12);
}

.td-timeline__item strong {
    display: block;
    margin-bottom: 6px;
}

/* CITAZIONE */

.td-quote {
    padding: 22px 24px;
    border-left: 5px solid #2563eb;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.04);
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.7;
}

.td-quote cite {
    display: block;
    margin-top: 10px;
    font-size: .9rem;
    font-style: normal;
    opacity: .72;
}

/* DOWNLOAD / LINK */

.td-download-box {
    border-color: rgba(34, 197, 94, 0.30);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.10), rgba(59, 130, 246, 0.04));
}

.td-links-box ul {
    margin-bottom: 0;
}

@media (max-width: 760px) {
    .td-pros-cons {
        grid-template-columns: 1fr;
    }

    .td-box,
    .td-pros,
    .td-cons,
    .td-faq,
    .td-verdict,
    .td-update-box,
    .td-security-box,
    .td-download-box,
    .td-links-box,
    .td-quote {
        padding: 16px;
        border-radius: 16px;
    }

    .td-specs,
    .td-product-card {
        overflow-x: auto;
    }

    .td-specs table,
    .td-product-card table {
        min-width: 520px;
    }
}