/*
Theme Name: Kadence GKM
Theme URI: https://example.com
Description: Kadence child theme with GKM core styles, animation system, and components.
Author: GK Marketing
Author URI: https://example.com
Template: kadence
Version: 2.3.0
Text Domain: kadence-gkm
*/

/* 
This file is intentionally minimal.
All styles are loaded via functions.php.
*/



/* =========================
   GK Left Content Surface
   ========================= */

.section-gk {
  background: #ffffff;
  border-radius: 8px;
  padding: 2.5rem;
  overflow: hidden; /* clips image corners */
}



/* =========================
   GK Section Spacing Fix
   ========================= */

/* Headings: remove top margin, control bottom */
.section-gk h2,
.section-gk h3 {
  margin: 0 0 0.75rem;
}

/* Paragraphs and lists: consistent rhythm */
.section-gk p,
.section-gk ul {
  margin: 0 0 1.25rem;
}

/* Divider controls spacing between sections */
.section-gk .section-divider {
  margin: 1.5rem 0;
}

/* Prevent double-spacing after divider */
.section-gk .section-divider + h2,
.section-gk .section-divider + h3 {
  margin-top: 0;
}

/* No extra space at the end of the section */
.section-gk > *:last-child {
  margin-bottom: 0;
}

/* =========================
   GK Section Divider (Visual Style)
   ========================= */

.section-gk .section-divider {
  border: none;
  height: 1px;
  background-color: var(--border);
  opacity: 0.6; /* slightly darker for better separation */
}


/* =========================
   Phantom Space Removal below header (mobile)
   ========================= */



.page-id-1010 .entry-content-wrap {
  padding: 0;
}


/* Make header the positioning reference */
.site-header,
.kb-header-container {
  position: relative;
}


/* =========================
   Service H1 Spacing
   ========================= */

.single-service .single-content__title {
  margin-top: 0;
  margin-bottom: 0.75rem;
}


/* Service pages: tighten hero heading spacing */
.single-service .service-hero h6,
.single-service .service-hero h1,
.single-service .service-hero h4,
.single-service .service-hero p {
  margin-top: 0;
}

.single-service .service-hero h6 { margin-bottom: 0.4rem; }
.single-service .service-hero h1 { margin-bottom: 0.6rem; }
.single-service .service-hero h4 { margin-bottom: 0.9rem; }
.single-service .service-hero p  { margin-bottom: 0; }

/* fixing the scrollbar in the dropdown menu */
.kb-header-sticky-wrapper .kadence-menu-mega-enabled>ul.kb-nav-sub-menu.mega-menu>.kb-row-layout-wrap .kt-row-column-wrap {
    overflow-y: hidden !important;
}


/* =========================
   Blog Post Mobile Full Width 
   ========================= */

@media (max-width: 767px){
  body.single-post .entry-content .kt-row-column-wrap{
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
}

