/* FLS_BOT plan A /blog/fisk/ shared — FileZilla 2026-09-11 */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Source+Serif+4:opsz,wght@8..60,500;8..60,600;8..60,700&display=swap");

:root {
  --ldc-bg: #f3f2ee;
  --ldc-ink: #242424;
  --ldc-muted: #5e5e5e;
  --ldc-soft: #8a8a8a;
  --ldc-faint: #a3a3a3;
  --ldc-line: #e4e2dc;
  --ldc-teal: #00856b;
  --ldc-teal-soft: #e6f5f1;
  --ldc-teal-wash: #d7ebe4;
  --ldc-card: #fff;
  --ldc-img-fallback: #eae8e1;
  --ldc-radius: 26px;
  --ldc-radius-sm: 18px;
  --ldc-shadow: 0 0 0 1px rgba(36, 36, 36, 0.06), 0 2px 8px rgba(36, 36, 36, 0.04);
  --ldc-shadow-sm: 0 0 0 1px rgba(36, 36, 36, 0.06), 0 1px 2px rgba(36, 36, 36, 0.04);
  --ldc-font: Manrope, ui-sans-serif, system-ui, sans-serif;
  --ldc-serif: "Source Serif 4", ui-serif, Georgia, serif;
  --ldc-wrap: 1120px;
  --ldc-prose: 720px;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--ldc-bg);
  color: var(--ldc-ink);
  font-family: var(--ldc-font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--ldc-teal); }

.ldc-j {
  font-family: var(--ldc-font);
  color: var(--ldc-ink);
  background: var(--ldc-bg);
  padding: 48px 24px 80px;
  line-height: 1.55;
}

.ldc-j-wrap { max-width: var(--ldc-wrap); margin: 0 auto; }
.ldc-j-wrap-narrow { max-width: var(--ldc-prose); margin: 0 auto; }

.ldc-j-eyebrow {
  font-size: 11px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--ldc-teal);
  font-weight: 700;
  margin: 0 0 12px;
}

.ldc-j h1, .ldc-j h2, .ldc-j h3 {
  font-family: var(--ldc-serif);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ldc-ink);
  margin: 0;
}

.ldc-j h1 {
  font-size: clamp(2.75rem, 5.5vw, 3.75rem);
  line-height: 1.05;
  margin: 0 0 16px;
}

.ldc-j-lead {
  color: var(--ldc-muted);
  font-size: 1.0625rem;
  max-width: 40rem;
  margin: 0 0 24px;
  line-height: 1.6;
}

.ldc-j-notice {
  background: var(--ldc-teal-soft);
  border: 1px solid var(--ldc-teal-wash);
  border-radius: var(--ldc-radius-sm);
  padding: 16px 20px;
  margin: 0 0 28px;
  color: var(--ldc-ink);
  font-size: 0.95rem;
  line-height: 1.5;
}

.ldc-j-notice strong { color: var(--ldc-teal); }

/* Search */
.ldc-f-search-wrap {
  margin: 0 0 20px;
}

.ldc-f-search {
  width: 100%;
  height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--ldc-line);
  background: var(--ldc-card);
  box-shadow: var(--ldc-shadow-sm);
  font-family: var(--ldc-font);
  font-size: 1rem;
  color: var(--ldc-ink);
  outline: none;
}

.ldc-f-search:focus {
  border-color: var(--ldc-teal);
  box-shadow: 0 0 0 3px rgba(0, 133, 107, 0.15);
}

.ldc-f-search::placeholder { color: var(--ldc-faint); }

/* Filter pills */
.ldc-j-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}

.ldc-j-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--ldc-card);
  color: var(--ldc-ink);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--ldc-font);
  box-shadow: var(--ldc-shadow-sm);
  cursor: pointer;
}

.ldc-j-pill:hover { color: var(--ldc-teal); }

.ldc-j-pill-on {
  background: var(--ldc-ink);
  color: var(--ldc-bg);
  box-shadow: none;
}

.ldc-j-pill-on:hover { color: var(--ldc-bg); }

.ldc-f-count {
  font-size: 0.875rem;
  color: var(--ldc-soft);
  margin: 0 0 24px;
  font-weight: 500;
}

/* Fish cards — 4-col hub */
.ldc-f-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.ldc-f-card {
  background: var(--ldc-card);
  border-radius: var(--ldc-radius);
  overflow: hidden;
  box-shadow: var(--ldc-shadow);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  color: inherit;
  position: relative;
}

a.ldc-f-card:hover { color: inherit; }
a.ldc-f-card:hover .ldc-f-card-name { color: var(--ldc-teal); }

.ldc-f-card-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--ldc-img-fallback);
  overflow: hidden;
}

.ldc-f-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ldc-f-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--ldc-ink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ldc-f-card-body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ldc-f-card-group {
  font-size: 11px;
  color: var(--ldc-teal);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-weight: 700;
  margin: 0 0 8px;
}

.ldc-f-card-name {
  font-family: var(--ldc-serif);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}

