/*
Theme Name: Parag Kumar Mital
Theme URI: https://www.3n.design
Description: Costum theme designed and developed for Parag Kumar Mital.
Author: 3n Design
Author URI: https://www.3n.design
Version: 1.0
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------

	0. 	CSS Reset
	1. 	Variables
	2.	Typography
	3. 	Layout Base
	4. 	UI Elements
	5. 	Site Header
	6. 	Menu Modal
	7. 	Page Header
	8.  Grid Model
    9.  Entry Meta
	10.	Templates
	11. Blocks
	12. Entry Content
	13. Site Pagination
	14. Site Footer
    15. Transitions
	15. Accessibility

-------------------------------------------------------------- */

/* --------------------------------------------------------------
= 0. CSS Reset
-------------------------------------------------------------- */

html,
body {
	border: none;
	margin: 0;
	padding: 0;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
address,
big,
cite,
code,
em,
font,
img,
small,
strike,
sub,
sup,
menu,
li,
ol,
ul,
dl,
dt,
dd,
fieldset,
form,
label,
legend,
button,
table,
caption,
tr,
th,
td {
	border: none;
	font-size: inherit;
	line-height: inherit;
	margin: 0;
	padding: 0;
	text-align: inherit;
}

blockquote::before,
blockquote::after {
	content: "";
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
	display: block;
}
figure {
	margin: 0 !important;
}
body {
	line-height: 1;
}
ol, ul, menu {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
html {
	box-sizing: border-box;
}
*, *:before, *:after {
	box-sizing: inherit;
}
* {
	-webkit-tap-highlight-color: transparent !important;
}
button,
input,
textarea {
	-webkit-appearance: none;
}
.group:after {
	content: "";
	display: table;
	clear: both;
}

/* --------------------------------------------------------------
= 1. Variables
-------------------------------------------------------------- */

:root {
	--pkm--color--primary: #2E3131;
	--pkm--color--secondary: #738383;
	--pkm--color--tertiary: #ABB7B7; 
	--pkm--color--background: #ffffff;
	--pkm--header: 60px;
    --pkm--footer: 233px;
	--pkm--gutter: 10px;
	--pkm--margin: 10px;
	--pkm--section--gap: 60px;
	--pkm--block--gap: 1.5em;
    --pkm--cell--gap--post: 30px;
    --pkm--cell--gap--music: 30px;
    --pkm--cell--gap--custom: 30px;
}
@media ( min-width: 768px ) {
	:root {
        --pkm--footer: 194px;
        --pkm--gutter: 15px;
        --pkm--margin: 15px;
        --pkm--section--gap: 80px;
        --pkm--cell--gap--post: 60px;
        --pkm--cell--gap--music: 60px;
	}
}
@media ( min-width: 1024px ) {
	:root {
         --pkm--footer: 175px;
	}
}
@media ( min-width: 1280px ) {
	:root {
		--pkm--gutter: 45px;
        --pkm--section--gap: 120px;
        --pkm--cell--gap--post: 80px;
        --pkm--cell--gap--music: 80px;
	}
}

/* --------------------------------------------------------------
= 2. Typography
-------------------------------------------------------------- */

body {
    background-color: var(--pkm--color--background);
    color: var(--pkm--color--primary);
	font-family: "proxima-nova", sans-serif;
    font-size: 15px;
	font-weight: 400;
	font-style: normal;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
b, strong,
input[type=submit] {
	font-weight: 700;
}
i, em {
	font-style: italic;
}
h2, h3, h4, h5, h6, label, 
.entry-details dt,
.nav-links .nav-previous,
.nav-links .nav-next {
	font-family: "freight-display-pro", serif;
	font-weight: 700;
	font-style: normal;
}
#footer--newsletter a:before,
#footer--socials a:before,
#footer--back-to-top a,
.nav-links span,
.scroll-down {
	font-family: "space-grotesk-variable", sans-serif;
	font-variation-settings: "wght" 400;
}

/* --------------------------------------------------------------
= 3. Layout Base
-------------------------------------------------------------- */

main {
    min-height: calc(100vh - var(--pkm--footer));
	padding-top: var(--pkm--header);
}
.inner {
	margin: 0 auto;
	max-width: 1720px;
	padding: 0 var(--pkm--gutter);
	position: relative;
}
.pad {
    padding: 0 var(--pkm--margin);
}

/* --------------------------------------------------------------
= 4. UI Elements
-------------------------------------------------------------- */

/* Hamburger ------------------------------------------------- */

#hamburger {
    background: transparent;
    border: none;
    display: block;
	height: 14px;
    position: relative;
    width: 18px;
	vertical-align: bottom;
	-webkit-appearance: none;
}
#hamburger > span {
    height: 14px;
	position: absolute;
        top: 0;
        left: 0;
    width: 18px;
}
#hamburger > span:before,
#hamburger > span:after {
	content: '';
}
#hamburger > span:before,
#hamburger > span:after,
#hamburger > span span {
	background-color: var(--pkm--color--primary);
	display: block;
	height: 2px;
	position: absolute;
		right: 0;
	width: 18px;
	transition: all 300ms ease;
}
#hamburger > span:hover:before,
#hamburger > span:hover:after,
#hamburger > span:hover span {
	background-color: var(--pkm--color--secondary);
}
#hamburger > span:before {
	top: 0px;
}
#hamburger > span span {
	top: 6px;
}
#hamburger > span:after {
	top: 12px;
}
.menu--active #hamburger > span:before {
	transform: rotate(-45deg);
}
.menu--active #hamburger > span:after {
	transform: rotate(45deg);
}
.menu--active #hamburger > span:before,
.menu--active #hamburger > span:after {
    top: 6px;
	background-color: var(--pkm--color--background);
}
.menu--active #hamburger > span span,
.menu--active #hamburger > span:hover span {
	background-color: transparent;
}
.menu--active #hamburger > span:hover:before,
.menu--active #hamburger > span:hover:after {
	background-color: var(--pkm--color--tertiary);
}

