/* ==========================================================
   Cyizere — Post Detail Page Redesign
   Brand: #0d6efd (site primary) + gradient accent used across
   the PWA prompts, for visual consistency site-wide.
   ========================================================== */

.post-breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 18px;
    font-size: 0.86rem;
}

.post-breadcrumb a {
    color: #6b7280;
    text-decoration: none;
}

.post-breadcrumb a:hover { color: #0d6efd; }

.post-breadcrumb .active { color: #0d6efd; font-weight: 600; }

/* Hero header card */
.post-hero {
    background: #fff;
    border-radius: 20px;
    padding: 26px;
    box-shadow: 0 8px 30px rgba(13, 110, 253, 0.08);
    border: 1px solid rgba(13, 110, 253, 0.06);
    display: flex;
    gap: 22px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.post-hero .post-logo {
    width: 88px;
    height: 88px;
    border-radius: 16px;
    object-fit: cover;
    background: #f3f6ff;
    border: 1px solid rgba(13, 110, 253, 0.08);
    flex-shrink: 0;
}

.post-hero .post-hero-body { flex: 1; min-width: 240px; }

.post-hero h1 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #101828;
    margin: 0 0 6px;
    line-height: 1.3;
}

.post-hero .post-company {
    color: #0d6efd;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.post-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.post-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #eef4ff;
    color: #0d6efd;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 30px;
    text-transform: capitalize;
}

.post-badge.deadline-soon { background: #fff1e6; color: #c2410c; }
.post-badge.deadline-ok { background: #e5faee; color: #15803d; }

.post-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: #6b7280;
    font-size: 0.86rem;
}

.post-meta-row span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta-row i { color: #0d6efd; }

/* Company overview */
.post-overview {
    background: #f8faff;
    border-radius: 16px;
    padding: 22px 24px;
    margin: 22px 0;
    border: 1px solid rgba(13, 110, 253, 0.06);
}

.post-overview h5 {
    font-weight: 700;
    color: #101828;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.post-overview h5 i { color: #0d6efd; }

/* Post body content typography */
.post-body-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #344054;
}

.post-body-content h1, .post-body-content h2, .post-body-content h3,
.post-body-content h4, .post-body-content h5 {
    color: #101828;
    font-weight: 700;
    margin-top: 1.6em;
    margin-bottom: 0.6em;
}

.post-body-content ul, .post-body-content ol {
    padding-left: 1.4em;
    margin-bottom: 1em;
}

.post-body-content li { margin-bottom: 0.4em; }

.post-body-content p { margin-bottom: 1em; }

/* Attachment */
.post-attachment {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff5f5;
    border: 1px solid #fde2e2;
    border-radius: 12px;
    padding: 12px 16px;
    margin: 18px 0;
}

/* CTA bar: apply + share */
.post-cta-bar {
    background: #fff;
    border-radius: 16px;
    padding: 20px 22px;
    margin: 26px 0;
    box-shadow: 0 4px 18px rgba(13, 110, 253, 0.06);
    border: 1px solid rgba(13, 110, 253, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}

.post-share-row { display: flex; align-items: center; gap: 8px; }

.post-share-row span {
    font-size: 0.82rem;
    font-weight: 700;
    color: #6b7280;
    margin-right: 4px;
}

.post-share-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f8;
    color: #344054;
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.post-share-btn:hover { transform: translateY(-2px); }
.post-share-btn.fb:hover { background: #1877f2; color: #fff; }
.post-share-btn.tw:hover { background: #000; color: #fff; }
.post-share-btn.li:hover { background: #0a66c2; color: #fff; }
.post-share-btn.wa:hover { background: #25d366; color: #fff; }

.post-apply-btn {
    background: linear-gradient(45deg, #007bff, #6610f2);
    color: #fff;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 30px;
    border: none;
    font-size: 0.95rem;
    box-shadow: 0 8px 20px rgba(102, 16, 242, 0.25);
    transition: transform 0.15s ease;
}

.post-apply-btn:hover { transform: translateY(-2px); color: #fff; }

/* Disclaimer */
.post-disclaimer {
    display: flex;
    gap: 14px;
    background: #fff8ec;
    border: 1px solid #ffe3ad;
    border-radius: 16px;
    padding: 18px 20px;
    margin: 26px 0;
}

.post-disclaimer i { color: #c2740c; font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.post-disclaimer p { margin: 0; color: #7a4d0a; font-size: 0.88rem; line-height: 1.6; }

/* Related posts */
.related-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    border: 1px solid rgba(13, 110, 253, 0.06);
    box-shadow: 0 2px 10px rgba(13, 110, 253, 0.05);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    height: 100%;
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(13, 110, 253, 0.12);
}

.related-card img {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: cover;
    background: #f3f6ff;
    flex-shrink: 0;
}

.related-card a {
    color: #101828;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    line-height: 1.3;
}

.related-card a:hover { color: #0d6efd; }

/* Comment box */
.post-comment-box {
    background: #f8faff;
    border-radius: 16px;
    padding: 26px;
    margin: 26px 0;
    border: 1px solid rgba(13, 110, 253, 0.06);
}

.post-comment-box .form-control {
    border-radius: 10px;
    border: 1px solid #e2e6f0;
}

.post-comment-box .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.12);
}

/* Sidebar */
.post-sidebar-card {
    background: #fff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 4px 18px rgba(13, 110, 253, 0.06);
    border: 1px solid rgba(13, 110, 253, 0.06);
}

.post-sidebar-card h4 {
    font-size: 1rem;
    font-weight: 800;
    color: #101828;
    padding-bottom: 10px;
    border-bottom: 2px solid #eef4ff;
    margin-bottom: 16px;
}
