/* News Page Specific Styles */

/* News Hero Section */
.news-hero {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.8) 0%, rgba(0, 73, 153, 0.1) 100%),
                url('/img/hands_writing_on_form_small.png') center/cover no-repeat;
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.news-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.news-hero p {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* News Section */
.news-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

/* News Card */
.news-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Featured Article */
.news-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid var(--primary-color);
}

.news-card.featured h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* News Badge */
.news-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-color);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* News Date */
.news-date {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

/* News Titles */
.news-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Feature Highlights */
.feature-highlights {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.feature-highlights li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.feature-highlights li:before {
    /* content: "✓"; */
    content: "☐"; /* U+2610 Ballot Box Unicode Character */
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* News Tags */
.news-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.tag {
    background: var(--bg-light);
    color: var(--text-light);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Read More Link */
.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: gap 0.3s;
    gap: 0.3rem;
}

.read-more:hover {
    gap: 0.6rem;
}

/* Newsletter Section */
.newsletter-section {
    background: var(--white);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow);
    margin-top: 3rem;
}

.newsletter-content h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.newsletter-form button {
    padding: 1rem 2.5rem;
    white-space: nowrap;
}

/* Roadmap Section */
.roadmap-section {
    padding: 5rem 0;
    background: var(--white);
}

.roadmap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.roadmap-item {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    position: relative;
    border-top: 4px solid var(--primary-color);
}

.roadmap-status {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.roadmap-status.in-progress {
    background: #28a745;
    color: white;
}

.roadmap-status.planned {
    background: var(--primary-color);
    color: white;
}

.roadmap-status.future {
    background: #6c757d;
    color: white;
}

.roadmap-item h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.roadmap-item ul {
    list-style: none;
    padding: 0;
}

.roadmap-item li {
    padding: 0.7rem 0;
    color: var(--text-light);
    border-bottom: 1px solid #e0e0e0;
}

.roadmap-item li:last-child {
    border-bottom: none;
}

.roadmap-item li:before {
    content: "→";
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-weight: bold;
}

/* Active Navigation Link */
.nav-links a.active {
    color: var(--primary-color);
    position: relative;
}

.nav-links a.active:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

/* Logo Link */
.logo a {
    display: inline-block;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .news-card.featured {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .news-hero h1 {
        font-size: 2rem;
    }

    .news-hero p {
        font-size: 1.1rem;
    }

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

    .news-card.featured {
        grid-column: span 1;
    }

    .news-card.featured h2 {
        font-size: 1.6rem;
    }

    .newsletter-section {
        padding: 2rem 1.5rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }

    .roadmap {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .news-card {
        padding: 1.5rem;
    }

    .news-card h3 {
        font-size: 1.3rem;
    }
}
