/* styles.css */
:root {
	--header-height: 100px;
}

body {
	margin: 0;
	font-family: Arial, sans-serif;
	line-height: 1.6;
}

#home-link {
	position: fixed;
	top: 110px;
	left: 12px;
	width: 20vw;
	max-width: 360px;
	z-index: 42;
	transition: top 0.25s ease, width 0.25s ease;
}

/* Logoen følger containeren */
#home-link img#logo {
	width: 100%;
	height: auto;
	display: block;
	margin: 0;

	/* Default: logo på lys bakgrunn */
	content: var(--logo-on-light);
}

/* Når filterpanelet er åpent → logo på mørk bakgrunn */
body.filter-panel-open #home-link img#logo {
	content: var(--logo-on-dark);
}

/* Når filterpanelet er åpent */
body.filter-panel-open #home-link {
	top: 12px;
	width: 160px;
	z-index: 10050;
}

.hide-hidden-content,
.volume-container,
.volume-mute,
.volume-slider,
.audio-play-mute,
.audio-play-pause,
.audio-mute,
.progress-bar-row,
.year-label,
.remove_filter,
.tema-tag,
.medarbeider-tag,
.preset-btn {
	cursor: pointer;
}
.tema-tag:hover,
.medarbeider-tag:hover,
.preset-btn:hover {
	font-weight: bold;
}

div.year-label {
	position: relative;
	left: -10px;
	width: fit-content;
	height: fit-content;
	border-radius: 0.3em;
}

input[type="range"] {
	cursor: pointer;
	width: 100%;
	height: 8px;
	background: #ddd;
	outline: none;
	opacity: 0.7;
	transition: opacity 0.2s;
}

input[type="range"]:hover {
	opacity: 1;
}

input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 20px;
	height: 20px;
	background: #333;
	cursor: pointer;
	border-radius: 50%;
}

input[type="range"]::-moz-range-thumb {
	width: 20px;
	height: 20px;
	background: #333;
	cursor: pointer;
	border-radius: 50%;
}
h5 {
	font-size: 1.2rem;
	margin: 0;
	padding: 0.5em 0;
	font-weight: bold;
}

div.w3-card img:not(.lydkilde, .thumbnail) {
	width: 100%;
	height: auto;
}
.right-content {
	width: 100%;
	padding: 0.5em;
	border-radius: 5px;
	margin-top: 1em;
	font-size: large;
}

.main-content,
contentContainer {
	max-width: 1200px;
	margin: 0 auto;
	padding: 1em;
	display: flex;
	flex-direction: column;
}

.header-row {
	text-align: center;
	margin-bottom: 1em;
}

.header-row h2 {
	font-size: 1.5rem;
	margin: 0;
}

.content-row {
	display: flex;
	gap: 1em;
}

.main-left {
	flex: 3;
	display: flex;
	gap: 1em;
}
.right {
	font-size: small;
}

.main-left .col-main {
	flex: 2;
}

.main-right {
	flex: 1;
}
h1,
p,
aside,
ul,
li,
a,
span,
div,
article {
	text-align: left;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;
}
.bold {
	font-weight: bold;
}
.col {
	background: rgba(255, 255, 255, 1);
	padding: 1em;
	margin-bottom: 5em;
	border-radius: 5px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

article {
	margin-bottom: 1em;
}
.medie-link {
	list-style-type: none;
	padding: 0;
	cursor: alias;
}
article h3 {
	margin-top: 0;
	font-size: 1.2rem;
	color: #555;
}

article p {
	margin: 0.5em 0 0;
	font-size: 1rem;
}

footer {
	text-align: center;
	padding: 1em 0;
	background: #333;
	color: #fff;
	margin-top: 2em;
}
