@import url('https://fonts.googleapis.com/css2?family=Syne:wght@700;800&family=DM+Sans:wght@300;400;500&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* ═══════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #f5f0e8;
  --dark:     #1a1a1a;
  --accent:   #e84d1c;
  --text:     #1a1a1a;
  --muted:    rgba(26,26,26,0.4);
  --border:   2px solid #1a1a1a;
  --mono:     'IBM Plex Mono', monospace;
}

html { scroll-behavior: smooth; }
body { font-family: 'Syne', sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ═══════════════════════════════════════
   NAV
═══════════════════════════════════════ */
.nav {
  background: var(--dark);
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 2rem;
  position: sticky; top: 0; z-index: 100;
  border-bottom: var(--border);
}
.logo { font-size: 22px; font-weight: 800; color: #f5f0e8; letter-spacing: -0.02em; text-decoration: none; cursor: pointer; display: inline-block; }
.logo:hover { opacity: 0.85; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 1.5rem; }
.nav-links a { font-size: 11px; color: rgba(245,240,232,0.5); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; transition: color 0.15s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-burger { display: none; background: none; border: none; color: #f5f0e8; font-size: 22px; cursor: pointer; }

.mobile-menu { display: none; flex-direction: column; background: var(--dark); padding: 1rem 2rem; gap: 0.75rem; border-bottom: var(--border); }
.mobile-menu a { font-size: 13px; color: rgba(245,240,232,0.6); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu.open { display: flex; }

/* ═══════════════════════════════════════
   TICKER
═══════════════════════════════════════ */
.ticker {
  background: var(--accent); padding: 0.4rem 2rem;
  font-size: 11px; font-weight: 700; color: #f5f0e8;
  letter-spacing: 0.15em; text-transform: uppercase;
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--mono);
  overflow: hidden; white-space: nowrap;
}
.rec-ticker { background: var(--dark); border-bottom: 1px solid rgba(232,77,28,0.3); color: rgba(245,240,232,0.4); }
.rec-badge { background: var(--accent); color: #f5f0e8; font-size: 9px; font-weight: 800; padding: 2px 8px; display: flex; align-items: center; gap: 5px; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1.2s ease-in-out infinite; flex-shrink: 0; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }

/* ═══════════════════════════════════════
   STATS ROW
═══════════════════════════════════════ */
.stats-row { display: grid; grid-template-columns: repeat(3,1fr); border-bottom: var(--border); }
.stat-cell { padding: 1rem 2rem; border-right: 1px solid var(--dark); text-align: center; }
.stat-cell:last-child { border-right: none; }
.stat-num { font-size: 32px; font-weight: 800; color: var(--dark); letter-spacing: -0.03em; }
.stat-num span { color: var(--accent); }
.stat-label { font-family: var(--mono); font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.2rem; }

/* ═══════════════════════════════════════
   PAGE HEADER
═══════════════════════════════════════ */
.page-header {
  padding: 1.5rem 2rem 1rem;
  display: flex; justify-content: space-between; align-items: flex-end;
  border-bottom: var(--border);
}
.page-title { font-size: 52px; font-weight: 800; color: var(--dark); letter-spacing: -0.03em; line-height: 0.9; }
.page-title span { color: var(--accent); }
.channel-badge { background: var(--dark); color: #f5f0e8; font-family: var(--mono); font-size: 10px; padding: 8px 14px; display: flex; flex-direction: column; gap: 3px; align-items: flex-end; }
.channel-badge strong { color: var(--accent); font-size: 13px; }
.channel-badge span { color: rgba(245,240,232,0.35); }

/* ═══════════════════════════════════════
   HERO (Homepage)
═══════════════════════════════════════ */
.hero { padding: 2rem 2rem 0; }
.hero-headline { font-size: 72px; font-weight: 800; color: var(--dark); letter-spacing: -0.04em; line-height: 0.88; }
.hero-headline span { color: var(--accent); }
.hero-headline em { color: var(--dark); font-style: normal; }

/* ═══════════════════════════════════════
   MAIN GRID (Homepage Rubriken)
═══════════════════════════════════════ */
.main-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 0.75rem; padding: 1.5rem 2rem; }
.section-card {
  position: relative;
  background: var(--dark);
  padding: 0;
  cursor: pointer;
  transition: transform 0.15s;
  display: block;
  overflow: hidden;
  min-height: 150px;
}
.section-card:hover { transform: translateY(-3px); }
.section-card:hover .card-bg { transform: scale(1.06); opacity: 0.55; }

/* Hintergrund-Bildebene (abgedunkelt) */
.card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;                       /* erst sichtbar wenn Bild geladen */
  transition: opacity 0.5s ease, transform 0.4s ease;
  z-index: 0;
}
.card-bg.loaded { opacity: 0.45; }  /* gedimmte Helligkeit für Fotos */
.card-bg.is-gradient.loaded { opacity: 0.9; }  /* Verläufe voll sichtbar */

/* Dunkler Verlauf über dem Bild für Lesbarkeit */
.section-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,26,26,0.35) 0%, rgba(26,26,26,0.75) 100%);
  z-index: 1;
  pointer-events: none;
}

.card-content {
  position: relative;
  z-index: 2;
  padding: 1.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card-icon { font-size: 24px; margin-bottom: 0.6rem; }
.card-title { font-size: 15px; font-weight: 800; color: #f5f0e8; text-transform: uppercase; letter-spacing: 0.05em; text-shadow: 0 1px 4px rgba(0,0,0,0.5); }
.card-sub { font-size: 12px; color: rgba(245,240,232,0.7); margin-top: 0.25rem; font-family: 'DM Sans', sans-serif; text-shadow: 0 1px 3px rgba(0,0,0,0.5); }
.card-arrow { font-size: 20px; color: var(--accent); margin-top: auto; padding-top: 0.85rem; font-weight: 800; }
.live-badge-sm { display: inline-flex; align-items: center; gap: 4px; background: var(--accent); font-size: 9px; font-weight: 800; color: #f5f0e8; padding: 2px 8px; letter-spacing: 0.12em; margin-bottom: 0.5rem; align-self: flex-start; }

/* ═══════════════════════════════════════
   GADGETS
═══════════════════════════════════════ */
.gadget-divider { border: none; border-top: var(--border); margin: 0 2rem; }
.gadget-header { padding: 1rem 2rem 0.5rem; display: flex; justify-content: space-between; align-items: center; }
.gadget-label { font-family: var(--mono); font-size: 10px; color: var(--accent); letter-spacing: 0.12em; text-transform: uppercase; }
.gadget-source { font-family: var(--mono); font-size: 10px; color: var(--muted); }

/* Foto des Tages */
.foto-gadget { padding: 0 2rem 1.5rem; }
.foto-inner { background: var(--dark); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; }
.foto-img-wrap { aspect-ratio: 4/3; background: #2a2a2a; position: relative; overflow: hidden; }
.foto-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.foto-img-wrap:hover img { transform: scale(1.04); }
.foto-date-badge { position: absolute; top: 0.75rem; left: 0.75rem; background: var(--accent); font-family: var(--mono); font-size: 9px; font-weight: 700; color: #f5f0e8; padding: 3px 8px; letter-spacing: 0.1em; }
.foto-skeleton { width: 100%; height: 100%; background: #2a2a2a; animation: pulse 1.5s ease-in-out infinite; position: absolute; inset: 0; }
.foto-info { padding: 1.25rem; display: flex; flex-direction: column; justify-content: space-between; }
.foto-tag { font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 0.4rem; font-family: var(--mono); }
.foto-title { font-size: 16px; font-weight: 800; color: #f5f0e8; line-height: 1.2; }
.foto-sub { font-size: 12px; color: rgba(245,240,232,0.4); margin-top: 0.4rem; font-family: 'DM Sans', sans-serif; font-style: italic; }
.foto-btn { margin-top: auto; padding-top: 1rem; }
.foto-btn a { font-size: 11px; font-weight: 800; color: var(--accent); text-transform: uppercase; letter-spacing: 0.1em; }
.foto-reload { background: none; border: none; font-family: var(--mono); font-size: 10px; color: rgba(245,240,232,0.3); cursor: pointer; margin-top: 0.5rem; transition: color 0.15s; }
.foto-reload:hover { color: var(--accent); }

/* YouTube Gadget */
.videos-gadget { padding: 0 2rem 1.5rem; }
.video-scroll { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 1000px; margin: 0 auto; }
.yt-card { background: var(--dark); overflow: hidden; cursor: pointer; transition: transform 0.15s; }
.yt-card:hover { transform: translateY(-2px); }
.yt-card:hover .yt-play { opacity: 1; }
.yt-thumb { aspect-ratio: 16/9; background: #2a2a2a; position: relative; overflow: hidden; }
.yt-thumb img { width: 100%; height: 100%; object-fit: cover; }
.yt-play { position: absolute; inset: 0; background: rgba(232,77,28,0.8); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.2s; font-size: 24px; }
.yt-info { padding: 0.6rem 0.75rem; }
.yt-title { font-size: 12px; font-weight: 700; color: #f5f0e8; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.yt-date { font-family: var(--mono); font-size: 10px; color: rgba(245,240,232,0.3); margin-top: 0.3rem; }
.yt-skel-card { background: #2a2a2a; }
.yt-skel { aspect-ratio: 16/9; background: #333; animation: pulse 1.5s ease-in-out infinite; }
.yt-skel-line { height: 11px; background: #333; margin: 7px 10px 4px; border-radius: 2px; animation: pulse 1.5s ease-in-out infinite; }
.yt-skel-line.short { width: 55%; }

/* ═══════════════════════════════════════
   TAB BAR
═══════════════════════════════════════ */
.tab-bar, .filter-bar { display: flex; border-bottom: var(--border); }
.tab-btn, .filter-btn { background: none; border: none; border-right: 1px solid var(--dark); font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 0.65rem 1.25rem; cursor: pointer; color: var(--muted); transition: all 0.15s; }
.tab-btn:last-child, .filter-btn:last-child { border-right: none; }
.tab-btn.active, .filter-btn.active { background: var(--dark); color: #f5f0e8; }
.tab-btn:hover:not(.active), .filter-btn:hover:not(.active) { background: rgba(26,26,26,0.06); color: var(--dark); }

/* ═══════════════════════════════════════
   EMBED / FOTO SEITE
═══════════════════════════════════════ */
.embed-view { padding: 1.25rem 2rem; }
.embed-label { font-family: var(--mono); font-size: 10px; color: var(--accent); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.75rem; }
.embed-wrap { width: 100%; aspect-ratio: 16/9; border: var(--border); overflow: hidden; margin: 0 auto; }
.embed-wrap iframe { width: 100%; height: 100%; border: none; display: block; }
.embed-hint { margin-top: 0.6rem; font-family: var(--mono); font-size: 10px; color: var(--muted); display: flex; justify-content: space-between; align-items: center; }

.albums-view { padding: 1.25rem 2rem; border-top: 1px solid var(--dark); margin-top: 0.5rem; }
.albums-label { font-family: var(--mono); font-size: 10px; color: var(--accent); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1rem; }
.album-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.album-card { background: var(--dark); overflow: hidden; cursor: pointer; transition: transform 0.15s; display: block; }
.album-card:hover { transform: translateY(-2px); }
.album-card:hover .album-overlay { opacity: 1; }
.album-thumb { aspect-ratio: 4/3; background: #2a2a2a; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.album-thumb-img { width: 100%; height: 100%; object-fit: cover; }
.album-emoji { font-size: 32px; }
.album-overlay { position: absolute; inset: 0; background: rgba(232,77,28,0.8); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.2s; font-size: 14px; font-weight: 800; color: #f5f0e8; }
.album-info { padding: 0.65rem 0.75rem; }
.album-title { font-size: 12px; font-weight: 700; color: #f5f0e8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.album-meta { font-family: var(--mono); font-size: 10px; color: rgba(245,240,232,0.3); margin-top: 0.3rem; }

/* ═══════════════════════════════════════
   VIDEO GRID
═══════════════════════════════════════ */
.video-section { padding: 1.25rem 2rem; }
.section-label { font-family: var(--mono); font-size: 10px; color: var(--accent); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1rem; }

.hero-video { margin-bottom: 1.25rem; }
.hero-label { background: var(--accent); display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 700; color: #f5f0e8; padding: 3px 10px; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.5rem; }
.hero-embed { width: 100%; aspect-ratio: 16/9; border: 2px solid var(--accent); overflow: hidden; }
.hero-embed iframe { width: 100%; height: 100%; display: block; border: none; }
.hero-meta { background: var(--dark); padding: 0.6rem 0.75rem; display: flex; justify-content: space-between; align-items: center; }
.hero-title { font-size: 13px; font-weight: 700; color: #f5f0e8; }
.hero-date { font-family: var(--mono); font-size: 10px; color: rgba(245,240,232,0.35); }

.loading-grid, .video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.skel-card { background: #2a2a2a; }
.skel-thumb { aspect-ratio: 16/9; background: #333; animation: pulse 1.5s ease-in-out infinite; }
.skel-line { height: 11px; background: #333; margin: 8px 10px 4px; border-radius: 2px; animation: pulse 1.5s ease-in-out infinite; }
.skel-line.short { width: 55%; }

.video-card { background: var(--dark); overflow: hidden; cursor: pointer; transition: transform 0.15s; }
.video-card:hover { transform: translateY(-2px); }
.video-card:hover .play-overlay { opacity: 1; }
.thumb-wrap { aspect-ratio: 16/9; background: #2a2a2a; position: relative; overflow: hidden; }
.thumb-wrap img { width: 100%; height: 100%; object-fit: cover; }
.thumb-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 32px; background: #2a2a2a; }
.play-overlay { position: absolute; inset: 0; background: rgba(232,77,28,0.75); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.2s; font-size: 32px; }
.video-info { padding: 0.75rem; }
.stream-tag { background: rgba(232,77,28,0.2); color: var(--accent); font-size: 9px; font-weight: 800; padding: 2px 7px; letter-spacing: 0.1em; text-transform: uppercase; display: inline-block; margin-bottom: 0.4rem; }
.video-title { font-size: 12px; font-weight: 700; color: #f5f0e8; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-meta { font-family: var(--mono); font-size: 10px; color: rgba(245,240,232,0.3); margin-top: 0.4rem; display: flex; justify-content: space-between; }
.error-state { padding: 2rem; text-align: center; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.error-state a { color: var(--accent); }
.empty-state { padding: 2rem; text-align: center; font-family: var(--mono); font-size: 11px; color: var(--muted); border: 1px dashed rgba(26,26,26,0.2); }

/* ═══════════════════════════════════════
   BANNER & FOOTER
═══════════════════════════════════════ */
.banner { background: var(--dark); padding: 1.25rem 2rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.banner-txt strong { color: #f5f0e8; display: block; font-family: 'Syne', sans-serif; font-size: 15px; margin-bottom: 3px; }
.banner-txt span { font-size: 12px; color: rgba(245,240,232,0.45); font-family: 'DM Sans', sans-serif; }
.btn { background: var(--accent); color: #f5f0e8; border: none; font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; padding: 0.6rem 1.2rem; cursor: pointer; white-space: nowrap; display: inline-block; }
.btn:hover { opacity: 0.88; }

.site-footer { background: var(--dark); border-top: 2px solid var(--accent); padding: 0.75rem 2rem; display: flex; justify-content: space-between; align-items: center; }
.footer-txt { font-family: var(--mono); font-size: 10px; color: rgba(245,240,232,0.3); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 11px; font-weight: 700; color: rgba(245,240,232,0.4); text-transform: uppercase; letter-spacing: 0.08em; }
.footer-links a:hover { color: var(--accent); }

/* ═══════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════ */
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .hero-headline { font-size: 48px; }
  .page-title { font-size: 38px; }
  .main-grid { gap: 0.5rem; padding: 1rem; }
  .foto-inner { grid-template-columns: 1fr; }
  /* Tablet: 2 Spalten für Video-/Album-Gitter, Gadget bleibt 2 */
  .video-scroll { grid-template-columns: repeat(2, 1fr); }
  .album-grid   { grid-template-columns: repeat(2, 1fr); }
  .gadget-header, .gadget-divider, .foto-gadget, .videos-gadget { padding-left: 1rem; padding-right: 1rem; }
  .gadget-divider { margin: 0 1rem; }
  .video-section, .embed-view, .albums-view { padding: 1rem; }
  /* Galerie auf Mobil/Tablet: volle Breite statt 60vw */
  .embed-wrap { width: 100%; max-width: none; }
  .page-header, .banner, .site-footer, .hero, .main-grid { padding-left: 1rem; padding-right: 1rem; }
  .stats-row .stat-num { font-size: 24px; }
  .banner { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}

/* Schmales Tablet / großes Handy quer: Video-Gitter auf 1 Spalte */
@media (max-width: 600px) {
  .video-grid, .loading-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  /* Handy: alles einspaltig, volle Breite — maximale Schärfe */
  .main-grid    { grid-template-columns: 1fr; }
  .video-scroll { grid-template-columns: 1fr; }
  .album-grid   { grid-template-columns: 1fr; }
  .stats-row    { grid-template-columns: 1fr; }
  .stat-cell { border-right: none; border-bottom: 1px solid var(--dark); }
}

/* ═══════════════════════════════════════
   FOTO DES TAGES — eingebettete Galerie
═══════════════════════════════════════ */
.foto-embed-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  background: #1a1a1a;
  border: 2px solid var(--dark);
  overflow: hidden;
  position: relative;
  margin: 0 auto;
}
.foto-embed-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.foto-embed-skeleton {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(245,240,232,0.3);
  background: #1a1a1a;
  animation: pulse 1.5s ease-in-out infinite;
}
.foto-embed-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.6rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
.foto-embed-hint {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
}
.foto-embed-link {
  font-size: 11px;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.foto-embed-link:hover { opacity: 0.8; }

/* ═══════════════════════════════════════
   GROSSE BILDSCHIRME — Qualität erhalten
   Inhalte nicht unbegrenzt breit ziehen,
   Hero-Player & Galerie-Embed begrenzen,
   damit Thumbnails nicht hochskaliert pixeln.
═══════════════════════════════════════ */

/* Hero-Video (Video-/Streamseite): max. sinnvolle Breite.
   Das Video selbst wird von YouTube in passender Auflösung geliefert. */
.hero-embed { max-width: 1000px; }
.hero-video { max-width: 1000px; }

/* Foto-Galerie-Embed auf der Startseite begrenzen */
.foto-embed-wrap { max-width: 1000px; }

/* Zonerama-Vollgalerie (Fotoseite) begrenzen */
/* Fotoseite-Galerie: dynamisch ~60% der Bildschirmbreite auf Desktop,
   zentriert. Auf Mobil (siehe Media Query unten) volle Breite. */
.embed-wrap { width: 100%; max-width: 1000px; }

/* Ab sehr breiten Viewports: Hauptinhalt zentriert mit Maximalbreite. */
@media (min-width: 1400px) {
  main {
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
  }
  /* Große Monitore: eine Spalte mehr, damit Kacheln nicht zu breit werden */
  .video-scroll { grid-template-columns: repeat(4, 1fr); }
  .album-grid   { grid-template-columns: repeat(4, 1fr); }
  .video-grid, .loading-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Shuffle-Button im Foto-Gadget */
.foto-shuffle {
  background: var(--dark);
  border: 1px solid var(--dark);
  color: #f5f0e8;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 7px 14px;
  cursor: pointer;
  transition: all 0.15s;
}
.foto-shuffle:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ═══ KATEGORIE-TABS (Fotoseite: Fussball / Skating) ═══ */
.cat-bar {
  display: flex;
  gap: 28px;
  border-bottom: 1px solid var(--dark);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.cat-btn {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: 0 0 10px;
  cursor: pointer;
  transition: color 0.15s;
}
.cat-btn.active {
  color: var(--dark);
  border-bottom-color: var(--accent);
}
.cat-btn:hover:not(.active) { color: var(--dark); }
