/*
 * The ARVID style on top of arvid-website.css, which is the Webflow export and
 * is overwritten on a new export. Two parts: the homepage blocks (home-*) and,
 * at the bottom, the blocks of the export restyled so every page matches.
 * Breakpoints follow the export: 991px and 767px.
 */
:root {
  --home-primary: var(--_colors---main-colors--primary, #023567);
  --home-accent: var(--_colors---main-colors--secondary, #00a8a8);
  --home-accent-on-light: #00706f;
  --home-accent-on-dark: #6fdede;
  --home-text: #2b3744;
  --home-text-on-dark: #d6e2ee;
  --home-gray: #f1f5f9;
  --home-border: #d5dde6;
}

.home-container {
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.home-section {
  width: 100%;
  padding: 5rem 0;
}

.home-section--gray {
  background-color: var(--home-gray);
}

.home-section--dark {
  background-color: var(--home-primary);
  color: #fff;
}

.home-label {
  color: var(--home-accent-on-light);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 0 0 .75rem;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.5;
}

.home-label--on-dark {
  color: var(--home-accent-on-dark);
}

.home-h2 {
  color: var(--home-primary);
  letter-spacing: -.01em;
  margin: 0 0 2.5rem;
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.15;
}

.home-h3 {
  color: inherit;
  margin: 0 0 .5rem;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.25;
}

.home-text {
  color: var(--home-text);
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.home-text:last-child {
  margin-bottom: 0;
}

.home-section--dark .home-h2 {
  color: #fff;
}

.home-section--dark .home-text {
  color: var(--home-text-on-dark);
}

.home-grid {
  display: grid;
  gap: 2.5rem 4rem;
}

.home-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Hero */
.home-hero {
  background-color: var(--home-primary);
  color: #fff;
  width: 100%;
  padding: 5rem 0;
}

.home-hero_grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.home-hero_heading {
  color: #fff;
  letter-spacing: -.01em;
  margin: 0 0 1.5rem;
  font-size: 3.25rem;
  font-weight: 600;
  line-height: 1.12;
}

.home-hero_text {
  color: var(--home-text-on-dark);
  margin: 0 0 2rem;
  font-size: 1.1875rem;
  line-height: 1.6;
}

.home-hero_actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.home-btn {
  background-color: #fff;
  color: var(--home-primary);
  border: 2px solid #fff;
  border-radius: .5rem;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  display: inline-flex;
}

.home-btn--outline {
  background-color: transparent;
  color: #fff;
  border-color: #8fb0d0;
}

.home-panel {
  background-color: #0a4078;
  border: 1px solid #2f5a86;
  border-radius: .75rem;
  padding: 2.25rem;
}

.home-panel_heading {
  margin: 0 0 1.5rem;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.25;
}

.home-panel_bar {
  border-radius: .375rem;
  height: 3.25rem;
  margin-bottom: .75rem;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  overflow: hidden;
}

.home-panel_system {
  background-color: #fff;
  color: var(--home-primary);
  flex: 0 0 80%;
  align-items: center;
  padding-left: 1rem;
  display: flex;
}

.home-panel_rest {
  background-color: var(--home-accent);
  color: #012a2a;
  flex: 0 0 20%;
  justify-content: center;
  align-items: center;
  display: flex;
}

.home-panel_tags {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .5rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  display: flex;
}

.home-panel_tags li {
  border: 1px solid var(--home-accent-on-dark);
  border-radius: .25rem;
  padding: .375rem .75rem;
  font-size: .9375rem;
  font-weight: 600;
}

.home-panel_text {
  color: var(--home-text-on-dark);
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.5;
}

/* Trust strip */
.home-trust {
  border-bottom: 1px solid var(--home-border);
  width: 100%;
  padding: 2rem 0;
}

.home-trust_grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-trust_item {
  padding: 0 2rem;
}

.home-trust_item:first-child {
  padding-left: 0;
}

.home-trust_item + .home-trust_item {
  border-left: 1px solid var(--home-border);
}

.home-trust_title {
  color: var(--home-primary);
  margin: 0 0 .25rem;
  font-size: 1.375rem;
  font-weight: 600;
}

.home-trust_text {
  color: var(--home-text);
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

/* Recognition */
.home-point {
  border-top: 3px solid var(--home-primary);
  gap: 1.5rem;
  padding-top: 1.5rem;
  display: flex;
}

.home-point_number {
  color: var(--home-accent-on-light);
  flex: none;
  width: 2.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

/* First step */
.home-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 5rem;
  align-items: center;
}

.home-split .home-h2 {
  margin-bottom: 1.5rem;
}

.home-split .btn-primary {
  margin-top: .5rem;
}

.home-receive {
  color: var(--home-primary);
  margin: 0 0 1rem;
  font-size: 1.0625rem;
  font-weight: 600;
}

.home-steps {
  counter-reset: home-step;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

.home-step {
  counter-increment: home-step;
  background-color: #fff;
  border-radius: .625rem;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 1.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  display: flex;
}

.home-step::before {
  content: counter(home-step);
  color: var(--home-primary);
  flex: none;
  width: 1.75rem;
  font-size: 1.75rem;
}

/* Cases */
.home-case {
  border: 1px solid var(--home-border);
  border-radius: .75rem;
  display: grid;
  grid-template-columns: 20rem minmax(0, 1fr);
  overflow: hidden;
}

.home-case + .home-case {
  margin-top: 2rem;
}

.home-case_stat {
  background-color: var(--home-primary);
  color: #fff;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.25rem;
  display: flex;
}

.home-case_figure {
  margin: 0;
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.1;
}

.home-case_figure span {
  color: var(--home-text-on-dark);
  margin-top: .5rem;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.4;
  display: block;
}

.home-case_body {
  padding: 2.5rem 3rem;
}

.home-case_body .home-h3 {
  color: var(--home-primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* Viewpoints */
.home-viewpoint {
  border-top: 3px solid var(--home-accent);
  padding-top: 1.5rem;
}

/* About */
.home-about {
  max-width: 52rem;
}

.home-about .home-h2 {
  margin-bottom: 1.5rem;
}

@media screen and (max-width: 991px) {
  .home-hero_grid,
  .home-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
  }

  .home-hero_heading {
    font-size: 2.5rem;
  }

  .home-grid--3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-case {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media screen and (max-width: 767px) {
  .home-hero_heading {
    font-size: 2.125rem;
  }

  .home-h2 {
    margin-bottom: 2rem;
    font-size: 1.75rem;
  }

  .home-grid--2,
  .home-trust_grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-trust_item,
  .home-trust_item:first-child {
    padding: 1rem 0;
  }

  .home-trust_item + .home-trust_item {
    border-top: 1px solid var(--home-border);
    border-left: 0;
  }

  .home-hero_actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-panel,
  .home-case_stat,
  .home-case_body {
    padding: 1.5rem;
  }

  .home-panel_system {
    font-size: .875rem;
  }
}

/*
 * The "all articles" button under the latest posts sat flush against the
 * cards: the Webflow export gives .hero_actions no space above it.
 */
.diensten_grid + .hero_actions {
  margin-top: 2.5rem;
}

/* ==========================================================================
   Site wide: the blocks of the Webflow export in the new style, so every page
   matches the homepage without a second set of views.
   ========================================================================== */

/* Page headers: dark, like the homepage hero. */
.hero,
.hero.c-light,
.page-hero,
.page-header {
  background-color: var(--home-primary);
  background-image: none;
  color: #fff;
}

.hero {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.hero_h1,
.page-hero h1,
.page-header .section-h2 {
  color: #fff;
  letter-spacing: -.01em;
  font-weight: 600;
}

.hero_text,
.page-header .section-desc {
  color: var(--home-text-on-dark);
}

.hero_text .link {
  color: #fff;
}

.hero .btn-primary {
  background-color: #fff;
  color: var(--home-primary);
}

.hero .btn-outline {
  color: #fff;
  border-color: #8fb0d0;
}

/* Labels: plain text instead of a pill with an icon. */
.hero_badge,
.section-label {
  color: var(--home-accent-on-light);
  letter-spacing: .12em;
  background-color: transparent;
  border-radius: 0;
  padding: 0;
  font-size: .875rem;
  font-weight: 600;
}

.hero_badge svg {
  display: none;
}

.hero .hero_badge,
.visie .hero_badge,
.page-header .section-label {
  color: var(--home-accent-on-dark);
}

/* Headings in the primary colour, body text dark enough to read. */
:where(.main) :is(h1, h2, h3) {
  color: var(--home-primary);
}

.section-h2,
.contact_h2,
.card_title,
.stap_title {
  color: var(--home-primary);
}

.section-h2,
.contact_h2,
.visie_h2,
.cta_h2 {
  letter-spacing: -.01em;
  font-weight: 600;
}

.card_text,
.section-desc,
.stap_text,
.contact_desc {
  color: var(--home-text);
}

.card_link,
.contact_detail-label {
  color: var(--home-accent-on-light);
}

.cta_text,
.visie_text,
.visie_list-text {
  color: var(--home-text-on-dark);
}

.page-header .diensten_header {
  margin-bottom: 0;
}

/*
 * One rhythm for every block: 5rem above and below at every width, and on a
 * phone the same 2rem gutter as the homepage. The Webflow .section takes its
 * padding from variables that shrink on small screens; those variables also
 * drive the navigation and the footer, so the override sits on the blocks.
 */
.section,
.page-hero {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* The blog header lines up with the grid of articles below it. */
.page-header > .container-medium {
  max-width: 75rem;
  padding-left: 2rem;
  padding-right: 2rem;
}

@media screen and (max-width: 767px) {
  .section,
  .page-hero {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  /* These containers bring their own 2rem; inside a .section that doubles it. */
  .section .faq_container,
  .section .contact_container,
  .page-header > .container-medium {
    padding-left: 0;
    padding-right: 0;
  }
}
