.custom-product-featured-image img {
    display: block;
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
    margin: 0 auto 20px;
}

/* Czytelnosc tresci i kontakt — 2026-12-03 */
#about p,
#about li {
    color: #4a4a4a;
    font-weight: 400;
    line-height: 1.7;
}
#about .wp-block-image img {
    max-width: 100%;
    height: auto;
}
#about .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 13px 24px;
    background-color: #a82550;
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
}
#about .wp-block-button__link:hover {
    background-color: #84163c;
}
#about .wp-block-button__link:focus-visible {
    outline: 3px solid #222;
    outline-offset: 3px;
}
#contact {
    scroll-margin-top: 90px;
}

/* Jasne tlo sekcji z opisem */
#about.hestia-about {
    background-image: none !important;
    background-color: #fff;
}
#about.hestia-about::after {
    background: transparent;
}
#about.hestia-about h1,
#about.hestia-about h2,
#about.hestia-about h3,
#about.hestia-about h4 {
    color: #3c4858;
}

/* Proporcje banera strony glownej */
.home #carousel-hestia-generic .page-header {
    height: clamp(460px, 62vh, 620px);
    min-height: 0 !important;
}
.home #carousel-hestia-generic .page-header > .container {
    height: 100%;
    padding: 110px 15px 60px !important;
}
.home #carousel-hestia-generic .hestia-title {
    font-size: clamp(40px, 4.6vw, 60px);
    line-height: 1.15;
}
.home #carousel-hestia-generic .buttons {
    margin-top: 32px;
}
.home #carousel-hestia-generic .btn-primary {
    background-color: #a82550;
    min-height: 44px;
}
.home #carousel-hestia-generic .btn-primary:hover {
    background-color: #84163c;
}
@media (max-width: 767px) {
    .home #carousel-hestia-generic .page-header {
        height: 520px;
    }
    .home #carousel-hestia-generic .page-header > .container {
        padding: 140px 15px 40px !important;
    }
    .home #carousel-hestia-generic .hestia-title {
        font-size: 34px;
    }
    .home #carousel-hestia-generic .sub-title {
        font-size: 16px;
        line-height: 1.65;
    }
}

/* Oddzielny pionowy kadr banera na telefonie */
@media (max-width: 767px) {
    .home #carousel-hestia-generic .header-filter {
        background-image: url("https://rytualy-milosne.pl/wp-content/uploads/2026/12/anna-baner-telefon.webp") !important;
        background-position: center bottom;
    }
}
