/* Theme Name: Linke Kulicki
Author: Bartek Konopka
Version: 1.0
*/

.image-section {
    padding-top: 150px;
}

.banners-top__item-image::before {
    background-color: rgba(33, 44, 40, .0) !important;
}

.offer-section__section {
    background-image: url(/wp-content/uploads/2025/01/2.jpg) !important;
    background-position: top center !important;
}

.stanowisko {
    color: #12348b;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}

.team-section__item-title.subhead-class {
    line-height: 1em
}

/* ============================================================
   AFTER LEGAL - CUSTOM JOB OFFER STYLES
   Prefix: al-job-
   ============================================================ */

:root {
    --al-brand: #12348b;
    --al-brand-dark: #0e2a70;
    --al-bg-light: #f6f7f9;
    --al-icon-bg: #eef2f7;
    --al-text-dark: #1a1a1a;
    --al-text-grey: #6c757d;
    --al-radius: 8px;
}

/* --- LAYOUT --- */
.al-job-wrapper {
    background-color: var(--al-bg-light);
    padding-bottom: 60px;
    padding-top: 40px;
}

.al-job-card {
    background: #fff;
    border-radius: var(--al-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 40px;
    position: relative;
    margin-bottom: 30px;
}

.al-job-content-body {
    padding: 50px;
}

/* --- NAGŁÓWEK OFERTY --- */

.al-job-badge {
    display: inline-block;
    background-color: var(--al-brand) !important;
    color: #ffffff !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 4px;
    margin-bottom: 15px;
    letter-spacing: 1px;
    line-height: 1;
}

.al-job-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 28px;
    font-weight: 900;
    color: var(--al-brand) !important;
    margin-top: 0;
    margin-bottom: 8px;
    line-height: 1.2;
}

.al-job-company {
    color: var(--al-text-grey);
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    display: flex;
    align-items: center;
}

.al-job-company i {
    color: var(--al-text-grey) !important;
    margin-right: 8px;
    font-weight: 900 !important;
}

.al-job-divider {
    margin: 30px 0;
    border-top: 1px solid #eee;
}

/* --- GRID META DANYCH --- */

.al-job-meta-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.al-job-meta-item {
    width: 50%;
    padding: 0 15px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    cursor: default;
}

.al-job-icon-box {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: var(--al-icon-bg);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.al-job-icon-box i,
.al-job-icon-box .fas,
.al-job-icon-box .fa {
    color: var(--al-brand) !important;
    line-height: 1;
    transition: color 0.3s ease;
}

.al-job-meta-item:hover .al-job-icon-box {
    background-color: var(--al-brand) !important;
}

.al-job-meta-item:hover .al-job-icon-box i,
.al-job-meta-item:hover .al-job-icon-box .fas {
    color: #ffffff !important;
}

.al-job-meta-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.2 !important;
}

.al-job-label {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    color: #999;
    font-weight: 700;
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
    letter-spacing: 0.5px;
}

.al-job-value {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--al-brand) !important;
    margin: 4px 0 0 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
}

/* --- TREŚĆ --- */

.al-job-section {
    margin-bottom: 40px;
}

.al-job-section-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--al-brand) !important;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 4px solid var(--al-brand);
    line-height: 1.4;
}

.al-job-text p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin-bottom: 15px;
    color: #555;
    line-height: 1.7;
}

.al-job-list ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}

.al-job-list ul li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    color: #4a4a4a;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

.al-job-list ul li::before {
    content: "\f105";
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    position: absolute;
    left: 0;
    top: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(18, 52, 139, 0.1);
    color: var(--al-brand);
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.al-job-list--green ul li::before {
    content: "\f00c";
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

/* --- SIDEBAR --- */

.al-job-sidebar-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: var(--al-brand) !important;
    margin-bottom: 10px;
    text-align: center;
}

.al-job-sidebar-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    color: var(--al-brand);
    margin-bottom: 15px;
}

.al-job-sidebar-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    color: #777;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.5;
}

.al-job-card--center {
    text-align: center;
}

.al-job-btn {
    display: block;
    width: 100%;
    background-color: var(--al-brand) !important;
    color: #ffffff !important;
    text-align: center;
    padding: 14px 20px;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid var(--al-brand);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.al-job-btn:hover {
    background-color: var(--al-brand-dark) !important;
    border-color: var(--al-brand-dark) !important;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(18, 52, 139, 0.2);
}

.al-job-btn i {
    margin-left: 8px;
}

.al-job-disclaimer {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 10px;
    color: #aaa;
    margin-top: 15px;
    margin-bottom: 0;
    line-height: 1.4;
    text-align: center;
}

/* Kontakt */
.al-job-contact-row {
    display: flex;
    align-items: center;
}

.al-job-contact-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #f0f2f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.al-job-contact-icon i {
    color: #888 !important;
    font-size: 16px;
}

