/**
 * Feed Grid CSS
 * Große Überschriften mit Hover-Effekt
 */

/* CSS-Variablen für Feed-Unterseiten überschreiben */
:root {
	--clr-text: var(--clr-black); /* noblack für Feed-Unterseiten */
}

/* ==========================================================================
   Feed View Toggle (Apple Style)
   ========================================================================== */

.feed-view-toggle {
	position: relative;
	top: 0;
	display: inline-flex;
	align-items: center;
	background: rgba(0, 0, 0, 0.05);
	backdrop-filter: blur(10px);
	border-radius: 0;
	padding: 2px;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
	z-index: 1000;
	height: 20px;
	width: 60px;
	overflow: hidden;
	flex-shrink: 0;
	margin-left: 20px; /* Abstand nach dem Text */
	vertical-align: baseline; /* Auf Schriftlinie ausrichten */
	pointer-events: auto; /* Sicherstellen, dass Klicks funktionieren */
}

.feed-view-toggle::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 20px;
	height: 20px;
	background: white;
	border-radius: 0; /* Kein Radius */
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
	transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 1;
	pointer-events: none; /* Slider blockiert keine Klicks */
}

.feed-view-toggle[data-view="minimal"]::before {
	transform: translateX(0);
}

.feed-view-toggle[data-view="abstract"]::before {
	transform: translateX(20px);
}

.feed-view-toggle[data-view="full"]::before {
	transform: translateX(40px);
}

.feed-toggle-btn {
	border: none;
	background: transparent;
	padding: 0;
	border-radius: 0; /* Kein Radius */
	cursor: pointer;
	transition: all 0.2s ease;
	width: 20px;
	height: 20px; /* Volle Höhe für bessere Klickfläche */
	min-height: 20px;
	position: relative;
	z-index: 10; /* Höher als ::before (z-index: 1) */
	flex: 0 0 20px;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: auto; /* Sicherstellen, dass Klicks funktionieren */
}

.feed-toggle-btn:hover {
	opacity: 0.7;
}

.feed-toggle-label {
	display: none; /* Keine Textbeschriftung */
}

/* Feed View Modes - Minimal: Abstracts komplett ausblenden */
.feed-grid[data-view="minimal"] p.feed-abstract,
.feed-grid[data-view="minimal"] .feed-abstract,
.feed-grid[data-view="minimal"] .feed-item .feed-abstract,
.feed-grid[data-view="minimal"] .feed-item p.feed-abstract,
.feed-grid[data-view="minimal"] .feed-card-link .feed-abstract,
.feed-grid[data-view="minimal"] .feed-card-link p.feed-abstract,
.feed-grid[data-view="minimal"] .feed-item-main .feed-abstract,
.feed-grid[data-view="minimal"] .feed-item-main p.feed-abstract,
.feed-grid[data-view="minimal"] .feed-abstract p,
.feed-grid[data-view="minimal"] .feed-item .feed-abstract p,
.feed-grid[data-view="minimal"] .feed-card-link .feed-abstract p,
.feed-grid[data-view="minimal"] .feed-item-main .feed-abstract p,
.feed-grid[data-view="minimal"] .feed-full-content {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
	opacity: 0 !important;
	line-height: 0 !important;
	font-size: 0 !important;
}

/* Minimal-Modus: Überschriften zusammenziehen (kleinere Abstände) */
.feed-grid[data-view="minimal"] .feed-item {
	margin-top: 10px !important;
	margin-bottom: 10px !important;
}

.feed-grid[data-view="minimal"] .feed-item:first-child {
	margin-top: 0 !important;
}

.feed-grid[data-view="abstract"] .feed-full-content {
	display: none !important;
}

.feed-grid[data-view="abstract"] .feed-abstract {
	display: block;
}

.feed-grid[data-view="full"] .feed-abstract {
	display: none !important;
}

.feed-grid[data-view="full"] .feed-full-content {
	display: block !important;
}

/* Weiterlesen-Links bei "full" View ausblenden (alle Artikel sind vollständig sichtbar) */
.feed-grid[data-view="full"] .feed-more-link {
	display: none !important;
}

/* Vollständiger Content – normaler Fluss (Layout-Skeleton in Skeleton-Spalten) */
.feed-full-content {
	margin-left: 0;
	width: 100%;
	max-width: 100%;
}

/* Spalte 1 (left): Blocks füllen Container */
.feed-sidebar-left .block-image-sidebar,
.feed-item-left .block-image-sidebar,
.feed-sidebar-left .block-image,
.feed-item-left .block-image {
	margin-left: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	float: none;
}

/* Spalte 3 (right): Blocks brauchen keinen Breakout */
.feed-sidebar-right .block-image-sidebar,
.feed-item-right .block-image-sidebar,
.feed-sidebar-right .block-image,
.feed-item-right .block-image {
	margin-left: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	float: none;
}

.feed-full-content .block-image-sidebar .block-image-wrapper,
.feed-full-content .block-image-sidebar img {
	max-width: 300px;
}

/* Pilcrow-Zeichen nur am Ende des gesamten Artikels - entferne von allen Absätzen */
.feed-full-content .block-text p:last-child::after {
	content: "";
}

/* Pilcrow-Zeichen am Ende des letzten Absatzes */
.feed-full-content .layout-section:last-child .block-text:last-child p:last-child::after {
	content: " ¶";
	color: var(--clr-green);
	font-size: 1em;
	display: inline;
	margin-left: 5px;
}

/* Desktop: layout-section 3px nach links verschieben (nur in main) */
@media (min-width: 1281px) {
	.feed-full-content .layout-section {
		margin-left: -3px;
	}
}

/* Layout-Skeleton: layout-section in Spalte 1/3 füllt Container */
.feed-item-left .layout-section,
.feed-item-right .layout-section,
.feed-sidebar-left .layout-section,
.feed-sidebar-right .layout-section {
	width: 100%;
	margin-left: 0;
}

.feed-full-content .layout-columns {
	display: block;
	width: 100%;
}

/* 1 Spalte (1/1) */
.feed-full-content .layout-columns .layout-column {
	width: 100%;
	margin-left: 0;
}

/* 2 Spalten (1/2, 1/2) */
.feed-full-content .layout-columns[data-columns="2"] {
	display: block;
}

