/* ==========================================================
   SINGLE BLOG POST — CuracaoJobs.co
   Adapted from locked mockup: single_blog_v1.html
   Scoped to body.single-post only (WordPress's automatic body
   class for single.php).
   ========================================================== */

body.single-post .cj-single-blog {
    background: #F4F8F6;
    color: #174035;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body.single-post .cj-narrow {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

/* BREADCRUMB */
body.single-post .cj-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #8a9aaa;
    padding-top: 1.25rem;
    flex-wrap: wrap;
}

body.single-post .cj-breadcrumb a {
    color: #8a9aaa;
    text-decoration: none;
}

body.single-post .cj-breadcrumb a:hover {
    color: #2E8B72;
}

body.single-post .cj-breadcrumb i {
    font-size: 11px;
}

body.single-post .cj-breadcrumb span {
    color: #174035;
}

body.single-post .cj-breadcrumb .rank-math-breadcrumb p {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
}

body.single-post .cj-breadcrumb .separator {
    color: #8a9aaa;
}

/* ARTICLE HEADER */
body.single-post .cj-article-header {
    margin: 1.5rem 0 0;
}

body.single-post .cj-art-category {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 14px;
}

body.single-post .cj-art-title {
    font-size: 28px;
    font-weight: 700;
    color: #174035 !important;
    line-height: 1.25;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

body.single-post .cj-art-intro {
    font-size: 15px;
    color: #4a5a6a;
    line-height: 1.7;
    margin-bottom: 16px;
}

body.single-post .cj-art-meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #8a9aaa;
    padding-bottom: 1.25rem;
    border-bottom: 0.5px solid #D8E8E4;
    flex-wrap: wrap;
}

body.single-post .cj-art-meta-row span {
    display: flex;
    align-items: center;
    gap: 4px;
}

body.single-post .cj-art-meta-row i {
    font-size: 13px;
}

body.single-post .cj-dot {
    color: #D8E8E4;
}

/* SHARE BUTTONS */
body.single-post .cj-share-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

body.single-post .cj-share-label {
    font-size: 11px;
    color: #8a9aaa;
    margin-right: 2px;
}

body.single-post .cj-share-btn {
    width: 30px;
    height: 30px;
    border: 0.5px solid #D8E8E4;
    border-radius: 6px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6B7280 !important;
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
}

body.single-post .cj-share-btn:hover {
    border-color: #B8DDD5;
    color: #2E8B72 !important;
}

/* HERO IMAGE */
body.single-post .cj-hero-img {
    max-width: 680px;
    margin: 1.5rem auto 0;
    padding: 0 2.5rem;
}

body.single-post .cj-hero-img-inner {
    width: 100%;
    height: 260px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0.5px solid #D8E8E4;
    overflow: hidden;
}

body.single-post .cj-hero-img-inner i {
    font-size: 48px;
}

/* ARTICLE BODY — native WordPress content + block patterns */
body.single-post .cj-article-body {
    margin: 2rem 0;
}

body.single-post .cj-article-body h2 {
    font-size: 20px;
    font-weight: 700;
    color: #174035 !important;
    letter-spacing: -0.3px;
    margin: 2rem 0 0.75rem;
    padding-top: 0.5rem;
}

body.single-post .cj-article-body h2:first-child {
    margin-top: 0;
}

body.single-post .cj-article-body h3 {
    font-size: 16px;
    font-weight: 700;
    color: #174035 !important;
    margin: 1.5rem 0 0.5rem;
}

body.single-post .cj-article-body p {
    font-size: 14px;
    color: #3a4a5a;
    line-height: 1.85;
    margin-bottom: 1rem;
}

body.single-post .cj-article-body ul,
body.single-post .cj-article-body ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

body.single-post .cj-article-body ul li,
body.single-post .cj-article-body ol li {
    font-size: 14px;
    color: #3a4a5a;
    line-height: 1.85;
    margin-bottom: 0.3rem;
}

body.single-post .cj-article-body strong {
    color: #174035 !important;
    font-weight: 600;
}

/* SALARY TABLE block pattern */
body.single-post .cj-salary-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
    font-size: 13px;
}

