/*
 Theme Name:   Nelson Institute Theme
 Theme URI:    https://nelsoninstitute.co.nz/
 Description:  Child theme for Nelson Institute Inc
 Author:       My Tech Guy
 Author URI:   https://mytechguy.co.nz/
 Template:     generatepress
 Version:      1.0
*/
:root,.editor-styles-wrapper {
  /* Base Colors – slightly warm neutral scale (tinted toward cream/heritage paper) */
  --base-0:   #ffffff;
  --base-100: #f5f1e8; /* warm cream */
  --base-200: #ece8e0;
  --base-300: #ddd7ce;
  --base-400: #c4bdb4;
  --base-500: #a79f96;
  --base-600: #7f7a72;
  --base-700: #5b5650;
  --base-800: #3b3834;
  --base-900: #1e1c1b;

  /* Brand – main identity colours (heritage / intellectual) */
  --brand:        #1E3A5F; /* Navy Blue – primary brand */
  --brand-alt:    #6D1B1B; /* Burgundy – secondary accent / hover */
  --brand-alt-95: rgba(109, 27, 27, 0.95);

  /* Brand background tones (used for sections or subtle panels) */
  --brand-bg:     #F5F1E8; /* warm cream */
  --brand-bg-alt: #EDE7DB; /* slightly deeper cream for alternates */

  /* Action – call-to-action tones */
  --action:       #B3923E; /* darker gold hover/alt */
  --action-alt:   #C8A94D; /* Muted Gold – primary CTA */
  --info:         #1E3A5F; /* reuse brand navy */
  --info-alt:     #486A92; /* lighter shade for hover/focus */
  --button-text:  #ffffff;

  /* Optional supporting tones */
  --accent:       #2F4F4F; /* Deep Green – divider/accent colour */
  --accent-alt:   #4B6A6A; /* lighter green tint for hover or borders */
}
.inside-article a.gbp-button--primary,
.inside-article a.gbp-button--secondary {
  color: unset; /* remove inherited .inside-article link colour for buttons */
}
/* Fluid Typography Scale */
h1, .fs-h1 {
	font-size: clamp(3rem, 2.7273rem + 1.0909vw, 3.6rem);
}
h2, .fs-h2 {
	font-size: clamp(2.25rem, 2.0455rem + 0.8182vw, 2.7rem);
}
h3, .fs-h3 {
	font-size: clamp(1.875rem, 1.7045rem + 0.6818vw, 2.25rem);
}
h4, .fs-h4 {
	font-size: clamp(1.5rem, 1.3636rem + 0.5455vw, 1.8rem);
}
h5, .fs-h5 {
	font-size: clamp(1.25rem, 1.1364rem + 0.4545vw, 1.5rem);
}
h6, .fs-h6 {
	font-size: clamp(1.125rem, 1.0227rem + 0.4091vw, 1.35rem);
}
p, .fs-p, cite {
	font-size: clamp(1rem, 0.9rem + 0.6vw, 1.125rem); /* 16px → 18px */
}
.hidden {display: none !important;}
.roundcorners {border-radius: 15px;}
.margin-none {margin: 0;}
.desktop-break {display: none;}
@media (min-width: 768px) {
  .desktop-break {display: block;}
}