.feed-full-content .layout-columns[data-columns="2"] .layout-column {
	width: 48%;
	margin-left: 2%;
	float: left;
	box-sizing: border-box;
}

.feed-full-content .layout-columns[data-columns="2"] .layout-column:first-child {
	margin-left: 0;
}

/* layout-columns 1-3-2-3, 2-3-1-3: default.php (Fullwidth) */
.feed-full-content .layout-columns[data-columns="1-3-2-3"] .layout-column:first-child,
.feed-full-content .layout-columns[data-columns="2-3-1-3"] .layout-column:last-child {
	width: 33.33%;
	margin-left: 0;
	float: left;
	box-sizing: border-box;
}
.feed-full-content .layout-columns[data-columns="1-3-2-3"] .layout-column:last-child,
.feed-full-content .layout-columns[data-columns="2-3-1-3"] .layout-column:first-child {
	width: 66.66%;
	margin-left: 2%;
	float: left;
	box-sizing: border-box;
}
.feed-full-content .layout-columns[data-columns="2-3-1-3"] .layout-column:first-child {
	margin-left: 0;
}

.feed-full-content .layout-column {
	min-width: 0;
	box-sizing: border-box;
}

/* Clearfix für layout-columns */
.feed-full-content .layout-columns::after {
	content: "";
	display: table;
	clear: both;
}

/* Block-Styles für Layout-Skeleton: alle Spalten (left, main, right) */
.feed-full-content .block-text,
.feed-item-left .block-text,
.feed-item-right .block-text,
.feed-sidebar-left .block-text,
.feed-sidebar-right .block-text {
	font-size: 1rem; /* 16px */
	line-height: 1.7;
	color: var(--clr-text);
	margin-bottom: var(--spacing-md);
}

.feed-full-content .block-text p {
	margin-bottom: 0;
	text-indent: 1.25rem; /* 20px Einzug am Anfang eines Absatzes */
}

.feed-full-content .block-text p:first-of-type {
	text-indent: 0; /* Kein Einzug beim ersten Absatz */
}

.feed-full-content .block-text h2 + p,
.feed-full-content .block-text h3 + p {
	text-indent: 0; /* Kein Einzug nach Überschriften */
}

/* Leerzeichen um inline-Elemente erhalten */
.feed-full-content .block-text p {
	white-space: normal;
}

.feed-full-content .block-text p strong,
.feed-full-content .block-text p em,
.feed-full-content .block-text p a,
.feed-full-content .block-text p code {
	white-space: normal;
	display: inline;
}


/* Links im Text: Standardmäßig unterstrichen (wie .lnk-text) */
.feed-full-content .block-text p a {
	text-decoration: underline;
	color: var(--clr-text);
}
.feed-full-content .block-text p a:hover {
	color: var(--clr-primary);
	text-decoration: underline;
}

/* Überschreibungen für spezielle Link-Klassen */
.feed-full-content .block-text p a.lnk-icon {
	text-decoration: none; /* Icon-Links: kein Underline */
}
.feed-full-content .block-text p a.lnk-icon:hover {
	color: var(--clr-primary);
	text-decoration: none;
}

.feed-full-content .block-text p a.lnk-primary {
	text-decoration: none; /* Grün-Links: kein Underline */
	color: var(--clr-primary);
}
.feed-full-content .block-text p a.lnk-primary:hover {
	text-decoration: underline; /* Hover: Underline */
}

.feed-full-content .block-quote {
	margin: var(--spacing-lg) 0;
	padding: var(--spacing-md) 0;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	font-style: italic;
	color: var(--clr-text);
}

.feed-full-content .block-quote cite {
	display: block;
	margin-top: var(--spacing-sm);
	font-size: 0.9rem;
	font-style: normal;
	opacity: 0.8;
}

.feed-full-content .block-heading {
	font-weight: 700;
	margin: var(--spacing-lg) 0 var(--spacing-md) 0;
	color: var(--clr-text);
	line-height: 1.3;
}

/* H2: Zwischen H1 (4.2rem) und H3 (18px) */
.feed-full-content h2.block-heading,
.feed-full-content .block-text h2 {
	font-size: 2.1rem; /* Mittelwert zwischen 4.2rem und 1.125rem */
	font-weight: 700;
	margin-top: 2.1875rem; /* 35px Abstand vor H2 */
	margin-bottom: var(--spacing-md); /* Behält margin-bottom von .block-heading */
}

.feed-full-content h2.block-heading:first-child,
.feed-full-content .block-text h2:first-child {
	margin-top: 0; /* Kein Abstand beim ersten Element */
}

/* H3: Normale Schriftgröße (18px), nur fett */
.feed-full-content h3.block-heading,
.feed-full-content .block-text h3 {
	font-size: 1.125rem; /* 18px - normale Schriftgröße */
	font-weight: 700;
	margin-top: 2.1875rem; /* 35px Abstand vor H3 */
	margin-bottom: var(--spacing-md); /* Behält margin-bottom von .block-heading */
}

.feed-full-content h3.block-heading:first-child,
.feed-full-content .block-text h3:first-child {
	margin-top: 0; /* Kein Abstand beim ersten Element */
}

/* ==========================================================================
   Block Image im Feed - 3 Ausrichtungsoptionen
   ========================================================================== */

.feed-full-content .block-image {
	margin: var(--spacing-lg) 0;
}

.feed-full-content .block-image-wrapper {
	position: relative;
	display: inline-block;
	width: 100%;
}

.feed-full-content .block-image-wrapper img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: var(--radius-sm);
}

/* Foto-Credits per Mouseover */
.feed-full-content .block-image-credits {
	position: absolute;
	bottom: 10px;
	left: 10px;
	color: white;
	padding: 4px 8px;
	font-size: 0.75rem;
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
	z-index: 10;
}

.feed-full-content .block-image-wrapper:hover .block-image-credits {
	opacity: 1;
}

/* Bildunterschrift linksbündig unter dem Bild */
.feed-full-content .block-image-caption {
	margin-top: 0.5rem;
	text-align: left;
	font-size: 0.9rem;
	color: var(--clr-text);
	opacity: 0.8;
	line-height: 1.5;
}

/* ==========================================================================
   Block-Bilder: 3 Ausrichtungen (nur in feed-item-main / 2/3-Spalte)
   Skeleton 3|6|3: three 22% | six 48% | three 22%, Gutter 2%
   ========================================================================== */

