/* Custom styles for Kring */

/* General styles */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

a {
    color: #7d2222;
    text-decoration: underline;
}

/* Site Header */
.site-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
    padding: 2rem 0;
    margin-bottom: 2rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.site-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
}

.site-title .highlight {
    color: red;
    font-weight: 700;
}

/* News List */
.news-list-item {
    display: block;
    margin-bottom: 25px;
    padding: 25px;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    background: #ffffff;
}

.news-list-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #007bff;
    text-decoration: none;
    color: inherit;
}

.news-content {
    width: 100%;
}

.news-source {
    display: inline-block;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #2c3e50;
    line-height: 1.3;
    font-family: 'Playfair Display', serif;
}

.news-date {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-date i {
    color: #007bff;
}

.news-description {
    color: #495057;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 0;
    font-weight: 400;
}

.no-image {
    width: 200px;
    height: 150px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.no-image i {
    font-size: 2rem;
    color: #dee2e6;
}

/* Pagination */
.pagination {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.page-link {
    color: #007bff;
    border: 1px solid #dee2e6;
    padding: 0.5rem 0.75rem;
}

.page-item.active .page-link {
    background-color: #007bff;
    border-color: #007bff;
}

.page-link:hover {
    color: #0056b3;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

/* Footer */
footer {
    margin-top: auto;
    background-color: #343a40;
    color: #ffffff;
    padding: 1rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-header {
        padding: 1.5rem 0;
    }
    
    .site-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .news-list-item {
        padding: 20px;
        margin-bottom: 20px;
    }

    .news-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .news-description {
        font-size: 0.95rem;
    }

    .news-source {
        font-size: 0.75rem;
        padding: 5px 10px;
    }

    .news-date {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 1.5rem;
    }

    .news-list-item {
        padding: 15px;
        margin-bottom: 15px;
    }

    .news-title {
        font-size: 1.1rem;
    }

    .news-description {
        font-size: 0.9rem;
    }
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Hero section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    margin-bottom: 50px;
}

/* News cards */
.news-card {
    height: 100%;
    transition: transform 0.3s ease;
    margin-bottom: 30px;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.news-source {
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
}

.news-date {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Feature cards */
.feature-card {
    transition: transform 0.3s ease;
    margin-bottom: 30px;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #007bff;
}

/* Additional styles */
.footer {
    margin-top: 3rem;
    padding: 1rem 0;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

/* Last Update Display */
.last-update {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.last-update p {
    margin: 0;
    font-style: italic;
} 