/**
 * ISF Careers - Frontend Styles
 * Designed to match the SpaceFed.com dark space theme
 *
 * Color palette extracted from spacefed.com:
 * - Primary dark:    #0a0a1a (deep space)
 * - Accent blue:     #3b82f6 / #60a5fa
 * - Accent teal:     #06b6d4
 * - Text primary:    #e2e8f0
 * - Text secondary:  #94a3b8
 * - Card bg:         #111827 / #1e293b
 * - Border:          #1e293b / #334155
 * - White:           #ffffff
 */

/* ==========================================================================
   CAREERS LISTING PAGE
   ========================================================================== */

.isf-careers-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Force full-width when Foxiz uses the small container on the careers page */
.rb-small-container:has(.isf-careers-wrapper) {
    max-width: var(--rb-width, 1200px) !important;
}

/* Header with count */
.isf-careers-header {
    text-align: center;
    margin-bottom: 30px;
}

.isf-jobs-count {
    font-size: 1.1rem;
    color: var(--heading-color, #94a3b8);
    font-weight: 400;
}

.isf-count-number {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--heading-color, #60a5fa);
    margin-right: 6px;
}

/* ==========================================================================
   FILTER BAR
   ========================================================================== */

.isf-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
    padding: 0;
}

.isf-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border: 1px solid var(--flex-gray-15, rgba(255, 255, 255, 0.12));
    border-radius: 50px;
    background: transparent;
    color: var(--body-fcolor, #94a3b8);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    line-height: 1.4;
    min-height: 44px; /* Touch target */
    box-sizing: border-box;
}

.isf-filter-btn:hover {
    border-color: #60a5fa;
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.08);
}

.isf-filter-btn.active {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.isf-dept-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
}

.isf-filter-btn.active .isf-dept-count {
    background: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   JOB CARDS GRID
   ========================================================================== */

.isf-jobs-grid {
    display: grid;
    gap: 24px;
}

.isf-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.isf-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
    .isf-cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    .isf-cols-2,
    .isf-cols-3 {
        grid-template-columns: 1fr;
    }

    .isf-filter-bar {
        gap: 8px;
    }

    .isf-filter-btn {
        padding: 8px 14px;
        font-size: 0.82rem;
    }
}

/* ==========================================================================
   INDIVIDUAL JOB CARD
   ========================================================================== */

.isf-job-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--solid-dark, #111827);
    border: 1px solid var(--flex-gray-15, rgba(255, 255, 255, 0.08));
    border-radius: 16px;
    padding: 28px;
    transition: all 0.35s ease;
    overflow: hidden;
}

.isf-job-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #06b6d4);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.isf-job-card:hover {
    border-color: rgba(96, 165, 250, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(59, 130, 246, 0.08);
}

.isf-job-card:hover::before {
    opacity: 1;
}

/* Featured card */
.isf-card-featured {
    border-color: rgba(96, 165, 250, 0.2);
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.05), var(--solid-dark, #111827));
}

.isf-card-featured::before {
    opacity: 1;
}

/* Urgent card */
.isf-card-urgent {
    border-color: rgba(239, 68, 68, 0.2);
}

.isf-card-urgent::before {
    background: linear-gradient(90deg, #ef4444, #f97316);
    opacity: 1;
}

/* Badges */
.isf-card-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    min-height: 26px;
    flex-wrap: wrap;
}

.isf-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.6;
}

.isf-badge-urgent {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.isf-badge-featured {
    background: rgba(96, 165, 250, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.isf-badge-new {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Department tag */
.isf-card-department {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 500;
    color: #60a5fa;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

/* Card title */
.isf-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 12px;
}

.isf-card-title a {
    color: var(--heading-color, #e2e8f0);
    text-decoration: none;
    transition: color 0.2s ease;
}

.isf-card-title a:hover {
    color: #60a5fa;
}

/* Card excerpt */
.isf-card-excerpt {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--body-fcolor, #94a3b8);
    margin: 0 0 18px;
    flex-grow: 1;
}

/* Card meta row */
.isf-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--flex-gray-15, rgba(255, 255, 255, 0.06));
}

.isf-card-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.82rem;
    color: var(--body-fcolor, #94a3b8);
}

.isf-card-meta-item svg {
    opacity: 0.6;
    flex-shrink: 0;
}

/* Card CTA */
.isf-card-cta {
    margin-top: auto;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.isf-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
    line-height: 1.4;
    min-height: 44px; /* Touch target */
    box-sizing: border-box;
}

.isf-btn-primary {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.isf-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.4);
    color: #ffffff;
}

.isf-btn-card {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 11px 20px;
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 10px;
    font-size: 0.88rem;
}

.isf-btn-card:hover {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-1px);
}

.isf-btn-outline {
    background: transparent;
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.isf-btn-outline:hover {
    background: rgba(96, 165, 250, 0.1);
    color: #60a5fa;
}

/* ==========================================================================
   SINGLE JOB OFFER PAGE
   ========================================================================== */

/* Job title (in the fallback template) */
.isf-job-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Meta bar */
.isf-job-meta-bar {
    background: var(--solid-dark, rgba(17, 24, 39, 0.6));
    border: 1px solid var(--flex-gray-15, rgba(255, 255, 255, 0.08));
    border-radius: 16px;
    padding: 24px 28px;
    margin-bottom: 36px;
}

.isf-job-meta-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 32px;
}

.isf-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--body-fcolor, #94a3b8);
}

