:root {
	--heading-font: "Prata", serif;
	--sub-heading-font: "Overpass", sans-serif;
	--body-font: "Overpass", sans-serif;
	--top-bar-height: 24px;
	--navigation-size: 14px;
	--navigation-line-height: 18px;
	--navigation-gap: 15px;
	--default-spacing: 40px;
	--color-premium: #4a0433;
	--color-accent: #ff5c5e;
	--color-complementary: #f7f4e9;
	--wp--preset--color--base: white;
}
/* Structure */
body {
	background: var(--wp--preset--color--accent-5);
	font-family: var(--body-font);
}

/* Page header */
header {
	color: #58113d;
	background: #fdfdf3;
	font-weight: bold;
}
.page-top {
	height: var(--top-bar-height);
}
.page-top, .page-top :where(.wp-block-navigation) {
	font-size: var(--navigation-size);
	line-height: var(--navigation-line-height);
	align-items: flex-end;
}
.page-top .left, .page-top .right {
	position: relative;
	z-index: 10;
	align-items: flex-end;
}
.page-top ul, .page-top .right {
	gap: 0 var(--navigation-gap);
}
figure.logo {
	position: relative;
	top: -24px;
	z-index: 5;
	width: 240px;
}
figure.logo a {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 10;
	padding: 0px 25px 20px 25px;
	border-radius: 5px;
	background: #fdfdf3;
}
figure.logo img {
	width: 240px;
}
figure.logo a::before, figure.logo a::after {
	position: absolute;
	top: var(--top-bar-height);
	content: " ";
	display: block;
	width: 30px;
	height: 74px;
	background: #fdfdf3;
}

figure.logo a::before {
	right: 100%;
	clip-path: polygon(100% 0%, 0% 0%, 100% 100%);
	transform: rotate(0deg);
}
figure.logo a::after {
	left: 100%;
    clip-path: polygon(0% 0%, 100% 0%, 0% 100%);
	transform: rotate(0deg);
}
figure.navigation-size img {
	height: var(--navigation-line-height);
	width: auto;
}
.wp-block-search__inside-wrapper button {
	padding: 0;
}
.wp-block-search__input {
	padding: 0 4px;
}
.wp-block-search__button-only label, .wp-block-search__button-only input {
	line-height: var(--navigation-line-height);
}
.white-box {
	padding: 3.84vw 7.67vw;
	background: rgba(255,255,255,0.8);
	box-sizing: content-box;
}
.wp-block-cover .white-box {
	max-width: 590px;
}
.headline-with-small-text {
	font-family: var(--heading-font);
}

/* Main */
main {
    margin-top: 0;
}
.featured-image-container {
	min-height: 200px;
	background: #58113d;
}
.triangle-cta {
	position: relative;
	z-index: 5;
	color: white;
	padding: 10px 55px 30px 25px;
	background: url('../images/triangel.svg') no-repeat center center;
	display: inline-block;
	text-decoration: none;
	line-height: 1;
	font-weight: 500;
	font-size: 18px;
	text-indent: -5px;
	word-break: keep-all;
}

/* Footer */
footer.wp-block-template-part {
	background: url('../images/wlh-logo.svg') no-repeat top center #4f0433;
	background-size: 306px;
	color: white;
	padding-top: 24px;
}
.wp-social-link.pentagon {
	background: url('../images/femstjarna.svg') no-repeat center center;
	background-size: contain;
	border-radius: 0;
	position: relative;
	top: -2px;
}
.wp-social-link.pentagon a {
	padding: 8px 6px 4px 6px;
}
.wp-social-link.pentagon.upsidedown {
	background-image: url('../images/femstjarna-ned.svg');
	top: 2px;
}
.wp-social-link.pentagon.upsidedown a {
	padding: 4px 6px 8px 6px;
}
footer a {
	color: inherit;
}
/* Navigation */
footer .navigation h2 {
	font-size: 21px;
	font-weight: 600;
	font-family: var(--body-font);
	text-transform: none;
}

