/*
Theme Name:   Formel1 IPTV — Race Day Magazine
Theme URI:    https://formel1iptv.com
Description:  Editorial magazine layout built on Flatsome. Condensed display typography, full-bleed race ticker, three-column grid with editorial overlays.
Author:       Formel1 IPTV Editorial
Author URI:   https://formel1iptv.com
Template:     flatsome
Version:      1.0.0
Requires PHP: 7.4
Text Domain:  m8-formel1
Tags:         magazine, news, sports, editorial, blog
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
*/

/* ---------------------------------------------------------------------------
   Formel1 IPTV — design tokens
   The core plugin also emits these; values here are the offline fallback so the
   theme still looks correct when media8-core is not active.
--------------------------------------------------------------------------- */

:root {
	--m8-primary: #e10600;
	--m8-primary-dark: #a10500;
	--m8-secondary: #15151e;
	--m8-accent: #00e0a4;
	--m8-text: #16161d;
	--m8-text-muted: #6b6b7a;
	--m8-surface: #ffffff;
	--m8-surface-alt: #f4f4f7;
	--m8-border: #e3e3ea;
	--m8-radius: 2px;
	--m8-radius-lg: 2px;
	--m8-shadow: 0 1px 2px rgba(16, 16, 24, .05);
	--m8-font-heading: 'Barlow Condensed', 'Arial Narrow', sans-serif;
	--m8-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--m8-font-scale: 1;
	--m8-line-height: 1.6;
	--m8-heading-weight: 700;
	--m8-body-weight: 400;
	--m8-letter-spacing: -.01em;
	--m8-grid-columns: 3;
	--m8-aspect: 16 / 9;
	--m8-section-gap: 48px;
	--m8-motion: 220ms;
	--m8-motion-ease: cubic-bezier(.2, .7, .3, 1);
}

/* ---------------------------------------------------------------------------
   Typography — condensed display face, the signature of this site
--------------------------------------------------------------------------- */

body {
	font-family: var(--m8-font-body);
	font-size: 16px;
	line-height: var(--m8-line-height);
	color: var(--m8-text);
	letter-spacing: var(--m8-letter-spacing);
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.page-title,
.m8-section-title {
	font-family: var(--m8-font-heading);
	font-weight: var(--m8-heading-weight);
	text-transform: uppercase;
	letter-spacing: -.005em;
	line-height: 1.05;
}

.entry-title {
	font-size: 1.65rem;
}

h2 {
	font-size: 2.1rem;
}

h3 {
	font-size: 1.35rem;
}

/* ---------------------------------------------------------------------------
   Grid — three column editorial, tight gutters, rules between columns
--------------------------------------------------------------------------- */

.m8-site-formel1iptv .col,
.m8-site-formel1iptv [class*="col-"] {
	padding-bottom: 0;
}

.m8-layout-f1-magazine #post-list {
	display: grid;
	grid-template-columns: repeat(var(--m8-grid-columns), minmax(0, 1fr));
	gap: 32px 24px;
}

.m8-layout-f1-magazine #post-list > article {
	margin-bottom: 0;
}

.m8-layout-f1-magazine .article-inner {
	background: transparent;
	border: 0;
	padding: 0;
	box-shadow: none;
}

@media (max-width: 849px) {
	.m8-layout-f1-magazine #post-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 549px) {
	.m8-layout-f1-magazine #post-list {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---------------------------------------------------------------------------
   Card — editorial overlay with a hard rule above the headline
--------------------------------------------------------------------------- */

.m8-layout-f1-magazine .article-inner > a {
	display: block;
	position: relative;
	overflow: hidden;
	aspect-ratio: var(--m8-aspect);
	background: var(--m8-surface-alt);
}

.m8-layout-f1-magazine .article-inner > a img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--m8-motion) var(--m8-motion-ease);
}

.m8-layout-f1-magazine .article-inner > a:hover img {
	transform: scale(1.04);
}

.m8-layout-f1-magazine .entry-title {
	margin-top: 14px;
	padding-top: 12px;
	border-top: 3px solid var(--m8-primary);
}

.m8-layout-f1-magazine .entry-summary {
	color: var(--m8-text-muted);
	font-size: .94rem;
}

.m8-layout-f1-magazine .entry-meta {
	font-size: .74rem;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--m8-text-muted);
}

.m8-layout-f1-magazine .entry-meta a {
	color: inherit;
}

/* The stock Flatsome "Continue reading" button does not fit this layout. */
.m8-layout-f1-magazine .more-link {
	display: none;
}

/* ---------------------------------------------------------------------------
   Race ticker — a horizontal strip that sits under the header
--------------------------------------------------------------------------- */

.m8-race-ticker {
	background: var(--m8-secondary);
	color: #fff;
	overflow: hidden;
	border-bottom: 3px solid var(--m8-primary);
}

.m8-race-ticker__label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--m8-primary);
	color: #fff;
	font-family: var(--m8-font-heading);
	text-transform: uppercase;
	font-size: .8rem;
	letter-spacing: .1em;
	padding: 7px 16px;
	font-weight: 700;
	flex: 0 0 auto;
}

.m8-race-ticker__label::before {
	content: '';
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--m8-accent);
	animation: m8-pulse 1.8s infinite;
}

@keyframes m8-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: .35; }
}

.m8-race-ticker__track {
	display: flex;
	gap: 34px;
	align-items: center;
	white-space: nowrap;
	padding: 8px 0;
	font-size: .84rem;
	animation: m8-marquee 42s linear infinite;
}

.m8-race-ticker:hover .m8-race-ticker__track {
	animation-play-state: paused;
}

.m8-race-ticker__item {
	color: #d7d7de;
}

.m8-race-ticker__item strong {
	color: #fff;
	font-weight: 600;
}

@keyframes m8-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
	.m8-race-ticker__track { animation: none; }
}

/* ---------------------------------------------------------------------------
   Section headers — a thick accent bar to the left of the title
--------------------------------------------------------------------------- */

.m8-section-head {
	display: flex;
	align-items: baseline;
	gap: 16px;
	margin-bottom: 26px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--m8-border);
}

.m8-section-head__title {
	font-family: var(--m8-font-heading);
	text-transform: uppercase;
	font-size: 1.5rem;
	font-weight: 700;
	margin: 0;
	padding-left: 14px;
	border-left: 4px solid var(--m8-primary);
	line-height: 1;
}

.m8-section-head__link {
	margin-left: auto;
	font-size: .78rem;
	text-transform: uppercase;
	letter-spacing: .09em;
	color: var(--m8-text-muted);
}

.m8-section-head__link:hover {
	color: var(--m8-primary);
}

/* ---------------------------------------------------------------------------
   Single post
--------------------------------------------------------------------------- */

