/* thanks, Eric :-)
http://meyerweb.com/eric/tools/css/reset/ 
v2.0 | 20110126
License: none (public domain)
*/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
    -webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-text-size-adjust: 100%;
}
/* HTML5 display-role reset for older browsers */

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}

html:focus-within {
	scroll-behavior: smooth;
	hanging-punctuation: first last;
}

body {
	min-height: 100vh;
	text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
	line-height: 1.36;
	font-family: 'public_sansregular', Helvetica, Calibri, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
	text-wrap: balance;
	font-family: 'cooper_hewittbold', Helvetica, Calibri, sans-serif;
	color: #151b45;
}

h2 {
	font-size: clamp(1.6em, 5vw, 2em);
	line-height: 1.2;
	margin: 0 0 0.5em 0;
}
h2 em {
	display: block;
	font-size: clamp(.8em, 5vw, 1em);
	font-family: 'cooper_hewittbook', Helvetica, Calibri, sans-serif;
}
h2 br {
    display: none;
}

h3 {
	display: block;
	font-family: 'cooper_hewittbook', Helvetica, Calibri, sans-serif;
	font-size: clamp(1.4em, 5vw, 1.6em);
}
h3::after {
	display: block;
	content: '';
	width: 75%;
	height: 1px;
	background: #151b45;
	margin: 0 0 .5em -5%;
}
h4 {
	display: block;
	font-family: 'cooper_hewittbook', Helvetica, Calibri, sans-serif;
	font-size: clamp(1.24em, 5vw, 1.4em);
}
h4::after {
	display: block;
	content: '';
	width: 70%;
	height: 1px;
	background: #151b45;
	margin: 0 0 .5em 0;
	opacity: .25;
}

p {
	font-size: clamp(1em, 2.5vw, 1.2em);
	/*margin: 0 0 1.25em 0!important;*/
    margin-top: 0!important;
    margin-bottom: 1.25em!important;
	/* max-width: 36em!important; */
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}