/* Option 1: Sidebar – Bild links neben Text, 300px + 20px Gap, bricht in linke Spalte aus */
.feed-full-content .block-image-sidebar {
	margin: 0;
	width: 300px;
	max-width: 300px;
	margin-left: -61%; /* Nach links in Spalte 1 (three); bei Tablet/Mobile (≤748px) wird auf 0 gesetzt */
	float: left;
	margin-right: 20px; /* Gap zum Text */
	vertical-align: top;
	clear: left;
}

.feed-full-content .block-image-sidebar .block-image-wrapper {
	width: 100%;
	max-width: 300px;
}

.feed-full-content .block-image-sidebar img {
	max-width: 300px;
	width: 100%;
	height: auto;
}

/* Option 2: Inline – Standard im Text */
.feed-full-content .block-image-inline {
	margin: var(--spacing-lg) 0;
	width: 100%;
	max-width: 100%;
}

/* Option 2 mit Erzwingen: Bild auf volle Main-Spaltenbreite */
.feed-full-content .block-image-inline.block-image-force-width {
	width: 100%;
	max-width: 100%;
}

.feed-full-content .block-image-inline.block-image-force-width .block-image-wrapper,
.feed-full-content .block-image-inline.block-image-force-width img {
	width: 100%;
	max-width: 100%;
}

/* Option 3: Fullwidth – 300px + 20px Gap + Main-Spaltenbreite (über left + main) */
.feed-full-content .block-image-fullwidth {
	margin: var(--spacing-lg) 0;
	width: calc(100% + 300px + 20px); /* Main + 320px nach links */
	max-width: none;
	margin-left: calc(-300px - 20px);
}

.feed-full-content .block-image-fullwidth.block-image-force-width {
	width: calc(100% + 300px + 20px);
	max-width: none;
	margin-left: calc(-300px - 20px);
}

.feed-full-content .block-image-fullwidth.block-image-force-width .block-image-wrapper {
	width: 100%;
}

.feed-full-content .block-image-fullwidth.block-image-force-width img {
	width: 100%;
	height: auto;
	object-fit: cover;
}

/* Fullwidth ohne Erzwingen: Bild behält natürliche Größe */
.feed-full-content .block-image-fullwidth:not(.block-image-force-width) .block-image-wrapper {
	width: auto;
	max-width: 100%;
}

.feed-full-content .block-image-fullwidth:not(.block-image-force-width) img {
	width: auto;
	max-width: 100%;
	height: auto;
}

/* ==========================================================================
   Shortcut Block Styles für Feed Full Content
   ========================================================================== */

.feed-full-content .shortcut-wrapper {
	width: 140px;
	margin-right: 40px;
	margin-bottom: 20px;
	font-family: inherit;
	color: var(--clr-black);
}

/* Alignment: Inline (Standard) */
.feed-full-content .shortcut-wrapper.shortcut-block--inline {
	display: inline-block;
	vertical-align: top;
	margin-top: 20px;
	margin-bottom: 40px;
}

/* Alignment: Sidebar (links neben Text) */
.feed-full-content .shortcut-wrapper.shortcut-block--sidebar {
	float: left;
	margin-right: 20px;
	margin-bottom: 40px;
	margin-left: calc(-33.33% - 20px); /* Nach links in Spalte 1 (3/12) */
}

.feed-full-content .shortcut-item {
	display: flex;
	flex-direction: column;
	background: transparent;
}

/* Reihe 1: Icon (100px hoch, zentriert) */
.feed-full-content .shortcut-row.shortcut-type-icon {
	height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-top: 2px solid var(--clr-black);
	border-bottom: 1px solid var(--clr-black);
}

.feed-full-content .shortcut-icon {
	font-size: 48px;
	line-height: 1;
	font-family: inherit;
	color: var(--clr-black);
}

/* Reihe 2: Name (zentriert) */
.feed-full-content .shortcut-row.shortcut-type-name {
	min-height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-top: none;
	border-bottom: 1px solid var(--clr-black);
	text-align: center;
	padding: 8px 4px;
}

.feed-full-content .shortcut-name {
	font-size: 14px;
	line-height: 1.4;
	color: var(--clr-black);
	white-space: normal;
	word-wrap: break-word;
}

/* Reihe 3-5: Optional (je 30px hoch) */
.feed-full-content .shortcut-row.shortcut-type-code {
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-top: none;
	border-bottom: none;
	font-size: 12px;
	color: var(--clr-black);
	padding: 0 4px;
}

.feed-full-content .shortcut-row.shortcut-type-shortcut {
	height: 21px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-top: none;
	border-bottom: none;
	font-size: 12px;
	color: var(--clr-black);
	padding: 0 4px;
}

.feed-full-content .shortcut-meta {
	display: none !important;
}

.feed-full-content .shortcut-value {
	display: inline-block;
	width: 100%;
	text-align: center;
	color: var(--clr-black);
}

/* Letzte Reihe: Border unten 2px */
.feed-full-content .shortcut-item > .shortcut-row:last-child {
	border-bottom: 2px solid var(--clr-black);
}

/* Alignment: 4er-Reihe (Fullwidth) – wie block-image-fullwidth, 4 Shortcuts nebeneinander */
.feed-full-content .shortcut-row4-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin: var(--spacing-lg) 0;
	width: calc(100% + 300px + 20px);
	max-width: none;
	margin-left: calc(-300px - 20px);
	clear: both;
}

.feed-full-content .shortcut-row4-wrapper .shortcut-wrapper {
	width: calc(25% - 15px);
	min-width: 120px;
	max-width: 180px;
	margin: 0;
	flex: 1 1 calc(25% - 15px);
}

/* Mobile Anpassungen */
@media only screen and (max-width: 799px) {
	.feed-full-content .shortcut-wrapper {
		width: 100%;
		max-width: 140px;
		margin-right: 0;
		margin-bottom: 30px;
	}
	
	.feed-full-content .shortcut-wrapper.shortcut-block--sidebar {
		float: none;
		margin-right: 0;
		margin-bottom: 30px;
	}

	.feed-full-content .shortcut-row4-wrapper {
		width: 100%;
		margin-left: 0;
		flex-direction: column;
	}

	.feed-full-content .shortcut-row4-wrapper .shortcut-wrapper {
		width: 100%;
		max-width: 140px;
		flex: none;
	}
}

