/*
Theme Name: WTF-Faktencheck
Theme URI: https://wtf-faktencheck.de/
Description: Branding child theme for WTF-Faktencheck.
Author: WTF-Faktencheck
Template: twentytwentyfive
Version: 1.1.6
Text Domain: wtf-faktencheck
*/

:root {
	--wtf-black: #050505;
	--wtf-ink: #111111;
	--wtf-yellow: #ffd000;
	--wtf-green: #65b735;
	--wtf-white: #ffffff;
	--wtf-line: #d8d8d8;
	--wtf-max: 1080px;
	--wtf-display: "Arial Narrow", "Roboto Condensed", "Helvetica Neue Condensed Bold", Arial, Helvetica, sans-serif;
}

* {
	box-sizing: border-box;
}

html {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

body {
	background: var(--wtf-black);
	color: var(--wtf-ink);
	font-family: Arial, Helvetica, sans-serif;
	margin: 0;
}

body .wp-site-blocks {
	padding: 0;
}

.wtf-site-header {
	background:
		linear-gradient(176deg, transparent calc(100% - 16px), var(--wtf-yellow) calc(100% - 15px), var(--wtf-yellow) calc(100% - 10px), transparent calc(100% - 9px)),
		radial-gradient(circle at 8% 15%, rgba(255, 208, 0, 0.18), transparent 18%),
		linear-gradient(90deg, #070707, #111111 56%, #050505);
	color: var(--wtf-white);
	min-height: 168px;
	overflow: hidden;
	position: relative;
}

.wtf-site-header::after,
.wtf-site-footer::before {
	background: repeating-linear-gradient(90deg, var(--wtf-yellow) 0 8px, transparent 8px 18px);
	bottom: 0;
	content: "";
	height: 7px;
	left: 0;
	opacity: 0.9;
	position: absolute;
	right: 0;
	transform: skewY(-1deg);
}

.wtf-header-frame {
	align-items: center;
	display: grid;
	gap: 28px;
	grid-template-columns: 178px minmax(210px, 1fr) auto 44px;
	margin: 0 auto;
	max-width: var(--wtf-max);
	min-height: 160px;
	padding: 14px 30px 20px;
	position: relative;
	z-index: 1;
}

.wtf-header-logo {
	align-self: start;
	display: block;
	margin-top: -6px;
	width: 176px;
}

.wtf-header-logo img {
	display: block;
	height: auto;
	width: 100%;
}

.wtf-header-claim {
	color: var(--wtf-white);
	font-family: var(--wtf-display);
	font-size: 30px;
	font-style: oblique 8deg;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.02;
	text-transform: uppercase;
}

.wtf-header-claim span,
.wtf-header-claim strong {
	display: block;
}

.wtf-header-claim strong {
	color: var(--wtf-yellow);
	font-weight: 800;
}

.wtf-main-nav {
	align-items: center;
	display: flex;
	gap: 28px;
	justify-content: flex-end;
	white-space: nowrap;
}

.wtf-main-nav a,
.wtf-footer-column a,
.wtf-footer-brand,
.wtf-copyright {
	color: var(--wtf-white);
	text-decoration: none;
}

.wtf-main-nav a {
	font-family: var(--wtf-display);
	font-size: 17px;
	font-weight: 700;
	letter-spacing: 0;
	position: relative;
	text-transform: uppercase;
}

.wtf-main-nav a:hover,
.wtf-main-nav a:focus,
.wtf-main-nav .is-active {
	color: var(--wtf-yellow);
}

.wtf-main-nav .is-active::after {
	background: var(--wtf-yellow);
	bottom: -10px;
	content: "";
	height: 5px;
	left: -6px;
	position: absolute;
	right: -6px;
	transform: rotate(-6deg);
}

.wtf-search-link {
	display: block;
	height: 34px;
	position: relative;
	width: 34px;
}

.wtf-search-link::before {
	border: 4px solid var(--wtf-white);
	border-radius: 50%;
	content: "";
	height: 18px;
	left: 2px;
	position: absolute;
	top: 1px;
	width: 18px;
}

.wtf-search-link::after {
	background: var(--wtf-white);
	content: "";
	height: 15px;
	left: 22px;
	position: absolute;
	top: 20px;
	transform: rotate(-45deg);
	width: 4px;
}

.wtf-home {
	background:
		linear-gradient(90deg, rgba(0, 0, 0, 0.04), transparent 13%, transparent 87%, rgba(0, 0, 0, 0.04)),
		#ffffff;
}

.wtf-fact-list {
	margin: 0 auto;
	max-width: var(--wtf-max);
	padding: 34px 30px 32px;
}

.wtf-fact-card {
	display: grid;
	gap: 30px;
	grid-template-columns: minmax(320px, 45%) 1fr;
	padding: 0 0 20px;
}

.wtf-fact-card + .wtf-fact-card {
	border-top: 1px solid var(--wtf-line);
	padding-top: 20px;
}

.wtf-fact-image {
	background: #111111;
	border-radius: 2px;
	display: block;
	overflow: hidden;
}

.wtf-fact-image img {
	aspect-ratio: 381 / 207;
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.wtf-fact-copy {
	align-self: center;
	max-width: 520px;
}

.wtf-label {
	color: #0d0d0d;
	display: inline-block;
	font-family: var(--wtf-display);
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	margin-bottom: 12px;
	padding: 7px 9px 5px;
	text-transform: uppercase;
}

.wtf-label-yellow {
	background: var(--wtf-yellow);
}

.wtf-label-green {
	background: var(--wtf-green);
	color: var(--wtf-white);
}

.wtf-fact-copy h1,
.wtf-fact-copy h2 {
	font-family: var(--wtf-display);
	font-size: 34px;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.05;
	margin: 0 0 14px;
	text-transform: none;
}

.wtf-fact-copy p {
	font-size: 17px;
	line-height: 1.4;
	margin: 0 0 18px;
}

.wtf-more {
	color: #5b4100;
	display: inline-flex;
	font-family: var(--wtf-display);
	font-size: 16px;
	font-weight: 700;
	gap: 10px;
	letter-spacing: 1px;
	text-decoration: none;
	text-transform: uppercase;
}

.wtf-more::after {
	content: "->";
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 700;
}

.wtf-more:hover,
.wtf-more:focus {
	color: #000000;
}

.wtf-site-footer {
	background:
		linear-gradient(184deg, var(--wtf-yellow) 0 6px, transparent 7px 100%),
		radial-gradient(circle at 12% 40%, rgba(255, 208, 0, 0.14), transparent 20%),
		linear-gradient(90deg, #050505, #111111 52%, #050505);
	color: var(--wtf-white);
	padding: 26px 0 22px;
	position: relative;
}

.wtf-site-footer::before {
	bottom: auto;
	top: 0;
}

.wtf-footer-frame {
	align-items: start;
	display: grid;
	gap: 34px;
	grid-template-columns: 170px repeat(3, 1fr);
	margin: 0 auto;
	max-width: var(--wtf-max);
	padding: 0 30px;
}

.wtf-footer-brand {
	display: block;
}

.wtf-footer-brand img {
	display: block;
	height: auto;
	width: 118px;
}

.wtf-footer-brand strong,
.wtf-footer-column h2 {
	font-family: var(--wtf-display);
	font-size: 19px;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.08;
	text-transform: uppercase;
}

.wtf-footer-brand p,
.wtf-copyright {
	font-size: 16px;
	margin: 18px 0 0;
}

.wtf-footer-column h2 {
	font-size: 16px;
	margin: 0 0 14px;
}

.wtf-footer-column a {
	display: block;
	font-size: 15px;
	line-height: 1.4;
}

.wtf-footer-column a:hover,
.wtf-footer-column a:focus {
	color: var(--wtf-yellow);
}

.wtf-socials {
	display: flex;
	flex-wrap: wrap;
	gap: 11px;
}

.wtf-socials a {
	align-items: center;
	background: var(--wtf-white);
	border-radius: 4px;
	color: #111111;
	display: inline-flex;
	font-size: 12px;
	font-weight: 800;
	height: 26px;
	justify-content: center;
	width: 32px;
}

.wtf-social-youtube::before {
	border-bottom: 6px solid transparent;
	border-left: 10px solid #111111;
	border-top: 6px solid transparent;
	content: "";
	display: block;
	margin-left: 2px;
}

.wtf-copyright {
	margin: 24px auto 0;
	max-width: var(--wtf-max);
	padding: 0 30px;
}

.wtf-imprint {
	color: rgba(255, 255, 255, 0.72);
	font-size: 11px;
	line-height: 1.2;
	margin: 12px auto 0;
	max-width: var(--wtf-max);
	overflow-x: auto;
	padding: 0 30px 2px;
	text-align: center;
	white-space: nowrap;
}

@media (max-width: 1020px) {
	.wtf-header-frame {
		gap: 20px;
		grid-template-columns: 132px 1fr 44px;
	}

	.wtf-header-logo {
		width: 132px;
	}

	.wtf-header-claim {
		font-size: 25px;
	}

	.wtf-main-nav {
		grid-column: 1 / -1;
		justify-content: flex-start;
		overflow-x: auto;
		padding-bottom: 4px;
	}

	.wtf-footer-frame {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.wtf-site-header {
		min-height: 0;
	}

	.wtf-header-frame {
		grid-template-columns: 96px 1fr 34px;
		padding: 12px 18px 22px;
	}

	.wtf-header-logo {
		width: 96px;
	}

	.wtf-header-claim {
		font-size: 20px;
	}

	.wtf-main-nav {
		gap: 18px;
	}

	.wtf-main-nav a {
		font-size: 15px;
	}

	.wtf-fact-list {
		padding: 24px 18px 28px;
	}

	.wtf-fact-card {
		gap: 16px;
		grid-template-columns: 1fr;
	}

	.wtf-fact-copy h1,
	.wtf-fact-copy h2 {
		font-size: 28px;
	}

	.wtf-footer-frame {
		grid-template-columns: 1fr;
		padding: 0 18px;
	}

	.wtf-copyright {
		padding: 0 18px;
	}

	.wtf-imprint {
		font-size: 10px;
		padding: 0 18px 2px;
	}
}
