.materials-page {
    min-height: 70vh;
    background: #f4f8fd;
}

.materials-heading {
    padding: 52px 0 82px;
    color: #ffffff;
    background: linear-gradient(120deg, #032d60, #0b67bd);
}

.materials-heading h1 {
    margin: 0 0 10px;
    font-size: clamp(34px, 5vw, 52px);
}

.materials-heading p {
    max-width: 760px;
    margin: 0;
    color: #e5f0ff;
    font-size: 18px;
    line-height: 1.6;
}

.materials-content {
    margin-top: -42px;
    padding-bottom: 80px;
}

.materials-notice {
    padding: 18px 22px;
    color: #17304f;
    background: #ffc928;
    border-radius: 15px;
    box-shadow: 0 12px 30px rgba(6, 59, 120, .12);
    font-weight: 900;
}

.materials-count {
    margin: 25px 0 18px;
    color: #607086;
}

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

.material-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dbe7f5;
    border-radius: 18px;
    box-shadow: 0 14px 35px rgba(6, 59, 120, .11);
}

.material-image {
    display: grid;
    aspect-ratio: 1 / 1;
    padding: 20px;
    place-items: center;
    background: #edf3fa;
}

.material-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.material-body {
    padding: 18px;
}

.material-code {
    color: #0b67bd;
    font-size: 12px;
    font-weight: 900;
}

.material-body h2 {
    min-height: 65px;
    font-size: 16px;
    line-height: 1.45;
}

.material-price {
    color: #063b78;
    font-size: 24px;
    font-weight: 900;
}

.material-price small {
    display: block;
    color: #607086;
    font-size: 11px;
    text-transform: uppercase;
}

.material-contact {
    display: block;
    padding: 12px;
    color: #17304f;
    background: #ffc928;
    border-radius: 10px;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
}

.materials-empty {
    padding: 35px;
    background: #ffffff;
    border-radius: 16px;
    text-align: center;
}

.materials-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 38px;
}

.materials-pagination a,
.materials-pagination span {
    display: grid;
    min-width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 10px;
    font-weight: 900;
    text-decoration: none;
}

.materials-pagination a {
    color: #063b78;
    background: #ffffff;
    border: 1px solid #c9dbee;
}

.materials-pagination a.active,
.materials-pagination a:hover {
    color: #17304f;
    background: #ffc928;
    border-color: #ffc928;
}

@media (max-width: 950px) {
    .materials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .materials-grid {
        grid-template-columns: 1fr;
    }

    .materials-heading {
        padding: 38px 0 72px;
    }

    .material-body h2 {
        min-height: auto;
    }
}
