/* ==========================================================
   CUSTOM NEWS - BLOCCO 1
   BASE + HERO
========================================================== */

*{
    box-sizing:border-box;
}

.cn-wrapper{

    max-width:1320px;

    margin:70px auto;

    padding:0 20px;

}

.cn-hero{

    position:relative;

    width:100%;

    height:720px;

    overflow:hidden;

    border-radius:28px;

    box-shadow:0 25px 60px rgba(0,0,0,.18);

    margin-bottom:70px;

}

.cn-hero img{

    width:100%;

    height:100%;

    object-fit:cover;

    display:block;

    transition:1.2s;

}

.cn-hero:hover img{

    transform:scale(1.05);

}

.cn-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(
        to top,
        rgba(0,0,0,.82) 0%,
        rgba(0,0,0,.45) 35%,
        rgba(0,0,0,.15) 70%,
        rgba(0,0,0,.05) 100%
    );

    z-index:1;

}

/*==========================================================
 HERO CONTENT
==========================================================*/

.cn-hero-content{

    position:absolute;

    left:70px;

    bottom:90px;

    width:60%;

    z-index:2;

    display:flex;

    flex-direction:column;

    align-items:flex-start;

}

/* ==========================================================
   CUSTOM NEWS - BLOCCO 2
   HERO TEXT
========================================================== */

.cn-badge{

    display:inline-block;

    padding:10px 18px;

    background:#0d6efd;

    color:#fff;

    font-size:12px;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:1px;

    border-radius:50px;

    margin-bottom:22px;

}

.cn-hero-title{

    margin:0;

    font-size:35px;

    line-height:1.08;

    font-weight:800;

    color:#fff;

    max-width:700px;
	
	
}

.cn-hero-title a,
.cn-hero-title a:visited,
.cn-hero-title a:hover,
.cn-hero-title a:focus{

    color:#fff !important;

    text-decoration:none !important;

}

.cn-date{

    margin-top:20px;

    font-size:16px;

    color:rgba(255,255,255,.85);

    font-weight:500;

}

.cn-button{

    display:inline-flex;

    align-items:center;

    gap:12px;

    margin-top:32px;

    padding:14px 28px;

    border:1px solid rgba(255,255,255,.6);

    border-radius:100px;

    background:rgba(255,255,255,.08);

    color:#fff !important;

    text-decoration:none !important;

    font-weight:600;

    transition:.35s;

    backdrop-filter:blur(10px);

}

.cn-button:hover{

    background:#fff;

    color:#111 !important;

}

/* ==========================================================
   CUSTOM NEWS - BLOCCO 3
   SECTION TITLE + GRID + CARD
========================================================== */

.cn-section-title{

    font-size:34px;

    font-weight:800;

    color:#1f2937;

    margin:0 0 35px;

    display:flex;

    align-items:center;

    gap:20px;

}

.cn-section-title::after{

    content:"";

    flex:1;

    height:2px;

    background:#e5e7eb;

}

.cn-grid{

    display:grid;

    grid-template-columns:repeat(2,minmax(0,1fr));

    gap:35px;

}

.cn-card{

    background:#ffffff;

    border-radius:24px;

    overflow:hidden;

    box-shadow:0 12px 30px rgba(15,23,42,.08);

    transition:.35s;

    display:flex;

    flex-direction:column;

    height:100%;

}

.cn-card:hover{

    transform:translateY(-8px);

    box-shadow:0 25px 60px rgba(15,23,42,.16);

}

.cn-card-image{

    display:block;

    width:100%;

    aspect-ratio:16/10;

    overflow:hidden;

}

.cn-card-image img{

    width:100%;

    height:100%;

    object-fit:cover;

    display:block;

    transition:.6s;

}

.cn-card:hover .cn-card-image img{

    transform:scale(1.08);

}

.cn-card-body{

    padding:28px;

    display:flex;

    flex-direction:column;

    flex:1;

}

.cn-card-title{

    margin:0;

    font-size:28px;

    font-weight:700;

    line-height:1.3;

    color:#111827;

    display:-webkit-box;

    -webkit-line-clamp:3;

    -webkit-box-orient:vertical;

    overflow:hidden;

    min-height:110px;

}

.cn-card-title a,
.cn-card-title a:hover,
.cn-card-title a:visited,
.cn-card-title a:focus{

    color:#111827 !important;

    text-decoration:none !important;

}

.cn-card .cn-date{

    margin:18px 0 28px;

    color:#6b7280;

    font-size:15px;

}

.cn-readmore{

    margin-top:auto;

    display:inline-flex;

    align-items:center;

    gap:10px;

    font-weight:700;

    color:#0d6efd !important;

    text-decoration:none !important;

    transition:.3s;

}

.cn-readmore span{

    transition:.3s;

}

.cn-card:hover .cn-readmore span{

    transform:translateX(8px);

}

/* ==========================================================
   SECTION HEADER
========================================================== */

.cn-section-header{

    display:flex;

    align-items:center;

    gap:25px;

    margin-bottom:40px;

}

.cn-section-title{

    margin:0;

    font-size:34px;

    font-weight:800;

    color:#111827;

    white-space:nowrap;

}

.cn-section-line{

    flex:1;

    height:2px;

    background:#e5e7eb;

    border-radius:50px;

}

.cn-view-all{

    display:inline-flex;

    align-items:center;

    gap:8px;

    white-space:nowrap;

    color:#111827 !important;

    text-decoration:none !important;

    font-weight:700;

    transition:.3s;

}

.cn-view-all:hover{

    color:#0d6efd !important;

}

.cn-view-all::after{

    content:"→";

    transition:.3s;

}

.cn-view-all:hover::after{

    transform:translateX(6px);

}