/* ============
 * COLUMNS
 * ============ */
.container--columns {
  display: flex;
}

.container--columns.spaced-between {
  justify-content: space-between;
}
.container--columns.centered {
  justify-content: center;
}

.container--columns > img {
  align-self: flex-start;
  max-width: 100%;
}

/*  (> phone + tablet) */
@media only screen and (max-width: 768px) {
  .container--columns {
    flex-direction: column;
  }
  .container--columns:not(.spaced) > *:not(:last-child) {
    margin-bottom: 1rem;
  }
  .container--columns.spaced > *:not(:last-child) {
    margin-bottom: 3rem;
  }
}
/*  (> desktop) */
@media only screen and (min-width: 769px) {
  .container--columns:not(.spaced) > *:not(:last-child) {
    margin-right: 1rem;
  }
  .container--columns.spaced > *:not(:last-child) {
    margin-right: 2rem;
  }
}

/* ============
 * TABS
 * ============ */
.tabs {
  margin: 1rem 0;
}

.tabs__names {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--c-border);
  justify-content: center;
  flex-wrap: wrap;
}

.tabs__names_item {
  padding-bottom: 1rem;
  cursor: pointer;
}
.tabs__names_item:not(:last-child) {
  margin-right: 1rem;
}
.tabs__names_item.on {
  color: var(--c-clickable);
}
.tabs__names_item.on:hover {
  color: var(--c-clickable--hover);
}
.tabs__names_item:not(.on) {
  color: var(--c-clickable--light);
}
.tabs__names_item:not(.on):hover {
  color: var(--c-clickable--light--hover);
}

/*  (> phone) */
@media only screen and (max-width: 480px) {
  .tabs__names_item {
    font-size: 1.2rem;
    font-weight: 300;
  }
}
/*  (> tablet + desktop) */
@media only screen and (min-width: 481px) {
  .tabs__names_item {
    font-size: 1.4rem;
    font-weight: 200;
  }
}

.tabs__loader {
  display: grid;
  place-items: center;
  height: 150px;
}

.tabs__content {
  padding: 2rem 0;
}

.tabs[data-loaded="true"] .tabs__loader {
  display: none;
}
.tabs[data-loaded="false"] .tabs__content {
  display: none;
}

/* ============
 * BLOCKS
 * ============ */
.container--light {
  padding: 1rem;
  background-color: #f2f2f2;
}
.container--light:not(:first-child) {
  margin-top: 1rem;
}
.container--light:not(:last-child) {
  margin-bottom: 1rem;
}
