.line{
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, #4a90e2, #004EA2);
    border-radius: 10px;
    margin: 40px 0;   
}

.o_big {
    position: relative;
    overflow: hidden;
}

.o_big img {
    width: 100%;
    min-height: 220px;
    object-fit: cover;
}

.o_big h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: none;
    padding: 0 24px;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    font-size: 32px;
    line-height: 1.3;
    font-weight: 600;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.product_a {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 28px 0 16px;
    border-bottom: 1px solid #e7edf5;
    margin-bottom: 26px;
}

.product_a a {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid #d4e1f0;
    border-radius: 999px;
    font-size: 14px;
    color: #47607e;
    background: #f7fbff;
}

.product_a a:hover,
.product_a a.csel {
    color: #fff;
    background: #004ea2;
    border-color: #004ea2;
}

.product_ul {
    padding-top: 80px;
}

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

.product_b {
    position: relative;
    height: 100%;
    background: #ffffff;
    border: 1px solid #d6e3f1;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.product_b a {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    padding: 14px;
}

.product_b .imgs {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(180deg, #e9f1fa 0%, #dbe8f6 100%);
    box-shadow: inset 0 0 0 1px #d8e4f0;
}

.product_b .imgs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.product_b .imgs p {
    display: none;
}

.product_b h2 {
    padding: 16px 0 6px;
    color: #0d2240;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
    text-align: left;
}

.product_b > a > p {
    padding: 0;
    color: #687d93;
    font-size: 14px;
    line-height: 1.45;
    text-align: left;
}

.product_b:hover {
    transform: translateY(-2px);
    border-color: #c3d8ee;
    background: #ffffff;
    box-shadow: 0 10px 22px rgba(78, 138, 214, 0.18);
}

.product_b:hover .imgs img {
    transform: scale(1.03);
}

.yema {
    padding: 36px 0 64px;
}

.pages {
    width: 100%;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.page-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid #d6e1ef;
    border-radius: 8px;
    color: #38516d;
    background: #fff;
    font-size: 14px;
}

a.page-item:hover {
    color: #fff;
    background: #004ea2;
    border-color: #004ea2;
}

@media screen and (max-width: 1280px) {
    .product_ul ul {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .o_big h1 {
        font-size: 30px;
    }
}

@media screen and (max-width: 1100px) {
    .product_ul ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .o_big h1 {
        font-size: 28px;
    }
}

@media screen and (max-width: 768px) {
    .product_ul ul {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .product_a {
        padding-top: 20px;
    }

    .o_big h1 {
        font-size: 24px;
    }

}
