/*
 Theme Name:   Verbalise
 Theme URI:    https://verbalise.ai/
 Description:  A GeneratePress child theme
 Author:       Paul Jones Design
 Author URI:   https://pauljonesdesign.com/
 Template:     generatepress
 Version:      0.2
*/


/* ___ GLOBAL ___ */

html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	/* Disable smooth scrolling for reduced motion users */
	html {
	  scroll-behavior: auto;
	}
  
	/* Disable animations and transitions for reduced motion users */
	*, *::before, *::after {
	  animation-duration: 0ms !important;
	  transition-duration: 0ms !important;
	}
  }


/* ||  CSS RESET */

img,
svg,
video,
canvas,
iframe,
object {
  display: block;
  max-width: 100%;
}


/* ||  TYPOGRAPHY */

/* These have to match what is in the Customizer > Typography. Pull in font families using font manager. Set headline-font as 'All Headings and set body-font as HTML. */
:root {
    	--heading-font: Poppins, sans-serif;
	--body-font: Lora, serif;
	--button-font: Poppins, sans-serif;
	--ipa-h1: clamp(2.5rem, 2rem + 2vw, 3.5rem);
	--ipa-h2: clamp(2.25rem, 1.875rem + 1.5vw, 3rem);
	--ipa-h3: clamp(1.05rem, 1.6667vw + .25rem, 1.5rem);
	--ipa-h4: 1.25rem;
	--ipa-h5: 1.125rem;
	--ipa-h6: 1rem;
	--ipa-heading--xl: clamp(2.5rem, 2rem + 2vw, 3.5rem);
	--ipa-heading--lg: clamp(2.25rem, 1.875rem + 1.5vw, 3rem);
	--ipa-heading--md: clamp(1.5rem, 1.125rem + 1.5vw, 2.25rem);
	--ipa-heading--sm: 1.25rem;
	--ipa-heading--xs: 1rem;
	--ipa-text--xl: clamp(1.25rem, 0.875rem + 0.781vw, 1.5rem);
	--ipa-text--lg: clamp(1.125rem, 1.063rem + 0.25vw, 1.25rem);
	--ipa-text--md: clamp(1rem, 0.753rem + 0.515vw, 1.125rem);
	--ipa-text--sm: clamp(0.85rem, 0.7rem + 0.312vw, 0.95rem);
	--ipa-text--xs: clamp(0.75rem, 0.6rem + 0.312vw, 0.85rem);
}

/* Default Body / p font settings */
p {
	font-size: var(--fs-text--md);
	font-weight:400;
	line-height:1.5;
	margin-bottom:1.5rem;
	font-family:var(--body-font);
}

h1, h2, h3, h4, h5, h6 {
	font-weight:600;
	margin-bottom: .5em;
	font-family: var(--heading-font);
}

h1 {
	font-size:var(--ipa-h1);
	line-height:1.15;
}

h2 {
	font-size:var(--ipa-h2);
	line-height:1.1;
}

h3 {
	font-size:var(--ipa-h3);
	line-height:1.15;
}

h4 {
	font-size:var(--ipa-h4);
	line-height:1.1;
}

h5 {
	font-size:var(--ipa-h5);
	line-height:1.25;
}

h6 {
	font-size:var(--ipa-h6);
	line-height:1.4;
}

h1, h2, h3, h4, h5, h6, .balance {
	text-wrap: balance;
}

p, .pretty {
	text-wrap: pretty;
}

.no-text-wrap, .text-wrap-unset {
	text-wrap: unset;
}


/* ||  GLOBAL */
.gb-button-wrapper a.gb-button, .gb-button, .main-navigation .menu-toggle {
		transition: all 0.3s ease 0s;
}

/* Remove bottom margin on last paragraph */
.gb-container p:last-child:last-of-type {
    margin-bottom: 0px;
}

.block-editor-block-list__layout .gb-container p:nth-last-child(2) {
    margin-bottom: 0px;
}

#main {
	min-height: 65vh;
}

/* Visually Hidden */
.ipa-visually-hidden:not(:focus):not(:active) {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

/* Removes off-center, mobile menu icon positioning. */
.icon-menu-bars.gp-icon svg {
	top:0em;
}

.post-type-post .editor-styles-wrapper {
    max-width: 656px;
    margin-inline: auto;
    width: 100%;
}

