
/* SWF / ATHLO chain – side-specific overrides */
.swf-shell {
  background: #f7f9fc;
  padding: 34px 18px 54px;
}

.swf-page {
  max-width: 1180px;
  background: #fff;
  border: 1px solid #e3e8ed;
  box-shadow: 0 8px 28px rgba(20, 42, 70, .08);
}

.swf-page .breadcrumb {
  margin-bottom: 26px;
}

.swf-header {
  max-width: 940px;
  margin-bottom: 30px;
}

.swf-header h1 {
  margin: 6px 0 12px;
  color: #173a6a;
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  line-height: 1.05;
}

.swf-header p {
  margin: 0;
  max-width: 860px;
  font-size: 1.18rem;
  line-height: 1.62;
  color: #313a43;
}

.swf-hero {
  display: grid;
  grid-template-columns: minmax(260px, 38%) 1fr;
  gap: 42px;
  align-items: center;
  margin: 0 0 34px;
  padding: 34px;
  background: #fff;
  border: 1px solid #dfe7ee;
  border-radius: 12px;
  box-shadow: 0 5px 18px rgba(20, 42, 70, .06);
}

.swf-hero-media {
  text-align: center;
}

.swf-hero-media img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 410px;
  margin: 0 auto;
  object-fit: contain;
}

.swf-hero-media span {
  display: block;
  margin-top: 10px;
  color: #68747d;
  font-size: .84rem;
}

.swf-new-badge {
  display: inline-block;
  margin-bottom: 9px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #a01978;
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.swf-hero-copy h2 {
  margin: 0 0 12px;
  color: #173a6a;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  line-height: 1.12;
}

.swf-hero-lead {
  margin: 0 0 20px;
  font-size: 1.08rem;
  line-height: 1.58;
}

.swf-keyfacts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0 16px;
}

.swf-keyfacts div {
  padding: 15px 12px;
  background: #f2f7fc;
  border: 1px solid #d9e6f2;
  border-radius: 8px;
  text-align: center;
}

.swf-keyfacts strong {
  display: block;
  color: #173a6a;
  font-size: 1.22rem;
}

.swf-keyfacts span {
  display: block;
  margin-top: 3px;
  color: #5d6972;
  font-size: .83rem;
}

.swf-note {
  margin: 0 0 18px;
  color: #66727b;
  font-size: .9rem;
  line-height: 1.5;
}

.swf-hopp {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 38px;
  padding: 0;
}

.swf-hopp a {
  padding: 9px 13px;
  border: 1px solid #d7e0e7;
  border-radius: 999px;
  background: #fff;
  color: #173a6a;
  text-decoration: none;
  font-weight: 650;
}

.swf-hopp a:hover {
  border-color: #173a6a;
  background: #173a6a;
  color: #fff;
}

.swf-section {
  margin: 0;
  padding: 44px 0;
  border-top: 1px solid #e4e9ed;
  background: #fff;
}

.swf-section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 16px;
}

.swf-section-heading h2,
.swf-two-col h2,
.swf-faq h2 {
  margin: 4px 0 0;
  color: #173a6a;
  line-height: 1.16;
}

.swf-wide-intro {
  max-width: 900px;
  margin: 0 0 24px;
  color: #3f4951;
  font-size: 1.02rem;
  line-height: 1.62;
}

.swf-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.swf-feature-grid article {
  padding: 21px 22px;
  border: 1px solid #dde5eb;
  border-radius: 9px;
  background: #fff;
}

.swf-feature-grid h3 {
  margin: 0 0 8px;
  color: #173a6a;
  font-size: 1.05rem;
}

.swf-feature-grid p {
  margin: 0;
  line-height: 1.58;
  color: #46515a;
}

.swf-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.swf-links a {
  padding: 8px 11px;
  border: 1px solid #d4dde4;
  border-radius: 6px;
  background: #fff;
  color: #173a6a;
  text-decoration: none;
}

.swf-links a:hover {
  background: #f1f6fa;
}

