/*
Theme Name: HomeSolar
Theme URI:
Author: Paiyak Development
Author URI: https://paiyakdev.com
Description:
Requires at least: 7.0
Tested up to: 7.0
Requires PHP: 5.7
Version: 1.0.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: ollie
Text Domain: homesolar
Tags:
*/

header.site-header > .has-main-background-color {
    background-color: #1e1e26db !important;
}

header .products-menu-item {
    margin-left: 70px;
}

header .site-logo {
    margin-top: calc( var(--wp--preset--spacing--medium) * -0.85 );
    margin-bottom: calc( var(--wp--preset--spacing--medium) * -0.85 );
    margin-right: auto;
}

main.site-content > .entry-content > :last-child:not(.is-style-list-boxed) {
    padding-bottom: 0 !important;
}

#gform_wrapper_1 .gform_heading .gform_required_legend {
    display: none;
}

.is-style-list-none {
    list-style: none;
}

.wp-block-button__link {
    transition: background-color 0.3s ease, transform 0.3s ease !important;
}

.wp-block-button__link:hover,
.wp-block-button__link:focus-visible {
    transform: translateY(-2px);
    background-color: color-mix(in srgb, var(--wp--preset--color--main), #fff 20%) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.wp-block-button.is-style-fill .wp-block-button__link.has-primary-background-color:hover,
.wp-block-button.is-style-fill .wp-block-button__link.has-primary-background-color:focus-visible {
    background-color: color-mix(in srgb, var(--wp--preset--color--primary), #000 20%) !important;
    box-shadow: 0 6px 15px rgba(252, 134, 11, 0.4);
}

.wp-lightbox-overlay .wp-block-image img {
    border-radius: 6px;
}

.wp-lightbox-overlay .wp-lightbox-close-button,
.wp-lightbox-overlay .wp-lightbox-navigation-button {
    color: #fff !important;
    fill: #fff !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border-style: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.wp-lightbox-overlay .wp-lightbox-close-button:hover,
.wp-lightbox-overlay .wp-lightbox-close-button:focus-visible {
    background: rgba(255, 255, 255, 0.35) !important;
}

.wp-lightbox-overlay .wp-lightbox-navigation-button:hover,
.wp-lightbox-overlay .wp-lightbox-navigation-button:focus-visible {
    background: rgba(255, 255, 255, 0.35) !important;
    transform: translateY(-50%) scale(1.08);
}

.wp-lightbox-overlay .scrim {
    backdrop-filter: blur(10px);
    background-color: rgba(15, 23, 42, 0.94) !important;
}

@media only screen and (max-width: 1366px) {
    body .is-layout-constrained > .alignright.size-large {
        float: none;
        margin-left: auto;
        margin-right: auto;
    }
}
