/*
Theme Name: Mastertheme_online_neocph.dk
Theme URI: 
Author: 
Author URI: 
Description: 
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 7.2
Version: 1.0
License: GNU General Public License v3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: mastertheme_online_neocph-dk
Tags: block-patterns, block-styles, custom-colors, custom-logo, custom-menu, editor-style, full-site-editing, one-column, template-editing, threaded-comments, translation-ready, wide-blocks

/* Defaults
---------------------------------------- */

/* Defaults
---------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

a,
button,
input:focus,
input[type="button"],
input[type="submit"],
textarea:focus,
.wp-element-button {
	transition: all 0.2s ease-in-out;
}

a,
a:focus,
a:hover,
a:not(.wp-element-button) {
	text-decoration-thickness: 1px;
}

b,
strong,
th {
	font-weight: var(--wp--custom--font-weight--medium);
}

mark {
	background: linear-gradient(90deg, var(--wp--preset--color--primary) 0%, var(--wp--preset--color--primary) 100%);
	background-position: 0 85%;
	background-repeat: repeat-x;
	background-size: 100% 15%;
}

/* -- Forms -- */

input,
select,
textarea {
	background-color: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--contrast);
	border-radius: 0;
	color: var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--primary);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: var(--wp--custom--font-weight--light);
	line-height: var(--wp--custom--line-height--body);
	padding: 10px 20px;
	width: 100%;
}

input:focus,
textarea:focus {
	background-color: var(--wp--preset--color--neutral);
	outline: none;
}

input[type="checkbox"],
input[type="image"],
input[type="radio"] {
	width: auto;
}

input[type="button"],
input[type="email"],
input[type="search"],
input[type="submit"],
input[type="text"],
textarea {
	-webkit-appearance: none;
}

::placeholder {
	color: var(--wp--preset--color--contrast);
	font-size: var(--wp--preset--font-size--small);
	opacity: 0.5;
}

/* Blocks
---------------------------------------- */

/* -- Code -- */

*:not(.wp-block-code) > code {
	background-color: var(--wp--preset--color--neutral);
	font-size: var(--wp--preset--font-size--small);
	padding: 5px 8px;
}

/* -- Navigation -- */

.wp-block-navigation__responsive-container.is-menu-open {
	padding: var(--wp--custom--spacing--gap);
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: var(--wp--custom--spacing--gap);
}

.wp-block-navigation__responsive-container-close,
.wp-block-navigation__responsive-container-open {
	border: 1px solid var(--wp--preset--color--contrast);
	padding: 2px;
}

.has-background .wp-block-navigation__responsive-container-open:focus,
.has-background .wp-block-navigation__responsive-container-open:hover {
	color: var(--wp--preset--color--base);
}

/* -- Navigation Submenu -- */

.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
	background-color: var(--wp--preset--color--contrast);
	border: var(--wp--preset--color--contrast);
	color: var(--wp--preset--color--base);
	padding: 10px;
}

.wp-block-navigation :where(.wp-block-navigation__submenu-container) a {
	padding: 2px 10px;
}

/* Utility
---------------------------------------- */

/* -- Box Shadow -- */

.is-style-shadow-light {
	box-shadow: var(--wp--preset--shadow--light);
}

.is-style-shadow-solid {
	box-shadow: var(--wp--preset--shadow--solid);
}

.entry-surface {
	background: transparent;
	box-shadow: none;
}

.production-entry-shell {
	width: 100%;
}

.production-entry-surface {
	width: min(100%, var(--wp--style--global--wide-size));
}

.production-hero {
	padding-bottom: 0;
}

.production-hero .wp-block-post-content {
	max-width: none;
}

.production-hero .wp-block-post-content > :first-child {
	margin-top: 0;
}

.production-hero .wp-block-embed,
.production-hero .wp-block-video {
	margin: 0;
}

.production-hero .wp-block-embed iframe,
.production-hero iframe {
	aspect-ratio: 16 / 9;
	background-color: #000;
	border: 0;
	display: block;
	height: auto;
	width: 100%;
}

.production-hero video {
	display: block;
	height: auto;
	width: 100%;
}

.production-meta-layout {
	align-items: flex-start;
}

