.main-details {
    width: 100%;
    display: flex;
}

.detail-section {
    width: 83%;
    padding: 14px;
}

/* ------------------------
   Global font setup
-------------------------*/
.post-show {
    padding: 30px;
    background-color: #ffffff;
    box-shadow: 0px 4px 15px -6px rgba(69, 58, 58, 0.75);
    border-radius: 6px;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    color: #333;
    line-height: 1.7;
}

/* ------------------------
   Feature Image
-------------------------*/
.feature img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* ------------------------
   Content area
-------------------------*/
.post-show .detials {
    font-size: 16px;
}

/* ------------------------
   Headings
-------------------------*/
.post-show h1 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1f2937;
}

.post-show h2 {
    font-size: 27px;
    font-weight: 600;
    margin: 25px 0 10px;
    color: #111827;
}

.post-show h3 {
    font-size: 25px;
    font-weight: 600;
    margin: 20px 0 8px;
}

.post-show h4 {
    font-size: 22px;
    font-weight: 600;
    margin: 15px 0 6px;
}

.post-show h5 {
    font-size: 19px;
    font-weight: 600;
    margin: 15px 0 6px;
}

.post-show h6 {
    font-size: 16px;
    font-weight: 600;
    margin: 15px 0 6px;
}

/* ------------------------
   Paragraphs
-------------------------*/
.post-show p {
    font-size: 16px;
    margin-bottom: 15px;
    color: #374151;
}

/* ------------------------
   Links
-------------------------*/
.post-show a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.post-show a:hover {
    text-decoration: underline;
}

/* ------------------------
   Lists
-------------------------*/
.post-show ul,
.post-show ol {
    margin: 15px 0 15px 25px;
}

.post-show li {
    margin-bottom: 8px;
    font-size: 16px;
}

/* ------------------------
   Table Styles (IMPORTANT)
-------------------------*/
.post-show table {
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 15px;
    background-color: #fff;
}

.post-show table th,
.post-show table td {
    border: 1px solid #000;
    padding: 10px 12px;
    text-align: left;
}

.post-show table th {
    background-color: #f3f4f6;
    font-weight: 600;
    color: #111827;
}

.post-show table tr:nth-child(even) {
    background-color: #fafafa;
}

/* ------------------------
   Highlight / Important text
-------------------------*/
.post-show strong {
    font-weight: 600;
    color: #111827;
}

/* ------------------------
   Sidebar width (unchanged)
-------------------------*/
.sidebar-main {
    width: 17%;
}

/* ------------------------
   Responsive tweaks
-------------------------*/
@media (max-width: 768px) {
    .post-show {
        padding: 15px;
    }

    .post-show h1 {
        font-size: 22px;
    }

    .post-show p,
    .post-show li {
        font-size: 15px;
    }

    .sidebar-main {
        width: 100%;
    }

    .share-popover {
        position: absolute;
        bottom: 55px;
        right: 0!important;
    }
}


.post-navigation {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    flex-wrap: wrap;
}

.post-navigation .nav-btn {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.post-navigation .nav-btn:hover {
    background-color: #0056b3;
}

/* Optional: stack buttons on small screens */
@media (max-width: 600px) {
    .post-navigation {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .post-navigation .nav-btn {
        text-align: center;
        width: 100%;
    }
}




@media screen and (min-width: 280px) and (max-width: 768px) {
    .main-details {
        display: block;
    }

    .detail-section {
        width: 100%;
    }

    .job-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(120px, 2fr));
        gap: 15px;
    }

    .sidebar-main {
        width: 100%;
    }

     .share-popover {
        position: absolute;
        bottom: 55px;
        right: 0!important;
    }
}




.share-wrapper {
    position: relative;
}

.share-main-btn {
    background: #111827;
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 999px;
    font-size: 14px;
    cursor: pointer;
}

.share-popover {
    position: absolute;
    bottom: 55px;
    /* left: 0; */
    width: 260px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
    padding: 16px;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: all 0.2s ease;
    z-index: 50;
}

.share-popover.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.share-title {
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 15px;
}

.share-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.share-buttons a {
    color: #fff;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    color: #fff;
    border: none;
    cursor: pointer;
}

.whatsapp {
    background: #25D366;
}

.facebook {
    background: #1877F2;
}

.twitter {
    background: #000;
}

.copy {
    background: #6b7280;
}

.share-btn i {
    font-size: 16px;
}

.share-main-btn i {
    margin-right: 6px;
}


.post-actions {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: transform 0.15s ease, background 0.2s ease;
}

.action-btn i {
    font-size: 16px;
}

.like-btn {
    background: #e5f6ff;
    color: #0077cc;
}

.like-btn.active {
    background: #0077cc;
    color: #fff;
}

.dislike-btn {
    background: #ffe5e5;
    color: #cc0000;
}

.dislike-btn.active {
    background: #cc0000;
    color: #fff;
}

.action-btn:hover {
    transform: translateY(-2px);
}