/* Hero Block Styles */

.block-preview-notice {
    padding: 20px;
    background: #f0f4f8;
    border-left: 4px solid #007cba;
    margin: 10px 0;
    border-radius: 4px;
}

.block-preview-notice .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: #007cba;
    vertical-align: middle;
    margin-right: 8px;
}

.hero-section {
    position: relative;
    padding: 0;
}

.hero-section.is-preview {
    min-height: auto;
    background: #f5f5f5;
    padding: 20px;
}

.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: relative;
    display: none;
}

.hero-slide__title {
    color: #FFFFFF;
}

.hero-slide.is-active {
    display: block;
}

.hero-slide__bg {
    width: 100%;
    aspect-ratio: 16 / 5;
    max-height: 420px;
    background-image: var(--bg-desktop);
    background-size: cover;
    background-position: center;
    display: block;
}

@media (max-width: 600px) {
    .hero-slide__bg {
        background-image: var(--bg-mobile);
    }
}

.btn--white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: #fff;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.15s;
}

.btn--white:hover {
    background: #e53935;
    color: #fff;
    transform: translateY(-1px);
}

/* Slider arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: #f13e3d;
    border: none;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    padding: 0;
}

.hero-arrow:hover {
    background: #c62828;
    transform: translateY(-50%) scale(1.08);
}

.hero-arrow--prev { left: 20px; }
.hero-arrow--next { right: 20px; }

@media (max-width: 600px) {
    .hero-arrow { display: none; }
    .hero-slide__bg { aspect-ratio: 1 / 1; max-height: none; }
}

.hero-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.7);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, border-color 0.2s;
}

.hero-dot.is-active {
    background: #fff;
    border-color: #fff;
}

.hero-stats {
    background: #f13e3d;
    padding: 30px 0;
    margin-top: 40px;
}

.hero-stats__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    text-align: center;
}

.hero-stat {
    color: #fff;
}

.hero-stat__number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.hero-stat__label {
    display: block;
    font-size: 0.875rem;
    opacity: 0.9;
    margin-top: 4px;
}

/* Hero Filter Container */
.hero-filter {
    position: relative;
    z-index: 3;
    margin-top: -60px;
    padding: 0 20px;
}

.hero-filter__inner {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin: 0 auto;
}

.hero-filter__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1a1a1a;
}

/* Trust Badges */
.hero-trust-badges {
    background: rgba(255, 255, 255, 0.95);
    padding: 16px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.hero-trust-badges__grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
}

.hero-trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #374151;
    font-size: 0.875rem;
    font-weight: 500;
}

.hero-trust-badge svg {
    color: #dc2626;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .hero-trust-badges__grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px 8px;
    }

    .hero-trust-badge {
        font-size: 0.78rem;
        gap: 6px;
    }

    .hero-trust-badge span {
        display: inline;
    }
}
