:root {
    --primary-orange: #f3811f;
    --white: #ffffff;
    --text-dark: #222222;
    --text-light: #666666;
    --border-color: #eeeeee;
}

.blog-header {
    text-align: center;
    padding-top: 50px !important;
    padding-bottom: 60px !important;
    width: 100%;
    background-color: #032475;
    margin-bottom: 70px;
}

.blog-header h2 {
    font-size: 2.5rem;
    color: white;
    display: inline-block;
    top: 70%;
    transform: translateY(-70%);
    margin-left: 15px;
    margin-right: 10px;
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.blog-card-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-category {
    color: var(--primary-orange);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.blog-card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    line-height: 1.4;
    color: var(--text-dark);
    min-height: 4.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-content p {
    color: var(--text-light);
    font-size: 1.15rem;
    margin-bottom: 20px;
    min-height: 4.5rem; 
    display: -webkit-box;
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical;
    flex-grow: 1;
}

.blog-card-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.blog-date {
    font-size: 1rem;
    color: #999;
}

.read-more {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-card-image {
        height: 200px;
    }
}

.section-header p {
    font-size: 1.2rem;
}

.hero-logo {
    position: relative;
    display: inline-block;
    height: 100px;
}

@media screen and (max-width: 768px) {
    .sponsors-header {
        height: 200px;
    }

    .section-header {
        top: 0%;
        transform: translateY(0%);
        position: relative;
    }

    .hero-logo {
        display: none;
    }

    .section-header h2 {
        font-size: 2.5rem;
        top: 0;
        transform: translateY(0);
    }

    .blog-img-box {
        min-height: 0;
    }
}

@media screen and (max-width: 480px) {
    .section-header h2 {
        font-size: 1.6rem;
    }
}