/* ==========================================================================
   Feed Grid Section
   ========================================================================== */

.feed-grid {
	width: 100%;
	margin: 0 auto;
	padding: 2rem 0; /* Nur vertikales Padding, kein horizontales */
}

.feed-intro {
	margin-bottom: 3rem;
	padding: 0;
}

/* feed-intro-row overflow damit Titel nach rechts ausbrechen kann */
.feed-intro-row .feed-main,
.feed-intro-row .six.columns {
	overflow: visible;
}

.feed-page-title-wrapper {
	margin-bottom: 1rem;
	padding: 0;
	width: 150%; /* Breite bis in rechte Spalte (6+3 Spalten) */
	max-width: 150%;
	overflow: visible;
}

.feed-page-title {
	font-size: 4.2rem;
	font-weight: 700;
	letter-spacing: -.001em;
	line-height: 0.99;
	margin-bottom: 0;
	margin-left: 0;
	padding-left: 0; /* Kein Padding links - bündig mit Posts */
	color: var(--clr-text);
	hyphens: none;
	text-align: left;
	position: relative;
}

/* In Artikeln: feed-page-title linksbündig mit Textinhalt ausrichten */
.feed-item-article .feed-page-title {
	width: 100%;
	max-width: 100%;
	margin-left: 0; /* Linksbündig ohne zusätzlichen Margin */
}

/* Deaktiviere ::before für feed-page-title (Slash ist jetzt im Text) */
.feed-page-title::before {
	content: "" !important;
}

.feed-title-text {
	color: var(--clr-text);
	font-size: 4.2rem;
	font-weight: 700;
	letter-spacing: -.001em;
	margin-right: 0;
	display: inline-block; /* Sicherstellen, dass Toggle daneben steht */
}

.intro-text {
	max-width: 560px;
	margin: 0 0 2rem 0;
	padding: 0;
	font-size: 1.1rem;
	color: var(--clr-text);
}

.intro-image {
	margin: 2rem 0;
}

.intro-image img {
	max-width: 100%;
	height: auto;
	border-radius: var(--radius-md);
}

/* Feed Container: Skeleton 3|6|3 */
.feed-container {
	max-width: 1100px;
	margin-top: 2rem;
	margin-left: auto;
	margin-right: auto;
	padding: 0 !important; /* Überschreibt Skeleton .container padding: 0 20px */
	padding-bottom: 50px !important;
	/* Gleiche Zentrierung wie feed-intro */
}

.feed-container .row {
	margin-left: 0;
	margin-right: 0;
}

/* Intro-Zeile: three links/rechts schaffen Platz (wie bei Feed-Items) */
.feed-sidebar-left,
.feed-sidebar-right {
	min-height: 1px;
}

/* ==========================================================================
   Feed Items - Skeleton 3|6|3 (three | six | three columns)
   Jedes Item = eigene Row mit links three sichtbar (Platz), Mitte six, rechts three
   ========================================================================== */

.feed-items {
	width: 100%;
}

.feed-item {
	position: relative;
	width: 100%;
	margin-top: 12px;
	margin-bottom: 12px;
}

/* Clearfix: floated columns (three|six|three) wrappen */
.feed-item::after {
	content: "";
	display: table;
	clear: both;
}

.feed-item:first-child {
	margin-top: 0;
}

.feed-item:last-child {
	margin-bottom: 0;
}

.feed-item-note {
	margin-top: 20px;
	margin-bottom: 20px;
}

/* Spalte 1 (three): Immer sichtbar – schafft links Platz in 3|6|3 */
.feed-item-left {
	position: relative;
	min-height: 1px; /* Verhindert Kollaps bei leerem Inhalt */
}

.feed-item-main {
	position: relative;
}

.feed-item-right {
	position: relative;
}

.feed-item.animate {
	opacity: 1;
}

/* Card Link - gesamte Card klickbar */
.feed-card-link {
	line-height: 200%;
	display: block;
	text-decoration: none;
	color: inherit;
	position: relative;
	cursor: pointer;
}

.feed-card-link:hover {
	text-decoration: none;
}

.feed-card-link:hover .feed-headline {
	text-decoration: none;
	color: var(--clr-primary); /* Grün beim Hover */
}

/* ==========================================================================
   Headlines - Große schwarze Überschriften (4.2rem)
   ========================================================================== */

/* ==========================================================================
   Headlines - Basis-Styles sind in variables.css definiert
   Hier nur spezifische Anpassungen für Feed
   ========================================================================== */
/* Basis-Styles werden von variables.css geerbt */

