/* AYNUVO Career Section */
.ayn-career-section {
    --ayn-teal: #18b6b0;
    --ayn-navy: #1b3d59;
    --ayn-light: #f2fbfb;
    --ayn-border: #dcebea;
    --ayn-text: #526879;

    padding: 33px 0;
    background: #ffffff;
    font-family: inherit;
    overflow: hidden;
}

.ayn-career-section .container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.ayn-career-section * {
    box-sizing: border-box;
}

.ayn-career-heading {
    max-width: 850px;
    margin: 0 auto 38px;
    text-align: center;
}

.ayn-career-label {
    line-height: 1;
    opacity: 0.8;
    font-weight: 700;
    font-size: 12px;
    display: inline-block;
    margin-bottom: 15px;
    padding: 8px 16px;
    background: rgba(21, 155, 156, 0.12);
    color: #159b9c;
    border-radius: 30px;
}

.ayn-career-heading h2,
.ayn-salary-intro h2 {
    margin: 0 0 15px;
    color: var(--ayn-navy);
    font-size: clamp(27px, 3vw, 30px);
    font-weight: 500;
    line-height: 1.25;
}

.ayn-career-heading h2 span,
.ayn-salary-intro h2 span {
    color: var(--ayn-teal);
}

.ayn-career-heading > p,
.ayn-salary-intro > p {
    margin: 0;
    color: var(--ayn-text);
    font-size: 15px;
    line-height: 1.8;
}

/* Job table and image layout */
.ayn-career-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    align-items: stretch;
    gap: 24px;
}

.ayn-career-table-card {
    min-width: 0;
    padding: 12px;
    background: #ffffff;
    border: 1px solid var(--ayn-border);
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(27, 61, 89, 0.06);
}

.ayn-career-table-scroll {
    width: 100%;
    overflow-x: auto;
}

.ayn-career-table,
.ayn-salary-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    text-align: left;
}

.ayn-career-table {
    font-size: 13px;
}

.ayn-career-table thead th {
    padding: 17px 15px;
    color: #ffffff;
    background: var(--ayn-navy);
    font-weight: 600;
    line-height: 1.5;
}

.ayn-career-table thead th:first-child {
    width: 38%;
    border-radius: 8px 0 0 0;
}

.ayn-career-table thead th:last-child {
    border-radius: 0 8px 0 0;
}

.ayn-career-table tbody td {
    padding: 12px 15px;
    color: var(--ayn-text);
    border-bottom: 1px solid #e7efef;
    line-height: 1.6;
    vertical-align: middle;
}

.ayn-career-table tbody td:first-child {
    color: var(--ayn-navy);
    font-weight: 600;
}

.ayn-career-table tbody tr:last-child td {
    border-bottom: none;
}

.ayn-career-table tbody tr:hover td {
    background: var(--ayn-light);
}

/* Image panel */
.ayn-career-visual {
    position: relative;
    min-height: 100%;
    min-width: 0;
    overflow: hidden;
    border-radius: 14px;
    background: var(--ayn-light);
}

.ayn-career-visual > img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 480px;
    object-fit: cover;
    object-position: center;
}

.ayn-career-image-caption {
    position: absolute;
    right: 14px;
    bottom: 14px;
    left: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    color: #ffffff;
    background: var(--ayn-navy);
    border-left: 4px solid var(--ayn-teal);
    border-radius: 10px;
}

.ayn-career-caption-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--ayn-navy);
    background: var(--ayn-teal);
    border-radius: 50%;
    font-size: 20px;
}

.ayn-career-image-caption h3 {
    margin: 0 0 5px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
}

.ayn-career-image-caption p {
    margin: 0;
    color: #b8eeeb;
    font-size: 14px;
}

/* Salary panel */
.ayn-salary-section {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    align-items: center;
    gap: 35px;
    margin-top: 28px;
    padding: 32px;
    background: var(--ayn-light);
    border: 1px solid #d7efed;
    border-radius: 16px;
}

.ayn-salary-intro {
    min-width: 0;
}

.ayn-salary-intro h2 {
    font-size: clamp(25px, 2.5vw, 32px);
}

.ayn-salary-intro .ayn-career-label {
    margin-bottom: 14px;
}

.ayn-salary-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    color: var(--ayn-text);
    font-size: 12px;
    line-height: 1.7;
}

.ayn-salary-note i {
    margin-top: 3px;
    color: var(--ayn-teal);
    font-size: 17px;
}

.ayn-salary-table-wrap {
    min-width: 0;
    overflow-x: auto;
    background: #ffffff;
    border: 1px solid var(--ayn-border);
    border-radius: 10px;
}

.ayn-salary-table {
    font-size: 13px;
}

.ayn-salary-table thead th {
    padding: 15px 13px;
    color: #ffffff;
    background: var(--ayn-navy);
    font-weight: 600;
    line-height: 1.5;
}

.ayn-salary-table tbody td {
    padding: 14px 13px;
    color: var(--ayn-text);
    border-bottom: 1px solid #e6eeee;
    line-height: 1.6;
}

.ayn-salary-table tbody tr:last-child td {
    border-bottom: none;
}

.ayn-salary-table tbody td:not(:first-child) {
    color: var(--ayn-navy);
    font-weight: 600;
    white-space: nowrap;
}

/* Tablet */
@media (max-width: 1100px) {
    .ayn-career-layout {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 16px;
    }

    .ayn-career-table {
        min-width: 600px;
    }

    .ayn-salary-section {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .ayn-career-visual > img {
        min-height: 420px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .ayn-career-section {
        padding: 55px 0;
    }

    .ayn-career-section .container {
        padding: 0 15px;
    }

    .ayn-career-heading {
        margin-bottom: 25px;
    }

    .ayn-career-heading h2 {
        font-size: 20px;
    }

    .ayn-career-heading > p {
        font-size: 12px;
    }

    .ayn-career-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .ayn-career-table-card {
        padding: 8px;
    }

    .ayn-career-table {
        min-width: 620px;
    }

    .ayn-career-table thead th,
    .ayn-career-table tbody td {
        padding: 12px;
    }

    .ayn-career-visual > img {
        height: 350px;
        min-height: 350px;
    }

    .ayn-career-image-caption {
        right: 12px;
        bottom: 12px;
        left: 12px;
        padding: 14px;
    }

    .ayn-salary-section {
        gap: 22px;
        margin-top: 22px;
        padding: 22px 15px;
    }

    .ayn-salary-intro h2 {
        font-size: 22px;
    }

    .ayn-salary-table {
        min-width: 570px;
    }

    .ayn-salary-table thead th,
    .ayn-salary-table tbody td {
        padding: 12px 10px;
    }
}


.salary-th {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.salary-th svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    fill: none;
    stroke: #18b6b0;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: inline-block;
}

.salary-th {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.salary-th svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    fill: none;
    stroke: #18b6b0;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: middle;
}

