/* ==========================================================================
   Kariera — Perfectus School
   Custom page styles (loaded only on this page)
   ========================================================================== */

:root {
    --pf-brand-red: #c1282a;
    --pf-text: #2D3748;
    --pf-text-light: #637085;
    --pf-radius: 12px;
    --pf-radius-sm: 8px;
    --pf-kariera-warm: #FFF9F5;
    --pf-kariera-light: #FAF7F5;
}

/* Remove theme content padding and page title on this page */
body:has(.pf-kariera) #content.site-content {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body:has(.pf-kariera) .page-title-layout {
    display: none !important;
}

/* ---- Reset / Base ---- */
.pf-kariera {
    color: var(--pf-text);
    line-height: 1.7;
    overflow-x: hidden;
    text-align: left;
}

.pf-kariera *,
.pf-kariera *::before,
.pf-kariera *::after {
    box-sizing: border-box;
}

.pf-kariera p {
    margin: 0 0 1em;
    font-size: 16px;
    text-align: inherit;
}

/* ---- Buttons ---- */
.pf-kariera-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.pf-kariera-btn--primary {
    background: var(--pf-brand-red);
    color: #fff;
    border-color: var(--pf-brand-red);
}
.pf-kariera-btn--primary:hover {
    background: #a82022;
    border-color: #a82022;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(193, 40, 42, 0.3);
}

.pf-kariera-btn--white {
    background: #fff;
    color: var(--pf-brand-red);
    border-color: #fff;
}
.pf-kariera-btn--white:hover {
    background: rgba(255,255,255,0.9);
    color: var(--pf-brand-red);
    transform: translateY(-2px);
}

/* ---- Section Title ---- */
.pf-kariera-section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 48px;
    color: var(--pf-text);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.pf-kariera-hero {
    background: linear-gradient(135deg, var(--pf-kariera-warm) 0%, #FFF5F0 50%, var(--pf-kariera-warm) 100%);
    padding: 80px 0;
}

.pf-kariera-hero__content {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.pf-kariera-hero__title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--pf-text);
}

.pf-kariera-hero__subtitle {
    font-size: 20px;
    color: var(--pf-text);
    margin-bottom: 16px;
    line-height: 1.6;
    font-weight: 600;
}

.pf-kariera-hero__text {
    font-size: 17px;
    color: var(--pf-text-light);
    line-height: 1.7;
    margin: 0;
}

/* ==========================================================================
   CULTURE
   ========================================================================== */
.pf-kariera-culture {
    padding: 64px 0;
    background: #fff;
}

.pf-kariera-culture__quote {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 48px;
    border: none !important;
    border-left: none !important;
    background: var(--pf-kariera-light);
    border-radius: var(--pf-radius);
    font-size: 20px;
    line-height: 1.8;
    color: var(--pf-text);
    font-style: italic;
    text-align: center;
}

/* ==========================================================================
   REQUIREMENTS
   ========================================================================== */
.pf-kariera-requirements {
    padding: 80px 0;
    background: var(--pf-kariera-light);
}

.pf-kariera-req__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.pf-kariera-req__card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    padding: 24px;
    border-radius: var(--pf-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pf-kariera-req__card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.pf-kariera-req__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pf-kariera-warm);
    border-radius: var(--pf-radius-sm);
    color: var(--pf-brand-red);
}

.pf-kariera-req__text {
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
    padding-top: 2px;
}

p.pf-kariera-req__reassurance {
    text-align: center;
    max-width: 800px;
    margin: 48px auto 0;
    padding-top: 40px;
    font-size: 16px;
    color: var(--pf-text-light);
    font-style: italic;
    line-height: 1.7;
}

/* ==========================================================================
   BENEFITS
   ========================================================================== */
.pf-kariera-benefits {
    padding: 80px 0;
    background: #fff;
}

.pf-kariera-benefits__list {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pf-kariera-benefit {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 16px;
    line-height: 1.5;
}

.pf-kariera-benefit__icon {
    flex-shrink: 0;
    color: var(--pf-brand-red);
}

/* ==========================================================================
   CTA
   ========================================================================== */
.pf-kariera-cta {
    background: linear-gradient(135deg, var(--pf-brand-red), #a82022);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 50px;
}

.pf-kariera-cta__title {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 16px;
    color: #fff;
}

.pf-kariera-cta__text {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 36px;
    text-align: center !important;
}

/* ==========================================================================
   FIX: Elementor shape divider (not loaded on custom page template)
   ========================================================================== */
.elementor-shape {
    overflow: hidden;
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    line-height: 0;
    direction: ltr;
}

.elementor-shape-top {
    top: -1px;
}

.elementor-shape-top svg {
    display: block;
    width: calc(100% + 1.3px);
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.elementor-shape-fill {
    fill: #fff;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* Tablet */
@media (max-width: 991px) {
    .pf-kariera-hero__title {
        font-size: 34px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .pf-kariera-hero {
        padding: 48px 0 40px;
    }

    .pf-kariera-hero__title {
        font-size: 28px;
    }

    .pf-kariera-hero__subtitle {
        font-size: 17px;
    }

    .pf-kariera-hero__text {
        font-size: 15px;
    }

    .pf-kariera-culture {
        padding: 40px 0;
    }

    .pf-kariera-culture__quote {
        font-size: 16px;
        padding: 20px 24px;
    }

    .pf-kariera-requirements {
        padding: 48px 0;
    }

    .pf-kariera-req__grid {
        grid-template-columns: 1fr;
    }

    .pf-kariera-section-title {
        font-size: 22px;
        margin-bottom: 32px;
    }

    .pf-kariera-benefits {
        padding: 48px 0;
    }

    .pf-kariera-cta {
        padding: 48px 0;
    }

    .pf-kariera-cta__title {
        font-size: 24px;
    }

    .pf-kariera-cta__text {
        font-size: 16px;
    }

    .pf-kariera-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .pf-kariera-hero__title {
        font-size: 24px;
    }
}
