.slider {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.all-cards {
  width: 95vw;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  width: 360px;
  height: 200px;
  display: grid;
  padding: 0 5px;
  grid-template-columns: 1fr 3fr;
  grid-template-rows: 2fr 2fr 5fr 20px;
  column-gap: 10px;
  align-items: start;
  background-color: #fff;
  border-top: var(--color-blue) 12px solid;
  border-bottom: var(--color-green) 18px solid;
  outline: var(--color-yellow) 2px solid;
  border-radius: 5px;
  cursor: pointer;
}

.card:hover {
  position: relative;
  top: -3px;
  box-shadow: 3px 3px 10px var(--color-grey);
} 

.card-img {
  margin: 5px;
  grid-area: 1 / 1 / 5 / 2;
  width: 95%;
  height: 95%;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.card-img img {
  max-height: 100px;
  max-width: 100px;
}

.card-title {
  margin-top: 5px;
  grid-area: 1 / 2 / 2 / 3;
  font-size: 18px;
  text-transform: uppercase;
}

p.card-short{
  margin: 0;
  grid-area: 2 / 2 / 3 / 3;
  align-self: self-start;
  font-size: 12px;
  font-weight: 700;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.card .card-description{
  margin-bottom: 5px;
  grid-area: 3 / 2 / 4 / 3;
  font-size: 12px;
  line-height: 1.2;
}

.more {
  font-size: 12px;
  padding-left: 0;
  display: block;
  font-weight: 700;
  background-color: transparent;
  color: var(--color-green);
  border-radius: 2px;
  border: none;
  outline: none;
}
.more:hover {
  opacity: 0.7;
}

.partner-cards{
  margin-top: 40px;
}

.partner-filter{
  padding: 10px 0 5px;
  font-size: 16px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  border-bottom: 2px var(--color-yellow) solid; 
}

.partner-filter label {
  font-weight: 700;
}

.partner-menu-item {
  padding: 12px;
  border-radius: 10px;
  text-transform: uppercase;
}

.partner-menu-item-active {
  background-color: var(--color-green);
  color: var(--color-white);
}

.area-title {
  width: 100%;
  margin: 20px auto;
  padding: 10px;
  font-size: 20px;
  text-transform: uppercase;
  background-color: var(--color-green);
  color: var(--color-white);
  text-align: center;
}

.region-title {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  color: var(--color-green);
  font-weight: 700;
  text-align: center;
}

.accordeon-output-title-cards {
  width: 100%;
  padding: 5px;
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 700;
  background-color: var(--color-yellow);
}

.small-menu-card-nav {
  text-align: left;
}

.small-menu-card {
  padding-left: 0;
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 6px;
}

.small-menu-card .small-menu-item {
  padding: 0;
  
  cursor: pointer;
}  

.small-menu-item-active {
  font-weight: 700;
}

.small-menu-card .small-menu-item:hover {
  opacity: 0.7;
}

.small-menu-card > li:not(:last-child)::after {
  /*content: "•"; */
  content: "·";
  left: 3px;
  position: relative;
  top: 3px;
  color: var(--color-blue);
  font-size: 20px;
}

.small-menu-card-nav label {
  font-size: smaller;
  font-weight: 700;
}
@media  screen and  (min-width: 1000px) {
  .clear-both {
    display: none;
  }
  .future-choice {
    display: grid;
    grid-template-columns: minmax(300px, 530px) 1fr; 
    grid-template-rows: 80px 50px repeat(2, auto); 
    column-gap: 10px; 
  }
  .main-contacts-h2 {
    grid-area: 1 / 1 / 2 / 3;
  }
  figure {
    grid-area: 2 / 1 / 4 / 2;
    width: 100%;
  }
  .text {
    grid-area: 2 / 2 / 3 / 3;
  }
  .accordeon-outline {
    grid-area: 3 / 2 / 4 / 3;
  }
  .slider {
    grid-area: 4 / 1 / 5 / 3;
  }
}
@media  screen and  (max-width: 999px) {
  .partner-filter{
    width: 90%;
    flex-wrap: wrap;
  }
  .small-menu-card .small-menu-item {
    margin: 0;
  }

  .slider {
    border-top: 1px solid var(--color-yellow);
  }
}
