/*
Theme Name: Chestnut
Theme URI: 
Author: HoosierCoders
Author URI: 
Description: A custom theme built for podcasts.
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: chestnut
Tags: 
*/

/* GENERAL */
body {
    overflow-x: hidden;
}

::selection {
    background-color: #d51c1c4d;
}

/* HEADER */
.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:hover {
    color: var(--wp--preset--color--vivid-red);
}

ul.wp-block-navigation__container {
    gap: 2rem;
}

nav + figure {
    margin-left: 10px!important;
}

/* HOME PAGE */
.home-page-subheading {
    max-width: 979px;
    display: inline-block;
    white-space: normal;
}

.hero-section {
    position: relative;
}

.hero-section::before {
    content: "";
    display: block;
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 175px;
    background-color: white;
}

.n2-ss-slider-controls {
    max-width: 1280px;
    left: 0;
    right: 0;
    margin: auto;
}

.nextend-bullet-bar {
    gap: 0.5rem;
    align-items: baseline!important;
    position: relative;
    bottom: -42px;
}

.nextend-bullet-bar > div > .n2-bullet {
    margin: 0!important;
}

.n2-bullet {
    width: 46px;
    padding: 0!important;
    height: 6px;
    transition: 85ms;
}

.n2-bullet.n2-active {
    height: 12px;
}

/* FOOTER */
.footer-email-signup {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 56px;
    margin: 1rem 0;
}

.footer-email-signup input[type="email"] {
    border: none;
    padding: 0 1rem;
    height: 100%;
    box-sizing: border-box;
    font-family: StevieSansThin, sans-serif;
    font-size: 18px;
    font-weight: 400;
    width: 312px;
}

.footer-email-signup button[type="submit"] {
    height: 100%;
    border: none;
    background-color: var(--wp--preset--color--vivid-red);
    color: var(--wp--preset--color--white);
    font-size: 18px;
    cursor: pointer;
    font-weight: 400;
    padding: 0 1rem;
    font-family: StevieSansThin, sans-serif;
    width: 148px;
}

/* PODCAST PAGE BLOCKS */
.fullwidth-bg-gray {
  position: relative;
}

.fullwidth-bg-gray::before {
  content: "";
  display: block;
  position: absolute;
  width: 100vw;
  height: 100%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: -1;
  background: #ebeaed;
}

.email-signup-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.5rem 0;
}

.email-signup-banner span {
    font-size: 32px;
}

.biography {
    padding-top: 55px;
}

.biography .pre-heading {
    font-size: 24px;
    margin-bottom: 0;
}

.biography .heading {
    font-size: 70px;
    margin: 0;
    line-height: 81px;
}

.biography .image-banner {
    background-color: var(--wp--preset--color--vivid-red);
    color: white;
    font-weight: 500;
    font-size: 20px;
    display: block;
    position: relative;
    font-family: StevieSansMedium, sans-serif;
    top: -27px;
    width: 100%;
    max-width: 92%;
    margin: auto;
    height: 36px;
    line-height: 36px;
    letter-spacing: 0.6rem;
}

.biography .call-to-share {
    font-family: StevieSansMedium, sans-serif;
    font-size: 24px;
    margin-top: 1.9rem;
    margin-bottom: 0.8rem;
}

.biography .podcast-description {
    margin: 0;
    line-height: 1.5;
}

.biography .podcast-website a {
    text-decoration: none;
    font-size: 16px;
}

.biography .wp-block-social-links {
    margin-bottom: 2rem;
}

.iframe-player {
    display: flex;
    align-items: center;
    justify-content: center;
}

.accent {
    color: var(--wp--preset--color--vivid-red);
}

.host-section > h2 {
    font-size: 48px;
    margin-top: 58px;
}

.host-section .host h2 {
    font-size: 48px;
    margin-top: 0;
    margin-bottom: 0;
}

.host-section .host h3 {
    font-family: StevieSansBook, sans-serif;
    margin-top: 0;
    font-size: 18px;
    margin-bottom: 0.5rem;
}

.host-section .host p {
    line-height: 1.5;
    margin: 0.5rem 0;
}

.reviews {
    margin-bottom: 2rem;
}

.reviews h2 {
    font-size: 48px;
    margin-bottom: 1rem;
}

.big-links .wp-block-buttons {
    padding: 3rem 2rem;
    box-sizing: border-box;
    display: flex;
    gap: 1rem;
}

.big-links .wp-block-buttons .wp-block-button {
    flex: 1;
}

.big-links .wp-block-buttons .wp-block-button a {
    padding: 0 3rem;
    box-sizing: border-box;
    font-size: 24px;
    color: black;
    border: 2px solid black;
    background-color: transparent;
    aspect-ratio: 2.22/1;
    transition: 150ms;
}

.big-links .wp-block-buttons .wp-block-button a:hover {
    background-color: var(--wp--preset--color--vivid-red);
    border-color: var(--wp--preset--color--vivid-red);
    color: white;
}

@media only screen and (max-width: 1024px) {
	.featured-content-title, .big-title {
		font-size: 50px!important;
	}
}

@media only screen and (max-width: 985px) {
	.header-listen-link {
		display: none;
	}
	
	.email-signup-banner > span {
		font-size: 24px;
	}
	
	.biography .heading {
		font-size: 50px;
	}
}

@media only screen and (max-width: 869px) {
    .big-links .wp-block-buttons {
        padding: 2rem 0.5rem;
    }

    .big-links .wp-block-buttons .wp-block-button a {
        font-size: 122%;
        padding: 0 1rem;
    }
	
	.email-signup-banner {
		flex-direction: column;
    	gap: 0;
    	padding-top: 1.5rem;
		padding-left: 0.5rem;
		padding-right: 0.5rem;
	}
	
	.email-signup-banner > span {
		font-size: 18px;
	}
	
	.host-section > h2, .host-section .host h2, .reviews h2 {
		font-size: 32px;
	}
	
	.footer-email-signup button[type="submit"] {
		width: auto;
	}
	
	.biography {
		padding-top: 1rem;
	}
}

@media only screen and (max-width: 750px) {
	.has-large-font-size {
		font-size: 24px!important;
	}
	
	.host-section * {
		text-align: center;
	}
	
	.wp-block-social-links {
		justify-content: center;
	}
	
	.footer-email-signup input[type="email"] {
		width: auto;
		padding: 0.75rem;
		font-size: 1rem;
	}
	
	.footer-email-signup button[type="submit"] {
		padding: 0 0.75rem;
		font-size: 1rem;
	}
	
	.biography .image-banner {
		font-size: 1rem;
		letter-spacing: 0.025rem;
	}
}

@media only screen and (max-width: 530px) {
	.big-title {
		font-size: 30px!important;
	}
	
	.biography .heading {
        font-size: 26px;
		line-height: 1.25;
    }
	
	.biography .pre-heading {
		font-size: 16px;
	}
	
	.big-links .wp-block-buttons .wp-block-button a {
        font-size: 85%;
        padding: 0 1rem;
    }
}
