/* ==========================================================================
   Theme tokens (shared palette)
   ========================================================================== */

:root {
    --plum-deep: #4A263A;
    --plum-dark: #351B2A;
    --plum-secondary: #6A4053;
    --coral: #E77972;
    --coral-dark: #D56560;
    --apricot: #F4B59D;
    --pearl: #FFFDFC;
    --bg-soft: #FBF4F1;
    --text: #3B2932;
    --text-muted: #735F68;
    --border: #EAD8D3;
}

*{
    box-sizing:border-box;
}

html,
body{
    overflow-x:hidden;
    max-width:100%;
}

/* ---------- GLOBAL ---------- */
body {
    background: var(--bg-soft);
    color: var(--text);
    font-family: system-ui, -apple-system, sans-serif;
}

/* ---------- LAYOUT ---------- */
.container {
    max-width:1150px;
    margin:auto;
    padding:30px 20px;
    display:flex;
    gap:25px;
}

.left{
    flex:2;
    min-width:0;
}

.right{
    flex:1;
    min-width:0;
}

/* ===================================== */
/* 🔥 HERO CARD */
/* ===================================== */

.job-hero-card {
    background: linear-gradient(135deg, var(--pearl), var(--bg-soft));
    border-radius:20px;
    overflow:visible;
    box-shadow:0 20px 60px rgba(74, 38, 58, 0.14);
    margin-bottom:25px;
}

/* IMAGE */
.job-image-box {
    height:380px;
    background:linear-gradient(135deg, rgba(244,181,157,0.25), rgba(255,253,252,1));
    display:flex;
    align-items:center;
    justify-content:center;
}

.job-image-box img {
    max-width:100%;
    max-height:100%;
    object-fit:contain;
}

/* CONTENT */
.job-hero-content {
    padding:24px;
}

/* TITLE */
.job-title {
    font-size:28px;
    font-weight:700;
    margin-bottom:10px;
    line-height:1.3;
    color: var(--plum-deep);
}

/* META */
.job-meta {
    margin-bottom:15px;
}

.job-meta span {
    display:inline-flex;
    padding:6px 12px;
    border-radius:999px;
    font-size:13px;
    margin-right:8px;
    margin-bottom:8px;
}

/* COLORS */
.job-meta span:nth-child(1) {
    background: rgba(106, 64, 83, 0.12);
    color: var(--plum-secondary);
}
.job-meta span:nth-child(2) {
    background: rgba(244, 181, 157, 0.35);
    color: var(--coral-dark);
}
.job-meta span:nth-child(3) {
    background: rgba(231, 121, 114, 0.14);
    color: var(--coral-dark);
}

.job-posted-date{
    background: rgba(74, 38, 58, 0.10);
    color: var(--plum-deep);
}

/* ACTION BAR */
.job-actions {
    margin-top:10px;
    display:flex;
    align-items:center;
    gap:12px;
}

/* SHARE BUTTON */
.share-btn {
    padding:8px 14px;
    border:none;
    border-radius:10px;
    background: var(--plum-deep);
    color: var(--pearl);
    font-size:13px;
    cursor:pointer;
}

.share-btn:hover,
.share-btn:focus-visible {
    background: var(--plum-dark);
}

/* DROPDOWN */
.share-wrapper{
    position:relative;
    display:inline-block;
}

.share-dropdown{

    position:absolute;

    top:110%;
    left:0;

    min-width:180px;

    background: var(--pearl);

    border:1px solid var(--border);

    border-radius:12px;

    padding:8px 0;

    box-shadow:0 12px 35px rgba(74, 38, 58, .18);

    z-index:9999;

    display:none;
}

.share-dropdown.active{
    display:block;
}

.share-dropdown a{

    display:block;

    padding:10px 14px;

    color: var(--text);

    text-decoration:none;

    font-size:14px;

    white-space:nowrap;
}

.share-dropdown a:hover{
    background: var(--bg-soft);
}

/* REPORT */
.report-btn {
    color: var(--coral-dark);
    font-weight:500;
    font-size:13px;
}

/* ===================================== */
/* 🔥 VIDEO CARD */
/* ===================================== */
/* Shown between the hero card and the description card only when the
   Directorist "Video URL" field (_videourl) has a recognizable YouTube
   link in it — see rr_youtube_embed_url() in job-engine.php. */

.job-video-card {
    background: var(--pearl);
    padding:25px;
    border-radius:18px;
    box-shadow:0 12px 40px rgba(74, 38, 58, 0.10);
    margin-bottom:25px;
}

