/* style/news.css */
:root {
    --primary-color: #E44D26;
    --secondary-color: #FFB800;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f4f7f6;
    --background-dark: #2c3e50;
    --card-background: #ffffff;
    --border-color: #e0e0e0;
}

.page-news {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

.page-news .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-news section {
    padding: 60px 0;
}

.page-news h1,
.page-news h2,
.page-news h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 25px;
    font-weight: bold;
}

.page-news h1 {
    font-size: 2.8em;
    color: var(--text-light);
}

.page-news h2 {
    font-size: 2.2em;
}

.page-news h3 {
    font-size: 1.6em;
    color: var(--text-dark);
}

.page-news p {
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-news .hero-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, #FF6B00 100%);
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
}

.page-news .hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-news .hero-content p {
    color: var(--text-light);
    font-size: 1.2em;
    line-height: 1.8;
}

.page-news .cta-button {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--text-dark);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-news .cta-button:hover {
    background: #FFD700;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-news .latest-articles {
    background-color: var(--card-background);
    padding: 80px 0;
}

.page-news .article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-news .article-card {
    background: var(--card-background);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-news .article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-news .article-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.page-news .article-card h3 {
    text-align: left;
    padding: 15px 20px 10px;
    margin-bottom: 0;
    font-size: 1.4em;
    flex-grow: 1;
}

.page-news .article-card h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news .article-card h3 a:hover {
    color: #FF6B00;
}

.page-news .article-card p {
    text-align: left;
    padding: 0 20px 15px;
    font-size: 1em;
    color: #666;
    flex-grow: 1;
}

.page-news .read-more {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    margin: 0 20px 20px;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.page-news .read-more:hover {
    background-color: #FF6B00;
}

.page-news .news-categories {
    background-color: var(--background-light);
    padding: 80px 0;
}

.page-news .category-list {
    margin-top: 40px;
}

.page-news .category-list ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.page-news .category-list li {
    background: var(--card-background);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news .category-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-news .category-list li a {
    text-decoration: none;
    display: block;
    color: var(--text-dark);
}

.page-news .category-list li img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 50%;
    border: 3px solid var(--secondary-color);
    padding: 5px;
}

.page-news .category-list li span {
    display: block;
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-news .category-list li p {
    font-size: 0.95em;
    color: #555;
    text-align: center;
}

.page-news .why-good88 {
    background-color: var(--card-background);
    padding: 80px 0;
}

.page-news .benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-news .benefit-item {
    background: var(--card-background);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-news .benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-news .benefit-item img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-news .benefit-item h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-news .benefit-item p {
    font-size: 1em;
    color: #555;
    text-align: center;
}

.page-news .call-to-action-bottom {
    background: linear-gradient(135deg, #FFB800 0%, #E44D26 100%);
    color: var(--text-light);
    padding: 70px 0;
    text-align: center;
}

.page-news .call-to-action-bottom h2 {
    color: var(--text-light);
    font-size: 2.5em;
}

.page-news .call-to-action-bottom p {
    color: var(--text-light);
    font-size: 1.15em;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-news h1 {
        font-size: 2.2em;
    }
    .page-news h2 {
        font-size: 1.8em;
    }
    .page-news h3 {
        font-size: 1.4em;
    }
    .page-news .hero-content p {
        font-size: 1.1em;
    }
    .page-news .article-grid,
    .page-news .category-list ul,
    .page-news .benefits-list {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-news .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-news section {
        padding: 40px 0;
    }
    .page-news h1 {
        font-size: 1.8em;
    }
    .page-news h2 {
        font-size: 1.6em;
    }
    .page-news h3 {
        font-size: 1.3em;
    }
    .page-news .hero-content p {
        font-size: 1em;
    }
    .page-news .article-grid,
    .page-news .category-list ul,
    .page-news .benefits-list {
        grid-template-columns: 1fr;
    }
    .page-news .article-card h3,
    .page-news .article-card p,
    .page-news .read-more {
        padding-left: 15px;
        padding-right: 15px;
        margin-left: 15px;
        margin-right: 15px;
    }
    .page-news .category-list li img {
        width: 80px;
        height: 80px;
    }
    .page-news .benefit-item img {
        width: 100px;
        height: 100px;
    }
    .page-news .call-to-action-bottom h2 {
        font-size: 2em;
    }
    .page-news .call-to-action-bottom p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-news h1 {
        font-size: 1.5em;
    }
    .page-news h2 {
        font-size: 1.4em;
    }
    .page-news h3 {
        font-size: 1.2em;
    }
    .page-news .cta-button {
        width: 90%;
        box-sizing: border-box;
    }
}