/*
Theme Name: Geordie Crawl
Theme URI: https://geordiecrawl.com
Author: W Web Design & Hosting
Author URI: https://wwebdesign.co.uk
Description: Lightweight custom theme for Geordie Crawl — code-registered ACF blocks, no page builder, no build step. Replaces the Kadence + Elementor stack.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: geordiecrawl
*/

:root {
  /* Brand palette */
  --gc-red:        #dd0000;
  --gc-red-dark:   #b00000;
  --gc-black:      #000000;
  --gc-charcoal:   #1a202c;
  --gc-white:      #ffffff;
  --gc-off-white:  #f7fafc;
  --gc-text:       #2d3748;
  --gc-muted:      #718096;

  /* Roles */
  --gc-bg:         #ffffff;
  --gc-card-bg:    #ffffff;
  --gc-accent:     var(--gc-red);

  /* Typography */
  --gc-font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --gc-content-max: 1290px;
  --gc-wide-max:    1520px;
  --gc-narrow-max:  842px;
  --gc-edge:        1.5rem;
  --gc-header-height: 90px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--gc-font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--gc-text);
  background: var(--gc-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gc-red); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--gc-font);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.5rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* Red highlight on a heading word (red text or red background) */
.gc-hl       { color: var(--gc-red); }
.gc-hl--bg   { background: var(--gc-red); color: var(--gc-white); padding: 0 .12em; }

/* Shared container */
.gc-container { max-width: var(--gc-content-max); margin-inline: auto; padding-inline: var(--gc-edge); }
.gc-container--wide { max-width: var(--gc-wide-max); }

/* Buttons */
.gc-btn {
  display: inline-block;
  font-family: var(--gc-font);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: 1rem;
  line-height: 1;
  padding: 22px 38px;
  border: 0;
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}
.gc-btn:hover { text-decoration: none; }
.gc-btn--red   { background: var(--gc-red);   color: var(--gc-white); }
.gc-btn--red:hover   { background: var(--gc-black); color: var(--gc-white); }
.gc-btn--black { background: var(--gc-black); color: var(--gc-white); }
.gc-btn--black:hover { background: var(--gc-red);   color: var(--gc-white); }
.gc-btn--white { background: var(--gc-white); color: var(--gc-red); }
.gc-btn--white:hover { background: var(--gc-black); color: var(--gc-white); }

/* Prose / plain pages (policies) */
.gc-page { padding-block: 3rem 4rem; }
.gc-page__title { margin-bottom: 1.5rem; }
.gc-prose { max-width: var(--gc-narrow-max); }
.gc-prose h2, .gc-prose h3 { margin-top: 1.6em; }
.gc-prose ul, .gc-prose ol { padding-left: 1.25rem; margin: 0 0 1em; }
.gc-prose li { margin-bottom: .4em; }
.gc-prose a { text-decoration: underline; }

/* Visually-hidden (a11y) */
.gc-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