.job-video-card h2 {
    font-size:20px;
    margin:0 0 15px;
    color: var(--plum-deep);
}

.job-video-wrap {
    position:relative;
    width:100%;
    padding-top:56.25%; /* 16:9 */
    border-radius:14px;
    overflow:hidden;
    background: var(--bg-soft);
}

.job-video-wrap iframe {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    border:0;
}

/* ===================================== */
/* 🔥 CONTENT CARD */
/* ===================================== */

.job-content-card {
    background: var(--pearl);
    padding:25px;
    border-radius:18px;
    box-shadow:0 12px 40px rgba(74, 38, 58, 0.10);
    margin-bottom:25px;
}

.job-content {
    font-size:15px;
    line-height:1.8;
    color: var(--text);
}

/* HEADINGS */
.job-content h2 {
    font-size:20px;
    margin:25px 0 10px;
    color: var(--plum-deep);
}

.job-content p {
    margin-bottom:12px;
}

/* ===================================== */
/* 🔥 FAQ CARD */
/* ===================================== */

.faq-card {
    background: var(--pearl);
    padding:25px;
    border-radius:18px;
    box-shadow:0 12px 40px rgba(74, 38, 58, 0.08);
}

.faq-item {
    margin-bottom:10px;
}

.faq-question {
    width:100%;
    padding:12px;
    border:none;
    background: var(--bg-soft);
    border-radius:10px;
    cursor:pointer;
    color: var(--text);
}

.faq-answer {
    display:none;
    padding:10px;
    font-size:14px;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    display:block;
}

/* ===================================== */
/* SIDEBAR */
/* ===================================== */

.sidebar {
    background: var(--pearl);
    padding:18px;
    border-radius:16px;
    box-shadow:0 10px 30px rgba(74, 38, 58, 0.08);
    position:sticky;
    top:90px;
}

/* ===================================== */
/* APPLY BUTTON */
/* ===================================== */

.nm-apply-now-btn {
    position:fixed;
    bottom:20px;
    left:50%;
    transform:translateX(-50%);
    background: linear-gradient(135deg, var(--plum-deep), var(--coral-dark));
    color: var(--pearl);
    font-weight:600;
    text-align:center;
    border-radius:12px;
    box-shadow:0 12px 30px rgba(213, 101, 96, 0.4);
    z-index:9999;
}

/* DESKTOP */
@media (min-width:1025px){
    .nm-apply-now-btn {
        width:320px;
        padding:14px 0;
    }
}

/* MOBILE */
@media (max-width:767px){

    .container {
        flex-direction:column;
    }

    .sidebar {
        position:static;
    }

    .nm-apply-now-btn {
        width:95%;
        padding:12px 0;
    }
}


/* ===================================== */
/* 🔥 PREMIUM FAQ */
/* ===================================== */

.faq-card {
    margin-top:25px;
    background: var(--pearl);
    padding:25px;
    border-radius:18px;
    box-shadow:0 12px 40px rgba(74, 38, 58, 0.08);
}

.faq-card h2 {
    margin-bottom:15px;
    font-size:22px;
    font-weight:600;
    color: var(--plum-deep);
}

/* ITEM */
.faq-item {
    border:1px solid var(--border);
    border-radius:12px;
    margin-bottom:12px;
    overflow:hidden;
    transition:0.3s;
}

/* QUESTION */
.faq-question {
    width:100%;
    text-align:left;
    padding:14px 16px;
    border:none;
    background: var(--bg-soft);
    font-size:14px;
    font-weight:500;
    cursor:pointer;
    position:relative;
    color: var(--text);
}

/* ARROW */
.faq-question::after {
    content:"+";
    position:absolute;
    right:15px;
    font-size:18px;
    transition:0.3s;
    color: var(--coral-dark);
}

/* ACTIVE STATE */
.faq-item.active .faq-question {
    background: rgba(244, 181, 157, 0.28);
}

/* CHANGE + TO - */
.faq-item.active .faq-question::after {
    content:"−";
}

/* ANSWER */
.faq-answer {
    max-height:0;
    overflow:hidden;
    padding:0 16px;
    font-size:14px;
    color: var(--text-muted);
    transition:all 0.3s ease;
}

/* OPEN */
.faq-item.active .faq-answer {
    max-height:200px;
    padding:12px 16px;
}




/* ===================================== */
/* 🔥 APPLY AD SPACING */
/* ===================================== */

