/*
 * Fox Vacancies Manager front-end styles.
 * Typography intentionally inherits from the active WordPress theme so the
 * vacancies page uses the website font family and default text sizing.
 */
.fox-vacancies {
    --fox-vacancy-text: currentColor;
    --fox-vacancy-muted: currentColor;
    --fox-vacancy-bg: #eeeeee;
    --fox-vacancy-panel: #f7f7f7;
    --fox-vacancy-blue: #001a8b;
    --fox-vacancy-green: #067407;
    --fox-vacancy-purple: #6f3cb8;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

.fox-vacancies *,
.fox-vacancies *::before,
.fox-vacancies *::after {
    font-family: inherit;
    box-sizing: border-box;
}

.fox-vacancy-section {
    margin: 0 0 42px;
}

.fox-vacancy-section-title {
    margin: 0 0 10px;
    color: inherit;
}

.fox-vacancy-count {
    margin: 0 0 18px;
    color: inherit;
}

.fox-vacancy-card {
    background: var(--fox-vacancy-bg);
    padding: clamp(22px, 3vw, 38px);
    margin: 0 0 28px;
    border-radius: 0;
    color: inherit;
}

.fox-vacancy-header {
    margin-bottom: 28px;
}

.fox-vacancy-title {
    margin: 0 0 18px;
    color: inherit;
}

.fox-vacancy-school-address {
    margin: 0 0 0 28px;
    color: inherit;
    font-weight: 700;
}

.fox-vacancy-body {
    display: grid;
    grid-template-columns: 204px 1fr;
    gap: clamp(28px, 6vw, 70px);
    align-items: start;
}

.fox-vacancy-details {
    background: var(--fox-vacancy-panel);
    padding: 24px 10px;
    min-height: 360px;
}

.fox-vacancy-detail-row {
    margin: 0 0 26px;
    color: inherit;
}

.fox-vacancy-detail-row strong,
.fox-vacancy-detail-row span {
    display: block;
}

.fox-vacancy-detail-row strong {
    margin-bottom: 8px;
}

.fox-vacancy-detail-row span::before {
    content: '\2013  ';
}

.fox-vacancy-files {
    display: grid;
    grid-template-columns: repeat(3, minmax(150px, 1fr));
    gap: clamp(28px, 5vw, 68px);
    align-items: start;
    max-width: 720px;
}

.fox-vacancy-file {
    display: grid;
    justify-items: center;
    text-decoration: none !important;
    color: var(--fox-vacancy-blue);
}

.fox-vacancy-file-icon {
    width: 56px;
    height: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    margin-bottom: 1.5em;
}

.fox-vacancy-pdf-icon {
    display: block;
    width: 56px;
    height: 72px;
    overflow: visible;
}

.fox-vacancy-pdf-page {
    fill: currentColor;
}

.fox-vacancy-pdf-fold {
    fill: rgba(255, 255, 255, 0.92);
}

.fox-vacancy-pdf-mark {
    fill: none;
    stroke: #ffffff;
    stroke-width: 3.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fox-vacancy-file-title {
    color: currentColor;
    font-size: 1.5em;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 1em;
}

.fox-vacancy-file-description {
    color: inherit;
    text-align: center;
}

.fox-vacancy-file-job_description {
    color: var(--fox-vacancy-green);
}

.fox-vacancy-file-application_form {
    color: var(--fox-vacancy-purple);
}

.fox-vacancy-file:hover .fox-vacancy-file-title,
.fox-vacancy-file:focus .fox-vacancy-file-title {
    text-decoration: underline;
}

@media (max-width: 850px) {
    .fox-vacancy-body {
        grid-template-columns: 1fr;
    }

    .fox-vacancy-details {
        min-height: auto;
    }

    .fox-vacancy-school-address {
        margin-left: 0;
    }

    .fox-vacancy-files {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 540px) {
    .fox-vacancy-files {
        grid-template-columns: 1fr;
    }
}
