/* ==========================================================
   RADIO PARTY MIX — TEAM / NIGHT PULSE
   ========================================================== */

.np-team-page {
    --team-pink: #ff248a;
    --team-pink-light: #ff74b8;
    --team-border: rgba(255, 36, 138, .24);
    --team-border-soft: rgba(255, 255, 255, .075);
    --team-text: #d5ced7;
    --team-muted: #918994;

    width: min(1200px, calc(100% - 32px));
    margin: 72px auto 40px;

    color: #fff;
    font-family: "Montserrat", Arial, sans-serif;
}

.np-team-page *,
.np-team-page *::before,
.np-team-page *::after {
    box-sizing: border-box;
}

.np-team-page h1,
.np-team-page h2,
.np-team-page h3,
.np-team-page p {
    margin-top: 0;
}


/* HERO */

.np-team-hero {
    position: relative;
    isolation: isolate;

    display: block !important;
    align-items: initial !important;
    justify-content: initial !important;
    flex-direction: initial !important;

    height: auto !important;
    min-height: 190px !important;
    max-height: none !important;

    margin: 0 0 18px;
    padding: 36px 38px;

    overflow: hidden;

    border: 1px solid var(--team-border);
    border-radius: 22px;

    background:
        radial-gradient(circle at 8% 0%, rgba(255,36,138,.17), transparent 34%),
        radial-gradient(circle at 96% 100%, rgba(105,0,63,.14), transparent 35%),
        linear-gradient(145deg, rgba(22,15,23,.99), rgba(8,7,11,.99));

    box-shadow:
        0 24px 60px rgba(0,0,0,.23),
        inset 0 1px 0 rgba(255,255,255,.025);
}

.np-team-hero::after {
    content: "";

    position: absolute;
    z-index: -1;

    top: -125px;
    right: -70px;

    width: 315px;
    height: 315px;

    border: 1px solid rgba(255,36,138,.13);
    border-radius: 50%;

    box-shadow:
        0 0 0 36px rgba(255,36,138,.024),
        0 0 0 72px rgba(255,36,138,.014);
}

.np-team-kicker {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;

    margin-bottom: 11px;

    color: var(--team-pink-light);

    font-size: 10px;
    font-weight: 850;
    letter-spacing: .17em;
}

.np-team-kicker i {
    color: var(--team-pink);
}

.np-team-hero h1 {
    display: block !important;
    width: 100% !important;
    margin: 0 0 11px !important;

    color: #fff !important;

    font-family: "Montserrat", Arial, sans-serif !important;
    font-size: clamp(34px, 4.6vw, 52px) !important;
    font-style: normal !important;
    font-weight: 850 !important;

    line-height: 1.04 !important;
    letter-spacing: -.04em !important;

    text-align: left !important;
}

.np-team-hero p {
    display: block !important;
    width: 100% !important;
    max-width: 680px;

    margin: 0 !important;

    color: var(--team-text) !important;

    font-size: 13px;
    line-height: 1.7;
}


/* TEAM GRID */

.np-team-members {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;

    margin-bottom: 18px;
}

.np-team-card {
    min-width: 0;
    overflow: hidden;

    border: 1px solid var(--team-border);
    border-radius: 18px;

    background:
        linear-gradient(145deg, rgba(18,13,19,.99), rgba(8,7,10,.99));

    box-shadow:
        0 18px 42px rgba(0,0,0,.18),
        inset 0 1px 0 rgba(255,255,255,.02);

    transition:
        transform .18s ease,
        border-color .18s ease;
}

.np-team-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255,36,138,.46);
}

.np-team-photo {
    position: relative;

    width: 100%;
    aspect-ratio: 1 / 1.05;

    overflow: hidden;

    background: #09080b;
}

.np-team-photo::after {
    content: "";

    position: absolute;
    inset: auto 0 0;

    height: 38%;

    background:
        linear-gradient(
            to top,
            rgba(8,7,10,.88),
            transparent
        );

    pointer-events: none;
}

