.new-article-big .article-title {
    font-size: 35px;
    line-height: 42px; 
}
  
.new-article-big .article-title a {
    font-size: 35px;
    line-height: 42px; 
}
  
.new-article-big.article-portret .article-image-wrapper {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    padding: 0;
    min-height: 180px;
    /* max-height: 180px; */
    border: none;
}
  
.new-article-big.article-portret .article-image-wrapper .article-image {
    object-fit: cover;
    object-position: 50% 50%;
    width: 100%;
    height: 100%; 
}
  
.new-article-big.article-portret .article-body {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0; 
}
  
.new-article-big.article-portret .article-body .article-meta {
    margin: 25px 0; 
}
  
.new-article-big.article-portret .article-body .article-title {
      margin-bottom: 16px; 
}
  
.new-article-big.article-portret .article-body .article-excerpt {
    margin-bottom: 17px; 
}

.new-article-big.article-landscape {
    border-radius: 16px;
    overflow: hidden;
}

.new-article-big.article-landscape .article-body-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.new-article-big.article-landscape .article-body {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: fit-content;
    border: none;
    padding: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.new-article-big.article-landscape .article-body-background {
    background: rgba(9, 8, 8, 0.3);
    backdrop-filter: blur(8px);
    padding: 24px;
}

.new-article-big.article-landscape .article-body .article-title a {
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.new-article-big.article-landscape .article-body .article-excerpt {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #FFFFFF;
}

.new-article-big.article-landscape .article-btn a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.new-article-big.article-landscape .article-btn span {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    color: #EA4A49;
}

.hero .sidebar_bus_logistica {
    margin-top: 60px;
}

.main-ad-wrapper {
    display: none;
}

.section-category .sidebar_bus_logistica {
    display: none;
}

.new_articles_grid_wrapper {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.new_articles_grid{
    width: 100% !important;
    max-width: 100% !important;
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(1, 1fr);
}

.new-article-medium {
    width: 100%;
    max-width: 100%;
}

.new-article-medium .article-image-wrapper {
    display: block;
    width: 100%;
    height: 240px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.new-article-medium .article-image-wrapper .article-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.new-article-medium .article-image-wrapper .premium-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #B52221;
    color: #FFFFFF;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    padding: 2px 10px;
    border-radius: 100px;
    width: fit-content;
}

.new-article-medium .article-date {
    color: #D62D2C;
    line-height: 20px;
    font-weight: 600;
    height: auto;
    margin-bottom: 8px;
}

.new-article-medium .article-title {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 8px;
    text-decoration: none;
}

.new-article-medium .article-title .title-wrapper {
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #101828;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.new-article-medium .article-title img{
    width: 20px;
    height: 20px;
}

.new-article-medium .article-excerpt {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #475467;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.new_articles_grid_pagination {
    position: relative;
    text-align: right;
    padding-top: 32px;
    margin-top: 32px;
    margin-bottom: 32px; 
    display: flex;
    justify-content: center;
    padding-right: 32px;
    padding-left: 32px;
    width: 100%;
    border-top: 1px solid #EAECF0;
}

.new_articles_grid_pagination .page-numbers {
    display: flex;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    text-decoration: none;
    color: #475467; 
}

.new_articles_grid_pagination .next {
    position: absolute;
    right: 0;
}

.new_articles_grid_pagination .prev {
    position: absolute;
    left: 0;
}

.new_articles_grid_pagination .page-numbers.current {
    background-color: #D62D2C;
    color: #ffffff; 
}

.section-revista #filter_by_an{
    border: 1px solid #D0D5DD ;
    outline: 0;
    border-radius: 6px;
    margin-left: 0 ;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    color: #101828;
    padding: 10px 12px ;
}


.section-revista .slider-arrows-wrapper {
    margin-top: 32px;
}

.section-revista .slider-arrows-wrapper  i{
    border: 1px solid #EAECF0;
    padding: 16px;
    border-radius: 8px;
    width: 24px;
    height: 24px;
}

.section-revista .slider-arrows-wrapper  i:hover{
    background-color: #F9FAFB;
}

.section-revista .revista-info{
    width: 100%;
    max-width: 270px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 20px;
    text-decoration: none;
    color: #000;
    transition: all 0.3s ease;
}

.section-revista .revista-info img{
    transition: all 0.3s ease;
}

.section-revista .revista-info:hover{
    text-decoration: underline;
    transition: all 0.3s ease;
}

.section-revista .revista-info:hover img{
    transform: scale(1.2);
    transition: all 0.3s ease;
}

.section-revista .section-reviste-slider .revista-info .revista-title{
    margin-top: 0; 
    line-height: 1.2;
}

@media (min-width: 830px) {
    .new-article-big {
        height: 400px; 
        margin-bottom: 42px;
    }
    
    .new-article-big.article-portret .article-image-wrapper {
        width: 320px;
        min-width: 320px;
        max-width: 320px;
        padding: 0;
        height: 100%;
        min-height: unset;
        max-height: unset; 
    }
    
    .new-article-big.article-portret .article-image-wrapper a {
        display: block;
        width: 100%;
        height: 100%;
    }
    
    .new-article-big.article-portret .article-image-wrapper .article-image {
        object-fit: contain;
        width: 100%;
        height: 100%;
    }
    
    .new-article-big.article-portret .article-body {
        min-width: auto;
        max-width: 100%;
        padding-top: 48px;
        padding-left: 30px;
        padding-right: 0;
        justify-content: initial; 
    }
    
    .new-article-big.article-portret .article-body .article-meta {
        margin: 0; 
    }

    .new-article-big.article-portret .article-body .article-date {
        color: #D62D2C;
        line-height: 20px;
        font-weight: 600;
        height: auto;
    }
    
    .new-article-big.article-portret .article-body .article-title {
        margin-top: 8px;
        margin-bottom: 0; 
    }
    
    .new-article-big.article-portret .article-body .article-excerpt {
        line-height: 24px;
        font-weight: 400;
        color: #475467;
        margin-top: 20px;
        margin-bottom: 0;
    }

    .new-article-big.article-portret .article-btn {
        margin-top: 24px;
        padding: 10px 16px;
        font-size: 16px;
        line-height: 24px;
        font-weight: 600;
        color: #FFFFFF;
        background-color: #D62D2C;
        border-radius: 8px;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 6px;
        justify-content: center;
        width: fit-content;
        height: fit-content;
    }

    .new-article-big.article-portret .article-btn .arrow-right-white {
        width: 20px;
        height: 20px;
    }

    .new-article-big.article-portret .article-body .article-title a {
        font-size: 24px;
        line-height: 100%;
        font-weight: 600;
        color: #101828;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .new-article-big.article-landscape {
        margin-right: 32px;
    }

    .new-article-big.article-landscape .article-body-wrapper {
        height: 100%;
    }

    .hero .sidebar_bus_logistica {
        margin-top: 0;
    }

    .section-category-main-ad {
        margin: 32px 0;
    }

    .section-banner .desktop-ad .ad-slide-item a {
        display: block;
        width: 100%;
        padding: 0 55px;
        height: 100%;
    }

    .section-category {
        margin-top: 32px;
    }

    .section-category .row {
        gap: 32px;
    }

    .section-category .sidebar_bus_logistica {
        display: block;
    }

    .new_articles_grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .section-evenimente .new_articles_grid {
        grid-template-columns: repeat(3, 1fr);
    }

}

@media (min-width: 1440px) {
    .container {
        max-width: 1280px;
        padding: 0 !important; 
    }

    /* Hero section - two columns with gap */
    .hero .row:not(.ad-zone) {
        display: flex;
        gap: 32px;
    }

    .hero-logistica {
        flex: 1;
        width: auto;
        padding: 0;
    }

    .hero .sidebar_bus_logistica {
        width: 370px;
        max-width: 370px;
        min-width: 370px;
        margin-top: 0;
    }

    /* Articles section - two columns with gap */
    .section-category .row:not(.ad-zone) {
        display: flex;
        gap: 32px;
    }

    .new_articles_grid_wrapper {
        flex: 1;
        width: auto;
    }

    .section-category .sidebar_bus_logistica {
        width: 370px;
        max-width: 370px;
        min-width: 370px;
        display: block;
    }

    .new-article-big {
        height: 400px; 
    }

    .new-article-big.article-portret {
        gap: 20px;
    }
    
    .new-article-big.article-portret .article-image-wrapper {
        width: 340px;
        min-width: 340px;
        max-width: 340px;
    }

    .new-article-big.article-portret .article-body {
        padding-left: 0;
        padding-top: 32px;
    }

    .new-article-big.article-portret .article-body .article-excerpt {
        -webkit-line-clamp: 4;
    }

    .new-article-big.article-landscape .article-body-wrapper {
        height: 100%;
    }

/* Prevent layout breaking after JavaScript loads */
.hero .row:not(.ad-zone),
.section-category .row:not(.ad-zone) {
    flex-wrap: nowrap !important;
}

.hero-logistica,
.new_articles_grid_wrapper {
    min-width: 0 !important;
}

.hero .sidebar_bus_logistica,
.section-category .sidebar_bus_logistica {
    flex-shrink: 0 !important;
}
