/*
 * FF Gniebing – Einsatzarchiv · assets/archiv.css
 * © 2026 FOCUSENTIAL e.u. (Dana Hauer-Zisser) · https://focusential.at · Alle Rechte vorbehalten.
 * Entwickelt ausschließlich für die Website der Freiwilligen Feuerwehr Gniebing (ff-gniebing.at).
 * Kopieren, Weitergabe, Verkauf oder Nutzung für andere Websites – auch in Teilen oder verändert –
 * ist ohne schriftliche Zustimmung von FOCUSENTIAL e.u. nicht gestattet. Siehe LIZENZ.txt.
 */
/* =====================================================================
   FF Gniebing – Einsatzarchiv
   Baut auf dem Design von „FF Gniebing – Inhaltsblöcke“ auf (Farben,
   Schriften, Abschnitte, Etiketten). Hier nur die Archiv-Liste.
   ===================================================================== */

.ffa-archiv, .ffa-einzel {
	--ffa-rot: var(--ffb-rot, #c20217);
	--ffa-grau: var(--ffb-grau, #707173);
	--ffa-hell: var(--ffb-hell, #f7f7f5);
	--ffa-head: var(--ffb-head, 'Oswald', 'Arial Narrow', sans-serif);
}

/* Kopf mit Suche */
.ffa-kopf { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.ffa-kopf .ffb-shead { margin-bottom: 0; }
.ffa-suche { display: flex; min-width: 280px; background: #fff; border: 1px solid #ddd; border-radius: 4px; overflow: hidden; }
.ffa-suche input[type=search] { flex: 1; border: 0; padding: 9px 12px; font: inherit; font-size: 13px; min-width: 0; background: transparent; outline: none; }
.ffa-suche button { border: 0; background: var(--ffa-rot); color: #fff; padding: 0 12px; cursor: pointer; display: flex; align-items: center; }
.ffa-suche:focus-within { border-color: var(--ffa-rot); }

.ffa-filter { margin-bottom: 14px; }
.ffa-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Jahres-Sprungleiste */
.ffa-jahre { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; }
.ffa-jahre a { font-family: var(--ffa-head); font-size: 12px; letter-spacing: 1px; padding: 5px 10px; border: 1px solid #ddd; border-radius: 4px; background: #fff; color: #111; text-decoration: none; }
.ffa-jahre a:hover { border-color: #111; }
.ffa-jahre a.is-on { background: #111; color: #fff; border-color: #111; }

.ffa-suchinfo { font-size: 13px; color: var(--ffa-grau); margin: -10px 0 20px !important; }
.ffa-suchinfo a { color: var(--ffa-rot); }

/* Jahr-Überschrift */
.ffa-jahr { display: flex; align-items: baseline; gap: 12px; margin: 30px 0 10px; scroll-margin-top: 20px; }
.ffa-jahr:first-of-type { margin-top: 0; }
.ffb .ffa-jahr h3 { font-size: 24px; color: var(--ffa-rot); line-height: 1; }
.ffa-jahr small { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ffa-grau); }

/* Liste */
.ffa-liste { background: #fff; border: 1px solid #e8e8e4; border-radius: 8px; overflow: hidden; }
.ffa-zeile { display: grid; grid-template-columns: 108px 130px minmax(0, 1fr) 24px; gap: 16px; align-items: center; padding: 13px 18px; border-bottom: 1px solid #f0f0f0; text-decoration: none !important; color: #111 !important; transition: background .15s; }
.ffa-zeile:last-child { border-bottom: 0; }
.ffa-zeile:hover { background: #fff7f7; }
.ffa-zeile__meta { display: contents; }
.ffa-zeile__datum { font-family: var(--ffa-head); font-size: 14px; letter-spacing: .5px; color: #333; }
.ffa-zeile .ffb-badge { position: static; display: inline-block; white-space: nowrap; }
.ffa-zeile__text { min-width: 0; }
.ffa-zeile__titel { display: block; font-family: var(--ffa-head); font-weight: 500; font-size: 15px; letter-spacing: .5px; text-transform: uppercase; line-height: 1.25; }
.ffa-zeile__auszug { display: block; font-size: 12px; color: var(--ffa-grau); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.ffa-zeile__pfeil { color: var(--ffa-rot); font-family: var(--ffa-head); font-size: 20px; text-align: right; }

/* Einzelansicht */
.ffa-einzel { padding-top: 0; }
.ffa-einzel > p { color: #333; }
.ffa-blaettern { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 28px !important; font-family: var(--ffa-head); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }
.ffa-blaettern a { color: var(--ffa-rot); text-decoration: none; }
.ffa-blaettern__pn { display: flex; gap: 10px; color: var(--ffa-grau); }

/* Handy */
@media (max-width: 900px) {
	.ffa-suche { min-width: 0; width: 100%; }
	.ffa-jahre { flex-wrap: nowrap; overflow-x: auto; margin-right: -24px; padding-right: 24px; scrollbar-width: none; }
	.ffa-jahre a { flex: 0 0 auto; }
	.ffa-zeile { grid-template-columns: minmax(0, 1fr) 18px; grid-template-areas: "meta pfeil" "text pfeil"; gap: 6px 12px; padding: 14px 16px; }
	.ffa-zeile__meta { grid-area: meta; display: flex; gap: 10px; align-items: center; }
	.ffa-zeile__text { grid-area: text; }
	.ffa-zeile__pfeil { grid-area: pfeil; }
	.ffa-zeile__auszug { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}

/* Weitere Einsätze laden (1.0.2) */
.ffa-mehr { margin-top: 28px; }
.ffa-mehr__info { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--ffa-grau); margin: 0 0 12px; }
.ffa-mehr [aria-busy] { opacity: .6; pointer-events: none; }
.ffa-anker { display: block; height: 0; scroll-margin-top: 90px; }

/* Kompakte Einträge (1.0.3): ältere Einsätze ohne eigene Seite */
.ffa-zeile--kompakt { padding-top: 9px; padding-bottom: 9px; }
.ffa-zeile--kompakt:hover { background: transparent; }
.ffa-zeile--kompakt .ffa-zeile__titel { font-size: 14px; text-transform: none; letter-spacing: .2px; }
.ffa-zeile--kompakt .ffa-zeile__datum { color: #555; }
@media (max-width: 720px) { .ffa-zeile--kompakt { padding-top: 10px; padding-bottom: 10px; } }