.al-job-contact-link {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    color: var(--al-brand) !important;
    font-size: 14px;
    line-height: 1.2;
}

.al-job-contact-info .small {
    font-size: 11px;
    color: #888;
}

.al-job-back-link {
    color: var(--al-brand) !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    margin-top: 10px;
    transition: all 0.3s;
}

.al-job-back-link i {
    margin-right: 5px;
}

.al-job-back-link:hover {
    color: var(--al-brand-dark) !important;
    text-decoration: none;
}

/* Sekcja "O nas" linki */
.al-job-links {
    list-style: none !important;
    padding-left: 0 !important;
    margin-top: 15px !important;
}

.al-job-links li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.al-job-links li a {
    color: var(--al-brand) !important;
    font-weight: 700;
    text-decoration: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    transition: 0.3s;
}

.al-job-links li a:hover {
    color: var(--al-brand-dark) !important;
    text-decoration: underline;
}

.al-job-links li i {
    width: 24px;
    color: var(--al-brand) !important;
    margin-right: 8px;
    text-align: center;
    font-size: 16px;
}

.al-job-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 16px;
    color: var(--al-brand) !important;
    margin-top: 30px;
    margin-bottom: 15px;
    line-height: 1.3;
}

@media (max-width: 768px) {

    .al-job-card,
    .al-job-content-body {
        padding: 25px;
    }

    .al-job-meta-item {
        width: 100%;
        margin-bottom: 20px;
    }

    .al-job-title {
        font-size: 22px;
    }

    .al-job-wrapper {
        padding-top: 20px;
    }
}

/* Kariera List */
.al-career-list-section {
    background-color: #fff;
    padding: 60px 0;
}

.al-career-heading {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 900;
    color: var(--al-brand) !important;
    font-size: 32px;
    margin-bottom: 50px;
    text-align: center;
}

.al-career-item {
    position: relative;
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 30px 20px;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.al-career-item:hover {
    background-color: #f6f9fc;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-bottom-color: transparent;
    transform: translateY(-2px);
    z-index: 2;
}

.al-career-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: pointer;
}

.al-career-job-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 6px 0;
    line-height: 1.2;
    transition: color 0.3s;
}

.al-career-item:hover .al-career-job-title {
    color: var(--al-brand);
}

.al-career-company-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    color: var(--al-brand) !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.al-career-arrow-box {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f0f2f5;
    transition: all 0.3s ease;
}

.al-career-arrow-box i {
    color: #999;
    font-size: 16px;
    transition: all 0.3s ease;
}

.al-career-item:hover .al-career-arrow-box {
    background-color: var(--al-brand);
    transform: translateX(5px);
}

.al-career-item:hover .al-career-arrow-box i {
    color: #fff;
}

@media (max-width: 767px) {
    .al-career-item {
        padding: 20px 15px;
    }

    .al-career-job-title {
        font-size: 17px;
    }

    .al-career-arrow-box {
        width: 32px;
        height: 32px;
    }

    .al-career-arrow-box i {
        font-size: 14px;
    }
}

.al-career-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0 6px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #eee;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
    transition: 0.3s;
}

.al-career-pagination .page-numbers.current,
.al-career-pagination .page-numbers:hover {
    background: var(--al-brand);
    color: #fff;
    border-color: var(--al-brand);
}

/* ==========================================================================
   STRATEGIC OFFER GRID (ULTIMATE VERSION - 8 BOXES)
   Theme: Enterprise Blue / High-End Legal Tech
   Author: Top 1% WP Developer
   ========================================================================== */

/* --- 1. SEKCJA GŁÓWNA (CONTAINER) --- */
.offer-cards-section {
    background-color: #ffffff;
    padding-top: 80px;
    padding-bottom: 90px;
    position: relative;
    z-index: 1;
}

/* Nagłówki sekcji */
.offer-cards-headline .head-class {
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 15px;
}

.offer-cards-headline .subhead-class {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #6c757d;
}

/* --- 2. SIATKA (GRID SYSTEM) - POWERHOUSE LOGIC --- */
.offer-cards-grid {
    display: grid;
    gap: 25px; /* Optymalny odstęp między kartami */
    
    /* LOGIKA RESPONSYWNA:
       Startujemy od 2 kolumn jako bezpieczny standard dla tabletów/laptopów.
       Media Queries (poniżej) obsłużą Mobile (1 kolumna) i Large Desktop (4 kolumny).
    */
    grid-template-columns: repeat(2, 1fr);
}

