/*
Theme Name: The7 Child
Description: Akotherm Custom Child Theme
Author: Dream-Theme
Author URI: http://dream-theme.com/
Template: dt-the7
Version: 1.0
Tags:
*/


/* =========================================================
 * AKOTHERM DOKUMENTCENTER
 * ========================================================= */

.akotherm-dokumentcenter {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 40px 0 70px;
}


/* ---------------------------------------------------------
 * Suche
 * --------------------------------------------------------- */

.akotherm-dokumentcenter-search {
	margin-bottom: 34px;
}

.akotherm-dokumentcenter-search h2 {
	margin: 0 0 16px;

	font-size: 32px;
	line-height: 1.2;
	font-weight: 500;

	color: #17233f;
}

.akotherm-dokumentcenter-search form {
	display: flex;

	width: 100%;
	max-width: 760px;
}

.akotherm-dokumentcenter-search input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 50px;

	padding: 0 18px;

	border: 1px solid #d8dde6;
	border-right: 0;
	border-radius: 4px 0 0 4px;

	background: #fff;
	color: #17233f;

	font-size: 15px;

	outline: none;
	box-sizing: border-box;

	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.akotherm-dokumentcenter-search input[type="search"]:focus {
	border-color: #009ee3;
	box-shadow: inset 0 0 0 1px #009ee3;
}

.akotherm-dokumentcenter-search button {
	height: 50px;
	padding: 0 30px;

	border: 1px solid #009ee3;
	border-radius: 0 4px 4px 0;

	background: #009ee3;
	color: #fff;

	font-size: 15px;
	font-weight: 600;

	cursor: pointer;

	transition:
		background-color 0.2s ease,
		border-color 0.2s ease;
}

.akotherm-dokumentcenter-search button:hover {
	background: #008bc8;
	border-color: #008bc8;
}


/* =========================================================
 * HAUPTKATEGORIEN / RUBRIKKACHELN
 * ========================================================= */

.akotherm-document-categories {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;

	width: 100%;
	margin: 0 0 38px;
}

.akotherm-document-category {
	position: relative;

	display: flex;
	flex-direction: column;
	align-items: stretch;

	min-width: 0;
	height: 176px;

	padding: 0;

	overflow: hidden;

	border: 1px solid #e1e5ea;
	border-radius: 5px;

	background: #fff;

	color: #17233f;

	text-decoration: none !important;

	box-shadow:
		0 2px 8px rgba(17, 35, 63, 0.04);

	box-sizing: border-box;

	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		border-color 0.2s ease;
}

.akotherm-document-category::before {
	content: "";

	display: block;

	width: 100%;
	height: 118px;

	flex-shrink: 0;

	background:
		linear-gradient(
			135deg,
			#f5f6f7 0%,
			#e9ecef 50%,
			#f8f9fa 100%
		);

	border-bottom: 1px solid #e8ebef;

	transition:
		filter 0.2s ease,
		transform 0.25s ease;
}

.akotherm-document-category::after {
	position: absolute;

	top: 24px;
	left: 50%;

	display: flex;
	align-items: center;
	justify-content: center;

	width: 70px;
	height: 70px;

	transform: translateX(-50%);

	color: #727b84;

	font-size: 35px;
	line-height: 1;
	font-weight: 500;
	text-align: center;

	transition:
		color 0.2s ease,
		transform 0.2s ease;
}

.akotherm-document-category > span {
	display: flex;
	align-items: center;
	justify-content: center;

	flex: 1;

	width: 100%;
	min-height: 56px;

	padding: 10px 14px;

	color: inherit;

	font-size: 15px;
	line-height: 1.3;
	font-weight: 600;
	text-align: center;

	box-sizing: border-box;
}


/* ---------------------------------------------------------
 * Individuelle Kategorie-Symbole
 * --------------------------------------------------------- */

