/* ==========================================================================
   jobs.mwdn.com — 2026 design, mirrors https://mwdn.com/
   Loaded after the legacy style.css / new-style.css (see inc/mwdn-layout.php),
   so everything here is scoped under body.mwdn-2026 or .mwdn-* classes.
   ========================================================================== */

/* Inter — variable font, same files mwdn.com self-hosts ------------------- */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url(../fonts/inter/inter-cyrillic-ext.woff2) format('woff2');
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url(../fonts/inter/inter-cyrillic.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url(../fonts/inter/inter-latin-ext.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url(../fonts/inter/inter-latin.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Tokens (Elementor global colours of mwdn.com) --------------------------- */
:root {
    --mwdn-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --mwdn-blue: #1B4FF8;
    --mwdn-blue-dark: #062DB2;
    --mwdn-navy: #091C5C;
    --mwdn-sky: #178DDF;
    --mwdn-tint: #F3F6FF;
    --mwdn-surface: #F8F9FB;
    --mwdn-border: #E5E5E7;
    --mwdn-muted: #68727D;
    --mwdn-text: #181818;
    --mwdn-white: #FFFFFF;
    --mwdn-label: #CCD8FF;
    --mwdn-hero: linear-gradient(180deg, #4671FB 0%, #2A4395 100%);
    --mwdn-ring: rgba(154, 164, 197, 0.5);
    --mwdn-header-h: 112px;
    --mwdn-shadow: 0 24px 48px -12px rgba(16, 24, 40, 0.18);
}

/* Base -------------------------------------------------------------------- */
body.mwdn-2026 {
    font-family: var(--mwdn-font);
    color: var(--mwdn-text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    padding-top: 0 !important; /* legacy gt.js "scrolled" padding */
}
/* Switch every legacy font (Gilroy/Roboto/Open Sans) to Inter; icon fonts keep theirs. */
body.mwdn-2026 *:not([class*="icon"]):not([class*="fa-"]):not(.fa) {
    font-family: inherit !important;
}

/* new-style.css animates *everything* ("* { transition: all .4s }"). */
.mwdn-top, .mwdn-top *, .mwdn-drawer, .mwdn-drawer *, .mwdn-footer, .mwdn-footer *,
.mwdn-modal, .mwdn-modal *, body.mwdn-2026 .comeet-outer-wrapper * {
    transition: none;
    box-sizing: border-box;
}

/* style.css starts with a reset that gives *every* element font-size:17px,
   color:#57657c and position:relative. Inside the new components text must
   inherit instead (same specificity, this file loads later). */
.mwdn-top, .mwdn-drawer, .mwdn-footer, .mwdn-modal {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}
:where(.mwdn-top, .mwdn-drawer, .mwdn-footer, .mwdn-modal) :is(div, span, p, a, li, ul, ol, nav, label, form, fieldset, legend, b, strong, i, em, small, h1, h2, h3, h4, h5, h6, section, header) {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

.mwdn-sr {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.mwdn-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

.mwdn-top [hidden], .mwdn-drawer[hidden], .mwdn-drawer [hidden] {
    display: none !important;
}

:where(.mwdn-top, .mwdn-drawer, .mwdn-footer) ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
:where(.mwdn-top, .mwdn-drawer, .mwdn-footer, .mwdn-modal) p {
    margin: 0;
}
:where(.mwdn-top, .mwdn-drawer, .mwdn-footer, .mwdn-modal) button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}
:where(.mwdn-top, .mwdn-drawer, .mwdn-footer, .mwdn-modal) a {
    color: inherit;
    text-decoration: none;
    -webkit-user-select: auto;
    user-select: auto;
}
.mwdn-top a:focus-visible, .mwdn-top button:focus-visible,
.mwdn-drawer a:focus-visible, .mwdn-drawer button:focus-visible,
.mwdn-footer a:focus-visible, .mwdn-modal button:focus-visible {
    outline: 2px solid var(--mwdn-sky) !important;
    outline-offset: 2px;
}
:where(.mwdn-top, .mwdn-drawer, .mwdn-footer, .mwdn-modal) svg {
    flex-shrink: 0;
}

/* Buttons ----------------------------------------------------------------- */
.mwdn-btn,
body.mwdn-2026 .mwdn-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: 4px solid var(--mwdn-ring);
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s;
}
.mwdn-btn--light {
    background: var(--mwdn-white);
    color: var(--mwdn-blue-dark);
    font-size: 14px;
    box-shadow: 0 0 2px rgba(16, 24, 40, 0.04);
}
.mwdn-btn--light:hover {
    background: var(--mwdn-tint);
}
.mwdn-btn--dark {
    background: var(--mwdn-text);
    color: var(--mwdn-white);
    border-color: #C1C3C7;
}
.mwdn-btn--dark:hover {
    background: #000;
}
.mwdn-btn--outline {
    background: var(--mwdn-white);
    color: var(--mwdn-blue-dark);
}
.mwdn-btn--outline:hover {
    background: var(--mwdn-tint);
}

/* ==========================================================================
   Header
   ========================================================================== */
.mwdn-top {
    position: relative;
    background: var(--mwdn-hero);
    padding-top: var(--mwdn-header-h);
    color: var(--mwdn-white);
}

/* gt.js writes inline position on <header> while scrolling — keep ours. */
.mwdn-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    margin: 0;
    pointer-events: none;
}
body.admin-bar .mwdn-header {
    top: 32px;
}

.mwdn-header__bar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 1200px;
    height: var(--mwdn-header-h);
    margin: 0 auto;
    padding: 0 25px;
    border-radius: 16px;
    pointer-events: auto;
    transition: height .25s ease, margin-top .25s ease, background-color .25s ease, box-shadow .25s ease;
}
.mwdn-header.is-stuck .mwdn-header__bar {
    height: 80px;
    margin-top: 16px;
    background: var(--mwdn-blue-dark);
    box-shadow: 0 8px 24px rgba(9, 28, 92, 0.25);
}

.mwdn-header__logo {
    display: inline-flex;
    flex-shrink: 0;
}
.mwdn-header__logo img {
    display: block;
    width: 133px;
    height: 32px !important;
}

/* Main menu — legacy CSS makes nav/ul position:relative; the mega panel must
   resolve against .mwdn-header__bar instead. */
.mwdn-header .mwdn-nav,
.mwdn-header .mwdn-nav__list {
    position: static;
}
.mwdn-nav__list {
    display: flex;
    align-items: center;
    gap: 8px;
}
.mwdn-nav__item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 32px;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: var(--mwdn-white);
}
.mwdn-nav__item.has-mega {
    position: static;
}
.mwdn-nav__item:hover,
.mwdn-nav__item.is-open {
    background: var(--mwdn-blue-dark);
}
.mwdn-header.is-stuck .mwdn-nav__item:hover,
.mwdn-header.is-stuck .mwdn-nav__item.is-open {
    background: rgba(255, 255, 255, 0.14);
}
.mwdn-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 24px;
    color: var(--mwdn-white) !important;
    white-space: nowrap;
}
.mwdn-nav__caret {
    display: inline-flex;
    align-items: center;
    height: 24px;
}
.mwdn-nav__trigger svg {
    transition: transform .2s;
}
.mwdn-nav__item.is-open .mwdn-nav__trigger svg {
    transform: rotate(180deg);
}

/* Dropdown + mega panels share open/close behaviour */
.mwdn-dropdown,
.mwdn-mega {
    position: absolute;
    z-index: 10;
    visibility: hidden;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
    background: var(--mwdn-white);
    color: var(--mwdn-text);
    border-radius: 16px;
    box-shadow: var(--mwdn-shadow);
}
.mwdn-nav__item.is-open > .mwdn-dropdown,
.mwdn-nav__item.is-open > .mwdn-mega {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .18s ease, transform .18s ease, visibility 0s;
}
/* Invisible bridge so the pointer can travel from the menu item to the panel. */
.mwdn-dropdown::before,
.mwdn-mega::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 100%;
    height: 24px;
}

