/*
Theme Name: ASAP Journal
Theme URI: https://www.3n.design
Description: This is a custom theme for ASAP Journal designed and developed by 3n Design.
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. 	Header & Tabs
	8.  Grid Model
    9.  Branded Image Model
	10.	Templates
	11. Entry Content
	12. Blocks / Classic
	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,
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;
}
body {
	line-height: 1;
}
ol, ul {
	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;
}
figure {
    margin: 0;
}

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

:root {
	--asap--color--primary: #3a2d31;
	--asap--color--secondary: #f8981d;
	--asap--color--tertiary: #6a6466; 
    --asap--color--quaternary: #cccccc;
    --asap--color--quinary: #eee809;
	--asap--color--background: #ffffff;
	--asap--header: 102px;
	--asap--gutter: 0px;
	--asap--margin: 20px;
	--asap--section--gap: 30px;
	--asap--block--gap: 1.5em;
}
@media ( min-width: 768px ) {
    :root {
        --asap--header: 121px;
        --asap--section--gap: 40px;
    }
    
}
@media ( min-width: 1024px ) {
    :root {
        --asap--gutter: 20px;
    }
    
}

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

body {
    color: var(--asap--color--primary);
    font-family: 'Montserrat', sans-serif;
    font-weight: 500 !important;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
b, strong {
    font-weight: 700;
}
h1, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
}
i, em {
    font-style: italic;
}
::placeholder {
  color: #fff;
  opacity: 1; /* Firefox */
}
::-ms-input-placeholder { /* Edge 12-18 */
  color: #fff;
}

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

main {
	padding-top: 146px;
    min-height: calc(100vh - 265px);
}
.inner {
	margin: 0 auto;
	max-width: 1680px;
	padding-left: var(--asap--gutter);
    padding-right: var(--asap--gutter);
	position: relative;
}
.pad {
    padding: 0 var(--asap--margin);
}
body.menu--active,
body.search--active {
	overflow: hidden;
}
.flex {
    display: flex;
}
@media ( min-width: 768px ) {
    main {
        padding-top: 174px;
    }
}

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

svg { 
    display: block;
    overflow: visible 
}
.trns { transition: all 300ms ease }

/* Logo ------------------------------------------------------ */

.logo .trns.black { fill: var(--asap--color--primary) }
.logo .trns.gray { fill: var(--asap--color--quaternary) }
.logo .trns.yellow { fill: var(--asap--color--quinary) }
.logo .trns.orange { fill: var(--asap--color--secondary) }

a:hover .logo .trns.yellow { fill: var(--asap--color--quaternary) }
a:hover .logo .trns.orange { fill: var(--asap--color--tertiary) }

.menu--active .logo .trns.orange, .search--active .logo .trns.orange { fill: var(--asap--color--quaternary) }

@media ( min-width: 768px ) {
    .menu--active .logo .trns.black, .search--active .logo .trns.black { fill: var(--asap--color--quaternary) }
    .menu--active .logo .trns.orange, .search--active .logo .trns.orange { fill: var(--asap--color--secondary) } 
}

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

#hamburger {
    background: transparent;
    border: none;
    cursor: pointer;
    display: block;
	height: 18px;
    position: relative;
    width: 36px;
	vertical-align: bottom;
	-webkit-appearance: none;
}
#hamburger > span {
    height: 12px;
	position: absolute;
        top: 3px;
        right: 0;
    width: 16px;
}
#hamburger > span:before,
#hamburger > span:after {
	content: '';
}
#hamburger > span:before,
#hamburger > span:after,
#hamburger > span span {
	background-color: var(--asap--color--primary);
	display: block;
	height: 2px;
	position: absolute;
		right: 0;
	transition: all 300ms ease;
}
#hamburger > span:before {
	top: 0px;
    width: 12px;
}
#hamburger > span span {
	top: 5px;
    width: 14px;
}
#hamburger > span:after {
	top: 10px;
    width: 16px;
}
#hamburger:hover > span:before,
#hamburger:hover > span span {
	width: 16px;
}

/* Magnifying Glass ------------------------------------------ */

#magnifying-glass {
    background: transparent;
    border: none;
    cursor: pointer;
    display: block;
	height: 18px;
    position: relative;
    width: 36px;
	vertical-align: bottom;
	-webkit-appearance: none;
}
#magnifying-glass > span {
    height: 14px;
	position: absolute;
        top: 2px;
        right: 0;
    width: 13px;
}
#magnifying-glass span:before {
	border: 2px solid var(--asap--color--primary);
    border-radius: 50%;
    content: '';
    height: 11px;
    position: absolute;
        top: 0;
        right: 0;
	width: 11px;
    transition: color 100ms ease;
}
#magnifying-glass span:after {
	background-color: var(--asap--color--primary);
    content: '';
    height: 6px;
	position: absolute;
        top: 8px;
        right: 10px;
    transform: rotate(45deg);
	width: 2px;
    transition: color 100ms ease;
}
#magnifying-glass:hover span:before,
#magnifying-glass:focus span:before {
	background-color: transparent;
	border-color: var(--asap--color--secondary);
}
#magnifying-glass:hover span:after,
#magnifying-glass:focus span:after {
	background-color: var(--asap--color--secondary);
}