.akotherm-document-category[data-category-slug="kataloge"]::after,
.akotherm-document-category[data-category-slug="catalogues"]::after {
	content: "▤";
	font-size: 48px;
}

.akotherm-document-category[data-category-slug="einbauzeichnungen"]::after,
.akotherm-document-category[data-category-slug="installation-drawings"]::after {
	content: "⌑";
	font-size: 52px;
}

.akotherm-document-category[data-category-slug="cad-daten"]::after,
.akotherm-document-category[data-category-slug="cad-data"]::after {
	content: "⌘";
	font-size: 46px;
}

.akotherm-document-category[data-category-slug="wandplaene"]::after,
.akotherm-document-category[data-category-slug="wall-plans"]::after {
	content: "▦";
	font-size: 47px;
}

.akotherm-document-category[data-category-slug="prospekte"]::after,
.akotherm-document-category[data-category-slug="brochures"]::after {
	content: "▥";
	font-size: 48px;
}

.akotherm-document-category[data-category-slug="kundeninformationen"]::after,
.akotherm-document-category[data-category-slug="customer-information"]::after {
	content: "i";

	width: 58px;
	height: 58px;
	top: 30px;

	border: 4px solid currentColor;
	border-radius: 50%;

	font-family: Arial, sans-serif;
	font-size: 36px;
	font-weight: 700;
}

.akotherm-document-category[data-category-slug="anleitungen-hinweise"]::after,
.akotherm-document-category[data-category-slug="instructions-notes"]::after {
	content: "!";

	width: 58px;
	height: 58px;
	top: 30px;

	border: 4px solid currentColor;
	border-radius: 50%;

	font-family: Arial, sans-serif;
	font-size: 37px;
	font-weight: 700;
}

.akotherm-document-category[data-category-slug="pruefnachweise-zertifikate"]::after,
.akotherm-document-category[data-category-slug="test-reports-certificates"]::after {
	content: "✓";

	width: 62px;
	height: 62px;
	top: 28px;

	border: 4px solid currentColor;
	border-radius: 50%;

	font-size: 38px;
	font-weight: 700;
}

.akotherm-document-category[data-category-slug="baupvo-ce"]::after,
.akotherm-document-category[data-category-slug="cpr-ce"]::after {
	content: "CE";

	font-family: Arial, sans-serif;
	font-size: 32px;
	font-weight: 700;
	letter-spacing: -2px;
}

.akotherm-document-category[data-category-slug="kundensoftware"]::after,
.akotherm-document-category[data-category-slug="customer-software"]::after {
	content: "▣";
	font-size: 50px;
}

.akotherm-document-category[data-category-slug="teamviewer"]::after {
	content: "↔";

	width: 64px;
	height: 64px;
	top: 27px;

	border: 4px solid currentColor;
	border-radius: 50%;

	font-size: 37px;
	font-weight: 700;
}

.akotherm-document-category[data-category-slug="preisliste-und-formulare"]::after,
.akotherm-document-category[data-category-slug="price-list-forms"]::after {
	content: "≡";

	width: 54px;
	height: 66px;
	top: 26px;

	border: 4px solid currentColor;
	border-radius: 3px;

	font-size: 39px;
	font-weight: 500;
}


/* ---------------------------------------------------------
 * Kategorie Hover / Aktiv
 * --------------------------------------------------------- */

.akotherm-document-category:hover {
	transform: translateY(-2px);

	border-color: #009ee3;

	color: #009ee3;

	box-shadow:
		0 8px 22px rgba(17, 35, 63, 0.09);

	text-decoration: none !important;
}

.akotherm-document-category:hover::before {
	filter: brightness(1.02);
}

.akotherm-document-category:hover::after {
	color: #009ee3;

	transform:
		translateX(-50%)
		scale(1.04);
}

.akotherm-document-category.is-active {
	border-color: #009ee3;

	color: #009ee3;

	box-shadow:
		0 5px 16px rgba(0, 158, 227, 0.12);
}

