.blog-page {
    padding: 8px 0 0;
    color: var(--industrial-blue);
    letter-spacing: 0.06em;
}

.blog-page__breadcrumbs {
    display: flex;
    gap: 9px;
    align-items: center;
    margin: 0 0 24px;
    color: #8b94a8;
    font-size: 15px;
    font-weight: 400;
}

.blog-page__breadcrumbs a {
    color: inherit;
    text-decoration: none;
}

.blog-page__breadcrumbs > span:last-child {
    color: #000;
}

.blog-page__heading {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    margin-bottom: 52px;
}

.blog-page h1 {
    margin: 0;
    font-size: clamp(36px, 4vw, 54px);
    font-weight: 500;
    line-height: .96;
    letter-spacing: 0.02em;
}

.blog-filter-button {
    display: none;
    align-items: center;
    gap: 8px;
    border: 0;
    padding: 0;
    background: transparent;
    color: #0a1e4d;
    font: inherit;
    cursor: pointer;
}

.blog-filter-button span {
    width: 20px;
    height: 20px;
    background: url("../svg/filter-slider.svg") center / contain no-repeat;
}

.blog-page__layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.blog-filter {
    padding: 18px;
    background: #f3f5f8;
}

.blog-filter-backdrop,
.blog-filter__mobile-head {
    display: none;
}

.blog-filter__body {
    display: grid;
}

.blog-filter__topic {
    width: 100%;
    border: 0;
    padding: 14px 12px;
    background: transparent;
    color: #0a1e4d;
    text-align: left;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.25;
    cursor: pointer;
}

.blog-filter__topic:hover {
    background: #e5e8ee;
}

.blog-filter__topic.is-active {
    background: var(--industrial-orange);
    color: #fff;
}

.blog-list {
    min-width: 0;
}

.blog-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 50px;
    width: min(100%, 690px);
    margin-bottom: 58px;
}

.blog-search label {
    display: block;
    min-width: 0;
}

.blog-search label span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.blog-search input {
    width: 100%;
    height: 50px;
    border: 0;
    padding: 0 18px;
    background: #f3f5f8;
    color: var(--industrial-blue);
    font-size: 16px;
    outline: none;
}

.blog-search input::placeholder {
    color: #7d879b;
    opacity: 1;
}

.blog-search button {
    position: relative;
    width: 50px;
    height: 50px;
    border: 0;
    background: var(--industrial-orange);
    cursor: pointer;
}

.blog-search button::before,
.blog-search button::after {
    position: absolute;
    content: "";
}

.blog-search button::before {
    top: 15px;
    left: 15px;
    width: 14px;
    height: 14px;
    border: 2px solid #fff;
    border-radius: 50%;
}

.blog-search button::after {
    top: 29px;
    left: 29px;
    width: 10px;
    height: 2px;
    background: #fff;
    transform: rotate(45deg);
    transform-origin: left center;
}

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

.blog-card {
    min-width: 0;
}

.blog-card[hidden] {
    display: none !important;
}

.blog-card__image {
    position: relative;
    display: block;
    aspect-ratio: 1 / .96;
    overflow: hidden;
    background: #eceef3;
}

.blog-card__image::after {
    position: absolute;
    top: 0;
    right: 0;
    width: 36px;
    height: 36px;
    background: #fff;
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    content: "";
}

.blog-card__image span {
    position: absolute;
    z-index: 1;
    top: 20px;
    left: 20px;
    padding: 6px 10px;
    background: #fff;
    color: var(--industrial-orange);
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
}

.blog-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card h2 {
    margin: 21px 0 18px;
    font-size: 23px;
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: 0.02em;
}

.blog-card h2 a {
    color: inherit;
    text-decoration: none;
}

.blog-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #66748e;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.2;
}

.blog-list__empty {
    margin: 40px 0 0;
    color: #66748e;
    font-size: 18px;
}

.blog-pagination {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 66px;
}

