@charset "utf-8";

* { box-sizing: border-box; }

html
{
    font-size: 3.8px;
}

/* Start auto-resizing */
@media screen and (min-width: 380px)
{
    html
    {
        font-size: clamp(
			calc( 16px / 2.4 ),
			1vw,
			calc( 18px / 2.4 )
		);
    }
}

/* Stop auto-resizing */
@media screen and (min-width: 900px)
{
    html
    {
        font-size: 9px;
    }
}

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

body
{
    font-size: 2rem;
    background-color: var(--lightyellow);
    margin: 0;
    font-family: "Chrono", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    padding-bottom: 4rem;
}

#pageheader p,
header h1,
h2
{
    font-family: "duper", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

#pageheader
{
    position: relative;
}

#pageheader p
{
    color: var(--lightblue);
    font-size: 3.2rem;
    font-style: italic;
    position: relative;
    padding: 0 5vw;
    max-width: 70ch;
    margin-top: 0.75em;
    box-sizing: border-box;
}

#pageheader a
{
    color: inherit;
}

#pageheader img {
	width: 100%;
	height: auto;
}

p a,
li a
{
   color: var(--red);
}

#pageheader,
#pagefooter,
main
{
    margin: 0 auto;
    max-width: calc( 80rem + 10vw );
}

main {
    padding-left: 5vw;
    padding-right: 5vw;
}

hr
{
    border: 0;
    margin: 2em 0;
}

a.feedurl
{
   display: inline-block;
   padding: 0.5rem 0.75rem;
   background: var(--lightblue);
   color: var(--lightyellow) !important;
   text-decoration: none;
   border-radius: 0.8rem;
   font-weight: 600;
   font-size: 0.625em;
   line-height: 1;
   position: relative;
   bottom: 0.65rem;
   left: 1rem;
}

a.feedurl:hover
{
    filter: hue-rotate(25deg);
}

header+hr
{
    background-image: url("/img/line-dotted.png");
    height: 3.5rem;
    background-size: contain;
    background-position: top left;
    background-repeat: repeat-x;
}

.transcript article
{
   padding: 0 4rem;
}

article.episode,
.transcript article header
{
    padding: 6rem;
    margin: 4rem auto 8rem auto;
    position: relative;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: grid;
    max-width: 80rem;
}

.transcript article header
{
   margin: 4rem auto 4rem auto;
   text-align: center;
}

article.episode
{
    background-image: url("/img/box-yellow-2.jpg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: 50% 50%;
}

.episode header
{
    text-align: center;
}

.episode header h2,
.transcript header h2
{
    margin: 0 0 0.2em 0;
    color: var(--red);
    font-size: 5.5rem;
    line-height: 1em;
    font-style: italic;
    text-align: center;
}

.episode header h2 span,
.transcript header h2 span
{
    font-weight: normal;
    font-size: 1.4em;
    position: relative;
    padding-right: 1rem;
    top: 0.05em;
}

.episode header h2 a
{
   color: inherit;
   text-decoration: none;
}

.episode header h3 /* season badge */
{
  position: relative;    
  padding: 0;    
  
  text-indent: -99999px;
  color: transparent;
  
  background-repeat: no-repeat;
  background-size: contain;  
}
  .episode header h3.season01
  {
    width: 14rem;
    height: 14rem;    
    top: -6rem;
    left: -6rem;
    margin: 0 0 -14rem 0;
    
    background-position: top left;  
    background-image: url("/img/season-badge-s1.png");
  }
  .episode header h3.season02
  {
    width: 10rem;
    height: 10rem; 
    top: -8rem;
    left: 100%;
    margin: 0 0 -12rem 0;
    
    background-position: top right;  
    background-image: url("/img/season-badge-s2.png");
  }

.episode h2#show-notes
{
   color: var(--lightblue);
   font-size: 3.8rem;
   line-height: 1.2em;
   margin: 0;
   font-style: italic;
   justify-self: start;
}

.episode ul
{
   justify-self: start;
   font-size: 1.2em;
   line-height: 3.5rem;
}

.episode header .episode-metadata,
.transcript header .episode-metadata
{
    margin: 0;
    color: var(--darkyellow);
}

.episode p,
.transcript article p
{
    font-size: 2.4rem;
    line-height: 1.4;
}

article.episode footer
{
    position: absolute;
    bottom: -6rem;
    display: block;
    padding: 0;
    width: 100%;
}

article.episode footer ul
{
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

article.episode footer li
{
    list-style: none;
}

li.transcript a
{
   font-weight: 500;
}

.episode-actions li
{
    position: relative;
    width: 20rem;
    margin-top: 2rem;
    height: 5.6rem;
    mix-blend-mode: multiply;
}

.episode-actions img {
    width: 100%;
}

.episode-actions li a:hover
{
    filter: hue-rotate(25deg);
}

li.playnow
{
   right: -2rem;
}

li.apple
{
   left: -2rem;
}

li.podlink a
{
    background-image: url("/img/podcast-etc.png");
}

footer#pagefooter
{
    text-align: center;
    color: var(--lightblue);
}

div.inline-player
{
  margin: 2rem 0;
}

div.inline-player audio
{
  display: block;
  width: 100%;
  border-radius: 1em;
}

/* ----- SCREENSHOTS ----------------------- */

div.notesImages
{
   display: block;
   margin: 1rem auto 3rem;
   line-height: 0;
   text-align: center;
}

div.notesImages img
{
   background-color: var(--lightyellow);
   border: 4px solid var(--lightyellow);
   border-radius: 4px;
   box-shadow: 0px 0px 0px 4px var(--lightblue);
}

div.notesImages figure:nth-child(1) img
{
   transform: rotate(-1.4deg);
}
div.notesImages figure:nth-child(2) img
{
   transform: rotate(1deg);
}
div.notesImages figure:nth-child(3) img
{
   transform: rotate(-0.5deg);
}
div.notesImages figure:nth-child(4) img
{
   transform: rotate(1.3deg);
}

figure[itemprop="associatedMedia"]
{
   display: inline-block;
   margin: 0 5% 5% 0;
   width: 18%;
}


img[itemprop="thumbnail"]
{
   width: 100%;
}

figcaption[itemprop="caption description"]
{
   display: none;
}
}

/* Transcript */

