/* ==========================================================
   Premium membership: badges, early-access job states, quotas
   Loaded on every front-end template (EN/DE/NL).
   ========================================================== */

/* ---- Premium badge (search cards, home carousel, profile cards) ---- */
.membership-round,
.ew-premium-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: 20px;
    background: linear-gradient(90deg, #F5B041 0%, #FDCB8E 100%);
    color: #5A3A0E;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1.4;
    box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .35);
}
.membership-round .membership-text { color: inherit; font-size: inherit; }
.membership-round::before,
.ew-premium-badge::before {
    content: "\f521"; /* crown */
    font-family: "Font Awesome 5 Free", "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 11px;
}
.professionals-box,
.professionals-box .pic,
.single__profs .profs__thumb { position: relative; }
.professionals-box.light-green .main,
.professionals-box.light-green {
    box-shadow: 0 0 0 2px #FDCB8E;
    border-radius: 12px;
}

/* ---- Received jobs (dashboard) ---- */
.ew-job__promo {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin: 0 0 20px;
    padding: 14px 18px;
    border-radius: 14px;
    background: #FFF6EA;
    border: 1px solid #FBE0BA;
    color: #5A3A0E;
    font-size: 15px;
}
.ew-job__promo i { color: #E59A1F; }
.ew-job__promo span { flex: 1 1 260px; }
.ew-job__promo a,
.ew-job__upgrade {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 10px;
    background: #FDCB8E;
    color: #5A3A0E !important;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none !important;
    white-space: nowrap;
}
.ew-job__empty { color: #6B7785; padding: 24px 0; }

.ew-jobs { display: flex; flex-direction: column; gap: 12px; }
.ew-job {
    border: 1px solid #E6EDEF;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
}
.ew-job > summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 16px 20px;
    cursor: pointer;
}
.ew-job > summary::-webkit-details-marker { display: none; }
.ew-job > summary::after {
    content: "\f078";
    font-family: "Font Awesome 5 Free", "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 12px;
    color: #6B7785;
    transition: transform .2s ease;
}
.ew-job[open] > summary::after { transform: rotate(180deg); }
.ew-job[open] > summary { border-bottom: 1px solid #E6EDEF; background: #F9FCFC; }
.ew-job__title { flex: 1 1 260px; font-weight: 700; color: #1F2A37; font-size: 15px; }
.ew-job.is-read .ew-job__title { font-weight: 500; }
.ew-job__title i { color: #0E9F9C; margin-right: 6px; }
.ew-job__meta { display: inline-flex; align-items: center; gap: 10px; color: #6B7785; font-size: 14px; }
.ew-job__tag {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 2px 10px; border-radius: 20px;
    background: #FFF1DC; color: #8A5A12; font-size: 12px; font-weight: 600;
}
.ew-job__body {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 24px;
    padding: 18px 20px 20px;
}
.ew-job__details { list-style: none; margin: 0; padding: 0; }
.ew-job__details li { margin: 0 0 10px; line-height: 1.55; overflow-wrap: anywhere; }
.ew-job__details li i { width: 18px; color: #0E9F9C; margin-right: 6px; text-align: center; }
.ew-job__contact h5 { font-size: 15px; font-weight: 700; margin: 0 0 10px; color: #0B7F7D; }
.ew-job__contact .btn { margin-top: 6px; }

.ew-job__locked {
    display: flex;
    gap: 14px;
    padding: 16px;
    border-radius: 12px;
    background: #F9FCFC;
    border: 1px dashed #BFE6E5;
}
.ew-job__locked-icon {
    flex: 0 0 38px; height: 38px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(25, 203, 199, .12); color: #0E9F9C;
}
.ew-job__locked strong { display: block; margin-bottom: 4px; }
.ew-job__locked p { margin: 0 0 12px; color: #4B5563; font-size: 14px; line-height: 1.5; }

@media (max-width: 767px) {
    .ew-job__body { grid-template-columns: 1fr; }
}

/* ---- Public job page: early-access lock ---- */
.ew-job-page__locked {
    max-width: 560px;
    margin: 0 auto;
    text-align: left;
}

/* ---- Blog quota ---- */
.ew-quota {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin: 0 0 20px;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid #E6EDEF;
    background: #F9FCFC;
    font-size: 15px;
}
.ew-quota i { color: #0E9F9C; }
.ew-quota span { flex: 1 1 260px; }
.ew-quota.is-full { background: #FFF6EA; border-color: #FBE0BA; color: #5A3A0E; }
.ew-quota.is-full i { color: #E59A1F; }