.mwdn-dropdown {
    top: calc(100% + 8px);
    left: -12px;
    min-width: 420px;
    padding: 28px 32px;
}
.mwdn-dropdown li + li {
    margin-top: 8px;
}
.mwdn-dropdown a {
    display: block;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: var(--mwdn-text) !important;
}
.mwdn-dropdown a:hover {
    color: var(--mwdn-blue) !important;
}

.mwdn-mega {
    top: calc(50% + 24px);
    left: -12px;
    right: -12px;
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 52px;
    padding: 32px;
}
.mwdn-header.is-stuck .mwdn-mega {
    top: calc(100% + 8px);
}
.mwdn-mega__side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 56px;
}
.mwdn-mega__tabs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}
.mwdn-mega__tab {
    width: 100%;
    padding: 12px 16px !important;
    border-radius: 8px;
    text-align: left;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 26px;
    color: #000 !important;
    background: var(--mwdn-white) !important;
}
.mwdn-mega__tab:hover {
    background: var(--mwdn-tint) !important;
}
.mwdn-mega__tab[aria-selected="true"] {
    background: var(--mwdn-blue-dark) !important;
    color: var(--mwdn-white) !important;
}
.mwdn-mega__panels {
    min-width: 0;
}
.mwdn-mega__panel {
    background: var(--mwdn-surface);
    border-radius: 16px;
}
.mwdn-mega__head {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    border-bottom: 1px solid var(--mwdn-border);
}
.mwdn-mega p,
.mwdn-dropdown p {
    color: var(--mwdn-text);
}
.mwdn-mega__title {
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
}
.mwdn-mega__desc {
    max-width: 460px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    color: #252525;
}
.mwdn-mega__links {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(var(--mwdn-rows, 5), auto);
    grid-auto-flow: column;
    gap: 16px 24px;
    padding: 24px !important;
}
.mwdn-mega__links a {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: var(--mwdn-text) !important;
}
.mwdn-mega__links a:hover {
    color: var(--mwdn-blue) !important;
}
.mwdn-mega__promo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 0 24px 24px;
    padding: 24px;
    background: var(--mwdn-surface);
    border: 1px solid var(--mwdn-border);
    border-radius: 16px;
}
.mwdn-mega__promo-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
}
.mwdn-mega__promo-text {
    margin-top: 4px !important;
    font-size: 16px;
    line-height: 24px;
}