/* --------------------------------------------------------------
= 5. Site Header
-------------------------------------------------------------- */

#site-header {
    background-color: var(--pkm--color--background);
    min-height: var(--pkm--header);
	position: fixed;
		top: 0;
		left: 0;
    transition: all 300ms ease;
	width: 100%;
    z-index: 2000;
}
.menu--active #site-header {
    background-color: var(--pkm--color--primary);
    min-height: 100vh;
}
#site-header .inner {
	display: flex;
    flex-flow: wrap;
}
#site-title {
	font-size: 1.2em;
    font-weight: 600;
	line-height: var(--pkm--header);
	text-transform: uppercase;
	width: calc( 100% - ( 18px + var(--pkm--margin) * 2) );
	white-space: nowrap;
}
#site-title a {
	color: var(--pkm--color--primary);
	text-decoration: none;
    transition: color 300ms ease;
}
.menu--active #site-title a {
	color: var(--pkm--color--background);
}
#mobile-menu--toggle {
	padding-top: 23px;
    padding-bottom: 23px;
}

@media ( min-width: 768px ) {
    #site-title {
        font-size: 1.333em;
        width: 240px;
    }
    #mobile-menu--toggle {
        display: none;
    }
}

/* --------------------------------------------------------------
= 6. Menu Modal
-------------------------------------------------------------- */

#site-menu--main {
    display: none;
    width: calc(100% - 240px);
}
#site-menu--main li a {
    color: var(--pkm--color--background);
	font-weight: 500;
    line-height: 40px;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 300ms ease;
}
#site-menu--main li a:hover {
    color: var(--pkm--color--tertiary);
}
@media ( min-width: 768px ) {
    #site-menu--main {
        display: block;
        font-size: 0;
        text-align: right;
    }
    #site-menu--main li {
        display: inline-block;
        padding-left: 10px;
    }
    #site-menu--main li:first-child {
        padding-left: 0;
    }
    #site-menu--main li a {
        color: var(--pkm--color--primary);
        font-size: 15px;
        line-height: 60px;
    }
    #site-menu--main li a:hover {
        color: var(--pkm--color--secondary);
    }
}
@media ( min-width: 1024px ) {
     #site-menu--main li {
        padding-left: 20px;
    }
}
@media ( min-width: 1280px ) {
     #site-menu--main li {
        padding-left: 30px;
    }
}

/* Animation ------------------------------------------------- */

#site-menu--main li {
	opacity: 0;
    transform: none;
}
.menu--active #site-menu--main li {
	-webkit-animation-name: fadeInOn;
	        animation-name: fadeInOn;
	-webkit-animation-duration: 1s;
	        animation-duration: 1s;
	-webkit-animation-fill-mode: forwards;
	        animation-fill-mode: forwards;
}
#site-menu--main li:nth-child(1) { animation-delay: 100ms }
#site-menu--main li:nth-child(2) { animation-delay: 200ms }
#site-menu--main li:nth-child(3) { animation-delay: 300ms }
#site-menu--main li:nth-child(4) { animation-delay: 400ms }
#site-menu--main li:nth-child(5) { animation-delay: 500ms }
#site-menu--main li:nth-child(6) { animation-delay: 600ms }
#site-menu--main li:nth-child(7) { animation-delay: 700ms }
#site-menu--main li:nth-child(8) { animation-delay: 800ms }

@-webkit-keyframes fadeInOn {
	from {
    	opacity: 0;
    	transform: translate3d(0,-10px,0);
	}
	to {
  		opacity: 1;
  		transform: none;
	}
}
@keyframes fadeInOn {
	from {
    	opacity: 0;
    	transform: translate3d(0,-10px,0);
	}
	to {
  		opacity: 1;
  		transform: none;
	}
}
@media ( min-width: 768px ) {
    #site-menu--main li {
        opacity: 1;
    }
   .menu--active #site-menu--main li {
        -webkit-animation-name: fadeInOff;
                animation-name: fadeInOff;
    }
}

/* --------------------------------------------------------------
= 7. Page Header
-------------------------------------------------------------- */

.single #article-header {
    margin-bottom: 1.2em;
}
.header-inner {
	height: calc(25vh - var(--pkm--header));
    min-height: 200px;
	position: relative;
}

.title-container {
	padding: 0 var(--pkm--margin);
	position: absolute;
		top: 50%;
		left: 0;
	transform: translate(0, -50%);
	width: 100%;
}
.page-title {
	font-size: 2em;
    line-height: 1.125em
}
.single .entry-title {
    font-size: 2em;
    line-height: 1.25em;
    padding: 30px 0 33px;
}
@media ( min-width: 1024px ) {
    .header--inner {
        height: calc(33vh - var(--pkm--header));
    }
    .page-title {
        font-size: 2.666em;
    }
    .single .entry-title {
        font-size: 2.666em;
        line-height: 1.125em;
        padding: 37px 0 39px;
    }
}

/* Banner ---------------------------------------------------- */

