/* Thoughts Listing Page Styles */
/* Page header styles live in style.css (.bsb-page-header / .bsb-page-title / .bsb-page-subtitle) */

.bsb-thoughts-listing {
    padding: 0 0 5rem;
}

/* Masonry Grid — JS creates column wrappers */
.bsb-thoughts-grid {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.bsb-masonry-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 35px;
    min-width: 0;
}

/* Override carousel card sizing for masonry */
.bsb-thoughts-grid .bsb-thought-card {
    flex: unset;
    width: 100%;
    text-decoration: none;
}

.bsb-thoughts-grid .bsb-thought-image-box {
    aspect-ratio: 1.4 / 1;
    border-radius: 16px;
}

.bsb-thoughts-grid .bsb-thought-image-box::after {
    border-radius: 16px;
    font-size: 1.25rem;
}

.bsb-thoughts-grid .bsb-thought-title {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.4;
    padding-left: 1rem;
}

.bsb-thoughts-grid .bsb-thought-card {
    gap: 20px;
}

.bsb-thoughts-grid .bsb-thought-content {
    gap: 28px;
}

.bsb-thoughts-grid .bsb-thought-tag {
    font-size: 0.75rem;
    padding: 4px 10px;
}

/* Load More Button */
.bsb-thoughts-load-more {
    display: flex;
    justify-content: center;
    padding-bottom: 80px;
    margin-top: 1.75rem;
}

.bsb-load-more-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--bsb-font-primary);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--bsb-color-text);
    transition: opacity 0.3s ease;
    padding: 10px 20px;
}

.bsb-load-more-btn:hover {
    opacity: 0.6;
}

.bsb-load-more-btn svg {
    width: clamp(30px, 5vw, 50px);
    height: clamp(30px, 5vw, 50px);
}

/* Responsive */
@media (max-width: 768px) {
    .bsb-thoughts-grid {
        gap: 20px;
    }

    .bsb-masonry-col {
        gap: 25px;
    }

    .bsb-thoughts-grid .bsb-thought-title {
        font-size: 0.85rem;
    }

}

@media (max-width: 480px) {
    .bsb-thoughts-grid .bsb-thought-title {
        font-size: 0.95rem;
    }
}