/* Close Menu ------------------------------------------------ */

.overlay-close {
    background: transparent;
    border: none;
    cursor: pointer;
    display: block;
	height: 18px;
    position: relative;
    width: 36px;
	vertical-align: bottom;
	-webkit-appearance: none;
}
.overlay-close > span {
    height: 12px;
	position: absolute;
        top: 3px;
        right: 0;
    width: 16px;
}
.overlay-close span:before,
.overlay-close span:after {
	background-color: var(--asap--color--primary);
    content: '';
    display: block;
	height: 2px;
	position: absolute;
        top: 6px;
		right: -1px;
	width: 16px;
    transition: all 300ms ease;
}
.overlay-close > span:before {
    transform: rotate(45deg);
}
.overlay-close > span:after {
	transform: rotate(-45deg);
}
.overlay-close > span:hover:before,
.overlay-close > span:hover:after {
	background-color: var(--asap--color--background);
}

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

#site-header,
body:before {
    height: var(--asap--header);
    position: fixed;
        top: 0;
        left: 0;
    width: 100%;
}
#site-header {
    z-index: 1000;
}
body:before {
    background-color: var(--asap--color--background);
    content: '';
    display: block;
    z-index: 500;
}
#site-title {
    width: 194px; /* was 208px for asapj-logo-old.svg */
}
.menu--active #site-title,
.search--active #site-title {
    z-index: 3000;
}
#site-title svg {
    height: 79px;
    width: auto;
}
#site-navigation {
    flex: 1;
    padding-top: 57px;
}
#menu-desktop {
    flex: 1;
}
#site-tagline,
#menu-desktop menu {
    display: none;
}
#menu-icons {
    width: 72px;
}
@media ( min-width: 768px ) {
    #site-title {
        width: 233px; /* was 250px for asapj-logo-old.svg */
    }
    #site-title svg {
        height: 95px;
    }
    #site-navigation {
        padding-top: 71px;
    }
    #menu-desktop menu {
        display: block;
        font-size: 0.875em;
        line-height: 18px;
        list-style: none;
        margin: 0;
        padding: 0;
        text-align: right;
        text-transform: uppercase;
    }
    #menu-desktop menu li {
        display: inline-block;
        font-weight: 600;
        padding: 1px 0 0 16px;
    }
    #menu-desktop menu li a {
        color: var(--asap--color--primary);
        text-decoration: none;
        transition: color 300ms ease;
    }
    #menu-desktop menu li a:hover {
        color: var(--asap--color--secondary);
    }
}
@media ( min-width: 1024px ) {
    #site-tagline {
        display: block;
        font-size: 0.875em;
        line-height: 18px;
        padding-top: 72px;
    }
}

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

