/* Månedsopsparing-side — alle klasser prefixes med atmo-.
   Visuelt sprog matcher ETF-screeneren: hvidt, luftigt, navy accent
   (#23408e). Orange (#e07a2c) bruges som varm accent på begynder-
   anbefalingen og CTA'er. Mobil-first: tabellen bliver til kort under
   700px. */

.atmo-root {
  font-family: inherit;
  color: #1a1d24;
  font-size: 15px;
  line-height: 1.55;
  margin: 1.5em 0;
}

.atmo-error { color: #c25b54; padding: 1em; }

/* --- Hero ------------------------------------------------------------ */

.atmo-hero { margin-bottom: 24px; }

.atmo-hero-title {
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #1a1d24;
}
.atmo-hero-sub {
  font-size: 16px;
  color: #41464f;
  margin: 0 0 10px;
  max-width: 640px;
}
.atmo-meta {
  font-size: 13px;
  color: #767c89;
  margin: 0;
}

/* --- Begynder-anbefaling (fremhævet) --------------------------------- */

.atmo-begynder {
  border: 1px solid #f0d8c2;
  border-left: 4px solid #e07a2c;
  background: #fdf6ef;
  border-radius: 14px;
  padding: 22px 24px;
  margin-bottom: 26px;
}
.atmo-begynder-tag {
  display: inline-block;
  background: #e07a2c;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.atmo-begynder-title {
  font-size: 21px;
  font-weight: 700;
  margin: 0 0 6px;
}
.atmo-begynder-fond {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 10px;
}
.atmo-begynder-udbyder { color: #767c89; font-weight: 400; }
.atmo-begynder-intro { margin: 0 0 12px; color: #41464f; }

.atmo-begrundelse {
  margin: 0 0 16px;
  padding-left: 20px;
}
.atmo-begrundelse li { margin-bottom: 4px; }

.atmo-cta {
  display: inline-block;
  background: #e07a2c;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 9px;
  text-decoration: none;
  transition: background 0.12s ease;
}
.atmo-cta:hover { background: #c2691f; color: #fff; }

/* --- Kontroller (sortér) --------------------------------------------- */

.atmo-controls {
  display: flex;
  margin-bottom: 14px;
}
.atmo-sort {
  padding: 9px 13px;
  font-size: 14px;
  font-family: inherit;
  color: #1a1d24;
  border: 1px solid #d6dae6;
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
}
.atmo-sort:focus {
  outline: none;
  border-color: #23408e;
  box-shadow: 0 0 0 3px rgba(35, 64, 142, 0.12);
}

/* --- Tabel ----------------------------------------------------------- */

.atmo-table-wrap {
  overflow-x: auto;
  overflow-y: auto;
  max-height: 70vh;
  border: 1px solid #e2e5ee;
  border-radius: 12px;
}
.atmo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.atmo-table thead {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f4f6fc;
}
.atmo-table th {
  text-align: left;
  padding: 12px 14px;
  font-weight: 600;
  font-size: 12px;
  color: #767c89;
  white-space: nowrap;
  border-bottom: 1px solid #e2e5ee;
}
.atmo-th-sort {
  cursor: pointer;
  user-select: none;
}
.atmo-th-sort:hover { color: #23408e; }
.atmo-sort-ind {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 5px;
  vertical-align: middle;
  opacity: 0.25;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 5px solid currentColor;
}
.atmo-th-sort.atmo-sort-asc { color: #23408e; }
.atmo-th-sort.atmo-sort-desc { color: #23408e; }
.atmo-th-sort.atmo-sort-asc .atmo-sort-ind {
  opacity: 1;
  border-bottom: 5px solid currentColor;
}
.atmo-th-sort.atmo-sort-desc .atmo-sort-ind {
  opacity: 1;
  border-bottom: 0;
  border-top: 5px solid currentColor;
}
.atmo-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #eef0f2;
}
.atmo-table tbody tr:last-child td { border-bottom: 0; }
.atmo-table tbody tr:hover td { background: #f5f7fd; }

.atmo-td-navn { font-weight: 600; }
.atmo-isin {
  font-family: Menlo, Consolas, monospace;
  font-size: 11.5px;
  color: #767c89;
}
.atmo-table a {
  color: #23408e;
  font-weight: 600;
  text-decoration: none;
}
.atmo-table a:hover { text-decoration: underline; }

.atmo-kat {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  background: #eef1f9;
  color: #23408e;
  white-space: nowrap;
}

/* --- SEO-indhold (intro + relaterede links) -------------------------- */

.atmo-intro { margin: 30px 0 8px; }
.atmo-intro h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 22px 0 8px;
}
.atmo-intro h2:first-child { margin-top: 0; }
.atmo-intro p {
  margin: 0 0 12px;
  color: #41464f;
  max-width: 680px;
}
.atmo-intro a { color: #23408e; font-weight: 600; }
.atmo-intro a:hover { text-decoration: underline; }

.atmo-links { margin: 26px 0; }
.atmo-links h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px;
}
.atmo-links-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.atmo-links-list li {
  border: 1px solid #e2e5ee;
  border-radius: 10px;
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
.atmo-links-list li:hover {
  border-color: #23408e;
  box-shadow: 0 2px 10px rgba(35, 64, 142, 0.1);
}
.atmo-links-list a {
  display: block;
  padding: 12px 16px;
  color: #23408e;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.atmo-links-list a:hover { text-decoration: underline; }

/* --- FAQ ------------------------------------------------------------- */

.atmo-faq { margin: 30px 0 28px; }
.atmo-faq-title {
  font-size: 21px;
  font-weight: 700;
  margin: 0 0 14px;
}
.atmo-faq-item {
  border-bottom: 1px solid #eef0f2;
  padding: 12px 0;
}
.atmo-faq-item:last-child { border-bottom: 0; }
.atmo-faq-q {
  font-size: 15.5px;
  font-weight: 600;
  margin: 0 0 5px;
}
.atmo-faq-a { margin: 0; color: #41464f; }

/* --- Disclaimer ------------------------------------------------------ */

.atmo-disclaimer {
  background: #f4f5f7;
  border-radius: 10px;
  padding: 14px 18px;
}
.atmo-disclaimer p {
  margin: 0;
  font-size: 12.5px;
  color: #767c89;
  line-height: 1.5;
}

/* --- Mobil (375px-first): tabel bliver til kort ---------------------- */

@media (max-width: 700px) {
  .atmo-hero-title { font-size: 25px; }

  .atmo-sort { width: 100%; }

  .atmo-links-list { grid-template-columns: 1fr; }

  .atmo-table-wrap {
    border: 0;
    border-radius: 0;
    overflow-x: visible;
  }
  .atmo-table,
  .atmo-table tbody,
  .atmo-table tr,
  .atmo-table td { display: block; }
  .atmo-table thead { display: none; }

  .atmo-table tbody tr {
    border: 1px solid #e2e5ee;
    border-radius: 10px;
    margin: 0 0 10px;
    padding: 12px 14px;
  }
  .atmo-table tbody tr:hover td { background: transparent; }

  .atmo-table td {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 5px 0;
    border: 0;
    font-size: 13.5px;
  }
  .atmo-table td::before {
    content: attr(data-label);
    color: #767c89;
    font-weight: 500;
    flex-shrink: 0;
  }
  .atmo-table td.atmo-td-navn {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
  }
  .atmo-table td.atmo-td-navn::before { content: none; }
}
