@import url('https://fonts.cdnfonts.com/css/neue-haas-grotesk-display-pro');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Neue Haas Grotesk Display Pro', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf0 100%);
    color: #2d3748;
    min-height: 100vh;
}
h1 {
	font-size: 5rem;
	margin-bottom: 30px;
	color: #2253aa;
	font-weight: 800;
	border-bottom: 3px solid #2253aa;
}
/* Header - matching your BULP design */
.header {
    background: linear-gradient(135deg, #2253aa 0%, #102852 90%);
    color: white;
    padding: 1.7rem 0;
    box-shadow: 0 4px 20px rgba(43, 92, 230, 0.3);
    position: relative;
    z-index: 100;
    overflow: visible;
}

.header-nav {
    max-width: calc(100vw - 200px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    position: relative;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: #91a6c4;
    text-decoration: none;
    padding: 1rem 0.5rem 2.3rem 0.5rem;
    transition: all 0.3s ease;
    font-weight: 600;
}

.nav-links a:hover {
    color: white;
}

.nav-links a.active {
    color: #2253a9;
    background: white;
}

.search-box {
    position: relative;
}

.search-box input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 2.5rem 0.5rem 1rem;
    border-radius: 20px;
    width: 250px;
    transition: all 0.3s ease;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-box input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.search-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
}

/* News Container */
.news-container {
    max-width: calc(100vw - 200px);
    margin: 0 auto;
    padding: 2rem 0;
}

/* News Header */
.news-header {
    background: linear-gradient(135deg, #2253aa 0%, #102852 90%);
    color: white;
    font-style: italic;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(43, 92, 230, 0.2);
    text-align: left;
}

.news-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
	font-style: normal;
}

.news-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin: 0;
    font-style: normal;
    max-width: 800px;
}

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

/* Article Cards */
.article-card {
    background: transparent;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    border-bottom: 1.5px solid #2253aa;
}

.article-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #2253aa 0%, #102852 90%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.2s;
}
.article-image img:hover {
    transform: scale(1.2);
    transition: 0.2s;
}


.article-content {
    padding: 0.8rem;
    color: #465e88;
}

.article-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    text-transform: uppercase;
}

.article-preview {
    color: #1a202c;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    background: #dbeafe;
    color: #1d4ed8;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 1rem;
    font-size: 0.875rem;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a5568;
}

.author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #2253aa;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    overflow: hidden;
}

.article-date {
    color: #6b7280;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Load More Button */
.load-more {
    text-align: center;
    margin-top: 2rem;
}

.load-more-btn {
    background: linear-gradient(135deg, #2253aa 0%, #102852 90%);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(43, 92, 230, 0.3);
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(43, 92, 230, 0.4);
}

.load-more-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
    box-shadow: none;
}

/* Loading and Empty States */
.loading {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #4a5568;
}

/* Article Modal */
.article-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow-y: auto;
    padding: 2rem 0;
}

.article-modal.active {
    display: block;
}

.modal-content {
    background: white;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, #2253aa 0%, #102852 90%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
}

.modal-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1001;
}

.close-modal:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.modal-body {
    padding: 2rem;
}

.modal-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.modal-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.modal-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.modal-author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #2253aa;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    overflow: hidden;
}

.modal-author-info h4 {
    margin: 0 0 0.25rem 0;
    color: #1a202c;
    font-size: 1.1rem;
    font-weight: 600;
}

.modal-author-info p {
    margin: 0;
    color: #6b7280;
    font-size: 0.9rem;
}

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

.modal-content-body h2 {
    color: #1a202c;
    margin: 2rem 0 1rem 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.modal-content-body h3 {
    color: #2d3748;
    margin: 1.5rem 0 0.75rem 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.modal-content-body p {
    margin-bottom: 1.5rem;
}

.modal-content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.modal-content-body blockquote {
    border-left: 4px solid #2253aa;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #4a5568;
}

/* Footer - matching your BULP design */
.footer {
    background: #1a2332;
    color: white;
    padding: 2rem 0 1rem 0;
    margin-top: 3rem;
}

.footer-container {
    max-width: calc(100vw - 200px);
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
}

.footer-address {
    color: #91a6c4;
    font-size: 0.875rem;
    line-height: 1.5;
}

.footer-links {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
}

.footer-links a {
    color: #91a6c4;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: #91a6c4;
}

.footer-bottom-left {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-bottom-right {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-right a {
    color: #91a6c4;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-right a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-nav {
        max-width: calc(100vw - 40px);
        padding: 0 1rem;
    }

    .nav-links {
        display: none;
    }

    .search-box input {
        width: 200px;
    }

    .news-container {
        max-width: calc(100vw - 40px);
        padding: 1rem 0;
    }

    .news-header {
        margin: 0 1rem 2rem 1rem;
        padding: 1.5rem;
    }

    .news-header h1 {
        font-size: 2rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 0 1rem 2rem 1rem;
    }

    .load-more {
        margin: 0 1rem;
    }

    .modal-content {
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }

    .modal-title {
        font-size: 2rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .modal-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .footer-container {
        max-width: calc(100vw - 40px);
        padding: 0 1rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-bottom-right {
        gap: 1rem;
    }
.article-date {
    font-size: 0.7rem;
}

}

@media (max-width: 480px) {
    .header-nav {
        max-width: calc(100vw - 20px);
    }
.article-date {
    font-size: 0.7rem;
}

    .news-container {
        max-width: calc(100vw - 20px);
    }

    .news-header {
        margin: 0 0.5rem 2rem 0.5rem;
        padding: 1rem;
    }

    .news-header h1 {
        font-size: 1.75rem;
    }

    .articles-grid {
        margin: 0 0.5rem 2rem 0.5rem;
        grid-template-columns: 1fr;
    }

    .footer-container {
        max-width: calc(100vw - 20px);
    }

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .search-box input {
        width: 150px;
    }
}