/*
 Theme Name:   MM
 Theme URI:    https://matchmarketing.ai
 Description:  MM GP child theme
 Author:       Chris Grau
 Author URI:   https://matchmarketing.ai
 Template:     generatepress
 Version:      1.1
*/

/* ===============================
   Reset & Global
   =============================== */

html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: no-preference) {
  html:focus-within { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background-color: #fff;
  color: #2a2a2a;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  font-size: 16px; /* stable body size */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 1024px) {
  body { font-size: 17px; }
}

img, video { max-width: 100%; height: auto; }

a {
  color: #9ebbc2;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover,
a:focus {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid #007c91;
  outline-offset: 2px;
}

/* Utility */
.no-wrap { white-space: nowrap; }
ol, ul { margin: 0 0 1.5em 1.25em; }

/* Content spacing (mobile-first) */
.one-container .site-content { padding: 0 16px; }
@media (min-width: 768px) {
  .one-container .site-content { padding: 0 40px; }
}

/* ===============================
   Header & Navigation
   =============================== */

.site-header {
  background-color: #3773a1;
  padding: 0;
}

.inside-header { padding: 6px 16px; }
@media (min-width: 768px) {
  .inside-header { padding: 8px 40px; }
}

.main-title {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.25rem, 2vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  display: inline-block;
}

.main-title a,
.main-title a:hover {
  color: #9ebbc2;
  text-decoration: none;
}

.main-navigation,
.main-navigation ul ul {
  background-color: #3773a1;
}

.main-navigation .main-nav ul li a,
.main-navigation .menu-bar-items {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: color 0.2s ease;
}

.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li[class*="current-menu-"] > a {
  color: #fff;
}

.main-navigation .main-nav ul ul li a { color: #fff; }
.main-navigation ul ul { width: 250px; }

@media (max-width: 768px) {
  .main-navigation .menu-toggle,
  .main-navigation .menu-toggle:hover {
    color: #fff;
  }
}

/* ===============================
   Headings (Playfair-like)
   =============================== */

h1, h2, h3, h4, h5, h6 {
  font-family: "Playfair Display", Georgia, "Times New Roman", Times, serif;
  font-weight: 600;
  color: #2a2a2a;
  margin: 0 0 0.5em;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

h1 {
  text-transform: none; /* Playfair feels better without all-caps */
  font-size: clamp(2.1rem, 6vw, 3.4rem);
	margin-top: 1em;
	margin-bottom: 0.75em;
}

h2 {
  text-transform: none;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: 0.5em;
}

h4 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #000;
  margin-bottom: 0.5em;
}


/* ===============================
   Buttons & Inputs
   =============================== */

button,
input[type="button"],
input[type="submit"],
.wp-block-button__link {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  background-color: #9ebbc2;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 0.75em 1.5em;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

button:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
  background-color: #9ebbc2;
}

/* ===============================
   Widgets / Sidebar
   =============================== */

.widget-area .widget {
  padding: 0;
  margin-bottom: 2em;
}

/* ===============================
   Footer
   =============================== */

.site-footer,
.footer-widgets,
.site-info {
  background-color: #3773a1;
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.4;
  padding: 1em 0;
}

.widget-title {
	color: #fff;
}


.footer-widgets .widget { margin-bottom: 5px; }

.footer-widgets a { color: #fff; }
.footer-widgets a:hover { color: #9ebbc2; }

.site-info a { color: #9ebbc2; }
.site-info a:hover { color: #fff; }
.inside-site-info {
	display: block;
}

.footer-widget-3 { display: none; }




