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

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

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

sup {
    position: relative;
    top: -0.5em;
    font-size: 12px;
    margin-right: 2px;
}
.site-branding .site-title {
    display: none;
}
/* Remove required text line for gravity form Asterisk: * */
p.gform_required_legend {
    display: none;
}
/* menu header */
.mobile-navigation:not(.drawer-navigation-parent-toggle-true) ul li.menu-item-has-children .drawer-nav-drop-wrap button {
    border-left: 0;
}
.kadence-svg-iconset svg {
    height: 1.4em;
    width: 1.4em;
}
    .site-branding a.brand img.svg-logo-image {
    width: 105px!important;
    border-radius: 10px;
    }
    .site-header-section-right {
  justify-content: flex-end;
  margin-top: -50px;
}
@media all and (max-width: 980px) {
    .site-branding a.brand img.svg-logo-image {
    width: 95px!important;
    border-radius: 10px;
    }

}
@media all and (max-width: 767px) {
    .mobile-header-button-wrap .mobile-header-button-inner-wrap .mobile-header-button {
        display:none;
    }
    .site-branding a.brand img.svg-logo-image {
    width: 90px!important;
    margin-top: 10px;
    margin-left: 0px;
}
.header-contact-item .contact-label {
    margin-left: 0.3em;
    font-size: 15px;
}
.header-mobile-contact-wrap .element-contact-inner-wrap .header-contact-item {
    margin-left: 0!important;
    margin-right: calc(1em / 2);
}
}

@media all and (max-width: 590px) {
    .header-contact-item .contact-label {
display:none;
}
.site-header-item {margin-right:5px!important;}
.site-branding a.brand img.svg-logo-image {
    width: 70px!important;
}
}
    .site-main-header-wrap .site-header-row-container-inner>.site-container {
        padding: 0px 0px 10px 0px;
    }

/* Footer */
.widget_nav_menu a:hover {
    text-decoration: underline !important;
    text-decoration-thickness: 0.9px !important;
    text-underline-offset: 3px;
    color: #ffffff !important;
}
.widget_pages a, .widget_nav_menu a {
    display: block;
    padding: 0.1em 0;
    text-decoration: none;
}
.site-middle-footer-inner-wrap .widget-area .widget-title {
    font-style: normal;
    font-weight: 600;
    font-size: 14px!important;
    line-height: 1.3;
    letter-spacing: 0.1em;
    font-family: Montserrat, sans-serif;
    text-transform: uppercase;
}
.site-footer .collapse-sub-navigation ul.menu li a {
    font-size: 15px;
    border-bottom: 0;
    color: rgba(255, 255, 255, 0.57);
}
/* Footer image hover effect */
.site-footer img {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.site-footer img:hover {
  transform: scale(1.04);
  filter: brightness(1.03);
}

@media screen and (max-width: 1024px) {
    .footer-widget-area.content-tablet-align-center {
        text-align: left;
    }
}
@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;
}

/* Animated Underline — only inside .gotb-underline-effect */
.gotb-underline-effect a {
  position: relative;
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
  text-underline-offset: 3px;
  text-decoration-thickness: 0.9px;
}

.gotb-underline-effect a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background-color: currentColor;
  transition: width 0.3s ease-in-out;
}

.gotb-underline-effect a:hover::after,
.gotb-underline-effect a:focus::after {
  width: 100%;
}

/* --- Location headline with continuous city scroll --- */
.location-marquee-heading {
  display: flex;
  justify-content: center;
  text-align: center;
  padding: 1rem 0;
  color: #fff;
  opacity: 0.9;
}

/* Layout: text + scroll side by side */
.location-heading {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: nowrap;
  font-size: 0.9em;
  font-weight: normal;
  margin: 0;
  color: #fff;
}

/* Static text */
.location-heading .static-text {
  white-space: nowrap;
  color: #fff;
  font-weight: normal;
  opacity: 0.8;
}

/* Scrolling container */
.city-marquee-inline {
  position: relative;
  overflow: hidden;
  width: 180px;
  height: 1.3em;
  line-height: 1.3em;
}

/* Marquee motion */
.marquee {
  display: flex;
  animation: marquee 5s linear infinite;
  will-change: transform;
}

.marquee-content {
  display: flex;
  white-space: nowrap;
}

.marquee span {
  display: inline-block;
  margin: 0 0.5rem;
  color: #fff;
  font-weight: normal;
  font-size: inherit;
}

/* Smooth endless scroll */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
/* Slow marquee on tablets/phones */
@media (max-width: 1024px) {
  .marquee {
    animation-duration: 18s; /* slower for tablets */
  }
}

