:root {
    --main: #ffffff;
    --secondary: #ff841f;
    --links: #35a1e3;
    --wrong: #DD1F1F;
    --header-background: #ebf7ff;
    --section-background: #f6fcff;
    --icon: #838383;
    --base-text: #373737;
    --text2: #f1f1f1;
    --text3: #cfcfcf;
    --border: #d7e7f1;
    --hover: #dff1fe;
}

.card-news {
    display: grid;
    grid-template-columns: 1fr 110px;
}
.card-news .text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.card-news .text h3 {
    margin: 10px 10px 10px 0;
    font: 700 16px var(--font2);
    margin-bottom: 25px;
}
.card-news .text .info {
    margin-right: 2px;
}
.card-news .img {
    border-radius: 0 12px 12px 0;
    overflow: hidden;
}
.card-news .img img {
    height: 100%;
}
.info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 3;
}
.info .date {
    color: var(--icon);
    font-family: var(--font2);
    font-size: 12px;
}
.info .category {
    text-transform: uppercase;
    color: var(--secondary);
    font-size: 12px;
    font-family: var(--font2);
    position: relative;
    z-index: 2;
    text-align: right;
}
.news-link {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 1;
}
.news {
    padding-bottom: 55px;
}
.news .content {
    display: grid;
    grid-template-columns: 1fr 385px;
    column-gap: 40px;
}
.news .content .page-tittle h1 {
    font: var(--h1-variant);
    margin-bottom: 30px;
}
.news .content .left {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.news .content .left .top {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.news .content .left .top .img {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 410px;
    display: flex;
    align-items: end;
}
.news .content .left .top .img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.news .content .left .top .img .see {
    opacity: 1;
}
.news .content .left .top .img .info {
    width: 100%;
    padding: 8px 15px;
    justify-content: flex-start;
    gap: 20px;
    background: #00000018;
    background-blend-mode: overlay;
    backdrop-filter: blur(5px);
}
.news .content .left .text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.news .content .left .text iframe {
    border: none;
    border-radius: 12px;
    margin: 0 auto;
    aspect-ratio: 16/9;
}
.news .content .left .text p {
    font-size: 16px;
}
.news .content .left .text a {
    color: var(--links);
    text-decoration: underline;
}
.news .content .left .middle {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.news .content .left .middle .img {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    overflow: hidden;
}
.news .content .left .text img {
    border-radius: 12px;
}
.news .content .left .middle .img img {
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
}
.news .content .left .social {
    margin-top: auto;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 12px;
    background: radial-gradient(303.42% 185.59% at 51.11% 42.86%, #000 0%, #8D8D8D 100%);
}
.news .content .left .social h2 {
    margin-top: 45px;
    margin-bottom: 20px;
    font: var(--banner);
    color: var(--text2);
    text-transform: uppercase;
    text-shadow: 0 4px 7px var(--text2);
}
.news .content .left .social .links {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
}
.news .content .right {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    gap: 100px;
}
.news .content .right .banner {
    width: 100%;
    max-height: 625px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}
.news .content .right .banner img {
    width: 100%;
    height: 100%;
}
.news .content .right .last-news {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.news .content .right .last-news h2 {
    color: var(--icon);
    font: var(--banner);
    text-transform: uppercase;
}
.news .content .right .last-news .card-news {
    min-height: 140px;
}
.popular {
    padding-top: 40px;
    padding-bottom: 45px;
    background: var(--section-background);
}
.popular .content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.popular .content h2 {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.popular .content h2 {
    font: var(--h1);
    position: relative;
    width: fit-content;
    z-index: 1;
}
.popular .content h2::before,
.popular .content h2::after {
    content: '';
    height: 6px;
    width: 100%;
    position: absolute;
    bottom: 4px;
    left: 0;
    background: var(--border);
    z-index: -1;
    transition: .2s;
}
.popular .content h2::after {
    background: var(--secondary);
    transform: scaleX(0);
    transform-origin: center left;
    transition: .3s linear;
}
.popular .content h2:hover::after {
    transform: scaleX(1);
}
.popular .content .cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.popular .content .cards .card {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    height: 100%;
}
.popular .content .cards .card::before {
    z-index: -1;
}
.popular .content .cards .card .img {
    position: relative;
    height: 160px;
    display: flex;
    align-items: end;
    padding: 6px;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
}
.popular .content .cards .card .img img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    height: 100%;
}
.popular .content .cards .card h3 {
    font: 700 16px var(--font2);
    color: #0E5687;
}
@media screen and (max-width: 1270px) {
    .card-news {
        grid-template-columns: 1fr 80px;
    }
    .news .content {
        display: flex;
        flex-direction: column;
    }
    .news .content .right {
        display: grid;
        grid-template-columns: 250px 1fr;
        margin-top: 40px;
        gap: 20px;
    }
    .news .content .right .banner {
        max-height: 500px;
    }
    .popular .content .cards {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media screen and (max-width:668px) {
    .news .content .page-tittle {
        order: -3;
    }
    .news .content .page-tittle h1 {
        font: var(--h1-mob);
        margin-bottom: 20px;
    }
    .news .content :is(.left, .right) {
        display: contents;
    }
    .news .content .left .top {
        margin-bottom: 20px;
    }
    .news .content .left .top .img {
        height: auto;
        min-height: 190px;
        align-items: start;
        margin-right: -20px;
        margin-left: -20px;
        order: -2;
        margin-bottom: 20px;
    }

    .news .content .left .top .text p:first-child {
        order: -2;
    }
    .news .content .left .text iframe {
        width: 100% !important;
        max-width: 330px !important;
        height: 200px !important;
        min-height: 0;
    }
    .news .content .left .middle {
        margin-bottom: 65px;
    }
    
    .news .content .left .text p {
    font-size: 17px;
}
    
    .news .content .left .middle .img {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .news .content .left .social {
        margin-right: -20px;
        margin-left: -20px;
        margin-bottom: 50px;
    }
    .news .content .right .banner {
        max-height: 540px;
        margin-bottom: 20px;
        max-width: 340px;
        align-self: center;
    }
    .popular .content .cards {
        display: flex;
        flex-direction: column;
        gap: 35px;
    }
}