.mwdn-header__cta {
    margin-left: auto;
}
.mwdn-header__cta svg {
    width: 15px;
    height: 15px;
}
.mwdn-header__burger {
    display: none !important;
    margin-left: auto !important;
    color: var(--mwdn-white) !important;
}

/* Hero band */
.mwdn-hero {
    padding: 48px 0 96px;
}
.mwdn-hero .mwdn-container {
    max-width: 1150px;
    padding: 0;
}
.mwdn-hero__title,
body.mwdn-2026 .mwdn-hero__title {
    max-width: 640px;
    margin: 0;
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--mwdn-white);
    text-transform: none;
}
.mwdn-hero__text {
    max-width: 560px;
    margin-top: 16px !important;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--mwdn-white);
}

/* ==========================================================================
   Mobile menu (drawer)
   ========================================================================== */
.mwdn-drawer {
    position: fixed;
    inset: 0;
    z-index: 2000;
}
.mwdn-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(9, 28, 92, 0.55);
}
.mwdn-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    width: min(335px, 86vw);
    overflow-y: auto;
    background: var(--mwdn-blue-dark);
    color: var(--mwdn-white);
    animation: mwdn-slide-in .25s ease;
}
@keyframes mwdn-slide-in {
    from { transform: translateX(100%); }
    to { transform: none; }
}
.mwdn-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
}
.mwdn-drawer__x {
    color: var(--mwdn-white) !important;
}
.mwdn-drawer__list > li {
    border-bottom: 1px solid rgba(27, 79, 248, 0.7);
}
.mwdn-drawer__list > li:first-child {
    border-top: 1px solid rgba(27, 79, 248, 0.7);
}
.mwdn-drawer__toggle,
.mwdn-drawer__link {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8px 20px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 24px;
    color: var(--mwdn-white) !important;
    text-align: left;
}
.mwdn-drawer__toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}
.mwdn-drawer__sub {
    padding: 4px 0 12px !important;
    background: rgba(9, 28, 92, 0.35);
}
.mwdn-drawer__sub a {
    display: block;
    padding: 6px 32px;
    font-size: 15px;
    font-weight: 500;
    line-height: 22px;
    color: var(--mwdn-label) !important;
}
.mwdn-drawer__sub a:hover,
.mwdn-drawer__link:hover {
    color: var(--mwdn-white) !important;
    background: rgba(255, 255, 255, 0.08);
}
.mwdn-drawer__cta {
    padding: 24px 24px 8px;
}
.mwdn-drawer .mwdn-contacts {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px 24px 32px;
}

