.bp-f970-wrapper {
    font-family: var(--e-global-typography-primary-font-family, inherit);
    color: #54595F;
}

.bp-f970-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Hero Section */
.bp-f970-hero {
    background-color: #f5f8fa;
    padding: 8rem 0;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
}

.bp-f970-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: inherit;
    opacity: 1;
    z-index: 1;
}

.bp-f970-hero-title {
    color: #1a1a1a;
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    margin-top: 0;
}

.bp-f970-hero-subtitle {
    font-size: 1.25rem;
    max-width: 50rem;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

/* Search */
.bp-f970-search-container {
    max-width: 600px;
    margin: 0 auto;
}

.bp-f970-search-form {
    display: flex;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    overflow: hidden;
    background: #fff;
}

.bp-f970-search-input {
    flex-grow: 1;
    border: none;
    padding: 15px 25px;
    font-size: 1rem;
    outline: none;
    background: transparent;
}

.bp-f970-search-btn {
    border: none;
    color: #fff;
    padding: 0 30px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    background-color: #6EC1E4; /* Default, overridden by styles */
}

/* Filters */
.bp-f970-filters {
    padding: 3rem 0;
    border-bottom: 1px solid #eaeaea;
}

.bp-f970-filter-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.bp-f970-filter-label {
    color: #1a1a1a;
    font-weight: 600;
    font-size: 1.125rem;
}

.bp-f970-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.bp-f970-filter-btn {
    background: #fff;
    border: 2px solid #eaeaea;
    color: #54595F;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Active state defaults, overridden by controls */
.bp-f970-filter-btn.active {
    background-color: #6EC1E4;
    border-color: #6EC1E4;
    color: #fff;
}

/* Grid */
.bp-f970-grid-section {
    padding: 5rem 0;
}

.bp-f970-section-title {
    color: #1a1a1a;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

.bp-f970-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Cards */
.bp-f970-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.bp-f970-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.bp-f970-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bp-f970-card-image-wrap {
    height: 240px;
    width: 100%;
    overflow: hidden;
}

.bp-f970-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.bp-f970-card:hover .bp-f970-card-img {
    transform: scale(1.05);
}

.bp-f970-placeholder-img {
    width: 100%;
    height: 100%;
    background-color: #e0e0e0;
}

.bp-f970-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.bp-f970-card-title {
    color: #1a1a1a;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.bp-f970-card-excerpt {
    color: #7A7A7A;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.bp-f970-read-more {
    display: inline-block;
    color: #fff;
    background-color: #6EC1E4; /* Default, overridden by controls */
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 500;
    align-self: flex-start;
    transition: opacity 0.3s;
}

.bp-f970-card:hover .bp-f970-read-more {
    opacity: 0.9;
}

/* CTA Section */
.bp-f970-cta-section {
    padding: 6rem 0;
    color: #fff;
    background-color: #6EC1E4; /* Default, overridden by controls */
    position: relative;
}

.bp-f970-cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.bp-f970-cta-title {
    color: #fff;
    font-size: 2.5rem;
    margin: 0 0 1rem 0;
}

.bp-f970-cta-text {
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 0 2rem 0;
}

.bp-f970-cta-btn {
    background: #fff;
    color: #6EC1E4; /* Default, overridden by controls */
    text-decoration: none;
    padding: 15px 40px;
    border-radius: 4px;
    font-weight: 600;
    transition: transform 0.2s;
    display: inline-block;
}

.bp-f970-cta-btn:hover {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .bp-f970-hero-title {
        font-size: 2.5rem;
    }
    
    .bp-f970-search-form {
        flex-direction: column;
        border-radius: 12px;
    }
    
    .bp-f970-search-btn {
        padding: 15px;
    }
    
    .bp-f970-section-title {
        font-size: 2rem;
    }
}