/* --- BOX "W SKRÓCIE" (KEY TAKEAWAYS) --- */
.box-takeaways {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-left: 5px solid #17a2b8; /* Kolor info Bootstrapa */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.box-takeaways h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #343a40;
}

.box-takeaways ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.box-takeaways li {
    margin-bottom: 0.75rem;
    font-size: 16px;
    position: relative;
    padding-left: 1.5rem;
}

.box-takeaways li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #17a2b8;
    font-weight: bold;
}

.box-takeaways a {
    text-decoration: none;
    color: #212529;
    transition: color 0.2s;
}

.box-takeaways a:hover {
    color: #17a2b8;
}

/* --- FAQ (AKORDEON) --- */
.faq-section details {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.faq-section details[open] {
    border-color: #17a2b8;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.faq-section summary {
    padding: 1rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none; /* Ukrywa domyślny trójkąt */
    position: relative;
    padding-right: 2.5rem;
}

/* Własna strzałka */
.faq-section summary::after {
    content: "+";
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #17a2b8;
    font-weight: bold;
}

.faq-section details[open] summary::after {
    content: "-";
}

.faq-section summary::-webkit-details-marker {
    display: none;
}

.faq-answer {
    padding: 0 1rem 1rem 1rem;
    color: #545962;
    line-height: 1.6;
    border-top: 1px solid #f1f1f1;
    margin-top: 0.5rem;
    padding-top: 1rem;
}

/* --- BIO AUTORA --- */
.author-box {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    margin-top: 3rem;
    margin-bottom: 2rem;
}

.author-box img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-right: 1.5rem;
}

.author-info h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #343a40;
}

.author-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    .author-box img {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}