.production-entry-header .post-meta {
	color: rgba(0, 0, 0, 0.75);
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.production-entry-header .wp-block-post-title {
	margin-bottom: 0;
}

.production-details-column {
	border-left: 1px solid var(--wp--preset--color--contrast);
	padding-left: var(--wp--preset--spacing--small);
}

.production-details {
	display: grid;
	gap: 14px;
}

.production-details__item {
	margin: 0;
}

.production-details__item p {
	margin: 0;
}

.production-details__item + .production-details__item {
	border-top: 1px solid var(--wp--preset--color--contrast);
	padding-top: 14px;
}

.production-details__label {
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: 0.08em;
	margin-bottom: 8px !important;
	text-transform: uppercase;
}

.front-page-content {
	display: grid;
	gap: var(--wp--preset--spacing--small);
	grid-template-columns: minmax(0, 1fr);
	margin-left: auto;
	margin-right: auto;
	width: min(100%, 980px);
}

.wp-site-blocks > .front-page-content.alignwide {
	margin-left: auto !important;
	margin-right: auto !important;
}

.front-page-panel {
	background: transparent;
	border-color: var(--wp--preset--color--contrast);
	box-sizing: border-box;
	justify-self: stretch;
	max-width: 100%;
	width: 100%;
}

.front-page-panel--intro,
.front-page-panel--updates {
	min-width: 0;
}

.front-page-intro-header p,
.front-page-updates-header p {
	letter-spacing: 0.08em;
	margin-bottom: 0;
	text-transform: uppercase;
}

.front-page-intro-header h1,
.front-page-updates-header h2 {
	max-width: 24ch;
}

.front-page-intro-grid {
	display: grid;
	gap: var(--wp--preset--spacing--small);
	grid-template-columns: minmax(0, 1fr);
	max-width: 72ch;
}

.front-page-intro-grid > p {
	margin: 0;
}

.front-page-updates-header,
.front-page-feed-nav,
.front-page-feed {
	max-width: 72ch;
}

.front-page-feed-nav {
	align-items: baseline;
	column-gap: 1rem;
	row-gap: 0.4rem;
	margin-bottom: var(--wp--preset--spacing--x-small);
}

.front-page-feed-nav p {
	margin: 0;
}

.front-page-feed {
	display: grid;
	gap: 0;
}

.front-page-posts .has-small-font-size {
	margin-bottom: 0;
}

.front-page-post-entry:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.front-page-post-entry {
	border-bottom: 1px solid var(--wp--preset--color--contrast);
	padding-bottom: var(--wp--preset--spacing--x-small);
	padding-top: var(--wp--preset--spacing--x-small);
}

.front-page-post-type {
	font-size: var(--wp--preset--font-size--x-small);
	letter-spacing: 0.08em;
	margin-bottom: 0.4rem;
	text-transform: uppercase;
}

.front-page-post-title {
	font-family: var(--wp--preset--font-family--primary);
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.15;
	margin-bottom: 0;
	max-width: 28ch;
}

.front-page-post-title a {
	text-decoration: none;
}

.front-page-post-excerpt {
	margin-bottom: 0;
	margin-top: 0.6rem;
}

@media only screen and (min-width: 783px) {

	.front-page-content {
		grid-template-columns: minmax(0, 1fr);
	}

	.front-page-panel--updates {
		position: static;
	}
}

/* Media Queries
---------------------------------------- */

@media only screen and (max-width: 600px) {

	/* -- Utility -- */

	.is-style-hidden-mobile {
		display: none !important;
	}

}

@media only screen and (max-width: 782px) {

	.production-details-column {
		border-left: 0;
		border-top: 1px solid var(--wp--preset--color--contrast);
		padding-left: 0;
		padding-top: var(--wp--preset--spacing--small);
	}

	/* -- Columns -- */

	.is-style-columns-reverse {
		flex-direction: column-reverse;
	}

}

@media only screen and (max-width: 1100px) {

	.production-meta-layout {
		flex-wrap: wrap !important;
	}

	.production-meta-layout > .wp-block-column {
		flex-basis: 100% !important;
	}

	.production-details-column {
		border-left: 0;
		border-top: 1px solid var(--wp--preset--color--contrast);
		padding-left: 0;
		padding-top: var(--wp--preset--spacing--small);
	}

}
