.post {
    font-family: 'Georgia', serif;
    line-height: 1.8;
    color: #333;
    font-size: 1.1rem;
    max-width: 800px;
    margin-top: 50px;
    justify-self: center;
}

.post h1 {
    font-size: 2.5rem;
    margin-top: 2rem;
    color: #1a2530;
    border-bottom: 2px solid #e1e1e1;
    padding-bottom: 0.5rem;
}

.post h2 {
    font-size: 2rem;
    margin: 1.5rem 0;
    color: #2d3f52;
}

.post h3 {
    font-size: 1.5rem;
    margin: 1rem 0;
    color: #415d5f;
}

.post p {
    margin-bottom: 1.2rem;
}

.entry-meta {
    margin-bottom: 1rem;
}


/* Immagine di copertina */

.post-thumbnail img {
    max-width: 800px;
    height: auto;
    display: block;
}

.entry-content img {
    max-width: 600px;
    height: auto;
    display: block;
}

.image {
    border-bottom: thin #ebebeb solid;
    margin-bottom: 1.2rem;
}

.entry-content {
    margin-top: 20px;
}

.entry-content ol,
.entry-content ul {
    margin-left: 50px;
    margin-bottom: 1.2rem;
}

.entry-content a {
    color: #e8491d;
}

blockquote {
    margin: 2em 1em;
    padding: 1.5em 1.5em 0.7em 1.5em;
    border-left: 5px solid #ccc;
    background-color: #f9f9f9;
    font-style: italic;
    color: #555;
    position: relative;
}


/* Virgoline decorative con pseudo-elementi */

blockquote::before {
    content: "“";
    font-size: 4rem;
    color: #ccc;
    position: absolute;
    top: -20px;
    left: 10px;
}

blockquote p {
    font-size: 1.5rem;
    justify-self: center;
}

.media-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    margin: 2rem 0;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.media-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.responsive-video {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0;
    overflow: hidden;
}

.responsive-video iframe,
.responsive-video object,
.responsive-video embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* CSS per schermi più piccoli (smartphone) */

@media (max-width: 800px) {
    .post {
        font-size: 1rem;
        margin-top: 80px;
        padding: 0 10px;
        max-width: 100%;
    }
    .post h1 {
        font-size: 2rem;
        margin-top: 1.5rem;
    }
    .post h2 {
        font-size: 1.75rem;
        margin: 1.2rem 0;
    }
    .post h3 {
        font-size: 1.3rem;
        margin: 0.8rem 0;
    }
    .post p {
        margin-bottom: 1rem;
    }
    /* Riduci il max-width delle immagini di copertina e del contenuto */
    .post-thumbnail img,
    .entry-content img {
        max-width: 100%;
    }
    /* Riduci il padding delle embed video */
    .media-embed {
        margin: 1.5rem 0;
    }
}


/* Stili generali per tutte le tabelle dentro a <figure class="table"> */

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.entry-content table th,
.entry-content table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.entry-content table thead th {
    background-color: #f2f2f2;
}