.ebook-selected-info-widget, .ebook-label, .ebook-title {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Lista ebooków – layout jak w sekcji referencyjnej */
.ebook-list-widget {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.ebook-list-intro {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.ebook-list-item-inner {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.ebook-list-media {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    flex: 0 0 360px;
    max-width: 360px;
}

.ebook-list-media img {
    width: 100%;
    height: auto;
    display: block;
}

.ebook-list-button-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* korzystamy z klas przycisku Elementora, tylko lekkie dopasowanie */
.ebook-list-button.elementor-button {
    width: 100%;
    /* width: auto;
    min-width: 220px; */
    background-color: #311F1F;
    color: #FFFFFF;
    padding: 20px 40px 20px 40px;
}

.ebook-list-button .elementor-button-text {
    font-family: "Marcellus", Sans-serif;
    font-size: 1em;
    font-weight: 700;
    text-transform: none;
    font-style: normal;
    text-decoration: none;
    line-height: 1.2em;
    letter-spacing: -0.1px;
}

.ebook-list-button.elementor-button:hover,
.ebook-list-button.elementor-button:focus {
    background-color: #2E1C1C; /* lekko przyciemniony #311F1F */
    color: #FFFFFF;
}

.ebook-list-text {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.ebook-list-title {
    margin-top: 0;
    margin-bottom: 1rem;
}

.ebook-list-description p {
    margin: 0 0 0.75rem;
}

.ebook-list-separator {
    height: 1px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.08);
}

@media (max-width: 767px) {
    .ebook-list-item-inner {
        flex-direction: column;
        align-items: center;
        text-align: left;
    }

    .ebook-list-media {
        width: 100%;
        max-width: 360px;
    }

    .ebook-list-text {
        width: 100%;
    }
}