body.single-post .cj-salary-table th {
    background: #F4F8F6;
    text-align: left;
    padding: 10px 14px;
    font-size: 11px;
    font-weight: 700;
    color: #8a9aaa !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-bottom: 0.5px solid #D8E8E4;
}

body.single-post .cj-salary-table td {
    padding: 10px 14px;
    border-bottom: 0.5px solid #F4F8F6;
    color: #3a4a5a !important;
}

body.single-post .cj-salary-table tr:last-child td {
    border-bottom: none;
}

body.single-post .cj-salary-table tr:hover td {
    background: #F8FCFA;
}

body.single-post .cj-salary-highlight {
    font-weight: 600 !important;
    color: #174035 !important;
}

/* CALLOUT BOX block pattern */
body.single-post .cj-callout {
    background: #F8FCFA;
    border: 0.5px solid #B8DDD5;
    border-left: 3px solid #2E8B72;
    border-radius: 0 10px 10px 0;
    padding: 14px 18px;
    margin: 1.25rem 0;
}

body.single-post .cj-callout p {
    font-size: 13px !important;
    color: #174035 !important;
    line-height: 1.7;
    margin: 0 !important;
}

body.single-post .cj-callout strong {
    color: #2E8B72 !important;
}

/* INLINE CTA block pattern */
body.single-post .cj-inline-cta {
    background: #174035;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

body.single-post .cj-inline-cta-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin-bottom: 3px !important;
}

body.single-post .cj-inline-cta-sub {
    font-size: 12px !important;
    color: rgba(255,255,255,0.65) !important;
    margin: 0 !important;
}

body.single-post .cj-inline-cta-btn .wp-block-button__link,
body.single-post .cj-inline-cta-btn a {
    background: #2E8B72 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 10px 18px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer;
    white-space: nowrap;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    text-decoration: none !important;
}

body.single-post .cj-inline-cta-btn .wp-block-button__link:hover,
body.single-post .cj-inline-cta-btn a:hover {
    background: #207A61 !important;
}

/* EDITORIAL NOTE block pattern */
body.single-post .cj-editorial-note {
    background: #fff;
    border: 0.5px solid #D8E8E4;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    display: flex !important;
    align-items: center;
    gap: 14px;
}

body.single-post .cj-editorial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 9px;
    background: #2E8B72;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px !important;
    font-weight: 700 !important;
    flex-shrink: 0;
    margin: 0 !important;
}

body.single-post .cj-editorial-name {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #174035 !important;
    margin-bottom: 2px !important;
}

body.single-post .cj-editorial-bio {
    font-size: 12px !important;
    color: #6B7280 !important;
    line-height: 1.5;
    margin: 0 !important;
}

/* RELATED ARTICLES */
body.single-post .cj-related-wrap {
    max-width: 680px;
    margin: 2.5rem auto 0;
    padding: 0 2.5rem;
}

body.single-post .cj-related-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1rem;
}

body.single-post .cj-related-title {
    font-size: 14px;
    font-weight: 700;
    color: #174035;
}

body.single-post .cj-related-link {
    font-size: 12px;
    color: #2E8B72 !important;
    text-decoration: none;
}

body.single-post .cj-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

body.single-post .cj-related-card {
    background: #fff;
    border: 0.5px solid #D8E8E4;
    border-radius: 12px;
    padding: 16px;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: border-color 0.15s;
}

body.single-post .cj-related-card:hover {
    border-color: #B8DDD5;
}

body.single-post .cj-related-card-cat {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 8px;
}

body.single-post .cj-related-card-title {
    font-size: 13px;
    font-weight: 600;
    color: #174035 !important;
    line-height: 1.35;
    margin-bottom: 8px;
}