/* Contacts + socials (drawer and footer) */
.mwdn-contacts__label {
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    text-transform: uppercase;
    color: var(--mwdn-label);
}
.mwdn-contacts__value {
    display: inline-block;
    margin-top: 4px;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: var(--mwdn-white) !important;
}
.mwdn-contacts__value:hover {
    text-decoration: underline;
}
.mwdn-socials {
    display: flex !important;
    flex-wrap: wrap;
    gap: 6px;
}
.mwdn-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(248, 249, 251, 0.35);
    border-radius: 50%;
    color: var(--mwdn-white) !important;
}
.mwdn-socials a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Contact pop-up
   ========================================================================== */
.mwdn-modal {
    width: min(760px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    padding: 0;
    border: 0;
    border-radius: 32px;
    background: var(--mwdn-white);
    color: var(--mwdn-text);
    box-shadow: var(--mwdn-shadow);
    overflow: auto;
}
.mwdn-modal::backdrop {
    background: rgba(9, 28, 92, 0.6);
}
body.mwdn-modal-open {
    overflow: hidden !important;
}
.mwdn-modal__box {
    position: relative;
    padding: 40px;
}
.mwdn-modal__x {
    position: absolute !important;
    top: 20px;
    right: 20px;
    color: var(--mwdn-blue-dark) !important;
}
.mwdn-modal__title,
body.mwdn-2026 .mwdn-modal__title {
    margin: 0 48px 8px 0;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.015em;
    color: var(--mwdn-text);
    text-transform: none;
}
.mwdn-modal__text {
    margin-bottom: 24px !important;
    font-size: 16px;
    line-height: 1.5;
    color: var(--mwdn-muted);
}

/* ==========================================================================
   Contact form (Contact Form 7, html_class="mwdn-form")
   ========================================================================== */
.mwdn-form .mwdn-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.mwdn-form .mwdn-field--full {
    grid-column: 1 / -1;
}
.mwdn-form .wpcf7-form-control-wrap {
    display: block;
}
body.mwdn-2026 .mwdn-form input[type="text"],
body.mwdn-2026 .mwdn-form input[type="email"],
body.mwdn-2026 .mwdn-form input[type="tel"],
body.mwdn-2026 .mwdn-form textarea {
    display: block;
    width: 100%;
    height: 46px;
    margin: 0;
    padding: 12px;
    border: 1px solid var(--mwdn-border);
    border-radius: 8px;
    background: var(--mwdn-white);
    font-size: 14px;
    line-height: 20px;
    color: var(--mwdn-text);
    box-shadow: none;
}
body.mwdn-2026 .mwdn-form textarea {
    height: 104px;
    resize: vertical;
}
body.mwdn-2026 .mwdn-form input:focus,
body.mwdn-2026 .mwdn-form textarea:focus {
    border-color: var(--mwdn-blue) !important;
}
.mwdn-form ::placeholder {
    color: var(--mwdn-muted);
    opacity: 1;
}
.mwdn-form .mwdn-file {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 96px;
    padding: 16px;
    border: 1px dashed transparent;
    border-radius: 16px;
    background: var(--mwdn-surface);
    text-align: center;
    cursor: pointer;
}
.mwdn-form .mwdn-file.is-dragover {
    border-color: var(--mwdn-blue);
    background: var(--mwdn-tint);
}
.mwdn-form .mwdn-file .wpcf7-form-control-wrap {
    position: absolute;
    inset: 0;
}
.mwdn-form .mwdn-file input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}
.mwdn-form .mwdn-file__text {
    font-size: 14px;
    font-weight: 500;
    color: var(--mwdn-muted);
    pointer-events: none;
}
.mwdn-form .mwdn-consent {
    margin-top: 16px;
    font-size: 12px;
    line-height: 1.45;
    color: var(--mwdn-text);
}
.mwdn-form .mwdn-consent + .mwdn-consent {
    margin-top: 8px;
}
.mwdn-form .mwdn-consent label {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    cursor: pointer;
}
.mwdn-form .mwdn-consent .wpcf7-list-item {
    margin: 0;
}
body.mwdn-2026 .mwdn-form input[type="checkbox"] {
    -webkit-appearance: auto;
    appearance: auto;
    width: 13px;
    height: 13px;
    margin: 2px 0 0;
    flex-shrink: 0;
}
.mwdn-form .mwdn-consent a {
    color: var(--mwdn-blue-dark);
    text-decoration: underline;
}
body.mwdn-2026 .mwdn-form .wpcf7-submit {
    margin-top: 20px;
    padding: 12px 24px;
    border: 0;
    border-radius: 50px;
    background: var(--mwdn-blue);
    color: var(--mwdn-white);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    cursor: pointer;
    width: auto;
    height: auto;
}
body.mwdn-2026 .mwdn-form .wpcf7-submit:hover {
    background: var(--mwdn-blue-dark);
}
.mwdn-form .wpcf7-spinner {
    vertical-align: middle;
    margin: 20px 0 0 12px;
}
.mwdn-form .wpcf7-not-valid-tip {
    margin-top: 4px;
    font-size: 12px;
    color: #D92D20;
}
.mwdn-form .wpcf7-response-output {
    margin: 16px 0 0 !important;
    padding: 10px 14px !important;
    border-radius: 8px;
    font-size: 14px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.mwdn-footer {
    position: static;
    margin: 0;
    color: #F8F9FB;
}

.mwdn-footer__main {
    padding: 48px 0 32px;
    background: linear-gradient(180deg, #000 0%, #181818 100%);
}
.mwdn-footer__slogan {
    max-width: 480px;
    font-size: 52px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #F8F9FB;
}
.mwdn-footer__pills {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    margin-top: 48px !important;
}
.mwdn-footer__pills a {
    display: inline-block;
    padding: 8px 16px;
    border: 2px solid #F8F9FB;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    text-transform: uppercase;
    color: #F8F9FB !important;
}
.mwdn-footer__pills a {
    transition: color .3s;
}
.mwdn-footer__pills a:hover,
.mwdn-footer__pills a:focus-visible {
    color: var(--mwdn-blue) !important; /* same as mwdn.com: only the text turns blue */
}
.mwdn-footer__columns {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
    margin-top: 56px;
}
.mwdn-footer__col-title {
    margin-bottom: 20px !important;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    text-transform: uppercase;
}
.mwdn-footer__col li + li {
    margin-top: 12px;
}
.mwdn-footer__col a,
.mwdn-footer__col span {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #F8F9FB !important;
}
.mwdn-footer__col a {
    transition: color .3s;
}
.mwdn-footer__col a:hover,
.mwdn-footer__col a:focus-visible {
    color: var(--mwdn-blue) !important;
}
.mwdn-footer__contacts {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 288px;
    align-items: start;
    gap: 24px;
    margin-top: 56px;
}
.mwdn-footer .mwdn-contacts {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.35fr);
    gap: 8px 24px;
}
.mwdn-footer .mwdn-socials {
    grid-column: 1 / span 2;
    grid-row: 2;
    margin-top: 12px !important;
}
.mwdn-footer__clutch {
    min-height: 108px;
    padding: 16px;
    border-radius: 16px;
    background: var(--mwdn-white);
}
.mwdn-footer__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 48px;
    font-size: 13px;
    font-weight: 600;
    line-height: 20px;
}
.mwdn-footer__legal > * {
    padding: 0 8px;
}
.mwdn-footer__legal > * + * {
    border-left: 1px solid rgba(248, 249, 251, 0.8);
}
.mwdn-footer__legal a {
    transition: color .3s;
}
.mwdn-footer__legal a:hover,
.mwdn-footer__legal a:focus-visible {
    color: var(--mwdn-blue) !important;
}