#overlay,
#site-menu,
#site-menu:before,
#search-form,
#search-form:before {
    height: 100%;
    top: 0;
    bottom: 0;
    width: 100%;
}
#overlay {
    background-color: rgba(0,0,0,0.80);
    opacity: 0;
    pointer-events: none;
    position: fixed;
        right: 0;
        left: 0;
    z-index: 1500;
    transition: opacity 500ms ease;
}
#site-menu,
#search-form {
    overflow: hidden;
    position: fixed;
        right: 0;
    text-align: right;
    z-index: 2000;
    transform: translate(100%);
    transition: transform 500ms ease;
}
.menu--active #site-menu,
.search--active #search-form {
    transform: translate(0);
}
#site-menu:before,
#search-form:before {
    background-color: var(--asap--color--secondary);
    content: '';
    position: absolute;
        left: 0;
    text-align: right;
    z-index: 2100;
}
#site-menu .inner,
#search-form .inner {
    height: 100%;
    z-index: 2200;
}
#overlay-close--wrapper {
    display: inline-block;
    padding-top: 57px;
}
#site-menu menu {
    list-style: none;
    margin: 0;
    padding-top: 57px;
    text-transform: uppercase;
}
#site-menu menu a {
    color: var(--asap--color--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 300ms ease;
}
#site-menu menu a:hover {
    color: var(--asap--color--background);
}
#site-menu .menu--full {
    font-size: 1.5rem;
    line-height: 1.25rem;
}
#site-menu .menu--full li {
    padding-bottom: 1.25rem 
}
#site-menu .menu--social {
    position: absolute;
        bottom: 40px;
        right: calc(var(--asap--gutter) + var(--asap--margin))
}
#site-menu .menu--social {
    font-size: 0.875rem;
    line-height: 0.625rem; 
}
#site-menu .menu--social li {
    padding-top: 1.25rem 
}
#search-form--wrapper {
    padding-top: 57px;
}
#search-form--wrapper .search-field {
    background-color: transparent;
    border-top: none;
    border-right: none;
    border-bottom: 2px solid var(--asap--color--primary);
    border-left: none;
    border-radius: 0;
    color: var(--asap--color--primary);
    flex: 1;
    font-size: 0.875rem;
    line-height: 1.5rem; 
}
#search-form--wrapper .search-field:active,
#search-form--wrapper .search-field:focus {
    outline: none;
}
#search-form--wrapper .search-submit {
    background-color: transparent;
    color: var(--asap--color--primary);
    font-size: 1.25rem;
    line-height: 1.5rem; 
}
@media ( min-width: 768px ) {
    .menu--active #overlay,
    .search--active #overlay {
        opacity: 1;
    }
    #overlay-close--wrapper,
    #site-menu menu,
    #search-form--wrapper {
        padding-top: 71px;
    }
    #site-menu:before,
    #search-form:before {
        border-left: 2px solid var(--asap--color--quinary);
        left: 31%;
        transform: skewX(-204.46deg);
    }
    #search-form--wrapper .pad {
        margin-left: 55%;
        width: 45%;
    }
}
@media ( min-width: 1024px ) {
    #site-menu:before,
    #search-form:before {
        left: 50%;
    }
    #search-form--wrapper .pad {
        margin-left: 67%;
        width: 33%;
    }
}
@media ( min-width: 1280px ) {
    #site-menu:before,
    #search-form:before {
        left: 55%;
    }
    #search-form--wrapper .pad {
        margin-left: 75%;
        width: 25%;
    }
}

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

#site-menu .menu--full li,
#site-menu .menu--social li,
#search-form--wrapper .pad {
	opacity: 0;
}
.menu--active #site-menu .menu--full li,
.menu--active #site-menu .menu--social li,
.search--active #search-form--wrapper .pad {
    opacity: 0;
	-webkit-animation-name: fadeInLeft;
	        animation-name: fadeInLeft;
	-webkit-animation-duration: 1s;
	        animation-duration: 1s;
	-webkit-animation-fill-mode: forwards;
	        animation-fill-mode: forwards;
}
.menu--active #site-menu .menu--full li:nth-child(1),
.search--active #search-form--wrapper .pad { animation-delay: 100ms }
.menu--active #site-menu .menu--full li:nth-child(2) { animation-delay: 150ms }
.menu--active #site-menu .menu--full li:nth-child(3) { animation-delay: 200ms }
.menu--active #site-menu .menu--full li:nth-child(4) { animation-delay: 250ms }
.menu--active #site-menu .menu--full li:nth-child(5) { animation-delay: 300ms }
.menu--active #site-menu .menu--full li:nth-child(6) { animation-delay: 350ms }
.menu--active #site-menu .menu--full li:nth-child(7) { animation-delay: 400ms }
.menu--active #site-menu .menu--full li:nth-child(8) { animation-delay: 450ms }
.menu--active #site-menu .menu--social li:nth-child(1) { animation-delay: 500ms }
.menu--active #site-menu .menu--social li:nth-child(2) { animation-delay: 550ms }

@-webkit-keyframes fadeInLeft {
	from {
    	opacity: 0;
    	transform: translate3d(30px, 0, 0);
	}
	to {
  		opacity: 1;
  		transform: none;
	}
}
@keyframes fadeInLeft {
	from {
    	opacity: 0;
    	transform: translate3d(30px, 0, 0);
	}
	to {
  		opacity: 1;
  		transform: none;
	}
}

/* --------------------------------------------------------------
= 7. Header & Tabs
-------------------------------------------------------------- */

.page-title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.25em;
    margin-bottom: var(--asap--section--gap);
    text-transform: uppercase;
}
.page-title span {
    font-weight: 500;
}
@media all and (min-width: 768px) {
    .page-title {
        font-size: 2.25rem;
        line-height: 0.75em;
    }
}

/* Entry Header ---------------------------------------------- */