/* Bookmark: Headline = Kurztitel (Link); URL steht in .feed-meta-line wie Weiterlesen */
.feed-bookmark-headline-link {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.feed-bookmark-headline-link:hover {
	color: var(--clr-primary);
	text-decoration: none;
}

/* ==========================================================================
   Datum - Unter der Headline
   ========================================================================== */

.feed-date {
	font-size: 16px;
	font-weight: 400;
	color: var(--clr-text);
}

.feed-meta-line {
	display: flex;
	align-items: center;
	gap: 10px; /* 10px Abstand zwischen Elementen */
	margin-top: 0.5rem;
	margin-bottom: 1.25rem;
	flex-wrap: wrap;
	color: var(--clr-black);
	overflow: visible;
}

/* Tablet & Desktop: Meta-Zeile darf nach rechts bis max. 770px in die äußere Spalte reichen */
@media (min-width: 750px) {
	.feed-container {
		overflow-x: visible;
	}

	.feed-item {
		overflow: visible;
	}

	.feed-item .feed-item-main {
		overflow: visible;
	}

	.feed-item .feed-item-main .feed-meta-line {
		max-width: 770px;
		width: min(770px, calc(100vw - 2rem));
		box-sizing: border-box;
		position: relative;
		z-index: 1;
	}
}

/* 12px Abstand zwischen Info-Icon und Bookmark-Link/Weiter-Link */
.feed-reactions + .feed-reaction-group:has(.feed-bookmark-link),
.feed-reactions + .feed-reaction-group:has(.feed-more-link),
.feed-reaction-group:has(.feed-stats-link) + .feed-reaction-group:has(.feed-bookmark-link),
.feed-reaction-group:has(.feed-stats-link) + .feed-reaction-group:has(.feed-more-link) {
	margin-left: 12px;
}

.feed-more-link,
.feed-bookmark-url-link {
	font-size: 16px;
	font-weight: 400;
	opacity: 0;
	transition: opacity 0.2s ease;
	/* Verwendet .lnk-primary Basis-Klasse */
}

/* Bookmark-URL in der Meta-Zeile (nach Datum/Tags/Reaktionen) */
.feed-meta-line .feed-bookmark-url-link {
	margin-left: 10px;
	max-width: 100%;
	text-align: left;
	word-break: break-all;
}

/* Weiterlesen (abstract/minimal) + Bookmark-URL (abstract/minimal/full): Erst bei Mouseover auf dem Post einblenden */
.feed-grid[data-view="abstract"] .feed-more-link,
.feed-grid[data-view="minimal"] .feed-more-link,
.feed-grid[data-view="abstract"] .feed-bookmark-url-link,
.feed-grid[data-view="minimal"] .feed-bookmark-url-link,
.feed-grid[data-view="full"] .feed-bookmark-url-link {
	opacity: 0;
}

.feed-grid[data-view="abstract"] .feed-item:hover .feed-more-link,
.feed-grid[data-view="minimal"] .feed-item:hover .feed-more-link,
.feed-grid[data-view="abstract"] .feed-item:hover .feed-bookmark-url-link,
.feed-grid[data-view="minimal"] .feed-item:hover .feed-bookmark-url-link,
.feed-grid[data-view="full"] .feed-item:hover .feed-bookmark-url-link {
	opacity: 1;
}

/* Syndication-Icons (Mastodon/Bluesky): immer sichtbar; nur Bookmark-URL / Weiterlesen per Hover (siehe oben) */

/* Weiter-Link inline in Meta-Line: Auch bei Mouseover einblenden */
.feed-grid[data-view="abstract"] .feed-more-link-inline,
.feed-grid[data-view="minimal"] .feed-more-link-inline {
	opacity: 0;
}

.feed-grid[data-view="abstract"] .feed-item:hover .feed-more-link-inline,
.feed-grid[data-view="minimal"] .feed-item:hover .feed-more-link-inline {
	opacity: 1;
}

/* Tags innerhalb der Meta-Line */
.feed-meta-line .feed-tags {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	align-items: center;
	margin-left: 0; /* 10px gap wird bereits vom feed-meta-line gehandhabt */
}

/* Reaktionen Container */
.feed-reactions {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	overflow: visible;
}

.feed-meta-actions {
	overflow: visible;
}

.feed-meta-action {
	display: inline-flex;
	align-items: center;
	gap: 0;
	position: relative;
	width: 14px;
	overflow: visible;
	transition: width 0.25s ease;
}

.feed-meta-trigger {
	width: 14px;
	height: 14px;
	flex: 0 0 14px;
	background: var(--clr-black);
	transition: width 0.2s ease, opacity 0.2s ease, margin-right 0.2s ease, background-color 0.2s ease;
}

.feed-meta-action-syndication .feed-meta-trigger {
	border-radius: 0;
}

.feed-meta-action-heart .feed-meta-trigger {
	border-radius: 50%;
}

.feed-meta-action-stats .feed-meta-trigger {
	width: 0;
	height: 0;
	flex: 0 0 auto;
	background: transparent;
	border-left: 7px solid transparent;
	border-right: 7px solid transparent;
	border-bottom: 14px solid var(--clr-black);
	transition: border-bottom-color 0.2s ease, border-bottom-width 0.2s ease;
}

.feed-meta-panel {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	position: absolute;
	left: 0;
	top: 50%;
	max-width: 0;
	opacity: 0;
	transform: translateY(-50%);
	overflow: hidden;
	white-space: nowrap;
	transition: max-width 0.25s ease, opacity 0.2s ease;
	pointer-events: none;
}

.feed-meta-action:hover .feed-meta-panel {
	max-width: 220px;
	opacity: 1;
	pointer-events: auto;
}

.feed-meta-action:hover .feed-meta-trigger {
	width: 0;
	opacity: 0;
	margin-right: 0;
}

.feed-meta-action-syndication:hover .feed-meta-trigger,
.feed-meta-action-heart:hover .feed-meta-trigger {
	height: 14px;
}

.feed-meta-action-stats:hover .feed-meta-trigger {
	border-bottom-width: 0;
}

/* Beim Hover erweitert sich die Form nach rechts und schiebt die nächsten Formen weg */
.feed-meta-action-syndication:hover {
	width: 52px;
}

.feed-meta-action-heart:hover {
	width: 25px;
}

.feed-meta-action-stats:hover {
	width: 62px;
}

.feed-meta-action.is-disabled .feed-meta-trigger,
.feed-meta-action.is-disabled .feed-meta-panel {
	opacity: 0.45;
}

/* Syndication Icons (Mastodon/Bluesky) als Links */
.feed-syndication-link {
	display: inline-flex;
	align-items: center;
	margin-right: 0;
	text-decoration: none;
	color: var(--clr-black);
}

.feed-syndication-link + .feed-syndication-link {
	margin-left: 4px;
}

.feed-reaction-link,
.feed-stats-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--clr-black);
	text-decoration: none;
}

.feed-reaction-count {
	font-size: 16px;
	color: var(--clr-black);
}

.feed-meta-line a {
	color: var(--clr-black);
}

.feed-meta-line a:hover {
	color: var(--clr-primary);
}

.feed-meta-line a:hover .feed-reaction-count {
	color: var(--clr-primary);
}

.feed-meta-line a:hover .feed-icon {
	filter: none;
}

.feed-meta-action:hover .feed-meta-panel a,
.feed-meta-action:hover .feed-meta-panel .feed-reaction-count {
	color: var(--clr-primary);
}

.feed-meta-action:hover .feed-meta-trigger {
	background: var(--clr-primary);
}

.feed-meta-action-stats:hover .feed-meta-trigger {
	border-bottom-color: var(--clr-primary);
}

/* Icons - standard no-black */
.feed-icon {
	width: 16px;
	height: 16px;
	filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0.23);
	display: block;
}

/* Meta-Icons: Farbe exakt wie Text (/Stats) via currentColor */
.feed-icon-mask {
	background-color: currentColor;
	filter: none;
}

