.listal-page {
    background: #ffffff;
    overflow-x: hidden;
}

.listal-page .list-container {
    width: min(calc(100% - 48px), 1600px);
}

.article-list-section {
    padding: 0 0 92px;
    background: #ffffff;
}

.article-list-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 42px;
}

.article-list-heading > * {
    min-width: 0;
}

.article-eyebrow {
    margin: 0 0 12px;
    color: var(--list-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
}

.article-list-heading h1 {
    max-width: 740px;
    margin: 0;
    color: #111820;
    font-size: clamp(28px, 3.2vw, 48px);
    line-height: 1.1;
    font-weight: 800;
}

.article-list-intro {
    max-width: 340px;
    margin: 0 0 2px;
    color: #69737d;
    font-size: 15px;
    line-height: 1.65;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.article-card {
    min-width: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 7px 22px rgba(30, 45, 61, .09);
    transition: transform .25s ease, box-shadow .25s ease;
}

.article-card.is-hidden {
    display: none;
}

.article-card:hover {
    box-shadow: 0 15px 30px rgba(30, 45, 61, .14);
    transform: translateY(-4px);
}

.article-card-link {
    display: block;
    height: 100%;
    color: inherit;
}

.article-media {
    position: relative;
    height: 245px;
    overflow: hidden;
    isolation: isolate;
}

.article-media::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    background-position: center;
    background-size: cover;
    filter: saturate(.92);
    transform: scale(1.04);
    transition: transform .55s ease;
}

.media-factory::before {
    background-image: url("../images/banner1.jpg");
}

.media-yard::before {
    background-image: url("../images/gcbanner.jpg");
}

.media-trailer::before {
    background-image: url("../images/xwt.png");
}

.article-card:hover .article-media::before {
    transform: scale(1.1);
}

.article-media::after {
    position: absolute;
    z-index: 0;
    inset: 0 auto 0 0;
    width: 58%;
    content: "";
    background: rgba(13, 62, 128, .94);
    clip-path: ellipse(72% 86% at 0 48%);
}

.article-media-curve {
    position: absolute;
    z-index: 1;
    top: -38px;
    left: 44%;
    width: 94px;
    height: 325px;
    border: 12px solid #ffbd3e;
    border-left: 0;
    border-radius: 0 100% 100% 0;
    transform: rotate(-11deg);
    pointer-events: none;
}

.article-media-title {
    position: absolute;
    z-index: 2;
    bottom: 24px;
    left: -52px;
    color: #ffffff;
    font-size: clamp(27px, 2.6vw, 40px);
    line-height: 1;
    font-weight: 800;
}

.article-media-circle {
    position: absolute;
    z-index: 3;
    bottom: -30px;
    width: 128px;
    height: 128px;
    border: 8px solid rgba(132, 159, 198, .98);
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 3px 8px rgba(6, 26, 55, .2);
    transition: transform .45s ease;
}

.circle-steel {
    left: 80px;
    object-position: center;
}

.circle-wire {
    left: 245px;
    object-position: center;
}

.article-card:hover .circle-steel {
    transform: translateY(-4px) rotate(-2deg);
}

.article-card:hover .circle-wire {
    transform: translateY(-4px) rotate(2deg);
}

.article-card-body {
    min-height: 150px;
    min-width: 0;
    padding: 27px 25px 23px;
}

.article-card-body h2 {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0 0 17px;
    overflow: hidden;
    color: #111820;
    font-size: clamp(17px, 1.45vw, 22px);
    line-height: 1.35;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.article-card-body p {
    width: 100%;
    min-width: 0;
    max-width: 370px;
    min-height: 50px;
    margin: 0;
    color: #66717c;
    font-size: 15px;
    line-height: 1.65;
}

.article-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #e4e7e9;
}

.article-card-meta time {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    color: #1e5e9e;
}

.article-card-meta time strong {
    color: #0e1013;
    font-size: 22px;
    line-height: 1;
    font-weight: 800;
}

.article-card-meta time span {
    font-size: 14px;
    line-height: 1;
}

.article-arrow {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    color: #2c526f;
    border-radius: 50%;
    background: #f4f5f6;
    font-size: 17px;
    transition: color .2s ease, background .2s ease, transform .2s ease;
}

.article-card:hover .article-arrow,
.article-card-link:focus-visible .article-arrow {
    color: #ffffff;
    background: var(--list-blue);
    transform: translate(2px, -2px);
}

.article-card-link:focus-visible {
    outline: 3px solid var(--list-orange);
    outline-offset: -3px;
}

.article-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: 48px;
}

.article-pagination button {
    min-width: 41px;
    height: 40px;
    padding: 0 12px;
    color: var(--list-blue);
    border: 1px solid #d9e0e6;
    border-right: 0;
    background: #ffffff;
    font-size: 14px;
    transition: color .2s ease, background .2s ease;
}

.article-pagination button:first-child {
    color: #617181;
    border-radius: 6px 0 0 6px;
    background: #eef1f4;
}

.article-pagination button:last-child {
    border-right: 1px solid #d9e0e6;
    border-radius: 0 6px 6px 0;
}

.article-pagination button.is-active,
.article-pagination button:hover:not(:disabled),
.article-pagination button:focus-visible {
    color: #ffffff;
    border-color: var(--list-blue);
    background: var(--list-blue);
}