.akotherm-document-category.is-active::before {
	background:
		linear-gradient(
			135deg,
			#f2fbff 0%,
			#e4f5fc 50%,
			#f5fcff 100%
		);

	border-bottom-color: #ccebf7;
}

.akotherm-document-category.is-active::after {
	color: #009ee3;
}


/* =========================================================
 * ZURÜCK ZUR ÜBERSICHT
 * ========================================================= */

.akotherm-document-overview-link {
	margin: -14px 0 22px;
}

.akotherm-document-overview-link a {
	display: inline-flex;
	align-items: center;

	color: #667085;

	font-size: 14px;
	line-height: 1.4;
	font-weight: 500;

	text-decoration: none !important;

	transition:
		color 0.2s ease;
}

.akotherm-document-overview-link a::before {
	content: "←";

	margin-right: 7px;

	font-size: 16px;
	line-height: 1;
}

.akotherm-document-overview-link a:hover {
	color: #009ee3;
}


/* =========================================================
 * UNTERKATEGORIEN
 * ========================================================= */

.akotherm-document-subcategories {
	display: flex;
	flex-wrap: wrap;
	align-items: center;

	gap: 8px;

	width: 100%;

	margin: 0 0 34px;
	padding: 0;
}

.akotherm-document-subcategory {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-height: 40px;
	padding: 8px 15px;

	border: 1px solid #dce2e8;
	border-radius: 3px;

	background: #fff;
	color: #445064;

	font-size: 14px;
	line-height: 1.3;
	font-weight: 500;

	text-decoration: none !important;

	box-sizing: border-box;

	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease;
}

.akotherm-document-subcategory:hover {
	border-color: #009ee3;

	background: #f4fbfe;
	color: #009ee3;

	text-decoration: none !important;
}

.akotherm-document-subcategory.is-active {
	border-color: #009ee3;

	background: #009ee3;
	color: #fff;
}


/* =========================================================
 * DOKUMENTLISTE – NORMALE KATEGORIEANSICHT
 * ========================================================= */

.akotherm-document-results {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;

	align-items: stretch;
}

.akotherm-document-card {
	display: flex;
	flex-direction: column;

	height: 100%;

	overflow: hidden;

	border: 1px solid #e3e6eb;
	border-radius: 5px;

	background: #fff;

	box-shadow:
		0 4px 18px rgba(17, 35, 63, 0.06);

	box-sizing: border-box;

	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		border-color 0.2s ease;
}

.akotherm-document-card:hover {
	transform: translateY(-2px);

	border-color: #d3d9e2;

	box-shadow:
		0 8px 24px rgba(17, 35, 63, 0.09);
}


/* ---------------------------------------------------------
 * Dokumentbild
 * --------------------------------------------------------- */

.akotherm-document-image {
	display: block;
	flex-shrink: 0;

	width: 100%;
	aspect-ratio: 16 / 9;

	overflow: hidden;

	background: #f4f5f7;
}

.akotherm-document-image img {
	display: block;

	width: 100%;
	height: 100%;

	margin: 0;

	object-fit: cover;

	transition:
		transform 0.25s ease;
}

.akotherm-document-card:hover .akotherm-document-image img {
	transform: scale(1.015);
}


/* ---------------------------------------------------------
 * Dokumentinhalt
 * --------------------------------------------------------- */

.akotherm-document-content {
	display: flex;
	flex: 1;
	flex-direction: column;

	padding: 20px;

	box-sizing: border-box;
}

.akotherm-document-title {
	margin: 0 0 8px;

	font-size: 21px;
	line-height: 1.3;
	font-weight: 600;
}

.akotherm-document-title a {
	color: #17233f;

	text-decoration: none !important;

	transition:
		color 0.2s ease;
}

.akotherm-document-title a:hover {
	color: #009ee3;
	text-decoration: none !important;
}