.m8-layout-f1-magazine .single-content .entry-title {
	font-size: 3rem;
	line-height: 1.02;
	border-top: 0;
	padding-top: 0;
	margin-top: 8px;
}

.m8-layout-f1-magazine .single-content .entry-meta {
	font-size: .8rem;
	text-transform: uppercase;
	letter-spacing: .07em;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--m8-border);
	margin-bottom: 26px;
}

.m8-layout-f1-magazine .entry-content > p {
	font-size: 1.06rem;
	line-height: 1.72;
}

.m8-layout-f1-magazine .entry-content h2 {
	margin-top: 2em;
	padding-top: .4em;
	border-top: 3px solid var(--m8-primary);
}

.m8-layout-f1-magazine .entry-content h3 {
	margin-top: 1.6em;
}

.m8-layout-f1-magazine .entry-content blockquote {
	border-left: 4px solid var(--m8-accent);
	background: var(--m8-surface-alt);
	padding: 18px 22px;
	font-style: normal;
}

.m8-layout-f1-magazine .entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: .92rem;
}

.m8-layout-f1-magazine .entry-content th {
	background: var(--m8-secondary);
	color: #fff;
	text-align: left;
	font-family: var(--m8-font-heading);
	text-transform: uppercase;
	letter-spacing: .04em;
}

.m8-layout-f1-magazine .entry-content th,
.m8-layout-f1-magazine .entry-content td {
	padding: 10px 12px;
	border: 1px solid var(--m8-border);
}

.m8-layout-f1-magazine .entry-content tr:nth-child(even) td {
	background: var(--m8-surface-alt);
}

/* ---------------------------------------------------------------------------
   View counter and article timeline
--------------------------------------------------------------------------- */

.m8-view-count {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 26px;
	padding: 6px 12px;
	background: var(--m8-surface-alt);
	border-left: 3px solid var(--m8-primary);
	font-size: .8rem;
	text-transform: uppercase;
	letter-spacing: .07em;
	color: var(--m8-text-muted);
}

.m8-timeline {
	margin-top: 34px;
	padding: 22px 24px;
	background: var(--m8-surface-alt);
	border: 1px solid var(--m8-border);
}

.m8-timeline__title {
	font-family: var(--m8-font-heading);
	text-transform: uppercase;
	font-size: 1.1rem;
	margin-bottom: 14px;
	padding-left: 10px;
	border-left: 4px solid var(--m8-secondary);
}

.m8-timeline__list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-left: 2px solid var(--m8-border);
}

.m8-timeline__item {
	position: relative;
	padding: 6px 0 6px 20px;
	font-size: .88rem;
}

.m8-timeline__item::before {
	content: '';
	position: absolute;
	left: -6px;
	top: 12px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--m8-primary);
}

.m8-timeline__item time {
	display: block;
	font-size: .72rem;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--m8-text-muted);
}

/* ---------------------------------------------------------------------------
   Translation switcher
--------------------------------------------------------------------------- */

.m8-translations {
	margin-top: 26px;
	padding-top: 16px;
	border-top: 1px solid var(--m8-border);
}

.m8-translations ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.m8-translations a {
	display: inline-block;
	padding: 5px 12px;
	background: var(--m8-surface-alt);
	border: 1px solid var(--m8-border);
	font-size: .82rem;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--m8-text);
}

.m8-translations a:hover {
	background: var(--m8-primary);
	border-color: var(--m8-primary);
	color: #fff;
}

/* ---------------------------------------------------------------------------
   Header and footer
--------------------------------------------------------------------------- */

.m8-site-formel1iptv .header-main {
	border-bottom: 1px solid var(--m8-border);
}

.m8-site-formel1iptv .nav > li > a {
	font-family: var(--m8-font-heading);
	text-transform: uppercase;
	font-size: .92rem;
	letter-spacing: .05em;
	font-weight: 600;
}

.m8-site-formel1iptv .logo a {
	font-family: var(--m8-font-heading);
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: -.01em;
}

.m8-site-formel1iptv footer {
	background: var(--m8-secondary);
	color: #b9b9c4;
}

.m8-site-formel1iptv footer a {
	color: #b9b9c4;
}

.m8-site-formel1iptv footer a:hover {
	color: #fff;
}

.m8-site-formel1iptv footer h3,
.m8-site-formel1iptv footer h4 {
	color: #fff;
}

/* ---------------------------------------------------------------------------
   Pagination
--------------------------------------------------------------------------- */

.m8-layout-f1-magazine .page-nav {
	border-top: 2px solid var(--m8-primary);
	margin-top: 40px;
	padding-top: 18px;
}

/* ---------------------------------------------------------------------------
   Hero — the full bleed lead of the race day front page
   The image fills the whole width, the text sits on a scrim so it stays
   readable on every screen.
--------------------------------------------------------------------------- */

.m8-hero {
	position: relative;
	margin: 0;
	background: var(--m8-secondary);
}

.m8-hero__inner {
	position: relative;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 clamp(16px, 3vw, 48px);
}

.m8-hero__story {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(380px, 56vh, 640px);
	overflow: hidden;
}

.m8-hero__media {
	position: absolute;
	inset: 0;
	display: block;
}

.m8-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 700ms var(--m8-motion-ease);
}

.m8-hero__story:hover .m8-hero__media img {
	transform: scale(1.03);
}

.m8-hero__scrim {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(10, 10, 14, 0) 24%, rgba(10, 10, 14, .82) 100%),
		linear-gradient(90deg, rgba(10, 10, 14, .72) 0%, rgba(10, 10, 14, .1) 62%);
}

.m8-hero__body {
	position: relative;
	z-index: 1;
	max-width: 760px;
	padding: 0 0 clamp(28px, 4vw, 56px);
	color: #fff;
}

.m8-hero__kicker {
	display: inline-block;
	margin-bottom: 14px;
	padding: 4px 13px;
	border-radius: 999px;
	background: var(--m8-primary);
	color: #fff;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.m8-hero__title {
	margin: 0;
	color: #fff;
	font-size: clamp(2rem, 4.4vw, 3.5rem);
	line-height: 1.08;
	letter-spacing: -.03em;
	text-shadow: 0 2px 24px rgba(0, 0, 0, .3);
}

.m8-hero__title a {
	color: #fff;
}

.m8-hero__title a:hover {
	color: var(--m8-accent);
}

.m8-hero__summary {
	margin: 16px 0 0;
	max-width: 60ch;
	color: rgba(255, 255, 255, .82);
	font-size: 1.05rem;
	line-height: 1.6;
}

.m8-hero__meta {
	display: flex;
	align-items: center;
	gap: .55rem;
	margin-top: 20px;
	padding-top: 14px;
	border-top: 1px solid rgba(255, 255, 255, .22);
	color: rgba(255, 255, 255, .68);
	font-size: .78rem;
}

