/* Blog Hero */
.blog-hero {
    position: relative;
    height: 50vh;
    overflow: hidden;
    margin-bottom: 60px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1486312338219-ce68e2c6f44d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.blog-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.blog-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.blog-hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
}

/* Blog Content */
.blog-content-section { /* Renamed from .blog-content to avoid conflict */
    padding: 80px 0;
}

.blog-header {
    text-align: center;
    margin-bottom: 60px;
}

.blog-header h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.blog-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.blog-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.blog-post {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.blog-post:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-post:hover .blog-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.blog-post-content { /* Renamed from .blog-content */
    padding: 25px;
}

.blog-meta {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
    color: #777;
}

.blog-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.blog-meta span {
    margin-right: 15px;
}

.blog-title {
    font-size: 1.4rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-title a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.blog-title a:hover {
    color: var(--primary-color);
}

.blog-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.read-more:hover {
    color: var(--secondary-color);
}

.read-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(3px);
}

/* Featured Post */
.featured-post {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-bottom: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 400px;
}

.featured-image {
    height: 100%;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-category {
    background-color: var(--accent-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

.featured-title {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.featured-title a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.featured-title a:hover {
    color: var(--primary-color);
}

.featured-excerpt {
    color: #666;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.featured-meta {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    font-size: 14px;
    color: #777;
}

.featured-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.featured-meta span {
    margin-right: 20px;
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 60px 0;
    text-align: center;
    margin: 60px 0;
}

.newsletter-container {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.newsletter p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 30px 0 0 30px;
    outline: none;
    font-size: 16px;
}

.newsletter-form button {
    padding: 15px 25px;
    background-color: var(--dark-color);
    color: white;
    border: none;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    font-weight: bold;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--accent-color);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .blog-hero h1 { font-size: 3rem; }
}

@media (max-width: 992px) {
    .blog-hero h1 { font-size: 2.8rem; }
    .blog-hero p { font-size: 1.1rem; }
    .featured-post { grid-template-columns: 1fr; }
    .featured-content { padding: 30px; }
    .featured-title { font-size: 1.8rem; }
}

@media (max-width: 768px) {
    .blog-hero { height: 40vh; }
    .blog-hero h1 { font-size: 2.2rem; }
    .blog-hero p { font-size: 1rem; }
    .blog-grid { grid-template-columns: 1fr; gap: 30px; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        border-radius: 30px;
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .blog-hero { height: 35vh; }
    .blog-hero h1 { font-size: 1.8rem; }
    .blog-hero p { font-size: 0.9rem; }
    .featured-title { font-size: 1.5rem; }
    .blog-title { font-size: 1.2rem; }
}