/* ------------------------------
   HERO
--------------------------------*/
.blog-hero {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    padding: 5rem 2rem;
    text-align: center;
    color: #fff;
}

.blog-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
}

.blog-hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ------------------------------
   CONTAINER
--------------------------------*/
.blog-container {
    max-width: 1200px;
    margin: auto;
    padding: 3rem 1.5rem;
}

/* ------------------------------
   SEARCH
--------------------------------*/
.blog-search {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.blog-search input {
    width: 100%;
    max-width: 420px;
    padding: 0.9rem 1.2rem;
    border-radius: 12px;
    border: 1px solid #d1d8f0;
    font-size: 1rem;
    transition: 0.3s;
}

.blog-search input:focus {
    border-color: #f7931e;
    outline: none;
}

/* ------------------------------
   CATEGORIES
--------------------------------*/
.blog-categories {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.cat-btn {
    background: #fff;
    border: 2px solid #1e3c72;
    padding: 0.4rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.cat-btn.active,
.cat-btn:hover {
    background: #1e3c72;
    color: #fff;
}

/* ------------------------------
   BLOG GRID
--------------------------------*/
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.07);
    overflow: hidden;
    transition: 0.3s;
    max-width: 360px;
}

.blog-card img {
    width: 100%;
    height: 185px;
    object-fit: cover;
}

.blog-card:hover {
    transform: translateY(-6px);
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-content h3 {
    margin-bottom: 0.7rem;
    color: #1e3c72;
}

.blog-card-content p {
    opacity: 0.8;
    margin-bottom: 1rem;
}

.blog-read {
    font-weight: 700;
    color: #f7931e;
    text-decoration: none;
}

.blog-read:hover {
    text-decoration: underline;
}

/* ------------------------------
   RESPONSIVE
--------------------------------*/
@media (max-width: 600px) {
    .blog-hero-content h1 {
        font-size: 2.2rem;
    }
}
