/* ==========================================================================
   STYLES FOR BLOG POST - Poprawa wyglądu wpisu
   ========================================================================== */

/* === Podstawowe ustawienia kontenera wpisu === */
.single-content-full {
    max-width: 850px;
    margin: 0 auto;
    color: #333; 
}

/* === Ustawienia obrazka nagłówkowego === */
.bs-img img {
    border-radius: 12px; /* Zaokrąglone rogi */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); 
    margin-bottom: 2.5rem;
}

/* === Typografia - Nagłówki === */
.single-content-full h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #f0f0f0; 
    line-height: 1.3;
}

.single-content-full h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #1a2a4c; 
}

/* === Typografia - Akapity i Linki === */
.single-content-full p {
    font-size: 1.1rem;
    line-height: 1.8; 
    margin-bottom: 1.5rem;
}

.single-content-full a {
    color: #0073e6;
    text-decoration: none;
    font-weight: 600;
    background-image: linear-gradient(120deg, #d4fc79 0%, #96e6a1 100%);
    background-repeat: no-repeat;
    background-size: 100% 0.3em;
    background-position: 0 88%;
    transition: background-size 0.25s ease-in;
    overflow-wrap: anywhere;
}

.single-content-full a:hover {
    background-size: 100% 88%;
}

/* === Stylizowanie cytatów (blockquote) === */
.single-content-full blockquote {
    background-color: #f1f8e9; 
    border-left: 5px solid #689f38; 
    padding: 25px 30px;
    margin: 2rem 0;
    font-size: 1.2rem;
    font-style: italic;
    position: relative;
    border-radius: 0 8px 8px 0;
}

.single-content-full blockquote p {
    margin-bottom: 0;
    font-size: inherit; /* Dziedziczenie rozmiaru czcionki z blockquote */
}

/* Dodanie ikony cudzysłowu dla efektu */
.single-content-full blockquote::before {
    content: '“';
    font-family: Georgia, serif;
    font-size: 6rem;
    color: #a5d6a7;
    position: absolute;
    top: -10px;
    left: 10px;
    z-index: 0;
    line-height: 1;
}

.single-content-full blockquote > * {
    position: relative;
    z-index: 1;
}

/* === Stylizowanie Checklisty (lista numerowana) === */
.single-content-full ol {
    list-style: none;
    counter-reset: custom-counter;
    padding-left: 0;
    margin: 2.5rem 0;
}

.single-content-full ol li {
    counter-increment: custom-counter;
    margin-bottom: 1.5rem;
    padding-left: 60px;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.7;
}

.single-content-full ol li::before {
    content: counter(custom-counter);
    position: absolute;
    left: 0;
    top: -2px;
    width: 40px;
    height: 40px;
    background-color: #1a2a4c;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(26, 42, 76, 0.3);
}




/* === Spis treści generowany przez JS === */
.toc-container {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 2.5rem;
}

.toc-container h3 {
    margin-top: 0;
    font-size: 1.4rem;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.toc-container ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.toc-container ul li {
    margin-bottom: 10px;
}

.toc-container ul li a {
    background-image: none; 
    font-weight: 500;
}

/* === Animacje wejścia === */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Media Queries dla urządzeń mobilnych === */
@media (max-width: 768px) {
    .single-content-full {
        padding: 0 15px; 
    }

    .single-content-full h2 {
        font-size: 2rem;
    }

    .single-content-full h3 {
        font-size: 1.5rem;
    }

    .single-content-full p, .single-content-full ol li {
        font-size: 1rem;
    }

    .single-content-full blockquote {
        padding: 20px;
    }
    
    .single-content-full ol li {
        padding-left: 50px;
    }

    .single-content-full ol li::before {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}
/* ==========================================================================
   STYLES FOR CALL TO ACTION (CTA) SECTION
   ========================================================================== */

/* === Kontener CTA === */
.single-content-full .cta {
    background-color: #f0f7ff; 
    border-left: 5px solid #0073e6; 
    border-radius: 8px;
    padding: 30px 40px; 
    margin: 3rem auto; 
    text-align: center; 
    box-shadow: 0 10px 30px rgba(0, 115, 230, 0.1);
    position: relative;
    overflow: hidden; 
}

/* === Ikona w tle dla dodatkowego efektu wizualnego === */
.single-content-full .cta::before {
    content: '✉️'; 
    font-size: 100px;
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%) rotate(-15deg);
    opacity: 0.08;
    color: #0073e6;
    z-index: 0;
}

/* Zapewnienie, że treść jest nad ikoną */
.single-content-full .cta > * {
    position: relative;
    z-index: 1;
}

/* === Tekst wewnątrz CTA === */
.single-content-full .cta p { 
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 25px; /* Odstęp od przycisku */
}

/* === Przycisk CTA (.button_cta) === */
.single-content-full .cta .button_cta {
    /* Resetowanie stylów ogólnych dla linków */
    background-image: none;
    text-decoration: none;
    display: inline-block;
    background-color: #689f38; 
    color: #ffffff;
    padding: 16px 38px;
    border-radius: 25px; 
    font-weight: bold;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(104, 159, 56, 0.4);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    cursor: pointer;
}

/* === Efekt Hover dla przycisku === */
.single-content-full .cta .button_cta:hover {
    background-color: #558b2f; /* Ciemniejszy odcień zieleni */
    transform: translateY(-4px); /* Efekt lekkiego uniesienia */
    box-shadow: 0 10px 20px rgba(104, 159, 56, 0.5);
}

/* === Dopasowanie na urządzeniach mobilnych === */
@media (max-width: 768px) {
    .single-content-full .cta {
        padding: 25px 20px;
    }

    .single-content-full .cta::before {
        font-size: 80px;
        left: 10px;
    }
    
    .single-content-full .cta .button_cta {
        padding: 14px 30px;
        font-size: 1rem;
    }
}