.image-wrapper {
    height: calc( 100vh - var(--pkm--header));
    position: relative;
    width: 100%;
}
.banner-image {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    height: 100%;
    overflow: hidden;
    position: relative;
	width: 100%;
    z-index: -2;
}
.banner-gif img {
    display: block;
    height: auto;
    width: 100%;
}
@media ( min-width: 768px ) {
    .banner-video,
    .banner-gif {
        margin: 0 auto !important;
        max-width: 1720px;
        padding: 0 calc(var(--pkm--margin) + var(--pkm--gutter));
    }
}

/* --------------------------------------------------------------
= 8. Grid Model
-------------------------------------------------------------- */

.grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	column-gap: 0;
}
.grid:after {
	display: block;
	content: '';
	flex: 999 999 auto;
}
.grid.post {
    margin-bottom: calc(var(--pkm--section--gap) - var(--pkm--cell--gap—post))
}
.grid.music {
    margin-bottom: calc(var(--pkm--section--gap) - var(--pkm--cell--gap—music))
}
.grid.custom {
    margin-bottom: calc(var(--pkm--section--gap) - var(--pkm--cell--gap--custom))
}
.grid.home {
    padding-top: 1.5em;
}

/* Cell ------------------------------------------------------ */

.grid .cell {
	display: block;
	padding: 0 var(--pkm--margin);
	position: relative;
	width: 100%;
}
.cell a {
    text-decoration: none;
}
.cell .entry-title,
.cell a .entry-title {
    color: var(--pkm--color--primary);
    font-size: 1.666em;
    line-height: 1.25em;
    overflow: hidden;
    padding: 13px 0 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
@media all and (min-width: 768px) {
	.grid .cell {
		width: 50%;
	}
    .cell .entry-title {
        font-size: 2em;
        padding: 10px 0 13px;
    }
}
@media all and (min-width: 1024px) {
	.grid.grid--4-col-max .cell {
		width: 25%;
	}
}
@media all and (min-width: 1280px) {
	.grid.grid--3-col-max .cell {
		width: calc(100% / 3);
	}
}

/* Cell: Post ------------------------------------------------ */

.grid.post .cell {
    margin-bottom: var(--pkm--cell--gap--post);
}
.grid.post .cell a {
    color: var(--pkm--color--primary);
    text-decoration: none;
    transition: color 300ms ease;
}
.grid.post .cell a:hover {
    color: var(--pkm--color--secondary);
}
.grid.post .cell p {
    line-height: 1.5em;
}
@media all and (min-width: 768px) {
    .grid.post .cell p {
		font-size: 1.2em;
	}
}

/* Cell: Music ----------------------------------------------- */

.grid.music .cell {
    margin-bottom: var(--pkm--cell--gap--music);
}
.entry-embed--container,
.entry-embed--video {
    margin-bottom: 1em;
}
.entry-embed--container iframe {
    width: 100%;
}
.entry-description p {
    line-height: 1.5em;
    margin-bottom: 1.5em;
}
.entry-description p:last-of-type {
    margin-bottom: 0;
}
@media all and (min-width: 768px) {
    .entry-description {
        font-size: 1.333em;
    }
}

/* Cell: Custom ---------------------------------------------- */

.grid.custom .cell {
    margin-bottom: var(--pkm--cell--gap--custom);
}
.cell img {
    height: auto;
    width: 100%;
}
.cell .thumbnail-container {
    height: 0;
	padding-bottom: 56.25%;
    position: relative;
}
.cell a .thumbnail-container img.gif,
.cell a:hover .thumbnail-container img.jpg {
    display: none;
}
.cell a .thumbnail-container img.jpg,
.cell a:hover .thumbnail-container img.gif {
    display: block;
}
.cell a .thumbnail-opacity .thumbnail {
    display: block;
    opacity: 1;
    transition: opacity 300ms ease;
}
.cell a:hover .thumbnail-opacity .thumbnail {
    opacity: 0.7;
}

/* Cell: Home ------------------------------------------------ */

.grid.home .cell {
    margin-bottom: 30px !important;
}
.grid.home .cell img {
    display: block;
    height: auto;
    width: 100%;
}

/* --------------------------------------------------------------
= 9. Meta
-------------------------------------------------------------- */

.entry-meta {
    border-top: 1px solid var(--pkm--color--tertiary);
    border-bottom: 1px solid var(--pkm--color--tertiary);
    display: flex;
}
.entry-meta div {
    color: var(--pkm--color--primary);
    line-height: 40px;
    white-space: nowrap;
}
.entry-meta div:first-child {
    width: calc(100% - 75px);
}
.entry-meta div:last-child {
    width: 75px;
}
.entry-meta div:only-of-type {
    width: 100%;
}
.entry-meta div:last-of-type:not(:only-of-type) {
    color: var(--pkm--color--secondary);
    text-align: right;
}
.entry-meta .type {
    text-transform: uppercase;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.entry-meta .type a {
    color: var(--pkm--color--primary);
    transition: color 300ms ease;
    text-decoration: none;
}
.entry-meta .type a:hover {
    color: var(--pkm--color--secondary);
}
.entry-meta
.archive-meta,
.related-meta {
    text-transform: uppercase;
}
.archive-meta,
.related-meta {
    border-top: 1px solid var(--pkm--color--tertiary);
    line-height: 40px;
}
.archive-meta {
    color: var(--pkm--color--secondary);
}
.related-meta {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* --------------------------------------------------------------
= 10. Templates
-------------------------------------------------------------- */

/* Home: Caousel --------------------------------------------- */

#carousel {
    height: calc(100vh - var(--pkm--header));
    max-height: 964px;
	padding: 0 0 var(--pkm--header);
    position: relative;
}
.scroll-down {
    font-size: 2.666em;
    height: var(--pkm--header);
    line-height: var(--pkm--header);
    position: fixed;
        top: calc(100vh - var(--pkm--header));
        left: 50%;
    text-align: center;
    transform: translateX(-50%);
    width: 100px;
    z-index: -1;
}
.single .scroll-down {
    color: #fff;
}
@media all and (min-height: 1024px) {
    .home .scroll-down {
        top: 964px;
    }
}
.slider {
	display: block;
	list-style: none;
    height: 0;
	margin: 0;
    padding-bottom: calc(100% + 102px);
	position: relative;
	width: 100%;
}
.slider .slide {
	position: absolute;
		top: 0;
		left: 0;
    width: 100%;
 }
.slider .slide figure {
	height: 0;
    overflow: hidden;
	padding-bottom: 100%;
    position: relative;
	width: 100%;
}
.slider .slide figure img {
    display: block;
    height: 100%;
    position: absolute;
        top: 0;
        left: 50%;
    transform: translateX(-50%);
    width: auto;
}
.slider .slide figure img:hover {
	opacity: 0.9;
}
.slider .slide .entry-title {
    font-size: 1.666em;
    line-height: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.slider .slide a {
    color: var(--pkm--color--primary);
    text-decoration: none;
    transition: color 300ms ease;
}
.slider .slide a .entry-title {
    color: inherit;
    text-decoration: none;
}
.slider .slide a:hover {
    color: var(--pkm--color--secondary);
}
.slide--nav_tabs {
	line-height: 10px;
	margin: 0;
	position: absolute;
		bottom: -20px;
		right: 0;
	width: 100%;
	z-index: 200;
	text-align: center;
}
.slide--nav_tabs li {
	background-color: var(--pkm--color--secondary);
	border-radius: 5px;
	display: inline-block;
	height: 10px;
	margin: 0 3px;
	overflow: hidden;
	position: relative;
	width: 10px;
}
.slide--nav_tabs li.slide--nav_here {
	background-color: var(--pkm--color--primary);
}
.slide--nav_tabs li a {
	position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
	text-indent: -9999px;
}
.slide--nav_nav {
	display: none;
}
@media all and (min-width: 375px) {
    .slider {
        padding-bottom: calc(120% + 102px);
    }
    .slider .slide figure {
        padding-bottom: 120%;
    }
}
@media all and (min-width: 768px) {
    .slider {
        padding-bottom: calc(75% + 102px);
    }
    .slider .slide figure {
        padding-bottom: 75%;
    }
    .slider .slide .entry-title {
        font-size: 2em;
    }
	.slide--nav_nav {
		display: block;
		height: 100%;
		position: absolute;
			top: 0;
		width: calc(var(--pkm--margin) + var(--pkm--gutter));
		z-index: 300;
	}
	.slide--nav_nav.prev {
		left: calc(var(--pkm--margin) + var(--pkm--gutter) * -1);
	}
	.slide--nav_nav.next {
		right: calc(var(--pkm--margin) + var(--pkm--gutter) * -1);
	}

}
@media all and (min-width: 1024px) {
    .slider {
        padding-bottom: calc(42.86% + 102px);
    }
    .slider .slide figure {
        height: auto;
        padding-bottom: 0;
    }
    .slider .slide figure img {
        height: auto;
        position: relative;
            top: 0;
            left: 0;
        transform: translateX(0);
        width: 100%;
    }
}

/* Home: The Story ------------------------------------------- */

.story-title {
    border-top: 1px solid var(--pkm--color--tertiary);
    font-size: 2em;
    line-height: 150px;
}
.story-section {
    padding-bottom: var(--pkm--section--gap);
}
.story-section.multi-media {
    padding-bottom: calc(var(--pkm--section--gap) - 30px);
}
.section-meta {
    border-bottom: 1px solid var(--pkm--color--tertiary);
    display: flex;
}
.section-meta div {
    line-height: 40px;
    width: 50%;
    white-space: nowrap;
}
.section-meta div:last-of-type:not(:only-of-type) {
    color: var(--pkm--color--secondary);
    text-align: right;
}
.section-title {
    font-size: 1.666em;
    line-height: 1.25em;
    padding-top: 13px;
    padding-bottom: 16px;
}
.section-title a {
    color: var(--pkm--color--primary);
	text-decoration: none;
	transition: color 300ms ease;
}
.section-content {
    line-height: 1.5em;
    text-align: justify;
}
.section-content.lrg {
    font-size: 1.2em;
}
.section-content a {
	color: var(--pkm--color--primary);
	text-decoration: underline;
	transition: color 300ms ease;
}
.section-title a:hover,
.section-content a:hover {
	color: var(--pkm--color--secondary);
}
.section-content p {
    margin-bottom: 1.5em;
}
.section-content p:last-child {
    margin-bottom: 0;
}
.media-container {
    margin-top: 1.5em;
}
.media-container img {
    display: block;
    height: auto;
    width: 100%;
}
@media ( min-width: 768px ) {
    .story-title {
        font-size: 2.666em;
        line-height: 200px;
    }
    .content-wrapper {
        display: flex;
    }
    .section-title {
        font-size: 2em;
        width: calc(1/3 * 100%);
    }
    .section-content {
		font-size: 1.2em;
        padding-top: 1.2em;
        width: calc(2/3 * 100%);
	}
    .section-content.lrg {
        font-size: 1.6em;
        padding-top: 0.65em;
    }
    .media-container.col-3 {
        margin-left: calc(1/3 * 100%);
        width: calc(2/3 * 100%);
    }
}
@media ( min-width: 1024px ) {
    .section-title {
        width: 25%;
    }
    .section-content {
        width: 75%;
	}
    .media-container.col-3 {
        margin-left: 25%;
        width: 75%;
    }
}
@media ( min-width: 1280px ) {
    .section-content {
        width: 50%;
	}
}

/* About ----------------------------------------------------- */

.page-template-page-about .entry-container {
    margin-bottom: 0;
}
.page-template-page-about .hentry {
    margin-bottom: calc(var(--pkm--section--gap) - var(--pkm--block--gap) - 1.5em);
}
.page-template-page-about .entry-content {
    padding-top: 1.2em;
    margin-bottom: 1.5em;
}
#about-portraits {
    display: flex;
}
#about-portraits.col-2 figure {
    width: 50%;
}
#about-portraits.col-3 figure {
    width: calc(1/3 * 100%);
}
#about-portraits.col-4 figure {
    width: calc(1/4 * 100%);
}
#about-portraits figure img {
    display: block;
    height: auto;
    width: 100%;
}
.about-title {
    font-size: 1.666em;
    line-height: 30px;
    padding: 15px 0;
}
.about-title.top {
    border-top: 1px solid var(--pkm--color--tertiary);
}
.about-title.btm {
    border-bottom: 1px solid var(--pkm--color--tertiary);
}
.section-container {
    line-height: 1.5em;
    padding-top: var(--pkm--block--gap);
    padding-bottom: var(--pkm--block--gap);
}
.section-container a {
	color: var(--pkm--color--primary);
	text-decoration: underline;
	transition: color 300ms ease;
}
.section-container a:hover {
	color: var(--pkm--color--secondary);
}
.section-container p {
    margin-bottom: 1.5em;
}
.section-container p:last-child {
    margin-bottom: 0;
}
.section-container > ul,
.section-container dd {
    margin-bottom: 1.5em;
}
.section-container > ul li,
.section-container dd ul li {
    margin-left: 100px;
    text-indent: -100px;
}
.work-list--item,
.project-list--item,
.education-list--item,
.publications-list--item {
    margin-bottom: var(--pkm--block--gap);
    padding-bottom: var(--pkm--block--gap);
    position: relative;
}
.work-list--item:last-child,
.project-list--item:last-child,
.education-list--item:last-child,
.publications-list--item:last-child {
    margin-bottom: 0;
}
.work-list--item:after,
.project-list--item:after,
.education-list--item:after,
.publications-list--item:after {
    background-color: var(--pkm--color--tertiary);
    content: '';
    display: block;
    height: 1px;
    position: absolute;
        bottom: 0;
        right: var(--pkm--margin);
        left: var(--pkm--margin);
}
.work-list--item:last-child:after,
.project-list--item:last-child:after,
.education-list--item:last-child:after,
.publications-list--item:last-child:after {
    display: none;
}
.item--date {
    text-transform: uppercase;
}
.item--date,
.item--title,
.item--degree,
.item--thumbnail {
    margin-bottom: 1.5em;
}
.item--title p {
    margin-bottom: 0;
}
.item--degree p:first-child {
    margin-bottom: 0;
}
.item--thumbnail img.thumbnail {
    display: block;
    height: auto;
    width: 100%;
}
.item--thumbnail a img.thumbnail {
    opacity: 1;
    transition: opacity 300ms ease;
}
.item--thumbnail a:hover img.thumbnail {
    opacity: 0.7;
}
.item--thumbnail a .thumbnail-container {
    height: 0;
	padding-bottom: 56.25%;
    position: relative;
}
.item--thumbnail a .thumbnail-container img {
    height: auto;
    width: 100%;
}
.item--thumbnail a .thumbnail-container img.gif,
.item--thumbnail a:hover .thumbnail-container img.jpg {
    display: none;
}
.item--thumbnail a .thumbnail-container img.jpg,
.item--thumbnail a:hover .thumbnail-container img.gif {
    display: block;
}
@media all and (min-width: 768px) {
    .about-title {
        font-size: 2em;
    }
    .section-container {
		font-size: 1.2em;
	}
    dl.section-container {
        margin-bottom: 1.5em;
    }
    .section-container dt {
        clear: left;
        float: left;
        width: 100px;
    }
    .section-container dd {
        margin-left: 100px;
        margin-bottom: 0;
    }
    .item--date {
        font-size: 0.8333em;
    }
    .project-list--item,
    .publications-list--item {
        display: flex;
    }
    .item--thumbnail {
        width: calc(1/3 * 100%);
    }
    .publications-list--item .item--description,
    .project-list--item .item--description--various {
        width: calc(2/3 * 100%);
    }
    .project-list--item .item--description--various {
        margin-left: calc(1/3 * 100%);
    }
}
@media all and (min-width: 1024px) {
    .work-list--item,
    .education-list--item {
        display: flex;
    }
    .item--date,
    .item--title,
    .item--thumbnail {
        width: 25%;
    }
    .item--degree,
    .item--description {
        width: 50%;
    }
    .item--title,
    .item--degree {
        order: 1;
    }
    .item--description {
        order: 2;
    }
    .item--date {
        order: 3;
        text-align: right;
    }
    .publications-list--item .item--description,
    .project-list--item .item--description--various {
        width: 75%;
    }
    .project-list--item .item--description--various {
        margin-left: 25%;
    }
}