.isf-meta-item svg {
    color: #60a5fa;
    flex-shrink: 0;
}

.isf-meta-closing {
    color: #f97316;
}

.isf-meta-closing svg {
    color: #f97316;
}

/* Content sections */
.isf-job-description,
.isf-job-section {
    margin-bottom: 40px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Override Foxiz/theme list styles inside job content */
.entry-content .isf-job-description ul,
.entry-content .isf-job-section ul,
.rbct .isf-job-description ul,
.rbct .isf-job-section ul,
.entry-content .isf-styled-list,
.rbct .isf-styled-list {
    list-style: none !important;
    list-style-type: none !important;
    padding-left: 0 !important;
}

.entry-content .isf-job-description ul li,
.entry-content .isf-job-section ul li,
.rbct .isf-job-description ul li,
.rbct .isf-job-section ul li,
.entry-content .isf-styled-list li,
.rbct .isf-styled-list li {
    list-style: none !important;
    list-style-type: none !important;
}

.entry-content .isf-job-description ul li::marker,
.entry-content .isf-job-section ul li::marker,
.rbct .isf-job-description ul li::marker,
.rbct .isf-job-section ul li::marker,
.entry-content .isf-styled-list li::marker,
.rbct .isf-styled-list li::marker {
    content: none !important;
    display: none !important;
}

.isf-job-description h2,
.isf-job-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading-color, #e2e8f0);
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, #3b82f6, #06b6d4, transparent) 1;
}

/* Section sub-headings (auto-converted from bold text) */
.isf-section-heading {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--heading-color, #e2e8f0);
    margin: 32px 0 16px;
    padding-left: 14px;
    border-left: 3px solid #3b82f6;
    line-height: 1.4;
}

.isf-job-description .isf-section-heading:first-child {
    margin-top: 0;
}

.isf-job-description p,
.isf-job-section p,
.isf-job-description li,
.isf-job-section li {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--body-fcolor, #c8cdd3);
    margin-bottom: 10px;
}

.isf-job-description p,
.isf-job-section p {
    margin-bottom: 16px;
}

/* Styled bullet lists (auto-converted from dash lists) */
.isf-styled-list,
.isf-job-description ul,
.isf-job-section ul {
    list-style: none !important;
    list-style-type: none !important;
    padding-left: 0 !important;
    margin: 16px 0 24px;
}

.isf-styled-list li,
.isf-job-description ul li,
.isf-job-section ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    line-height: 1.75;
    list-style: none !important;
    list-style-type: none !important;
}

.isf-styled-list li::before,
.isf-job-description ul li::before,
.isf-job-section ul li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    flex-shrink: 0;
}

/* Sub-lists (indented items) */
.isf-styled-sublist {
    list-style: none !important;
    list-style-type: none !important;
    padding-left: 8px !important;
    margin: 8px 0 4px;
}

.isf-styled-sublist li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    line-height: 1.7;
    list-style: none !important;
    list-style-type: none !important;
}

.isf-styled-sublist li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(96, 165, 250, 0.4);
    border: 1px solid rgba(96, 165, 250, 0.6);
}

/* Ordered lists */
.isf-job-description ol,
.isf-job-section ol {
    padding-left: 24px;
    margin: 16px 0 24px;
    counter-reset: item;
    list-style: none;
}

.isf-job-description ol li,
.isf-job-section ol li {
    position: relative;
    padding-left: 12px;
    margin-bottom: 12px;
    counter-increment: item;
}

.isf-job-description ol li::before,
.isf-job-section ol li::before {
    content: counter(item);
    position: absolute;
    left: -24px;
    top: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* PDF Download */
.isf-job-pdf {
    margin: 30px 0;
}

/* Apply Section */
.isf-apply-section {
    margin: 40px 0 30px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(6, 182, 212, 0.08));
    border: 1px solid rgba(96, 165, 250, 0.15);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
}

.isf-apply-inner h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--heading-color, #e2e8f0);
    margin-bottom: 12px;
    border: none;
    padding: 0;
}

