/* poststyles.css */
body {
    font-family: 'Montserrat', sans-serif;
    background: #f5f6f5;
    color: #333;
    line-height: 1.8;
    margin: 0;
    padding: 0;
}

.hero {
    position: relative;
    height: 50vh;
    background: linear-gradient(135deg, rgba(46, 62, 80, 0.4), rgba(142, 68, 173, 0.9)), url('../images/default.jpg') no-repeat center/cover;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero h1 {
    font-family: 'Lora', serif;
    font-size: 3rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin: 0 20px;
    max-width: 800px;
}

.post-content {
    max-width: 800px;
    margin: -80px auto 40px;
    padding: 40px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.post-meta {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 20px;
}

.post-content h2 {
    font-family: 'Lora', serif;
    font-size: 1.8rem;
    color: #2c3e50;
    margin: 20px 0 10px;
}

.post-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.post-content a {
    color: #8e44ad;
    text-decoration: none;
    font-weight: 700;
}

.post-content a:hover {
    color: #2c3e50;
}

.post-content blockquote {
    border-left: 4px solid #8e44ad;
    padding-left: 15px;
    color: #666;
    font-style: italic;
    margin: 20px 0;
}

.author {
    font-size: 1rem;
    color: #2c3e50;
    margin-top: 20px;
    text-align: right;
}

.author span {
    font-weight: 700;
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #2c3e50, #8e44ad);
    border-radius: 25px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .hero {
        height: 40vh;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .post-content {
        margin: -60px 20px 20px;
        padding: 20px;
    }

    .post-content h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }

    .post-content {
        margin: -40px 10px 10px;
        padding: 15px;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}