@charset "utf-8";

// Normalise
@forward 'normalise';

// Base
@forward 'base';

// HTML elements
@forward 'elements';

// Components
@forward 'components';

.punkt-white-bg {
  background-color: var(--pkt-color-surface-subtle-white);
}
.punkt-green-bg {
  background-color: var(--pkt-color-brand-light-green-400);
}

.punkt-frontpage {
  background-color: var(--bg-color, var(--pkt-color-brand-blue-200));
  min-height: 100vh;
}

.punkt-header {
  top: 0;
  left: 0;
  right: 0;
  position: absolute;
  padding: 2rem;
}
.punkt-header,
.punkt-header > nav,
.punkt-header__links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 3rem;
}

.punkt-header__links {
  list-style: none;
  padding: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
  column-gap: 1.5rem;
  row-gap: 0.5rem;
  a {
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    color: var(--pkt-color-brand-dark-blue-1000);
  }
}

.punkt-header__search {
  max-width: 10rem;
}

.punkt-hero--centered {
  padding: 14rem 8rem 10rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: var(--bg-color, var(--pkt-color-brand-blue-500));
  margin-bottom: -5rem;
  .punkt-hero__text {
    text-align: center;
    padding-top: 2rem;
    max-width: 45rem;
  }
}

.punkt-frontpage-links,
.punkt-article-grid {
  ul {
    padding: 0;
    list-style: none;
  }
  .pkt-linkcard {
    background-color: white;
    padding: 2.5rem;
  }
  .pkt-card {
    padding: 0;
  }
}

.punkt-promo {
  display: flex;
  padding: 4rem;
  margin: 6rem 0;
  gap: 4rem;
  align-items: center;
  background-color: var(--pkt-color-brand-yellow-500);
  .punkt-promo-text {
    flex: 1 1 auto;
  }
  .punkt-promo-icon {
    flex: 0 1 13rem;
    aspect-ratio: 1/1;
  }
}

.punkt-info-box {
  display: flex;
  > div {
    flex: 1 1 50%;
  }
}