.isf-apply-inner p {
    color: var(--body-fcolor, #94a3b8);
    margin-bottom: 20px;
    font-size: 1rem;
}

.isf-apply-email {
    margin-top: 12px !important;
    font-size: 0.88rem !important;
    color: var(--body-fcolor, #64748b) !important;
}

.isf-apply-email a {
    color: #60a5fa;
    text-decoration: underline;
    word-break: break-all;
}

/* Back link */
.isf-job-back {
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid var(--flex-gray-15, rgba(255, 255, 255, 0.08));
}

/* Disable hover-lift on touch devices (prevents sticky hover states) */
@media (hover: none) {
    .isf-job-card:hover {
        transform: none;
        box-shadow: none;
    }

    .isf-btn-primary:hover {
        transform: none;
    }

    .isf-btn-card:hover {
        transform: none;
    }

    .isf-back-link:hover {
        transform: none;
    }
}

.isf-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #60a5fa;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.isf-back-link:hover {
    color: #93c5fd;
    transform: translateX(-3px);
}

/* No jobs state */
.isf-no-jobs {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--body-fcolor, #94a3b8);
    font-size: 1rem;
}

/* ==========================================================================
   ANIMATION - Card staggered entrance
   ========================================================================== */

.isf-job-card {
    opacity: 0;
    animation: isfCardFadeIn 0.5s ease forwards;
}

.isf-job-card:nth-child(1) { animation-delay: 0.05s; }
.isf-job-card:nth-child(2) { animation-delay: 0.1s; }
.isf-job-card:nth-child(3) { animation-delay: 0.15s; }
.isf-job-card:nth-child(4) { animation-delay: 0.2s; }
.isf-job-card:nth-child(5) { animation-delay: 0.25s; }
.isf-job-card:nth-child(6) { animation-delay: 0.3s; }
.isf-job-card:nth-child(7) { animation-delay: 0.35s; }
.isf-job-card:nth-child(8) { animation-delay: 0.4s; }
.isf-job-card:nth-child(9) { animation-delay: 0.45s; }

@keyframes isfCardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Filtering animation */
.isf-job-card.isf-hidden {
    display: none;
}

.isf-job-card.isf-filtering {
    animation: isfCardFadeIn 0.35s ease forwards;
}

/* ==========================================================================
   LIGHT MODE SUPPORT (if user switches via Foxiz)
   ========================================================================== */

body:not(.jesuspended):not([data-theme="dark"]) .isf-job-card,
.light-mode .isf-job-card {
    background: #ffffff;
    border-color: #e2e8f0;
}

body:not(.jesuspended):not([data-theme="dark"]) .isf-job-card:hover,
.light-mode .isf-job-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08), 0 0 30px rgba(59, 130, 246, 0.06);
}

body:not(.jesuspended):not([data-theme="dark"]) .isf-card-title a,
.light-mode .isf-card-title a {
    color: #1e293b;
}

body:not(.jesuspended):not([data-theme="dark"]) .isf-card-excerpt,
body:not(.jesuspended):not([data-theme="dark"]) .isf-card-meta-item,
.light-mode .isf-card-excerpt,
.light-mode .isf-card-meta-item {
    color: #64748b;
}

body:not(.jesuspended):not([data-theme="dark"]) .isf-filter-btn,
.light-mode .isf-filter-btn {
    border-color: #e2e8f0;
    color: #64748b;
}

body:not(.jesuspended):not([data-theme="dark"]) .isf-job-meta-bar,
.light-mode .isf-job-meta-bar {
    background: #f8fafc;
    border-color: #e2e8f0;
}

body:not(.jesuspended):not([data-theme="dark"]) .isf-section-heading,
.light-mode .isf-section-heading {
    color: #1e293b;
}

body:not(.jesuspended):not([data-theme="dark"]) .isf-job-description h2,
body:not(.jesuspended):not([data-theme="dark"]) .isf-job-section h2,
.light-mode .isf-job-description h2,
.light-mode .isf-job-section h2 {
    color: #1e293b;
}

body:not(.jesuspended):not([data-theme="dark"]) .isf-job-description p,
body:not(.jesuspended):not([data-theme="dark"]) .isf-job-section p,
body:not(.jesuspended):not([data-theme="dark"]) .isf-job-description li,
body:not(.jesuspended):not([data-theme="dark"]) .isf-job-section li,
.light-mode .isf-job-description p,
.light-mode .isf-job-section p,
.light-mode .isf-job-description li,
.light-mode .isf-job-section li {
    color: #475569;
}

/* ==========================================================================
   RESPONSIVE — TABLET (≤ 768px)
   ========================================================================== */

