﻿/* =========================================================
   RISORSE / NOTIZIE
   Editorial index + newspaper-style article presentation
   ========================================================= */

.news-page,
.article-page{
    padding:58px 0 78px;
}

.news-wrap{
    max-width:1000px;
    margin:0 auto;
    padding-left:32px;
    padding-right:32px;
}

/* INDEX --------------------------------------------------- */

.news-index-header{
    max-width:760px;
    margin:0 0 48px;
    padding-bottom:34px;
    border-bottom:1px solid var(--ink);
}

.news-index-header h1{
    margin:8px 0 14px;
    font-family:var(--font-serif);
    font-size:clamp(36px,4.8vw,50px);
    line-height:1.1;
    font-weight:500;
    letter-spacing:-.015em;
}

.news-index-header p{
    max-width:680px;
    margin:0;
    font-family:var(--font-serif);
    font-size:19px;
    line-height:1.55;
    color:var(--text-soft);
}

.news-grid,
.news-grid tbody,
.news-grid tr,
.news-grid td{
    display:block;
    width:100%;
}

.news-grid{
    border:0!important;
    border-collapse:collapse;
    background:transparent!important;
}

.news-grid td{
    padding:0!important;
    border:0!important;
    background:transparent!important;
}

.news-row{
    display:grid;
    grid-template-columns:175px minmax(0,1fr);
    gap:36px;
    padding:28px 0 30px;
    border-top:1px solid var(--line);
}

.news-grid tr:last-of-type .news-row{
    border-bottom:1px solid var(--line);
}

.news-row-meta{
    padding-top:3px;
}

.news-new{
    display:inline-block;
    margin-bottom:10px;
    font-family:var(--font-mono);
    font-size:10.5px;
    line-height:1;
    letter-spacing:.07em;
    text-transform:uppercase;
    color:var(--wine);
}

.news-source-date{
    font-family:var(--font-sans);
    font-size:12.5px;
    line-height:1.5;
    color:var(--text-soft);
}

.news-source{
    display:block;
    margin-bottom:3px;
    font-weight:600;
    color:var(--ink);
}

.news-date{
    display:block;
}

.news-title{
    margin:0 0 12px;
    font-family:var(--font-serif);
    font-size:25px;
    line-height:1.25;
    font-weight:500;
}

.news-title a{
    color:var(--ink);
    text-decoration:none;
}

.news-title a:hover{
    color:var(--wine);
}

.news-action{
    font-family:var(--font-sans);
    font-size:13.5px;
    font-weight:500;
    color:var(--sage-deep)!important;
    text-decoration:none!important;
    border-bottom:1px solid var(--sage);
}

.news-action:hover{
    color:var(--ink)!important;
    border-color:var(--ink);
}

/* GridView pager */
.news-pager,
.news-pager td{
    display:table-cell!important;
    width:auto!important;
}

.news-pager{
    padding-top:30px!important;
    font-family:var(--font-sans);
    font-size:13px;
    text-align:left!important;
}

.news-pager table{
    margin-top:28px;
}

.news-pager a,
.news-pager span{
    display:inline-block;
    min-width:30px;
    padding:6px 8px;
    margin-right:4px;
    text-align:center;
    text-decoration:none;
}

.news-pager a{
    color:var(--sage-deep);
    border:1px solid var(--line);
}

.news-pager span{
    color:var(--paper);
    background:var(--sage-deep);
    border:1px solid var(--sage-deep);
}

/* ARTICLE -------------------------------------------------- */

.article-wrap{
    max-width:920px;
    margin:0 auto;
    padding-left:32px;
    padding-right:32px;
}

.article-back{
    max-width:760px;
    margin:0 auto 38px;
}

.article-back a,
.article-footer-nav a{
    font-family:var(--font-sans);
    font-size:13px;
    font-weight:500;
    color:var(--sage-deep);
    text-decoration:none;
    border-bottom:1px solid var(--sage);
}

.article-details-view,
.article-details-view tbody,
.article-details-view tr,
.article-details-view td{
    display:block;
    width:100%;
}

.article-details-view{
    border:0!important;
    background:transparent!important;
}

.article-details-view td{
    padding:0!important;
    border:0!important;
    background:transparent!important;
}

