/*
Theme Name: Kadence Child
Theme URI: https://yourwebsite.com
Description: Child theme for Kadence
Author: Your Name
Author URI: https://yourwebsite.com
Template: kadence
Version: 1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */

/*** Responsive Styles Large Desktop And Above ***/
@media all and (min-width: 1405px) {
}
/*** Responsive Styles Standard Desktop Only ***/
@media all and (min-width: 1100px) and (max-width: 1405px) {
}
/*** Responsive Styles Tablet And Below ***/
@media all and (max-width: 980px) {
}
/*** Responsive Styles Tablet Only ***/
@media all and (min-width: 768px) and (max-width: 980px) {
}
/*** Responsive Styles Smartphone Only ***/
@media all and (max-width: 767px) {
}
/*** Responsive Styles Smartphone Portrait ***/
@media all and (max-width: 479px) {
}

/* ===== Floating header with white pill bar ===== */

/* Position header absolutely so it overlays the hero section */
#masthead {
    position: absolute !important;
    top: 10;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent !important;
}

/* Transparent background on the row container, add padding around the pill */
.site-header-row-container-inner {
    background: transparent !important;
    padding: 1em 1.5em !important;
}

/* Let the pill span full width of the padded container */
#masthead .site-container {
    max-width: 100% !important;
    padding: 0 !important;
}

/* White floating pill bar — override Kadence's column layout with flex */
.site-main-header-inner-wrap.site-header-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    background: #fff !important;
    border-radius: 1em !important;
    padding: 0.6em 1.5em !important;
    gap: 1em;
}

/* Left: primary nav — flex-start */
.site-header-main-section-left {
    flex: 1 !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    min-width: 0;
}

/* Hide the empty intermediate sections */
.site-header-main-section-left-center,
.site-header-main-section-right-center {
    display: none !important;
}

/* Center: logo — fixed width, centered */
.site-header-main-section-center {
    flex: 0 0 auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* Right: secondary nav + CTA — flex-end */
.site-header-main-section-right {
    flex: 1 !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 1em;
}

/* Make sure the hero section has enough top padding to clear the floating header */
.hero {
    padding-top: 100px !important;
}

/* ------------- 1. general styles ------------- */

h1, h2, h3, h4, h5, h6 {overflow-wrap: normal;}

sup {
    position: relative;
    top: -0.5em;
    font-size: 12px;
    margin-right: 2px;
}

/* Remove required text line for gravity form Asterisk: * */
p.gform_required_legend {
    display: none;
}
/* Footer */
.widget_nav_menu a:hover {
    text-decoration: underline !important;
}
.widget_pages a, .widget_nav_menu a {
    display: block;
    padding: 0.1em 0;
    text-decoration: none;
}
@media screen and (max-width: 1024px) {
    .footer-widget-area.content-tablet-align-center {
        text-align: left;
    }
}

/* Menu Navigation - dropdown Mobile */
.kadence-svg-iconset svg {
    height: 1.2em;
    width: 1.2em;
}
.site-branding a.brand {
    gap: 0;
}
/* Breadcrumbs */
.kadence-breadcrumbs {
    margin: 0em 0;
}
/* ------------- a. Gravity contact form ------------- */

.gform_wrapper ul.gform_fields li {
    list-style: none;
}
.gform_wrapper ul.gform_fields {
    padding-left: 0 !important;
}
.gform_wrapper .hidden_label label {
    display: none;
}
.gform_wrapper input[type=text],
.gform_wrapper input[type=email],
.gform_wrapper input[type=tel],
.gform_wrapper textarea,
.gform_wrapper select {
    border-radius: 0px !important;
    background-color: #fff;
    color: inherit;
    font-family: sans-serif;
    border: 0;
    padding: 10px !important;
    border: 1px solid #eeeeee;
}
.gform_wrapper.gravity-theme .gfield_label {
    display: inline-block;
    font-size: 15px;
    font-weight: normal;
    margin-bottom: 3px;
    padding: 0;
}
.gform_wrapper input[type=email]:focus {
    border: 1px solid #eeeeee;
}
.gform_wrapper input[type=text]::placeholder,
.gform_wrapper input[type=email]::placeholder,
.gform_wrapper input[type=tel]::placeholder,
.gform_wrapper textarea::placeholder,
.gform_wrapper select::placeholder {
    color: inherit;
    font-family: inherit;
}
.gform_wrapper .gform_footer {
    text-align: right;
}
.gform_wrapper input[type=submit] {
	border: 0;
    background-color: #333333;
    color: #ffffff;
    font-family: inherit;
    text-transform: uppercase;
    font-weight: inherit;
    font-size: inherit;
    transition-duration: .3s;
    border-radius: 0px;
    padding: 8px 28px;
    cursor:pointer;
}
.gform_wrapper input[type=submit]:hover {
    transition-duration: .3s;
    opacity:0.9;
}
.gform_legacy_markup_wrapper .gform_footer {
    margin: 0px 0 0;
}

/* ===== Homepage hero: full-width image with swooping curved border ===== */

.hero {
    padding-bottom: 0 !important;
}
.hero > .kt-row-column-wrap {
    padding-bottom: 0 !important;
    align-items: stretch !important;
    overflow: visible;
}
.hero .kt-inside-inner-col {
    overflow: visible;
    padding-bottom: 0 !important;
}

/* Group is the positioning context for the absolutely-placed button */
.hero .wp-block-group {
    position: relative !important;
    width: 100% !important;
    overflow: visible !important;
}

/* Button absolutely centered at the top edge of the group —
   translateY(-50%) splits it half above (background), half below (image) */
.hero .wp-block-kadence-advancedbtn {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 10 !important;
    margin: 0 !important;
}

/* Image at fixed height below the button; z-index: 1 stays under the button */
.hero-image {
    position: relative;
    z-index: 1;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    margin-top: 0 !important;
    height: 45vh;
    min-height: 280px;
}
.hero-image img {
    display: block;
    width: 100% !important;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    object-position: center;
}

/* Top swoop: arch peak shifted right so the left side dips shallower.
   72% rx covers edge-to-edge; cx=68% moves the peak toward the right. */
.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 140px;
    background-color: var(--global-palette1);
    clip-path: ellipse(72% 100% at 68% 0%);
    z-index: 2;
    pointer-events: none;
}

/* Bottom swoop: mirrored offset, transitions into the section below */
.hero-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 140px;
    background-color: var(--global-palette1);
    clip-path: ellipse(72% 100% at 32% 100%);
    z-index: 2;
    pointer-events: none;
}