@media (max-width: 768px) {

    /* Job title */
    .isf-job-title {
        font-size: 1.6rem;
        margin-bottom: 16px;
    }

    /* Cards */
    .isf-job-card {
        padding: 22px;
        border-radius: 12px;
    }

    .isf-card-title {
        font-size: 1.05rem;
    }

    .isf-card-excerpt {
        font-size: 0.85rem;
    }

    /* Single job page — meta bar */
    .isf-job-meta-bar {
        padding: 18px 20px;
        border-radius: 12px;
    }

    .isf-job-meta-grid {
        gap: 12px 20px;
    }

    .isf-meta-item {
        font-size: 0.84rem;
    }

    /* Single job page — content */
    .isf-section-heading {
        font-size: 1.05rem;
        margin: 24px 0 12px;
        padding-left: 12px;
    }

    .isf-job-description h2,
    .isf-job-section h2 {
        font-size: 1.3rem;
        margin-bottom: 16px;
    }

    .isf-job-description p,
    .isf-job-section p,
    .isf-job-description li,
    .isf-job-section li {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .isf-styled-list li,
    .isf-job-description ul li,
    .isf-job-section ul li {
        padding-left: 22px;
        margin-bottom: 10px;
    }

    .isf-styled-list li::before,
    .isf-job-description ul li::before,
    .isf-job-section ul li::before {
        left: 2px;
        top: 9px;
        width: 7px;
        height: 7px;
    }

    /* Apply section */
    .isf-apply-section {
        padding: 28px 20px;
        border-radius: 14px;
        margin: 30px 0 24px;
    }

    .isf-apply-inner h2 {
        font-size: 1.25rem;
    }

    .isf-apply-inner p {
        font-size: 0.9rem;
    }

    /* Buttons */
    .isf-btn {
        padding: 10px 20px;
        font-size: 0.88rem;
    }

    .isf-btn-primary {
        width: 100%;
        justify-content: center;
    }

    /* Back link */
    .isf-job-back {
        margin-top: 24px;
        padding-top: 20px;
    }

    /* Job description sections */
    .isf-job-description,
    .isf-job-section {
        margin-bottom: 28px;
    }

    /* PDF download link */
    .isf-job-pdf .isf-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   RESPONSIVE — MOBILE (≤ 480px)
   ========================================================================== */

@media (max-width: 480px) {

    /* Job title */
    .isf-job-title {
        font-size: 1.35rem;
        margin-bottom: 14px;
    }

    /* Card grid */
    .isf-jobs-grid {
        gap: 16px;
    }

    .isf-job-card {
        padding: 18px;
    }

    .isf-card-title {
        font-size: 1rem;
    }

    .isf-card-meta {
        flex-direction: column;
        gap: 8px;
    }

    /* Filter bar: horizontal scroll on very narrow screens */
    .isf-filter-bar {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        padding-bottom: 8px;
        gap: 8px;
        scrollbar-width: none;
    }

    .isf-filter-bar::-webkit-scrollbar {
        display: none;
    }

    .isf-filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 8px 14px;
        font-size: 0.82rem;
    }

    /* Jobs count */
    .isf-count-number {
        font-size: 1.3rem;
    }

    .isf-jobs-count {
        font-size: 1rem;
    }

    /* Single job — meta bar stacked */
    .isf-job-meta-bar {
        padding: 16px;
    }

    .isf-job-meta-grid {
        flex-direction: column;
        gap: 10px;
    }

    .isf-meta-item {
        font-size: 0.82rem;
    }

    /* Single job — headings */
    .isf-section-heading {
        font-size: 1rem;
        margin: 20px 0 10px;
    }

    .isf-job-description h2,
    .isf-job-section h2 {
        font-size: 1.15rem;
        margin-bottom: 14px;
        padding-bottom: 10px;
    }

    /* Single job — content */
    .isf-job-description p,
    .isf-job-section p,
    .isf-job-description li,
    .isf-job-section li {
        font-size: 0.88rem;
        line-height: 1.65;
    }

    .isf-styled-list li,
    .isf-job-description ul li,
    .isf-job-section ul li {
        padding-left: 20px;
    }

    .isf-styled-list li::before,
    .isf-job-description ul li::before,
    .isf-job-section ul li::before {
        left: 1px;
        width: 6px;
        height: 6px;
    }

    .isf-styled-sublist {
        padding-left: 4px;
    }

    .isf-styled-sublist li {
        padding-left: 18px;
        font-size: 0.84rem;
    }

    .isf-styled-sublist li::before {
        width: 5px;
        height: 5px;
    }

    /* Apply section */
    .isf-apply-section {
        padding: 24px 16px;
        border-radius: 12px;
        margin: 24px 0 20px;
    }

    .isf-apply-inner h2 {
        font-size: 1.1rem;
    }

    .isf-apply-inner p {
        font-size: 0.85rem;
    }

    .isf-apply-email {
        font-size: 0.82rem !important;
        word-break: break-all;
    }

    /* Badges */
    .isf-badge {
        font-size: 0.65rem;
        padding: 2px 8px;
    }

    /* Back link */
    .isf-back-link {
        font-size: 0.85rem;
    }
}
