/*
Theme Name: Scouting4beer
Theme URI: 
Author: Simon Digweed
Author URI: 
Description: Scouting4beer theme (child of Twenty Twenty-five). Block Theme.
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfive
Text Domain: scouting4beer
Tags: 
*/



/* ========================================
   COMPONENT: Page Introduction
   ======================================== */

.s4b-page-intro {
    text-align: left;
}

/* Main page heading */
.s4b-page-intro h1 {
    color: var(--wp--preset--color--custom-brand);
    font-family: var(--wp--preset--font-family--nunito-sans);
    font-size: clamp(3.5rem, 6.5vw, 6rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    text-align: left;
	margin-block-end: 0;
}

/* Date or introductory highlight */
.s4b-page-intro__date {
    color: var(--wp--preset--color--custom-alternate-background);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: uppercase;
}

/* Tight spacing between page heading and date */
.s4b-page-intro > h1 + .s4b-page-intro__date {
    margin-block-start: 0.05rem;
}


/* Spacing between date and introductory paragraph */
.s4b-page-intro > .s4b-page-intro__date + p {
    margin-block-start: 0.75rem;
}



