:root {
  --green-dark: #022a16;
  --green-mid: #2c6e49;
  --green-light: #d9e6cf;
  --beige: #f3ecd5;
  --accent: #e0ff5e;
  --text-dark: #1d2a21;
  --white: #ffffff;
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--beige);
  color: var(--text-dark);
}

/* TOPBAR */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--beige);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo span {
  font-weight: 800;
  letter-spacing: 0.1em;
  font-size: 0.95rem;
  background: var(--accent);
  padding: 0.4rem 0.6rem;
  border-radius: 1rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  opacity: 0.9;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-actions {
  display: flex;
  gap: 0.5rem;
}

/* BUTTONS */

.btn {
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

.btn-primary {
  background: var(--accent);
  color: #123;
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: var(--green-mid);
  color: var(--white);
}

/* STORIES */

.stories-section {
  max-width: 960px;
  margin: 3rem auto 4rem;
  padding: 0 1.5rem;
  text-align: center;
}

.section-title {
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

/* stor top + 2 små nederst */
.story-main {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 2fr 3fr;
}

.story-card {
  background: var(--white);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  text-align: left;
  display: flex;
  flex-direction: column;
}

.story-small {
  display: grid;
  grid-template-rows: 130px auto;
}

.story-image {
  background: linear-gradient(135deg, var(--green-mid), var(--green-dark));
  min-height: 160px;
}

.story-content {
  padding: 1rem 1.1rem 1.2rem;
}

.story-tag {
  display: inline-block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.7;
  margin-bottom: 0.4rem;
}

.story-card h2,
.story-card h3 {
  margin: 0 0 0.4rem;
}

.story-card p {
  margin: 0 0 0.6rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* CTA STRIP */

.cta-strip {
  background: var(--green-light);
  padding: 3rem 1.5rem;
}

.cta-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.cta-inner h2 {
  margin-bottom: 0.5rem;
}

.cta-inner p {
  margin-bottom: 1rem;
}

/* DARK SECTION */

.dark-section {
  background: var(--green-dark);
  color: var(--white);
  padding: 4rem 1.5rem 2.5rem;
}

.dark-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.dark-header h2 {
  font-size: 1.8rem;
  margin: 0 0 0.4rem;
}

.dark-header p {
  margin: 0 0 2rem;
  max-width: 500px;
}

.dark-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.dark-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.75rem;
  padding: 1.3rem 1.2rem 1.5rem;
}

.dark-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

/* FOOTER */

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
}

.footer h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer li {
  margin-bottom: 0.3rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-meta {
  font-size: 0.75rem;
  opacity: 0.6;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .story-main {
    grid-template-columns: 1fr;
  }

  .stories-grid {
    grid-template-columns: 1fr;
  }

  .dark-cards {
    grid-template-columns: 1fr;
  }

  .topbar-inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links {
    display: none; /* hvis I vil, kan I lave burger-menu her */
  }
}

@media (max-width: 600px) {
  .stories-section {
    margin-top: 2rem;
  }

  .topbar-inner {
    padding-inline: 1rem;
  }
}