.entry-header {
    padding-bottom: 25px;
}
.entry-header .entry-title {
    font-size: 1.5rem;
    line-height: 1.125em;
    margin-bottom: 0;
    padding-top: 22px;
    padding-right: 2.3%;
}
.entry-header .by-line {
    color: var(--asap--color--tertiary);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.5em;
    margin-top: 1em;
}
.by-line address {
    display: inline;
    font-style: normal;
}
@media all and (min-width: 768px) {
    .entry-header .entry-title {
        font-size: 2.25rem;
    }
    .entry-header {
        padding-bottom: 35px;
    }
}

/* Archive Description --------------------------------------- */

.archive-description {
    line-height: 1.5em;
    margin-top: -0.5em;
    margin-bottom: var(--asap--section--gap);
}
@media all and (min-width: 768px) {
    .archive-description {
        width: calc(2/3 * 100%);
    }
}
@media all and (min-width: 1280px) {
    .archive-description {
        width: 50%;
    }
}

/* Tabs + Lists ---------------------------------------------- */

.section-tab {
    display: flex;
    flex-wrap: wrap;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: var(--asap--section--gap);
}
.entry-header .section-tab {
    margin-bottom: 0;
}
.section-tab h2,
.section-tab > div,
.section-tab:before {
    background-color: var(--asap--color--quaternary);
}
.section-tab h2,
.section-tab > div {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    height: 30px;
    letter-spacing: 0.02em;
    line-height: 30px;
    padding: 0 15px;
    text-transform: uppercase;
}
.section-tab h2 span,
.section-tab > div span {
    display: none;
}
.section-tab:before {
    content: '';
    display: block;
    height: 1px;
    width: 100%;
}
.section-tab ul {
    flex: 1;
}
.section-tab ul,
.section-tab ul li {
    display: inline-block;
    padding: 0 7px;
}
.section-tab time {
    background-color: transparent;
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 30px;
    padding: 0 15px;
    text-transform: uppercase;
}
.section-tab ul a {
    display: block;
}
.section-tab ul a,
.section-tab ul button {
    background-color: transparent;
    background-image: none;
    border: none;
    color: var(--asap--color--primary);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 30px;
    height: 30px;
    position: relative;
    text-transform: uppercase;
}
.section-tab ul li a:before,
.section-tab ul li button:before {
    background-color: var(--asap--color--secondary);
    content: '';
    height: 0;
    position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
    transition: height 300ms ease;
}
.section-tab ul li a:hover:before,
.section-tab ul li button:hover:before,
.section-tab ul li button.active-button:before {
    height: 2px;
}
@media all and (min-width: 768px) {
    .section-tab h2 span,
    .section-tab > div span {
        display: inline;
    }
}

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

.grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	column-gap: 0;
    padding-bottom: var(--asap--section--gap);
}
.grid:after {
	display: block;
	content: '';
	flex: 999 999 auto;
}
.grid .card {
    margin-bottom: calc(var(--asap--section--gap) * 2);
    position: relative;
}
@media all and (min-width: 768px) {
	.grid .card {
		width: 50%;
	}
}
@media all and (min-width: 1024px) {
	.grid .card {
		width: calc(1/3 * 100%);
	}
    .grid.col-4 .card {
		width: 25%;
	}
}
@media all and (min-width: 1280px) {
    .grid.lrg .card {
		width: calc(1/3 * 100%);
	}
}

/* Grid: Cell ------------------------------------------------ */

.card {
    position: relative;
}
.card a {
    text-decoration: none;
}
.card figure {
    margin-bottom: 1rem;
}
.card figure img {
    display: block;
    height: auto;        
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}
.card.category-outline-featured-image figure img {
    border: 1px solid var(--asap--color--quaternary);
}
.card .entry-type {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 0.5em;
    text-transform: uppercase;
}
.card .entry-title a {
    background-image: linear-gradient(to right, var(--asap--color--secondary) 0%, var(--asap--color--secondary) 100%);
    background-repeat: repeat-x; 
    background-position: 0 100%; 
    background-size: 100% 0;
    color: var(--asap--color--primary);
    font-size: 1.5em;
    font-weight: 700;
    line-height: 1.25em;
    transition: all 300ms ease;
}
.card .entry-title a:hover {
    background-size: 100% 0.5em;
}
.card .entry-excerpt {
    font-size: 0.875rem;
    line-height: 1.5em;
    margin-top: 1rem;
}
.card .by-line {
    color: var(--asap--color--tertiary);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-top: 1em;
}
.card.has-underline {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
}
.card.has-underline:after {
    background-color: var(--asap--color--quaternary);
    content: '';
    display: block;
    height: 1px;
    position: absolute;
        left: var(--asap--margin);
        bottom: 0;
        right: var(--asap--margin);
}
@media all and (min-width: 768px) {
    .card .entry-excerpt {
        font-size: 1rem;
        margin-top: 1.5rem;
    }
}
@media all and (min-width: 1024px) {
    .card.featured .entry-title a {
        font-size: 2.55em;
        line-height: 1.125em;
    }
}

