/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background: #f7f8fa;
    margin: 0;
    padding: 0;
    color: #333;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

/* Blog Card */
.blog-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.1);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.blog-card:hover img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 20px;
}

.blog-card-content h3 {
    margin: 0 0 10px 0;
    font-size: 1.4rem;
}

.blog-card-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    padding: 8px 20px;
    background: linear-gradient(45deg,#ff416c,#ff4b2b);
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s;
}

.read-more:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255,75,43,0.4);
}

/* Sidebar */
.sidebar {
    flex: 0 0 300px;
}

.sidebar h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #ff4b2b;
}

.sidebar input[type="text"] {
    width: 100%;
    padding: 10px;
    border-radius: 25px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.sidebar input[type="text"]:focus {
    border-color: #ff4b2b;
    outline: none;
    box-shadow: 0 0 10px rgba(255,75,43,0.2);
}

.sidebar .social-follow a {
    display: inline-block;
    margin-right: 10px;
    padding: 8px 12px;
    background: #ff4b2b;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s;
}

.sidebar .social-follow a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255,75,43,0.3);
}

/* Tags */
.tag {
    display: inline-block;
    padding: 5px 12px;
    margin-right: 5px;
    background: #ff4b2b;
    color: #fff;
    border-radius: 50px;
    font-size: 0.85rem;
    cursor: default;
    animation: pop 0.4s ease;
}

@keyframes pop {
    0% { transform: scale(0.6); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Responsive */
@media (max-width: 992px){
    .container {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        order: -1;
        margin-bottom: 20px;
    }
}
