/*
Theme Name: Simple Home Workout Child
Theme URI: https://simplehomeworkout.com
Description: Minimal GeneratePress child theme for Simple Home Workout. Presentation only —
            brand colour, heading font, front-page title suppression, footer credit.
            No business logic, no AI, no tool code (those live in the
            simple-home-workout-tools plugin and the shw-site mu-plugin).
Author: Simple Home Workout
Template: generatepress
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: shw-child
*/

/* ---- Brand tokens ---- */
:root {
  --shw-accent: #e94560;
  --shw-accent-dark: #c7314c;
  --shw-ink: #1a1a2e;
  --shw-deep: #0f3460;
}

/* ---- Headings: brand condensed face, body stays on the fast GP system stack ---- */
h1, h2, h3,
.entry-title,
.site-title {
  font-family: "Barlow Condensed", "Arial Narrow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  letter-spacing: -0.01em;
}

/* ---- Links / accents ---- */
a { color: var(--shw-accent); }
a:hover, a:focus { color: var(--shw-accent-dark); }

.entry-title a { color: var(--shw-ink); }
.entry-title a:hover { color: var(--shw-accent); }

/* GP buttons + read-more */
.button, button, input[type="button"], input[type="submit"],
.wp-block-button__link,
.read-more.button {
  background-color: var(--shw-accent);
  border-color: var(--shw-accent);
  color: #fff;
}
.button:hover, button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
  background-color: var(--shw-accent-dark);
  border-color: var(--shw-accent-dark);
  color: #fff;
}

/* GP navigation: brand hover/current */
.main-navigation .main-nav ul li:hover > a,
.main-navigation .main-nav ul li.current-menu-item > a,
.main-navigation .main-nav ul li a:focus {
  color: var(--shw-accent);
}

/* ---- Front page: the /home-landing/ page supplies its own <h1> inside the
       .shw-hp block, so suppress GeneratePress's page title there. Handled in
       functions.php via generate_show_title; this is a belt-and-braces fallback. */
.home .page .entry-header .entry-title { }

/* ---- Homepage block: let the self-contained .shw-hp block go full width ---- */
.page-id-1733 .site-content .content-area { max-width: 100%; }
.page-id-1733 .entry-content { margin-top: 0; }
.page-id-1733 .inside-article { padding: 0; }

/* ---- Ported content boxes (shw-site mu-plugin) keep their inline styles;
       just make sure they never overflow the content column ---- */
.shw-disclaimer, .shw-author-box, .shw-post-meta { max-width: 100%; overflow-wrap: anywhere; }

/* ---- Tool pages: comfortable reading width for the intro copy above the tool ---- */
.tool-intro { font-size: 1.02rem; line-height: 1.7; }