/* Contact --------------------------------------------------- */

#site-contact {
    display: flex;
    flex-flow: wrap;
}
#site-contact--form,
#site-contact--follow {
    line-height: 1.5em;
    margin-bottom: var(--pkm--section--gap);
    width: 100%;
}
#site-contact--form p {
    margin-bottom: 1.5em;
}
#site-contact--form label,
#site-contact--form input[type=text],
#site-contact--form input[type=email],
#site-contact--form input[type=password],
#site-contact--form textarea {
	display: block;
	width: 100%;
}
#site-contact--form input[type=text],
#site-contact--form input[type=email],
#site-contact--form input[type=password],
#site-contact--form textarea {
	background-color: var(--pkm--color--background);
	border: 1px solid var(--pkm--color--tertiary);
	color: var(--pkm--color--primary);
	font-size: 1em;
	height: 40px;
	line-height: 40px;
	padding: 0 0 0 10px;
}
#site-contact--form textarea {
    height: 200px;
    line-height: 1.5em;
}
#site-contact--form input[type=text]:focus,
#site-contact--form input[type=email]:focus,
#site-contact--form input[type=password]:focus,
#site-contact--form textarea:focus {
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	outline: none;
}
#site-contact--form input[type=submit] {
	background-color: var(--pkm--color--background);
	border: 1px solid var(--pkm--color--primary);
	color: var(--pkm--color--primary);
	font-size: 1em;
	line-height: 50px;
	height: 50px;
    max-width: 300px;
    padding: 0 30px;
	text-align: center;
	text-transform: uppercase;
	transition: all 300ms ease;
    width: 100%;
}
#site-contact--form input[type=submit]:hover {
	background-color: var(--pkm--color--primary);
	color: var(--pkm--color--background);
}
#site-contact--follow a {
    color: var(--pkm--color--primary);
    transition: color 300ms ease;
}
#site-contact--follow a:hover {
    color: var(--pkm--color--secondary);
}
@media all and (min-width: 768px) {
    #site-contact--form,
    #site-contact--follow {
		font-size: 1.2em;
	}
    #site-contact--form {
        width: calc(2/3 * 100%);
    }
    #site-contact--follow {
        width: calc(1/3 * 100%);
    }
    #site-contact--form input[type=submit] {
        line-height: 60px;
        height: 60px;
    }
}
@media all and (min-width: 1024px) {
    #site-contact--form {
        width: 50%;
    }
    #site-contact--follow {
        margin-left: 25%;
        width: 25%;
    }
}
html .wpcf7-spinner {
    margin: 0 !important;
}

