/*
Theme Name: Jobster Child
Theme URI: https://marymatch.ch
Description: Child theme for Jobster
Author: Marymatch
Template: jobster
Version: 1.0
*/


/* =========================================================
   GLOBAL OVERRIDES
========================================================= */

/* Hero button size */
.pxp-hero-form-round > form > button {
    min-width: 110px !important;
    padding: 0 28px !important;
    font-size: 18px !important;
    border-radius: 40px !important;
}


/* =========================================================
   HERO TYPOGRAPHY (GLOBAL)
========================================================= */

/* Desktop */
.pxp-hero h1 {
    font-size: 52px !important;
}

.pxp-hero-subtitle {
    font-size: 19px !important;
}

/* Tablet */
@media (max-width: 1199px) {
    .pxp-hero h1 {
        font-size: 44px !important;
    }

    .pxp-hero-subtitle {
        font-size: 18px !important;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .pxp-hero h1 {
        font-size: 36px !important;
        line-height: 1.2 !important;
    }

    .pxp-hero-subtitle {
        font-size: 17px !important;
    }
}


/* =========================================================
   HERO MOBILE FIXES (JOBSTER)
========================================================= */

@media (max-width: 1199px) {

    /* Remove vh-100 restriction */
    .pxp-hero.vh-100 {
        height: auto !important;
        min-height: auto !important;
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    /* Align content top */
    .pxp-hero-caption .row,
    .pxp-hero .row {
        align-items: flex-start !important;
    }

    .pxp-hero-caption {
        padding-top: 0 !important;
    }

    /* Force side image visible on mobile */
    .pxp-header-side-image,
    .pxp-header-side-image img,
    .pxp-hero .col-xl-5 {
        display: block !important;
    }
}


/* =========================================================
   TALENTPOOL – CARD FIXES
========================================================= */

.pxp-candidates-card-1 a,
.pxp-candidates-card-1 a:visited,
.pxp-candidates-card-1 a:hover {
    color: #111 !important;
    text-decoration: none !important;
}

.pxp-candidates-card-1-name {
    font-weight: 600;
    color: var(--pxpMainColor);
}

.pxp-candidates-card-1 .pxp-text-light {
    color: #333 !important;
}


/* Locked card blur */

.locked-card {
    position: relative;
    overflow: hidden;
}

.locked-card .mm-card-content {
    filter: blur(6px);
    pointer-events: none;
}

.locked-card .locked-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    color: var(--pxpMainColorDark);
    z-index: 10;
}

/* Hover effect */

.pxp-candidates-card-1 {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pxp-candidates-card-1:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}


/* =========================================================
   SINGLE CANDIDATE PAGE
========================================================= */

.pxp-single-candidate-beruf {
    font-size: 28px;
    font-weight: 600;
    color: var(--pxpMainColor);
}


/* =========================================================
   SINGLE COMPANY PAGE FIXES
========================================================= */

/* Prevent hero under header */
.single-company .pxp-single-company-hero-content {
    padding-top: 120px !important;
}

/* Force dark header */
.single-company .pxp-header,
.single-company .pxp-header * {
    color: #111 !important;
}

.single-company .pxp-header .pxp-nav a,
.single-company .pxp-header .pxp-user-nav-name {
    color: #111 !important;
}

.single-company .pxp-header .pxp-user-nav-avatar {
    filter: none !important;
}

/* Force black company title */
.single-company .pxp-single-company-hero-title h1 {
    color: #111 !important;
}

.single-company .pxp-single-company-hero-location,
.single-company .pxp-single-company-hero-location span {
    color: #333 !important;
}


/* =========================================================
   HOMEPAGE – MARYMATCH SECTION
========================================================= */

.marymatch-target {
    margin: 80px 0;
    font-family: 'Inter', sans-serif;
}

.marymatch-target h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #1F2A2A;
    margin-bottom: 40px;
}

.marymatch-target-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.marymatch-target-box {
    flex: 1;
    min-width: 280px;
    padding: 30px;
    border-radius: 20px;
    background: rgba(255,255,255,0.45);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.marymatch-target-box h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 22px;
    margin-bottom: 20px;
    color: #007E88;
}

.marymatch-target-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 17px;
    line-height: 1.8;
}

.marymatch-target-box li {
    margin-bottom: 8px;
}