.editorial-article{
    max-width:760px;
    margin:0 auto;
}

.article-header{
    text-align:left;
}

.article-publication{
    display:flex;
    flex-wrap:wrap;
    gap:8px 16px;
    align-items:center;
    margin-bottom:24px;
    font-family:var(--font-mono);
    font-size:11px;
    line-height:1.4;
    letter-spacing:.055em;
    text-transform:uppercase;
    color:var(--text-soft);
}

.article-source{
    color:var(--wine);
    font-weight:500;
}

.article-eyelet{
    margin-bottom:10px;
    font-family:var(--font-sans);
    font-size:13px;
    line-height:1.4;
    font-weight:600;
    letter-spacing:.015em;
    text-transform:uppercase;
    color:var(--wine);
}

.article-header h1{
    max-width:740px;
    margin:0 0 18px;
    font-family:var(--font-serif);
    font-size:clamp(36px,5.4vw,56px);
    line-height:1.07;
    font-weight:500;
    letter-spacing:-.025em;
    text-wrap:balance;
}

.article-subtitle{
    max-width:700px;
    margin:0 0 22px;
    font-family:var(--font-serif);
    font-size:21px;
    line-height:1.48;
    color:var(--text-soft);
}

.article-byline{
    margin-top:20px;
    font-family:var(--font-sans);
    font-size:13.5px;
    color:var(--text-soft);
}

.article-byline strong{
    color:var(--ink);
    font-weight:600;
}

.article-rule{
    margin:30px 0 38px;
    border-top:1px solid var(--ink);
}

.article-body{
    font-family:var(--font-serif);
    font-size:18px;
    line-height:1.78;
    color:var(--ink);
}

.article-body p{
    margin:0 0 1.35em;
}

.article-body p:first-child::first-letter{
    float:left;
    margin:.07em .09em 0 0;
    font-family:var(--font-serif);
    font-size:4.25em;
    line-height:.72;
    font-weight:500;
    color:var(--wine);
}

.article-body h2,
.article-body h3,
.article-body h4{
    margin:1.7em 0 .65em;
    font-family:var(--font-serif);
    line-height:1.2;
    font-weight:500;
    color:var(--ink);
}

.article-body h2{ font-size:29px; }
.article-body h3{ font-size:24px; }
.article-body h4{ font-size:20px; }

.article-body blockquote{
    margin:2em 0;
    padding:0 0 0 24px;
    border-left:2px solid var(--wine);
    font-size:21px;
    line-height:1.55;
    font-style:italic;
    color:var(--text-soft);
}

.article-body a{
    color:var(--sage-deep);
    text-decoration:none;
    border-bottom:1px solid var(--sage);
}

.article-body img{
    display:block;
    max-width:100%;
    height:auto;
    margin:2em auto;
}

.article-body ul,
.article-body ol{
    margin:0 0 1.35em 1.4em;
}

.article-body li{
    margin-bottom:.45em;
}

.article-footer-nav{
    max-width:760px;
    margin:54px auto 0;
    padding-top:26px;
    border-top:1px solid var(--ink);
}

@media(max-width:760px){
    .news-page,
    .article-page{
        padding:42px 0 58px;
    }

    .news-wrap,
    .article-wrap{
        padding-left:20px;
        padding-right:20px;
    }

    .news-index-header{
        margin-bottom:34px;
    }

    .news-index-header p{
        font-size:17.5px;
    }

    .news-row{
        grid-template-columns:1fr;
        gap:10px;
        padding:24px 0 26px;
    }

    .news-source-date{
        display:flex;
        flex-wrap:wrap;
        gap:6px 12px;
    }

    .news-source{
        margin-bottom:0;
    }

    .news-title{
        font-size:23px;
    }

    .article-back{
        margin-bottom:30px;
    }

    .article-publication{
        margin-bottom:18px;
    }

    .article-header h1{
        font-size:clamp(33px,10vw,44px);
        line-height:1.09;
    }

    .article-subtitle{
        font-size:19px;
    }

    .article-rule{
        margin:26px 0 30px;
    }

    .article-body{
        font-size:17px;
        line-height:1.72;
    }

    .article-body p:first-child::first-letter{
        font-size:3.7em;
    }
}