/* ==========================================================================
   Careers list (page-careers.php + comeet-careers.php)
   ========================================================================== */
/* Legacy ACF "for_search" list above the Comeet list — hide it while it has no rows. */
body.mwdn-2026 #search_careers:not(:has(li)) {
    display: none;
}
body.mwdn-2026 .categories-section.carreer {
    padding: 48px 0 96px;
    background: var(--mwdn-white);
}
body.mwdn-2026 .categories-section.carreer > .container,
body.mwdn-2026 .single-carreer > .container {
    width: 100%;
    max-width: 1200px;
    padding: 0 25px;
}

/* Search bar — overrides the inline !important rules in comeet-careers.php */
body.mwdn-2026 .comeet-search-form {
    margin-bottom: 32px !important;
}
body.mwdn-2026 .comeet-search-form fieldset {
    gap: 12px !important;
}
body.mwdn-2026 .comeet-search-form input,
body.mwdn-2026 .comeet-search-form select {
    height: 52px !important;
    padding: 0 16px !important;
    border: 1px solid var(--mwdn-border) !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    color: var(--mwdn-text) !important;
    background-color: var(--mwdn-white) !important;
}
body.mwdn-2026 .comeet-search-form select {
    padding-right: 40px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%2368727D' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    -webkit-appearance: none;
    appearance: none;
}
body.mwdn-2026 .comeet-search-form input:focus,
body.mwdn-2026 .comeet-search-form select:focus {
    border-color: var(--mwdn-blue) !important;
}
body.mwdn-2026 .comeet-search-form button#search {
    height: 52px !important;
    line-height: 52px !important;
    padding: 0 32px !important;
    border: 0 !important;
    border-radius: 50px !important;
    background: var(--mwdn-blue) !important;
    color: var(--mwdn-white) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    letter-spacing: 0.02em;
}
body.mwdn-2026 .comeet-search-form button#search:hover {
    background: var(--mwdn-blue-dark) !important;
}