/* --------------------------------------------------------------
= 9. Branded Image Model
-------------------------------------------------------------- */

.single .branded-image {
    margin-bottom: calc(var(--asap--section--gap) * 1.5);
}
.branded-image div {
    position: relative;
}
.branded-image img {
    display: block;
    height: auto;
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}
.category-outline-featured-image .branded-image img {
    border: 1px solid var(--asap--color--quaternary);
}
.branded-image div:before {
    background-color: var(--asap--color--background);
    clip-path: polygon(92% 0, 100% 0, 100% 100%, 0 100%);
    content: '';
    height: 100%;
    mix-blend-mode: color;
    position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
    width: 27.8%;
    z-index: 1;
}
.branded-image div:after {
    background-color: var(--asap--color--quinary);
    content: '';
    height: 111.5%;
    position: absolute;
        top: 47.5%;
        bottom: 0;
        left: 85.65%;
    width: 2px;
    transform: translate3d(-50%,-50%,0) skewX(-204.46deg);
    z-index: 2;
}
figcaption {
    color: var(--asap--color--tertiary);
    font-size: 0.6875rem;
    line-height: 1.25em;
    padding-top: 0.5em;
}
.branded-image figcaption {
    width: 70%;
}
.branded-image figcaption a {
    background-image: linear-gradient(to right, var(--asap--color--secondary) 0%, var(--asap--color--secondary) 100%);
    background-repeat: repeat-x; 
    background-position: 0 100%; 
    background-size: 100% 2px;
    color: var(--asap--color--primary);
    text-decoration: none;
    transition: all 300ms ease;
}
.branded-image figcaption a:hover {
    background-size: 100% 0.5em;
}
@media ( min-width: 768px ) {
    figcaption {
        font-size: 0.875rem;
    }
}

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

/* Homepage: Skyline ----------------------------------------- */

.skyline-featured {
    margin-bottom: var(--asap--section--gap);
}
.skyline-recent {
    margin-bottom: calc(4 * var(--asap--section--gap));
    padding-top: calc(2 * var(--asap--section--gap));
}
.skyline--column .card,
.skyline-featured--column .card {
    margin-bottom: calc(2 * var(--asap--section--gap));
}
@media all and (min-width: 768px) {
    .skyline-featured {
        margin-bottom: calc(var(--asap--section--gap) * 2);
    }
    .skyline-recent {
        margin-bottom: calc(3 * var(--asap--section--gap) - 1.5em);
        padding-top: 0;
    }
    .skyline--columns,
    .skyline-featured--columns {
        display: flex;
    }
    .skyline--column.lrg,
    .skyline-featured--column.lrg {
        width: calc(2/3 * 100%);
    }
    .skyline--column.sml,
    .skyline-featured--column.sml {
        width: calc(1/3 * 100%);
    }
    .skyline-featured--column .card {
        margin-bottom: var(--asap--section--gap);
    }
    .skyline-recent--column {
        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;
    }
    .skyline-recent--column .card {
        width: 50%;
    }
}
@media all and (min-width: 1024px) {
    .skyline-recent--column .card {
        width: 25%;
    }
}
@media all and (min-width: 1280px) {
    #skyline .inner {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start;
        column-gap: 0;
    }
    .skyline-featured {
        width: 75%;
    }
    .skyline-recent {
        margin-bottom: 0;
        width: 25%;
    }
    .skyline-featured--column.lrg {
        order: 2;
    }
    .skyline-featured--column.sml {
        order: 1;
    }
    .skyline-recent--column .card {
        width: 100%;
    }
}

/* Homepage: Archives ---------------------------------------- */

.tab-content {
    display: none;
}
.active-tab {
    display: block;
}

/* Template: Sections ---------------------------------------- */

.sections {
    flex-flow: wrap;
}
.sections .section--sidebar,
.sections .section--content {
    width: 100%;
}
.sections .section--sidebar ul {
    font-weight: 700;
    line-height: 1.5em;
    margin-bottom: calc(var(--asap--section--gap) * 2);
}
.sections .section--sidebar ul a {
    color: var(--asap--color--primary);
    text-decoration: none;
    transition: color 300ms ease;
}
.sections .section--sidebar ul a:hover,
.sections .section--sidebar ul a.active {
    color: var(--asap--color--secondary);
}
@media all and (min-width: 768px) {
    .sections .section--sidebar {
        order: 2;
        width: 75%;
    }
    .sections .section--sidebar .sticky {
        position: relative;
        position: -webkit-sticky;
        position: sticky;
        top: calc(var(--asap--header) + 1px);
    }
    .sections .section--content {
        order: 1;
        width: 25%;
    }
}
@media all and (min-width: 768px) {
    .sections .section--sidebar {
        width: calc(1/3 * 100%);
    }
    .sections .section--content {
        width: calc(2/3 * 100%);
    }
}

