/* ── BSB Thoughts Carousel Block ── */

.bsb-thoughts-section {
    background-color: var(--bsb-color-bg);
    position:         relative;
    width:            100%;
    display:          flex;
    flex-direction:   column;
    padding:          80px 0;
}

/* ── Header row ── */
.thoughts-header {
    flex-shrink:     0;
    display:         flex;
    justify-content: space-between;
    align-items:     flex-end;
    margin-bottom:   40px;
}

.bsb-thoughts-heading {
    font-family:    var(--bsb-font-display);
    font-size:      clamp(1.5rem, 3.5vw, 3rem);
    font-weight:    700;
    margin:         0;
    letter-spacing: -0.02em;
    color:          var(--bsb-color-text);
}

.bsb-thoughts-nav {
    display: flex;
    gap:     15px;
}

.bsb-thoughts-arrow {
    width:           40px;
    height:          40px;
    background:      transparent;
    border:          none;
    display:         flex;
    align-items:     center;
    justify-content: center;
    cursor:          pointer;
    transition:      all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    color:           var(--bsb-color-text);
    padding:         0;
}

.bsb-thoughts-arrow:hover {
    transform: scale(1.2);
    opacity:   0.7;
}

.bsb-thoughts-arrow.disabled {
    opacity:        0.25;
    cursor:         default;
    pointer-events: none;
}

.bsb-thoughts-arrow svg {
    width:        24px;
    height:       24px;
    stroke-width: 1.5px;
}

/* ── Carousel wrapper ── */
.bsb-thoughts-carousel-wrapper {
    flex-grow:   1;
    display:     flex;
    align-items: center;
    overflow:    hidden;
    position:    relative;
    width:       100%;
}

.bsb-thoughts-carousel {
    display:       flex;
    gap:           40px;
    width:         max-content;
    padding-left:  calc((100vw - 1400px) / 2 + 20px);
    padding-right: calc((100vw - 1400px) / 2 + 20px);
}

@media (max-width: 1440px) {
    .bsb-thoughts-carousel {
        padding-left:  20px;
        padding-right: 20px;
    }
}

/* ── Card (carousel context) ── */
.bsb-thoughts-section .bsb-thought-card {
    flex:           0 0 480px;
    display:        flex;
    flex-direction: column;
    gap:            25px;
    cursor:         pointer;
}

/* Image link */
.bsb-thoughts-section .bsb-thought-image-link {
    display: block;
}

/* Image box */
.bsb-thoughts-section .bsb-thought-image-box {
    width:            100%;
    aspect-ratio:     1.5 / 1;
    border-radius:    24px;
    overflow:         hidden;
    background-color: #f8f8f8;
    position:         relative;
}

.bsb-thoughts-section .bsb-thought-image-placeholder {
    width:      100%;
    height:     100%;
    background: #e8e8e8;
}

.bsb-thoughts-section .bsb-thought-image-box img {
    width:      100%;
    height:     100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.bsb-thoughts-section .bsb-thought-card:hover .bsb-thought-image-box img {
    transform: scale(1.08);
}

/* READ MORE overlay */
.bsb-thoughts-section .bsb-thought-image-box::after {
    content:         'READ MORE';
    position:        absolute;
    inset:           0;
    display:         flex;
    align-items:     center;
    justify-content: center;
    background:      rgba(0, 0, 0, 1);
    color:           #ffffff;
    font-family:     var(--bsb-font-display);
    font-size:       2rem;
    font-weight:     700;
    text-transform:  uppercase;
    border-radius:   24px;
    opacity:         0;
    transition:      opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events:  none;
    z-index:         2;
}

.bsb-thoughts-section .bsb-thought-card:hover .bsb-thought-image-box::after {
    opacity: 1;
}

/* Tags list */
.bsb-thoughts-section .bsb-thought-tags {
    list-style: none;
    padding:    0;
    margin:     0;
    display:    flex;
    flex-wrap:  wrap;
    gap:        10px;
}

.bsb-thoughts-section .bsb-thought-tag {
    display:        inline-block;
    text-decoration: none;
    padding:        6px 14px;
    border:         1px solid #06262D;
    border-radius:  100px;
    font-size:      0.65rem;
    font-weight:    700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color:          #06262D;
    transition:     background 0.25s ease, color 0.25s ease;
}

.bsb-thoughts-section .bsb-thought-tag:hover {
    background: #06262D;
    color:      #ffffff;
}

/* Title link */
.bsb-thoughts-section .bsb-thought-title-link {
    display:         block;
    text-decoration: none;
    color:           inherit;
}

.bsb-thoughts-section .bsb-thought-title {
    font-family:    var(--bsb-font-primary);
    font-size:      1.25rem;
    font-weight:    900;
    line-height:    1.25;
    margin:         0;
    color:          var(--bsb-color-text);
    text-transform: uppercase;
    letter-spacing: -0.01em;
}


.btn-plan {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 50px;
    font-family: var(--bsb-font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--bsb-color-text);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: transparent;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-plan svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.bsb-thought-card:hover .btn-plan svg {
    transform: translateX(4px);
}

/* Light variant â€” for dark section backgrounds */
.btn-plan--light {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}
/* ── Responsive ── */
@media (max-width: 1024px) {
    .bsb-thoughts-section .bsb-thought-card { flex: 0 0 400px; }
}

@media (max-width: 768px) {
    .bsb-thoughts-carousel { gap: 25px; }
    .bsb-thoughts-section .bsb-thought-card { flex: 0 0 320px; }
}