.akotherm-document-description {
	margin: 0 0 10px;

	color: #667085;

	font-size: 14px;
	line-height: 1.6;
}

.akotherm-document-version {
	margin: 0 0 14px;

	color: #667085;

	font-size: 13px;
	line-height: 1.5;
}


/* ---------------------------------------------------------
 * Dokumentbutton
 * --------------------------------------------------------- */

.akotherm-document-action {
	margin: auto 0 0;
	padding-top: 18px;
}

.akotherm-document-action a {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-height: 42px;
	padding: 0 18px;

	border: 1px solid #009ee3;
	border-radius: 3px;

	background: #fff;
	color: #009ee3;

	font-size: 14px;
	font-weight: 600;

	text-decoration: none !important;

	box-sizing: border-box;

	transition:
		background-color 0.2s ease,
		color 0.2s ease;
}

.akotherm-document-action a:hover {
	background: #009ee3;
	color: #fff;

	text-decoration: none !important;
}


/* =========================================================
 * KOMPAKTE SUCHERGEBNISSE
 * ========================================================= */

/*
 * Suchergebnisse werden bewusst nicht als
 * große 3-spaltige Kacheln dargestellt.
 *
 * Dadurch stehen Titel und tatsächlicher
 * Trefferkontext im Vordergrund.
 */

.akotherm-document-results.is-search-results {
	display: flex;
	flex-direction: column;

	gap: 12px;

	width: 100%;
	margin: 0 0 38px;
}

.akotherm-document-results.is-search-results .akotherm-document-card {
	display: block;

	width: 100%;
	height: auto;
	min-height: 0;

	border-radius: 5px;

	box-shadow:
		0 2px 9px rgba(17, 35, 63, 0.045);
}

.akotherm-document-results.is-search-results
.akotherm-document-card:has(.akotherm-document-image) {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);

	align-items: stretch;
}

.akotherm-document-results.is-search-results
.akotherm-document-card.with-thumbnail {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);

	align-items: stretch;
}

.akotherm-document-results.is-search-results
.akotherm-document-card.without-thumbnail {
	display: block;
}

.akotherm-document-results.is-search-results
.akotherm-document-card:hover {
	transform: none;

	border-color: #cfd7e1;

	box-shadow:
		0 5px 16px rgba(17, 35, 63, 0.075);
}


/* ---------------------------------------------------------
 * Kleines Cover
 * --------------------------------------------------------- */

.akotherm-document-results.is-search-results
.akotherm-document-image {
	width: 112px;
	height: 100%;
	min-height: 142px;

	aspect-ratio: auto;

	display: flex;
	align-items: center;
	justify-content: center;

	border-right: 1px solid #e8ebef;

	background: #f5f6f8;
}

.akotherm-document-results.is-search-results
.akotherm-document-image img {
	width: 100%;
	height: 100%;
	max-height: 165px;

	padding: 8px;

	object-fit: contain;

	box-sizing: border-box;
}

.akotherm-document-results.is-search-results
.akotherm-document-card:hover
.akotherm-document-image img {
	transform: none;
}


/* ---------------------------------------------------------
 * Suchergebnis-Inhalt
 * --------------------------------------------------------- */

.akotherm-document-results.is-search-results
.akotherm-document-content {
	display: flex;
	flex-direction: column;

	min-width: 0;

	padding: 15px 18px 16px;
}

.akotherm-document-results.is-search-results
.akotherm-document-title {
	margin: 0 0 6px;

	font-size: 17px;
	line-height: 1.35;
	font-weight: 600;
}

.akotherm-document-results.is-search-results
.akotherm-document-description {
	margin: 0 0 7px;

	color: #667085;

	font-size: 13.5px;
	line-height: 1.5;
}

.akotherm-document-results.is-search-results
.akotherm-document-version {
	margin: 2px 0 0;

	color: #77808d;

	font-size: 12.5px;
	line-height: 1.4;
}


