/* Read More Link */
.read-more {
    display: inline-block;
    color: #00173c;
    font-weight: bold;
    text-decoration: none;
    padding: 8px 16px;
    border: 2px solid #00173c;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

.read-more:hover {
    background-color: #00173c;
    color: white;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Merriweather", serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9fafb;
}

img {
    max-width: 100%;
    height: auto;
}

/* Hero Section */
.hero {
    position: relative;
    height: 400px;
    width: 100%;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 23, 60, 0.7);
}

.hero-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3.5rem;
    font-weight: 900;
    text-align: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Main Content */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.news-article {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.news-content {
    padding: 30px;
}

.badge {
    display: inline-block;
    background-color: #a40000;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 15px;
    letter-spacing: 1px;
    transition: background-color 0.3s;
}

.badge:hover {
    background-color: #860000;
    cursor: default;
}

.news-title {
    font-size: 1.75rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #00173c;
}

.news-excerpt {
    color: #4a5568;
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.7;
    min-height: 85px;
    max-height: 105px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.publication-date {
    color: #718096;
    font-size: 0.875rem;
    font-style: italic;
}

@media (min-width: 768px) {
    .news-content {
        display: flex;
        flex-direction: column;
        height: 100%;
    }
}

@media (max-width: 991px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .container {
        padding: 40px 20px;
    }
    
    .news-article {
        margin-bottom: 25px;
    }
    
    .news-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {
    .hero {
        height: 300px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .container {
        padding: 30px 15px;
    }
    
    .news-content {
        padding: 25px;
    }
    
    .news-title {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .news-excerpt {
        margin-bottom: 15px;
    }
    
    .badge {
        margin-bottom: 12px;
        font-size: 0.7rem;
    }
}

@media (max-width: 479px) {
    .hero {
        height: 220px;
        margin-top: 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 20px 15px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .news-excerpt {
        font-size: 0.9rem;
        min-height: auto;
        max-height: none;
        -webkit-line-clamp: 4;
        margin-bottom: 15px;
    }
    
    .badge {
        padding: 3px 10px;
        font-size: 0.65rem;
    }
    
    .publication-date {
        font-size: 0.8rem;
    }
}

/* Article Page Styles */

.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.article-header {
    margin-bottom: 40px;
    text-align: center;
}

.article-heading {
    font-size: 2.5rem;
    color: #00173c;
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-meta {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 40px;
}

.meta-separator {
    margin: 0 8px;
}

.article-category {
    color: #a40000;
    font-weight: bold;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2d3748;
}

.article-content p {
    margin-bottom: 24px;
}

.article-content h2 {
    font-size: 1.8rem;
    color: #00173c;
    margin: 40px 0 20px;
    font-weight: 700;
}

.article-content h3 {
    font-size: 1.5rem;
    color: #00173c;
    margin: 30px 0 15px;
    font-weight: 600;
}

.article-content ul,
.article-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content a {
    color: #a40000;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.article-content a:hover {
    border-color: #a40000;
}

.article-content blockquote {
    margin: 30px 0;
    padding: 20px 30px;
    border-left: 5px solid #a40000;
    background-color: #f8f9fa;
    font-style: italic;
    color: #4a5568;
}

.contact-details {
    background-color: #f0f4f8;
    border-radius: 8px;
    padding: 25px;
    margin: 40px 0;
}

.contact-details h3 {
    margin-top: 0;
    color: #00173c;
}

.back-to-news {
    display: inline-block;
    color: #00173c;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 0;
    transition: color 0.3s;
}

.back-to-news:hover {
    color: #a40000;
}

/* Article Page Responsive styles */
@media (max-width: 991px) {
    .article-container {
        padding: 40px 20px;
    }
    
    .article-heading {
        font-size: 2.2rem;
    }
    
    .article-content {
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .article-container {
        padding: 30px 20px;
    }
    
    .article-header {
        margin-bottom: 30px;
    }
    
    .article-heading {
        font-size: 1.9rem;
    }
    
    .article-meta {
        margin-bottom: 30px;
    }
    
    .article-content h2 {
        font-size: 1.6rem;
        margin: 30px 0 15px;
    }
    
    .article-content h3 {
        font-size: 1.3rem;
        margin: 25px 0 12px;
    }
}

@media (max-width: 479px) {
    .article-container {
        padding: 80px 15px 20px 15px;
    }
    
    .article-heading {
        font-size: 1.7rem;
    }
    
    .article-meta {
        font-size: 0.8rem;
    }
    
    .article-content {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .article-content h2 {
        font-size: 1.4rem;
    }
    
    .article-content h3 {
        font-size: 1.2rem;
    }
    
    .contact-details {
        padding: 20px;
    }
} 