.marymatch-target-cta {
    margin-top: 40px;
    text-align: center;
}

@media (max-width: 768px) {
    .marymatch-target-grid {
        flex-direction: column;
    }
}


/* =========================================================
   TALENTPOOL PAGE
========================================================= */

.mm-talentpool {
    padding-bottom: 100px;
}

.mm-hero {
    background: var(--pxpMainColorLight);
    padding: 80px 0;
}

.mm-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 35px;
}

.mm-filter {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.mm-field {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 14px;
    padding: 12px 16px;
    flex: 1;
    min-width: 220px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.mm-field select,
.mm-field input {
    border: none;
    outline: none;
    width: 100%;
    background: transparent;
}

.mm-search-btn {
    background: var(--pxpMainColorDark);
    color: #fff;
    border: none;
    border-radius: 14px;
    padding: 0 28px;
    font-size: 18px;
    min-height: 50px;
    transition: 0.3s ease;
}

.mm-search-btn:hover {
    background: var(--pxpMainColor);
}

.mm-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pxpMainColorDark);
    color: #fff;
    font-weight: 700;
    font-size: 20px;
}

@media (max-width: 991px) {

    .mm-filter {
        flex-direction: column;
    }

    .mm-field {
        width: 100%;
    }

    .mm-search-btn {
        width: 100%;
    }

    .mm-title {
        font-size: 32px;
    }
}

/* =========================================
   MARYMATCH CONTACT CARD
========================================= */

.mm-contact-card {
    font-family: 'Inter', sans-serif;
    max-width: 1100px;      /* JOŠ ŠIRE */
    margin: 100px auto;
    padding: 70px 90px;     /* više zraka */
    border-radius: 24px;
    background: #ffffff;

    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 40px 100px rgba(0,0,0,0.07);

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Suptilan premium hover */
.mm-contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 60px 140px rgba(0,0,0,0.10);
}

/* Title */

.mm-contact-card h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 50px;
    color: var(--pxpMainColorDark);
}

/* Block */

.mm-contact-block {
    margin-bottom: 25px;
}

.mm-contact-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #888;
    margin-bottom: 8px;
}

.mm-contact-value {
    font-size: 22px;
    font-weight: 600;
    color: #111;
}

.mm-contact-sub {
    font-size: 16px;
    color: #555;
    margin-top: 6px;
}

/* Divider */

.mm-contact-divider {
    height: 1px;
    background: rgba(0,0,0,0.08);
    margin: 45px 0;
}

/* Rows */

.mm-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    margin-bottom: 35px;
}

.mm-contact-icon {
    font-size: 22px;
    margin-top: 4px;
}

.mm-contact-row a {
    color: var(--pxpMainColorDark);
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s ease;
}

.mm-contact-row a:hover {
    color: var(--pxpMainColor);
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

    .mm-contact-card {
        padding: 40px 28px;
        margin: 60px 20px;
        max-width: 100%;
    }

    .mm-contact-card h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .mm-contact-value {
        font-size: 18px;
    }

}

.mm-reset-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f6f8f9;
    font-family: 'Inter', sans-serif;
}

.mm-reset-card {
    background: #fff;
    padding: 60px 50px;
    border-radius: 28px;
    width: 480px;
    max-width: 92%;
    box-shadow: 0 30px 70px rgba(0,0,0,0.08);
    text-align: center;
}

.mm-reset-logo {
    width: 150px;
    margin-bottom: 30px;
}

.mm-reset-card h1 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #1F2A2A;
}

.mm-reset-sub {
    font-size: 15px;
    color: #555;
    margin-bottom: 30px;
}

.mm-reset-card input {
    width: 100%;
    padding: 15px 18px;
    border-radius: 14px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    font-size: 16px;
}

.mm-reset-card button {
    width: 100%;
    padding: 15px;
    border-radius: 16px;
    background: #007E88;
    color: white;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.mm-reset-card button:hover {
    background: #005f66;
}

.mm-success {
    background: #e6f7f8;
    padding: 14px;
    border-radius: 12px;
    color: #007E88;
    margin-bottom: 20px;
}

.mm-error {
    background: #ffeaea;
    padding: 14px;
    border-radius: 12px;
    color: #c62828;
    margin-bottom: 20px;
}