/*$color-palette: (
        "orange": #FF6B35,
        "light-orange": #F7C59F,
        "lightest-orange": #EFEFD0,
        "blue": #004E89,
        "light-blue": #1A659E,
) !default;

$gradients: (
        "orange": (
                "start": #FF6B35,
                "end": #F7C59F
        ),
        "blue": (
                "start": #004E89,
                "end": #1A659E
        ),
) !default;

$orange: map-get($color-palette, "orange") !default;
$light-orange: map-get($color-palette, "light-orange") !default;
$lightest-orange: map-get($color-palette, "lightest-orange") !default;
$blue: map-get($color-palette, "blue") !default;
$light-blue: map-get($color-palette, "light-blue") !default;*/
.block--locations {
  --card-count: 4;
}

.block--locations .cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 0;
}

.block--locations .cards > .card {
  flex: 1 1 var(--card-width, 100%);
  max-width: var(--card-width, 100%);
  align-self: stretch;
  padding: 0 calc(0.5 * var(--bs-gutter-x));
}

@media (min-width: 768px) {
  .block--locations .cards > .card {
    --card-width: 50%;
  }
}
@media (min-width: 992px) {
  .block--locations .cards > .card {
    --card-width: calc(100% / (var(--card-count, 4) - 1)) ;
  }
}
@media (min-width: 1200px) {
  .block--locations .cards > .card {
    --card-width: calc(100% / var(--card-count, 4));
  }
}
.block--locations .cards > .card .card-body {
  height: 100%;
}

.block--locations .card-linkedin {
  float: right;
  display: inline-block;
  background-color: var(--bs-secondary);
  color: var(--bs-white);
  padding: 0.4rem;
  border-radius: 50%;
  transition: border-radius 0.15s ease-in-out;
}

.block--locations .card-linkedin:hover {
  border-radius: var(--bs-border-radius);
}

.block--locations .card-linkedin svg {
  width: 0.8rem;
  height: 0.8rem;
  display: block;
}

.editor-styles-wrapper .block--locations {
  --card-width: 100%;
}

@media (min-width: 768px) {
  .editor-styles-wrapper .block--locations {
    --card-width: calc(100% / max(1, (var(--card-count, 4) - 2))) ;
  }
}
@media (min-width: 992px) {
  .editor-styles-wrapper .block--locations {
    --card-width: calc(100% / (var(--card-count, 4) - 1)) ;
  }
}
@media (min-width: 1200px) {
  .editor-styles-wrapper .block--locations {
    --card-width: calc(100% / var(--card-count, 4));
  }
}