/* ---------------------------------------------------------------------------
   Sections
--------------------------------------------------------------------------- */

.m8-section {
	padding: var(--m8-section-gap) 0 0;
}

.m8-section--alt {
	padding-bottom: var(--m8-section-gap);
	background: var(--m8-surface-alt);
}

.m8-section .m8-section-head {
	margin-bottom: 24px;
}

/* ---------------------------------------------------------------------------
   Magazine grid — three columns
--------------------------------------------------------------------------- */

.m8-magazine-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 26px;
}

.m8-magazine-grid > .m8-magazine-card {
	margin-bottom: 0;
}

.m8-magazine-card .article-inner {
	background: var(--m8-surface);
	border: 1px solid var(--m8-border);
	border-radius: var(--m8-radius);
	overflow: hidden;
	transition: border-color var(--m8-motion) var(--m8-motion-ease),
	            box-shadow var(--m8-motion) var(--m8-motion-ease),
	            transform var(--m8-motion) var(--m8-motion-ease);
}

.m8-magazine-card .article-inner:hover {
	border-color: var(--m8-primary);
	box-shadow: 0 12px 32px rgba(21, 21, 30, .14);
	transform: translateY(-2px);
}

.m8-magazine-card .article-inner > a {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--m8-surface-alt);
}

.m8-magazine-card .article-inner > a img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms var(--m8-motion-ease);
}

.m8-magazine-card .article-inner:hover > a img {
	transform: scale(1.05);
}

.m8-magazine-card .entry-title {
	margin: 15px 18px 0;
	font-size: 1.14rem;
	line-height: 1.28;
}

.m8-magazine-card .entry-summary {
	margin: 10px 18px 0;
	color: var(--m8-text-muted);
	font-size: .9rem;
	line-height: 1.55;
}

.m8-magazine-card .entry-meta {
	margin: 12px 18px 18px;
	padding-top: 11px;
	border-top: 1px solid var(--m8-border);
	font-size: .78rem;
}

@media (max-width: 1023px) {
	.m8-magazine-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 549px) {
	.m8-magazine-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.m8-hero__story {
		min-height: 300px;
	}
}

/* ---------------------------------------------------------------------------
   Rail — a plain list of the remaining reports
--------------------------------------------------------------------------- */

.m8-rail {
	list-style: none;
	margin: 0;
	padding: 0;
	columns: 2;
	column-gap: 40px;
}

.m8-rail li {
	break-inside: avoid;
	padding: 14px 0;
	border-bottom: 1px solid var(--m8-border);
}

.m8-rail a {
	display: block;
	color: var(--m8-text);
	font-family: var(--m8-font-heading);
	font-size: 1.04rem;
	font-weight: 600;
	line-height: 1.32;
}

.m8-rail a:hover {
	color: var(--m8-primary);
}

.m8-rail time {
	display: block;
	margin-top: 6px;
	color: var(--m8-text-muted);
	font-size: .76rem;
}

@media (max-width: 749px) {
	.m8-rail {
		columns: 1;
	}
}

/* ---------------------------------------------------------------------------
   Footer — multi column
--------------------------------------------------------------------------- */

.m8-footer {
	background: var(--m8-secondary);
	color: #a1a1aa;
	padding: 56px 0 30px;
}

.m8-footer__top {
	display: grid;
	grid-template-columns: minmax(220px, 280px) 1fr;
	gap: 44px;
	padding-bottom: 36px;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.m8-footer__logo {
	margin: 0 0 8px;
	color: #fff;
	font-family: var(--m8-font-heading);
	font-size: 1.36rem;
	font-weight: 700;
	letter-spacing: -.02em;
}

.m8-footer__tagline {
	margin: 0;
	font-size: .88rem;
	line-height: 1.55;
}

.m8-footer__directory {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 6px 26px;
}

.m8-footer__directory ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.m8-footer__directory li a {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 6px 0;
	color: #a1a1aa;
	font-size: .88rem;
	border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.m8-footer__directory li a:hover {
	color: var(--m8-accent);
}

.m8-footer__directory li span {
	color: #52525b;
	font-size: .74rem;
}

.m8-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding-top: 22px;
}

.m8-footer__authors {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
}

.m8-footer__author {
	color: #d4d4d8;
	font-size: .82rem;
}

.m8-footer__author small {
	color: #71717a;
	font-size: .72rem;
}

.m8-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
}

.m8-footer__legal a {
	color: #a1a1aa;
	font-size: .82rem;
}

.m8-footer__legal a:hover {
	color: var(--m8-accent);
}

