/*
 * Theme Name: P-Sizzle
 * Description: yo p dawg its ya birfday
 * Author: Upstatement/P-slice
 */


* {
    font-family:"Sarabun", sans-serif;
    font-weight: 300;
}

img.responsive {
    width: 100%;
    max-width: 300px;
}

p {
    font-weight: 300;
    line-height: 1.5em;
}

a, a:visited, .sidebar-links a.pure-menu-link {
    color: #d5a474;
    text-decoration: none;
}

a.read-more {
    text-decoration: none;
}

a.read-more:hover {
    text-decoration: underline;
}

a:hover {
    text-decoration: underline;
    text-underline-offset: .5em;
}

h1.hdr-logo {
    margin-left: 2em;
    width: unset;
}

h1 a {
    font-family:"DM Serif Display", serif;
}

h1, h2.post-title a {
    //font-family: "DM Serif Display", serif;
    color: black;
}

h1 > a, a:visited {
    color: black;
}

h1 > a:hover { 
    color: #d5a474;
}

h2.post-title a {
    font-family:"DM Serif Display", serif;
    text-decoration: none;
    color: black;
    //color: #d5a474;
}

h2.post-title a:hover, h2.post-title a:focus {
    color: #d5a474;
    //color: #ada69f;
}

h2.post-title:hover {
    border-left: 3px solid #d5a474;
    padding-left: 5px;
    margin-left: -8px;
    padding-bottom: 3px;
    margin-bottom: -3px;
}


header {
    position: sticky;
    top: -1px;
    z-index: 4;
    background:white;
}

header.is-pinned {
    border-bottom: 1px outset rgba(0,0,0,0.05);
}

footer {
    text-align: right;
    padding: 2em;
    grid-row-start: 2;
    grid-row-end: 3;
}

section#content {
    margin: 0 auto;
    max-width: 1140px;
    min-height: calc(100vh - 190px);
}

article.tease-episode + article.tease-episode {
    margin-top: 2em;
    border-top: 1px outset;
}

#content {
    overflow-x: hidden;
}

#nav-main {
    //padding: 0.5em;
    position: absolute;
    bottom: 0;
    right: 0;
    margin-right: 2em;
    width: unset;
    margin-bottom: .67em;
    text-align: center;
    //width: 100%;
}

#nav-main svg {
    max-height: 30px;
    max-width: 30px;
}

a.pure-menu-link:hover {
    text-decoration: underline;
}

#nav-main a.pure-menu-link:hover, #nav-main a.pure-menu-heading:hover {
    color: #d5a474;
}

#nav-main a.pure-menu-heading:hover {
    text-decoration: none;
}

#nav-main a.pure-menu-heading {
    color: black;
    font-size: 2.2em;
}

#nav-main a.pure-menu-link {
    color: #777;
}

.other-episodes > * {
    padding-top: 1em;

}

.pure-u-1 {
    width: 100%;
}

.pure-g > .l-box {
    box-sizing: border-box;
}

.pagination-block {
    margin: 4em 0 0 0;
}

.section-wrapper {
    margin: 0 1em;
}

@media screen and (min-width: 35.5em) {
    section#content {
	max-width: 35.5em;
    }

    .pagination-block {
	margin-left: 4em;
    }
}

@media screen and (min-width: 48em) {
    section#content {
	max-width: 48em;
    }
}

@media screen and (min-width: 64em) {
    section#content {
	max-width: 64em;
    }

    .pagination-block {
	margin-bottom: 4em;
    }

    .pure-u-lg-1-4 {
	width: 25%;
    }

    .pure-u-lg-3-4 {
	width: 75%;
    }

    .l-box + .l-box {
	padding-left: 2em;
    }
}
@media screen and (min-width: 80em) {
    section#content {
	max-width: 80em;
    }
}


.pure-menu-heading {
    text-transform: none;
    font-family: "Tenor Sans", sans-serif;
}

.pure-menu a:hover {
    background: unset;
    color: #d5a474;
}

.sidebar-links .pure-menu-heading {
    padding-left:0;
}

audio.podcast-episode {
    width: 95%;
    padding: 1em;
}

.episode-info {
    margin-top: 2em;
    margin-bottom: 1em;
}

.menu-button-container {
    display: none;
    height: 100%;
    width: 30px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#menu-toggle {
    display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
    display: block;
    background-color: #777;
    position: absolute;
    height: 4px;
    width: 30px;
    transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 2px;
}

.menu-button::before {
    content: '';
    margin-top: -8px;
}

.menu-button::after {
    content: '';
    margin-top: 8px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
    margin-top: 0px;
    transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
    background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
    margin-top: 0px;
    transform: rotate(-405deg);
}

@media screen and (max-width: 48em) {
    #nav-main {
	bottom: 1.6em;
    }

    .menu-button-container {
	display: flex;
    }

    #menu-toggle ~ .menu-content li {
	height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    #menu-toggle ~ .menu-content li a {
	display: none;
    }

    #menu-toggle:checked ~ .menu-content li a {
	display: block;
    }

    #menu-toggle:checked ~ .menu-content li {
	height: 2.5em;
	padding: 0.5em;
	transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
    }

    .pure-menu-list.menu-content {
	display:flex;
	position: fixed;
	top: 2em;
	margin-top: 50px;
	left: 0;
	flex-direction: column;
	width: 100%;
	justify-content: center;
	align-items: center;
    }

    .pure-menu-list.menu-content > li {
	display:flex;
	justify-content: center;
	margin: 0;
	padding: 0.5em 0;
	width: 100%;
	background-color:white;
    }
}

.page-number.current {
    padding: .5em 1em;
}

.pagination.pure-menu-list {
    display: flex;
    flex-flow: row wrap;
}

.wplf-form .wplf-formRow input {
    padding: 0.5rem 0;
}

.wplf-form .wplf-formRow {
    flex-flow: column nowrap;
}

.wplf-formRow label {
    align-self: flex-start;
}

.wplf-formRow button {
    padding: 1rem 2rem;
}

.wplf-form .wplf-formRow.wplf-fcaptcha {
    bottom: unset;
}
