/* Stili per l'elenco */

.shortblog-header {
font-size: 1.875rem;
font-weight: 700;
color: var(--text);
text-align: center;
margin-top: 1.5rem;
margin-bottom: 1.5rem;
line-height: 1.3;
letter-spacing: -0.02em;
}

.shortblog-header a {
color: inherit;
text-decoration: none;
}

.shortblog-header a:hover,
.shortblog-header a:focus {
color: var(--primary);
  text-decoration: underline;
}

.shortblog-news {
width: var(--container-width);
display: grid;
grid-template-columns: repeat(auto-fit, minmax(36rem, 1fr));
gap: 1.5rem;
}

/* Contenitore principale del singolo articolo */

.shortblog-article {
margin-bottom: 1.75rem;
}

.shortblog-article h2 {
font-size: 1.25rem;
font-weight: 600;
line-height: 1.35;
margin: 0 0 0.5rem 0;
    white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.shortblog-article a {
color: var(--primary);
text-decoration: none;
}

.shortblog-article a:hover,
.shortblog-article a:focus {
color: var(--primary-hover);
text-decoration: underline;
}

.shortblog-meta {
display: flex;
align-items: center;
gap: 1rem;
font-size: 0.875rem;
margin-top: 0.25rem;    /* Stacca leggermente i metadati dal titolo sopra */
margin-bottom: 0.35rem; /* Avvicina i metadati al sommario sotto (~12-14px reali) */
}

.shortblog-author {
font-weight: 500;
color: var(--text-muted);
}

.shortblog-date {
color: var(--text-muted);
}

.shortblog-summary {
  margin: 0;
}

.shortblog-summary p {
margin: 0;
font-size: 1rem;
line-height: 1.6;
color: var(--text);
}

.shortblog-summary a {
color: var(--primary);
font-weight: 500;
text-decoration: underline;
margin-left: 0.25rem;
  white-space: nowrap;
}

.shortblog-summary a:hover,
.shortblog-summary a:focus {
color: var(--primary-hover);
}

@media (max-width: 92rem) {
.shortblog-news {
        width: 84%;
grid-template-columns: repeat(auto-fit, minmax(34rem, 1fr));
    }
}

@media (max-width: 84rem) {
.shortblog-news {
        width: 88%;
grid-template-columns: repeat(auto-fit, minmax(32rem, 1fr));
    }
}

@media (max-width: 76rem) {
.shortblog-news {
        width: 92%;
grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    }
}

@media (max-width: 68rem) {
.shortblog-news {
        width: 85%;
grid-template-columns: 1fr;
    }
}
