/* ==========================================================================
   Dedykowany Styl Premium dla LawSEO - Branża Prawnicza
   ========================================================================== */

:root {
    --primary-color: #1B263B;  /* Głęboki, elegancki biznesowy granat */
    --accent-color: #C5A059;   /* Szlachetne, stonowane złoto pod akcenty i CTA */
    --accent-hover: #a3854a;   /* Hover przycisków i linków */
    --light-bg: #F8F9FA;       /* Jasne, czyste tło systemowe */
    --card-bg: #ffffff;
    --text-dark: #212529;
    --text-muted: #6c757d;
}

/* 1. Globalna Typografia Systemowa (Brak Footprintów) */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Szeryfowa, luksusowa antykwa systemowa zastępująca Google Fonts */
h1, h2, h3, h4, h5, h6, .font-serif, .navbar-brand {
    font-family: Georgia, Cambria, "Times New Roman", Times, serif;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.01em;
}

/* 2. Hero Section & Wyszukiwarka na Środku */
.hero-section {
    position: relative;
    padding: 90px 0 !important;
    margin-bottom: 0;
}
.search-container {
    max-width: 720px;
    margin: 0 auto;
}
.search-input {
    height: 52px;
    font-size: 1rem;
    border-radius: 30px 0 0 30px !important;
    border: 1px solid #e2e8f0;
}
.search-input:focus {
    box-shadow: none;
    border-color: var(--accent-color);
}
.btn-search {
    height: 52px;
    font-weight: 600;
    font-size: 1rem;
    background-color: var(--accent-color) !important;
    border-radius: 0 30px 30px 0 !important;
    padding: 0 2.5rem !important;
    transition: background-color 0.2s ease-in-out;
}
.btn-search:hover {
    background-color: var(--accent-hover) !important;
}

/* 3. Karty Prawników (Siatka 3-kolumnowa formatu 'nap') */
.lawyer-card {
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    background-color: var(--card-bg);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.lawyer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(27, 38, 59, 0.07) !important;
}
.badge {
    font-weight: 600;
    padding: 0.5em 0.9em;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.btn-outline-primary {
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
    border-width: 2px;
    font-weight: 600;
}
.btn-outline-primary:hover {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
}
.rounded-pill {
    border-radius: 50px !important;
}

/* 4. Sekcja Porad i Analiz (Format: 'blog' po lewej stronie) */
.blog-row-card {
    background: #ffffff;
    border-left: 4px solid var(--primary-color) !important;
    border-radius: 6px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
    transition: border-color 0.2s ease;
}
.blog-row-card:hover {
    border-left-color: var(--accent-color) !important;
}
.hover-primary {
    color: var(--text-dark);
    transition: color 0.2s ease;
}
.hover-primary:hover {
    color: var(--accent-color) !important;
}

/* 5. Prestiżowy Sidebar i Elementy Marketingowe */
/* Wyróżniony boks artykułu sponsorowanego (beżowe luksusowe tło) */
.article-card.sponsored {
    border: 1px solid rgba(197, 160, 89, 0.2) !important;
    border-left: 4px solid var(--accent-color) !important;
    background-color: #fffdf9 !important;
    border-radius: 8px;
}
.badge-sponsored {
    background-color: var(--accent-color);
    color: #ffffff;
}

/* Widget zapisu na newsletter */
.newsletter-box {
    border-radius: 8px !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
}
.newsletter-box h5 {
    color: var(--primary-color);
}

/* 6. System Linktak (Brak podejrzanych wzorców/footprintów) */
.linktak-sidebar-links, .seo-link-box {
    font-size: 0.85rem;
    line-height: 1.6;
}
.linktak-sidebar-links a, .seo-link-box a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dashed var(--accent-color);
    transition: all 0.2s;
}
.linktak-sidebar-links a:hover, .seo-link-box a:hover {
    color: var(--accent-color);
    border-bottom-style: solid;
}

/* Wygodne przycinanie tekstu w CSS dla czystości layoutu */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Mobilne dostosowanie wyszukiwarki i kafelków */
@media (max-width: 767.98px) {
    .search-input {
        border-radius: 30px !important;
        text-align: center;
        margin-bottom: 8px;
    }
    .btn-search {
        border-radius: 30px !important;
    }
}

/* ==========================================================================
   7. Sekcja Misji (Mission Section) - Autentyczność i Zaufanie
   ========================================================================== */
.mission-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.mission-img {
    width: 100%;
    height: auto;
    max-height: 450px; /* Zapobiega przytłoczeniu sekcji przez zbyt wysokie zdjęcie */
    object-fit: cover; /* Gwarantuje, że zdjęcie się nie zniekształci */
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(27, 38, 59, 0.1); /* Miękki, głęboki cień */
    border: 1px solid rgba(0,0,0,0.05);
}

.mission-section h2 {
    font-family: Georgia, Cambria, "Times New Roman", Times, serif;
    color: var(--primary-color);
    font-weight: 700;
}

/* ==========================================================================
   8. Wyróżnieni Eksperci (Premium Tag & Borders)
   ========================================================================== */
.featured-lawyers {
    background-color: #fffcf5; /* Delikatny, ciepły odcień tła (off-white/cream) */
}

/* Karty Premium - nadpisanie standardowej ramki */
.premium-border {
    border: 2px solid var(--accent-color) !important;
    position: relative;
    overflow: hidden; /* Kluczowe, aby szarfa nie wystawała poza zaokrąglenia */
    border-radius: 12px;
}

/* Szarfa Premium w prawym górnym rogu (Styl "Ribbon") */
.premium-tag {
    position: absolute;
    top: 20px;
    right: -35px;
    background-color: var(--accent-color);
    color: #ffffff;
    padding: 6px 40px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    z-index: 10;
    text-align: center;
}

/* Obsługa zmiennej --gold z Twojego kodu HTML */
:root {
    --gold: #C5A059; /* Spójność z --accent-color z poprzedniej części */
}


article ul {
    list-style: none;
    padding: 0;
}

article ul li {
    position: relative;
    margin-bottom: 1rem;
    padding: 1.25rem 1.5rem 1.25rem 5rem;

    background: #f6f8fb;
    border-radius: 8px;
}

article ul li::before {
    content: ":::::";
    position: absolute;

    left: 1.25rem;
    top: 50%;

    transform: translateY(-50%);

    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;

    color: #000;
}

article ul li:hover {
    background: #eef2ff;
}