/* ============================================================
   Конструктор конверсионных блоков статей блога (inc/blog-cta/).
   Варианты (класс-префикс → тип в конфиге):
     bcta-pf — photo-flush  (фото во всю высоту слева + текст)
     bcta-pc — photo-card   (карточка: фото со скруглением + список)
     bcta-st — story        (широкий кадр сверху, ПК/моб. кадры)
     bcta-em — eskiz-media  (эскиз 500 ₽: картинка + цена)
     bcta-ec — eskiz-card   (эскиз 500 ₽: текстовая карточка)
     bcta-gr — guarantee    («N лет ♡ N лет гарантии» + кадр)
     bcta-fn — final        (финальный CTA: преимущества + кнопка)
   Тема оборачивает <img> в span — кадры ПК/моб. переключаем
   классами самих img (скрытая lazy-картинка не скачивается).
   ============================================================ */

/* ---------- варианты из «Сюрприз для жены» ---------- */
.entry-content .bcta-pf {
    --bcta-orange: #F07A1A;
    display: flex;
    align-items: stretch;
    gap: 0;
    margin: 36px 0;
    background: #fff;
    border: 1px solid #efe6d8;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 44px -24px rgba(23, 24, 30, .35);
    font-family: 'Manrope', Arial, sans-serif;
}

.entry-content .bcta-pf__media {
    flex: 0 0 42%;
    max-width: 42%;
    min-height: 0;
}
.entry-content .bcta-pf__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    border-radius: 0;
}

.entry-content .bcta-pf__body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px 32px;
}
.entry-content .bcta-pf__title {
    margin: 0 0 12px;
    font-weight: 800;
    font-size: 26px;
    line-height: 1.2;
    color: #17181e;
}
.entry-content .bcta-pf__text {
    margin: 0 0 14px;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #5c5c63;
}
.entry-content .bcta-pf__note {
    margin: 0 0 20px;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.3;
    color: #17181e;
}
.entry-content .bcta-pf__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 17px 24px;
    border: 0;
    border-radius: 12px;
    background: var(--bcta-orange);
    font-family: 'Manrope', Arial, sans-serif;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.2;
    color: #fff;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: filter .15s ease;
}
.entry-content .bcta-pf__btn:hover {
    filter: brightness(1.06);
    color: #fff;
}

@media (max-width: 600px) {
    .entry-content .bcta-pf {
        flex-direction: column;
        margin: 28px 0;
        border-radius: 18px;
    }
    .entry-content .bcta-pf__media {
        flex: none;
        max-width: none;
        width: 100%;
    }
    .entry-content .bcta-pf__media img {
        height: auto;
        aspect-ratio: 889 / 824;
    }
    .entry-content .bcta-pf__body {
        padding: 22px 20px 24px;
    }
    .entry-content .bcta-pf__title {
        font-size: 22px;
    }
}

/* ====== Блок «А вдруг не понравится — эскиз за 500 ₽» (замена слайдера стилей) ====== */
.entry-content .bcta-em {
    --bcta-orange: #F07A1A;
    --bcta-green: #2EA84B;
    max-width: 620px;
    margin: 36px auto;
    background: #fff;
    border: 1px solid #efe6d8;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 44px -24px rgba(23, 24, 30, .35);
    font-family: 'Manrope', Arial, sans-serif;
}
.entry-content .bcta-em__media img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    border-radius: 0;
}
.entry-content .bcta-em__body {
    padding: 26px 28px 28px;
}
.entry-content .bcta-em__title {
    margin: 0 0 10px;
    font-weight: 800;
    font-size: 25px;
    line-height: 1.2;
    color: #17181e;
}
.entry-content .bcta-em__lead {
    margin: 0 0 10px;
    font-weight: 600;
    font-size: 17px;
    line-height: 1.4;
    color: #17181e;
}
.entry-content .bcta-em__text {
    margin: 0 0 18px;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.5;
    color: #6a6a70;
}
.entry-content .bcta-em__list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.entry-content .bcta-em__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 16px;
    line-height: 1.3;
    color: #17181e;
}
.entry-content .bcta-em__ic {
    flex: none;
}
.entry-content .bcta-em__price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
    background: #EAF7EF;
    border-radius: 14px;
    padding: 16px 18px;
    margin: 0 0 18px;
}
.entry-content .bcta-em__price-label {
    font-size: 13px;
    color: #6a6a70;
}
.entry-content .bcta-em__price-val {
    font-weight: 800;
    font-size: 30px;
    line-height: 1.1;
    color: #17181e;
}
.entry-content .bcta-em__price-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #2a7d48;
}
.entry-content .bcta-em__price-note svg {
    width: 16px;
    height: 16px;
}
.entry-content .bcta-em__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 17px 20px;
    border: 0;
    border-radius: 12px;
    background: var(--bcta-orange);
    font-family: 'Manrope', Arial, sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.25;
    color: #fff;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: filter .15s ease;
}
.entry-content .bcta-em__btn:hover {
    filter: brightness(1.06);
    color: #fff;
}
@media (max-width: 600px) {
    .entry-content .bcta-em {
        margin: 28px 0;
        border-radius: 18px;
    }
    .entry-content .bcta-em__body {
        padding: 22px 18px 24px;
    }
    .entry-content .bcta-em__title {
        font-size: 22px;
    }
    .entry-content .bcta-em__list li {
        font-size: 15px;
    }
}

