/*
Theme Name: Harms + Schubert Hello Child
Description: Schlankes Relaunch-Child-Theme mit Projektviewer und Darstellung des Barrierefreiheits-Widgets.
Author: Harms + Schubert
Template: hello-elementor
Version: 1.0.0
Text Domain: harms-schubert-hello-child
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* Silbentrennung */
p { hyphens: auto; }
/* Silbentrennung ENDE */

/* Mitarbeiterinhalte */
.hs-person-single .elementor-heading-title,
.hs-person-vita, .hs-person-vita p {
    -webkit-hyphens: none;
    hyphens: none;
    overflow-wrap: normal;
    word-break: normal;
}
.hs-person-vita p:last-child { margin-bottom: 0; }
.hs-person-contact-row:not(:has(.hs-person-contact-value .elementor-heading-title:not(:empty))) { display: none; }
/* Mitarbeiterinhalte ENDE */
/* Projektviewer */
.hs-project-viewer {
	position: relative;
	overflow-x: clip;
}

/* Projektfließtext: sprachabhängige Browser-Silbentrennung bleibt beim Slide-Wechsel erhalten. */
.hs-project-viewer .hs-view-text,
.hs-project-viewer .hs-view-text p {
	-webkit-hyphens: auto;
	hyphens: auto;
}

