
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.product-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 140px 0;
    position: relative;
    overflow: hidden;
}

.product-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

@keyframes heroZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
}

.product-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.product-hero .container {
    position: relative;
    z-index: 2;
}

.product-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    max-width: 800px;
    opacity: 0;
    animation: fadeInDown 0.8s ease forwards 0.3s;
}

.product-hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin-top: 20px;
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards 0.6s;
}

.breadcrumb {
    font-size: 14px;
    color: #fff;
    margin-bottom: 20px;
    margin-top: 20px;
    position: absolute;
    top: 110px;
    padding: 0px;
    opacity: 0;
    animation: fadeInDown 0.6s ease forwards 0.1s;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #0ea3df;
}
a {
    text-decoration: none;
}

.news-section {
    padding: 100px 0 80px;
    box-sizing: border-box;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

.news-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s, box-shadow 0.4s;
    border: 1px solid #f0f2f7;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 48px rgba(0, 102, 204, 0.08);
    border-color: #0066cc;
}

.news-card-img {
    display: block;
    width: 100%;
    height: 270px;
    overflow: hidden;
    flex-shrink: 0;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card:hover .news-card-img img {
    transform: scale(1.05);
}

.news-card-body {
    padding: 20px 22px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0 0 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-title a {
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.3s;
}

.news-card-title a:hover {
    color: #0066cc;
}

.news-card-desc {
    font-size: 14px;
    color: #888;
    line-height: 1.7;
    margin: 0 0 16px 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid #f0f2f7;
    margin-top: auto;
}

.news-card-date {
    font-size: 13px;
    color: #bbb;
}

.news-card-more {
    font-size: 14px;
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.news-card-more:hover {
    color: #004d99;
    transform: translateX(4px);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
    margin-bottom: 20px;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    color: #666;
    background: #fff;
    border: 1px solid #e0e0e0;
    transition: all 0.2s;
}

.pagination a:hover {
    background: #f5f5f5;
    border-color: #0066cc;
    color: #0066cc;
}

.pagination a.active {
    background: #0066cc;
    border-color: #0066cc;
    color: #fff;
}


@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .news-section {
        padding: 20px 0 50px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-card-img {
        height: 180px;
    }

    .news-card-title {
        font-size: 16px;
    }

    .news-card-desc {
        font-size: 13px;
    }

    .pagination a {
        min-width: 30px;
        height: 30px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .news-grid {
        gap: 16px;
    }

    .news-card-img {
        height: 160px;
    }

    .news-card-body {
        padding: 16px 18px 18px;
    }

    .news-card-title {
        font-size: 15px;
    }
}

@media (max-width: 992px) {
    .product-hero {
        padding: 100px 0 60px;
        min-height: 280px;
        
        background-position: center;
    }

    .product-hero::after {
        background-position: center;
    }

    .breadcrumb {
        position: relative;
        top: 0;
        margin-top: 0;
        margin-bottom: 12px;
    }

    .product-hero h1 {
        font-size: 2.4rem;
    }

    .product-hero p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .product-hero {
        padding: 80px 0 50px;
        min-height: 240px;
        background-position: center;
        background-size: cover;
    }

    .product-hero::after {
        background-position: center;
        background-size: cover;
    }

    .product-hero h1 {
        font-size: 2rem;
        animation: fadeInDown 0.6s ease forwards 0.2s;
    }

    .product-hero p {
        font-size: 0.95rem;
        margin-top: 12px;
    }

    .breadcrumb {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .product-hero {
        padding: 60px 0 40px;
        min-height: 200px;
        background-position: center;
        background-size: cover;
    }

    .product-hero::after {
        background-position: center;
        background-size: cover;
    }

    .product-hero h1 {
        font-size: 1.6rem;
    }

    .product-hero p {
        font-size: 0.85rem;
        margin-top: 10px;
    }

    .breadcrumb {
        font-size: 12px;
        margin-bottom: 8px;
    }
}

@media (max-width: 380px) {
    .product-hero {
        padding: 50px 0 30px;
        min-height: 160px;
    }

    .product-hero h1 {
        font-size: 1.3rem;
    }

    .product-hero p {
        font-size: 0.78rem;
    }

    .breadcrumb {
        font-size: 11px;
    }
}