/* ==========================================================================
   Section: blog-carousel (Figma 1:2230)
   ========================================================================== */

.sec-blog-carousel {
    padding: 60px 0;
    background: #fbf7f8;
}

.bc__inner {
    max-width: var(--content-max);
    margin-inline: auto;
    padding-inline: var(--pad-x);
}

/* Head: centered title, text and button */
.bc__head {
    max-width: 768px;
    margin: 0 auto 60px;
    text-align: center;
}

.bc__title {
    margin: 0;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: clamp(32px, 3.4vw, 48px);
    line-height: 1.2;
    color: var(--c-black);
}

.bc__text {
    margin: 24px 0 0;
    font-size: 18px;
    line-height: 1.5;
    color: var(--c-text);
}

.bc__btn {
    margin-top: 40px;
}

/* Blog card */
.bcard {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: auto;
}

.bcard__media {
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.bcard__img {
    display: block;
    width: 100%;
    aspect-ratio: 405 / 270;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.bcard:hover .bcard__img {
    transform: scale(1.04);
}

/* Category tag, same look as the sale badge */
.bcard__tag {
    margin-top: 24px;
    padding: 4px 8px;
    background: var(--c-primary);
    border-radius: 5px;
    font-family: 'Roboto', var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    color: #fff;
}

.bcard__name {
    margin: 16px 0 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--c-black);
}

.bcard__name a:hover,
.bcard__name a:focus-visible {
    text-decoration: underline;
    text-underline-position: from-font;
}

.bcard__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--c-primary);
}

.bcard__more:hover span:first-child,
.bcard__more:focus-visible span:first-child {
    text-decoration: underline;
    text-underline-position: from-font;
}

.bcard__more .udi-icon {
    flex-shrink: 0;
}

/* Controls bar */
.bc__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 60px;
}

.bc__dots {
    display: flex;
    gap: 8px;
}

.bc__dots .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0;
    border-radius: 50%;
    background: #000;
    opacity: 0.2;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.bc__dots .swiper-pagination-bullet-active {
    opacity: 1;
}

.bc__nav {
    display: flex;
    gap: 16px;
}

.bc__arrow {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    background: var(--c-white);
    border: 1px solid var(--c-black);
    border-radius: 50%;
    color: var(--c-black);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.bc__arrow:hover,
.bc__arrow:focus-visible {
    background: var(--c-black);
    color: var(--c-white);
}

.bc__arrow.swiper-button-disabled {
    opacity: 0.3;
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
    .sec-blog-carousel {
        padding: 40px 0;
    }

    .bc__head {
        margin-bottom: 32px;
    }

    .bc__text {
        font-size: 16px;
    }

    .bc__btn {
        margin-top: 24px;
    }

    .bcard__tag {
        margin-top: 16px;
    }

    .bcard__more {
        margin-top: 16px;
    }

    .bc__bar {
        margin-top: 32px;
    }
}