.hs-project-image { position: relative; }
.hs-project-image .hs-view-controls-widget {
	position: absolute !important;
	top: var(--hs-view-image-top, 0) !important;
	right: 0 !important;
	bottom: auto !important;
	left: 0 !important;
	width: auto !important;
	height: var(--hs-view-image-height, 620px) !important;
	margin: 0 !important;
	z-index: 3;
	pointer-events: none;
}
.hs-view-main-image,
.hs-view-main-image > .elementor-widget-container {
	position: relative;
	overflow: hidden;
}
.hs-view-transition-clone {
	position: absolute !important;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	z-index: 2;
	pointer-events: none;
}
.hs-project-data[hidden], .hs-view-controls[hidden], .hs-project-navigation--unconfigured,
.hs-view-caption[hidden], .hs-view-extra[hidden], .hs-view-extra-image[hidden] { display: none !important; }
.hs-view-controls-widget > .elementor-widget-container, .hs-view-controls {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
.hs-view-arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 50%;
	width: 34px;
	height: 44px;
	padding: 0;
	transform: translateY(-50%);
	border: 0;
	border-radius: 0;
	background: rgba(255,255,255,.78);
	color: #111;
	font: 400 24px/1 "Harms+Schubert Regular", Arial, sans-serif;
	cursor: pointer;
	pointer-events: auto;
	transition: background-color 150ms ease;
}
.hs-view-arrow:hover, .hs-view-arrow:focus-visible { background: #fff; }
.hs-view-arrow:focus-visible { outline: 2px solid #111; outline-offset: 2px; }
.hs-view-arrow:disabled { cursor: default; }
.hs-view-arrow--previous { left: 10px; }
.hs-view-arrow--next { right: 10px; }
.hs-view-counter {
	position: absolute;
	right: 10px;
	bottom: 10px;
	padding: 6px 8px 5px;
	background: #ffffff45;
	color: #000;
	font: 400 12px/1 "Harms+Schubert Regular", Arial, sans-serif;
	letter-spacing: .02em;
	pointer-events: none;
}
.hs-project-navigation-shell { position: relative; }
.hs-project-navigation-widget {
	position: absolute;
	top: -19px;
	left: 0;
	right: 0;
	width: 100%;
}
.hs-project-navigation-widget > .elementor-widget-container,
.hs-project-navigation-widget .elementor-shortcode { width: 100%; }
.hs-project-navigation {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	min-height: 44px;
	padding: 0;
	border: 0;
}
.hs-project-navigation a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: rgba(255,255,255,.78);
	color: #111;
	font: 400 24px/1 "Harms+Schubert Regular", Arial, sans-serif;
	text-decoration: none;
	transition: background-color 150ms ease;
}
.hs-project-navigation--provisional a { pointer-events: none; }
.hs-project-navigation a:hover, .hs-project-navigation a:focus-visible { background: #fff; color: #111; text-decoration: none; }
.hs-project-navigation a:focus-visible { outline: 2px solid #111; outline-offset: 2px; }
@media (min-width:1298px) {
	.hs-project-viewer .hs-view-extra:not([hidden]) {
		flex: 1 1 auto;
		min-height: 0;
		margin-top: 0;
	}
	.hs-project-viewer .hs-view-extra-image:not([hidden]) { margin-top: auto; }
	.hs-project-viewer:not(.hs-project-viewer--first-view) .hs-project-info {
		--justify-content: flex-start;
		justify-content: flex-start;
		gap: 10px;
	}
	.hs-project-viewer:not(.hs-project-viewer--first-view) .hs-view-extra {
		--justify-content: flex-start;
		justify-content: flex-start;
		gap: 8px;
	}
}
@media (max-width:767.98px) {
	.hs-view-caption { margin-left:0 !important; text-indent:0 !important; }
	.hs-view-caption > .elementor-widget-container,
	.hs-view-caption-content { margin-left:0 !important; padding-left:0 !important; text-indent:0 !important; }
	.hs-view-caption { width:100% !important; align-self:stretch !important; }
	.hs-view-arrow--previous { left:6px; }
	.hs-view-arrow--next { right:6px; }
	.hs-view-counter { right:6px; bottom:6px; }

}


/* Projekt-zu-Projekt-Navigation im responsiven Dokumentfluss */
@media (max-width:1297.98px) {
	.hs-project-single { gap: 0 !important; }
	.hs-project-navigation-shell {
		position: relative !important;
		left: auto;
		right: auto;
		bottom: auto;
		display: block !important;
		width: 100% !important;
		height: auto;
		min-height: 0;
		padding: 0 24px 28px !important;
	}
	.hs-project-navigation-widget {
		position: static;
		top: auto;
		height: auto;
	}
	.hs-project-navigation-widget > .elementor-widget-container,
	.hs-project-navigation-widget .elementor-shortcode,
	.hs-project-navigation { height: auto; }
}
@media (max-width:767.98px) {
	.hs-project-navigation-shell {
		padding-right: 20px !important;
		padding-bottom: 24px !important;
		padding-left: 20px !important;
	}
}
/* Projektviewer ENDE */

/* Projektuebersicht Bildverhaeltnis */
.hs-project-overview-image img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: center center;
	display: block;
}


/* Projektuebersicht Bildverhaeltnis ENDE */

/* Relaunch Textinhalte */
.hs-relaunch-text-page__content h2,
.hs-relaunch-text-page__content h3 {
    color: var(--e-global-color-secondary);
    font-family: "Harms+Schubert Semibold", sans-serif;
    font-weight: 600;
}
.hs-relaunch-text-page__content h2 {
    font-size: 16px;
    line-height: 20px;
    margin: 40px 0 12px;
}
.hs-relaunch-text-page__content h3 {
    font-size: 15px;
    line-height: 1.25;
    margin: 20px 0 12px;
}
.hs-relaunch-text-page__content ul,
.hs-relaunch-text-page__content ol {
    margin: 0 0 20px;
    padding-left: 1.5em;
    line-height: 1.25;
}
.hs-relaunch-text-page__content li { margin: 0; line-height: 1.25; }
.hs-relaunch-text-page__content a { overflow-wrap: anywhere; }
.hs-relaunch-text-page__content p:last-child { margin-bottom: 0 !important; }
@media (max-width: 767px) {
    .hs-relaunch-text-page__content h2,
    .hs-relaunch-text-page__content h3 { margin-bottom: 10px; }
}
/* Relaunch Textinhalte ENDE */

/* Schriftmetrik der Projektbild-Zeilenbox */
.hs-project-overview-image {
    font-size: 15px;
    line-height: 1.65;
}
/* Schriftmetrik der Projektbild-Zeilenbox ENDE */