/* --------------------------------------------------------------
= 11. Entry Content
-------------------------------------------------------------- */

.entry-content {
	line-height: 1.5em;
    margin-bottom: var(--pkm--section--gap);
}
.entry-content a {
	color: var(--pkm--color--primary);
	text-decoration: underline;
	transition: color 300ms ease;
}
.entry-content a:hover {
	color: var(--pkm--color--secondary);
}
.entry-content p,
.entry-content ul,
.entry-content dl,
.entry-content ol,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.entry-content blockquote,
.entry-content .wp-block-syntaxhighlighter-code {
	margin-bottom: var(--pkm--block--gap);
}
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    padding-top: 1.2em;
    padding-bottom: 1.2em;
    position: relative;
}
.entry-content h3:after,
.entry-content h4:after,
.entry-content h5:after,
.entry-content h6:after,
.entry-content blockquote:before,
.entry-content blockquote:after {
    background-color: var(--pkm--color--tertiary);
    content: '';
    display: block;
    height: 1px;
    position: absolute;
        right: 0;
        left: 0;
}
.entry-content > h3:after,
.entry-content > h4:after,
.entry-content > h5:after,
.entry-content > h6:after,
.entry-content > blockquote:before,
.entry-content > blockquote:after {
    right: var(--pkm--margin);
    left: var(--pkm--margin);
}