.feed-icon-mastodon {
	-webkit-mask: url('/assets/images/icon_mastodon.svg') center / contain no-repeat;
	mask: url('/assets/images/icon_mastodon.svg') center / contain no-repeat;
}

.feed-icon-bluesky {
	-webkit-mask: url('/assets/images/icon_bluesky.svg') center / contain no-repeat;
	mask: url('/assets/images/icon_bluesky.svg') center / contain no-repeat;
}

.feed-icon-heart {
	-webkit-mask: url('/assets/images/icon_heart.svg') center / contain no-repeat;
	mask: url('/assets/images/icon_heart.svg') center / contain no-repeat;
}

/* ==========================================================================
   Abstract Text - Begleittext (unter dem Datum, immer sichtbar)
   ========================================================================== */

.feed-abstract {
	display: block;
	color: var(--clr-text);
	line-height: 1.6;
	font-size: 1rem; /* 16px */
	max-width: 560px;
	margin: 0 0 1rem 0;
	opacity: 0.8;
}

.feed-abstract p {
	margin-bottom: var(--spacing-sm);
}

.feed-abstract p:last-child {
	margin-bottom: 0;
}

/* Pilcrow-Zeichen direkt nach dem letzten Punkt im letzten Absatz */
.feed-abstract p:last-child::after {
	content: " ¶";
	color: var(--clr-green);
	font-size: 1em;
	display: inline;
	margin-left: 5px;
}

/* Minimal-Modus: Abstract komplett ausblenden - höchste Spezifität */
.feed-grid[data-view="minimal"] p.feed-abstract,
.feed-grid[data-view="minimal"] .feed-item p.feed-abstract,
.feed-grid[data-view="minimal"] .feed-card-link p.feed-abstract,
.feed-grid[data-view="minimal"] .feed-item-main p.feed-abstract,
.feed-grid[data-view="minimal"] .feed-abstract p,
.feed-grid[data-view="minimal"] .feed-item .feed-abstract p,
.feed-grid[data-view="minimal"] .feed-card-link .feed-abstract p,
.feed-grid[data-view="minimal"] .feed-item-main .feed-abstract p {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
	opacity: 0 !important;
	line-height: 0 !important;
	font-size: 0 !important;
	position: absolute !important;
	left: -9999px !important;
}

/* ==========================================================================
   Bookmark: optional zweiter Link (showBookmarkLink) – URL in Meta siehe .feed-bookmark-url-link
   ========================================================================== */

.feed-bookmark-link {
	font-size: 16px;
	font-weight: 400;
	word-break: break-all;
	position: relative;
}


/* ==========================================================================
   Teaser Images - Links vom Titel, im Hintergrund (Z-Index 1)
   ========================================================================== */

.feed-image-wrapper {
	position: absolute;
	top: 0;
	left: 150px; /* 150px nach rechts verschoben */
	width: auto; /* Automatische Breite für Originalgröße */
	height: auto; /* Automatische Höhe für Originalgröße */
	max-height: 50px; /* Maximal 50px hoch */
	overflow: visible; /* Nicht abschneiden */
	border-radius: var(--radius-sm);
	opacity: 0;
	transform: translateX(-20px);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 0; /* Unter dem Text */
	pointer-events: none;
	background: var(--clr-background);
}

/* Photo-Posts: Bild im Hauptteil (linksbündig im 560px Bereich) */
.feed-item-photo .feed-photo-image {
	width: 100%;
	margin-bottom: 1rem;
}

.feed-photo-image a {
	display: block;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.feed-photo-image a:hover {
	opacity: 0.9;
}

.feed-photo-image img,
.feed-photo-thumb {
	width: 100%;
	max-width: 100%;
	height: auto;
	border-radius: var(--radius-sm);
	display: block;
}

.feed-photo-caption {
	font-size: 0.95rem;
	color: var(--clr-text);
	line-height: 1.6;
	margin-bottom: 1rem;
	opacity: 0.8;
}

/* Roter Duotone-Effekt (nur für Article/Note, nicht für Photo) */
.feed-item:not(.feed-item-photo) .feed-image-wrapper::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to bottom, rgba(255, 0, 0, 0.6), rgba(150, 0, 0, 0.8));
	mix-blend-mode: screen;
	pointer-events: none;
	z-index: 2;
}

.feed-item:not(.feed-item-photo):hover .feed-image-wrapper {
	opacity: 1;
	transform: translateX(0); /* Bereits sichtbar, Hover optional für Effekt */
}

.feed-image {
	width: auto; /* Originalbreite */
	height: auto; /* Originalhöhe */
	max-height: 50px; /* Maximal 50px hoch */
	object-fit: contain; /* Behält Seitenverhältnis bei */
	object-position: center center;
	display: block;
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
	filter: grayscale(100%) contrast(1.1);
}

/* Photo-Posts: Bilder ohne Filter */
.feed-item-photo .feed-image {
	filter: none;
}

.feed-image,
.feed-image.loaded {
	opacity: 1;
}

.feed-item:not(.feed-item-photo):hover .feed-image {
	transform: scale(1.05);
}

/* ==========================================================================
   Tags
   ========================================================================== */

.feed-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1rem;
}

.feed-tag {
	font-size: 16px;
	text-transform: capitalize;
	/* Verwendet .lnk-tag Basis-Klasse */
}

/* Tag-Slash nur visuell voranstellen */
.feed-tag::before {
	content: "/";
}

/* Tag-/Typ-Filter: Badge am Wortende auf dem Tag (Notification-Stil) */
.feed-filter-tag-group {
	position: relative;
	display: inline-block;
	margin-left: -12px;
	line-height: 1;
	vertical-align: baseline;
}

