/*
 Theme Name:   ACUNews Daily
 Theme URI:    https://acunewsdaily.com/
 Description:  A custom child theme for GeneratePress
 Author:       Paul Jones Design
 Author URI:   https://pauljonesdesign.com/
 Template:     generatepress
 Version:      1.0
*/

/* ========== TABLE OF CONTENTS ==========
 * 
 * Theme
 * Utilty
 * Typography
 * Global Styles
 * Fluent Forms
 * CSS Grid
 * 
 ========================================= */

.admin-bar .site-header {
	top: 32px;
}

/* ||  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: "Fira Sans Condensed", sans-serif;
	--body-font: "Inter", sans-serif;
	--ipa-h1: clamp(1.25rem, 2.7778vw + -.0833rem, 2rem);
	--ipa-h2: clamp(1.125rem, 1.8519vw + .2361rem, 1.625rem);
	--ipa-h3: clamp(1.05rem, 1.6667vw + .25rem, 1.5rem);
	--ipa-h4: clamp(1.05rem, .7407vw + .6944rem, 1.25rem);
	--ipa-h5: clamp(1rem, 0.753rem + 0.515vw, 1.125rem);
	--ipa-h6: clamp(1rem, 0.753rem + 0.515vw, 1.125rem);
	--ipa-heading--xl: clamp(1.875rem, 3.2407vw + .3194rem, 2.75rem);
	--ipa-heading--lg: clamp(1.25rem, 2.7778vw + -.0833rem, 2rem);
	--ipa-heading--md: clamp(1.125rem, 1.8519vw + .2361rem, 1.625rem);
	--ipa-heading--sm: clamp(1.05rem, 1.6667vw + .25rem, 1.5rem);
	--ipa-heading--xs: clamp(1rem, .9259vw + .5556rem, 1.25rem);
	--ipa-text--xl: clamp(1.25rem, 0.875rem + 0.781vw, 1.5rem);
	--ipa-text--lg: clamp(1rem, .9259vw + .5556rem, 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.05;
}

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;
}

p, .pretty, h1, h2, h3, h4, h5, h6 {
	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 */
.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;
}

/* No Underline */
.no-ul, .no-ul a {
	text-decoration: none;
}

/* Knocks out the original overlay side padding to 0. */
.slideout-navigation.do-overlay .inside-navigation {
	padding: 0 0 0 0;
	max-width: 100%;
}

/* Puts the X close icon to the top right. */
.slideout-navigation.do-overlay .slideout-exit {
    position: fixed;
    text-align: right;
}

/* Overrides the original default link colour. */
.slideout-navigation .Button_Primary, .slideout-navigation .Button_Primary a {
    color: var(--white);
}

/* Overrides the Sup[er List Block line height. */
.wp-block-createwithrani-superlist-item a {
	line-height:1.1;
}

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

/* Search icon - remove GeneratePress default. Keep this CSS if you're using a custom icon. */
.main-navigation .menu-bar-item>a {
	display:none;
}

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