body.single-post .cj-related-card-meta {
    font-size: 11px;
    color: #8a9aaa;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* NEWSLETTER — reuses the same structure/classes as blog-archive.css */
body.single-post .cj-blog-newsletter {
    background: #E6F3EF;
    border-top: 0.5px solid #B8DDD5;
    border-bottom: 0.5px solid #B8DDD5;
    padding: 2.5rem;
    margin-top: 2.5rem;
}

body.single-post .cj-newsletter-inner {
    max-width: 520px;
    margin: 0 auto;
}

body.single-post .cj-newsletter-inner h3 {
    font-size: 18px;
    font-weight: 700;
    color: #174035 !important;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}

body.single-post .cj-newsletter-inner p {
    font-size: 13px;
    color: #6b7a8d;
    margin-bottom: 1.25rem;
}

body.single-post .cj-newsletter-options {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

body.single-post .cj-newsletter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #174035;
    cursor: pointer;
}

body.single-post .cj-newsletter-option input {
    accent-color: #2E8B72;
    width: 15px;
    height: 15px;
}

body.single-post .cj-wpforms-wrap .wpforms-field {
    padding: 0 0 12px !important;
}

body.single-post .cj-wpforms-wrap .wpforms-field-checkbox legend {
    display: none !important;
}

body.single-post .cj-wpforms-wrap .wpforms-field-checkbox ul {
    list-style: none !important;
    display: flex !important;
    gap: 1.5rem !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-wrap: wrap;
}

body.single-post .cj-wpforms-wrap .wpforms-field-checkbox li {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

body.single-post .cj-wpforms-wrap .wpforms-field-checkbox input[type="checkbox"] {
    accent-color: #2E8B72 !important;
    width: 15px !important;
    height: 15px !important;
}

body.single-post .cj-wpforms-wrap .wpforms-field-checkbox label {
    font-size: 13px !important;
    color: #174035 !important;
    cursor: pointer;
}

body.single-post .cj-wpforms-wrap .wpforms-field-description {
    display: none !important;
}

body.single-post .cj-wpforms-wrap .wpforms-field-container {
    display: flex !important;
    flex-wrap: wrap;
    align-items: flex-start !important;
    gap: 8px !important;
    flex: 1 !important;
    min-width: 0;
}

body.single-post .cj-wpforms-wrap .wpforms-field-checkbox {
    width: 100% !important;
    order: 1;
    padding-bottom: 10px !important;
}

body.single-post .cj-wpforms-wrap [data-field-id="3"] {
    order: 2;
}

body.single-post .cj-wpforms-wrap .wpforms-field-email {
    order: 3;
    flex: 1 !important;
    min-width: 200px;
    padding: 0 !important;
    margin: 0 !important;
}

body.single-post .cj-wpforms-wrap .wpforms-field-label-hide {
    display: none !important;
}

body.single-post .cj-wpforms-wrap .wpforms-submit-container {
    flex-shrink: 0 !important;
    margin-top: 0 !important;
}

body.single-post .cj-wpforms-wrap form {
    display: flex !important;
    flex-wrap: wrap;
    align-items: flex-end !important;
    gap: 0 !important;
}

body.single-post .cj-wpforms-wrap input[type="email"],
body.single-post .cj-wpforms-wrap input[type="text"] {
    flex: 1 !important;
    border: 0.5px solid #B8DDD5 !important;
    border-radius: 8px !important;
    padding: 11px 16px !important;
    font-size: 13px !important;
    color: #174035 !important;
    background: #fff !important;
    outline: none !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

body.single-post .cj-wpforms-wrap button[type="submit"],
body.single-post .cj-wpforms-wrap .wpforms-submit {
    background: #2E8B72 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 11px 20px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    white-space: nowrap !important;
}

body.single-post .cj-newsletter-note {
    font-size: 11px;
    color: #aab0bb;
    margin-top: 10px;
}

/* ── Mobile ── */
@media (max-width: 700px) {
    body.single-post .cj-related-grid {
        grid-template-columns: 1fr;
    }
    body.single-post .cj-art-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    body.single-post .cj-narrow,
    body.single-post .cj-hero-img,
    body.single-post .cj-related-wrap {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    body.single-post .cj-blog-newsletter {
        padding: 2rem 1.5rem;
    }
    body.single-post .cj-wpforms-wrap form {
        flex-direction: column;
    }
    body.single-post .cj-inline-cta,
    body.single-post .cj-editorial-note {
        flex-direction: column;
        align-items: flex-start;
    }
}
