/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* adjust wistia video frame */

.video-frame  {
    -webkit-box-shadow: 1px 1px 3px 0px rgba(139, 139, 139, 6);
    -moz-box-shadow: 1px 1px 3px 0px rgba(139, 139, 139, 6);
    box-shadow: 1px 1px 3px 0px rgba(139, 139, 139, 6);
	margin-bottom: 2rem;
	display: block;
}
.video-frame iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* hide post entry meta */

.entry-meta {
	display: none;
}

/* blockquote styling */

blockquote {
	font-size: 20px;	
    font-weight: 700;
    font-style: italic;
    padding:1.2em 30px 1.2em 50px;
    border-left: 8px solid var(--base);
   color: var(--accent-dark);
    text-align: left;
}
blockquote::before{
  font-family:Arial;
  content: "\201C";
  color: #ccc;
  font-size:3em;
  position: absolute;
  left: 10px;
  top:-10px;
}

blockquote::after {
  content: '';
}

/* list styling */

.references li {
	font-size: 14px;
}

.clip-right {
	clip-path: polygon(10% 0, 100% 0%, 100% 100%, 0 100%);
}

.clip-left {
	clip-path: polygon(0 0%, 100% 0%, 100% 100%, 10% 100%);
}

/* Remove bottom margin on last element */
p:last-child:last-of-type {
	margin-bottom: 0;
}

/* Fluid Typography Scale */

h1, .fs-h1 {
	font-size: clamp(2.4rem, 2.7273rem + 1.0909vw, 3.0rem);
}

h2, .fs-h2 {
	font-size: clamp(2.25rem, 2.0455rem + 0.8182vw, 2.7rem);
}

h3, .fs-h3 {
	font-size: clamp(1.875rem, 1.7045rem + 0.6818vw, 2.25rem);
}

h4, .fs-h4 {
	font-size: clamp(1.5rem, 1.3636rem + 0.5455vw, 1.8rem);
}

h5, .fs-h5 {
	font-size: clamp(1.25rem, 1.1364rem + 0.4545vw, 1.5rem);
}

h6, .fs-h6 {
	font-size: clamp(1.125rem, 1.0227rem + 0.4091vw, 1.35rem);
}

p, .fs-p {
	font-size: clamp(0.8333rem, 0.7576rem + 0.303vw, 1rem);
}

/* Apply underline from left to generate Press nav men links */
.main-nav .sf-menu > li > a {
	display: inline-block;
	position: relative;
	overflow: hidden;
	transition: color 0.3s ease;
}

.main-nav .sf-menu > li > a::before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 100%;
	height: 2px;
	background-color: currentColor;
	transition: right 0.3s ease-out;
	z-index: 1;
}

.main-nav .sf-menu > li > a:hover:before,
.main-nav .sf-menu > li > a:focus:before {
	right: 0;
}