/* ====== Блок «Подарок жене, который не забудется» (после «Заключения») ====== */
.entry-content .bcta-fn {
    --bcta-orange: #F07A1A;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 620px;
    margin: 36px auto;
    background: #fff;
    border: 1px solid #efe6d8;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 44px -24px rgba(23, 24, 30, .35);
    font-family: 'Manrope', Arial, sans-serif;
}
.entry-content .bcta-fn__head {
    padding: 26px 26px 14px;
}
.entry-content .bcta-fn__title {
    margin: 0 0 8px;
    font-weight: 800;
    font-size: 24px;
    line-height: 1.2;
    color: #17181e;
}
.entry-content .bcta-fn__text {
    margin: 0;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.45;
    color: #6a6a70;
}
.entry-content .bcta-fn__media img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    border-radius: 0;
}
.entry-content .bcta-fn__features {
    padding: 18px 26px 26px;
}
.entry-content .bcta-fn__list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.entry-content .bcta-fn__list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-size: 16px;
    line-height: 1.3;
    color: #17181e;
}
.entry-content .bcta-fn__ic {
    flex: none;
    width: 26px;
    height: 26px;
    display: inline-flex;
}
.entry-content .bcta-fn__ic svg {
    width: 26px;
    height: 26px;
}
.entry-content .bcta-fn__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 17px 20px;
    border: 0;
    border-radius: 12px;
    background: var(--bcta-orange);
    font-family: 'Manrope', Arial, sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.25;
    color: #fff;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: filter .15s ease;
}
.entry-content .bcta-fn__btn:hover {
    filter: brightness(1.06);
    color: #fff;
}

@media (min-width: 701px) {
    .entry-content .bcta-fn {
        max-width: none;
        grid-template-columns: 46% 1fr;
        grid-template-areas: "media head" "media features";
        align-items: stretch;
    }
    .entry-content .bcta-fn__head {
        grid-area: head;
        padding: 30px 32px 12px;
    }
    .entry-content .bcta-fn__media {
        grid-area: media;
    }
    .entry-content .bcta-fn__media img {
        height: 100%;
        object-fit: cover;
    }
    .entry-content .bcta-fn__features {
        grid-area: features;
        padding: 12px 32px 30px;
    }
}

/* ---------- варианты из «Серебряная свадьба» ---------- */
.entry-content .bcta-pc {
    display: flex;
    align-items: stretch;
    gap: 32px;
    margin: 36px 0;
    padding: 16px;
    background: #fff;
    border: 1px solid #efe6d8;
    border-radius: 22px;
    box-shadow: 0 18px 44px -24px rgba(23, 24, 30, .35);
    font-family: 'Manrope', Arial, sans-serif;
}
.entry-content .bcta-pc__media {
    flex: 0 0 46%;
    max-width: 46%;
    border-radius: 16px;
    overflow: hidden;
}
.entry-content .bcta-pc__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    border-radius: 0;
}
.entry-content .bcta-pc__body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12px 12px 12px 0;
}
.entry-content .bcta-pc__title {
    margin: 0 0 14px;
    font-weight: 800;
    font-size: 28px;
    line-height: 1.18;
    color: #17181e;
}
.entry-content .bcta-pc__text {
    margin: 0 0 18px;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.55;
    color: #4f5058;
}
.entry-content .bcta-pc__list {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.entry-content .bcta-pc__list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.35;
    color: #17181e;
}
.entry-content .bcta-pc__list li::before {
    content: none;
}
.entry-content .bcta-pc__ic {
    flex: none;
}
.entry-content .bcta-pc__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 18px 20px;
    border: 0;
    border-radius: 14px;
    background: #F07A1A;
    font-family: 'Manrope', Arial, sans-serif;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.25;
    color: #fff;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: filter .15s ease;
}
.entry-content .bcta-pc__btn:hover {
    filter: brightness(1.06);
    color: #fff;
}

