/*
Theme Name:   Blocksy Child – life is a journey
Theme URI:    https://www.life-is-a-journey.de
Description:  Child-Theme für life is a journey. Enthält eigene Anpassungen, die Theme-Updates überstehen.
Author:       life is a journey
Template:     blocksy
Version:      1.3.0
Text Domain:  blocksy-child
*/

/* ---------------------------------------------------------------
   Beiträge blenden sich beim Scrollen sanft ein.

   Die Klasse liaj-js setzt ein kleines Skript im Kopf der Seite –
   also noch bevor gezeichnet wird. Ohne JavaScript bleibt alles
   sichtbar, nichts kann verschwinden.
   --------------------------------------------------------------- */

.liaj-js .entries .entry-card {
	opacity: 0;
	transform: translateY(46px) scale(.972);
	transition: opacity .75s cubic-bezier(.22,.61,.36,1),
	            transform .75s cubic-bezier(.22,.61,.36,1);
	will-change: opacity, transform;
}

.liaj-js .entries .entry-card.liaj-in {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.liaj-js .entries .entry-card {
		opacity: 1;
		transform: none;
		transition: none;
	}
}


/* ---------------------------------------------------------------
   Galerien: die letzte Zeile soll nicht in die Breite gezogen
   werden, wenn sie nicht voll besetzt ist.
   --------------------------------------------------------------- */

.wp-block-gallery.has-nested-images figure.wp-block-image {
	flex-grow: 0;
}


/* ---------------------------------------------------------------
   Kurze Vorstellung über den Beiträgen auf der Startseite
   --------------------------------------------------------------- */

.liaj-vorstellung {
	display: flex;
	align-items: center;
	gap: 42px;
	max-width: 900px;
	margin: 10px auto 64px;
	padding: 0 20px;
}

.liaj-vorstellung-portraet {
	flex: 0 0 190px;
}

.liaj-vorstellung .liaj-vorstellung-bild {
	display: block;
	width: 190px;
	height: 240px;
	object-fit: cover;
	object-position: 50% 30%;
	border-radius: 4px;
	box-shadow: 0 10px 30px rgba(122, 90, 160, .18);
}

.liaj-vorstellung-text {
	flex: 1 1 auto;
	min-width: 0;
}

.liaj-vorstellung-text p {
	margin: 0 0 14px;
	font-size: 17px;
	line-height: 1.72;
	color: #4a3a58;
}

.liaj-vorstellung-gruss {
	font-family: 'Dancing Script', 'Brush Script MT', cursive;
	font-size: 38px !important;
	line-height: 1.15 !important;
	color: #7d5aa0 !important;
	margin-bottom: 14px !important;
}

.liaj-vorstellung-nachsatz {
	font-size: 16px !important;
	color: #6b5c78 !important;
}

.liaj-vorstellung-mehr {
	margin-bottom: 0 !important;
}

.liaj-vorstellung-mehr a {
	font-size: 15px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #7d5aa0;
	text-decoration: none;
	border-bottom: 1px solid rgba(154, 119, 189, .45);
	padding-bottom: 2px;
	transition: border-color .25s ease, color .25s ease;
}

.liaj-vorstellung-mehr a:hover {
	color: #9a77bd;
	border-bottom-color: #9a77bd;
}

@media (max-width: 690px) {
	.liaj-vorstellung {
		flex-direction: column;
		text-align: center;
		gap: 24px;
		margin-bottom: 46px;
	}

	.liaj-vorstellung-portraet {
		flex: 0 0 auto;
	}

	.liaj-vorstellung .liaj-vorstellung-bild {
		width: 150px;
		height: 190px;
		margin: 0 auto;
	}

	.liaj-vorstellung-gruss {
		font-size: 32px !important;
	}
}
