/* ============================================
   DIGITAL MASS — LIFE @ DM + CAREERS STYLES
   ============================================ */

/* ─── LIFE HERO ────────────────────────────────────────────────── */
.dm-life-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: calc(80px + var(--space-3xl));
    padding-bottom: var(--space-3xl);
}

.dm-life-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.dm-life-hero__gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(var(--dm-teal-rgb),0.07) 0%, transparent 60%),
                radial-gradient(ellipse 60% 40% at 10% 80%, rgba(0,100,220,0.05) 0%, transparent 50%);
}

.dm-life-hero .dm-container {
    position: relative;
    z-index: 1;
}

.dm-life-hero__inner {
    max-width: 800px;
}

.dm-life-hero__label {
    margin-bottom: var(--space-lg);
}

.dm-life-hero__title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin: 0 0 var(--space-xl);
    letter-spacing: -0.02em;
}

.dm-life-hero__sub {
    font-size: var(--text-xl);
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0 0 var(--space-2xl);
    max-width: 600px;
}

.dm-life-hero__actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.dm-life-hero__scroll-hint {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    pointer-events: none;
}

.dm-life-hero__scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--dm-teal), transparent);
    animation: dm-scroll-pulse 2s ease-in-out infinite;
}

@keyframes dm-scroll-pulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.1); }
}

/* ─── PHOTO WALL ────────────────────────────────────────────────── */
.dm-photo-wall {
    overflow: hidden;
    background: var(--bg-primary);
    position: relative;
}

.dm-photo-wall__ghost-content {
    padding: 0;
}

/* ── Photo Slideshow ─────────────────────────────────────────────── */
.dm-pw-slideshow {
    position: relative;
    width: 100%;
    height: 52vh;
    min-height: 320px;
    max-height: 560px;
    overflow: hidden;
    background: var(--bg-secondary);
}

.dm-pw-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.dm-pw-slide--active {
    opacity: 1;
}

.dm-pw-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
    transform: scale(1.03);
    transition: transform 8s ease;
}

.dm-pw-slide--active img {
    transform: scale(1);
}

/* Dots navigation */
.dm-pw-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.dm-pw-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    padding: 0;
}

.dm-pw-dot--active,
.dm-pw-dot:hover {
    background: var(--dm-teal);
    transform: scale(1.4);
}

/* ── Ghost native gallery card (fallback) ─────────────────────────── */
.dm-photo-wall__ghost-content .kg-gallery-card { margin: 0; padding: 0; }
.dm-photo-wall__ghost-content .kg-gallery-container { gap: 4px; }
.dm-photo-wall__ghost-content .kg-gallery-row { gap: 4px; margin: 0; }
.dm-photo-wall__ghost-content .kg-gallery-image {
    margin: 0; max-height: 380px; overflow: hidden;
}
.dm-photo-wall__ghost-content .kg-gallery-image img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.5s ease;
}
.dm-photo-wall__ghost-content .kg-gallery-image:hover img { transform: scale(1.04); }

/* Placeholder photo grid (shown when no content) */
.dm-photo-wall__placeholder {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 240px 200px;
    gap: 4px;
}

.dm-photo-wall__cell {
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease;
}

.dm-photo-wall__cell:hover {
    transform: scale(1.02);
    z-index: 1;
}