/* ---------------------------------------------------------
 * Treffertext / SearchWP-Auszug
 * --------------------------------------------------------- */

.akotherm-document-search-excerpt,
.akotherm-document-search-snippet,
.akotherm-document-hit,
.akotherm-search-excerpt {
	margin: 2px 0 8px;

	color: #4e5968;

	font-size: 13.5px;
	line-height: 1.55;
}

.akotherm-document-search-excerpt strong,
.akotherm-document-search-snippet strong,
.akotherm-document-hit strong,
.akotherm-search-excerpt strong {
	font-weight: 600;
	color: #26344b;
}

.akotherm-document-search-excerpt mark,
.akotherm-document-search-snippet mark,
.akotherm-document-hit mark,
.akotherm-search-excerpt mark,
.akotherm-document-results.is-search-results mark {
	padding: 0 2px;

	border-radius: 2px;

	background: #fff0a8;
	color: inherit;

	font-weight: 600;
}


/* ---------------------------------------------------------
 * Suchergebnis-Aktion
 * --------------------------------------------------------- */

.akotherm-document-results.is-search-results
.akotherm-document-action {
	margin: 8px 0 0;
	padding: 0;
}

.akotherm-document-results.is-search-results
.akotherm-document-action a {
	min-height: auto;

	padding: 0;

	border: 0;
	border-radius: 0;

	background: transparent;
	color: #009ee3;

	font-size: 13.5px;
	font-weight: 600;

	text-decoration: none !important;
}

.akotherm-document-results.is-search-results
.akotherm-document-action a::after {
	content: " →";

	margin-left: 4px;
}

.akotherm-document-results.is-search-results
.akotherm-document-action a:hover {
	background: transparent;
	color: #008bc8;
}


/* ---------------------------------------------------------
 * Optionaler Ergebniskopf / Trefferanzahl
 * --------------------------------------------------------- */

.akotherm-document-results-heading {
	margin: 0 0 14px;

	color: #17233f;

	font-size: 18px;
	line-height: 1.4;
	font-weight: 600;
}

.akotherm-document-results-count {
	margin: -7px 0 16px;

	color: #667085;

	font-size: 13px;
	line-height: 1.4;
}


/* ---------------------------------------------------------
 * Meldungen
 * --------------------------------------------------------- */

.akotherm-dokumentcenter-message {
	grid-column: 1 / -1;

	padding: 24px;

	border: 1px solid #e3e6eb;
	border-radius: 4px;

	background: #f7f8fa;

	box-sizing: border-box;
}

.akotherm-dokumentcenter-message p {
	margin: 0;
}

.akotherm-document-results.is-search-results
.akotherm-dokumentcenter-message {
	width: 100%;
}


/* =========================================================
 * AKOTHERM DOKUMENT – DETAILSEITE
 * ========================================================= */

body.single-dokumente #main {
	padding-top: 20px !important;
}

.akotherm-document-single {
	padding: 30px 20px 70px;
}

.akotherm-document-single-inner {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
}


/* ---------------------------------------------------------
 * Zurück zum Downloadcenter
 * --------------------------------------------------------- */

.akotherm-document-single-back {
	margin: 0 0 20px;
}

.akotherm-document-single-back a {
	display: inline-flex;
	align-items: center;

	color: #667085;

	font-size: 14px;
	line-height: 1.4;
	font-weight: 500;

	text-decoration: none !important;

	transition:
		color 0.2s ease;
}

.akotherm-document-single-back a::before {
	content: "←";

	margin-right: 7px;

	font-size: 16px;
	line-height: 1;
}

.akotherm-document-single-back a:hover {
	color: #009ee3;

	text-decoration: none !important;
}


/* ---------------------------------------------------------
 * Dokument-Kopf
 * --------------------------------------------------------- */