.ldc-f-card-latin {
  font-size: 0.875rem;
  font-style: italic;
  color: var(--ldc-muted);
  margin: 0 0 14px;
  line-height: 1.4;
  min-height: 1.25em;
}

.ldc-f-card-meta {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 0.8125rem;
  color: var(--ldc-soft);
  font-weight: 500;
}

/* Pagination */
.ldc-f-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 36px 0 0;
}

.ldc-f-pager button {
  height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--ldc-line);
  background: var(--ldc-card);
  color: var(--ldc-ink);
  font-family: var(--ldc-font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--ldc-shadow-sm);
}

.ldc-f-pager button:hover:not(:disabled) { color: var(--ldc-teal); border-color: var(--ldc-teal); }
.ldc-f-pager button:disabled {
  opacity: 0.4;
  cursor: default;
}

.ldc-f-pager-info {
  font-size: 14px;
  font-weight: 600;
  color: var(--ldc-muted);
  min-width: 4.5rem;
  text-align: center;
}

.ldc-j-ai {
  margin-top: 48px;
  font-size: 0.85rem;
  color: var(--ldc-soft);
  border-top: 1px solid var(--ldc-line);
  padding-top: 16px;
}

.ldc-j-note {
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--ldc-faint);
}

/* Detail page */
.ldc-j-crumb {
  font-size: 13px;
  color: var(--ldc-soft);
  margin: 0 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.ldc-j-crumb a { color: var(--ldc-teal); font-weight: 600; }
.ldc-j-crumb a:hover { text-decoration: underline; }
.ldc-j-crumb-sep { color: var(--ldc-faint); }
.ldc-j-crumb-current {
  color: var(--ldc-muted);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ldc-f-detail-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
}

.ldc-f-detail-badge {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--ldc-ink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.ldc-f-detail-group {
  font-size: 12px;
  color: var(--ldc-teal);
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-weight: 700;
}

.ldc-f-detail h1 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.12;
  margin: 0 0 8px;
}

.ldc-f-detail-latin {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--ldc-muted);
  margin: 0 0 28px;
}

.ldc-f-hero {
  width: 100%;
  max-width: var(--ldc-wrap);
  margin: 0 auto 36px;
  border-radius: var(--ldc-radius);
  overflow: hidden;
  box-shadow: var(--ldc-shadow);
  background: var(--ldc-teal-wash);
  aspect-ratio: 21 / 9;
}

.ldc-f-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ldc-f-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0 0 40px;
}

.ldc-f-spec {
  background: var(--ldc-card);
  border-radius: var(--ldc-radius-sm);
  box-shadow: var(--ldc-shadow-sm);
  padding: 16px 18px;
}

.ldc-f-spec-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--ldc-teal);
  font-weight: 700;
  margin: 0 0 6px;
}

.ldc-f-spec-value {
  font-size: 0.95rem;
  color: var(--ldc-ink);
  font-weight: 600;
  line-height: 1.35;
}

.ldc-f-prose {
  max-width: var(--ldc-prose);
  margin: 0 auto 40px;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ldc-ink);
}

.ldc-f-prose h2 {
  font-family: var(--ldc-serif);
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  line-height: 1.3;
  margin: 1.75em 0 0.65em;
  letter-spacing: -0.02em;
}

.ldc-f-prose p { margin: 0 0 1.15em; }
.ldc-f-prose ul {
  margin: 0 0 1.25em;
  padding-left: 1.25em;
}
.ldc-f-prose li { margin: 0 0 0.45em; }

.ldc-f-related {
  max-width: var(--ldc-wrap);
  margin: 48px auto 0;
}

.ldc-f-related h2 {
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  margin: 0 0 20px;
}

.ldc-f-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 1000px) {
  .ldc-f-grid { grid-template-columns: repeat(3, 1fr); }
  .ldc-f-specs { grid-template-columns: repeat(2, 1fr); }
  .ldc-f-related-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .ldc-f-grid { grid-template-columns: repeat(2, 1fr); }
  .ldc-f-related-grid { grid-template-columns: repeat(2, 1fr); }
  .ldc-f-hero { aspect-ratio: 16 / 10; }
}

@media (max-width: 480px) {
  .ldc-j { padding: 32px 16px 64px; }
  .ldc-f-grid { grid-template-columns: 1fr; }
  .ldc-f-specs { grid-template-columns: 1fr; }
  .ldc-f-related-grid { grid-template-columns: 1fr; }
}


/* Plan Billeder: show local /images/species heroes & cards */
.ldc-f-hero:has(img)::after { display: none; }
.ldc-f-hero:not(:has(img)) {
  background: var(--ldc-img-fallback);
  display: flex; align-items: center; justify-content: center;
}
.ldc-f-hero:not(:has(img))::after {
  content: "Fiskearter";
  font-size: 13px; font-weight: 600; letter-spacing: 0.2px;
  text-transform: uppercase; color: var(--ldc-faint);
}
.ldc-f-card-img-wrap:not(:has(img)) {
  background: var(--ldc-img-fallback);
}
.ldc-j-shopbar a:hover { color: #006b56 !important; }