/* Template: Single Cluster ---------------------------------- */

.cluster-content {
    line-height: 1.5em;
}
.cluster-content a {
    background-image: linear-gradient(to right, var(--asap--color--secondary) 0%, var(--asap--color--secondary) 100%);
    background-repeat: repeat-x; 
    background-position: 0 100%; 
    background-size: 100% 2px;
    color: var(--asap--color--primary);
    text-decoration: none;
    transition: all 300ms ease;
}
.cluster-content a:hover {
    background-size: 100% 0.5em;
}
@media all and (min-width: 768px) {
    .cluster-content {
        margin-top: -0.25rem;
    }
    .skyline-cluster--columns {
        display: flex;
    }
    .skyline-cluster--column.lrg {
        width: calc(2/3 * 100%);
    }
    .skyline-cluster--column.sml {
        width: calc(1/3 * 100%);
    }
}

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

.entry-content {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.125rem;
    font-weight: 500 !important;
	line-height: 1.5em;
    margin-bottom: calc(var(--asap--section--gap) * 2);
}
.entry-content a {
    background-image: linear-gradient(to right, var(--asap--color--secondary) 0%, var(--asap--color--secondary) 100%);
    background-repeat: repeat-x; 
    background-position: 0 100%; 
    background-size: 100% 2px;
    color: var(--asap--color--primary);
    text-decoration: none;
    transition: all 300ms ease;
}
.entry-content a:hover {
    background-size: 100% 0.5em;
}
.entry-content p,
.entry-content ul,
.entry-content dl,
.entry-content ol,
.entry-content h2,
.entry-content h3,
.entry-content h5,
.entry-content h6,
.entry-content blockquote {
	margin-bottom: var(--asap--block--gap);
}
.entry-content h3,
.entry-content h4,
.entry-content h5 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    line-height: 1.5rem;
}
.entry-content p {
    font-weight: 500 !important;
}
.entry-content > *:last-child {
    margin-bottom: 0;
}
.entry-content ul,
.entry-content ul ul,
.entry-content ol {
    padding-left: var(--asap--block--gap);
}
.entry-content.blocks ul,
.entry-content.blocks ul ul,
.entry-content.blocks ol {
    padding-left: calc(var(--asap--block--gap) * 2) !important;
}
.entry-content ul {
	list-style: disc outside;
}
.entry-content ul ul {
	list-style: circle outside;
	margin-bottom: 0;
}
.entry-content ol {
    list-style: decimal outside;
}
.entry-content .section-tab ul {
    list-style: none;
    margin: 0;
    padding: 0 7px !important;
}
.entry-content .has-text-align-center,
.entry-content .is-content-justification-center{
	text-align: center;
}
.entry-content .has-text-align-right,
.entry-content .is-content-justification-right {
    text-align: right;
}
.entry-content blockquote {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    line-height: 1.75em;
	padding-top: var(--asap--block--gap) !important;
    padding-bottom: var(--asap--block--gap) !important;
    position: relative;
}
.entry-content blockquote p:only-child,
.entry-content blockquote p:nth-last-child(2) {
	margin-bottom: 0;
}
.entry-content blockquote cite {
    font-weight: 700;
}
.entry-content hr,
.entry-content hr.wp-block-separator {
    border-top: none;
    border-right: none;
	border-bottom: 1px solid var(--asap--color--quaternary);
    border-left: none;
    height: var(--asap--block--gap);
	margin-bottom: calc(var(--asap--block--gap) * 2);
}
@media ( min-width: 768px ) {
    .entry-content{
        font-size: 1.25rem;
    }
	.entry-content .has-small-font-size {
		font-size: 0.75em;
		line-height: 1.5em;
	}
}
@media all and (min-width: 1280px) {
	.entry-content blockquote {
        padding-top: calc(var(--asap--margin) * 1.5) !important;
        padding-bottom: calc(var(--asap--margin) * 1.5) !important;
	}
}

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

.entry-footer {
    font-size: 1rem;
    line-height: 1rem;
}

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