.dm-photo-wall__cell--1 {
    background: linear-gradient(135deg, #0a2a20 0%, #00a878 100%);
    grid-column: span 1;
    grid-row: span 2;
}
.dm-photo-wall__cell--2 {
    background: linear-gradient(225deg, #0d1b2a 0%, #1a4080 100%);
}
.dm-photo-wall__cell--3 {
    background: linear-gradient(45deg, #1a2a1a 0%, #00a878 80%);
}
.dm-photo-wall__cell--4 {
    background: linear-gradient(315deg, #0a1520 0%, #0066cc 100%);
    grid-column: span 2;
}
.dm-photo-wall__cell--5 {
    background: linear-gradient(135deg, #001a10 0%, #00a878 100%);
    grid-column: span 2;
    grid-row: span 1;
}
.dm-photo-wall__cell--6 {
    background: linear-gradient(225deg, #0a1520 0%, #004080 100%);
}
.dm-photo-wall__cell--7 {
    background: linear-gradient(45deg, #001a10 0%, #006644 100%);
}
.dm-photo-wall__cell--8 {
    background: linear-gradient(315deg, #0a2a20 0%, #00a878 60%, #0066cc 100%);
}

/* Add DM monogram overlay to placeholder cells */
.dm-photo-wall__cell::after {
    content: 'DM';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 800;
    color: rgba(255,255,255,0.06);
    letter-spacing: 0.1em;
    pointer-events: none;
}

@media (max-width: 768px) {
    .dm-pw-slideshow {
        height: 40vh;
        min-height: 240px;
    }
    .dm-photo-wall__placeholder {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .dm-photo-wall__cell--1 { grid-column: span 1; grid-row: span 1; }
    .dm-photo-wall__cell--4 { grid-column: span 1; }
    .dm-photo-wall__cell--5 { grid-column: span 2; }
}

/* ─── MANIFESTO ─────────────────────────────────────────────────── */
.dm-life-manifesto {
    padding: var(--space-3xl) 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.dm-life-manifesto__inner {
    text-align: center;
}

.dm-life-manifesto__pre {
    display: block;
    font-size: var(--text-sm);
    font-family: var(--font-display);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--dm-teal);
    margin-bottom: var(--space-lg);
}

.dm-life-manifesto__text {
    font-size: clamp(var(--text-xl), 2.5vw, var(--text-3xl));
    font-weight: 500;
    line-height: 1.5;
    color: var(--text-primary);
    margin: 0;
}

.dm-life-manifesto__text em {
    font-style: normal;
    color: var(--dm-teal);
    font-weight: 600;
}

/* ─── STATS ─────────────────────────────────────────────────────── */
.dm-life-stats {
    padding: var(--space-2xl) 0;
    background: var(--bg-secondary);
}

.dm-life-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.dm-life-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-xl) var(--space-lg);
    background: var(--bg-secondary);
    gap: var(--space-xs);
    transition: background 0.2s ease;
}

.dm-life-stat:hover {
    background: var(--bg-card);
}

.dm-life-stat__number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--dm-teal);
    line-height: 1;
    letter-spacing: -0.02em;
}

.dm-life-stat__label {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.3;
    max-width: 140px;
}

@media (max-width: 768px) {
    .dm-life-stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .dm-life-stats__grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ─── VALUES ────────────────────────────────────────────────────── */
.dm-life-values__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.dm-life-value {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.dm-life-value:hover {
    border-color: rgba(var(--dm-teal-rgb),0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(var(--dm-teal-rgb),0.08);
}

.dm-life-value__icon {
    width: 44px;
    height: 44px;
    background: rgba(var(--dm-teal-rgb),0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: var(--dm-teal);
}

.dm-life-value__title {
    font-size: var(--text-lg);
    font-weight: 600;
    margin: 0 0 var(--space-sm);
    color: var(--text-primary);
}

.dm-life-value__text {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1024px) {
    .dm-life-values__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .dm-life-values__grid {
        grid-template-columns: 1fr;
    }
}

/* ─── THE OFFICE ────────────────────────────────────────────────── */
.dm-life-office {
    position: relative;
    padding: var(--space-3xl) 0;
    overflow: hidden;
}

.dm-life-office__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #020d08 0%, #04150c 50%, #020a15 100%);
    z-index: 0;
    transition: background 0.3s ease;
}

/* Full light mode: office section goes warm/light */
html.dm-light .dm-life-office__bg {
    background: linear-gradient(135deg, #dff3ec 0%, #e8f5f0 50%, #e6f0f8 100%);
}

html.dm-light .dm-life-office__overlay {
    background:
        radial-gradient(ellipse 50% 70% at 80% 50%, rgba(var(--dm-teal-rgb),0.08) 0%, transparent 60%);
}
/* Mixed mode: office section stays dark (immersive section, keeps the dark gradient) */

.dm-life-office__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 70% at 80% 50%, rgba(var(--dm-teal-rgb),0.12) 0%, transparent 60%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300a878' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.dm-life-office .dm-container {
    position: relative;
    z-index: 1;
}

.dm-life-office__inner {
    max-width: 680px;
}

.dm-life-office__title {
    font-size: clamp(var(--text-3xl), 4vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    margin: var(--space-md) 0 var(--space-xl);
    letter-spacing: -0.02em;
}

.dm-life-office__text {
    font-size: var(--text-lg);
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.dm-life-office__perks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.dm-life-office__perks li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-base);
    color: var(--text-secondary);
}

.dm-life-office__perks li svg {
    color: var(--dm-teal);
    flex-shrink: 0;
}

/* ─── HOW WE HIRE ────────────────────────────────────────────────── */
.dm-life-hire__steps {
    margin-top: var(--space-2xl);
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.dm-life-hire__steps::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 60px;
    bottom: 20px;
    width: 1px;
    background: linear-gradient(to bottom, var(--dm-teal) 0%, rgba(var(--dm-teal-rgb),0.1) 100%);
    z-index: 0;
}

.dm-life-hire__step {
    display: flex;
    gap: var(--space-xl);
    padding: var(--space-xl) 0;
    position: relative;
    isolation: isolate;
}

.dm-life-hire__step:not(:last-child) {
    border-bottom: 1px solid var(--border-color);
}

.dm-life-hire__step-num {
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--dm-teal);
    letter-spacing: 0.1em;
    min-width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border: 1px solid rgba(var(--dm-teal-rgb),0.35);
    border-radius: 50%;
    flex-shrink: 0;
    transition: background 0.2s ease, border-color 0.2s ease;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 4px var(--bg-primary);
}

.dm-life-hire__step:hover .dm-life-hire__step-num {
    background: rgba(var(--dm-teal-rgb),0.15);
}

.dm-life-hire__step-body {
    padding-top: var(--space-sm);
    flex: 1;
}

.dm-life-hire__step-title {
    font-size: var(--text-xl);
    font-weight: 700;
    margin: 0 0 var(--space-sm);
}

.dm-life-hire__step-text {
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0 0 var(--space-md);
}

.dm-life-hire__step-tip {
    background: rgba(var(--dm-teal-rgb),0.06);
    border-left: 2px solid var(--dm-teal);
    padding: var(--space-sm) var(--space-md);
    font-size: var(--text-sm);
    color: var(--text-secondary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    line-height: 1.6;
}

.dm-life-hire__step-tip strong {
    color: var(--text-primary);
}

@media (max-width: 640px) {
    .dm-life-hire__steps::before {
        display: none;
    }
    .dm-life-hire__step {
        flex-direction: column;
        gap: var(--space-md);
    }
    .dm-life-hire__step-num {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 0.7rem;
    }
}

/* ─── CAREER & GROWTH ───────────────────────────────────────────── */
.dm-life-career__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.dm-life-career__title {
    font-size: clamp(var(--text-3xl), 3.5vw, var(--text-5xl));
    font-weight: 800;
    line-height: 1.1;
    margin: var(--space-md) 0 var(--space-xl);
    letter-spacing: -0.02em;
}

.dm-life-career__text {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.dm-life-career__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.dm-life-career__card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.dm-life-career__card:hover {
    border-color: rgba(var(--dm-teal-rgb),0.3);
    box-shadow: 0 8px 24px rgba(var(--dm-teal-rgb),0.06);
}

.dm-life-career__card-icon {
    color: var(--dm-teal);
    margin-bottom: var(--space-md);
}

.dm-life-career__card-title {
    font-size: var(--text-base);
    font-weight: 700;
    margin: 0 0 var(--space-xs);
}

.dm-life-career__card-text {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1024px) {
    .dm-life-career__inner {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
}

@media (max-width: 640px) {
    .dm-life-career__cards {
        grid-template-columns: 1fr;
    }
}

/* ─── BENEFITS ──────────────────────────────────────────────────── */
.dm-life-benefits__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.dm-life-benefit {
    padding: var(--space-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.dm-life-benefit:hover {
    border-color: rgba(var(--dm-teal-rgb),0.3);
    transform: translateY(-3px);
}

.dm-life-benefit__icon {
    width: 40px;
    height: 40px;
    background: rgba(var(--dm-teal-rgb),0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dm-teal);
    margin-bottom: var(--space-md);
}

.dm-life-benefit__title {
    font-size: var(--text-base);
    font-weight: 700;
    margin: 0 0 var(--space-xs);
    color: var(--text-primary);
}

.dm-life-benefit__text {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1024px) {
    .dm-life-benefits__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .dm-life-benefits__grid {
        grid-template-columns: 1fr;
    }
}

/* ─── JOB LIST / CARDS ──────────────────────────────────────────── */
.dm-job-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: var(--space-xl);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.dm-job-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-xl);
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    transition: background 0.2s ease;
    gap: var(--space-xl);
}

.dm-job-card:last-child {
    border-bottom: none;
}

.dm-job-card:hover {
    background: var(--bg-secondary);
}

.dm-job-card:hover .dm-job-card__arrow {
    transform: translateX(4px);
    color: var(--dm-teal);
}

.dm-job-card__body {
    flex: 1;
    min-width: 0;
}

.dm-job-card__dept {
    display: inline-block;
    font-size: var(--text-xs);
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dm-teal);
    margin-bottom: var(--space-xs);
}

.dm-job-card__title {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 var(--space-xs);
    line-height: 1.3;
}

.dm-job-card__excerpt {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 500px;
}

.dm-job-card__meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-shrink: 0;
}

.dm-job-card__location,
.dm-job-card__type {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: var(--text-sm);
    color: var(--text-muted);
    white-space: nowrap;
}

.dm-job-card__arrow {
    color: var(--text-muted);
    flex-shrink: 0;
    transition: transform 0.2s ease, color 0.2s ease;
}

.dm-life-jobs__empty {
    text-align: center;
    padding: var(--space-3xl) 0;
}

@media (max-width: 768px) {
    .dm-job-card {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }
    .dm-job-card__meta {
        width: 100%;
        justify-content: space-between;
    }
    .dm-job-card__excerpt {
        max-width: 100%;
        white-space: normal;
    }
}

/* ─── JOBS PAGE HERO ────────────────────────────────────────────── */
.dm-jobs-page {
    padding-bottom: var(--space-3xl);
}

.dm-jobs-page__hero {
    padding: calc(80px + var(--space-2xl)) 0 var(--space-2xl);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: var(--space-2xl);
}

.dm-jobs-page__title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin: var(--space-md) 0 var(--space-xs);
    letter-spacing: -0.02em;
}

.dm-jobs-page__sub {
    font-size: var(--text-lg);
    color: var(--text-muted);
    margin: 0;
}

.dm-job-list--full .dm-job-card__title {
    font-size: var(--text-xl);
}

/* ─── JOB DETAIL ────────────────────────────────────────────────── */
.dm-job-detail__hero {
    padding: calc(80px + var(--space-2xl)) 0 var(--space-2xl);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: var(--space-2xl);
}

.dm-job-detail__header-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-2xl);
    margin-top: var(--space-lg);
}

.dm-job-detail__header-left {
    flex: 1;
}

.dm-job-detail__title {
    font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
    font-weight: 800;
    margin: var(--space-md) 0 var(--space-md);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.dm-job-detail__meta {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.dm-job-detail__meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.dm-job-detail__apply {
    margin-top: var(--space-xl);
}

.dm-job-detail__apply-note {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-top: var(--space-sm);
}

.dm-job-detail__apply-note a {
    color: var(--dm-teal);
}

/* --- Job Detail: Supporting Visual Panel --- */
.dm-job-detail__visual {
    width: 340px;
    flex-shrink: 0;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(var(--dm-teal-rgb), 0.1) 0%, var(--bg-secondary) 100%);
    border: 1px solid rgba(var(--dm-teal-rgb), 0.18);
    overflow: hidden;
    position: relative;
    min-height: 240px;
    display: flex;
    align-items: stretch;
}

.dm-job-detail__visual-inner {
    position: relative;
    width: 100%;
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dm-job-detail__visual-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(var(--dm-teal-rgb), 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--dm-teal-rgb), 0.07) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.dm-job-detail__visual-content {
    position: relative;
    z-index: 1;
}

.dm-job-detail__visual-text {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.65;
    font-weight: 500;
    margin: var(--space-md) 0;
}

.dm-job-detail__visual-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-top: var(--space-sm);
}

.dm-job-detail__visual-badges span {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    color: var(--dm-teal);
    background: rgba(var(--dm-teal-rgb), 0.1);
    border: 1px solid rgba(var(--dm-teal-rgb), 0.2);
    padding: 4px 10px;
    border-radius: 100px;
}

.dm-job-detail__layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: var(--space-2xl);
    padding-bottom: var(--space-3xl);
    align-items: start;
}

/* Job body content */
.dm-job-detail__body {
    font-size: var(--text-base);
    line-height: 1.8;
    color: var(--text-secondary);
}

.dm-job-detail__body h2 {
    font-size: var(--text-2xl);
    color: var(--text-primary);
    margin: var(--space-2xl) 0 var(--space-sm);
    font-weight: 700;
}

.dm-job-detail__body > *:first-child {
    margin-top: 0;
}

.dm-job-detail__body > *:first-child h2 {
    margin-top: 0;
}

.dm-job-detail__body h3 {
    font-size: var(--text-lg);
    color: var(--text-primary);
    margin: var(--space-xl) 0 var(--space-xs);
    font-weight: 600;
}

.dm-job-detail__body p {
    margin-bottom: var(--space-md);
}

.dm-job-detail__body ul,
.dm-job-detail__body ol {
    margin: 0 0 var(--space-md) var(--space-xl);
}

.dm-job-detail__body li {
    margin-bottom: 6px;
}

/* Sidebar */
.dm-job-detail__sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.dm-job-detail__sidebar-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}

.dm-job-detail__sidebar-box--cta {
    background: rgba(var(--dm-teal-rgb),0.06);
    border-color: rgba(var(--dm-teal-rgb),0.2);
}

.dm-job-detail__sidebar-title {
    font-size: var(--text-base);
    font-weight: 700;
    margin: 0 0 var(--space-sm);
    color: var(--text-primary);
}

.dm-job-detail__sidebar p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.dm-job-detail__sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.dm-job-detail__sidebar-list li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

@media (max-width: 1024px) {
    .dm-job-detail__layout {
        grid-template-columns: 1fr;
    }
    .dm-job-detail__sidebar {
        position: static;
        order: -1;
    }
    .dm-job-detail__visual {
        display: none;
    }
}

@media (max-width: 768px) {
    .dm-job-detail__header-inner {
        flex-direction: column;
    }
    .dm-job-detail__apply .dm-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ─── BREADCRUMBS ───────────────────────────────────────────────── */
.dm-job-detail .dm-breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: color 0.2s ease;
}

.dm-job-detail .dm-breadcrumbs a:hover {
    color: var(--dm-teal);
}

/* ─── LIFE CTA VARIANT ──────────────────────────────────────────── */
.dm-cta-section--life {
    background: var(--bg-primary);
}
