/*
 Theme Name:   Lessonhaus Child Theme
 Theme URI:    https://lessonhaus.com/
 Description:  Custom child theme built on Twenty Twenty-Five for Lessonhaus
 Author:       Nick Charlesworth
 Author URI:   https://lessonhaus.com/
 Template:     twentytwentyfive
 Version:      1.0.0
*/

/* ---------------------------------------------------------
   GLOBAL TYPOGRAPHY
--------------------------------------------------------- */

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

/* ---------------------------------------------------------
   BRAND COLORS
--------------------------------------------------------- */

a {
    color: #A855F7; /* Lessonhaus Purple */
}

a:hover {
    text-decoration: underline;
}

/* ---------------------------------------------------------
   BUTTONS
--------------------------------------------------------- */

.wp-element-button,
button,
input[type="submit"] {
    background: #A855F7; /* Lessonhaus Purple */
    border-radius: 999px;
    padding: 0.6em 1.4em;
    border: none;
    color: #ffffff;
    font-weight: 600;
}

.wp-element-button:hover,
button:hover,
input[type="submit"]:hover {
    opacity: 0.9;
}

/* ---------------------------------------------------------
   HEADING SCALE (Responsive with fallbacks)
--------------------------------------------------------- */

h1 {
    font-size: 3rem;                  /* fallback */
    font-size: clamp(2.4rem, 3vw, 3rem);
    line-height: 1.15;
    font-weight: 700;
}

h2 {
    font-size: 2.4rem;                /* fallback */
    font-size: clamp(2rem, 2.5vw, 2.4rem);
    line-height: 1.2;
    font-weight: 700;
}

h3 {
    font-size: 2rem;                  /* fallback */
    font-size: clamp(1.6rem, 2vw, 2rem);
    line-height: 1.25;
    font-weight: 700;
}

h4 {
    font-size: 1.6rem;                /* fallback */
    font-size: clamp(1.3rem, 1.6vw, 1.6rem);
    line-height: 1.3;
    font-weight: 700;
}