@media (max-width: 849px) {
	.m8-footer__top {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}

	.m8-footer__directory {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 549px) {
	.m8-footer__directory {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* === media8:shared-front-page === */

/* ---------------------------------------------------------------------------
   Shared front page styles.

   Every site shares the same structure — a hero that carries the lead
   report, a grid of the latest reports and a rail at the end — and differs
   in the way the hero and the grid are shaped. The layout class on the
   body selects the variant.
--------------------------------------------------------------------------- */

.m8-hero {
	position: relative;
	background: var(--m8-secondary);
}

.m8-hero__inner {
	position: relative;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 clamp(16px, 3vw, 48px);
}

.m8-hero__story {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(360px, 52vh, 620px);
	overflow: hidden;
}

.m8-hero__media {
	position: absolute;
	inset: 0;
	display: block;
}

.m8-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 700ms var(--m8-motion-ease);
}

.m8-hero__story:hover .m8-hero__media img {
	transform: scale(1.03);
}

.m8-hero__scrim {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(180deg, rgba(10, 10, 14, 0) 22%, rgba(10, 10, 14, .84) 100%),
		linear-gradient(90deg, rgba(10, 10, 14, .74) 0%, rgba(10, 10, 14, .08) 62%);
}

.m8-hero__body {
	position: relative;
	z-index: 1;
	max-width: 760px;
	padding: 0 0 clamp(28px, 4vw, 54px);
	color: #fff;
}

.m8-hero__kicker {
	display: inline-block;
	margin-bottom: 14px;
	padding: 4px 13px;
	border-radius: 999px;
	background: var(--m8-primary);
	color: #fff;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.m8-hero__title {
	margin: 0;
	color: #fff;
	font-size: clamp(1.9rem, 4vw, 3.2rem);
	line-height: 1.1;
	letter-spacing: -.03em;
}

.m8-hero__title a {
	color: #fff;
}

.m8-hero__title a:hover {
	color: var(--m8-accent);
}

.m8-hero__summary {
	margin: 15px 0 0;
	max-width: 60ch;
	color: rgba(255, 255, 255, .82);
	font-size: 1.04rem;
	line-height: 1.6;
}

.m8-hero__meta {
	display: flex;
	align-items: center;
	gap: .55rem;
	margin-top: 20px;
	padding-top: 14px;
	border-top: 1px solid rgba(255, 255, 255, .22);
	color: rgba(255, 255, 255, .68);
	font-size: .78rem;
}

/* ---------------------------------------------------------------------------
   Sections
--------------------------------------------------------------------------- */

.m8-section {
	padding: var(--m8-section-gap) 0 0;
}

.m8-section--alt {
	padding-bottom: var(--m8-section-gap);
	background: var(--m8-surface-alt);
}

.m8-section .m8-section-head {
	margin-bottom: 24px;
}

/* ---------------------------------------------------------------------------
   The grid of reports

   The shape of the grid is set by the layout class. Every variant shares
   the card treatment below, only the columns and the proportions differ.
--------------------------------------------------------------------------- */

.m8-grid {
	display: grid;
	gap: 24px;
}

.m8-grid > .m8-card {
	margin-bottom: 0;
}

.m8-card .article-inner {
	background: var(--m8-surface);
	border: 1px solid var(--m8-border);
	border-radius: var(--m8-radius);
	overflow: hidden;
	transition: border-color var(--m8-motion) var(--m8-motion-ease),
	            box-shadow var(--m8-motion) var(--m8-motion-ease),
	            transform var(--m8-motion) var(--m8-motion-ease);
}

.m8-card .article-inner:hover {
	border-color: var(--m8-primary);
	box-shadow: 0 12px 32px rgba(20, 20, 28, .14);
	transform: translateY(-2px);
}

.m8-card .article-inner > a {
	display: block;
	aspect-ratio: var(--m8-aspect);
	overflow: hidden;
	background: var(--m8-surface-alt);
}

.m8-card .article-inner > a img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms var(--m8-motion-ease);
}

.m8-card .article-inner:hover > a img {
	transform: scale(1.05);
}

.m8-card .entry-title {
	margin: 15px 18px 0;
	font-size: 1.12rem;
	line-height: 1.3;
}

.m8-card .entry-summary {
	margin: 10px 18px 0;
	color: var(--m8-text-muted);
	font-size: .89rem;
	line-height: 1.55;
}

.m8-card .entry-meta {
	margin: 12px 18px 18px;
	padding-top: 11px;
	border-top: 1px solid var(--m8-border);
	font-size: .78rem;
}

/* Four column directory. */
.m8-grid--portal {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.m8-grid--portal .m8-card .entry-title {
	font-size: 1.02rem;
}

/* Three column magazine. */
.m8-grid--magazine {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 26px;
}

/* Two column list with a wide lead. */
.m8-grid--list {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
}

.m8-grid--list .m8-card:first-child {
	grid-column: 1 / -1;
}

.m8-grid--list .m8-card:first-child .article-inner {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	align-items: stretch;
}

.m8-grid--list .m8-card:first-child .article-inner > a {
	aspect-ratio: 16 / 9;
	height: 100%;
}

.m8-grid--list .m8-card:first-child .entry-title {
	font-size: 1.5rem;
}

/* Mixed bento. */
.m8-grid--bento {
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 22px;
}

.m8-grid--bento .m8-card {
	grid-column: span 2;
}

.m8-grid--bento .m8-card:nth-child(6n + 1),
.m8-grid--bento .m8-card:nth-child(6n + 4) {
	grid-column: span 3;
}

.m8-grid--bento .m8-card:nth-child(6n + 1) .article-inner > a {
	aspect-ratio: 16 / 9;
}

.m8-grid--bento .m8-card:nth-child(6n + 1) .entry-title {
	font-size: 1.34rem;
}

/* Three column dark grid. */
.m8-grid--dark {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

/* Two column with a featured card. */
.m8-grid--featured {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 26px;
}

.m8-grid--featured .m8-card:first-child {
	grid-column: 1 / -1;
}

.m8-grid--featured .m8-card:first-child .article-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: stretch;
}

.m8-grid--featured .m8-card:first-child .article-inner > a {
	aspect-ratio: 4 / 3;
	height: 100%;
}

.m8-grid--featured .m8-card:first-child .entry-title {
	font-size: 1.44rem;
}

/* One column feature. */
.m8-grid--feature {
	grid-template-columns: minmax(0, 1fr);
	gap: 28px;
}

.m8-grid--feature .m8-card .article-inner {
	display: grid;
	grid-template-columns: 1.25fr 1fr;
	align-items: stretch;
}

.m8-grid--feature .m8-card .article-inner > a {
	aspect-ratio: 21 / 9;
	height: 100%;
}

.m8-grid--feature .m8-card .entry-title {
	font-size: 1.6rem;
}

/* Two column terminal grid. */
.m8-grid--terminal {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
}

.m8-grid--terminal .m8-card:nth-child(even) {
	transform: translateY(28px);
}

@media (max-width: 1199px) {
	.m8-grid--bento {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.m8-grid--bento .m8-card,
	.m8-grid--bento .m8-card:nth-child(6n + 1),
	.m8-grid--bento .m8-card:nth-child(6n + 4) {
		grid-column: span 2;
	}
}

@media (max-width: 1023px) {
	.m8-grid--portal,
	.m8-grid--magazine,
	.m8-grid--dark {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.m8-grid--feature .m8-card .article-inner,
	.m8-grid--list .m8-card:first-child .article-inner,
	.m8-grid--featured .m8-card:first-child .article-inner {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 749px) {
	.m8-grid--portal,
	.m8-grid--magazine,
	.m8-grid--list,
	.m8-grid--bento,
	.m8-grid--dark,
	.m8-grid--featured,
	.m8-grid--terminal {
		grid-template-columns: minmax(0, 1fr);
	}

	.m8-grid--bento .m8-card,
	.m8-grid--bento .m8-card:nth-child(6n + 1),
	.m8-grid--bento .m8-card:nth-child(6n + 4) {
		grid-column: auto;
	}

	.m8-grid--terminal .m8-card:nth-child(even) {
		transform: none;
	}

	.m8-hero__story {
		min-height: 300px;
	}
}

/* ---------------------------------------------------------------------------
   Rail — the plain list that closes the front page
--------------------------------------------------------------------------- */

.m8-rail {
	list-style: none;
	margin: 0;
	padding: 0;
	columns: 2;
	column-gap: 40px;
}

.m8-rail li {
	break-inside: avoid;
	padding: 14px 0;
	border-bottom: 1px solid var(--m8-border);
}

.m8-rail a {
	display: block;
	color: var(--m8-text);
	font-family: var(--m8-font-heading);
	font-size: 1.04rem;
	font-weight: 600;
	line-height: 1.32;
}

.m8-rail a:hover {
	color: var(--m8-primary);
}

.m8-rail time {
	display: block;
	margin-top: 6px;
	color: var(--m8-text-muted);
	font-size: .76rem;
}

@media (max-width: 749px) {
	.m8-rail {
		columns: 1;
	}
}

/* ---------------------------------------------------------------------------
   Footer
--------------------------------------------------------------------------- */

.m8-footer {
	background: var(--m8-secondary);
	color: #a8a29e;
	padding: 56px 0 30px;
}

.m8-footer__top {
	display: grid;
	grid-template-columns: minmax(220px, 280px) 1fr;
	gap: 44px;
	padding-bottom: 36px;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.m8-footer__logo {
	margin: 0 0 8px;
	color: #fff;
	font-family: var(--m8-font-heading);
	font-size: 1.34rem;
	font-weight: 700;
	letter-spacing: -.02em;
}

.m8-footer__tagline {
	margin: 0;
	font-size: .88rem;
	line-height: 1.55;
}

.m8-footer__directory {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 6px 26px;
}

.m8-footer__directory ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.m8-footer__directory li a {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 6px 0;
	color: #a8a29e;
	font-size: .88rem;
	border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.m8-footer__directory li a:hover {
	color: var(--m8-accent);
}

.m8-footer__directory li span {
	color: #78716c;
	font-size: .74rem;
}

.m8-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding-top: 22px;
}

.m8-footer__authors {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
}

.m8-footer__author {
	color: #d6d3d1;
	font-size: .82rem;
}

.m8-footer__author small {
	color: #78716c;
	font-size: .72rem;
}

.m8-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
}

.m8-footer__legal a {
	color: #a8a29e;
	font-size: .82rem;
}

.m8-footer__legal a:hover {
	color: var(--m8-accent);
}

@media (max-width: 849px) {
	.m8-footer__top {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}

	.m8-footer__directory {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 549px) {
	.m8-footer__directory {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* === media8:shared-hero-variants === */

/* ---------------------------------------------------------------------------
   Hero variants.

   The lead report sits in the hero of every front page. The variants differ
   in the way the image and the text are arranged.
--------------------------------------------------------------------------- */

/* Split — the image on the left, the text on the right. */
.m8-hero--split .m8-hero__inner {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	align-items: stretch;
	gap: 0;
	padding: 0;
}

.m8-hero--split .m8-hero__story {
	display: block;
	min-height: 0;
}

.m8-hero--split .m8-hero__media {
	position: relative;
	inset: auto;
	height: 100%;
	min-height: 480px;
}

.m8-hero--split .m8-hero__scrim {
	background: linear-gradient(90deg, rgba(10, 10, 14, .35) 0%, rgba(10, 10, 14, 0) 55%);
}

.m8-hero--split .m8-hero__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(28px, 4vw, 60px);
	background: var(--m8-secondary);
}

.m8-hero--split .m8-hero__title {
	color: #fff;
}

.m8-hero--split .m8-hero__summary {
	color: rgba(255, 255, 255, .78);
}

.m8-hero--split .m8-hero__meta {
	border-top-color: rgba(255, 255, 255, .18);
}

@media (max-width: 899px) {
	.m8-hero--split .m8-hero__inner {
		grid-template-columns: 1fr;
	}

	.m8-hero--split .m8-hero__media {
		min-height: 260px;
	}
}

/* Mosaic — the image sits behind the text, but the block is offset. */
.m8-hero--mosaic {
	overflow: hidden;
}

.m8-hero--mosaic .m8-hero__inner {
	padding: 0;
}

.m8-hero--mosaic .m8-hero__story {
	min-height: clamp(420px, 60vh, 680px);
	align-items: center;
}

.m8-hero--mosaic .m8-hero__body {
	max-width: 640px;
	margin-left: clamp(16px, 5vw, 80px);
	padding: clamp(28px, 4vw, 56px) 0;
}

.m8-hero--mosaic .m8-hero__scrim {
	background:
		linear-gradient(90deg, rgba(10, 10, 14, .9) 0%, rgba(10, 10, 14, .55) 45%, rgba(10, 10, 14, .18) 100%),
		linear-gradient(180deg, rgba(10, 10, 14, .3) 0%, rgba(10, 10, 14, .7) 100%);
}

@media (max-width: 749px) {
	.m8-hero--mosaic .m8-hero__body {
		margin-left: 0;
	}
}

/* Spotlight — a narrow column of text on a dark field. */
.m8-hero--spotlight .m8-hero__inner {
	max-width: 1100px;
}

.m8-hero--spotlight .m8-hero__story {
	min-height: clamp(400px, 58vh, 660px);
}

.m8-hero--spotlight .m8-hero__body {
	max-width: 560px;
	margin-left: auto;
	text-align: right;
	align-items: flex-end;
}

.m8-hero--spotlight .m8-hero__kicker {
	background: var(--m8-accent);
	color: #0b0b12;
}

.m8-hero--spotlight .m8-hero__meta {
	justify-content: flex-end;
}

.m8-hero--spotlight .m8-hero__scrim {
	background:
		radial-gradient(circle at 78% 40%, rgba(0, 255, 157, .16), transparent 55%),
		linear-gradient(200deg, rgba(10, 10, 14, .2) 0%, rgba(10, 10, 14, .88) 78%);
}

/* Stacked — the text sits below a wide image. */
.m8-hero--stacked .m8-hero__inner {
	max-width: 1000px;
	padding-top: clamp(24px, 4vw, 56px);
}

.m8-hero--stacked .m8-hero__story {
	display: block;
	min-height: 0;
}

.m8-hero--stacked .m8-hero__media {
	position: relative;
	inset: auto;
	aspect-ratio: 21 / 9;
	border-radius: var(--m8-radius);
	overflow: hidden;
}

.m8-hero--stacked .m8-hero__scrim {
	background: linear-gradient(180deg, rgba(10, 10, 14, 0) 40%, rgba(10, 10, 14, .7) 100%);
}

.m8-hero--stacked .m8-hero__body {
	max-width: 760px;
	padding: clamp(20px, 3vw, 34px) 0 clamp(24px, 3vw, 40px);
	color: var(--m8-text);
}

.m8-hero--stacked .m8-hero__title {
	color: var(--m8-text);
}

.m8-hero--stacked .m8-hero__title a {
	color: var(--m8-text);
}

.m8-hero--stacked .m8-hero__summary {
	color: var(--m8-text-muted);
}

.m8-hero--stacked .m8-hero__meta {
	border-top-color: var(--m8-border);
	color: var(--m8-text-muted);
}

/* Poster — a tall frame, the shape of a channel poster. */
.m8-hero--poster .m8-hero__inner {
	max-width: 1280px;
}

.m8-hero--poster .m8-hero__story {
	min-height: clamp(440px, 66vh, 720px);
}

.m8-hero--poster .m8-hero__body {
	max-width: 680px;
}

.m8-hero--poster .m8-hero__kicker {
	background: var(--m8-accent);
	color: #0b1120;
}

.m8-hero--poster .m8-hero__scrim {
	background:
		linear-gradient(0deg, rgba(11, 17, 32, .95) 0%, rgba(11, 17, 32, .5) 45%, rgba(11, 17, 32, .2) 100%);
}

/* Signal — a terminal style lead. */
.m8-hero--signal {
	background: var(--m8-secondary);
}

.m8-hero--signal .m8-hero__inner {
	max-width: 1200px;
}

.m8-hero--signal .m8-hero__story {
	min-height: clamp(340px, 48vh, 540px);
	border: 1px solid rgba(163, 230, 53, .28);
	border-radius: var(--m8-radius);
	overflow: hidden;
}

.m8-hero--signal .m8-hero__scrim {
	background:
		linear-gradient(180deg, rgba(2, 6, 23, .3) 0%, rgba(2, 6, 23, .9) 100%),
		repeating-linear-gradient(0deg, rgba(163, 230, 53, .05) 0 1px, transparent 1px 3px);
}

.m8-hero--signal .m8-hero__kicker {
	background: transparent;
	border: 1px solid var(--m8-accent);
	color: var(--m8-accent);
	font-family: var(--m8-font-mono, monospace);
}

.m8-hero--signal .m8-hero__title {
	font-family: var(--m8-font-mono, monospace);
	letter-spacing: -.02em;
}


:root {
	/* A headline has to be bigger than the text under it. */
	--m8-font-scale: 1.06;
	--m8-line-height: 1.7;

	/* The gap between two cards is the space a reader needs to tell two
	   stories apart. */
	--m8-grid-gap: 34px;

	/* The muted colour was too pale to read comfortably. */
	--m8-text-muted: #57534e;
	--m8-border: #e2dad3;

	--m8-section-gap: 76px;
}

body {
	font-size: 1.0625rem;
	line-height: var(--m8-line-height);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.page-title,
.m8-section-title {
	letter-spacing: -.025em;
	line-height: 1.18;
	font-weight: 800;
}

h1 {
	font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.3rem);
}

h2 {
	font-size: clamp(1.55rem, 1.2rem + 1.2vw, 2.1rem);
}

h3 {
	font-size: clamp(1.15rem, 1.05rem + .35vw, 1.35rem);
}

/* The title of a card is the second thing a reader looks at after the
   picture, so it is given room and weight. */
.m8-layout-formel1iptv-portal .entry-title,
.m8-site-formel1iptv .entry-title {
	font-size: 1.26rem;
	line-height: 1.3;
	font-weight: 750;
	letter-spacing: -.02em;
}

.m8-layout-formel1iptv-portal .entry-summary,
.m8-site-formel1iptv .entry-summary {
	font-size: .95rem;
	line-height: 1.6;
	color: var(--m8-text-muted);
}

/* The grid of a site keeps its own number of columns. Only the space
   between the cards is set here. */
.m8-layout-formel1iptv-portal #post-list {
	gap: var(--m8-grid-gap);
}

/* The picture of a card is the first thing the eye takes. */
.m8-layout-formel1iptv-portal .article-inner > a,
.m8-site-formel1iptv .article-inner > a {
	aspect-ratio: 16 / 10;
}

/* A card lifts a little when the reader comes near it, so that the thing
   under the pointer is clear. */
.m8-layout-formel1iptv-portal .article-inner,
.m8-site-formel1iptv .article-inner {
	transition: transform var(--m8-motion) var(--m8-motion-ease),
	            box-shadow var(--m8-motion) var(--m8-motion-ease),
	            border-color var(--m8-motion) var(--m8-motion-ease);
}

.m8-layout-formel1iptv-portal .article-inner:hover,
.m8-site-formel1iptv .article-inner:hover {
	transform: translateY(-3px);
}

/* The head of a section is a rule and a name, not a black bar. */
.m8-section-head {
	background: transparent;
	padding: 0 0 14px;
	margin-bottom: 30px;
	border-bottom: 2px solid var(--m8-secondary);
	border-radius: 0;
}

.m8-section-head__title {
	color: var(--m8-secondary);
	font-size: 1.22rem;
	letter-spacing: -.02em;
}

.m8-section-head__title::before {
	content: '';
}

.m8-section-head__link {
	font-weight: 600;
	font-size: .82rem;
}

/* Space between the blocks. */
.m8-section {
	margin-bottom: var(--m8-section-gap);
}

.m8-section-title {
	margin-bottom: 22px;
}

/* The directory board reads as a table of contents, not as a box. */
.m8-directory-board {
	background: transparent;
	border: 0;
	border-top: 1px solid var(--m8-border);
	border-radius: 0;
	padding: 26px 0 0;
	margin-bottom: 48px;
}

.m8-directory-board__title {
	font-size: 1.05rem;
	padding-bottom: 8px;
}

.m8-directory-board__grid {
	gap: 2px 30px;
}

.m8-directory-board__grid a {
	padding: 9px 0;
	font-size: .95rem;
	border-bottom: 1px solid #efe9e3;
}

/* The footer is the last thing on the page. It is read, not skimmed. */
.m8-footer {
	padding: 68px 0 34px;
}

.m8-footer__logo {
	font-size: 1.5rem;
}

.m8-footer__directory li a {
	font-size: .95rem;
	line-height: 1.9;
}

.m8-footer__legal a {
	font-size: .92rem;
}



:root {
	/* A headline has to be bigger than the text under it. */
	--m8-font-scale: 1.06;
	--m8-line-height: 1.7;

	/* The gap between two cards is the space a reader needs to tell two
	   stories apart. */
	--m8-grid-gap: 34px;

	/* The muted colour was too pale to read comfortably. */
	--m8-text-muted: #57534e;
	--m8-border: #e2dad3;

	--m8-section-gap: 76px;
}

body {
	font-size: 1.0625rem;
	line-height: var(--m8-line-height);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.page-title,
.m8-section-title {
	letter-spacing: -.025em;
	line-height: 1.18;
	font-weight: 800;
}

h1 {
	font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.3rem);
}

h2 {
	font-size: clamp(1.55rem, 1.2rem + 1.2vw, 2.1rem);
}

h3 {
	font-size: clamp(1.15rem, 1.05rem + .35vw, 1.35rem);
}

/* The title of a card is the second thing a reader looks at after the
   picture, so it is given room and weight. */
.m8-site-formel1iptv .entry-title {
	font-size: 1.26rem;
	line-height: 1.3;
	font-weight: 750;
	letter-spacing: -.02em;
}

.m8-site-formel1iptv .entry-summary {
	font-size: .95rem;
	line-height: 1.6;
	color: var(--m8-text-muted);
}

/* The grid of a site keeps its own number of columns. Only the space
   between the cards is set here. */
.m8-site-formel1iptv #post-list {
	gap: var(--m8-grid-gap);
}

/* The picture of a card is the first thing the eye takes. */
.m8-site-formel1iptv .article-inner > a {
	aspect-ratio: 16 / 10;
}

/* A card lifts a little when the reader comes near it, so that the thing
   under the pointer is clear. */
.m8-site-formel1iptv .article-inner {
	transition: transform var(--m8-motion) var(--m8-motion-ease),
	            box-shadow var(--m8-motion) var(--m8-motion-ease),
	            border-color var(--m8-motion) var(--m8-motion-ease);
}

.m8-site-formel1iptv .article-inner:hover {
	transform: translateY(-3px);
}

/* The head of a section is a rule and a name, not a black bar. */
.m8-section-head {
	background: transparent;
	padding: 0 0 14px;
	margin-bottom: 30px;
	border-bottom: 2px solid var(--m8-secondary);
	border-radius: 0;
}

.m8-section-head__title {
	color: var(--m8-secondary);
	font-size: 1.22rem;
	letter-spacing: -.02em;
}

.m8-section-head__title::before {
	content: '';
}

.m8-section-head__link {
	font-weight: 600;
	font-size: .82rem;
}

/* Space between the blocks. */
.m8-section {
	margin-bottom: var(--m8-section-gap);
}

.m8-section-title {
	margin-bottom: 22px;
}

/* The directory board reads as a table of contents, not as a box. */
.m8-directory-board {
	background: transparent;
	border: 0;
	border-top: 1px solid var(--m8-border);
	border-radius: 0;
	padding: 26px 0 0;
	margin-bottom: 48px;
}

.m8-directory-board__title {
	font-size: 1.05rem;
	padding-bottom: 8px;
}

.m8-directory-board__grid {
	gap: 2px 30px;
}

.m8-directory-board__grid a {
	padding: 9px 0;
	font-size: .95rem;
	border-bottom: 1px solid #efe9e3;
}

/* The footer is the last thing on the page. It is read, not skimmed. */
.m8-footer {
	padding: 68px 0 34px;
}

.m8-footer__logo {
	font-size: 1.5rem;
}

.m8-footer__directory li a {
	font-size: .95rem;
	line-height: 1.9;
}

.m8-footer__legal a {
	font-size: .92rem;
}


:root {
	/* A headline has to be bigger than the text under it. */
	--m8-font-scale: 1.06;
	--m8-line-height: 1.7;

	/* The gap between two cards is the space a reader needs to tell two
	   stories apart. */
	--m8-grid-gap: 34px;

	/* The muted colour was too pale to read comfortably. */
	--m8-text-muted: #57534e;
	--m8-border: #e2dad3;

	--m8-section-gap: 76px;
}

body {
	font-size: 1.0625rem;
	line-height: var(--m8-line-height);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.page-title,
.m8-section-title {
	letter-spacing: -.025em;
	line-height: 1.18;
	font-weight: 800;
}

h1 {
	font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.3rem);
}

h2 {
	font-size: clamp(1.55rem, 1.2rem + 1.2vw, 2.1rem);
}

h3 {
	font-size: clamp(1.15rem, 1.05rem + .35vw, 1.35rem);
}

/* The title of a card is the second thing a reader looks at after the
   picture, so it is given room and weight. */
.m8-site-formel1iptv .entry-title {
	font-size: 1.26rem;
	line-height: 1.3;
	font-weight: 750;
	letter-spacing: -.02em;
}

.m8-site-formel1iptv .entry-summary {
	font-size: .95rem;
	line-height: 1.6;
	color: var(--m8-text-muted);
}

/* The grid of a site keeps its own number of columns. Only the space
   between the cards is set here. */
.m8-site-formel1iptv #post-list {
	gap: var(--m8-grid-gap);
}

/* The picture of a card is the first thing the eye takes. */
.m8-site-formel1iptv .article-inner > a {
	aspect-ratio: 16 / 10;
}

/* A card lifts a little when the reader comes near it, so that the thing
   under the pointer is clear. */
.m8-site-formel1iptv .article-inner {
	transition: transform var(--m8-motion) var(--m8-motion-ease),
	            box-shadow var(--m8-motion) var(--m8-motion-ease),
	            border-color var(--m8-motion) var(--m8-motion-ease);
}

.m8-site-formel1iptv .article-inner:hover {
	transform: translateY(-3px);
}

/* The head of a section is a rule and a name, not a black bar. */
.m8-section-head {
	background: transparent;
	padding: 0 0 14px;
	margin-bottom: 30px;
	border-bottom: 2px solid var(--m8-secondary);
	border-radius: 0;
}

.m8-section-head__title {
	color: var(--m8-secondary);
	font-size: 1.22rem;
	letter-spacing: -.02em;
}

.m8-section-head__title::before {
	content: '';
}

.m8-section-head__link {
	font-weight: 600;
	font-size: .82rem;
}

/* Space between the blocks. */
.m8-section {
	margin-bottom: var(--m8-section-gap);
}

.m8-section-title {
	margin-bottom: 22px;
}

/* The directory board reads as a table of contents, not as a box. */
.m8-directory-board {
	background: transparent;
	border: 0;
	border-top: 1px solid var(--m8-border);
	border-radius: 0;
	padding: 26px 0 0;
	margin-bottom: 48px;
}

.m8-directory-board__title {
	font-size: 1.05rem;
	padding-bottom: 8px;
}

.m8-directory-board__grid {
	gap: 2px 30px;
}

.m8-directory-board__grid a {
	padding: 9px 0;
	font-size: .95rem;
	border-bottom: 1px solid #efe9e3;
}

/* The footer is the last thing on the page. It is read, not skimmed. */
.m8-footer {
	padding: 68px 0 34px;
}

.m8-footer__logo {
	font-size: 1.5rem;
}

.m8-footer__directory li a {
	font-size: .95rem;
	line-height: 1.9;
}

.m8-footer__legal a {
	font-size: .92rem;
}


:root {
	/* A headline has to be bigger than the text under it. */
	--m8-font-scale: 1.06;
	--m8-line-height: 1.7;

	/* The gap between two cards is the space a reader needs to tell two
	   stories apart. */
	--m8-grid-gap: 34px;

	/* The muted colour was too pale to read comfortably. */
	--m8-text-muted: #57534e;
	--m8-border: #e2dad3;

	--m8-section-gap: 76px;
}

body {
	font-size: 1.0625rem;
	line-height: var(--m8-line-height);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.page-title,
.m8-section-title {
	letter-spacing: -.025em;
	line-height: 1.18;
	font-weight: 800;
}

h1 {
	font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.3rem);
}

h2 {
	font-size: clamp(1.55rem, 1.2rem + 1.2vw, 2.1rem);
}

h3 {
	font-size: clamp(1.15rem, 1.05rem + .35vw, 1.35rem);
}

/* The title of a card is the second thing a reader looks at after the
   picture, so it is given room and weight. */
.m8-site-formel1iptv .entry-title {
	font-size: 1.26rem;
	line-height: 1.3;
	font-weight: 750;
	letter-spacing: -.02em;
}

.m8-site-formel1iptv .entry-summary {
	font-size: .95rem;
	line-height: 1.6;
	color: var(--m8-text-muted);
}

/* The grid of a site keeps its own number of columns. Only the space
   between the cards is set here. */
.m8-site-formel1iptv #post-list {
	gap: var(--m8-grid-gap);
}

/* The picture of a card is the first thing the eye takes. */
.m8-site-formel1iptv .article-inner > a {
	aspect-ratio: 16 / 10;
}

/* A card lifts a little when the reader comes near it, so that the thing
   under the pointer is clear. */
.m8-site-formel1iptv .article-inner {
	transition: transform var(--m8-motion) var(--m8-motion-ease),
	            box-shadow var(--m8-motion) var(--m8-motion-ease),
	            border-color var(--m8-motion) var(--m8-motion-ease);
}

.m8-site-formel1iptv .article-inner:hover {
	transform: translateY(-3px);
}

/* The head of a section is a rule and a name, not a black bar. */
.m8-section-head {
	background: transparent;
	padding: 0 0 14px;
	margin-bottom: 30px;
	border-bottom: 2px solid var(--m8-secondary);
	border-radius: 0;
}

.m8-section-head__title {
	color: var(--m8-secondary);
	font-size: 1.22rem;
	letter-spacing: -.02em;
}

.m8-section-head__title::before {
	content: '';
}

.m8-section-head__link {
	font-weight: 600;
	font-size: .82rem;
}

/* Space between the blocks. */
.m8-section {
	margin-bottom: var(--m8-section-gap);
}

.m8-section-title {
	margin-bottom: 22px;
}

/* The directory board reads as a table of contents, not as a box. */
.m8-directory-board {
	background: transparent;
	border: 0;
	border-top: 1px solid var(--m8-border);
	border-radius: 0;
	padding: 26px 0 0;
	margin-bottom: 48px;
}

.m8-directory-board__title {
	font-size: 1.05rem;
	padding-bottom: 8px;
}

.m8-directory-board__grid {
	gap: 2px 30px;
}

.m8-directory-board__grid a {
	padding: 9px 0;
	font-size: .95rem;
	border-bottom: 1px solid #efe9e3;
}

/* The footer is the last thing on the page. It is read, not skimmed. */
.m8-footer {
	padding: 68px 0 34px;
}

.m8-footer__logo {
	font-size: 1.5rem;
}

.m8-footer__directory li a {
	font-size: .95rem;
	line-height: 1.9;
}

.m8-footer__legal a {
	font-size: .92rem;
}
/* ===========================================================================
   === design pass ===
   ---------------------------------------------------------------------------
   The layer that gives the portal its reading quality. The rules above
   build the structure; these give it the page a reader can stay on.
   =========================================================================== */

:root {
	/* A headline has to be bigger than the text under it. */
	--m8-font-scale: 1.06;
	--m8-line-height: 1.7;

	/* The gap between two cards is the space a reader needs to tell two
	   stories apart. */
	--m8-grid-gap: 34px;

	/* The muted colour was too pale to read comfortably. */
	--m8-text-muted: #57534e;
	--m8-border: #e2dad3;

	--m8-section-gap: 76px;
}

body {
	font-size: 1.0625rem;
	line-height: var(--m8-line-height);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.page-title,
.m8-section-title {
	letter-spacing: -.025em;
	line-height: 1.18;
	font-weight: 800;
}

h1 {
	font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.3rem);
}

h2 {
	font-size: clamp(1.55rem, 1.2rem + 1.2vw, 2.1rem);
}

h3 {
	font-size: clamp(1.15rem, 1.05rem + .35vw, 1.35rem);
}

/* The title of a card is the second thing a reader looks at after the
   picture, so it is given room and weight. */
.m8-site-formel1iptv .entry-title {
	font-size: 1.26rem;
	line-height: 1.3;
	font-weight: 750;
	letter-spacing: -.02em;
}

.m8-site-formel1iptv .entry-summary {
	font-size: .95rem;
	line-height: 1.6;
	color: var(--m8-text-muted);
}

/* The grid of a site keeps its own number of columns. Only the space
   between the cards is set here. */
.m8-site-formel1iptv #post-list {
	gap: var(--m8-grid-gap);
}

/* The picture of a card is the first thing the eye takes. */
.m8-site-formel1iptv .article-inner > a {
	aspect-ratio: 16 / 10;
}

/* A card lifts a little when the reader comes near it, so that the thing
   under the pointer is clear. */
.m8-site-formel1iptv .article-inner {
	transition: transform var(--m8-motion) var(--m8-motion-ease),
	            box-shadow var(--m8-motion) var(--m8-motion-ease),
	            border-color var(--m8-motion) var(--m8-motion-ease);
}

.m8-site-formel1iptv .article-inner:hover {
	transform: translateY(-3px);
}

/* The head of a section is a rule and a name, not a black bar. */
.m8-section-head {
	background: transparent;
	padding: 0 0 14px;
	margin-bottom: 30px;
	border-bottom: 2px solid var(--m8-secondary);
	border-radius: 0;
}

.m8-section-head__title {
	color: var(--m8-secondary);
	font-size: 1.22rem;
	letter-spacing: -.02em;
}

.m8-section-head__title::before {
	content: '';
}

.m8-section-head__link {
	font-weight: 600;
	font-size: .82rem;
}

/* Space between the blocks. */
.m8-section {
	margin-bottom: var(--m8-section-gap);
}

.m8-section-title {
	margin-bottom: 22px;
}

/* The directory board reads as a table of contents, not as a box. */
.m8-directory-board {
	background: transparent;
	border: 0;
	border-top: 1px solid var(--m8-border);
	border-radius: 0;
	padding: 26px 0 0;
	margin-bottom: 48px;
}

.m8-directory-board__title {
	font-size: 1.05rem;
	padding-bottom: 8px;
}

.m8-directory-board__grid {
	gap: 2px 30px;
}

.m8-directory-board__grid a {
	padding: 9px 0;
	font-size: .95rem;
	border-bottom: 1px solid #efe9e3;
}

/* The footer is the last thing on the page. It is read, not skimmed. */
.m8-footer {
	padding: 68px 0 34px;
}

.m8-footer__logo {
	font-size: 1.5rem;
}

.m8-footer__directory li a {
	font-size: .95rem;
	line-height: 1.9;
}

.m8-footer__legal a {
	font-size: .92rem;
}
