/*!
Theme Name: Månskensrinkarna
Theme URI: https://henson.nu/
Author: Henson
Author URI: https://henson.nu/
Description: Custom theme for Månskensrinkarna
Version: 1.0.0
Tested up to: 6.3
Requires PHP: 8
Text Domain: wp_mansken
Tags: custom
*/
/* ##################### Fonts */
/* Figtree (Light/Upright) */
@font-face {
	font-family: 'Archia';
	src: url('fonts/Figtree-VariableFont_wght.woff2') format('woff2');
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
/* Figtree (Regular/Upright) */
@font-face {
	font-family: 'Archia';
	src: url('fonts/Figtree-Italic-VariableFont_wght.woff2') format('woff2');
	font-weight: 100 900;
	font-style: italic;
	font-display: swap;
}
/* ##################### Fonts / Typography */
body, p, h1, h2, h3, h4, h5, h6 {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-smooth: always;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    body, p, h1, h2, h3, h4, h5, h6 {
        text-rendering: optimizeLegibility; 
    }
    p > strong, p > b, h4, h5, h6 {
        font-weight: bold;
    }
}
/* ##################### CSS Reset */
*, *::before, *::after {
	box-sizing: border-box;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -moz-tap-highlight-color: rgba(0, 0, 0, 0);
	tap-highlight-color: rgba(0, 0, 0, 0);
	font-smoothing: antialiased;
	-webkit-font-smoothing: antialiased;
}
::-moz-selection {
	color: currentColor;
	background: transparent;
}
::selection {
	color: currentColor;
	background: transparent;
}
html {
	width: 100%;
	overflow: hidden;
}
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd {
	margin-block-start: 0;
	margin-block-end: 0;
}
ul[role='list'], ol[role='list'] {
	list-style: none;
}
body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0;
	height: 100dvh;
	line-height: 1.5;
	padding: 0;
	margin: 0;
	font-size: 100%;
	width: 100%;
	font-family: 'Archia', sans-serif;
	background-color: var(--icey_site_color_blue);
	overflow: hidden;
}
h1, h2, h3, h4, button, input, label {
	line-height: 1.1;
}
h1, h2, h3, h4 {
	text-wrap: balance;
}
a:not([class]) {
	text-decoration-skip-ink: auto;
	color: currentColor;
}
img, picture {
	max-width: 100%;
	display: block;
}
input, button, textarea, select {
	font-family: inherit;
	font-size: inherit;
}
textarea:not([rows]) {
	min-height: 10em;
}
:target {
	scroll-margin-block: 5ex;
}
/* ##################### 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: bold;
	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;
}
@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
/* ##################### Base */
:root {
	--icey_site_content_width: 1700px;
	--icey_site_content_inner_width: 900px;
	--icey_site_content_h_padding: 3rem;
	--icey_site_border_radius: 0.2rem;
	--icey_site_admin_bar: 32px;

	--icey_site_color_blue: #162444;
	--icey_site_color_red: #bf2322;
	--icey_site_color_green: #4b944a;
	--icey_site_color_grey_light: #edf1f5;
	--icey_site_color_text_dark: var(--icey_site_color_blue);
	--icey_site_color_text_light: var(--icey_site_color_grey_light);
}
/* ##################### Animations */
/* ##################### Header */
/* ##################### Default Sections and Wrappers */
.mansken_main{
	display: flex;
	justify-content: center;
	aspect-ratio: 16 / 9;
	width: 100%;
	max-height: 100vh;
	object-fit: contain;
	overflow: hidden;
}
/* ############################ View - Splash screen */
.icey_splash_container {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2rem;
	width: 100%;
	background-color: var(--icey_site_color_blue);
	padding: 2rem;
}
.icey_splash_link {
	display: block;
	width: 100%;
	max-width: 600px;
	padding: 3rem 2rem;
	background-color: #ffffff;
	color: var(--icey_site_color_text_dark);
	text-decoration: none;
	border-radius: var(--icey_site_border_radius);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
	text-align: center;
}
.icey_splash_link:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.icey_splash_link__title {
	font-size: 2rem;
	font-weight: 700;
	text-transform: uppercase;
	margin: 0;
}
.icey_splash_link__desc {
	font-size: 1.1rem;
	margin: 0.5rem 0 0 0;
	opacity: 0.8;
}