.blog-pagination button {
    width: 34px;
    height: 32px;
    border: 0;
    background: #f5f6f8;
    color: #071d50;
    font: 600 16px "Inter Tight", sans-serif;
    cursor: pointer;
}

.blog-pagination button.is-active {
    background: var(--industrial-orange);
    color: #fff;
}

.blog-pagination span {
    padding: 0 6px;
}

.blog-load-more {
    display: none;
    width: 100%;
    margin-top: 40px;
}

.blog-request {
    margin-top: 110px;
}

@media (max-width: 1180px) {
    .blog-page__layout {
        grid-template-columns: 230px minmax(0, 1fr);
    }

    .blog-card h2 {
        font-size: 20px;
    }
}

@media (max-width: 820px) {
    .blog-page {
        padding-top: 18px;
    }

    .blog-page__breadcrumbs {
        gap: 7px;
        margin-bottom: 42px;
        font-size: 12px;
    }

    .blog-page__heading {
        align-items: center;
        margin-bottom: 30px;
    }

    .blog-page h1 {
        font-size: 32px;
        letter-spacing: 0.02em;
    }

    .blog-filter-button {
        display: inline-flex;
        color: #000;
        font-size: 14px;
        font-weight: 500;
    }

    .blog-page__layout {
        display: block;
    }

    .blog-filter-backdrop {
        position: fixed;
        z-index: 80;
        inset: 0;
        display: block;
        visibility: hidden;
        background: rgba(0, 0, 0, .35);
        opacity: 0;
        transition: opacity .25s ease, visibility .25s ease;
    }

    body.is-blog-filter-open .blog-filter-backdrop {
        visibility: visible;
        opacity: 1;
    }

    body.is-blog-filter-open {
        overflow: hidden;
    }

    .blog-filter {
        position: fixed;
        z-index: 90;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(330px, 88vw);
        overflow: auto;
        padding: 24px 15px;
        transform: translateX(-105%);
        transition: transform .25s ease;
    }

    body.is-blog-filter-open .blog-filter {
        transform: translateX(0);
    }

    .blog-filter__mobile-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 14px;
        padding: 0 0 18px;
        border-bottom: 1px solid #d8dce3;
        font-size: 22px;
        font-weight: 500;
    }

    .blog-filter__mobile-head button {
        width: 36px;
        height: 36px;
        border: 0;
        padding: 0;
        background: transparent;
        color: inherit;
        font: inherit;
        font-size: 28px;
        cursor: pointer;
    }

    .blog-filter__topic {
        padding: 16px 18px;
        color: #000;
        font-size: 26px;
        line-height: 1.05;
    }

    .blog-search {
        grid-template-columns: minmax(0, 1fr) 39px;
        width: 100%;
        margin-bottom: 38px;
    }

    .blog-search input {
        height: 39px;
        padding-inline: 10px;
        font-size: 12px;
    }

    .blog-search button {
        width: 39px;
        height: 39px;
    }

    .blog-search button::before {
        top: 12px;
        left: 12px;
        width: 10px;
        height: 10px;
        border-width: 1.5px;
    }

    .blog-search button::after {
        top: 23px;
        left: 23px;
        width: 8px;
        height: 1.5px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .blog-card__image {
        aspect-ratio: 1 / .86;
    }

    .blog-card__image::after {
        width: 26px;
        height: 26px;
    }

    .blog-card__image span {
        top: 9px;
        left: 9px;
        padding: 5px 8px;
        font-size: 11px;
    }

    .blog-card h2 {
        margin: 12px 0 14px;
        font-size: 17px;
        line-height: 1.08;
        letter-spacing: 0.02em;
    }

    .blog-card__meta {
        font-size: 12px;
    }

    .blog-pagination {
        display: none;
    }

    .blog-load-more {
        display: inline-flex;
        margin-top: 34px;
    }

    .blog-request {
        margin-top: 50px;
    }
}