@media (max-width: 700px) {
    .entry-content .bcta-pc {
        flex-direction: column;
        gap: 0;
        margin: 28px 0;
        padding: 0;
        border-radius: 18px;
        overflow: hidden;
    }
    .entry-content .bcta-pc__media {
        flex: none;
        max-width: none;
        width: 100%;
        border-radius: 0;
    }
    .entry-content .bcta-pc__media img {
        height: auto;
        aspect-ratio: 800 / 848;
    }
    .entry-content .bcta-pc__body {
        padding: 22px 20px 24px;
    }
    .entry-content .bcta-pc__title {
        font-size: 23px;
    }
    .entry-content .bcta-pc__text {
        font-size: 15px;
    }
    .entry-content .bcta-pc__list li {
        font-size: 15px;
    }
}

/* ====== Блок «Маме и папе — подарок с их общей историей» ======
   Обе версии вертикальные: фото сверху (ПК — широкий кадр, ≤700px — квадратный). */
.entry-content .bcta-st {
    margin: 36px 0;
    background: #fff;
    border: 1px solid #efe6d8;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 18px 44px -24px rgba(23, 24, 30, .35);
    font-family: 'Manrope', Arial, sans-serif;
}
.entry-content .bcta-st__media {
    display: block;
    line-height: 0;
}
.entry-content .bcta-st__media img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    border-radius: 0;
}
/* Тема оборачивает img в span — переключаем кадры классами самих img.
   Скрытая lazy-картинка не скачивается. */
.entry-content .bcta-st__media .bcta-st__img--mob {
    display: none;
}
.entry-content .bcta-st__body {
    padding: 26px 30px 30px;
}
.entry-content .bcta-st__title {
    margin: 0 0 14px;
    font-weight: 800;
    font-size: 28px;
    line-height: 1.2;
    color: #17181e;
}
.entry-content .bcta-st__text {
    margin: 0 0 14px;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.55;
    color: #4f5058;
}
.entry-content .bcta-st__text + .bcta-st__text {
    margin-bottom: 22px;
}
.entry-content .bcta-st__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 18px 20px;
    border: 0;
    border-radius: 14px;
    background: #F07A1A;
    font-family: 'Manrope', Arial, sans-serif;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.25;
    color: #fff;
    text-align: center;
    cursor: pointer;
    transition: filter .15s ease;
}
.entry-content .bcta-st__btn:hover {
    filter: brightness(1.06);
}
@media (max-width: 700px) {
    .entry-content .bcta-st {
        margin: 28px 0;
        border-radius: 18px;
    }
    .entry-content .bcta-st__body {
        padding: 22px 20px 24px;
    }
    .entry-content .bcta-st__title {
        font-size: 23px;
    }
    .entry-content .bcta-st__text {
        font-size: 15px;
    }
    .entry-content .bcta-st__media .bcta-st__img--pc {
        display: none;
    }
    .entry-content .bcta-st__media .bcta-st__img--mob {
        display: block;
    }
}

