/* CargoNews homepage refresh - draft only, 2026-09 */

.homepage-right-sidebar {
    display: none;
}

.article-container.homepage-group {
    box-sizing: content-box;
    width: 870px;
    padding: 0 30px 34px;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 28px 22px;
    float: left;
}

.article-container.homepage-group:after {
    display: none;
}

.article-container.homepage-group > .clear {
    display: none;
}

.article-container.homepage-group > .ad-baner,
.article-container.homepage-group > .ad-banner {
    grid-column: 1 / -1;
}

.article-container.homepage-group > h2 {
    grid-column: 1 / -1;
    position: relative;
    margin: 4px 0 0;
    padding: 0 0 12px;
    border: 0;
    border-bottom: 1px solid #dedede;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: none;
    color: #171717;
}

.article-container.homepage-group > h2:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 54px;
    height: 3px;
    background: #f38118;
}

.article-container.homepage-group > h2 a {
    font: inherit;
    color: inherit;
}

.article-container.homepage-group article {
    float: none;
    width: auto;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.article-container.homepage-group:not(.homepage-group-important) article:nth-of-type(1),
.article-container.homepage-group:not(.homepage-group-important) article:nth-of-type(2) {
    grid-column: span 3;
}

.article-container.homepage-group:not(.homepage-group-important) article:nth-of-type(n+3) {
    grid-column: span 2;
}

.article-container.homepage-group.homepage-group-important article:nth-of-type(1),
.article-container.homepage-group.homepage-group-important article:nth-of-type(2) {
    grid-column: span 3;
}

.article-container.homepage-group.homepage-group-important article:nth-of-type(n+3) {
    grid-column: span 2;
}

.article-container.homepage-group article > a {
    display: block;
    width: 100%;
    float: none;
    overflow: hidden;
    background: #f2f2f2;
}

.article-container.homepage-group article img {
    display: block;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin: 0;
    transition: transform .2s ease;
}

.article-container.homepage-group article > a:hover img {
    transform: scale(1.015);
}

.article-container.homepage-group article h3 {
    height: auto;
    overflow: visible;
    margin: 10px 0 8px;
    padding: 0;
    line-height: 1.25;
}

.article-container.homepage-group article h3 a {
    display: block;
    height: auto;
    overflow: visible;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.28;
    font-weight: 700;
    color: #171717;
    text-decoration: none;
}

.article-container.homepage-group article h3 a:hover {
    color: #c86108;
}

.article-container.homepage-group.homepage-group-important article:nth-of-type(1) h3 a,
.article-container.homepage-group.homepage-group-important article:nth-of-type(2) h3 a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -0.01em;
    min-height: 3.6em;
    max-height: 3.6em;
}

.article-container.homepage-group:not(.homepage-group-important) article:nth-of-type(1) h3 a,
.article-container.homepage-group:not(.homepage-group-important) article:nth-of-type(2) h3 a {
    font-size: 21px;
    line-height: 1.22;
}

.article-container.homepage-group article p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    height: auto;
    margin: 0 0 10px;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}

.article-container.homepage-group.homepage-group-important article:nth-of-type(1) p,
.article-container.homepage-group.homepage-group-important article:nth-of-type(2) p {
    font-size: 15px;
    line-height: 1.55;
    -webkit-line-clamp: 4;
}

.article-container.homepage-group article:nth-of-type(n+3) p {
    display: none;
}

.article-container.homepage-group article .date {
    float: none;
    display: inline-block;
    margin: 3px 0 0;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 12px;
    line-height: 1.4;
    color: #8a8a8a;
}

.article-container.homepage-group article .date span,
.article-container.homepage-group article .comments {
    display: none;
}

@media screen and (max-width: 1002px) {
    .article-container.homepage-group {
        box-sizing: border-box;
        width: 100%;
        padding: 0 0 34px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 18px;
    }

    .article-container.homepage-group > h2 {
        grid-column: 1 / -1;
    }

    .article-container.homepage-group article,
    .article-container.homepage-group:not(.homepage-group-important) article:nth-of-type(1),
    .article-container.homepage-group:not(.homepage-group-important) article:nth-of-type(2),
    .article-container.homepage-group:not(.homepage-group-important) article:nth-of-type(n+3),
    .article-container.homepage-group.homepage-group-important article:nth-of-type(1),
    .article-container.homepage-group.homepage-group-important article:nth-of-type(2),
    .article-container.homepage-group.homepage-group-important article:nth-of-type(n+3) {
        grid-column: span 1;
        width: auto !important;
        margin: 0;
        padding: 0 !important;
    }

    .article-container.homepage-group.homepage-group-important article:nth-of-type(1) {
        grid-column: 1 / -1;
    }

    .article-container.homepage-group article > a {
        width: 100% !important;
        float: none !important;
    }

    .article-container.homepage-group article img.wp-post-image {
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
    }
}

@media screen and (max-width: 600px) {
    .article-container.homepage-group {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-bottom: 30px;
    }

    .article-container.homepage-group > h2,
    .article-container.homepage-group article,
    .article-container.homepage-group.homepage-group-important article:nth-of-type(1) {
        grid-column: 1;
    }

    .article-container.homepage-group > h2 {
        font-size: 21px;
        padding-bottom: 10px;
    }

    .article-container.homepage-group.homepage-group-important article:nth-of-type(1) h3 a,
    .article-container.homepage-group.homepage-group-important article:nth-of-type(2) h3 a,
    .article-container.homepage-group:not(.homepage-group-important) article:nth-of-type(1) h3 a,
    .article-container.homepage-group:not(.homepage-group-important) article:nth-of-type(2) h3 a {
        font-size: 20px;
        line-height: 1.24;
    }

    .article-container.homepage-group article h3 a {
        font-size: 18px;
        line-height: 1.28;
    }

    .article-container.homepage-group article p,
    .article-container.homepage-group article:nth-of-type(n+3) p {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        font-size: 14px;
        line-height: 1.48;
    }
}