/* --- 3. KARTA OFERTY (BLUE CARD) --- */
.offer-card {
    background-color: #12348b; /* Twój Corporate Blue */
    border-radius: 16px;       /* Nowoczesne, ale profesjonalne zaokrąglenie */
    padding: 30px 25px;        /* Zoptymalizowany padding pod 6 elementów */
    position: relative;
    overflow: hidden;          /* Ukrywa wychodzące tło SVG */
    display: flex;
    flex-direction: column;
    height: 100%;              /* Wymusza równą wysokość kart w rzędzie */
    color: #ffffff;
    box-shadow: 0 4px 6px rgba(18, 52, 139, 0.05);
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), 
                box-shadow 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(255, 255, 255, 0.05); /* Subtelny obrys */
}

/* Efekt Hover (Uniesienie) */
.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(18, 52, 139, 0.25);
    z-index: 2;
}

/* Tło dekoracyjne (Fala SVG) */
.offer-card-bg-icon {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 250px;
    height: 150px;
    opacity: 0.08; /* Bardzo subtelne */
    pointer-events: none;
    transform: rotate(-5deg);
    transition: transform 0.5s ease;
}

.offer-card:hover .offer-card-bg-icon {
    transform: rotate(0deg) scale(1.05);
}

/* --- 4. TREŚĆ KARTY --- */
.offer-card-header {
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.offer-card-title {
    font-family: 'Plus Jakarta Sans', sans-serif; /* Lub Twój font nagłówkowy */
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
    color: #ffffff !important;
}

.offer-card-desc {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-weight: 400;
}

/* --- 5. LISTA USŁUG (6 ELEMENTÓW) --- */
.offer-card-list {
    margin-top: auto; /* Kluczowe: dopycha listę do dołu karty */
    display: flex;
    flex-direction: column;
    gap: 8px; /* Mniejszy odstęp, żeby zmieścić 6 elementów */
    position: relative;
    z-index: 2;
}

.offer-card-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px; /* Smuklejsze przyciski */
    background-color: rgba(255, 255, 255, 0.03); /* Bardzo lekkie tło */
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 13px; /* Zmniejszone dla czytelności długich nazw */
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

/* Interakcja z linkiem */
.offer-card-link:hover {
    background-color: #ffffff;
    border-color: #ffffff;
    color: #12348b !important; /* Tekst zmienia się na niebieski */
    padding-left: 16px;        /* Lekkie przesunięcie w prawo */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.link-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Kropki, jeśli tekst jest za długi */
    max-width: 90%;
}

.link-arrow {
    font-size: 10px;
    opacity: 0.6;
    transition: transform 0.2s ease;
}

.offer-card-link:hover .link-arrow {
    opacity: 1;
    transform: translateX(2px);
}

/* --- 6. ZAAWANSOWANA RESPONSYWNOŚĆ (BREAKPOINTS) --- */

/* DUŻE EKRANY (Desktop > 1400px) */
/* Tutaj włączamy tryb 4-kolumnowy dla maksymalnego efektu "Powerhouse" */
@media (min-width: 1400px) {
    .offer-cards-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
}

/* LAPTOPY I TABLETY POZIOMO (992px - 1399px) */
/* Pozostajemy przy 2 kolumnach (zdefiniowane domyślnie), ale korygujemy padding */
@media (max-width: 1399px) {
    .offer-cards-section .container-fluid {
        padding-left: 30px;
        padding-right: 30px;
    }
}

/* TABLETY PIONOWO (768px - 991px) */
@media (max-width: 991px) {
    .offer-cards-grid {
        gap: 20px;
    }
    .offer-card-title {
        font-size: 18px;
    }
}

/* MOBILE (Poniżej 768px) */
/* Tryb jednokolumnowy */
@media (max-width: 767px) {
    .offer-cards-grid {
        grid-template-columns: 1fr; /* Jedna kolumna */
        gap: 20px;
    }

    .offer-card {
        padding: 25px 20px;
        min-height: auto; /* Na mobile wysokość może być naturalna */
    }

    .offer-cards-headline .head-class {
        font-size: 2rem !important; /* Mniejszy nagłówek na telefonach */
    }
    
    .offer-card-desc {
        font-size: 14px; /* Nieco większy tekst na mobile dla czytelności */
    }
    
    .offer-card-link {
        padding: 12px 15px; /* Większe pola dotykowe (Touch Targets) */
    }
}