.akotherm-document-single-intro {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);

	gap: 42px;
	align-items: center;

	padding: 30px;

	background: #f7f8f9;

	border: 1px solid #e4e7e9;
	border-radius: 8px;

	box-sizing: border-box;
}

.akotherm-document-single-intro.without-thumbnail {
	grid-template-columns: 1fr;
}

.akotherm-document-single-thumbnail {
	width: 100%;
}

.akotherm-document-single-thumbnail img {
	display: block;

	width: 100%;
	height: auto;

	margin: 0;

	border-radius: 4px;
}


/* ---------------------------------------------------------
 * Text
 * --------------------------------------------------------- */

.akotherm-document-single-copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;

	width: 100%;
	min-width: 0;
}

.akotherm-document-single-description,
.akotherm-document-single-description *,
.akotherm-document-single-description code,
.akotherm-document-single-description pre,
.akotherm-document-single-description samp,
.akotherm-document-single-description kbd {
	font-family: inherit !important;
	font-style: normal !important;
	letter-spacing: normal !important;
}

.akotherm-document-single-description {
	margin: 0;

	font-size: 16px;
	line-height: 1.65;

	color: #34404a;
}

.akotherm-document-single-description > *:first-child {
	margin-top: 0;
}

.akotherm-document-single-description > *:last-child {
	margin-bottom: 0;
}


/* ---------------------------------------------------------
 * Version
 * --------------------------------------------------------- */

.akotherm-document-single-meta {
	margin-top: 18px;

	font-size: 14px;
	line-height: 1.5;

	color: #5d6870;
}

.akotherm-document-single-meta-label {
	font-weight: 600;
	color: #28343d;
}


/* ---------------------------------------------------------
 * Buttons
 * --------------------------------------------------------- */

.akotherm-document-single-action {
	margin-top: 24px;
}

.akotherm-document-single-action p {
	margin: 0;
}

.akotherm-document-single-action a,
.akotherm-document-single-fullscreen-action a {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	width: 190px;
	min-height: 44px;
	padding: 0 16px;

	background: #009ee3;

	border: 1px solid #009ee3;
	border-radius: 3px;

	color: #fff !important;

	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;

	white-space: nowrap;

	text-decoration: none !important;

	box-sizing: border-box;

	transition:
		background-color 0.2s ease,
		border-color 0.2s ease;
}

.akotherm-document-single-action a:hover,
.akotherm-document-single-fullscreen-action a:hover {
	background: #008bc8;
	border-color: #008bc8;
}


/* ---------------------------------------------------------
 * Vorschau-Aktion
 * --------------------------------------------------------- */

.akotherm-document-single-preview-action {
	width: 100%;
	margin-top: 30px;
}

.akotherm-document-single-preview-label {
	margin-bottom: 12px;

	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;

	color: #26333d;
}

.akotherm-document-single-fullscreen-action {
	width: 100%;
}


/* ---------------------------------------------------------
 * PDF-Viewer
 * --------------------------------------------------------- */

.akotherm-document-single-viewer {
	width: 100%;
	margin-top: 45px;
}

.akotherm-document-single-viewer iframe {
	display: block;

	width: 100% !important;

	border: 1px solid #dfe3e6 !important;
	border-radius: 4px;

	background: #fff;
}

.akotherm-document-single-viewer > a {
	display: none;
}

.akotherm-document-single-fullscreen-action a {
	display: inline-flex;
}


/* =========================================================
 * RESPONSIVE – DOKUMENTCENTER
 * ========================================================= */