.navigation a {
	text-decoration: none;
}
.navigation ul {
	list-style-type: none;
	padding-left: 0;
	font-size: 18px;
	margin-top: 10px;
	border-top: 2px solid #ac2f4d;
	font-weight: 500;
}
/* Common styles */
h1.wp-block-post-title {
	border-bottom: 2px solid #b3b0a8;
	max-width: var(--wp--style--global--wide-size);
}
h2.wp-block-heading  {
	text-transform: uppercase;
	font-size: var(--wp--preset--font-size--large);
	font-family: var(--wp--preset--font-family--overpass);
	font-style: normal;
    font-weight: 800;
}
h2.quote-style {
	font-family: var(--heading-font);
	letter-spacing: 1px;
	text-transform: none;
	font-size: clamp(1.5rem, 1.5rem + ((1vw - 0.2rem) * 0.392), 1.75rem);
	margin-bottom: 6px;
}
p.quote-sub {
	font-size: 14px;
	font-style: italic;
	white-space: nowrap;
	vertical-align: baseline;
	font-family: var(--body-font);
	letter-spacing: 0;
	margin-top: 0;
	margin-bottom: 4em;
}
.wp-block-breadcrumbs a {
	/* filter:grayscale(1); */
	color: #7f7f7f;
}
a.incognito {
	color: inherit;
}
strong {
	font-weight: 600;
}
h2.no-transform {
	text-transform: none;
}
p.shift-up {
	margin-top: -20px
}
a.arrow-down {
	clip-path: polygon(50% 100%, 0% 0%, 100% 0%);
	background: var(--color-premium);
	transform: rotate(0deg);
	color: white;
	display: inline-block;
	padding: 5px 50px 25px 50px;
	box-sizing: border-box;
	position: relative;
	z-index: 5;
}
p.address strong {
	color: #ff5c5e;
	text-transform: uppercase;
	display: inline-block;
	margin: 0 10px;
    margin-left: 10px;
	font-weight: 600;
}
p.address strong:first-child {
	margin-left: 0;
}

/* Accordion */
.has-accordion {
	background: #fffef6;
	padding: 10px;
}
.wp-block-accordion-item {
	border: 4px solid #4f0433;
	padding: 4px 0 4px 10px;
	margin-block-start: 1rem;
}
.wp-block-accordion-item:first-child {
	margin-block-start: 0;
}
.wp-block-accordion-heading__toggle-icon {
	font-size: 30px;
	height: 1em;
	width: 1em;
}
.wp-block-accordion-heading {
	text-transform: uppercase;
	font-weight: 600;
	margin: 0;
	padding: 0 0 0 10px;
}
.wp-block-accordion-panel {
	font-size: 16px;
	margin-top: 10px;
}
.is-layout-flow.wp-block-accordion-panel {
	margin-bottom: 10px;
}
.is-open .wp-block-accordion-heading {
	border-bottom: 2px dotted #ae8ca1;
}
.wp-block-accordion-panel a {
	text-decoration: underline;
}
/* Inspirations section */
section.inspirations {
	margin-top: 0;
}
section.inspirations .uagb-post-grid-byline {
	display: none;
}
section.inspirations .uagb-post__text.uagb-post__excerpt {
	padding-bottom: 0;
	font-size: var(--wp--preset--font-size--medium);
}
section.inspirations .uagb-post-grid .uagb-post__cta {
	display: inline;
}
section.inspirations .uagb-post-grid .uagb-post__cta a {
	background: none;
	color: var(--wp--preset--color--accent-1);
	padding: 0;
}
.is-layout-constrained > .carousel-container {
	max-width: calc(110px + var(--wp--style--global--wide-size));
}
.is-layout-constrained > .carousel-container > .alignwide {
	max-width: calc(110px + var(--wp--style--global--wide-size));
}
.wp-block-query h2 a, .wp-block-query h3 a {
	color: inherit;
}
/* Quotes */
h1.tiny, h2.tiny {
	text-transform: uppercase;
	font-size: 14px;
	color: #ff5c5e;
}
blockquote.wlh-quote {
	font-family: var(--heading-font);
	letter-spacing: 1px;
}
blockquote.wlh-quote p {
	font-family: inherit;
	line-height: 1.35;
}
blockquote.wlh-quote sub {
	font-size: 14px;
	font-style: italic;
	white-space: nowrap;
	vertical-align: baseline;
	font-family: var(--body-font);
	letter-spacing: 0;
}
.wp-block-post-excerpt__excerpt {
	margin-right: 20px;
}
/* Images */
figcaption {
	font-weight: 600;
}
.images-aspect-square img {
	aspect-ratio: 1;
	object-fit: cover;
}
.images-aspect-landscape img {
	aspect-ratio: 4/3;
	object-fit: cover;
}
/* Aktuellt */
.wp-block-latest-posts__post-title {
	font-weight: 600;
	color: inherit;
	font-size: var(--wp--preset--font-size--large);
}
time a, .wp-block-latest-posts__post-date {
	font-style: italic;
}
.wp-block-latest-posts__post-date {
	margin-top: 6px;
}
.wp-block-latest-posts__post-excerpt {
	margin: 2px 20px 0 0;
}
.wp-block-latest-posts__read-more {
	color: var(--wp--preset--color--accent-1);
	white-space: nowrap;
}
/* Courses */
section.triangle {
	margin-top: 0;
	background-image: url('../images/triangle-bg.png');
	background-color: #f6f4e9;
	background-repeat: no-repeat;
	background-position: center top;
	background-size: calc(60% - var(--wp--preset--spacing--50) * 2) 100%;
}

