/* Hero Section */
.blog-hero {
    background: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1366&q=80') center/cover no-repeat;
    padding: 100px 20px;
    text-align: center;
    color: #fff;
    position: relative;
}

.blog-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.blog-hero-content {
    position: relative;
    z-index: 2;
}

.blog-hero h1 {
    font-size: 42px;
    margin: 10px 0;
    animation: fadeInUp 0.9s;
}

.blog-hero .date {
    display: inline-block;
    background: #d8232a;
    padding: 6px 12px;
    border-radius: 4px;
}

/* Main Layout */
.blog-container {
    max-width: 1200px;
    margin: 60px auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding: 0 20px;
}

.blog-main-img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
    animation: fadeIn 1s;
}

.blog-left h2, .blog-left h3 {
    color: #d8232a;
    margin-top: 20px;
}

.blog-left p {
    line-height: 1.7;
    margin-bottom: 15px;
}

.quote-box {
    background: #fff4f4;
    padding: 20px;
    border-left: 4px solid #d8232a;
    font-style: italic;
    margin: 25px 0;
}

/* List */
.blog-list li {
    margin-bottom: 10px;
    padding-left: 15px;
    border-left: 3px solid #d8232a;
}

/* Sidebar */
.sidebar-box {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sidebar-box ul li {
    margin: 10px 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.subscribe-box input {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.subscribe-box button {
    margin-top: 10px;
    padding: 10px;
    width: 100%;
    background: #d8232a;
    border: none;
    color: white;
    border-radius: 8px;
}

/* Recommended */
.recommended {
    padding: 60px 20px;
    text-align: center;
}

.recommended-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
    margin-top: 30px;
}

.rec-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    transition: 0.3s;
    border: 3px solid #d8232a;
}

.rec-card img:hover {
    transform: scale(1.05);
}

/* Animations */
@keyframes fadeInUp {
    from {opacity: 0; transform: translateY(20px);}
    to {opacity: 1; transform: translateY(0);}
}

/* Responsive */
@media (max-width: 900px) {
    .blog-container {
        grid-template-columns: 1fr;
    }
    .recommended-grid {
        grid-template-columns: 1fr;
    }
}