.article-pagination button:disabled {
    cursor: not-allowed;
    opacity: .48;
}

@media (max-width: 1120px) {
    .article-grid {
        gap: 20px;
    }

    .article-media-circle {
        width: 108px;
        height: 108px;
        border-width: 7px;
    }

    .circle-steel {
        left: 62px;
    }

    .circle-wire {
        left: 188px;
    }

    .article-card-body {
        padding-right: 20px;
        padding-left: 20px;
    }
}

@media (max-width: 900px) {
    .article-list-heading {
        align-items: start;
        flex-direction: column;
        gap: 18px;
        margin-bottom: 30px;
    }

    .article-list-intro {
        max-width: 560px;
    }

    .article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .article-media {
        height: 225px;
    }

    .article-media-circle {
        bottom: -25px;
    }
}

@media (max-width: 620px) {
    .listal-page .list-container {
        width: min(calc(100% - 28px), 480px);
    }

    .article-list-section {
        padding-top: 38px;
        padding-bottom: 62px;
    }

    .article-eyebrow {
        font-size: 10px;
    }

    .article-list-heading h1 {
        font-size: 30px;
    }

    .article-list-intro {
        width: 100%;
        min-width: 0;
        font-size: 13px;
    }

    .article-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .article-media {
        height: 228px;
    }

    .article-media-title {
        bottom: 21px;
        font-size: 32px;
    }

    .article-media-curve {
        left: 45%;
        width: 82px;
        border-width: 10px;
    }

    .article-media-circle {
        width: 112px;
        height: 112px;
    }

    .circle-steel {
        left: 58px;
    }

    .circle-wire {
        left: 186px;
    }

    .article-card-body {
        padding: 22px 18px 19px;
    }

    .article-card-body h2 {
        margin-bottom: 12px;
        font-size: 18px;
        line-height: 1.35;
        white-space: normal;
        overflow-wrap: anywhere;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .article-card-body p {
        min-height: 0;
        font-size: 13px;
    }

    .article-card-meta {
        margin-top: 19px;
        padding-top: 17px;
    }

    .article-card-meta time strong {
        font-size: 20px;
    }

    .article-pagination {
        margin-top: 38px;
    }

    .article-pagination button {
        min-width: 35px;
        height: 36px;
        padding: 0 9px;
        font-size: 12px;
    }
}

/* Static case list cards */
.article-list-heading h2 {
    max-width: 740px;
    margin: 0;
    color: #111820;
    font-size: clamp(28px, 3.2vw, 48px);
    line-height: 1.1;
    font-weight: 800;
}

.article-card-link {
    display: grid;
    grid-template-rows: auto 1fr;
    height: 100%;
    color: inherit;
}

.article-media {
    display: block;
    height: auto;
    aspect-ratio: 1.5 / 1;
    background: #e8edf2;
    isolation: auto;
}

.article-media::before,
.article-media::after {
    display: none;
}

.article-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.article-card:hover .article-media img,
.article-card-link:focus-visible .article-media img {
    transform: scale(1.05);
}

.article-category {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--list-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.article-card-body {
    display: grid;
    align-content: start;
}

.article-card-body h2 {
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.article-card-body p {
    max-width: none;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.article-card-meta {
    align-self: end;
}

.article-pagination button[disabled] {
    pointer-events: none;
}











@media (max-width: 900px) {
    .article-media {
        aspect-ratio: 1.44 / 1;
    }
}






@media (max-width: 620px) {
    .article-list-heading h2 {
        font-size: 30px;
    }



    .article-media {
        aspect-ratio: 1.38 / 1;
    }
}

.article-card,
.article-card-link,
.article-media {
    cursor: zoom-in;

}

.case-lightbox {
    position: fixed;
    z-index: 10000;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: rgba(6, 18, 32, .84);
    backdrop-filter: blur(4px);

}

.case-lightbox.is-open {
    display: flex;

}

.case-lightbox-panel {
    position: relative;
    width: min(100%, 1120px);
    max-height: calc(100vh - 56px);

}

.case-lightbox-figure {
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #0d1620;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .38);

}

.case-lightbox img {
    display: block;
    width: 100%;
    max-height: min(78vh, 760px);
    object-fit: contain;
    background: #0d1620;

}

.case-lightbox figcaption {
    margin: 0;
    padding: 14px 18px 16px;
    color: #ffffff;
    background: rgba(13, 22, 32, .96);
    font-size: 15px;
    line-height: 1.5;

}

.case-lightbox-close {
    position: absolute;
    z-index: 2;
    top: -18px;
    right: -18px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #152331;
    border: 0;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .24);
    cursor: pointer;

}

.case-lightbox-close:hover,
.case-lightbox-close:focus-visible {
    color: #ffffff;
    background: var(--list-blue);
    outline: none;

}

.case-lightbox-open {
    overflow: hidden;

}

@media (max-width: 620px) {
    .case-lightbox {
        padding: 16px;
    }


    .case-lightbox-panel {
        max-height: calc(100vh - 32px);
    }


    .case-lightbox-close {
        top: 10px;
        right: 10px;
        width: 38px;
        height: 38px;
    }


    .case-lightbox img {
        max-height: 72vh;
    }


    .case-lightbox figcaption {
        padding: 12px 14px;
        font-size: 13px;
    }
}
