/* =======================================================
FEATURED CARD
======================================================= */
.nng-featured-card{
display:grid;
grid-template-columns:1.1fr 1fr;
background:#fff;
border-radius:28px;
overflow:hidden;
box-shadow:0 25px 70px rgba(18,30,50,.08);
text-decoration:none;
color:inherit;
transition:.45s ease;
border:1px solid #ECEFF4;
position:relative;
}
.nng-featured-card:hover{
transform:translateY(-8px);
box-shadow:0 35px 90px rgba(18,30,50,.14);
}
.nng-featured-image{
position:relative;
overflow:hidden;
min-height:560px;
background:#F5F6F8;
}
.nng-featured-image img{
width:100%;
height:100%;
object-fit:cover;
transition:1.1s;
display:block;
}
.nng-featured-card:hover img{
transform:scale(1.06);
}
.nng-featured-category{
position:absolute;
top:28px;
left:28px;
padding:12px 22px;
border-radius:40px;
background:rgba(255,255,255,.82);
backdrop-filter:blur(14px);
-webkit-backdrop-filter:blur(14px);
font-size:13px;
font-weight:700;
letter-spacing:1.5px;
text-transform:uppercase;
color:#17181C;
box-shadow:0 12px 30px rgba(0,0,0,.08);
}
.nng-featured-content{
padding:70px;
display:flex;
flex-direction:column;
justify-content:center;
}
.nng-featured-date{
font-size:15px;
color:#8A8F99;
margin-bottom:18px;
font-weight:500;
}
.nng-featured-content h3{
margin:0;
font-size:42px;
line-height:1.18;
font-weight:700;
color:#17181C;
}
.nng-featured-content p{
margin:32px 0;
font-size:20px;
line-height:1.8;
color:#666E79;
}
.nng-featured-author{
font-size:17px;
font-weight:600;
color:#17181C;
margin-bottom:36px;
}
.nng-featured-button{
display:inline-flex;
align-items:center;
gap:14px;
font-size:17px;
font-weight:700;
color:#F04E23;
transition:.35s;
}
.nng-featured-button span{
transition:.35s;
font-size:20px;
}
.nng-featured-card:hover .nng-featured-button span{
transform:translateX(8px);
}
.nng-featured-card:hover .nng-featured-button{
letter-spacing:.3px;
}
/* =======================================================
PREMIUM EFFECTS
NNG DESIGN SYSTEM
======================================================= */
/* Оранжевая фирменная линия */
.nng-featured-card::before{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:4px;
background:linear-gradient(90deg,#F04E23,#FF8A3D);
z-index:20;
}
/* Мягкое свечение карточки */
.nng-featured-card::after{
content:"";
position:absolute;
inset:0;
pointer-events:none;
background:linear-gradient(
180deg,
rgba(255,255,255,.0),
rgba(255,255,255,.03)
);
opacity:0;
transition:.45s;
}
.nng-featured-card:hover::after{
opacity:1;
}
/* Фото становится чуть ярче */
.nng-featured-card:hover img{
filter:brightness(1.04);
}
/* Заголовок */
.nng-featured-content h3{
transition:.35s;
}
.nng-featured-card:hover h3{
color:#F04E23;
}
/* Описание */
.nng-featured-content p{
transition:.35s;
}
/* Автор */
.nng-featured-author{
display:flex;
align-items:center;
gap:12px;
}
.nng-featured-author::before{
content:"";
width:10px;
height:10px;
border-radius:50%;
background:#F04E23;
display:block;
}
/* Кнопка */
.nng-featured-button{
position:relative;
width:max-content;
}
.nng-featured-button::after{
content:"";
position:absolute;
bottom:-6px;
left:0;
width:0;
height:2px;
background:#F04E23;
transition:.4s;
}
.nng-featured-card:hover
.nng-featured-button::after{
width:100%;
}
/* Появление карточки */
.nng-featured-card{
animation:nngFadeUp .9s ease both;
}
@keyframes nngFadeUp{
0%{
opacity:0;
transform:translateY(60px);
}
100%{
opacity:1;
transform:translateY(0);
}
}
/*=========================================================
LATEST PUBLICATIONS
NNG DESIGN SYSTEM
=========================================================*/
.nng-latest-section{
padding:120px 0;
background:#ffffff;
position:relative;
}
.nng-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:34px;
margin-top:70px;
}
.nng-card{
display:flex;
flex-direction:column;
background:#ffffff;
border-radius:26px;
overflow:hidden;
text-decoration:none;
color:inherit;
border:1px solid #ECEFF3;
transition:.45s;
box-shadow:0 18px 45px rgba(20,30,45,.06);
position:relative;
}
.nng-card:hover{
transform:translateY(-10px);
box-shadow:0 35px 70px rgba(20,30,45,.12);
}
.nng-card::before{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:4px;
background:linear-gradient(90deg,#F04E23,#FF7A34);
z-index:10;
}
.nng-card-image{
position:relative;
overflow:hidden;
height:270px;
}
.nng-card-image img{
width:100%;
height:100%;
object-fit:cover;
transition:1s;
display:block;
}
.nng-card:hover img{
transform:scale(1.08);
}
.nng-card-category{
position:absolute;
top:22px;
left:22px;
padding:10px 18px;
background:rgba(255,255,255,.82);
backdrop-filter:blur(14px);
border-radius:40px;
font-size:12px;
font-weight:700;
text-transform:uppercase;
letter-spacing:1.3px;
}
.nng-card-content{
padding:34px;
display:flex;
flex-direction:column;
flex-grow:1;
}
.nng-card-date{
font-size:14px;
color:#8D939E;
margin-bottom:14px;
}
.nng-card h3{
font-size:28px;
line-height:1.3;
margin:0;
color:#17181C;
transition:.35s;
}
.nng-card:hover h3{
color:#F04E23;
}
.nng-card p{
margin:22px 0 34px;
color:#67707C;
line-height:1.8;
font-size:17px;
flex-grow:1;
}
.nng-card-link{
color:#F04E23;
font-weight:700;
display:flex;
align-items:center;
gap:10px;
transition:.35s;
}
.nng-card:hover .nng-card-link{
letter-spacing:.4px;
}
@media(max-width:1100px){
.nng-grid{
grid-template-columns:repeat(2,1fr);
}
}
@media(max-width:768px){
.nng-grid{
grid-template-columns:1fr;
gap:28px;
}
.nng-card-image{
height:230px;
}
.nng-card-content{
padding:28px;
}
.nng-card h3{
font-size:24px;
}
}