

/* =============================================
Hero Slider Block Customizations
============================================= */
.site-header {
    border-bottom: 1px solid #FFFFFF2B;
}
.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));
}

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

/* ============================
   HEADER TOP BAR (White Row)
============================ */
.site-header {
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

/* ============================
   HEADER BUTTONS
============================ */
.header-btn {
    background: hsl(var(--color-primary));
    color: #fff;
    padding: 12px 22px;
    border-radius: 40px;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.header-btn:hover {
    background: hsl(var(--color-secondary));
    transform: translateY(-2px);
}

.header-btn-icon svg {
    width: 18px;
    height: 18px;
}

.header-btn-label {
    font-size: 13px;
    opacity: 0.8;
}

.header-btn-value,
.header-btn-subtext {
    font-size: 15px;
    font-weight: 700;
}

/* ============================
   LANGUAGE SWITCHER
============================ */
.lang-select {
    border: 1px solid #d0d0d0;
    border-radius: 10px;
    padding: 8px 36px 8px 12px;
    font-size: 15px;
    background: #fff;
}

/* ============================
   MAIN MENU (Brown Bar)
============================ */
.secondary-navigation {
    padding: 0;
    border: none;
}

.secondary-navigation .inside-navigation {
    justify-content: center;
}

.secondary-menu {
    gap: 40px;
}

.secondary-menu > li > a {
    color: var(--contrast);
    text-align: center;
    padding: 1.75rem;
    padding: 1.2rem 0;
    padding-left: 28px;
    padding-right: 28px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    transition: opacity 0.25s ease;
}

.secondary-menu > li:hover > a {
    color: var(--contrast);
}

.menu-text {
    font-size: 14px;
}


/* ICON ABOVE TEXT */
.menu-icon {
    display: block;
}
.secondary-navigation .inside-navigation ul li a .svg-icon {
    font-size: 1.2rem;
}

/* DROPDOWN ARROW FIX */
.dropdown-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
}

/* ============================
   SUB-MENU (Dropdown)
============================ */
.secondary-menu .sub-menu {
    background: #fff;
    padding: 0;
    min-width: 200px;
}

.secondary-menu .sub-menu a {
    padding: 12px 16px;
    color: hsl(var(--color-primary));
    font-weight: 600;
    display: flex;
    align-items: start;
}

.secondary-menu .sub-menu a:hover {
    background: #f4e7df;
}

/* ============================
   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);
}

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

.header-actions .header-btn {
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    border-style: solid;
    border-width: 2px;
    padding: 0.75rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    font-weight: 500;
}
.header-actions .header-btn-phone,
.header-actions .header-btn-consultation {
    color: hsl(var(--color-surface));
    background-color: hsl(var(--color-primary));
    border-color: hsl(var(--color-primary));
}

.header-actions .header-btn-phone:hover,
.header-actions .header-btn-consultation:hover {
    color: hsl(var(--color-surface));
    opacity: 0.9;
    transform: translateY(-1px);
}

.header-btn-icon {
    flex-shrink: 0;
    font-size: 20px;
    padding: 12px;
    border-radius: 8px;
    background-color: hsl(var(--color-primary));
    color: hsl(var(--color-surface));
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.header-actions .header-btn.header-btn-phone .header-btn-icon,
.header-actions .header-btn.header-btn-consultation .header-btn-icon {
    color: hsl(var(--color-surface));
    background-color: hsl(var(--color-secondary));
}
.header-btn-text {
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.header-btn-label {
    opacity: 0.8;
    font-weight: 400;
}

.header-btn-value,
.header-btn-subtext {
    font-weight: 600;
    display: block;
}

/* Button Style Variants */


/* Mobile Header Actions */
.mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.mobile-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-action-phone {
    color: hsl(var(--color-primary));
    background-color: hsl(var(--color-primary) / 0.1);
}

.mobile-action-consultation {
    color: white;
    background-color: hsl(var(--color-primary));
}

.mobile-action-btn:hover {
    transform: scale(1.05);
}

/* ============================
   In Header buttons (Right Side)
============================ */

@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;
    }
}

/* ============================
   Above Header Menu Style
============================ */

.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;
}