@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;
    margin-bottom: -8rem !important;
}

#pageheader p
{
    color: var(--lightblue);
    font-size: 3.2rem;
    font-style: italic;
    position: relative;
    bottom: 8rem;
    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");
	background-image: -webkit-image-set(
		"/img/line-dotted.avif" type("image/avif"),
		"/img/line-dotted.webp" type("image/webp")
	);
	background-image: image-set(
		"/img/line-dotted.avif" type("image/avif"),
		"/img/line-dotted.webp" type("image/webp")
	);
    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-image: -webkit-image-set(
		"/img/box-yellow-2.avif" type("image/avif"),
		"/img/box-yellow-2.webp" type("image/webp")
	);
	background-image: image-set(
		"/img/box-yellow-2.avif" type("image/avif"),
		"/img/box-yellow-2.webp" type("image/webp")
	);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: 50% 50%;
}

.episode header
{
    text-align: center;
}

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

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

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

.episode h2
{
   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 p,
.transcript header p
{
    margin: 0;
    color: var(--darkyellow);
}

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

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

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

.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");
	background-image: -webkit-image-set(
		"/img/podcast-etc.avif" type("image/avif")
	);
	background-image: image-set(
		"/img/podcast-etc.avif" type("image/avif")
	);
}

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

/* ----- 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 */

