/*
Theme Name: MKR Kadence
Theme URI: https://mkrllc.net
Description: Child theme of Kadence for MKR Commercial Property Services LLC. Brand gold, black header, Oswald and Source Sans 3.
Author: MKR Commercial Property Services LLC
Template: kadence
Version: 1.0.3
*/

:root {
  --mkr-black: #0b0b0b;
  --mkr-ink: #141414;
  --mkr-charcoal: #1c1c1c;
  --mkr-gold: #f1c543;
  --mkr-gold-deep: #c49214;
  --mkr-gold-soft: #f7e3a1;
  --mkr-cream: #f6f2e6;
  --mkr-paper: #fbfbf8;
  --mkr-muted: #5a5a5a;
  --mkr-line: #e3dfd4;
  --mkr-white: #ffffff;
}

body, .entry-content, .entry-content p {
  font-family: "Source Sans 3", "Source Sans Pro", "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--mkr-ink);
  background: var(--mkr-paper);
}

h1, h2, h3, h4, .entry-title, .site-branding,
.mkr-hero h1, .mkr-kicker {
  font-family: "Oswald", "Arial Narrow", Impact, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.35rem); text-transform: uppercase; }
h3 { font-size: 1.25rem; letter-spacing: 0.04em; text-transform: uppercase; }

/* Hide default Kadence page titles — each page has its own H1 in the content */
.page .entry-hero,
.page .entry-header,
.page-hero-section,
.entry-title-wrap { display: none !important; }

.content-wrap, .site-content, .entry-content-wrap {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.entry-content { max-width: 100%; }

/* Header */
#masthead,
#masthead .site-header-wrap,
#masthead .site-header-inner-wrap,
#masthead .site-header-row-container-inner,
#masthead .site-header-section,
.site-header-row-layout-contained {
  background: var(--mkr-black) !important;
  color: var(--mkr-white);
}
#masthead {
  border-bottom: 3px solid var(--mkr-gold);
  position: sticky;
  top: 0;
  z-index: 100;
}
#masthead .site-header-row-container-inner { min-height: 84px; }
#masthead .custom-logo { max-height: 64px; width: auto; }
#masthead a, #masthead .header-menu-container a,
#masthead .menu-item > a, #masthead .nav-menu a {
  color: var(--mkr-white) !important;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0.01em;
}
#masthead .menu-item > a:hover,
#masthead .current-menu-item > a,
#masthead .current-menu-ancestor > a {
  color: var(--mkr-gold) !important;
}

.mkr-header-ctas {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-left: 0.75rem;
}
.mkr-btn {
  display: inline-block;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-weight: 700;
  text-decoration: none !important;
  padding: 0.55rem 0.95rem;
  border-radius: 6px;
  border: 2px solid transparent;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.mkr-btn-gold {
  background: var(--mkr-gold);
  color: var(--mkr-black) !important;
  border-color: var(--mkr-gold);
}
.mkr-btn-gold:hover { background: var(--mkr-gold-soft); }
.mkr-btn-outline {
  background: transparent;
  color: var(--mkr-white) !important;
  border-color: var(--mkr-gold);
}
.mkr-btn-outline:hover { background: var(--mkr-gold); color: var(--mkr-black) !important; }
.mkr-btn-lg { padding: 0.75rem 1.15rem; font-size: 1.05rem; }

/* Mobile menu */
#mobile-nav, .mobile-drawer, .header-mobile-nav-drawer {
  background: var(--mkr-black) !important;
}
.mobile-toggle, .menu-toggle, #masthead button {
  color: var(--mkr-gold) !important;
}

