/* style/news.css */
:root {
    --primary-color: #FFD700; /* Vàng kim */
    --secondary-color: #8B0000; /* Đỏ đậm */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f5f5f5;
    --bg-dark: #222222;
    --border-color: #e0e0e0;
}

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

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

/* Hero Section */
.page-news .hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-news .hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--text-light);
}

.page-news .hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

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

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

/* Section Titles */
.page-news .section-title {
    font-size: 2.5em;
    color: var(--secondary-color);
    text-align: center;
    margin-top: 60px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-news .section-subtitle {
    font-size: 1.2em;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* News Grid Section */
.page-news .news-grid-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

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

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

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

.page-news .card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.page-news .card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-news .card-title {
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--secondary-color);
    line-height: 1.3;
    font-weight: bold;
}

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

.page-news .card-title a:hover {
    color: var(--primary-color);
}

.page-news .card-excerpt {
    font-size: 1em;
    color: var(--text-dark);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-news .read-more {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    align-self: flex-start;
}

.page-news .read-more:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Latest Updates Section */
.page-news .latest-updates-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-news .update-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.page-news .update-item {
    display: flex;
    align-items: flex-start;
    background-color: #fdfdfd;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-news .update-image {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 25px;
    flex-shrink: 0;
}

.page-news .update-content {
    flex-grow: 1;
}

.page-news .update-title {
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--secondary-color);
    font-weight: bold;
}

.page-news .update-title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-news .update-title a:hover {
    color: var(--primary-color);
}

.page-news .update-date {
    font-size: 0.9em;
    color: #888888;
    margin-bottom: 10px;
}

.page-news .update-excerpt {
    font-size: 1em;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.page-news .view-all-button {
    text-align: center;
    margin-top: 50px;
}

/* Call to Action Section */
.page-news .signup-cta-section {
    background: linear-gradient(45deg, var(--secondary-color), #A52A2A);
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
    box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-news .cta-heading {
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
    color: var(--text-light);
}

.page-news .cta-text {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.page-news .cta-buttons .cta-button {
    margin: 0 15px;
    min-width: 180px;
}

.page-news .cta-buttons .primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.page-news .cta-buttons .primary:hover {
    background-color: #FFC107; /* Hơi tối hơn primary */
    color: var(--secondary-color);
}

.page-news .cta-buttons .secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.page-news .cta-buttons .secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-news .hero-title {
        font-size: 2.8em;
    }
    .page-news .section-title {
        font-size: 2.2em;
    }
    .page-news .cta-heading {
        font-size: 2.4em;
    }
    .page-news .update-image {
        width: 160px;
        height: 120px;
    }
}

@media (max-width: 768px) {
    .page-news .hero-title {
        font-size: 2.2em;
    }
    .page-news .hero-description {
        font-size: 1em;
    }
    .page-news .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-news .section-title {
        font-size: 1.8em;
    }
    .page-news .section-subtitle {
        font-size: 1em;
    }
    .page-news .news-grid {
        grid-template-columns: 1fr;
    }
    .page-news .news-card {
        margin-bottom: 20px;
    }
    .page-news .update-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .page-news .update-image {
        margin-right: 0;
        margin-bottom: 15px;
        width: 100%;
        max-width: 300px;
        height: 200px;
    }
    .page-news .update-content .read-more {
        align-self: center;
    }
    .page-news .cta-heading {
        font-size: 2em;
    }
    .page-news .cta-text {
        font-size: 1em;
    }
    .page-news .cta-buttons {
        flex-direction: column;
    }
    .page-news .cta-buttons .cta-button {
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    .page-news .hero-title {
        font-size: 1.8em;
    }
    .page-news .section-title {
        font-size: 1.5em;
    }
    .page-news .card-title {
        font-size: 1.3em;
    }
    .page-news .update-title {
        font-size: 1.2em;
    }
    .page-news .cta-heading {
        font-size: 1.6em;
    }
}