/*
Theme Name: Vaal River Bass Classic Block Theme
Theme URI: https://vaalriverbassclassic.co.za/
Author: Wells Web Tech
Author URI: https://wellswebtech.com/
Description: Full Site Editing block theme for the Vaal River Bass Classic. The header, footer, homepage sections and partner logos are editable in the WordPress Site Editor.
Version: 3.0.8
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: vaal-river-bass-classic
Tags: full-site-editing, block-patterns, block-styles, custom-colors, custom-logo, featured-images, wide-blocks
License: GPL-2.0-or-later
*/

/* Shared fluid typography scale.
 * H1-H4 retain the recommended scale.
 * H5 and H6 are lifted slightly so every heading remains visibly larger than body copy.
 */
:root {
  --vrbc-text-h1: clamp(2.125rem, 1.729rem + 1.690vw, 3.25rem);
  --vrbc-text-h2: clamp(1.8125rem, 1.526rem + 1.221vw, 2.625rem);
  --vrbc-text-h3: clamp(1.5rem, 1.28rem + 0.939vw, 2.125rem);
  --vrbc-text-h4: clamp(1.25rem, 1.118rem + 0.563vw, 1.625rem);
  --vrbc-text-h5: clamp(1.1875rem, 1.077rem + 0.469vw, 1.5rem);
  --vrbc-text-h6: clamp(1.125rem, 1.081rem + 0.188vw, 1.25rem);
  --vrbc-text-body: clamp(1rem, 0.956rem + 0.188vw, 1.125rem);
}

body,
.vrbc-page-content,
.entry-content,
.wp-block-post-content {
  font-size: var(--vrbc-text-body);
}

p,
li,
.vrbc-page-content p,
.vrbc-page-content li,
.entry-content p,
.entry-content li,
.wp-block-post-content p,
.wp-block-post-content li {
  font-size: var(--vrbc-text-body);
}

h1,
h1.wp-block-heading,
.vrbc-page-content h1,
.entry-content h1,
.wp-block-post-content h1,
.vrbc-page-card h1,
.vrbc-about-panel h1 {
  font-size: var(--vrbc-text-h1);
}

h2,
h2.wp-block-heading,
.vrbc-page-content h2,
.entry-content h2,
.wp-block-post-content h2,
.vrbc-page-card h2,
.vrbc-about-panel h2,
.vrbc-section-title {
  font-size: var(--vrbc-text-h2);
}

h3,
h3.wp-block-heading,
.vrbc-page-content h3,
.entry-content h3,
.wp-block-post-content h3,
.vrbc-page-card h3,
.vrbc-about-panel h3,
.vrbc-footer h3 {
  font-size: var(--vrbc-text-h3);
}

h4,
h4.wp-block-heading,
.vrbc-page-content h4,
.entry-content h4,
.wp-block-post-content h4,
.vrbc-page-card h4,
.vrbc-about-panel h4 {
  font-size: var(--vrbc-text-h4);
}

h5,
h5.wp-block-heading,
.vrbc-page-content h5,
.entry-content h5,
.wp-block-post-content h5,
.vrbc-page-card h5,
.vrbc-about-panel h5 {
  font-size: var(--vrbc-text-h5);
}

h6,
h6.wp-block-heading,
.vrbc-page-content h6,
.entry-content h6,
.wp-block-post-content h6,
.vrbc-page-card h6,
.vrbc-about-panel h6 {
  font-size: var(--vrbc-text-h6);
}

.vrbc-page-content :is(h1, h2, h3, h4, h5, h6),
.entry-content :is(h1, h2, h3, h4, h5, h6),
.wp-block-post-content :is(h1, h2, h3, h4, h5, h6) {
  line-height: 1.08;
  margin-top: 1.15em;
  margin-bottom: 0.55em;
}

.vrbc-page-content > :is(h1, h2, h3, h4, h5, h6):first-child,
.entry-content > :is(h1, h2, h3, h4, h5, h6):first-child,
.wp-block-post-content > :is(h1, h2, h3, h4, h5, h6):first-child {
  margin-top: 0;
}