.entry-content.classic {
    padding: 0 var(--asap--margin);
    margin-left: auto !important;
    margin-right: auto !important;
}
.entry-content.blocks > * {
    max-width: 840px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 var(--asap--margin);
}
.entry-content.blocks .alignfull {
    max-width: calc(100% + var(--asap--gutter) * 2);
}
@media ( min-width: 768px ) {
    .entry-content.classic,
    .entry-content.blocks > * {
        max-width: 75%;
    }
    .entry-content.blocks > .alignwide,
    .entry-content.blocks > .alignleft,
    .entry-content.blocks > .alignright {
        max-width: 100%;
    }
    .entry-content.blocks > .aligncenter {
        max-width: 50%;
    }
    .entry-content.classic .alignleft {
        float: left;
        margin-right: calc(var(--asap--margin) * 2);
        margin-left: -10%;
    }
    .entry-content.classic .alignright {
        float: left;
        margin-right: -10%;
        margin-left: calc(var(--asap--margin) * 2);
    }
    .entry-content.classic .aligncenter {
        margin-left: auto;
        margin-right: auto;
        max-width: 100% !important;
    }
    .entry-content.blocks .wp-block-columns-is-layout-flex {
        display: flex;
    }
}
@media ( min-width: 1024px ) {
    .entry-content.classic,
    .entry-content.blocks > * {
        max-width: calc(2/3 * 100%);
    }
    .entry-content.blocks > .aligncenter > * {
        max-width: calc(2/3 * 100%);
        margin-left: auto;
        margin-right: auto;
    }
    .entry-content.blocks > .alignleft,
    .entry-content.blocks > .alignright {
        max-width: calc(2/3 * 100%);
    }
    .entry-content.blocks > .alignleft {
        margin-right: calc(1/3 * 100%) !important;
    }
    .entry-content.blocks > .alignright {
        margin-left: calc(1/3 * 100%) !important;
    }
    .entry-content.classic .alignleft {
        margin-left: -20%;
    }
    .entry-content.classic .alignright {
        margin-right: -20%;
    }
}
@media ( min-width: 1280px ) {
    .entry-content.classic,
    .entry-content.blocks > * {
        max-width: 50%;
    }
    .entry-content.blocks > .aligncenter > * {
        max-width: calc(2/3 * 100%);
        margin-left: auto;
        margin-right: auto;
    }
    .entry-content.blocks > .alignleft,
    .entry-content.blocks > .alignright {
        max-width: 75%;
    }
    .entry-content.blocks > .alignleft {
        margin-right: 25% !important;
    }
    .entry-content.blocks > .alignright {
        margin-left: 25% !important;
    }
    .entry-content.classic .alignleft {
        margin-left: -25%;
    }
    .entry-content.classic .alignright {
        margin-right: -25%;
    }
}

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

.entry-content img {
	display: block;
	height: auto;
	width: 100%;
}
.entry-content.classic figure {
    max-width: 100% !important;
}
.entry-content > .wp-block-image,
.entry-content.classic figure {
    margin-bottom: var(--asap--block--gap) !important;
}
.entry-content.classic figure {
    margin-top: 0.5em;
}
.entry-content .wp-block-image figcaption,
.entry-content.classic figure figcaption {
    font-family: 'Montserrat', sans-serif;
	line-height: 1.5em;
	padding: 5px 0 0;
}
@media ( min-width: 768px ) {
    .entry-content .wp-block-image figcaption,
    .entry-content.classic figure figcaption {
        font-size: 0.75em;
    }
}
@media ( min-width: 1024px ) {
	.alignright figcaption {
		text-align: right;
	}
}

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

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

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

