/*
 * Fischer Artikelpässe – Frontend
 * Bewusst einfach gehalten und ab iOS 12 lauffähig:
 * Flexbox ohne gap (Abstände über margin), keine :has()-, aspect-ratio- oder dvh-Regeln.
 */

.fap-pass {
	color: #222;
	line-height: 1.55;
}

.fap-pass h2 {
	font-size: 1.05rem;
	font-weight: 600;
	color: #bb1e10;
	margin: 0 0 .6em;
	padding-bottom: .35em;
	border-bottom: 1px solid #d6d6d6;
	text-align: left;
}

.fap-meta {
	margin: 0 0 1em;
	color: #555;
}

.fap-meta a {
	color: inherit;
	text-decoration: underline;
}

.fap-actions {
	margin: 0 0 2em;
}

/* Mindestens 44px Tippfläche für Touch-Geräte. */
.fap-btn,
.fap-btn:visited {
	display: inline-block;
	min-height: 44px;
	padding: 11px 20px;
	border: 1px solid #bb1e10;
	border-radius: 4px;
	background: #bb1e10;
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	line-height: 20px;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.fap-btn:focus {
	outline: 2px solid #222;
	outline-offset: 2px;
}

/* Hover nur bei Geräten mit echter Maus (sonst „klebt“ der Zustand auf iOS). */
@media (hover: hover) and (pointer: fine) {
	.fap-btn:hover {
		background: #8f170c;
		border-color: #8f170c;
		color: #fff;
	}
}

.fap-cols {
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	margin: 0 -18px;
}

.fap-col {
	box-sizing: border-box;
	padding: 0 18px;
	min-width: 0;
}

.fap-col-l {
	-webkit-flex: 0 0 56%;
	flex: 0 0 56%;
	max-width: 56%;
}

.fap-col-r {
	-webkit-flex: 0 0 44%;
	flex: 0 0 44%;
	max-width: 44%;
}

.fap-sec {
	margin: 0 0 2em;
}

.fap-sec p {
	margin: 0 0 .6em;
}

.fap-strong {
	font-weight: 600;
}

.fap-pass .fap-table {
	width: 100%;
	border-collapse: collapse;
	border: 0;
	margin: 0;
	table-layout: auto;
}

.fap-pass .fap-table th,
.fap-pass .fap-table td {
	padding: .45em 0;
	border: 0;
	border-bottom: 1px solid #e4e4e4;
	background: none;
	text-align: left;
	font-weight: 400;
	vertical-align: top;
}

.fap-pass .fap-nw td {
	text-align: right;
	white-space: nowrap;
	padding-left: 1em;
}

.fap-pass .fap-nw .fap-sub th {
	padding-left: 1.2em;
}

.fap-pass .fap-kv th {
	width: 38%;
	color: #555;
	padding-right: 1em;
}

.fap-small {
	font-size: .85em;
	color: #666;
	margin-top: .6em;
}

.fap-legal {
	border-top: 1px solid #d6d6d6;
	padding-top: 1em;
	font-size: .85em;
	color: #555;
	display: -webkit-box;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	margin: 0 -18px;
}

.fap-legal p {
	box-sizing: border-box;
	-webkit-flex: 1 1 300px;
	flex: 1 1 300px;
	padding: 0 18px;
	margin: 0 0 1em;
}

.fap-legal strong {
	color: #222;
}

.fap-back {
	margin-top: 1.5em;
}

/* Tablet hochkant und Smartphone: eine Spalte. */
@media (max-width: 782px) {
	.fap-col-l,
	.fap-col-r {
		-webkit-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
	}
}

/* Übersicht [artikelpass_liste] */
.fap-liste-gruppe {
	text-align: left;
	margin-top: 1.5em;
}

.fap-liste-tabelle {
	width: 100%;
	border-collapse: collapse;
}

.fap-liste-tabelle th,
.fap-liste-tabelle td {
	text-align: left;
	padding: .5em .6em .5em 0;
	border-bottom: 1px solid #e4e4e4;
}

/* Druck: nur der Pass. */
@media print {
	.fap-single .site-header,
	.fap-single .site-footer,
	.fap-single #ast-scroll-top,
	.fap-single .ast-breadcrumbs-wrapper,
	.fap-single #cmplz-cookiebanner-container,
	.fap-actions,
	.fap-back {
		display: none !important;
	}
	.fap-col-l,
	.fap-col-r {
		-webkit-flex: 0 0 50%;
		flex: 0 0 50%;
		max-width: 50%;
	}
}