.entry-content h3:after,
.entry-content h4:after,
.entry-content h5:after,
.entry-content h6:after,
.entry-content blockquote:after {
    bottom: 0;
}
.entry-content blockquote:before {
    top: 0;
}
.entry-content > *:last-child {
    margin-bottom: 0;
}
.entry-content ul {
	list-style: disc outside;
	padding-left: var(--pkm--block--gap);
}
.entry-content ul ul {
	list-style: circle outside;
	margin-bottom: 0;
	padding-left: var(--pkm--block--gap);
}
.entry-content .has-text-align-center {
	text-align: center;
}
.entry-content blockquote {
	font-size: 1.066em;
	padding-top: calc(var(--pkm--margin) * 2);
    padding-bottom: calc(var(--pkm--margin) * 2);
    position: relative;
}
.entry-content blockquote p {
	line-height: 1.125em;
}
.entry-content blockquote p:only-child,
.entry-content blockquote p:nth-last-child(2) {
	margin-bottom: 0;
}
.entry-content blockquote cite {
	font-size: 0.75em;
}
.entry-content iframe {
    display: block;
}
.entry-content code {
    padding: .2em .4em;
    margin: 0;
    font-family: Monaco, "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
    font-size: 85%;
    white-space: break-spaces;
    background-color: #eeeeee;
    border-radius: 6px;
}
@media ( min-width: 768px ) {
	.entry-content,
    .entry-content h3,
    .entry-content h4,
    .entry-content h5,
    .entry-content h6 {
		font-size: 1.2em;
	}
    .wp-block-syntaxhighlighter-code {
        font-size: 0.8333em;
    }
	.entry-content .has-small-font-size {
		font-size: 0.75em;
		line-height: 1.5em;
	}
	.entry-content blockquote {
        padding-top: var(--pkm--block--gap);
        padding-bottom: var(--pkm--block--gap);
	}
	.entry-content hr.wp-block-separator {
		margin-bottom: var(--pkm--block--gap);
	}
}
@media all and (min-width: 1280px) {
	.entry-content blockquote {
		font-size: 1.5em;
        padding-top: calc(var(--pkm--margin) * 1.5);
        padding-bottom: calc(var(--pkm--margin) * 1.5);
	}
}