.apply-ad {
    margin: 20px 0 80px; /* नीचे space ताकि button overlap न करे */
    text-align: center;
}

.ad-box {
    margin: 20px 0;
    text-align: center;
}


.job-content img,
.job-content iframe,
.job-content table{
    max-width:100%;
    height:auto;
}


.rr-breadcrumb{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    align-items:center;

    font-size:14px;
    line-height:1.6;

    margin-bottom:18px;
    color: var(--text-muted);
}



.rr-breadcrumb a{
    color: var(--coral-dark);
    text-decoration:none;
}

.rr-breadcrumb a:hover{
    text-decoration:underline;
}

.rr-breadcrumb .current{
    color: var(--text-muted);
}

.rr-separator{
    color: var(--border);
}




/* =====================================
   JOB DETAILS CARD
===================================== */

.job-details-card{
    background: var(--pearl);
    border:1px solid var(--border);
    border-radius:18px;
    padding:22px;
    margin-bottom:20px;

    box-shadow:
        0 1px 3px rgba(74, 38, 58, .06),
        0 10px 30px rgba(74, 38, 58, .10);
}

/* TITLE */

.job-details-card h3{
    position:relative;

    margin:0 0 22px;
    padding-bottom:12px;

    font-size:24px;
    font-weight:700;
    color: var(--plum-deep);
    line-height:1.2;
}

.job-details-card h3:after{
    content:'';
    position:absolute;
    left:0;
    bottom:0;

    width:58px;
    height:4px;

    border-radius:999px;
    background: var(--coral);
}

/* ROW */

.detail-row{
    background: var(--bg-soft);
    border:1px solid var(--border);

    border-radius:14px;

    padding:14px 16px;
    margin-bottom:12px;

    transition:all .2s ease;
}

.detail-row:last-child{
    margin-bottom:0;
}

.detail-row:hover{
    background: var(--pearl);
    border-color: var(--coral);

    transform:translateY(-1px);

    box-shadow:
        0 4px 12px rgba(74, 38, 58, .10);
}

/* LABEL */

.detail-row strong{
    display:block;

    font-size:12px;
    font-weight:700;

    text-transform:uppercase;
    letter-spacing:.7px;

    color: var(--plum-secondary);

    margin-bottom:6px;
}

/* VALUE */

.detail-row span{
    display:block;

    font-size:15px;
    line-height:1.65;

    font-weight:600;
    color: var(--text);

    word-break:break-word;
}

/* LINKS */

.detail-row a{
    color: var(--coral-dark);
    text-decoration:none;
    font-weight:600;
}

.detail-row a:hover{
    text-decoration:underline;
}

/* PHONE */

.detail-row a[href^="tel:"]{
    color: var(--coral-dark);
}

/* WHATSAPP */

.detail-row a[href*="wa.me"]{
    color: var(--plum-secondary);
}




/* JOB ACTIVITY SPECIAL */

.activity-row{
    background: rgba(244, 181, 157, 0.22);
    border-color: var(--apricot);
}

.activity-row strong{
    color: var(--coral-dark);
}

/* ==========================
   POSITIONS AVAILABLE
========================== */

.positions-row{
    background: rgba(106, 64, 83, 0.08);
    border-color: var(--plum-secondary);
}

.positions-row strong{
    color: var(--plum-secondary);
}

.positions-row span{
    color: var(--plum-deep);
    font-weight:700;
    line-height:1.8;
}

/* MOBILE */

@media (max-width:768px){

    .job-details-card{
        padding:18px;
    }

    .job-details-card h3{
        font-size:22px;
    }

    .detail-row{
        padding:13px;
    }

    .detail-row span{
        font-size:14px;
    }

    .job-video-card{
        padding:18px;
    }

    .job-video-card h2{
        font-size:18px;
    }
}




/* =====================================================================
   BlossomBeautyCare — Internal Link Style (work-from-home-job auto-linking)
   =====================================================================
   Ye CSS sirf humare script ke banaye hue link (class="nm-il-link")
   ko target karta hai — kisi aur cheez par asar nahi padega.

   Kahan add karna hai: apni job-single.css file ke bilkul END me
   ye poora block copy-paste kar dein.
   ===================================================================== */

.nm-il-link {
    color: var(--coral-dark);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.nm-il-link:hover {
    color: var(--plum-deep);
    text-decoration: none;
}

.nm-il-link:visited {
    color: var(--coral-dark);
}