/* ====== Блок «Не знаете, понравится ли результат? — эскиз за 500 ₽» ====== */
.entry-content .bcta-ec {
    margin: 36px 0;
    padding: 36px 40px 36px;
    background: #fff;
    border: 1px solid #efe6d8;
    border-radius: 22px;
    box-shadow: 0 18px 44px -24px rgba(23, 24, 30, .35);
    font-family: 'Manrope', Arial, sans-serif;
}
.entry-content .bcta-ec__title {
    margin: 0 0 14px;
    font-weight: 800;
    font-size: 30px;
    line-height: 1.18;
    color: #17181e;
}
.entry-content .bcta-ec__lead {
    margin: 0 0 14px;
    font-weight: 700;
    font-size: 19px;
    line-height: 1.35;
    color: #2a2c35;
}
.entry-content .bcta-ec__text {
    margin: 0 0 22px;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: #4f5058;
}
.entry-content .bcta-ec__list {
    list-style: none;
    margin: 0 0 26px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.entry-content .bcta-ec__list li {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.35;
    color: #2a2c35;
}
.entry-content .bcta-ec__list li::before {
    content: none;
}
.entry-content .bcta-ec__ic {
    flex: none;
    display: inline-flex;
    width: 30px;
    height: 30px;
}
.entry-content .bcta-ec__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px 20px;
    border: 0;
    border-radius: 16px;
    background: #F07A1A;
    font-family: 'Manrope', Arial, sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.25;
    color: #fff;
    text-align: center;
    cursor: pointer;
    transition: filter .15s ease;
}
.entry-content .bcta-ec__btn:hover {
    filter: brightness(1.06);
}
@media (max-width: 700px) {
    .entry-content .bcta-ec {
        margin: 28px 0;
        padding: 26px 20px 22px;
        border-radius: 18px;
    }
    .entry-content .bcta-ec__title {
        font-size: 25px;
    }
    .entry-content .bcta-ec__lead {
        font-size: 18px;
    }
    .entry-content .bcta-ec__text {
        font-size: 15px;
    }
    .entry-content .bcta-ec__list li {
        align-items: flex-start;
        font-size: 15px;
    }
    .entry-content .bcta-ec__btn {
        font-size: 17px;
        padding: 18px 16px;
    }
}

/* ====== Блок «25 лет любви заслуживают подарка…» (25 лет любви ♡ 25 лет гарантии) ====== */
.entry-content .bcta-gr {
    margin: 36px 0;
    padding: 26px 18px 18px;
    background: #fff;
    border: 1px solid #efe6d8;
    border-radius: 22px;
    box-shadow: 0 18px 44px -24px rgba(23, 24, 30, .35);
    font-family: 'Manrope', Arial, sans-serif;
    text-align: center;
}
.entry-content .bcta-gr__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    margin: 0 0 16px;
}
.entry-content .bcta-gr__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}
.entry-content .bcta-gr__stat b {
    font-weight: 800;
    font-size: 34px;
    line-height: 1.1;
    color: #17181e;
}
.entry-content .bcta-gr__stat span {
    margin-top: 4px;
    font-size: 14px;
    color: #6a6a70;
}
.entry-content .bcta-gr__heart {
    display: inline-flex;
    width: 40px;
    height: 36px;
}
.entry-content .bcta-gr__heart svg {
    width: 100%;
    height: 100%;
}
.entry-content .bcta-gr__title {
    margin: 0 auto 8px;
    max-width: 640px;
    font-weight: 800;
    font-size: 26px;
    line-height: 1.22;
    color: #17181e;
}
.entry-content .bcta-gr__text {
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 1.5;
    color: #4f5058;
}
.entry-content .bcta-gr__media {
    margin: 0 0 16px;
    border-radius: 16px;
    overflow: hidden;
    line-height: 0;
}
.entry-content .bcta-gr__media img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    border-radius: 0;
}
/* Тема оборачивает img в span — переключаем кадры классами самих img. */
.entry-content .bcta-gr__media .bcta-gr__img--mob {
    display: none;
}
.entry-content .bcta-gr__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 18px 20px;
    border: 0;
    border-radius: 999px;
    background: #F07A1A;
    font-family: 'Manrope', Arial, sans-serif;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.25;
    color: #fff;
    text-align: center;
    cursor: pointer;
    transition: filter .15s ease;
}
.entry-content .bcta-gr__btn:hover {
    filter: brightness(1.06);
}
@media (max-width: 700px) {
    .entry-content .bcta-gr {
        margin: 28px 0;
        padding: 22px 12px 12px;
        border-radius: 18px;
    }
    .entry-content .bcta-gr__stats {
        gap: 28px;
    }
    .entry-content .bcta-gr__stat b {
        font-size: 30px;
    }
    .entry-content .bcta-gr__title {
        font-size: 22px;
        padding: 0 6px;
    }
    .entry-content .bcta-gr__text {
        font-size: 15px;
        padding: 0 10px;
    }
    .entry-content .bcta-gr__media .bcta-gr__img--pc {
        display: none;
    }
    .entry-content .bcta-gr__media .bcta-gr__img--mob {
        display: block;
    }
}