/* ############################ View - Flow 1 */
.icey_flow1_container {
    display: flex;
    width: auto;
    height: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.icey_flow1_map_area {
	width: 50%;
	height: 100%;
	background-color: #f0f0f0;
}
.icey_map_wrapper {
	position: relative;
	height: 100%;
	aspect-ratio: 8 / 9;
}
.icey_map_image {
	width: 100%;
	height:100%;
	object-fit: cover;
	object-position: 100% 50%;
}
.icey_map_dot {
	position: absolute;
	width: 1.9rem;
	height: 1.9rem;
	background-color: var(--icey_site_color_red);
	border: none;
	border-radius: 50%;
	translate: -50% -50%;
	cursor: pointer;
	transition: all 0.2s ease-out;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 500;
	font-size: 1.1rem;
	color: white;
	padding: 1px 1px 0px 0px;
}
.icey_map_dot--samling {
	width: 2.3rem;
	height: 2.3rem;
}
.icey_map_dot:hover {
	scale: 1.2;
	box-shadow: 0 0 15px rgba(0,0,0,0.5);
}
.icey_map_dot.icey_active{
	background-color: var(--icey_site_color_green);
}
.icey_map_dot.is_dragging {
	cursor: grabbing;
	background-color: #000;
	z-index: 100;
	scale: 1;
}
.icey_flow1_content_area {
	width: 50%;
	height: 100%;
	position: relative;
	overflow: hidden;
	font-family: 'Archia', sans-serif;
}
#icey_content_pane_wrapper {
	position: relative;
	width: 100%;
	height: 100%;
}
.icey_content_pane {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
    overflow-y: auto;
    z-index: 1;
    display: flex;
    flex-direction: column;
	overflow: hidden;
}
.icey_content_pane.is_active {
	transform: translateX(0);
}
.icey_content_pane.is_exiting {
	transform: translateX(100%);
}
.icey_content_pane--start,
.icey_content_pane--start.is_active {
	transform: translateX(0);
	z-index: 1;
}
.icey_content_pane--samling {
	z-index: 2;
}
.icey_content_pane--standard {
	z-index: 3;
}
.icey_content_pane--error {
	z-index: 4;
}
.icey_content_pane--start{
	display: flex;
	justify-content: center;
	align-items: center;
}
.icey_content_pane_start_content_wrapper{
	display: flex;
	flex-direction: column;
	text-align: center;
}
.icey_flow1_start_headline {
	font-size: 3rem;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 2rem;
}
.icey_flow1_start_intro {
	font-size: 2rem;
	font-weight: bold;
}
.icey_content_pane_content{
	padding: 8rem;
	height: calc(100% - 90px);
	overflow-y: auto;
}
.icey_flow1_headline {
	font-size: 3rem;
	font-weight: 700;
	text-transform: uppercase;
	margin-top: 3rem;
	margin-bottom: 3rem;
	text-align: center;
}
.icey_samling_list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: center;
}
.icey_samling_link {
    font-size: 1.3rem;
    font-weight: 500;
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    background-color: var(--icey_site_color_blue);
    border-radius: calc(var(--icey_site_border_radius) * 10);
    transition: all 0.2s ease-out;
    display: flex;
    justify-content: space-between;
	text-transform: uppercase;
	max-width: 37rem;
	width: 100%;
}
.icey_samling_link:hover {
	background-color: var(--icey_site_color_blue);
	color: var(--icey_site_color_text_light);
	transform: translateX(10px);
}
.icey_samling_link svg{
	width: 1rem;
}
.icey_flow1_scroll_wrapper {
    height: calc(100% - 90px);
    overflow: hidden;
	position: relative;
}
.icey_flow1_content_wrapper {
	margin-top: 2rem;
	padding: 3rem 6rem;
}
.icey_flow1_preamble {
	font-size: 1.3rem;
	font-weight: 600;
	line-height: 1.5;
	margin-bottom: 1.5rem;
	margin-top: -1rem;
}
.icey_flow1_image_wrapper {
	margin-bottom: 2rem;
}
.icey_flow1_image_wrapper img {
	width: 100%;
	height: auto;
	object-fit: cover;
}
.icey_flow1_main_content {
	font-size: 1.1rem;
	line-height: 1.6;
}
.icey_flow1_main_content p {
	margin-bottom: 1.5em;
}
.icey_flow1_main_content img{
	object-fit: contain;
	width: 100%;
	height: auto;
}
.icey_content_pane_content_bottom_info{
	padding: 2rem;
	font-size: 1.1rem;
}
.icey_content_pane_footer {
    width: 100%;
    background-color: var(--icey_site_color_blue);
    margin-top: auto;
    padding: 1.5rem;
    border-radius: 10px 10px 0 0;
	height: 90px;
}
.icey_flow1_back_button {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background-color: var(--icey_site_color_red);
	color: var(--icey_site_color_text_light);
	font-family: 'Archia', sans-serif;
	font-weight: 600;
	text-transform: uppercase;
	border: none;
	border-radius: calc(var(--icey_site_border_radius) * 5);
	padding: 0.8rem 1.5rem;
	font-size: 1rem;
	cursor: pointer;
	transition: all 0.2s ease-out;
}
.icey_flow1_back_button:hover {
	transform: scale(1.05);
}
.icey_flow1_back_button svg {
	width: 1rem;
	height: 1rem;
	transform: rotate(180deg);
}
.icey_flow1_back_button svg path {
	fill: var(--icey_site_color_text_light);
}
.icey_flow1_jerseys_section {
	position: relative;
	z-index: 2;
    width: 100%;
    margin-left: 0;
    padding: 1.5rem 0;
    background-color: var(--icey_site_color_grey_light);
}
.icey_jerseys_header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
	padding: 0 1.5rem;
}
.icey_flow1_jerseys_headline {
	margin-bottom: 0;
	font-weight: 500;
	text-transform: uppercase;
}
.icey_jerseys_nav_wrapper {
	display: flex;
	gap: 1rem;
}
.icey_jersey_nav {
	position: static;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background-color: #ffffff;
	border: 1px solid var(--icey_site_color_red);
	color: var(--icey_site_color_red);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
}
.icey_jersey_nav.is_scrollable {
	background-color: var(--icey_site_color_red);
	color: #ffffff;
}
.icey_jerseys_track {
	display: flex;
	gap: 0.6rem;
	overflow-x: auto;
	scroll-behavior: smooth;
	scrollbar-width: none;
	width: 100%;
	padding-bottom: 1rem;
	padding-left: 1.5rem;
	cursor: grab;
	user-select: none;
}
.icey_jerseys_track.is_dragging {
	cursor: grabbing;
	scroll-behavior: auto;
}
.icey_jerseys_track img {
	pointer-events: none;
}
.icey_jersey_card {
	flex: 0 0 265px;
	display: flex;
	flex-direction: column;
}
.icey_jersey_card__image {
	width: 100%;
	aspect-ratio: 5 / 6;
	margin-bottom: 1rem;
	background-color: #ffffff;
	border-radius: var(--icey_site_border_radius);
	overflow: hidden;
}
.icey_jersey_card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}
.icey_jersey_card__headline{
	font-size: 1.3rem;
	font-weight: bold;
	text-transform: uppercase;
}
.icey_jerseys_scrollbar_track {
    width: calc(100% - 3rem);
    height: 0.5rem;
    background-color: #d1d1d1;
    border-radius: var(--icey_site_border_radius);
    margin-top: 1rem;
    position: relative;
    overflow: hidden;
    margin-left: 1.5rem;
    margin-right: 1.5rem;
	box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.25), 
				inset -1px -1px 2px rgba(255, 255, 255, 0.7);
}
.icey_jerseys_scrollbar_thumb {
	height: 100%;
	background-color: var(--icey_site_color_red);
	border-radius: var(--icey_site_border_radius);
	width: 0%;
	position: absolute;
	left: 0;
	transition: width 0.1s, left 0.1s;
}

