.freienohler-aktuelles-wa-style,
.faws-aktuelles-wa-style {
	--faws-primary: var(--global-palette1, #128c7e);
	--faws-primary-dark: var(--global-palette2, #075e54);
	--faws-accent: #25d366;
	--faws-text: var(--global-palette4, #1f2933);
	--faws-muted: var(--global-palette5, #5f6c7b);
	--faws-border: var(--global-palette7, #d9e2ec);
	--faws-surface: var(--global-palette9, #ffffff);
	--faws-soft: #ecfff4;
	--faws-shadow: 0 18px 45px rgba(15, 23, 42, 0.11);
	--faws-radius: 2px;
	margin-block: clamp(1.5rem, 3vw, 3.5rem);
	color: var(--faws-text);
}

.freienohler-aktuelles-wa-style *,
.faws-aktuelles-wa-style * {
	box-sizing: border-box;
}

.faws-section-header {
	margin-bottom: clamp(1rem, 2vw, 1.5rem);
}

.faws-section-kicker {
	margin: 0 0 0.25rem;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--faws-primary);
}

.faws-section-title {
	margin: 0;
	font-size: clamp(1.65rem, 3vw, 2.45rem);
	line-height: 1.1;
	color: var(--faws-text);
}

.faws-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.75fr) minmax(280px, 0.95fr);
	gap: clamp(1rem, 2vw, 1.5rem);
	align-items: stretch;
}

.faws-no-side-posts .faws-layout {
	grid-template-columns: minmax(0, 1fr);
}

.faws-latest-card,
.faws-post-card,
.faws-empty-message {
	border: 1px solid var(--faws-border);
	background: var(--faws-surface);
	box-shadow: var(--faws-shadow);
}

.faws-latest-card {
	display: grid;
	grid-template-columns: minmax(220px, 42%) minmax(0, 1fr);
	min-height: 430px;
	overflow: hidden;
	border-radius: var(--faws-radius);
}

.faws-latest-media,
.faws-post-media {
	display: block;
	position: relative;
	overflow: hidden;
	background: #e7f7f2;
	text-decoration: none;
}

.faws-latest-media {
	min-height: 100%;
}

.faws-latest-image,
.faws-post-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 240ms ease;
}

.faws-latest-media:hover .faws-latest-image,
.faws-post-media:hover .faws-post-image {
	transform: scale(1.035);
}

.faws-image-fallback {
	display: grid;
	place-items: center;
	min-height: 100%;
	background: linear-gradient(135deg, var(--faws-primary), var(--faws-primary-dark));
	color: #ffffff;
}

.faws-image-fallback span {
	font-size: clamp(2rem, 5vw, 4.5rem);
	font-weight: 900;
	letter-spacing: -0.04em;
	line-height: 1;
	opacity: 0.92;
}

.faws-latest-body {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: clamp(1.25rem, 2.7vw, 2.25rem);
	isolation: isolate;
	background: linear-gradient(135deg, #f1fff6, #ffffff 62%);
}

.faws-latest-body::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	opacity: 0.34;
	background-image:
		radial-gradient(circle at 12px 12px, rgba(18, 140, 126, 0.12) 2px, transparent 2.5px),
		radial-gradient(circle at 38px 34px, rgba(37, 211, 102, 0.15) 2px, transparent 2.5px);
	background-size: 56px 56px;
}

.faws-wa-topbar {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	flex-wrap: wrap;
	font-size: 0.87rem;
	font-weight: 800;
	color: var(--faws-muted);
}

.faws-wa-icon {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 2.6rem;
	height: 2.6rem;
	border-radius: 999px;
	background-color: var(--faws-accent);
	background-image: linear-gradient(135deg, var(--faws-accent), var(--faws-primary));
	box-shadow: 0 8px 22px rgba(18, 140, 126, 0.28);
	color: #ffffff !important;
	line-height: 1;
	flex: 0 0 auto;
}

.faws-wa-icon .faws-wa-icon-svg,
.faws-wa-icon svg {
	display: block !important;
	width: 1.55rem !important;
	height: 1.55rem !important;
	min-width: 1.55rem !important;
	min-height: 1.55rem !important;
	max-width: 1.55rem !important;
	max-height: 1.55rem !important;
	fill: currentColor !important;
	color: currentColor !important;
}

.faws-button-icon .faws-wa-icon-svg,
.faws-button-icon svg,
.faws-whatsapp-button-icon .faws-wa-icon-svg,
.faws-whatsapp-button-icon svg {
	display: block !important;
	width: 1.12rem !important;
	height: 1.12rem !important;
	min-width: 1.12rem !important;
	min-height: 1.12rem !important;
	max-width: 1.12rem !important;
	max-height: 1.12rem !important;
	fill: currentColor !important;
	color: currentColor !important;
}

.faws-wa-icon-fallback {
	display: none;
}

.faws-wa-label {
	color: var(--faws-primary-dark);
}

.faws-wa-date {
	color: var(--faws-muted);
}

.faws-wa-bubble {
	position: relative;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 0.9rem;
	padding: clamp(1rem, 2vw, 1.4rem);
	border-radius: var(--faws-radius);
	background: #ffffff;
	border: 1px solid rgba(18, 140, 126, 0.12);
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.faws-wa-bubble::before {
	content: "";
	position: absolute;
	left: -8px;
	bottom: 18px;
	width: 18px;
	height: 18px;
	background: #ffffff;
	border-left: 1px solid rgba(18, 140, 126, 0.12);
	border-bottom: 1px solid rgba(18, 140, 126, 0.12);
	transform: rotate(45deg);
}

.faws-latest-title,
.faws-post-title {
	margin: 0;
	line-height: 1.15;
	color: var(--faws-text);
}

.faws-latest-title {
	font-size: clamp(1.5rem, 2.7vw, 2.35rem);
}

.faws-post-title {
	font-size: clamp(1rem, 1.25vw, 1.15rem);
}

.faws-latest-title a,
.faws-post-title a {
	color: inherit;
	text-decoration: none;
}

.faws-latest-title a:hover,
.faws-post-title a:hover {
	color: var(--faws-primary);
}

.faws-latest-excerpt,
.faws-post-excerpt {
	margin: 0;
	color: var(--faws-muted);
}

.faws-latest-excerpt {
	font-size: 1.03rem;
	line-height: 1.65;
}

.faws-post-excerpt {
	font-size: 0.9rem;
	line-height: 1.45;
}

.faws-actions {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	flex-wrap: wrap;
	margin-top: auto;
	padding-top: 0.45rem;
}

.faws-actions .wp-block-button {
	margin: 0;
}

.faws-read-more-button {
	text-decoration: none;
}

.faws-read-more-button:hover,
.faws-read-more-button:focus {
	text-decoration: none;
}

.faws-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	min-height: 2.75rem;
	padding: 0.75rem 1.05rem;
	border-radius: var(--faws-radius);
	font-weight: 800;
	line-height: 1.1;
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.faws-button-icon {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	color: currentColor !important;
	line-height: 1;
	flex: 0 0 auto;
}

.faws-button:hover {
	transform: translateY(-1px);
	text-decoration: none;
}

.faws-button-primary {
	background: var(--faws-primary);
	color: #ffffff;
	box-shadow: 0 10px 25px rgba(18, 140, 126, 0.25);
}

.faws-button-primary:hover {
	background: var(--faws-primary-dark);
	color: #ffffff;
}

.faws-button-secondary {
	background: var(--faws-soft);
	color: var(--faws-primary-dark);
}

.faws-button-secondary:hover {
	background: #ddffea;
	color: var(--faws-primary-dark);
}

.faws-whatsapp-button {
	display: inline-flex;
	align-items: center;
}


.faws-whatsapp-button-icon {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
}

.faws-whatsapp-button-icon {
	position: relative;
	width: 1.12rem;
	height: 1.12rem;
	min-width: 1.12rem;
	min-height: 1.12rem;
	flex: 0 0 1.12rem;
	overflow: visible;
	color: currentColor !important;
}

.faws-whatsapp-button-icon .faws-wa-icon-svg {
	position: relative;
	z-index: 1;
	opacity: 1;
}

.faws-whatsapp-button-text {
	display: inline-block;
}

.faws-post-list {
	display: grid;
	gap: 1rem;
}

.faws-post-card {
	display: grid;
	grid-template-columns: 118px minmax(0, 1fr);
	gap: 0.9rem;
	min-height: 132px;
	padding: 0.8rem;
	border-radius: var(--faws-radius);
	overflow: hidden;
}

.faws-post-media {
	border-radius: var(--faws-radius);
	min-height: 112px;
}

.faws-post-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.38rem;
	min-width: 0;
}

.faws-post-date {
	font-size: 0.78rem;
	font-weight: 800;
	color: var(--faws-primary);
}

.faws-empty-message {
	padding: 1.25rem;
	border-radius: var(--faws-radius);
	color: var(--faws-muted);
}

@media (max-width: 1080px) {
	.faws-layout {
		grid-template-columns: 1fr;
	}

	.faws-post-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.faws-post-card {
		grid-template-columns: 1fr;
	}

	.faws-post-media {
		aspect-ratio: 16 / 9;
		min-height: 0;
	}
}

@media (max-width: 780px) {
	.faws-latest-card {
		grid-template-columns: 1fr;
		min-height: 0;
		border-radius: var(--faws-radius);
	}

	.faws-latest-media {
		aspect-ratio: 16 / 10;
		min-height: 0;
	}

	.faws-post-list {
		grid-template-columns: 1fr;
	}

	.faws-post-card {
		grid-template-columns: 105px minmax(0, 1fr);
	}

	.faws-post-media {
		aspect-ratio: auto;
		min-height: 105px;
	}

	.faws-wa-bubble::before {
		display: none;
	}
}

@media (max-width: 520px) {
	.faws-post-card {
		grid-template-columns: 1fr;
	}

	.faws-post-media {
		aspect-ratio: 16 / 9;
		min-height: 0;
	}

	.faws-actions,
	.faws-actions .wp-block-button,
	.faws-actions .wp-block-button__link,
	.faws-button {
		width: 100%;
	}
}

.faws-read-more-button.faws-read-more-button-custom {
	transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.faws-read-more-button.faws-read-more-button-custom.faws-has-hover-bg:hover,
.faws-read-more-button.faws-read-more-button-custom.faws-has-hover-bg:focus {
	background-color: var(--faws-read-more-hover-bg);
}

.faws-read-more-button.faws-read-more-button-custom.faws-has-hover-color:hover,
.faws-read-more-button.faws-read-more-button-custom.faws-has-hover-color:focus {
	color: var(--faws-read-more-hover-color);
}

/* Version 1.1.3: WhatsApp button uses Font Awesome web font markup. */
.faws-whatsapp-button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: fit-content;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	background-color: #25d366;
	color: #ffffff;
	border-radius: var(--faws-radius);
	text-decoration: none;
}

.faws-whatsapp-button:hover,
.faws-whatsapp-button:focus {
	background-color: #25d366;
	color: #ffffff;
	text-decoration: none;
}

.faws-whatsapp-button-text {
	color: inherit;
}

.faws-whatsapp-button-icon {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 1.55rem !important;
	height: 1.55rem !important;
	min-width: 1.55rem !important;
	min-height: 1.55rem !important;
	max-width: 1.55rem !important;
	max-height: 1.55rem !important;
	flex: 0 0 1.55rem !important;
	color: currentColor !important;
	line-height: 1;
	overflow: visible;
}

.faws-whatsapp-button-icon svg,
.faws-whatsapp-button-icon .faws-wa-icon-svg {
	display: block !important;
	width: 1.55rem !important;
	height: 1.55rem !important;
	min-width: 1.55rem !important;
	min-height: 1.55rem !important;
	max-width: 1.55rem !important;
	max-height: 1.55rem !important;
	fill: currentColor !important;
	color: currentColor !important;
}

.faws-whatsapp-button-icon svg path {
	fill: currentColor !important;
}

.faws-whatsapp-button-icon .faws-highlight-fa-icon,
.faws-whatsapp-button-icon .faws-highlight-wa-icon,
.faws-whatsapp-button-icon wa-icon {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 1.55rem !important;
	height: 1.55rem !important;
	font-size: 1.55rem !important;
	line-height: 1;
	color: currentColor !important;
}

@media (max-width: 520px) {
	.faws-whatsapp-button {
		width: fit-content;
		max-width: 100%;
		margin-left: auto;
		margin-right: auto;
	}
}


/* Highlight topbar icons: pinned/latest use Font Awesome web font markup. */
.faws-wa-icon {
	background-image: none;
}

.faws-wa-icon .faws-highlight-fa-icon,
.faws-wa-icon .faws-highlight-wa-icon,
.faws-wa-icon wa-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.55rem;
	height: 1.55rem;
	font-size: 1.55rem;
	line-height: 1;
	color: currentColor;
}

.faws-wa-topbar-pinned .faws-wa-icon {
	background-color: var(--faws-primary-dark);
	background-image: linear-gradient(135deg, var(--faws-primary-dark), var(--faws-primary));
}

.faws-wa-topbar-latest .faws-wa-icon {
	background-color: var(--faws-accent);
	background-image: linear-gradient(135deg, var(--faws-accent), var(--faws-primary));
}

.faws-highlight-fa-icon {
	font-style: normal;
	font-size: 1.55rem;
	line-height: 1;
	color: currentColor;
}
