/* Blogs Page Custom Styling - Claymorphism */

.blog-container {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.blog-header {
    text-align: center;
    margin-bottom: 4rem;
}

.blog-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #b8860b;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.blog-header p {
    color: #666;
    font-size: 1.2rem;
    font-family: 'Segoe UI', sans-serif;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
}

.blog-card {
    background: #fffef8;
    border-radius: 30px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;

    /* Claymorphism */
    border: 3px solid rgba(255, 255, 255, 0.8);
    box-shadow:
        12px 12px 25px rgba(210, 180, 140, 0.25),
        -8px -8px 20px rgba(255, 255, 255, 0.9),
        inset 2px 2px 5px rgba(255, 255, 255, 1),
        inset -2px -2px 5px rgba(210, 180, 140, 0.05);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow:
        20px 20px 40px rgba(210, 180, 140, 0.35),
        -12px -12px 25px rgba(255, 255, 255, 1),
        inset 2px 2px 5px rgba(255, 255, 255, 1);
}

.blog-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 2px solid rgba(255, 215, 0, 0.2);
}

.blog-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.blog-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin: 0 0 1rem;
    color: #3d2914;
    line-height: 1.3;
}

.blog-excerpt {
    color: #555;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.6;
}

.read-more {
    display: inline-block;
    color: #d35400;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}

.read-more:hover {
    color: #b8860b;
    transform: translateX(5px);
}