/* Vacancy cards */
body.mwdn-2026 .comeet-positions-list {
    margin: 0;
    padding: 0;
}
body.mwdn-2026 .comeet-list .comeet-positions-list > li {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
}
body.mwdn-2026 .comeet-positions-list a.comeet-position {
    display: block;
    padding: 24px 28px;
    border: 1px solid var(--mwdn-border);
    border-radius: 16px;
    background: var(--mwdn-surface);
    transition: border-color .2s, background-color .2s;
}
body.mwdn-2026 .comeet-positions-list a.comeet-position:hover {
    border-color: var(--mwdn-blue);
    background: var(--mwdn-tint);
}
body.mwdn-2026 .comeet-positions-list .comeet-position-name {
    margin: 0;
    padding: 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    letter-spacing: -0.01em;
    text-transform: none;
    color: var(--mwdn-text);
}
body.mwdn-2026 .comeet-positions-list a.comeet-position:hover .comeet-position-name {
    color: var(--mwdn-blue-dark);
}
body.mwdn-2026 .comeet-positions-list .comeet-position-meta {
    margin-top: 6px;
    padding: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: var(--mwdn-muted);
}
body.mwdn-2026 .comeet-positions-list .comeet-position-meta span {
    font-size: inherit;
    font-weight: inherit;
}
body.mwdn-2026 .comeet-positions-list .comeet-position-countries {
    color: var(--mwdn-blue-dark);
}
body.mwdn-2026 .comeet-list li.hot_vacancy {
    border: 0;
}
body.mwdn-2026 .comeet-list li.hot_vacancy a.comeet-position {
    border-color: var(--mwdn-blue);
    background: var(--mwdn-tint);
}
body.mwdn-2026 .hot_vacancy .comeet-position-name:after {
    position: static;
    float: none;
    display: inline-block;
    width: auto;
    height: auto;
    margin-left: 12px;
    padding: 2px 10px;
    border-radius: 50px;
    background: var(--mwdn-blue);
    color: var(--mwdn-white);
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    letter-spacing: 0.04em;
    vertical-align: middle;
}
body.mwdn-2026 .bonus_red_light,
body.mwdn-2026 .bonus_red {
    color: #D92D20;
    font-weight: 600;
}

/* ==========================================================================
   Vacancy page (page-careers-single.php + comeet-position-page-common.php)
   ========================================================================== */
