/* HÖRBI Journal — minimal professional */
.journal-page {
  padding: 96px 18px 64px;
}
.journal-wrap {
  width: min(1080px, 100%);
  margin: 0 auto;
}
.journal-head {
  max-width: 640px;
  margin-bottom: 36px;
}
.journal-kicker {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}
.journal-head h1 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.035em;
  font-weight: 800;
  line-height: 1.1;
}
.journal-head p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  max-width: 48ch;
}

/* Category chips */
.cat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.cat-chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: 0.2s var(--ease);
}
.cat-chip:hover { color: var(--ink); border-color: rgba(47, 107, 58, 0.35); }
.cat-chip.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* Category cards on hub */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 40px;
}
.cat-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: left;
  color: inherit;
  padding: 0;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(18, 20, 15, 0.1);
}
.cat-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e5efe0;
}
.cat-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat-card-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.cat-card-body h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.cat-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  flex: 1;
}
.cat-card-meta {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
}

/* Article cards */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}
.article-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
  transition: transform 0.3s var(--ease);
}
.article-card:hover { transform: translateY(-3px); }
.article-card-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e5efe0;
}
.article-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-card-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.article-card-body .meta {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}
.article-card-body h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.article-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
}

/* Single article layout */
.article-page {
  padding: 88px 18px 72px;
}
.article-shell {
  width: min(740px, 100%);
  margin: 0 auto;
}
.article-hero-img {
  width: min(1080px, 100%);
  margin: 0 auto 28px;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #dfe8d8;
  box-shadow: var(--shadow);
}
.article-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-shell .kicker {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}
.article-shell h1 {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 4vw, 2.45rem);
  letter-spacing: -0.035em;
  font-weight: 800;
  line-height: 1.12;
}
.article-lead {
  margin: 0 0 10px;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
}
.article-meta-line {
  margin: 0 0 28px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.article-body h2 {
  margin: 32px 0 12px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.article-body p,
.article-body li {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
}
.article-body p { margin: 0 0 14px; }
.article-body ul {
  margin: 0 0 16px;
  padding-left: 1.2em;
}
.article-body a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.article-note {
  font-size: 13px !important;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--green-soft);
  border: 1px solid var(--line);
  color: var(--ink) !important;
}
.article-figure {
  margin: 28px 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}
.article-figure img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 420px;
  object-fit: cover;
}
.article-figure figcaption {
  padding: 10px 14px 12px;
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

/* Callout infographic grid (code-built, exact text) */
.callout-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 24px 0 8px;
}
.callout {
  padding: 16px 16px 18px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(18, 20, 15, 0.04);
}
.callout .n {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--green);
  margin-bottom: 8px;
}
.callout h3 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.callout p {
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  color: var(--muted) !important;
}

/* Sources list */
.sources {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.sources h2 {
  margin: 0 0 14px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
}
.source-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.source-item:last-child { border-bottom: 0; }
.source-item .label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 4px;
}
.source-item a {
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.source-item a:hover { color: var(--green); }
.source-item p {
  margin: 6px 0 0 !important;
  font-size: 13px !important;
  color: var(--muted) !important;
}

.article-back {
  display: inline-flex;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.article-back:hover { color: var(--ink); }

.journal-empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.5);
}

@media (max-width: 640px) {
  .callout-grid { grid-template-columns: 1fr; }
  .journal-page { padding-top: 88px; }
  .article-page { padding-top: 80px; }
}