/* Entry Details --------------------------------------------- */

.entry-details {
    margin-bottom: var(--pkm--block--gap);
    padding-bottom: 1px !important;
    position: relative;
}
.entry-details:after {
    background-color: var(--pkm--color--tertiary);
    content: '';
    display: block;
    height: 1px;
    position: absolute;
        bottom: 0;
        right: var(--pkm--margin);
        left: var(--pkm--margin);
}
.entry-details dt,
.entry-details dd {
    display: inline;
}
.entry-details dt {
    font-size: 1.1em;
    text-transform: capitalize;
}
.entry-details dd {
    margin-bottom: var(--pkm--block--gap);
}
.entry-content .entry-details h3:after {
    left: 0;
    right: 0;
}
@media ( min-width: 768px ) {
    .entry-details {
        font-size: 0.85em;
    }
    .entry-content .entry-details h3 {
        font-size: 1.425em;
    }
}
@media ( min-width: 1024px ) {
    .entry-details {
        float: left;
        margin-bottom: 0;
        width: 25%;
    }
    .entry-details:after {
        display: none;
    }
    .entry-details dt,
    .entry-details dd {
        display: block;
    }
}

/* Related --------------------------------------------------- */

.related-posts span:after {
    content: ', '
}
.related-posts span:last-child:after {
    content: ''
}

/* Entry Footer ---------------------------------------------- */

.related-title {
    border-top: 1px solid var(--pkm--color--tertiary);
    font-size: 2em;
    line-height: 150px;
}
@media ( min-width: 768px ) {
    .related-title {
        font-size: 2.666em;
        line-height: 200px;
    }
}

/* --------------------------------------------------------------
= 12. Blocks
-------------------------------------------------------------- */

.entry-content > * {
    max-width: 840px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 var(--pkm--margin);
}
.entry-content > figure:first-child,
.entry-content .entry-details + figure:nth-child(2) {
    padding-top: 0.5em !important;
}
.entry-content .alignfull {
    max-width: calc(100% + var(--pkm--gutter) * 2);
}
.entry-content figcaption {
	line-height: 1.5em;
	padding: 5px 0 0;
}
@media ( min-width: 768px ) {
    .entry-content > * {
        max-width: 75%;
    }
    .entry-content > .alignwide,
    .entry-content > .alignleft,
    .entry-content > .alignright {
        max-width: 100%;
    }
    .entry-content > .aligncenter {
        max-width: 50%;
    }
    .entry-content figcaption {
        font-size: 0.75em;
    }
}
@media ( min-width: 1024px ) {
    .entry-content > * {
        max-width: 50%;
    }
	.single-pkm_teaching .entry-content > * {
        max-width: 75%;
    }
    .entry-content > .aligncenter > * {
        max-width: calc(100% / 3);
    }
    .entry-content > .alignleft,
    .entry-content > .alignright {
        max-width: 75%;
    }
    .entry-content > .alignleft {
        margin-right: 25% !important;
    }
    .entry-content > .alignright {
        margin-left: 25% !important;
    }
    .alignright figcaption {
		text-align: right;
	}
}

/* Block: Image  --------------------------------------------- */

.entry-content img {
	display: block;
	height: auto;
	max-width: 100%;
}
.entry-content .wp-block-image {
    margin-bottom: var(--pkm--block--gap) !important;
}

/* Block: Button --------------------------------------------- */

.wp-block-button {
    margin-bottom: var(--pkm--block--gap);
}

/* Block: Columns -------------------------------------------- */

.entry-content > .wp-block-columns {
    margin-bottom: 0;
}
.entry-content > .wp-block-columns {
    padding-right: 0;
    padding-left: 0;
}
.entry-content > .wp-block-columns > .wp-block-column {
    padding: 0 var(--pkm--margin);
}
@media ( min-width: 768px ) {
    .entry-content > .wp-block-columns {
        margin-bottom: var(--pkm--block--gap);
    }
    .entry-content > .wp-block-columns > .wp-block-column {
        margin-bottom: 0;
    }
}

/* Block: Embed ---------------------------------------------- */

.wp-block-embed,
.wp-block-video {
    margin-bottom: var(--pkm--block--gap) !important;
}
.wp-block-video audio,
.wp-block-video video,
.wp-block-embed iframe {
	width: 100%;
}
.wp-block-embed .wp-block-embed__wrapper {
	height: 0;
	padding-bottom: 56.25%;
	position: relative;
    width: 100%;
}
.wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper {
	padding-bottom: 75%; /* 4:3 */
}
.wp-block-embed.wp-embed-aspect-16-9 .wp-block-embed__wrapper {
	padding-bottom: 56.25%; /* 16:9 */
}
.wp-block-embed.wp-embed-aspect-21-9 .wp-block-embed__wrapper {
	padding-bottom:  41.5625%; /* 21:9 */
}
.wp-block-embed .wp-block-embed__wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Block: Seporator ------------------------------------------ */