.swf-model-section {
  padding-left: 28px;
  padding-right: 28px;
  border: 1px solid #d7e4ef;
  border-radius: 12px;
  background: linear-gradient(180deg, #f9fcff 0%, #ffffff 100%);
}

.swf-phase-pill {
  flex: 0 0 auto;
  padding: 7px 11px;
  border: 1px solid #9fc4e3;
  border-radius: 999px;
  background: #eaf4fc;
  color: #173a6a;
  font-size: .8rem;
  font-weight: 800;
}

.swf-table-wrap {
  border: 1px solid #dce5eb;
  border-radius: 8px;
  overflow: hidden;
}

.swf-table thead th {
  background: #173a6a;
  color: #fff;
}

.swf-table tbody tr:nth-child(even) {
  background: #f7fafc;
}

.swf-table small {
  color: #65717b;
  font-size: .78rem;
}

.swf-230-explain {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  align-items: center;
  margin: 22px 0 0;
  padding: 17px 19px;
  border-left: 4px solid #a01978;
  background: #fff;
  box-shadow: inset 0 0 0 1px #e3e7eb;
}

.swf-230-explain strong {
  color: #173a6a;
}

.swf-230-explain span {
  line-height: 1.55;
  color: #46515a;
}

.swf-details {
  margin-top: 20px;
  border: 1px solid #dce3e8;
  border-radius: 8px;
  background: #fff;
}

.swf-details summary {
  cursor: pointer;
  padding: 14px 17px;
  color: #173a6a;
  font-weight: 750;
}

.swf-details[open] summary {
  border-bottom: 1px solid #e1e6ea;
}

.swf-details-body {
  padding: 17px;
}

.swf-two-col {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 38px;
  align-items: center;
}

.swf-sl {
  background: #fff;
}

.swf-sl-facts {
  display: grid;
  gap: 10px;
}

.swf-sl-facts div {
  padding: 17px 16px;
  border: 1px solid #dce5eb;
  border-radius: 8px;
  background: #f7fafc;
}

.swf-sl-facts strong,
.swf-sl-facts span {
  display: block;
}

.swf-sl-facts strong {
  color: #173a6a;
  font-size: 1.15rem;
}

.swf-sl-facts span {
  margin-top: 3px;
  color: #68747d;
  font-size: .84rem;
}

.swf-other {
  padding-bottom: 22px;
}

.swf-other-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 17px;
}

.swf-other-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid #dde4e9;
  border-radius: 10px;
  background: #fff;
}

.swf-other-image {
  height: 185px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}

.swf-other-image img {
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
}

.swf-other-card h3 {
  margin: 0 0 9px;
  color: #173a6a;
  font-size: 1.12rem;
}

.swf-other-card p {
  line-height: 1.55;
  color: #46515a;
}

.swf-mini-facts {
  display: grid;
  gap: 5px;
  margin: 13px 0;
  font-size: .88rem;
  color: #5b6670;
}

.swf-mini-facts strong {
  color: #173a6a;
}

.swf-details-small {
  margin-top: 16px;
}

.swf-faq {
  margin-top: 36px;
  padding: 32px 0 0;
  border-top: 1px solid #e4e9ed;
}

.swf-faq details {
  margin: 10px 0;
  border: 1px solid #dde4e9;
  border-radius: 8px;
  background: #fff;
}

.swf-faq summary {
  cursor: pointer;
  padding: 14px 16px;
  color: #173a6a;
  font-weight: 720;
}

.swf-faq details p {
  margin: 0;
  padding: 0 16px 16px;
  line-height: 1.56;
}

.swf-cta {
  margin-top: 38px;
  background: #173a6a;
}

@media screen and (max-width: 960px) {
  .swf-hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .swf-hero-media img {
    max-height: 340px;
  }

  .swf-other-grid {
    grid-template-columns: 1fr;
  }

  .swf-other-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 20px;
  }

  .swf-other-card--wide {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .swf-other-image {
    margin: 0;
  }
}

@media screen and (max-width: 760px) {
  .swf-shell {
    padding: 18px 9px 32px;
  }

  .swf-page {
    padding-left: 15px;
    padding-right: 15px;
  }

  .swf-hero {
    padding: 22px 18px;
  }

  .swf-keyfacts,
  .swf-feature-grid,
  .swf-two-col,
  .swf-other-card {
    grid-template-columns: 1fr;
  }

  .swf-model-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .swf-section-heading {
    display: block;
  }

  .swf-phase-pill {
    display: inline-block;
    margin-top: 10px;
  }

  .swf-230-explain {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .swf-other-image {
    height: auto;
  }

  .swf-hopp {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

.swf-cta {
  background: #173a6a !important;
  color: #fff !important;
}

.swf-cta h2,
.swf-cta p {
  color: #fff !important;
}

.swf-cta .btn-kontakt {
  background: #fff !important;
  color: #173a6a !important;
  border-color: #fff !important;
}

.swf-cta .btn-kontakt:hover {
  background: #eef4f9 !important;
  color: #173a6a !important;
}

/* CHAINster får full bredde */
.swf-other-card--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 24px 26px;
}

.swf-other-card--wide .swf-other-image {
  height: auto;
  margin: 0;
}

.swf-other-card--wide .swf-other-image img {
  max-height: 240px;
}

/* CHAINster-tabellen skal være stabil når details åpnes */
.swf-chainster-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #dce5eb;
  border-radius: 8px;
  background: #fff;
}

.swf-chainster-table {
  min-width: 760px;
  width: 100%;
  table-layout: auto;
}

.swf-chainster-table th,
.swf-chainster-table td {
  white-space: nowrap;
  vertical-align: middle;
}

.swf-chainster-table th:nth-child(1),
.swf-chainster-table td:nth-child(1) {
  min-width: 150px;
}

.swf-chainster-table th:nth-child(2),
.swf-chainster-table td:nth-child(2) {
  min-width: 150px;
}
