/* =============================================
LAW FIRM CHILD THEME HEADER (Premium Edition)
============================================= */

/* =============================================
Hero Slider Block Customizations
============================================= */
.page-template-template-homepage .site-main .wp-block-group .wp-block-group__inner-container {
    padding: 0;
}
.section-contained-width {
    max-width: var(--containers-xl, 1300px);
    margin: 0 auto;
    padding: 0 1rem;
}
button, html input[type="button"], input[type="reset"], input[type="submit"], a.button, a.wp-block-button__link:not(.has-background),
.wp-block-buttons .default-primary-button .wp-block-button__link {
    background-color: hsl(var(--color-primary));
    color: hsl(var(--color-surface));
}

/* ============================
   STICKY HEADER
============================ */
.is-header-sticky .site-header {
    position: fixed;
    top: 0;
    width: 100%;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.10);
}

@media (min-width: 1280px) {
    /* Logo */
    .menu-location-nav-below-header .site-logo img {
        max-width: 400px;
        max-height: 100px;
        height: auto;
    }
}

/* ============================
   MOBILE RESPONSIVE
============================ */
@media (max-width: 992px) {
    .inside-header {
        flex-direction: column;
        text-align: center;
    }

    .header-actions {
        justify-content: center;
    }

    .site-logo img {
        max-width: 260px;
    }

    .header-actions {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .secondary-menu {
        gap: 20px;
        flex-wrap: wrap;
    }
    .dropdown-arrow {
        right: -5px;
    }
}

@media (max-width: 1280px) {
    .header-actions .header-btn.header-btn-phone .header-btn-icon,
    .header-actions .header-btn.header-btn-consultation .header-btn-icon {
        background-color: transparent;
        color: inherit;
        padding: 0;
    }
}

.custom-clients-no-logo .block-card-grid {
    align-items: center;
}
.custom-clients-no-logo .testimonial-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 200px;
}
.custom-clients-no-logo .testimonial-card * {
    margin-bottom: 0;
}
@media (min-width: 768px) {
    .phearum-banner .phearum-block-container .object-image-size {
        padding-top: 3rem;
    }
}

.site-logo img {
    max-height: 120px;
}

.block-card-grid.block-container-slider {
    gap: 1.6rem;
}