.np-team-photo img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    max-width: none !important;

    margin: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    object-fit: cover !important;
    object-position: center top !important;
}

.np-team-info {
    min-height: 112px;

    padding: 16px 17px 18px;
}

.np-team-info span {
    display: block;

    margin-bottom: 5px;

    color: var(--team-pink-light);

    font-size: 8px;
    font-weight: 850;
    letter-spacing: .15em;
}

.np-team-info h2 {
    margin: 0 0 5px !important;

    color: #fff !important;

    font-family: "Montserrat", Arial, sans-serif !important;
    font-size: 17px !important;
    font-style: normal !important;
    font-weight: 820 !important;

    line-height: 1.25 !important;
}

.np-team-info p {
    margin: 0 !important;

    color: var(--team-muted) !important;

    font-size: 11px;
    font-weight: 650;
}


/* SHARED PANEL */

.np-team-careers,
.np-team-application,
.np-team-weather {
    margin-bottom: 18px;
    padding: 30px;

    border: 1px solid var(--team-border);
    border-radius: 21px;

    background:
        radial-gradient(circle at 100% 0%, rgba(255,36,138,.065), transparent 35%),
        linear-gradient(145deg, rgba(18,13,19,.99), rgba(8,7,10,.99));

    box-shadow:
        0 20px 50px rgba(0,0,0,.17),
        inset 0 1px 0 rgba(255,255,255,.02);
}

.np-team-section-head {
    margin-bottom: 22px;
}

.np-team-section-head > span {
    display: block;

    margin-bottom: 5px;

    color: var(--team-pink-light);

    font-size: 9px;
    font-weight: 850;
    letter-spacing: .17em;
}

.np-team-section-head h2 {
    margin: 0 !important;

    color: #fff !important;

    font-family: "Montserrat", Arial, sans-serif !important;
    font-size: clamp(24px, 3vw, 32px) !important;
    font-style: normal !important;
    font-weight: 820 !important;

    line-height: 1.15 !important;
    letter-spacing: -.025em !important;

    text-align: left !important;
}

.np-team-section-head p {
    margin: 9px 0 0 !important;

    color: var(--team-muted) !important;

    font-size: 12px;
}


/* CAREERS */

.np-team-careers-copy {
    padding: 24px;

    border: 1px solid var(--team-border-soft);
    border-radius: 15px;

    background: rgba(255,255,255,.018);
}

.np-team-careers-copy p {
    margin: 0 0 17px !important;

    color: var(--team-text) !important;

    font-size: 12px;
    line-height: 1.8;
}

.np-team-careers-copy h3 {
    margin: 23px 0 9px !important;

    color: var(--team-pink-light) !important;

    font-family: "Montserrat", Arial, sans-serif !important;
    font-size: 13px !important;
    font-style: normal !important;
    font-weight: 820 !important;
}

.np-team-careers-copy ul {
    margin: 8px 0 19px;
    padding-left: 22px;

    color: var(--team-text);
}

.np-team-careers-copy li {
    margin: 8px 0;

    color: var(--team-text);

    font-size: 12px;
    line-height: 1.55;
}

.np-team-careers-copy li::marker {
    color: var(--team-pink);
}

.np-team-careers-note {
    display: flex;
    align-items: center;
    gap: 11px;

    margin-top: 22px;
    padding: 16px 18px;

    border: 1px solid rgba(255,36,138,.28);
    border-radius: 13px;

    background: rgba(255,36,138,.055);

    color: #fff;

    font-size: 12px;
}

.np-team-careers-note i {
    color: var(--team-pink-light);
}


/* FORM */

.np-team-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.np-team-field {
    min-width: 0;
}

.np-team-field label {
    display: block;

    margin: 0 0 7px !important;

    color: #eee7ef !important;

    font-family: "Montserrat", Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 720 !important;
}