.wp-block-embed,
.wp-block-video {
    margin-bottom: var(--asap--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;
}
.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 ------------------------------------------ */

@media ( min-width: 768px ) {
	.entry-content.blocks > hr.wp-block-separator {
		width: calc(75% - var(--asap--margin) * 2);
	}
}
@media ( min-width: 1024px ) {
	.entry-content.blocks > hr.wp-block-separator {
		width: calc((2/3 * 100%) - var(--asap--margin) * 2);
	}
}
@media ( min-width: 1280px ) {
	.entry-content.blocks > hr.wp-block-separator {
		width: calc(50% - var(--asap--margin) * 2);
	}
}

/* Block: Blockquote ----------------------------------------- */

.entry-content.classic blockquote {
    border-top: 1px solid var(--asap--color--quaternary);
    border-bottom: 1px solid var(--asap--color--quaternary);
}
.entry-content.blocks blockquote:before,
.entry-content.blocks blockquote:after {
    background-color: var(--asap--color--quaternary);
    content: '';
    display: block;
    height: 1px;
    position: absolute;
    width: calc(100% - var(--asap--margin) * 2);
}
.entry-content.blocks blockquote:before {
    top: 0;
}
.entry-content.blocks blockquote:after {
    bottom: 0;
}

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

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

/* Block: Easy Footnotes ------------------------------------- */

.easy-footnote:after {
    content: "";
    display: inline-block;
    height: 150px;
    margin: -150px 0 0;
}
.entry-content .easy-footnotes-wrapper {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    font-weight: 500 !important;
}
.entry-content .easy-footnote-title h4 {
    margin-bottom: 1.25em;
}
.entry-content .easy-footnote a,
.entry-content a.easy-footnote-to-top {
    background: none;
    color: var(--asap--color--secondary);
}
.entry-content a.easy-footnote-to-top {
    text-decoration: none;
}
.entry-content .easy-footnote a:hover,
.entry-content a.easy-footnote-to-top:hover {
    background: none;
    color: var(--asap--color--primary);
}
.entry-content .easy-footnote sup {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.5em;
    font-weight: 700 !important;
    line-height: 1;
    margin-left: 2px;
    vertical-align: super;
}
.entry-content .easy-footnote sup:before {
    content: '['
}
.entry-content .easy-footnote sup:after {
    content: ']'
}
.entry-content .easy-footnote-single {
    word-break: break-word;
}

/* Block: Author Bios ---------------------------------------- */

.entry-content .entry-authors-wrapper {
    list-style: none;
    margin-top: calc(var(--asap--block--gap) * 2);
    margin-bottom: 0;
    padding-left: 0 !important;
}
.entry-content.blocks .entry-authors-wrapper {
    padding-left: var(--asap--margin) !important;
}
.entry-content .entry-authors-wrapper .entry-author {
    border-top: 1px solid var(--asap--color--quaternary);
    padding: 40px 0 calc(40px - 0.25em) 0;
}
.entry-content .entry-author img {
    border-radius: 50px;
    height: 100px;
    margin: 0 auto 10px;
    width: 100px;
}
.entry-content .entry-author h3.author {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: .5rem;
    text-align: center;
}
.entry-content .entry-author p.author-bio {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.875rem;
    font-weight: 500 !important;
    line-height: 1.5rem;
    margin-bottom: 0;
}

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

#nav {
    padding-bottom: calc(var(--asap--section--gap) * 3);
}
#nav .nav--center {
    text-align: center;
}
.single #nav,
.search #nav,
.archive #nav {
    display: flex;
    padding-top: var(--asap--section--gap);
}
#nav .nav--prev,
#nav .nav--next {
    width: 50%;
}
#nav .nav--next {
    text-align: right;
}
#nav a {
    text-decoration: none;
}
#nav a,
#nav button {
    background-color: transparent;
    border: none;
    color: var(--asap--color--primary);
    font-size: 1.5rem;
    line-height: 1em;
    font-weight: 700;
    text-transform: uppercase;
    transition: color 300ms ease;
}
#nav a:hover,
#nav button:hover {
    color: var(--asap--color--secondary);
}

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

#site-footer {
    background-color: var(--asap--color--primary);
    color: var(--asap--color--background);
    padding-top: calc(var(--asap--section--gap) - 0.25em);
}
#site-footer h6 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
#site-footer a {
    color: var(--asap--color--background);
    text-decoration: none;
    transition: color 300ms ease;
}
#site-footer a:hover {
    color: var(--asap--color--secondary);
}
.site-footer--columns,
.site-footer--colophon {
    flex-flow: wrap;
}
.site-footer--column {
    line-height: 1.5em;
    margin-bottom: var(--asap--section--gap);
    width: 50%;
}
.site-footer--column:nth-child(1) {
    width: 100%;
}
.site-footer--colophon:before {
    background-color: var(--asap--color--background);
    content: '';
    height: 1px;
    width: 100%;
}
.site-footer--imprint,
.site-footer--back-to-top {
    line-height: 60px;
}
.site-footer--imprint {
    flex: 1;
    font-size: 0.75rem;
}
.site-footer--back-to-top {
    font-size: 1.5rem;
    text-align: right;
}
@media ( min-width: 768px ) {
    .site-footer--column {
        width: calc(1/3 * 100%);
    }
}
@media ( min-width: 1024px ) {
    .site-footer--column:nth-child(1) {
        margin-right: calc(1/3 * 100%);
        width: calc(2/3 * 100%);
    }
}
@media ( min-width: 1280px ) {
    .site-footer--column,
    .site-footer--column:nth-child(1) {
        margin-right: 0;
        width: 25%;
    }
}

/* --------------------------------------------------------------
= 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(--asap--color--secondary);
	position: fixed;
	z-index: 2000;
	top: 0;
	right: 100%;
	width: 100%;
	height: 2px;
}
body.menu--active {
	overflow: hidden;
}
#site-header,
main,
#site-footer {
	opacity: 0;
    -webkit-backface-visibility: none;
	-webkit-transition: opacity 200ms ease;
            transition: opacity 200ms 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;
}