.job-section {
    width: 100%;
    padding: 3rem 2rem;
    background-color: #dbdbdb;
}

.job-card {
    width: 100%;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.07);
    border-radius: 16px;
    animation: fadeUp 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.job-card-accent {
    height: 5px;
    background: #8d1d21;
}

/* Header */
.job-card-header {
    padding: 2.5rem 3rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    border-bottom: 1px solid #f0ede8;
}

.header-left {
    flex: 1;
}

.job-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b6b6b;
    background: #f0ede8;
    padding: 5px 13px;
    border-radius: 100px;
    margin-bottom: 14px;
}

.job-tag svg {
    width: 12px;
    height: 12px;
    stroke: #6b6b6b;
}

.job-title {
    font-family: 'DM Serif Display', serif;
    font-size: 36px;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

/* Meta */
.job-meta {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid #f0ede8;
}

.meta-block {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 1.5rem 3rem;
    flex: 1;
    border-right: 1px solid #f0ede8;
}

.meta-block:last-child {
    border-right: none;
}

.meta-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #f7f5f2;
    border: 1px solid #e8e4de;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.meta-icon svg {
    width: 20px;
    height: 20px;
    stroke: #1a1a1a;
}

.meta-text-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #a8a39c;
    margin-bottom: 4px;
}

.meta-text-value {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}

/* Description */
.job-description {
    padding: 2.5rem 3rem;
    border-bottom: 1px solid #f0ede8;
}

.desc-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a8a39c;
    margin-bottom: 14px;
}

.desc-text {
    font-size: 15px;
    line-height: 1.85;
    color: #555;
}

.desc-text p+p {
    margin-top: 1rem;
}

/* Footer */
.job-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 3rem;
    background: #faf9f7;
}

.deadline-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #a8a39c;
}

.deadline-note svg {
    width: 15px;
    height: 15px;
    stroke: #c8c3bb;
    flex-shrink: 0;
}

.deadline-note span b {
    color: #6b6b6b;
    font-weight: 600;
}

.apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1a1a1a;
    color: #ffffff;
    text-decoration: none;
    padding: 13px 28px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
    transition: background 0.2s, transform 0.15s;
}

.apply-btn:hover {
    background: #333;
    transform: translateY(-2px);
}

.apply-btn:active {
    transform: translateY(0);
}

.apply-btn svg {
    width: 14px;
    height: 14px;
    stroke: #fff;
    transition: transform 0.2s;
}

.apply-btn:hover svg {
    transform: translateX(3px);
}

.circular-btn {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid #ad1f26;
    /* blue border */
    border-radius: 6px;
    background: transparent;
    color: #ad1f26;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.circular-btn:hover {
    background: #ad1f26;
    color: #fff;
}

@media (max-width: 768px) {
    .job-card-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
    }

    .job-meta {
        flex-direction: column;
    }

    .meta-block {
        border-right: none;
        border-bottom: 1px solid #f0ede8;
        padding: 1rem 1.5rem;
    }

    .meta-block:last-child {
        border-bottom: none;
    }

    .job-description {
        padding: 1.5rem;
    }

    .job-card-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
        padding: 1.5rem;
    }

    .job-title {
        font-size: 26px;
    }
}
