/* Make sure entire page is white with no spacing */
.post-content-area {
    max-width: 850px;
    margin: 10px auto;
    padding: 0 16px;
}


/* Header: Image + Info */
.post-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 5px;
    background-color: white;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    padding: 20px 20px;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.post-thumbnail img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.post-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-title-p {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.3;
    color: black;
    text-align: justify;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

.post-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
}

.label {
    background-color: #efefef;
    padding: 8px 15px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    color: rgb(56, 56, 56);
    border: 1px solid #007bff;
}

.label i {
    color: #007bff;
}

.post-actions-header {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

/* Hide on mobile */
@media (max-width: 768px) {
    .post-actions-header {
        display: none;
    }
}

.article-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: white;
    padding: 10px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 1.1rem;
    line-height: 1.6;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    color: #333;
    border: 1px solid #ddd;
}

.article-content p {
    margin-top: 0.5em;
    margin-bottom: 1em;
    color: #333;
    line-height: 1.6;
}

/* Fix heading alignment and spacing */
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    text-align: left !important;
    margin-bottom: 0.2em;
    line-height: 1 !important;
    color: #222;
}

/* List styles */
.article-content ul,
.article-content ol {
    padding-left: 1.5em;
    margin-bottom: 1em;
}

.article-content li {
    margin-bottom: 0.5em;
    line-height: 1.5;
}


/* Post Actions Section */
.post-actions {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #f9f9f9;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 10px;
}

/* Container for both buttons */
.actions-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Apply Button */
.apply-btn {
    background:#007bff;
    color: white;
    padding: 10px 18px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: background-color 0.2s ease-in-out;
}

.apply-btn:hover {
    background: linear-gradient(135deg, #007bff, #6A1B9A);
}

/* Share Button */
.share-btn {
    background-color: #f4f9ff;
    color: #007bff;
    padding: 12px 20px;
    border: 2px solid #007bff;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 2px 6px rgba(0, 123, 255, 0.15);
    transition: all 0.25s ease-in-out;
}

.share-btn:hover {
    background-color: #007bff;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
}


/* Responsive Design */
@media (max-width: 768px) {
    .post-content-area {
        padding: 0 0px;
    }

    .post-header {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: flex-start;
    }

    .post-title-p {
        font-size: 22px;
    }

    .post-labels {
        font-size: 13px;
        gap: 8px;
    }

    .post-actions {
        flex-direction: column;
        align-items: center; /* Center the entire section */
    }

    .actions-right {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .apply-btn {
        width: 60%;
        text-align: center;
    }
}


span[style*="background-color"] {
    padding: 0px 6px;
    border-radius: 4px;
    display: inline-block;
}