body.mwdn-2026 .single-carreer {
    padding: 48px 0 96px;
    background: var(--mwdn-white);
}
body.mwdn-2026 .all-jobs-link a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: auto;
    padding: 8px 20px;
    border: 2px solid var(--mwdn-border);
    border-radius: 50px;
    background: var(--mwdn-white);
    color: var(--mwdn-blue-dark) !important; /* comeet-basic.css: color: white !important */
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    text-transform: none;
    letter-spacing: 0;
    box-shadow: none;
}
body.mwdn-2026 .all-jobs-link a::before {
    content: '\2190';
}
body.mwdn-2026 .all-jobs-link a:hover,
body.mwdn-2026 .all-jobs-link a:active {
    border-color: var(--mwdn-blue);
    background: var(--mwdn-tint);
    color: var(--mwdn-blue-dark) !important;
}
body.mwdn-2026 .single-carreer .comeet-position-name {
    margin: 0 0 12px;
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-transform: none;
    color: var(--mwdn-text);
}
body.mwdn-2026 .single-carreer .comeet-position-meta-single {
    font-size: 16px;
    font-weight: 500;
    color: var(--mwdn-blue-dark);
}
body.mwdn-2026 .single-carreer .comeet-user-text h4 {
    margin: 32px 0 12px;
    font-size: 20px;
    font-weight: 600;
    line-height: 28px;
    text-transform: none;
    color: var(--mwdn-text);
}
body.mwdn-2026 .single-carreer .comeet-user-text,
body.mwdn-2026 .single-carreer .comeet-user-text p,
body.mwdn-2026 .single-carreer .comeet-user-text li {
    font-size: 16px;
    line-height: 1.6;
    color: var(--mwdn-text);
}
body.mwdn-2026 .single-carreer .comeet-user-text a {
    color: var(--mwdn-blue);
}
body.mwdn-2026 .comeet-apply button.apply {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    min-width: 240px;
    min-height: 56px;
    padding: 12px 32px;
    border: 4px solid var(--mwdn-ring);
    border-radius: 50px;
    background: var(--mwdn-blue);
    color: var(--mwdn-white);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.02em;
    box-shadow: none;
    cursor: pointer;
}
body.mwdn-2026 .comeet-apply button.apply:hover {
    background: var(--mwdn-blue-dark);
}
body.mwdn-2026 .comeet-apply button.apply.friend {
    background: var(--mwdn-white);
    color: var(--mwdn-blue-dark);
}
body.mwdn-2026 .comeet-apply button.apply.friend:hover {
    background: var(--mwdn-tint);
}
body.mwdn-2026 #requter .item {
    padding: 24px;
    border-radius: 16px;
    background: var(--mwdn-surface);
}
body.mwdn-2026 #requter .contacts > div {
    background: var(--mwdn-white);
    border: 1px solid var(--mwdn-border);
    border-radius: 12px;
}
body.mwdn-2026 #requter .contacts a {
    border-bottom: 0 !important;
}
body.mwdn-2026 #requter .contacts a,
body.mwdn-2026 #requter .contacts span {
    color: var(--mwdn-text);
}
body.mwdn-2026 #requter .contacts a:hover span {
    color: var(--mwdn-blue);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199px) {
    .mwdn-nav__list { gap: 2px; }
    .mwdn-nav__item { padding: 4px 8px; font-size: 15px; }
    .mwdn-mega { grid-template-columns: 260px minmax(0, 1fr); gap: 32px; }
}