/* ############################ View - Flow 2 */
.icey_flow2_wrapper {
	margin: 0 auto;
	height: 100vh;
	width: auto;
	background-color: white;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}
.icey_flow2_headline {
    font-size: 3rem;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    color: #000000;
    height: 10rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem 0 2rem;
}
.icey_media_puff_grid {
	padding: 1rem 1rem 8rem 1rem;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 1rem;
}
.icey_flow2_wrapper .icey_custom_scroll_wrapper {
	height: calc(100vh - 18rem);
}
.icey_flow2_wrapper .icey_custom_scroll_content {
	height: calc(100vh - 10rem);
	border-radius: var(--icey_site_border_radius);
	padding-right: 7rem;
	padding-left: 4rem;
}

/* ############################ Components / Media Puff */
.icey_media_puff {
	display: block;
	text-decoration: none;
	background-color: var(--icey_site_color_blue);
	color: var(--icey_site_color_grey_light);
	border-radius: var(--icey_site_border_radius);
	overflow: hidden;
	transition: transform 0.2s ease-out;
	box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.icey_media_puff:hover,
.icey_media_puff:focus {
	transform: scale(1.02);
}
.icey_media_puff__image {
	line-height: 0;
	aspect-ratio: 1 / 1;
	padding: 0.5rem;
}
.icey_media_puff__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.icey_media_puff__content {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 20px;
	padding: 1rem 1.2rem 1.5rem 1.2rem;
}
.icey_media_puff__text {
	
	flex-grow: 1;
}
.icey_media_puff__kicker {
	font-size: 0.9rem;
	text-transform: uppercase;
	color: var(--icey_site_color_text_light);
	display: block;
	margin-bottom: 4px;
}
.icey_media_puff__title {
	font-size: 1.2rem;
	font-weight: bold;
	color: var(--icey_site_color_text_light);
	line-height: 1.2;
	margin: 0 0 8px 0;
	text-wrap: pretty;
	text-transform: uppercase;
}
.icey_media_puff__excerpt {
	font-size: 1.1rem;
	color: var(--icey_site_color_grey_light);
	opacity: 0.9;
	line-height: 1.4;
	margin: 0;
}
.icey_media_puff__play img {
	width: 2.5rem;
	height: 2.5rem;
	transition: transform 0.2s ease-out;
}
.icey_media_puff:hover .icey_media_puff__play img,
.icey_media_puff:focus .icey_media_puff__play img {
	transform: scale(1.1);
}

/* ############################ Components / Custom Scrollbar */
.icey_custom_scroll_wrapper {
	position: relative;
}
.icey_custom_scroll_content {
	height: 100%;
	overflow-y: auto;
	scrollbar-width: none;
	border-radius: var(--icey_site_border_radius);
}
.icey_custom_scroll_content::-webkit-scrollbar {
	display: none;
}
.icey_custom_scrollbar {
	position: absolute;
	right: 3.5rem;
	width: 0.5rem;
	max-height: 60vh;
	background-color: var(--icey_site_color_grey_light);
	border-radius: var(--icey_site_border_radius);
	height: 30rem;
	top: 50%;
	translate: 0 -50%;
	box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.25), 
				inset -1px -1px 2px rgba(255, 255, 255, 0.7);
}
.icey_custom_scrollbar_thumb {
	position: absolute;
	left: 0;
	right: 0;
	width: 100%;
	background-color: var(--icey_site_color_red);
	border-radius: var(--icey_site_border_radius);
	cursor: pointer;
	display: none;
}