@media (max-width: 768px) {
  .marquee {
    animation-duration: 24s; /* even slower for phones */
  }
}
/* Mobile adjustment */
@media (max-width: 768px) {
  .location-heading {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  .city-marquee-inline {
    width: 100%;
  }
}

.kt-modal-overlay .kt-modal-close {
    right: 20px!important;
    top: 20px!important;    
}

ul.wp-block-list li {
    line-height: 1.8em;
}
.wp-block-list ul, .wp-block-list ol {
    margin: 0;
}

/* Css for vertical accordion */
/* Root container */
.differentiators-accordion {
  --nb-of-tabs: 6;
  --open-tab-width: 70%;
  width: 100%;
  height: 54vh;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border-radius:20px;
  gap: 10px;
}

/* Global typography & color */
.differentiators-accordion,
.differentiators-accordion * {
  font-family: var(--global-heading-font-family, inherit);
  color: var(--global-palette4);
  box-sizing: border-box;
  transition: all 0.3s ease;
}

/* Panel background colours */
.differentiators-accordion article:nth-child(1) { background: #F0F1F5; }
.differentiators-accordion article:nth-child(2) { background: #F0F1F5; }
.differentiators-accordion article:nth-child(3) { background: #F0F1F5; }
.differentiators-accordion article:nth-child(4) { background: #F0F1F5; }
.differentiators-accordion article:nth-child(5) { background: #F0F1F5; }
.differentiators-accordion article:nth-child(6) { background: #F0F1F5; }

/* Each article panel */
.differentiators-accordion article {
  flex: initial;
  width: calc(100% / var(--nb-of-tabs));
  height: 100%;
  padding: 2vh 1.2vw;
  position: relative;
  overflow: hidden;
}

/* Expand behavior */
.differentiators-accordion:hover article {
  width: calc((100% - var(--open-tab-width)) / (var(--nb-of-tabs) - 1));
}

.differentiators-accordion article:hover {
  width: var(--open-tab-width);
}

/* === FIXED: First panel open by default === */

.differentiators-accordion:not(:hover) article:first-child {
  width: var(--open-tab-width);
}
.differentiators-accordion:not(:hover) article:first-child > div {
  opacity: 1;
  transition-delay: 0.3s;
}

.differentiators-accordion:not(:hover) article:first-child > h3 {
  opacity: 0;
}

.differentiators-accordion:not(:hover) article:not(:first-child) {
  width: calc((100% - var(--open-tab-width)) / (var(--nb-of-tabs) - 1));
}


/* ========================================= */

/* Side title (closed state) */
.differentiators-accordion article > h3 {
  position: absolute;
  bottom: 0vh;
      margin: -7px;
  width: 20em;
  text-align: left;
  font-size: 20px;
  border-radius:20px;
  opacity: 1;
  transition: opacity 0.2s ease;
  transform: rotate(-90deg);
  transform-origin: 0 0;
}

/* Internal content */
.differentiators-accordion article > div {
  opacity: 0;
  transition: opacity 0.3s ease 0s;
    width: 100%;
    max-height: calc(70vh - 7vh);
    overflow-y: auto;
    margin: 0;
    padding: 20px 0px 10px;
}

/* Show content on hover */
.differentiators-accordion article:hover > div {
  opacity: 1;
  transition-delay: 0.3s;
}

/* Hide side title when open */
.differentiators-accordion article:hover > h3 {
  opacity: 0;
}

/* Internal title (big) */
.differentiators-accordion article > div > h4 {
  margin: 0 0 1rem 0;
  font-size: 28px;
  color: var(--global-palette4);
  text-transform:Capitalize;
  font-style: normal;
  font-weight: normal;
  line-height: 1.1;
  letter-spacing:0px;
}

/* Paragraph styling */
.differentiators-accordion article div p {
  margin: 0 0 1.2rem 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--global-palette3);
}

/* Responsive (same pattern as original) */
@media (max-width: 700px) {
  .differentiators-accordion article {
    padding: 2vh 1.5vw;
  }

  .differentiators-accordion article > h3 {
    bottom: 0vh;
    min-width: 12em;
    transform: rotate(-90deg);
    transform-origin: 0 0;
     font-size: 22px;
  }
  .differentiators-accordion article:hover > h3 {
    opacity: 0;
  }

  .differentiators-accordion article div {
    max-height: calc(70vh - 12vh);
  }

}
/* Blog */

.loop-entry .entry-content-wrap {
    border-radius: 0px 0px 20px 20px;
}
body.blog .content-bg {
    background: #ffffff;
    border-radius: 20px;
}


/* blog card base */
#archive-container .entry-list-item .entry {
  transition: transform .25s ease, box-shadow .25s ease;
}

/* Slight lift */
#archive-container .entry-list-item:hover .entry {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.10);
}

/* Clip image for radius + zoom */
#archive-container .post-thumbnail-inner {
  overflow: hidden;
  border-radius: 20px 20px 0px 0px; /* adjust as needed */
}


/* Remove default underline and prep */
#archive-container .entry-title a {
  text-decoration: none;
}

/* Underline when the whole card is hovered */
#archive-container .entry-list-item:hover .entry-title a {
  text-decoration: underline;
  text-underline-offset: 3px; /* little gap under text */
}

/* Scroll highlight base */
.scroll-highlight {
    display: inline;
    position: relative;
    z-index: 1;
    overflow: hidden;
    opacity: 0.95;
    transition: opacity 0.6s ease;
}

.scroll-highlight::before {
    content: '';
    position: absolute;
    left: -2%;
    bottom: 0.08em;
    width: 0%;
    height: 40%;
    background: rgba(255, 193, 2, 0.35);
    border-radius: 0.1em;
    z-index: -1;
    transition: width 0.8s cubic-bezier(0.55, 0, 1, 0.45);
}

.scroll-highlight.in-view::before {
    width: 106%;
}

.scroll-highlight.in-view {
    opacity: 1;
}

@media (max-width: 768px) {
  .marquee-content,
  .marquee span {
    white-space: nowrap;
  }
}

 .single-content ol {
  padding-left: 0em;
}
.wp-block-list li {
  margin-top: 1em;
  margin-bottom: 1.5em;
}