@media (max-width: 1023px) {
    :root { --mwdn-header-h: 64px; }

    .mwdn-header { padding: 0; }
    .mwdn-header__bar,
    .mwdn-header.is-stuck .mwdn-header__bar {
        height: var(--mwdn-header-h);
        margin: 0;
        max-width: none;
        padding: 0 24px;
        border-radius: 0;
        background: var(--mwdn-blue-dark);
        box-shadow: none;
    }
    .mwdn-nav,
    .mwdn-header__cta { display: none !important; }
    .mwdn-header__burger { display: inline-flex !important; }

    .mwdn-hero { padding: 40px 0 64px; }
    .mwdn-hero .mwdn-container { padding: 0 24px; }
    .mwdn-hero__title,
    body.mwdn-2026 .mwdn-hero__title { font-size: 32px; }

    .mwdn-footer__slogan { font-size: 40px; }
    .mwdn-footer__pills { justify-content: flex-start; }
    .mwdn-footer__columns { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
    .mwdn-footer__contacts { grid-template-columns: 1fr; }
    .mwdn-footer__clutch { max-width: 288px; }
}

@media (max-width: 782px) {
    body.admin-bar .mwdn-header { top: 46px; }
}

@media (max-width: 767px) {
    .mwdn-container { padding: 0 16px; }
    .mwdn-hero .mwdn-container { padding: 0 16px; }
    .mwdn-hero__title,
    body.mwdn-2026 .mwdn-hero__title { font-size: 28px; }

    .mwdn-form .mwdn-form__grid { grid-template-columns: 1fr; }
    .mwdn-footer__slogan { font-size: 32px; }
    .mwdn-footer__pills a { font-size: 14px; padding: 6px 12px; }
    .mwdn-footer__columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .mwdn-footer .mwdn-contacts { grid-template-columns: 1fr; gap: 16px; }
    .mwdn-footer .mwdn-socials { grid-row: auto; grid-column: auto; }

    .mwdn-modal__box { padding: 32px 16px 24px; }
    .mwdn-modal__title,
    body.mwdn-2026 .mwdn-modal__title { font-size: 26px; }

    body.mwdn-2026 .categories-section.carreer,
    body.mwdn-2026 .single-carreer { padding: 32px 0 64px; }
    body.mwdn-2026 .categories-section.carreer > .container,
    body.mwdn-2026 .single-carreer > .container { padding: 0 16px; }
    body.mwdn-2026 .comeet-positions-list a.comeet-position { padding: 20px; }
    body.mwdn-2026 .comeet-positions-list .comeet-position-name { font-size: 18px; line-height: 26px; }
    body.mwdn-2026 .single-carreer .comeet-position-name { font-size: 28px; }
    body.mwdn-2026 .comeet-apply button.apply { width: 100%; margin-bottom: 12px; }
}

/* Contact form honeypot (see wpcf7_spam filter in inc/mwdn-layout.php) */
.mwdn-form .mwdn-hp {
    position: absolute !important;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Vacancy description: keep breathing room after lists (comeet-basic.css zeroes it). */
body.mwdn-2026 .single-carreer .comeet-user-text ul,
body.mwdn-2026 .single-carreer .comeet-user-text ol {
    margin-bottom: 16px;
}

/* "All Jobs" floats left of the vacancy title: centre the 40px pill on the
   title's 48px line (legacy CSS adds padding-top: 6px to the title). */
body.mwdn-2026 .single-carreer .comeet-position-name {
    padding-top: 0;
    line-height: 48px;
}
body.mwdn-2026 .single-carreer .all-jobs-link {
    margin-top: 4px;
}
@media (max-width: 767px) {
    body.mwdn-2026 .single-carreer .all-jobs-link {
        float: none;
        margin: 0 0 16px;
    }
    body.mwdn-2026 .single-carreer .comeet-position-name {
        line-height: 1.2;
    }
}

/* ==========================================================================
   Vacancy page polish (round 2)
   ========================================================================== */

/* Apply / Refer a friend: two buttons side by side instead of far-apart halves. */
body.mwdn-2026 .comeet-apply > .row {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 16px;
}
body.mwdn-2026 .comeet-apply > .row > [class*="col-"] {
    width: auto;
    flex: 0 0 auto;
    padding: 0;
    text-align: left;
}
body.mwdn-2026 .comeet-apply button.apply {
    min-width: 260px;
    margin: 0;
}

/* Bold/italic runs inside vacancy text (e.g. "Nice to have"): the legacy reset
   paints every inline element #57657c at 17px — keep them in the text colour. */
body.mwdn-2026 .single-carreer .comeet-user-text :is(strong, b, em, i, u, span, small, sub, sup, label) {
    color: inherit;
    font-size: inherit;
    font-family: inherit;
}

/* Recruiter card: fill the card, wrap long names instead of overflowing. */
body.mwdn-2026 #requter .item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}
body.mwdn-2026 #requter .item > .clearfix {
    display: none;
}
body.mwdn-2026 #requter .photo {
    float: none;
    flex: 0 0 auto;
    width: auto;
    padding: 0;
}
body.mwdn-2026 #requter .photo img {
    display: block;
    width: 164px;
    height: 164px !important;
    object-fit: cover;
    border-radius: 12px;
}
body.mwdn-2026 #requter .contacts {
    float: none;
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
body.mwdn-2026 #requter .contacts > div {
    float: none;
    width: auto;
    max-width: none; /* comeet-basic.css: max-width: 352px */
    height: auto;
    min-height: 72px;
    margin: 0 !important;
    padding: 12px 20px;
    align-items: center;
    overflow-wrap: anywhere;
}
@media (max-width: 767px) {
    body.mwdn-2026 .comeet-apply > .row > [class*="col-"] { width: 100%; }
    body.mwdn-2026 .comeet-apply button.apply { width: 100%; min-width: 0; }
    body.mwdn-2026 #requter .item { flex-direction: column; gap: 16px; }
    body.mwdn-2026 #requter .contacts { width: 100%; grid-template-columns: 1fr; }
}