/* ############################ Components / Media Modal */
.icey_modal_is_open {
	overflow: hidden;
}
.icey_modal_overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background-color: #ffffff;
	z-index: 9998;
	opacity: 0;
	animation: icey_fade_in 0.2s ease-out forwards;
}
@keyframes icey_fade_in {
	from { opacity: 0; }
	to { opacity: 1; }
}
.icey_modal_wrapper {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}
.icey_modal_close_button {
	position: absolute;
	top: 1.5rem;
	right: 1.5rem;
	width: 3.5rem;
	height: 3.5rem;
	background-color: transparent;
	background-image: url('img/button_close_red.svg');
	background-size: 100%;
	background-repeat: no-repeat;
	background-position: center;
	border: none;
	cursor: pointer;
	z-index: 10001;
	padding: 0;
	transition: transform 0.2s ease-out;
}
.icey_modal_close_button:hover {
	transform: scale(1.1);
}
.icey_modal_wrapper--video {
	background-color: #000;
}
.icey_modal_wrapper--video .icey_modal_player_area {
	height: calc(100% - 200px);
	width: 100%;
	background-color: var(--icey_site_color_blue);
}
.icey_modal_wrapper--video .icey_modal_player_area video {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.icey_modal_wrapper--sound {
	background-color: #ffffff;
}
.icey_modal_sound_content_area {
    display: flex;
    height: calc(100% - 200px);
    overflow: hidden;
}
.icey_modal_sound_content_area__image {
    width: 50%;
    height: 100%;
    padding: 4rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.icey_modal_sound_content_area__image img {
    width: 100%;
    object-fit: contain;
    height: 500px;
    object-position: center right;
}
.icey_modal_sound_content_area__text {
    width: 50%;
    height: 100%;
    padding: 2rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.icey_modal_sound_content_area__kicker {
	font-size: 1rem;
	text-transform: uppercase;
	color: #000;
	opacity: 0.7;
}
.icey_modal_sound_content_area__headline {
	font-size: 2.6rem;
	font-weight: bold;
	color: #000;
	text-transform: uppercase;
	margin: 0.5rem 0 1.5rem 0;
}
.icey_modal_sound_content_area__contents {
	font-size: 1.6rem;
	line-height: 1.6;
	color: #333;
	max-width: 600px;
	padding-bottom: 3rem;
}
.icey_modal_sound_content_area__contents p {
	margin-bottom: 1em;
}
.icey_modal_player_controls {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 200px;
	background-color: var(--icey_site_color_blue);
	display: flex;
	align-items: center;
	padding: 0 6rem;
	gap: 2rem;
	z-index: 10000;
}
.icey_modal_player_button {
    background-color: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    width: auto;
    height: 65%;
    aspect-ratio: 1 / 1;
}
.icey_modal_player_button img {
	width: 100%;
	height: 100%;
	transition: transform 0.1s ease-out;
}
.icey_modal_player_button:hover img {
	transform: scale(1.05);
}
.icey_modal_player_info {
	width: 20%;
	color: var(--icey_site_color_text_light);
}
.icey_modal_player_info__title {
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 0.2em;
}
.icey_modal_player_info__kicker {
	font-size: 1.1rem;
	text-transform: uppercase;
}
.icey_modal_player_timeline_wrapper {
    display: flex;
    width: 60%;
    align-items: center;
    gap: 0.5rem;
}
.icey_modal_player_time {
	color: var(--icey_site_color_text_light);
	font-size: 0.9rem;
	min-width: 45px;
	text-align: center;
}
.icey_modal_player_timeline_track {
	flex-grow: 1;
	height: 8px;
	background-color: var(--icey_site_color_grey_light);
	border-radius: 4px;
	cursor: pointer;
	overflow: hidden;
	box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.25), 
				inset -1px -1px 2px rgba(255, 255, 255, 0.7);
}
.icey_modal_player_timeline_current {
	height: 100%;
	width: 0%;
	background-color: var(--icey_site_color_red);
	border-radius: 4px;
	pointer-events: none;
}

/* ############################ Footer */
body > footer {
	margin-top: auto;
	width: 100%;
}
/* ############################ Media Queries/Responsive */
/* ###################### Laptop */
@media only screen and (max-width: 1440px) {}
/* ###################### Tablet */
@media only screen and (max-width: 1024px) {}
/* ###################### Phone */
@media only screen and (max-width: 768px) {
}
/* ####################################################### Admin */
#wp-admin-bar-wp-logo {
	display: none !important;
}
body.admin-bar .dialog-lightbox-widget {
	height: 100vh;
}