/* =========================================================
   DSAS - SINGLE ARTICLE
   Editorial layout per articoli WordPress
========================================================= */

.dsas-single-article {
    color: #ffffff;
    padding: 70px 0 90px;
}

.dsas-single-container {
    width: min(100% - 40px, 1000px);
    margin: 0 auto;
}

/* TESTATA */

.dsas-single-header {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
}

.dsas-single-category {
    display: inline-block;
    color: #9b00ff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.dsas-single-title {
    color: #ffffff;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.08;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 25px;
}

.dsas-single-meta {
    color: #999999;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* IMMAGINE PRINCIPALE */

.dsas-single-featured-image {
    width: 100%;
    margin: 0 0 55px;
    overflow: hidden;
    background: #111111;
}

.dsas-single-featured-image img {
    display: block;
    width: 100%;
    height: auto;
}

/* CORPO ARTICOLO */

.dsas-single-content {
    max-width: 850px;
    margin: 0 auto;
    color: #dddddd;
    font-size: 17px;
    line-height: 1.85;
}

.dsas-single-content p {
    margin: 0 0 24px;
}

.dsas-single-content h2 {
    color: #ffffff;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 900;
    text-transform: uppercase;
    margin: 55px 0 25px;
}

.dsas-single-content h3 {
    color: #ffffff;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 800;
    margin: 40px 0 20px;
}

.dsas-single-content h4 {
    color: #9b00ff;
    font-size: 19px;
    font-weight: 800;
    margin: 30px 0 15px;
}

.dsas-single-content strong {
    color: #ffffff;
}

.dsas-single-content a {
    color: #9b00ff;
    text-decoration: none;
}

.dsas-single-content a:hover {
    color: #ff1744;
}

/* IMMAGINI NEL TESTO */

.dsas-single-content img {
    max-width: 100%;
    height: auto;
}

.dsas-single-content figure {
    margin: 40px 0;
}

.dsas-single-content figcaption {
    color: #999999;
    font-size: 13px;
    text-align: center;
    margin-top: 12px;
}

/* GALLERIE */

.dsas-single-content .wp-block-gallery {
    margin: 35px 0;
}

/* CITAZIONI */

.dsas-single-content blockquote {
    margin: 40px 0;
    padding: 25px 30px;
    border-left: 4px solid #9b00ff;
    background: #111111;
    color: #ffffff;
    font-size: 21px;
    font-weight: 700;
}

/* TABELLE */

.dsas-single-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 35px 0;
    font-size: 15px;
}

.dsas-single-content th,
.dsas-single-content td {
    padding: 12px;
    border: 1px solid #333333;
    text-align: left;
}

.dsas-single-content th {
    background: #111111;
    color: #9b00ff;
    font-weight: 800;
}

/* LISTE */

.dsas-single-content ul,
.dsas-single-content ol {
    padding-left: 25px;
    margin-bottom: 25px;
}

.dsas-single-content li {
    margin-bottom: 10px;
}

/* NAVIGAZIONE ARTICOLI */

.dsas-single-navigation {
    max-width: 850px;
    margin: 70px auto 0;
    padding-top: 30px;
    border-top: 1px solid #333333;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.dsas-single-navigation a {
    color: #ff1744;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s ease;
}

.dsas-single-navigation a:hover {
    color: #9b00ff;
}

/* RESPONSIVE */

@media (max-width: 768px) {

    .dsas-single-article {
        padding: 45px 0 60px;
    }

    .dsas-single-container {
        width: min(100% - 30px, 1000px);
    }

    .dsas-single-header {
        margin-bottom: 30px;
    }

    .dsas-single-title {
        font-size: 36px;
    }

    .dsas-single-featured-image {
        margin-bottom: 35px;
    }

    .dsas-single-content {
        font-size: 16px;
        line-height: 1.75;
    }

    .dsas-single-content h2 {
        font-size: 27px;
        margin-top: 40px;
    }

    .dsas-single-content h3 {
        font-size: 22px;
    }

    .dsas-single-navigation {
        flex-direction: column;
        gap: 25px;
    }

}