strong {
	font-family: 'public_sansbold', Helvetica, Calibri, sans-serif;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* Box sizing rules */

*, *::before, *::after {
	box-sizing: border-box;
}
/* Inherit fonts for inputs and buttons */

input, button, textarea, select {
	font: inherit;
}
/* Set core root defaults */

html:focus-within {
	scroll-behavior: smooth;
}

/* image sizing */

img {
	display: block;
	width: 100%;
	height: auto;
}

svg {
	display: block;
	height: auto;
}


/* smooth scroll */

@media (prefers-reduced-motion: no-preference) {
	:has(:target) {
		scroll-behavior: smooth;
		scroll-padding-top: 3em;
	}
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */

@media (prefers-reduced-motion: reduce) {
	html:focus-within {
		scroll-behavior: auto;
	}
	
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* layout */
/*h2 a, h2 span, .prog-work-links h3, .showcase, .prog-work-links ul */
.wrap {
    display: flex;
	flex-direction: column;
	align-items: center;
	width: 80%;
	max-width: 1200px;
	margin: 0 auto;

    /*border: 1px solid #eee;*/
}
.wrap img {
	max-width: 256px;
	height: auto;
	margin-bottom: 1em;
}

.wrap h1 {
	font-size: clamp(1.6em, 5vw, 2em);
	line-height: 1.2;
	margin-bottom: 0.5em;
	color: #fff;
}

.wrap p {
	margin-bottom: .75em;
}

@media (min-width: 600px) {
	.wrap {
		flex-direction: row;
		align-items: center;
		text-align: left;
	}
	
	.wrap img {
		margin-right: 2em;
		margin-bottom: 0;
	}
	.intro a {
		margin-right: 2em;
		margin-bottom: 0;
	}

}

.mt8 {
    margin-top: 8em!important;
}
.mb6 {
    margin-bottom: 60px!important;
}
.pb6 {
    padding-bottom: 60px!important;
}

/* ---------------------------------------------------
header 
--------------------------------------------------- */
header {
	border-bottom: 1px solid #151B45;
	background: #fff;
	color: #151B45;
}

header .wrap {
	padding: 12px 0;
}

header a:link, header a:visited {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none;
	color: inherit;
	height: auto;
	width: 100%;
}

header a:hover, header a:active, header a:focus-visible {
	
}

header a:link img,
header a:link svg {
	max-width: 256px;
	width: 100%;
	height: auto;
	margin-bottom: 0.5em;
}

header a:link strong {
	display: block;
	width: 100%;
	max-width: 12em;
	font-family: 'cooper_hewittbook', Helvetica, Calibri, sans-serif;
	font-size: clamp(1.4em, 2vw, 4em);
	line-height: 1.2;
	text-align: center;
	text-wrap: balance;
}

@media (min-width: 600px) {
	header a:link {
		flex-direction: row;
		align-items: center;
		justify-content: flex-start;
	}
	
	header a:link img,
    header a:link svg {
		margin-bottom: 0;
		margin-right: 1rem;
	}
	
	header a:link strong {
		text-align: left;
	}
}
@media (min-width: 1000px) {
	header a:link strong {
		max-width: 16em;
		font-size: 1.6em;
		line-height: 1.2;
		margin-left: .5em;
	}
}


/* ---------------------------------------------------
footer 
--------------------------------------------------- */
footer {
	background: #151B45;
	color: #fff;
}
/* uni logo link */
footer .wrap {
	padding: 60px 0;
}

footer .wrap a:link, footer .wrap a:visited {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none;
	color: inherit;
	height: auto;
	width: 100%;
}

footer .wrap a:hover, footer .wrap a:active, footer .wrap a:focus {
	transform: none;
}

footer .wrap a:link img,
footer .wrap a:link svg {
	max-width: 256px;
	width: 100%;
	height: auto;
	margin-bottom: 0.5em;
}

footer .wrap a:link strong {
	display: block;
	width: 100%;
	max-width: 12em;
	font-family: 'cooper_hewittbook', Helvetica, Calibri, sans-serif;
	font-size: clamp(1.4em, 2vw, 4em);
	line-height: 1.2;
	text-align: center;
	text-wrap: balance;
}

@media (min-width: 600px) {
	footer .wrap a:link {
		flex-direction: row;
		align-items: center;
		justify-content: flex-start;
	}
	
	footer .wrap a:link img,
    footer .wrap a:link svg {
		margin-bottom: 0;
		margin-right: 1rem;
	}
	
	footer .wrap a:link strong {
		text-align: left;
		max-width: 16em;
		font-size: 1.6em;
		line-height: 1.2;
		margin-left: .5em;
	}
}

/* portfolio links */
footer nav {
	padding: 20px 0;
}
footer nav ul {
	width: 80%;
	max-width: 1200px;
	margin: 0 auto;
	font-family: 'public_sansregular', Helvetica, Calibri, sans-serif;
	font-size: clamp(1em, 2.5vw, 1.25em);
	padding: 0;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

footer nav li {
	flex: 1 1 100%; 
	text-align: center;
	margin-bottom: 0.5em; 
}
footer nav a {
    transition: all .2s ease-in-out;
}
footer nav a:link, footer nav a:visited {
	display: block;
	padding: 0.25em .8em;
	color: #fff;
	text-decoration: none;
	background: rgba(255,255,255,.02);
	border: 1px solid #151b45;
}

footer nav a:hover, footer nav a:active, footer nav a:focus-visible {
	color: #151b45;
	border-color: #fff;
	background: #fff;
    transform: scale(1.05);
}
footer nav li.current-menu-item a:link, 
footer nav li.current-menu-item a:visited,
footer nav li.current-page-ancestor a:link, 
footer nav li.current-page-ancestor a:visited {
	border-color: #fff;
}
@media (min-width: 400px) {
	footer nav ul {
		justify-content: space-around; 
	}
	footer nav li {
		flex: 0 0 48%;
	}
}

@media (min-width: 600px) {
	footer nav li {
		flex: 0 0 30%;
	}
}

@media (min-width: 1000px) {
	footer nav li {
		flex: 0 0 auto;
		margin-bottom: 0;
	}	
}
/* legal links */
footer .wrap.legal {
    padding: 20px 0;
}

footer .wrap.legal ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5em 1.5em;
    align-items: center;
    justify-content: center;
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
}

footer .wrap.legal ul li {
    flex: 0 0 auto;
}

footer .wrap.legal a:link,
footer .wrap.legal a:visited {
    color: #fff;
    text-decoration: none;
    font-size: clamp(0.9em, 2vw, 1em);
}

footer .wrap.legal a:hover,
footer .wrap.legal a:active,
footer .wrap.legal a:focus-visible {
    text-decoration: underline;
}

/* show archive link next to uni logo */
footer .wrap .show-link {
    margin-top: 1.5em;
}

footer .wrap .show-link a:link,
footer .wrap .show-link a:visited {
    display: inline-block;
    padding: 0.25em 0.8em;
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-family: 'cooper_hewittbold', Helvetica, Calibri, sans-serif;
    font-size: clamp(1em, 2vw, 1.1em);
    transition: all 0.2s ease-in-out;
}

footer .wrap .show-link a:hover,
footer .wrap .show-link a:active,
footer .wrap .show-link a:focus-visible {
    border-color: #fff;
    background: #fff;
    color: #151b45;
    transform: scale(1.05);
}

@media (min-width: 600px) {
    footer .wrap .show-link {
        margin-top: 0;
        margin-left: 2em;
    }
}
/* single post layout */
.wp-singular > h2,
.wp-singular > h3,
.wp-singular > h4,
.wp-singular > h5,
.wp-singular > h6,
.wp-singular > p,
.wp-singular > .wp-block-list,
.wp-singular > .wp-block-quote {
    display: block;
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
}
.wp-singular .wp-block-columns,
.wp-singular .wp-block-group {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto 120px auto;
}
.wp-singular .wp-block-group + .wp-block-group {
    margin-top: -120px;
}

.wp-singular .wp-block-group.is-style-offset + .wp-block-group {
    margin-top: -30px;
}
.wp-singular .wp-block-group p {
    max-width: 36em;
    margin-left: 0!important;
}
.wp-singular .wp-block-columns {
    gap: 2rem;
}
@media (min-width: 1100px) {
    .wp-singular .wp-block-columns {
        gap: 4rem;
    }
}

@media (min-width: 1200px) {
    .wp-singular .wp-block-group.is-style-offset {
        padding-left: 256px;
    }
}


/* galleries */
.wp-singular .wp-block-gallery {
    display: grid;
    gap: var(--gap, 20px);
    grid-template-columns: repeat(var(--grid-type, auto-fit), minmax(min(380px, 100%), 1fr));
    max-width: 1500px;
    margin: 20px auto;
    padding: 0 20px 120px 20px;
}
.wp-singular .wp-block-gallery figure {
    width: 100%!important;
    border: 1px solid rgba(21, 27, 69, .25);
}
.wp-singular .wp-block-gallery figure img {
    aspect-ratio: 1;
    object-fit: cover;
}
.wp-singular .wp-block-gallery .wp-element-caption {
    font-size: 16px!important;
    text-align: left!important;
    text-shadow: none!important;
    padding: 6px!important;
    background: rgba(255, 255, 255, .75)!important;
    color: #151B45!important;
}
.wp-singular .wp-block-group > .wp-block-gallery {
    grid-template-columns: repeat(var(--grid-type, auto-fit),  minmax(min(256px, 100%), 1fr));
    margin: 0 auto;
    padding: 0 0 60px 0;
}

/* quote */
.wp-block-quote {
	position: relative;
	padding-left: 60px;
}
.wp-block-quote:before {
	content: ' \201C ';
	font-family: 'cooper_hewittbold', Helvetica, Calibri, sans-serif;
	font-size: clamp(5em, 5vw, 8em);
	line-height: 1;
	color: #151b45;
	position: absolute;
	left: 0;
}
.wp-block-details {
    margin-bottom: 4em;
}
.wp-block-details summary {
    font-size: clamp(1.25em, 2.5vw, 1.5em);
}


/* file */
.wp-block-file {
    aspect-ratio: 3 / 4;
    display: block;
    max-width: 620px;
    margin: 3em auto;
    padding-bottom: 3rem;
}
.wp-block-file object {
    border: 1px solid #151b45;
}
.wp-block-file a {
    display: none;
}