@media (max-width: 1024px) {

	.akotherm-document-categories {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.akotherm-document-results {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.akotherm-document-results.is-search-results {
		display: flex;
	}
}


@media (max-width: 768px) {

	.akotherm-dokumentcenter {
		padding-top: 30px;
		padding-bottom: 55px;
	}

	.akotherm-dokumentcenter-search h2 {
		font-size: 27px;
	}

	.akotherm-document-categories {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.akotherm-document-category {
		height: 160px;
	}

	.akotherm-document-category::before {
		height: 105px;
	}

	.akotherm-document-category::after {
		top: 20px;
	}

	.akotherm-document-category[data-category-slug="kundeninformationen"]::after,
	.akotherm-document-category[data-category-slug="customer-information"]::after,
	.akotherm-document-category[data-category-slug="anleitungen-hinweise"]::after,
	.akotherm-document-category[data-category-slug="instructions-notes"]::after {
		top: 24px;
	}

	.akotherm-document-category[data-category-slug="pruefnachweise-zertifikate"]::after,
	.akotherm-document-category[data-category-slug="test-reports-certificates"]::after {
		top: 22px;
	}

	.akotherm-document-subcategories {
		gap: 7px;
	}

	.akotherm-document-subcategory {
		flex: 1 1 calc(50% - 7px);
	}

	.akotherm-document-results.is-search-results
	.akotherm-document-card:has(.akotherm-document-image),
	.akotherm-document-results.is-search-results
	.akotherm-document-card.with-thumbnail {
		grid-template-columns: 96px minmax(0, 1fr);
	}

	.akotherm-document-results.is-search-results
	.akotherm-document-image {
		width: 96px;
		min-height: 130px;
	}

	.akotherm-document-results.is-search-results
	.akotherm-document-content {
		padding: 14px 16px;
	}

	.akotherm-document-results.is-search-results
	.akotherm-document-title {
		font-size: 16px;
	}
}


@media (max-width: 560px) {

	.akotherm-dokumentcenter-search {
		margin-bottom: 28px;
	}

	.akotherm-dokumentcenter-search form {
		display: flex;
	}

	.akotherm-dokumentcenter-search input[type="search"] {
		padding-left: 14px;
		padding-right: 14px;
	}

	.akotherm-dokumentcenter-search button {
		padding-left: 18px;
		padding-right: 18px;
	}

	.akotherm-document-categories {
		grid-template-columns: 1fr;

		gap: 10px;

		margin-bottom: 30px;
	}

	.akotherm-document-category {
		display: grid;
		grid-template-columns: 105px minmax(0, 1fr);

		height: 88px;
	}

	.akotherm-document-category::before {
		width: 105px;
		height: 88px;

		border-right: 1px solid #e8ebef;
		border-bottom: 0;
	}

	.akotherm-document-category::after {
		top: 14px;
		left: 52px;

		width: 60px;
		height: 60px;

		font-size: 34px;
	}

	.akotherm-document-category > span {
		min-height: 88px;

		padding: 12px 16px;

		justify-content: flex-start;

		font-size: 14px;
		text-align: left;
	}

	.akotherm-document-category[data-category-slug="kataloge"]::after,
	.akotherm-document-category[data-category-slug="catalogues"]::after,
	.akotherm-document-category[data-category-slug="prospekte"]::after,
	.akotherm-document-category[data-category-slug="brochures"]::after {
		font-size: 40px;
	}

	.akotherm-document-category[data-category-slug="einbauzeichnungen"]::after,
	.akotherm-document-category[data-category-slug="installation-drawings"]::after {
		font-size: 42px;
	}

	.akotherm-document-category[data-category-slug="cad-daten"]::after,
	.akotherm-document-category[data-category-slug="cad-data"]::after,
	.akotherm-document-category[data-category-slug="wandplaene"]::after,
	.akotherm-document-category[data-category-slug="wall-plans"]::after,
	.akotherm-document-category[data-category-slug="kundensoftware"]::after,
	.akotherm-document-category[data-category-slug="customer-software"]::after {
		font-size: 40px;
	}

	.akotherm-document-category[data-category-slug="kundeninformationen"]::after,
	.akotherm-document-category[data-category-slug="customer-information"]::after,
	.akotherm-document-category[data-category-slug="anleitungen-hinweise"]::after,
	.akotherm-document-category[data-category-slug="instructions-notes"]::after,
	.akotherm-document-category[data-category-slug="pruefnachweise-zertifikate"]::after,
	.akotherm-document-category[data-category-slug="test-reports-certificates"]::after,
	.akotherm-document-category[data-category-slug="teamviewer"]::after {
		top: 14px;
	}

	.akotherm-document-category[data-category-slug="preisliste-und-formulare"]::after,
	.akotherm-document-category[data-category-slug="price-list-forms"]::after {
		top: 12px;
		height: 60px;
	}

	.akotherm-document-overview-link {
		margin-top: -8px;
	}

	.akotherm-document-subcategories {
		display: grid;
		grid-template-columns: 1fr;

		gap: 7px;

		margin-bottom: 30px;
	}

	.akotherm-document-subcategory {
		width: 100%;

		justify-content: flex-start;

		padding-left: 14px;
		padding-right: 14px;
	}

	.akotherm-document-results {
		grid-template-columns: 1fr;
	}

	/*
	 * Suchtreffer bleiben mobil ebenfalls
	 * kompakt zweispaltig.
	 */
	.akotherm-document-results.is-search-results
	.akotherm-document-card:has(.akotherm-document-image),
	.akotherm-document-results.is-search-results
	.akotherm-document-card.with-thumbnail {
		display: grid;
		grid-template-columns: 82px minmax(0, 1fr);
	}

	.akotherm-document-results.is-search-results
	.akotherm-document-image {
		width: 82px;
		min-height: 118px;
	}

	.akotherm-document-results.is-search-results
	.akotherm-document-image img {
		max-height: 138px;
		padding: 6px;
	}

	.akotherm-document-results.is-search-results
	.akotherm-document-content {
		padding: 12px 13px 13px;
	}

	.akotherm-document-results.is-search-results
	.akotherm-document-title {
		margin-bottom: 5px;

		font-size: 15px;
		line-height: 1.35;
	}

	.akotherm-document-results.is-search-results
	.akotherm-document-description,
	.akotherm-document-search-excerpt,
	.akotherm-document-search-snippet,
	.akotherm-document-hit,
	.akotherm-search-excerpt {
		font-size: 12.5px;
		line-height: 1.45;
	}

	.akotherm-document-results.is-search-results
	.akotherm-document-version {
		font-size: 12px;
	}

	.akotherm-document-results.is-search-results
	.akotherm-document-action a {
		font-size: 12.5px;
	}
}


/* =========================================================
 * RESPONSIVE – DOKUMENT-DETAILSEITE
 * ========================================================= */

@media (max-width: 900px) {

	.akotherm-document-single {
		padding-top: 25px;
		padding-bottom: 60px;
	}

	.akotherm-document-single-intro {
		grid-template-columns: 230px minmax(0, 1fr);

		gap: 30px;

		padding: 24px;
	}
}


@media screen and (max-width: 768px) {

	body.single-dokumente #main {
		padding-top: 10px !important;
	}

	.akotherm-document-single {
		padding-top: 20px;
		padding-bottom: 50px;
	}
}


@media (max-width: 680px) {

	.akotherm-document-single {
		padding-left: 16px;
		padding-right: 16px;
	}

	.akotherm-document-single-intro {
		grid-template-columns: 1fr;

		gap: 25px;

		padding: 20px;
	}

	.akotherm-document-single-thumbnail {
		width: 100%;
		max-width: none;
	}

	.akotherm-document-single-copy {
		width: 100%;
	}

	.akotherm-document-single-action,
	.akotherm-document-single-action p,
	.akotherm-document-single-preview-action,
	.akotherm-document-single-fullscreen-action {
		width: 100%;
	}

	.akotherm-document-single-action a,
	.akotherm-document-single-fullscreen-action a {
		width: 100%;
		max-width: none;
	}

	.akotherm-document-single-viewer {
		margin-top: 35px;
	}
}