.np-team-field input,
.np-team-field textarea {
    display: block;

    width: 100% !important;

    margin: 0 !important;
    padding: 12px 13px !important;

    outline: none !important;

    border: 1px solid rgba(255,255,255,.09) !important;
    border-radius: 10px !important;

    background: #0b090d !important;
    color: #fff !important;

    font-family: "Montserrat", Arial, sans-serif !important;
    font-size: 12px !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.018) !important;

    transition:
        border-color .16s ease,
        box-shadow .16s ease;
}

.np-team-field input {
    height: 46px !important;
}

.np-team-field textarea {
    min-height: 145px !important;
    resize: vertical;
}

.np-team-field input:focus,
.np-team-field textarea:focus {
    border-color: rgba(255,36,138,.56) !important;

    box-shadow:
        0 0 0 3px rgba(255,36,138,.075) !important;
}

.np-team-message {
    margin-top: 17px;
}

.np-team-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    min-width: 205px;
    min-height: 46px;

    margin-top: 14px;
    padding: 11px 20px;

    border: 1px solid rgba(255,93,170,.68) !important;
    border-radius: 10px !important;

    background:
        linear-gradient(135deg, #ff248a, #cf086a) !important;

    color: #fff !important;

    font-family: "Montserrat", Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 820 !important;

    cursor: pointer;

    box-shadow:
        0 8px 26px rgba(255,36,138,.18);

    transition:
        transform .16s ease,
        box-shadow .16s ease;
}

.np-team-submit:hover {
    transform: translateY(-1px);

    box-shadow:
        0 11px 30px rgba(255,36,138,.25);
}

#message-container {
    display: none;

    margin-top: 15px;
    padding: 12px 14px;

    border-radius: 10px;

    font-size: 11px;
}

#message-container.success {
    display: block;

    border: 1px solid rgba(68,210,139,.28);

    background: rgba(68,210,139,.07);
    color: #d9f8e8;
}

#message-container.error {
    display: block;

    border: 1px solid rgba(255,72,91,.28);

    background: rgba(255,72,91,.07);
    color: #ffd8dc;
}


/* WEATHER */

.np-team-weather-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.np-team-weather-widget {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 101px;
    padding: 14px;

    overflow: hidden;

    border: 1px solid var(--team-border-soft);
    border-radius: 13px;

    background: rgba(255,255,255,.018);
}

.np-team-weather-widget iframe {
    display: block;

    width: 175px !important;
    height: 71px !important;
    max-width: 100% !important;

    border: 0 !important;
}


/* KILL OLD GLOBAL TITLE DECORATION INSIDE PAGE */

.np-team-page .title,
.np-team-page h1,
.np-team-page h2,
.np-team-page h3 {
    font-style: normal !important;
}

.np-team-page .title::before,
.np-team-page .title::after,
.np-team-page h1::before,
.np-team-page h1::after,
.np-team-page h2::before,
.np-team-page h2::after,
.np-team-page h3::before,
.np-team-page h3::after {
    box-shadow: none;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .np-team-members {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .np-team-weather-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 620px) {

    .np-team-page {
        width: calc(100% - 20px);
        margin-top: 38px;
    }

    .np-team-hero {
        min-height: 175px !important;

        padding: 28px 20px;

        border-radius: 18px;
    }

    .np-team-members {
        grid-template-columns: 1fr;
    }

    .np-team-careers,
    .np-team-application,
    .np-team-weather {
        padding: 20px 16px;

        border-radius: 17px;
    }

    .np-team-careers-copy {
        padding: 18px 16px;
    }

    .np-team-form-grid {
        grid-template-columns: 1fr;
    }

    .np-team-submit {
        width: 100%;
    }

    .np-team-weather-grid {
        grid-template-columns: 1fr;
    }
}


@media (prefers-reduced-motion: reduce) {

    .np-team-page *,
    .np-team-page *::before,
    .np-team-page *::after {
        transition: none !important;
    }
}
