/*
Theme Name:   KK Metal
Theme URI:    https://kk-metal.dk
Author:       Kompas360
Author URI:   https://kompas360.dk
Description:  KK Metals eget tema med header, mega-menu, mobilmenu og footer. Kompas360 Dashboard Branding er bygget ind (admin, login og dashboard).
Version:      1.0.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain:  kk-metal
Update URI:   false
*/

/* Basis. Farver og font ligger i assets/css/base.css. */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: 100px;
}

body {
	margin: 0;
	font-size: 17px;
	line-height: 1.6;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

.kkm-main {
	display: block;
	min-height: 60vh;
}

/* Spring til indhold (tastatur) */
.kkm-skip {
	position: absolute;
	top: -100px;
	left: 16px;
	z-index: 2000;
	padding: 12px 18px;
	border-radius: 2px;
	background: var(--kkm-red);
	color: #fff;
	font-weight: 600;
	text-decoration: none;
}

.kkm-skip:focus {
	top: 16px;
}

/* Midlertidig sidetop, indtil siden får sit eget indhold */
.kkm-placeholder {
	max-width: var(--kkm-max);
	margin: 0 auto;
	padding: clamp(64px, 10vw, 140px) var(--kkm-gutter);
}

.kkm-placeholder h1 {
	margin: 0;
	max-width: 16ch;
	font-size: clamp(38px, 5vw, 72px);
}

.kkm-placeholder p {
	margin: 20px 0 0;
	max-width: 52ch;
	color: var(--kkm-muted);
}

.kkm-placeholder a {
	font-weight: 600;
	text-decoration-color: var(--kkm-red);
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
}

/* Almindelige indlæg/arkiver */
.kkm-entry {
	max-width: 760px;
	margin: 0 auto;
	padding: clamp(56px, 8vw, 110px) var(--kkm-gutter);
}

.kkm-entry + .kkm-entry {
	padding-top: 0;
}

.kkm-entry h1,
.kkm-entry h2 {
	margin: 0 0 20px;
	font-size: clamp(32px, 4vw, 52px);
}

.kkm-entry h2 a {
	text-decoration: none;
}
