@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@1,400;1,500&display=swap");
/*
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.1.0
Text Domain: kadence-gkm
*/

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

.gk-office-hours {}
.gk-office-hours-row {
  display: flex;
  justify-content: space-between;
}
.gk-office-hours-day {}
.gk-office-hours-time {}
.gk-office-hours-time.is-closed {
  opacity: 0.6;
}

/* Code for service page space */
.section-gk h3 {
		    margin-top: 0.5em;
    margin-bottom: 0.2em;
	  font-size: 50px;
  letter-spacing: 0px;
	  margin-bottom: 1rem;
}

/* .service-hero h6.eyebrow{
  text-transform: uppercase;
  font-size: .85rem;
  letter-spacing: 3px;
  color: var(--brand-accent);
  margin-bottom: 1.5rem;
} */
.service-hero h1{
  margin: .5rem 0 1rem;
}

/* H2 on service pages (copies your H1 styling structure) */
body[class*="service"] h2{
  margin: 1rem 0 0.7rem;
  letter-spacing: 0;
}


/* H3 on service pages */
body[class*="service"] h3{
  margin: .8rem 0 1rem;
  font-size: 1.2rem; /* adjust this */
}

.service-hero h4{
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 140%;

}
.service-hero p{
  font-size: 1rem;
  color: var(--text-body);
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Divider */
hr.section-divider{
  border: 0;
  border-top: 1px solid rgba(0,0,0,0.1) !important;
  margin: 35px 0 16px 0 !important;
}



/* Css for Service pages */
 .postfold-dynamic-html section.section-gk {
  background: var(--surface);
  padding: 2.5em;
/*   box-shadow: 0 0 30px rgba(0, 0, 0, 0.15); */
  margin-bottom: 60px;
  border-bottom: 6px solid var(--brand-accent);
  position: relative;
  z-index: 4;
/*   border-radius: 20px; */
  overflow: hidden;    /* 👈 Keeps inner elements from bleeding past corners */
}

@media (max-width: 768px) {
	.postfold-dynamic-html section.section-gk {
 	  padding: 1.5em;
} 
}

/* Code for service page space */
.section-gk h3 {
		    margin-top: 0.5em;
    margin-bottom: 0.2em;
	  font-size: 30px;
  letter-spacing: 0px;
	  margin-bottom: 1rem;
}

.service-hero h6.eyebrow{
  text-transform: uppercase;
  font-size: .85rem;
  letter-spacing: 3px;
  color: var(--global-palette2);
  margin-bottom: 0.5rem;
}
.service-hero h1{
  margin: .5rem 0 1rem;
	color: var(--global-palette7);
}

/* H2 on service pages (copies your H1 styling structure) */
body[class*="service"] h2{
  margin: 1rem 0 0.7rem;
  letter-spacing: 0;
}


/* H3 on service pages */
body[class*="service"] h3{
  margin: 1rem 0 1rem;
  font-size: 2rem; /* adjust this */
}

.service-hero h4{
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 140%;
	color: var(--global-palette7);

}
.service-hero p{
  font-size: 1rem;
  color: var(--text-body);
  margin-bottom: 1rem;
  line-height: 1.6;
	color: var(--global-palette7);
}

/* Divider */
hr.section-divider{
  border: 0;
  border-top: 1px solid rgba(0,0,0,0.1) !important;
  margin: 35px 0 16px 0 !important;
}



/* this hides zocdoc button on desktop and mobile*/

a.zd-plugin-initialized {
    display: none !important;
}


.kt-info-box-image svg path {
    fill: currentColor !important;
}

.kt-info-svg-image path {
    fill: currentColor !important;
}
.gk-office-hours {}
.gk-office-hours-row {
  display: flex;
  justify-content: space-between;
}
.gk-office-hours-day {}
.gk-office-hours-time {}
.gk-office-hours-time.is-closed {
  opacity: 0.6;
}
@media (max-width: 768px) {
  body .zd-sticky-button,
  body .zd-alert-box,
  body a[data-type="book-button"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
}

/* this gets rid of scroll bars in the menu */

.kt-row-column-wrap.kt-has-1-columns.kt-row-layout-equal.kt-tab-layout-inherit.kt-mobile-layout-row.kt-row-valign-top.kt-inner-column-height-full, .kt-row-column-wrap.kt-has-4-columns.kt-row-layout-equal.kt-tab-layout-inherit.kt-mobile-layout-row.kt-row-valign-top {
    overflow-y: hidden !important;
}


/* Alt section for longer service pages */
.kb-dynamic-html section.section-gk-alt {
  background: #ffffff;
  padding: 2.5em;
  margin-top: 40px;
  margin-bottom: 30px;
  border-left: 6px solid var(--brand-accent);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 4;
  overflow: hidden;
}

@media (max-width: 768px) {
  .kb-dynamic-html section.section-gk-alt {
    padding: 1.5em;
  }
}

/* Image + text row layout for service sub-types */
.service-img-row {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
}

.service-img-row img {
  width: 250px;
  height: auto;
  flex-shrink: 0;
  border-radius: 14px;
  border: 1px solid #ebebeb;
}

.service-img-row .service-img-text h3 {
  margin-top: 0;
}

@media (max-width: 768px) {
  .service-img-row {
    flex-direction: column;
  }
  .service-img-row img {
    width: 100%;
  }
}

/* Feature band — high-contrast CTA / standout section */
.kb-dynamic-html section.section-gk-dark {
  background: var(--global-palette3);
  padding: 2.5em;
  margin-top: 40px;
  margin-bottom: 30px;
  border-bottom: 6px solid var(--brand-accent);
  border-radius: 8px;
  position: relative;
  z-index: 4;
  overflow: hidden;
}
.kb-dynamic-html section.section-gk-dark h2,
.kb-dynamic-html section.section-gk-dark h3,
.kb-dynamic-html section.section-gk-dark h4 {
  color: #ffffff;
}
.kb-dynamic-html section.section-gk-dark p,
.kb-dynamic-html section.section-gk-dark li {
  color: var(--global-palette8);
}
.kb-dynamic-html section.section-gk-dark a {
  color: var(--brand-accent);
}
.kb-dynamic-html section.section-gk-dark .service-list li strong {
  color: #ffffff;
}
@media (max-width: 768px) {
  .kb-dynamic-html section.section-gk-dark {
    padding: 1.5em;
  }
}

/* ===== Softened modern section system — 2026-06-16 ===== */
.kb-dynamic-html section.section-gk {
  background: var(--global-palette9);
  padding: 2.5em;
  margin-top: 32px;
  margin-bottom: 32px;
  border-radius: 20px;
  box-shadow: 0 2px 14px rgba(20, 33, 28, 0.05);
  position: relative;
  z-index: 4;
  overflow: hidden;
}
.kb-dynamic-html section.section-gk-alt {
  background: var(--global-palette9);
  padding: 2.5em;
  margin-top: 32px;
  margin-bottom: 32px;
  border-left: 4px solid var(--brand-accent);
  border-radius: 20px;
  box-shadow: 0 2px 14px rgba(20, 33, 28, 0.05);
  position: relative;
  z-index: 4;
  overflow: hidden;
}
.kb-dynamic-html section.section-gk-soft {
  background: #f1efe8;
  padding: 2.5em;
  margin-top: 32px;
  margin-bottom: 32px;
  border-radius: 20px;
  position: relative;
  z-index: 4;
  overflow: hidden;
}
.kb-dynamic-html section.section-gk-dark {
  background: #1c2c25;
  padding: 2.6em;
  margin-top: 32px;
  margin-bottom: 32px;
  border-bottom: 0;
  border-radius: 20px;
  position: relative;
  z-index: 4;
  overflow: hidden;
}
.kb-dynamic-html .service-img-row img {
  border-radius: 18px;
  border: 0;
}
@media (max-width: 768px) {
  .kb-dynamic-html section.section-gk,
  .kb-dynamic-html section.section-gk-alt,
  .kb-dynamic-html section.section-gk-soft,
  .kb-dynamic-html section.section-gk-dark {
    padding: 1.6em;
  }
}

/* ===== Column system + soft fix for cream (#F8F3E9) bg — 2026-06-16 ===== */
.kb-dynamic-html section.section-gk-soft { background: #e1eae5; }

/* Responsive column grids */
.kb-dynamic-html .gk-grid { display: grid; gap: 24px; margin-top: 1.6rem; }
.kb-dynamic-html .gk-cols-2 { grid-template-columns: repeat(2, 1fr); }
.kb-dynamic-html .gk-cols-3 { grid-template-columns: repeat(3, 1fr); }
.kb-dynamic-html .gk-cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .kb-dynamic-html .gk-cols-4 { grid-template-columns: repeat(2, 1fr); }
  .kb-dynamic-html .gk-cols-3 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .kb-dynamic-html .gk-cols-4,
  .kb-dynamic-html .gk-cols-2 { grid-template-columns: 1fr; }
}

/* Numbered step card (4-across process) */
.kb-dynamic-html .gk-step { text-align: center; }
.kb-dynamic-html .gk-step-num {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--global-palette3); color: var(--brand-accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 600; margin: 0 auto 0.9rem;
}
.kb-dynamic-html .gk-step h4 { margin: 0 0 0.4rem; }
.kb-dynamic-html .gk-step p { font-size: 0.95rem; line-height: 1.55; margin: 0; }

/* Checklist (paired with an image row) */
.kb-dynamic-html .gk-check { list-style: none; margin: 0; padding: 0; }
.kb-dynamic-html .gk-check li {
  position: relative; padding-left: 2.4em; margin-bottom: 0.9rem; line-height: 1.5;
}
.kb-dynamic-html .gk-check li::before {
  content: "\2713"; position: absolute; left: 0; top: 0.05em;
  width: 1.6em; height: 1.6em; border-radius: 50%;
  background: var(--brand-accent); color: var(--global-palette3);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8em; font-weight: 700;
}

/* ===== Flat squared cards + section eyebrows — 2026-06-16 ===== */
.kb-dynamic-html section.section-gk,
.kb-dynamic-html section.section-gk-alt,
.kb-dynamic-html section.section-gk-soft,
.kb-dynamic-html section.section-gk-dark {
  border-radius: 0;
  box-shadow: none;
}
.kb-dynamic-html .service-img-row img { border-radius: 0; }
.kb-dynamic-html h6.eyebrow {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 3px;
  color: var(--global-palette2);
  margin: 0 0 0.5rem;
  font-weight: 600;
}
.kb-dynamic-html section.section-gk-dark h6.eyebrow { color: var(--brand-accent); }

/* ===== Service H1 — large + EB Garamond italic accent — 2026-06-16 ===== */
.service-hero h1 {
  font-size: 65px;
  line-height: 1.05;
}
.service-hero h1 em,
.service-hero h1 .gk-serif {
  font-family: 'EB Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 400;
}
@media (max-width: 1024px) { .service-hero h1 { font-size: 56px; } }
@media (max-width: 600px)  { .service-hero h1 { font-size: 50px; } }

/* ===== Eyebrow color (accent) + tight spacing + serif step titles — 2026-06-16 ===== */
.service-hero h6.eyebrow,
.kb-dynamic-html h6.eyebrow {
  color: var(--brand-accent);
  margin: 0 0 0.2rem;
}
.kb-dynamic-html h6.eyebrow + h2,
.kb-dynamic-html h6.eyebrow + h3 { margin-top: 0; }
.kb-dynamic-html .gk-step h4 {
  font-family: 'EB Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 1.7rem;
  line-height: 1.15;
}

/* ===== Serif (EB Garamond) accent for postfold headings — 2026-06-16 ===== */
.kb-dynamic-html h2 em, .kb-dynamic-html h2 .gk-serif,
.kb-dynamic-html h3 em, .kb-dynamic-html h3 .gk-serif {
  font-family: 'EB Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 400;
}

/* ===== Eyebrow -> dark green (light), plain no-bg section — 2026-06-16 ===== */
.kb-dynamic-html h6.eyebrow { color: var(--global-palette3); }
.kb-dynamic-html section.section-gk-dark h6.eyebrow { color: var(--brand-accent); }
.service-hero h6.eyebrow { color: var(--global-palette2); }
.kb-dynamic-html section.section-gk-plain {
  background: transparent;
  padding: 2.5em;
  margin-top: 32px;
  margin-bottom: 32px;
  box-shadow: none;
  border-radius: 0;
}
@media (max-width: 768px) {
  .kb-dynamic-html section.section-gk-plain { padding: 1.6em; }
}

/* ===== Left-align step columns + flush first section — 2026-06-16 ===== */
.kb-dynamic-html .gk-step { text-align: left; }
.kb-dynamic-html .gk-step-num { margin: 0 0 0.9rem; }
.kb-dynamic-html section.section-gk-first { margin-top: 0; }

/* ===== Serif accent on ALL headings + top-aligned image rows — 2026-06-16 ===== */
.kb-dynamic-html h1 em, .kb-dynamic-html h2 em, .kb-dynamic-html h3 em,
.kb-dynamic-html h4 em, .kb-dynamic-html h5 em, .kb-dynamic-html h6 em,
.kb-dynamic-html .gk-serif {
  font-family: 'EB Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 400;
}
.kb-dynamic-html .service-img-row { align-items: flex-start; margin-top: 1.8rem; }

/* ===== Tighten transparent (plain) section vertical space — 2026-06-16 ===== */
.kb-dynamic-html section.section-gk-plain {
  padding: 0 2.5em;
  margin-top: 0;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .kb-dynamic-html section.section-gk-plain { padding: 0 1.6em; }
}

/* ===== EB Garamond optical size bump (smaller x-height than Inter) — 2026-06-16 ===== */
.service-hero h1 em, .service-hero h1 .gk-serif,
.kb-dynamic-html h1 em, .kb-dynamic-html h2 em, .kb-dynamic-html h3 em,
.kb-dynamic-html h4 em, .kb-dynamic-html h5 em, .kb-dynamic-html h6 em,
.kb-dynamic-html .gk-serif {
  font-size: 1.15em;
  line-height: 1;
}

/* ===== More section padding + outlined section (no bare beige) — 2026-06-16 ===== */
.kb-dynamic-html section.section-gk,
.kb-dynamic-html section.section-gk-alt,
.kb-dynamic-html section.section-gk-soft,
.kb-dynamic-html section.section-gk-dark,
.kb-dynamic-html section.section-gk-outline {
  padding: 3.25em;
}
.kb-dynamic-html section.section-gk-outline {
  background: transparent;
  border: 1px solid rgba(20, 33, 28, 0.2);
  margin-top: 32px;
  margin-bottom: 32px;
  box-shadow: none;
  border-radius: 0;
}
@media (max-width: 768px) {
  .kb-dynamic-html section.section-gk,
  .kb-dynamic-html section.section-gk-alt,
  .kb-dynamic-html section.section-gk-soft,
  .kb-dynamic-html section.section-gk-dark,
  .kb-dynamic-html section.section-gk-outline {
    padding: 2em;
  }
}

/* ===== Outline section: soft off-white fill (lighter than beige, softer than white) — 2026-06-16 ===== */
.kb-dynamic-html section.section-gk-outline { background: #fcf9f2; }

/* ===== Prevent orphan words in service headings — 2026-06-16 ===== */
.service-hero h1,
.kb-dynamic-html h2,
.kb-dynamic-html h3 {
  text-wrap: balance;
}
.kb-dynamic-html h2 { padding-right: 1.5em; }

/* ===== Even out section spacing — 2026-06-16 ===== */
.kb-dynamic-html section h2 { margin-bottom: 1.3rem; }
.kb-dynamic-html section > *:last-child { margin-bottom: 0; }

/* ===== Lighter eyebrow weight (match homepage) — 2026-06-16 ===== */
.kb-dynamic-html h6.eyebrow,
.service-hero h6.eyebrow { font-weight: 400; }

/* ===== Slightly larger section H3 — 2026-06-16 ===== */
.kb-dynamic-html section h3 { font-size: 2.4rem; }
@media (max-width: 600px) { .kb-dynamic-html section h3 { font-size: 1.9rem; } }

/* ===== Image-type grid cards (e.g. types of implants) — 2026-06-16 ===== */
.kb-dynamic-html .gk-type img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 0.9rem;
}
.kb-dynamic-html .gk-type h4 {
  font-family: 'EB Garamond', Georgia, serif;
  font-weight: 500;
  font-size: 1.5rem;
  margin: 0 0 0.35rem;
}
.kb-dynamic-html .gk-type p { font-size: 0.95rem; line-height: 1.55; margin: 0; }

/* ===== Uniform type-card image height (aligns titles/copy) — 2026-06-16 ===== */
.kb-dynamic-html .gk-type img {
  height: 240px;
  object-fit: contain;
  object-position: center;
}
.kb-dynamic-html .gk-grid { align-items: start; }

/* ===== Soft section -> white (per client, all pages) — 2026-06-17 ===== */
.kb-dynamic-html section.section-gk-soft { background: var(--global-palette9); }

/* ===== EB Garamond serif heading accent — SITE-WIDE on all headings — 2026-06-17 ===== */
h1 em, h2 em, h3 em, h4 em, h5 em, h6 em, .gk-serif {
  font-family: 'EB Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.15em;
  line-height: 1;
}

/* ===== Enlarge EB Garamond on MARK-based heading accents too (site-wide) — 2026-06-17 ===== */
.kt-adv-heading mark.kt-highlight,
h1 mark.kt-highlight, h2 mark.kt-highlight, h3 mark.kt-highlight,
h4 mark.kt-highlight, h5 mark.kt-highlight, h6 mark.kt-highlight {
  font-family: 'EB Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 1.15em;
  line-height: 1;
}

/* ===== Space between step/type grid and the closing paragraph below it — 2026-06-17 ===== */
.kb-dynamic-html .gk-grid + p { margin-top: 1.6rem; }