/* Hero */
.mkr-hero {
  background: var(--mkr-black);
  color: var(--mkr-white);
  padding: 3.5rem 1.5rem 3.75rem;
}
.mkr-hero .mkr-wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.mkr-kicker {
  color: var(--mkr-gold);
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 0.7rem;
  font-weight: 600;
}
.mkr-hero h1 { color: var(--mkr-white); margin: 0 0 0.7rem; }
.mkr-hero p { color: #e8e8e8; max-width: 48rem; margin: 0 0 1.25rem; }
.mkr-hero .mkr-btn-row { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.mkr-wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.mkr-section { padding: 3.25rem 0; }
.mkr-section-cream { background: var(--mkr-cream); }
.mkr-section-dark { background: var(--mkr-charcoal); color: var(--mkr-white); }
.mkr-section-dark h2, .mkr-section-dark h3 { color: var(--mkr-white); }
.mkr-section-gold { background: var(--mkr-gold); color: var(--mkr-black); }

.mkr-split {
  display: grid !important;
  grid-template-columns: 1.1fr 0.9fr !important;
  gap: 2.5rem;
  align-items: center;
}
.mkr-split img, .mkr-card img, .mkr-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  object-fit: cover;
}
.mkr-grid-2, .mkr-grid-3 {
  display: grid !important;
  gap: 1.25rem;
}
.mkr-grid-2 { grid-template-columns: repeat(2, 1fr) !important; }
.mkr-grid-3 { grid-template-columns: repeat(3, 1fr) !important; }
.mkr-card {
  background: var(--mkr-white);
  border: 1px solid var(--mkr-line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}
.mkr-card .mkr-card-body { padding: 1.25rem 1.3rem 1.4rem; }
.mkr-card h3 { margin-top: 0; }
.mkr-card p:last-child { margin-bottom: 0; }
.mkr-muted { color: var(--mkr-muted); }
.mkr-more { color: var(--mkr-gold-deep); font-weight: 700; text-decoration: none; }
.mkr-more:hover { text-decoration: underline; }

.mkr-list { margin: 0 0 1rem; padding: 0; list-style: none; }
.mkr-list li {
  padding: 0.55rem 0 0.55rem 1.2rem;
  border-bottom: 1px solid var(--mkr-line);
  position: relative;
}
.mkr-list li:before {
  content: "";
  width: 0.5rem; height: 0.5rem;
  background: var(--mkr-gold);
  border-radius: 1px;
  position: absolute;
  left: 0; top: 0.9rem;
}
.mkr-steps { counter-reset: step; list-style: none; padding: 0; margin: 0 0 1rem; }
.mkr-steps li { counter-increment: step; padding: 0.6rem 0 0.6rem 2.4rem; position: relative; }
.mkr-steps li:before {
  content: counter(step);
  position: absolute; left: 0; top: 0.5rem;
  width: 1.6rem; height: 1.6rem;
  background: var(--mkr-gold);
  color: var(--mkr-black);
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
}

.mkr-faq details {
  border: 1px solid var(--mkr-line);
  background: var(--mkr-white);
  border-radius: 6px;
  margin: 0 0 0.6rem;
  padding: 0.85rem 1rem;
}
.mkr-faq summary { font-weight: 700; cursor: pointer; }
.mkr-faq .answer { margin-top: 0.6rem; color: var(--mkr-ink); }

.mkr-towns { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.mkr-towns li {
  background: var(--mkr-cream);
  border: 1px solid var(--mkr-line);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.95rem;
}

.mkr-sima { max-width: 180px; height: auto; margin: 1rem 0; }
.mkr-cta-bar {
  background: var(--mkr-gold);
  color: var(--mkr-black);
  padding: 2rem 0;
  text-align: left;
}
.mkr-cta-bar h2 { margin: 0 0 0.4rem; }
.mkr-cta-inner { display: flex; justify-content: space-between; gap: 1.5rem; align-items: center; flex-wrap: wrap; }

/* Footer */
.mkr-footer {
  background: var(--mkr-black);
  color: #ddd;
  padding: 2.8rem 0 1.5rem;
  border-top: 3px solid var(--mkr-gold);
  font-size: 0.98rem;
}
.mkr-footer a { color: var(--mkr-gold); text-decoration: none; }
.mkr-footer a:hover { text-decoration: underline; }
.mkr-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 1.75rem;
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}
.mkr-footer h3 { color: var(--mkr-gold); font-size: 0.95rem; margin: 0 0 0.7rem; }
.mkr-footer ul { list-style: none; margin: 0; padding: 0; }
.mkr-footer li { margin: 0 0 0.35rem; }
.mkr-footer .footer-logo { max-width: 180px; margin-bottom: 0.8rem; }
.mkr-footer-bottom {
  width: min(1120px, calc(100% - 40px));
  margin: 2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid #333;
  color: #999;
  font-size: 0.85rem;
}

.wpforms-form input, .wpforms-form select, .wpforms-form textarea {
  border-radius: 6px !important;
  border-color: var(--mkr-line) !important;
}
.wpforms-submit, .wpforms-submit-container button[type="submit"] {
  background: var(--mkr-gold) !important;
  color: var(--mkr-black) !important;
  border: 2px solid var(--mkr-gold) !important;
  font-weight: 700 !important;
  padding: 0.75rem 1.2rem !important;
}

@media (max-width: 900px) {
  .mkr-split, .mkr-grid-3, .mkr-grid-2, .mkr-footer-grid { grid-template-columns: 1fr !important; }
  .mkr-grid-2 { grid-template-columns: 1fr; }
  .mkr-header-ctas .phone-label { display: none; }
  .mkr-hero { padding: 2.4rem 1.2rem 2.6rem; }
}
@media (max-width: 600px) {
  #masthead .mkr-btn { padding: 0.45rem 0.7rem; font-size: 0.85rem; }
}


/* Fixes: Kadence/content paragraphs must not paint a white box over dark or gold sections. */
.entry-content p,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content .mkr-kicker,
.entry-content .mkr-hero p,
.entry-content .mkr-cta-bar p {
  background: transparent !important;
}
.mkr-hero,
.mkr-hero p,
.mkr-hero h1,
.mkr-hero .mkr-kicker {
  color: #f4f4f4 !important;
}
.mkr-hero .mkr-kicker { color: var(--mkr-gold) !important; }
.mkr-cta-bar,
.mkr-cta-bar h2,
.mkr-cta-bar p { color: var(--mkr-black) !important; }
.mkr-cta-bar .mkr-btn-gold {
  background: var(--mkr-black) !important;
  color: var(--mkr-gold) !important;
  border-color: var(--mkr-black) !important;
}
.mkr-cta-bar .mkr-btn-outline {
  color: var(--mkr-black) !important;
  border-color: var(--mkr-black) !important;
  background: transparent !important;
}

/* Hide text site title beside the logo */
#masthead .site-title,
#masthead .site-title-wrap,
#masthead .branding-title,
#masthead .site-description { display: none !important; }

.mkr-card img {
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  background: #e8e8e8;
}
.mkr-media img, .mkr-split img:not(.mkr-sima) {
  width: 100% !important;
  height: 320px !important;
  max-height: 420px !important;
  min-height: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
}


/* Careers hiring cards */
.mkr-updated {
  margin: 0 0 0.85rem;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--mkr-gold) !important;
}
.mkr-hire-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.mkr-hire-card {
  background: var(--mkr-white);
  border: 1px solid var(--mkr-line);
  border-radius: 6px;
  padding: 1.5rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.mkr-hire-card h3 { margin-top: 0; }
.mkr-hire-card .mkr-btn {
  margin-top: auto;
  display: block;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  padding: 0.95rem 1.1rem;
  font-size: 1.12rem;
}
.mkr-btn-row .mkr-btn-lg { padding: 0.9rem 1.25rem; font-size: 1.08rem; }
.mkr-split img.mkr-sima,
img.mkr-sima {
  width: auto !important;
  max-width: 200px !important;
  min-height: 0 !important;
  max-height: 72px !important;
  height: auto !important;
  object-fit: contain !important;
  background: transparent !important;
}
@media (max-width: 800px) {
  .mkr-hire-grid { grid-template-columns: 1fr !important; }
  .mkr-hero .mkr-btn-row { flex-direction: column; align-items: stretch; }
  .mkr-hero .mkr-btn-row .mkr-btn { text-align: center; }
}