div.courses ul {
	align-items: center;
}
div.courses a {
	color: white;
	font-weight: 300;
	font-style: italic;
	display: flex;
	gap: 20px;
}
.actual-courses ul {
	list-style-type: disc;
  padding-left: 1.0em;
}
.actual-courses ul li h4 {
	display: inline;
}
div.courses.uagb-slick-carousel {
	padding: 0;
}
div.courses.uagb-slick-carousel.uagb-post__items article {
	margin: 0;
	font-size: var(--wp--preset--font-size--medium);
}
div.courses.uagb-slick-carousel.uagb-post__items .slick-slide > div {
	height: calc(var(--wp--preset--font-size--medium) * 1.125);
}
div.courses.uagb-slick-carousel.uagb-post__items h4 {
	font-size: inherit;
	margin: 0;
	padding: 0;
}
div.courses.uagb-slick-carousel h4 a::after {
	content: "→";
}
div.courses.uagb-slick-carousel.uagb-post__items .uagb-post-grid-byline  {
	display: none;
}
/* External news */
.external-news h2 {
	text-transform: none;
}
ul.wp-block-rss.is-grid {
	gap: var(--default-spacing);
}
.wp-block-rss__item-title {
	font-weight: 700;
	margin-bottom: 5px;
}
.wp-block-rss__item-title a {
	color: inherit;
}
.external-news time {
	font-style: italic;
	font-size: 0.8em;
	margin: 6px 0 2px 0;
}

/* Utility classes */
.flex {
	display: flex;
}
.flex.v-center {
	align-items: center;
}
.font-italic {
	font-style: italic;
}
.justify-between {
	justify-content: space-between;
}
@media (min-width: 782px) {
	section.inspirations {
		background-image: url('../images/inspirations-bg-v2.png');
		background-repeat: no-repeat;
		background-position: center top;
		background-size: calc(100% - var(--wp--preset--spacing--50) * 2) 100%;
	}	
	footer.wp-block-template-part {
		padding-top: 0;
	}
	.white-box {
		padding: 30px 60px;
	}
	.headline-with-small-text {
		display: grid;
		gap: 0 20px;
		grid-template-areas:
			'line line'
			'large small';
		line-height: 1;
		font-weight: 500;
	}
	.headline-with-small-text .line {
		grid-area: line;
	}
	.headline-with-small-text .line, .headline-with-small-text .large {
		font-size: 40px;
		letter-spacing: 1px;
		line-height: 1.15;
	}
	.half-size {
		font-size: 0.4em;
		grid-area: small;
		align-self: center;
		font-family: var(--body-font);
	}
	.navigation .wp-block-column, .has-separator .wp-block-column {
		position: relative;
	}
	.navigation .wp-block-column:not(:last-child)::after, .has-separator .wp-block-column:not(:last-child)::after {
		display: block;
		content: "";
		position: absolute;
		top: 0;
		bottom: 0;
		left: calc(100% + var(--default-spacing)/2 - 1px);
		border-right: 2px dotted #ae8ca1;
	}
}
@media (max-width: 781px) { 
	.white-box.in-header {
		margin-top: 78px;
	}
}
@media (min-width: 600px) {
	ul.wp-block-rss.columns-2 li {
		flex: 1;
		margin: 0;
	}
	.mobile-only, .mobile-only * {
		display: none;
	}
}
@media (max-width: 599px) {
	.headline-with-small-text {
		line-height: 8.26vw;
	}
	.headline-with-small-text span {
		font-size: 6.33vw;
		
	}
	.desktop-only, .desktop-only *  {
		display: none;
	}	
}
@media (min-width: 1460px) {
	section.inspirations {
		background-size: var(--wp--style--global--wide-size) 100%;
	}
}