hr.wp-block-separator {
	border-top: 1px solid var(--pkm--color--tertiary);
    border-bottom: 0;
    max-width: 820px;
	margin-bottom: calc(var(--pkm--margin) * 2);
    width: 100%;
}
.entry-content > hr.wp-block-separator {
    width: calc(100% - var(--pkm--margin) * 2);
}
@media ( min-width: 768px ) {
	.entry-content > hr.wp-block-separator {
		width: calc(75% - var(--pkm--margin) * 2);
	}
}
@media ( min-width: 1024px ) {
	.entry-content > hr.wp-block-separator {
		width: calc((2/3 * 100%) - var(--pkm--margin) * 2);
	}
}
@media ( min-width: 1280px ) {
	.entry-content > hr.wp-block-separator {
		width: calc(50% - var(--pkm--margin) * 2);
	}
}

/* Block: File ----------------------------------------------- */

.wp-block-file .wp-block-file__embed {
    border: 1px solid var(--pkm--color--tertiary);
}

/* --------------------------------------------------------------
= 13. Site Pagination
-------------------------------------------------------------- */

.nav-links {
    display: flex;
    margin: 0 auto;
	max-width: 1600px;
	padding: var(--pkm--cell--gap--post) var(--pkm--gutter);
	position: relative;
}
.nav-links:before {
    background-color: var(--pkm--color--tertiary);
    content: '';
    display: block;
    height: 1px;
    position: absolute;
        top: 0;
        right: calc(var(--pkm--gutter) + var(--pkm--margin));
        left: calc(var(--pkm--gutter) + var(--pkm--margin));
}
.site-pagination .nav {
	font-size: 2em;
	font-weight: 300;
	line-height: 1em;
	min-height: 1em;
}
.nav-links .nav-previous,
.nav-links .nav-next {
    font-size: 2em;
    line-height: 1em;
	min-height: 1em;
    padding: 0 var(--pkm--margin);
	width: 50%;
}
.nav-links .nav-next {
	text-align: right;
}
.nav-links a {
	color: var(--pkm--color--primary);
	text-decoration: none;
	transition: color 300ms ease;
}
.nav-links a:hover {
	color: var(--pkm--color--secondary);
}
@media all and (min-width: 768px) {
	.nav-links .nav-previous,
    .nav-links .nav-next {
		font-size: 2.666em;
	}
}

/* --------------------------------------------------------------
= 14. Site Footer
-------------------------------------------------------------- */

#site-footer {
    background-color: var(--pkm--color--tertiary);
    line-height: 1.25em;
}
#site-footer a {
    color: var(--pkm--color--primary);
    text-decoration: none;
    text-transform: uppercase;
    transition: color 300ms ease;
    white-space: nowrap;
}
#site-footer a:hover {
    color: var(--pkm--color--secondary);
}
#site-footer .inner {
	display: flex;
    flex-flow: wrap;
    padding-top: 20px;
    padding-bottom: 15px;
}
#footer--newsletter,
#footer--socials {
    margin-bottom: 1.25em;
    text-transform: uppercase;
    width: 100%;
}
#footer--newsletter a:before,
#footer--socials a:before {
    content: '→ ';
}
#footer--copyright,
#footer--back-to-top {
    width: 50%;
}
#footer--back-to-top {
    font-size: 1.333em;
    text-align: right;
}
@media ( min-width: 768px ) {
    #footer--newsletter,
    #footer--socials {
        width: 50%;
    }
}
@media ( min-width: 1024px ) {
    #site-footer .inner {
        padding-bottom: 35px;
    }
    #footer--copyright,
    #footer--socials,
    #footer--newsletter,
    #footer--back-to-top { 
        width: 25% 
    }
    #footer--newsletter,
    #footer--socials {
        margin-bottom: 0;
    }
    #footer--copyright { order: 1 }
    #footer--socials { order: 2 }
    #footer--newsletter { order: 3 }
    #footer--back-to-top { order: 4 }
}

/* --------------------------------------------------------------
= 15. Transitions
-------------------------------------------------------------- */

.pace {
	-webkit-pointer-events: none;
	        pointer-events: none;
	-webkit-user-select: none;
	   -moz-user-select: none;
	        user-select: none;
}
.pace-inactive {
	display: none;
}
.pace .pace-progress {
	background: var(--pkm--color--primary);
	position: fixed;
	z-index: 2000;
	top: 0;
	right: 100%;
	width: 100%;
	height: 2px;
}
body.menu--active {
	overflow: hidden;
}
#site-header {
	opacity: 0;
	-webkit-transition: all 300ms ease;
            transition: all 300ms ease;
}
main,
#site-footer {
	opacity: 0;
	-webkit-transition: opacity 600ms ease;
            transition: opacity 600ms ease;
}
.pace-done #site-header,
.pace-done main,
.pace-done #site-footer {
	opacity: 1;
}

/* --------------------------------------------------------------
= 16. Accessibility
-------------------------------------------------------------- */

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}
#primary[tabindex="-1"]:focus {
	outline: 0;
}
.grecaptcha-badge {
	visibility: hidden;
}