.feed-filter-count-badge {
	box-sizing: border-box;
	position: absolute;
	z-index: 1;
	pointer-events: none;
	/* Oben rechts am Tag-Text, leicht über den letzten Buchstaben */
	right: 0;
	top: 0;
	transform: translate(calc(38% - 5px), calc(-44% + 20px));
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: min(2.5rem, 50px);
	height: min(2.5rem, 50px);
	max-width: 50px;
	max-height: 50px;
	padding: 0 0.28em;
	border-radius: 999px;
	background: var(--clr-green, rgb(0, 145, 0));
	color: #fff;
	font-weight: 400;
	/* Relativ zur geerbten .feed-page-title-Schriftgröße (kleiner als Headline) */
	font-size: 0.22em;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

/* Tag-Link in Headline */
.feed-page-title .feed-tag-link {
	color: var(--clr-text);
	text-decoration: none;
	transition: color 0.2s ease;
	margin-left: 0;
}

.feed-page-title .feed-tag-link:hover {
	color: var(--clr-primary);
	text-decoration: none !important;
}

/* ==========================================================================
   Empty State
   ========================================================================== */

.feed-empty {
	text-align: center;
	padding: 4rem 2rem;
	color: var(--clr-text);
	font-style: italic;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* Tablet (550px–999px): Skeleton-Columns stacken, 12-Spalten-Logik bleibt */
@media (max-width: 1280px) {
	.feed-container {
		max-width: 100%;
		padding: 0 1rem;
	}
}

/* Smartphone: Text 15px Abstand, Bilder rand-an-rand */
@media (max-width: 749px) {
	.feed-grid {
		padding: 2rem 0;
		overflow-x: hidden;
	}

	.feed-container,
	.article-container,
	.stats-container {
		padding: 0 15px !important;
		padding-bottom: 50px !important;
		overflow-x: hidden;
	}

	/* Text-Bereiche: 15px Abstand (bereits durch Container) */
	.feed-main,
	.feed-item-main,
	.intro-text,
	.feed-abstract,
	.feed-note-content,
	.feed-photo-caption,
	.feed-empty {
		padding-left: 0;
		padding-right: 0;
	}

	/* Smartphone: Post-Bilder konsequent rand-zu-rand */
	.feed-item .feed-image-wrapper,
	.feed-item .feed-item-photo .feed-photo-image,
	.feed-item .feed-photo-image a,
	.feed-item .feed-full-content .block-image,
	.feed-item .feed-full-content .block-image-wrapper,
	.feed-item .feed-full-content .block-image-sidebar,
	.feed-item .feed-full-content .block-image-inline,
	.feed-item .feed-full-content .block-image-fullwidth {
		width: 100vw !important;
		max-width: 100vw !important;
		margin-left: calc(50% - 50vw) !important;
		margin-right: calc(50% - 50vw) !important;
		box-sizing: border-box;
	}

	.feed-item .feed-image-wrapper img,
	.feed-item .feed-photo-image img,
	.feed-item .feed-photo-thumb,
	.feed-item .feed-full-content .block-image-wrapper img,
	.feed-item .feed-full-content .block-image img {
		width: 100% !important;
		max-width: none !important;
		border-radius: 0;
	}
}

/* Note Content Styles */
.feed-note-content {
	color: var(--clr-text);
	line-height: 1.6;
	font-size: 1.2rem;
	max-width: 560px;
	margin-bottom: 1rem;
	font-weight: 700;
}

/* Pilcrow-Zeichen direkt nach dem letzten Punkt im letzten Absatz */
.feed-note-content p:last-child::after {
	content: " ¶";
	color: var(--clr-green);
	font-size: 1em;
	display: inline;
	margin-left: 5px;
}

/* Mobile - 1-Spalten-Layout (15px Text-Abstand, Bilder rand-an-rand via 749px) */
@media (max-width: 748px) {
	.feed-grid {
		padding: 2rem 0;
	}
	
	.feed-intro {
		padding: 0;
		margin-bottom: 2rem;
		max-width: 100%;
	}

	.feed-page-title-wrapper {
		padding: 0;
		margin-left: 0;
		margin-right: 0;
		width: 100%;
		max-width: 100%;
		overflow: hidden;
	}
	
	.feed-page-title {
		margin-left: 0;
		padding-left: 0;
		width: 100%;
		max-width: 100%;
		display: flex;
		flex-wrap: wrap;
		gap: 8px 12px;
		align-items: baseline;
	}
	
	.feed-item {
		margin-top: 12px;
		margin-bottom: 12px;
	}

	.feed-item:first-child {
		margin-top: 0;
	}

	/* Skeleton columns stacken auf Mobile (width:100%) */
	.feed-item-left,
	.feed-item-main,
	.feed-item-right {
		width: 100% !important;
		float: none !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		margin-bottom: 1.5rem;
	}

	/* Smartphone: linke Hilfsspalte komplett ausblenden */
	.feed-item-left {
		display: none !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.feed-item-left:last-child,
	.feed-item-main:last-child,
	.feed-item-right:last-child {
		margin-bottom: 0;
	}

	/* Leere rechte Spalte komplett ausblenden */
	.feed-item-right:empty {
		display: none !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	/* Hauptspalte enger, wenn Seiten-Spalten weg sind */
	.feed-item-main {
		margin-bottom: 0.75rem;
	}

	/* Intro-Seitenleisten sind mobil ebenfalls leer */
	.feed-sidebar-left:empty,
	.feed-sidebar-right:empty {
		display: none !important;
	}
	
	.feed-page-title {
		font-size: 3.5rem;
		margin-left: 0;
	}
	
	.feed-view-toggle {
		margin-left: 0;
	}
	
	.feed-title-text {
		font-size: 3.5rem;
		max-width: 100%;
		overflow-wrap: anywhere;
		word-break: break-word;
	}
	
	.feed-headline {
		font-size: 3.5rem;
		width: 100%;
		max-width: 100%;
		overflow-wrap: anywhere;
		word-break: break-word;
	}

	.intro-text {
		max-width: 100%;
		font-size: 1rem;
	}
	
	.feed-item-left {
		margin-left: 0;
		margin-right: 0;
		padding-left: 0;
		padding-right: 0;
	}
	
	.feed-image-wrapper {
		position: static;
		width: 100%;
		max-width: 100%;
		height: 250px;
		margin-left: 0;
		margin-right: 0;
		margin-bottom: 1.5rem;
		opacity: 1;
		transform: none;
		overflow: hidden;
	}
	
	.feed-image-wrapper .feed-image {
		width: 100%;
		max-width: 100%;
		height: 100%;
		max-height: none;
		object-fit: cover;
		margin: 0;
		display: block;
		opacity: 1;
	}
	
	.feed-item-photo .feed-photo-image {
		width: 100%;
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
		margin-bottom: 1rem;
	}
	
	.feed-item-photo .feed-photo-image img,
	.feed-item-photo .feed-photo-thumb {
		width: 100%;
		max-width: 100%;
		margin: 0;
		display: block;
	}
	
	.feed-abstract {
		display: block;
	}
	
	.feed-full-content {
		margin-left: 0;
		margin-right: 0;
		width: 100%;
		max-width: 100%;
	}
	
	.feed-full-content .block-image-sidebar {
		float: none;
		width: 100%;
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
		margin-bottom: var(--spacing-md);
	}
	
	.feed-full-content .block-image-sidebar .block-image-wrapper,
	.feed-full-content .block-image-sidebar img {
		width: 100%;
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
	
	.feed-full-content .block-image-fullwidth,
	.feed-full-content .block-image-fullwidth.block-image-force-width,
	.feed-full-content .shortcut-row4-wrapper {
		width: 100%;
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
	
	.feed-full-content .block-image-fullwidth .block-image-wrapper,
	.feed-full-content .block-image-fullwidth img,
	.feed-full-content .block-image-fullwidth.block-image-force-width .block-image-wrapper,
	.feed-full-content .block-image-fullwidth.block-image-force-width img {
		width: 100%;
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
	
	.feed-full-content .block-image-inline,
	.feed-full-content .block-image-inline .block-image-wrapper,
	.feed-full-content .block-image-inline img {
		width: 100%;
		max-width: 100%;
		margin-left: 0;
		margin-right: 0;
	}
}

/* Small Mobile */
@media (max-width: 480px) {
	.feed-item {
		margin-top: 8px;
		margin-bottom: 8px;
	}

	.feed-grid {
		padding: 1rem 0;
	}
	
	.feed-intro {
		max-width: 100%; /* Volle Breite auf Small Mobile */
	}
	
	.feed-item:first-child {
		margin-top: 0;
	}
	
	.feed-intro {
		padding: 0;
		margin-bottom: 1.5rem;
	}

	.feed-page-title-wrapper {
		padding: 0;
	}
	
	.feed-page-title {
		font-size: 2.75rem;
	}
	
	.feed-view-toggle {
		margin-left: 0;
	}
	
	.feed-title-text {
		font-size: 2.75rem;
		overflow-wrap: anywhere;
		word-break: break-word;
	}
	
	.feed-headline {
		font-size: 2.75rem;
		width: 100%; /* Volle Breite auf Small Mobile */
		max-width: 100%;
		overflow-wrap: anywhere;
		word-break: break-word;
	}
	
	.intro-text {
		margin-bottom: 1.5rem;
	}
	
	.feed-image-wrapper {
		height: 200px;
	}
}

/* ==========================================================================
   Loading States und Animationen
   ========================================================================== */

.feed-loading {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 200px;
	color: var(--clr-text);
	font-style: italic;
}

/* Loading-Indikator - pur grün, links bündig */
.feed-loading-indicator {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	padding: 0;
	margin: 20px 0;
	background: transparent;
	border: none;
	border-radius: 0;
	color: var(--clr-black);
	font-size: 20px;
	font-family: monospace;
	text-align: left;
	min-height: auto;
}

.feed-loading-spinner {
	display: inline-block;
	width: auto;
	height: auto;
	line-height: 1;
	text-align: left;
	font-family: monospace;
	font-size: 20px;
	color: var(--clr-black);
}

.feed-loading-indicator.feed-loading-error {
	background: #fff5f5;
	border-color: #ffcdd2;
}

.feed-loading-error-text {
	font-size: 14px;
	font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, sans-serif;
	color: #d32f2f;
	font-weight: 500;
}

/* Staggered Animation für Items */
.feed-item:nth-child(1) { animation-delay: 0.1s; }
.feed-item:nth-child(2) { animation-delay: 0.2s; }
.feed-item:nth-child(3) { animation-delay: 0.3s; }
.feed-item:nth-child(4) { animation-delay: 0.4s; }
.feed-item:nth-child(5) { animation-delay: 0.5s; }
.feed-item:nth-child(6) { animation-delay: 0.6s; }
.feed-item:nth-child(7) { animation-delay: 0.7s; }
.feed-item:nth-child(8) { animation-delay: 0.8s; }

/* ==========================================================================
   Accessibility Verbesserungen
   ========================================================================== */

.feed-item:focus-within {
	outline: 2px solid #007acc;
	outline-offset: 2px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
	.feed-item,
	.feed-image {
		transition: none;
		animation: none;
	}
	
	.feed-item.animate {
		opacity: 1;
		transform: none;
	}
}

/* ==========================================================================
   Tabellen-Styles für Feed und Article (Skeleton Boilerplate Integration)
   ========================================================================== */

/* Tabellen in Feed und Article - alle Varianten */
.feed-item-main table,
.feed-full-content table,
.feed-note-content table,
.feed-item table,
.feed-item-article table,
.block-text table,
.layout-column table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 2rem;
	margin-top: 1rem;
}

.feed-item-main table th,
.feed-item-main table td,
.feed-full-content table th,
.feed-full-content table td,
.feed-note-content table th,
.feed-note-content table td,
.feed-item table th,
.feed-item table td,
.feed-item-article table th,
.feed-item-article table td,
.block-text table th,
.block-text table td,
.layout-column table th,
.layout-column table td {
	padding: 12px 15px;
	text-align: left;
	border-bottom: 1px solid #ddd;
}

.feed-item-main table th,
.feed-full-content table th,
.feed-note-content table th,
.feed-item table th,
.feed-item-article table th,
.block-text table th,
.layout-column table th {
	font-weight: 600;
	background: #f9f9f9;
}

/* Alternierende Zeilen mit hellem Grau aus CSS-Variablen */
.feed-item-main table tbody tr:nth-child(even),
.feed-full-content table tbody tr:nth-child(even),
.feed-note-content table tbody tr:nth-child(even),
.feed-item table tbody tr:nth-child(even),
.feed-item-article table tbody tr:nth-child(even),
.block-text table tbody tr:nth-child(even),
.layout-column table tbody tr:nth-child(even) {
	background: var(--clr-gray-light);
}

.feed-item-main table tbody tr:nth-child(even) td,
.feed-full-content table tbody tr:nth-child(even) td,
.feed-note-content table tbody tr:nth-child(even) td,
.feed-item table tbody tr:nth-child(even) td,
.feed-item-article table tbody tr:nth-child(even) td,
.block-text table tbody tr:nth-child(even) td,
.layout-column table tbody tr:nth-child(even) td {
	background: var(--clr-gray-light);
}
