/* modules/simpleblogfaqschema/views/css/simpleblogfaqschema.css */

.simpleblog-faq-wrapper { 
    margin: 3rem 0; 
}

.simpleblog-faq-wrapper h2 { 
    margin-bottom: 2rem;
    font-weight: bold;
    text-align: center;
}

.simpleblog-faq-item { 
    margin-bottom: 20px; 
    border: none; 
}

.simpleblog-faq-item summary { 
    cursor: pointer; 
    list-style: none; 
    outline: none;
    border: 1px solid #e1e1e1;
    border-radius: 4px; 
    padding: 15px 20px; /* Tu jest 20px wcięcia z lewej */
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.simpleblog-faq-item summary:hover {
    border-color: #A52A2A; 
}

.simpleblog-faq-item summary::-webkit-details-marker { 
    display: none; 
}

/* Tekst pytania */
.simpleblog-faq-item summary h3 { 
    display: inline-block; 
    margin: 0; 
    padding: 0; 
    font-size: 1.1rem; 
    font-weight: 600; 
    line-height: 1.4; 
    color: #333;
    text-transform: none;
    flex: 1;
}

/* Ikonka pytajnika */
.simpleblog-faq-item summary::before {
    content: "?";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background-color: rgba(165, 42, 42, 0.08); 
    color: #A52A2A; 
    border-radius: 50%;
    font-weight: bold;
    font-size: 14px;
    margin-right: 15px;
    flex-shrink: 0;
}

/* Plusik / Minusik */
.simpleblog-faq-item summary:after { 
    content: "+"; 
    font-weight: bold; 
    font-size: 1.5rem; 
    color: #A52A2A; 
    margin-left: 15px;
    line-height: 1;
}

.simpleblog-faq-item[open] summary:after { 
    content: "-"; 
    color: #A52A2A; 
}

/* ODPOWIEDŹ - POPRAWIONE FORMATOWANIE */
.simpleblog-faq-answer { 
    margin-top: 15px; 
    
    /* Zmienione wcięcie: 20px z lewej strony.
       Dzięki temu tekst zacznie się równo z lewą krawędzią ikonki pytajnika. */
    padding: 0 20px 10px 20px; 
    
    color: #555; 
    line-height: 1.6; 
    font-size: 1rem;
}

.simpleblog-faq-answer p:first-child { 
    margin-top: 0; 
}

@media (max-width: 767px) {
    .simpleblog-faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }
}