
.section--contacts .content--container {
   padding-top: 26px;
   padding-bottom: 0;
}
.section--contacts h2 {
   margin-bottom: 36px;
}


.contacts--filters {
    margin-bottom: 32px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 80px;
}

.contacts--country_selector,
.contacts--filters_spacer {
   min-width: 200px;
   flex-grow: 1;
}
.contacts--country_selector {
   max-width: 400px;
}
.contacts--countries {
   width: 100%;
   opacity: 0;
} 
.contacts--filters .select2-container--default.select2-container {
   width: 100% !important;
}

.contacts--selector {
   display: flex;
   flex-direction: row;
   flex-wrap: nowrap;
   justify-content: flex-start;
   gap: 2px;
   height: 42px;
   border-radius: 21px;
   background: var(--Soft-Bg);
}
.contacts--selector_button {
    background-color: transparent;
    border: none;
    color: var(--Dark-Grey);
    font-weight: 350;
}
.contacts--selector_button.contacts--selector_current {
    background-color: var(--Dark-Violet);
    color: var(--White);
    font-weight: 500;
    cursor: default;
}

@media (hover: hover) {
    .contacts--selector_button:not(.contacts--selector_current):hover {
        background-color: var(--Soft-Grey);
    }
}



.contact--item {
   display: flex;
   flex-direction: row;
   align-items: stretch;
   justify-content: flex-start;
   flex-wrap: nowrap;
   padding: 32px;
   margin-bottom: 16px;
   border: 1px solid var(--Soft-Grey);
}
   .contact--item.contact--item_grey {
      background-color: var(--Soft-Bg);
      border-color: var(--Light-Grey);
   }
   .contact--item_grey .contact--left {
      border-right-color: var(--Light-Grey);
   }

.contact--column_0 {
   width: 22%;
   padding-right: 25px;
   margin-right: 64px;
}
.contact--column_1_2_3 {
   width: 50%;
}
.contact--column_1 {
   width: 40%;
   padding-right: 90px;
}
.contact--column_2_3 {
   width: 60%;
}
.contact--column_2 {
   width: 62%;
   padding-right: 90px;
}
.contact--column_3 {
   width: 38%;
}


.contact--title {
   display: flex;
   flex-direction: column;
   height: 100%;
   min-height: 220px;
}
.contact--title h3 {
   font-size: 24px;
   font-style: normal;
   font-weight: 500;
   line-height: 1.3em;
   letter-spacing: 0.01em;
   color: var(--Black);
   margin-bottom: 8px;
}
   .contact--location {
      display: flex;
      flex-wrap: nowrap;
      gap: 5px;
      margin-left: -6px;
   }
   .contact--location_icon {
      flex-grow: 0;
   }
   .contact--location_icon .line {
      stroke:var(--Black);
   }
   .contact--location_text {
      padding-top: 1px;
      font-size: 14px;
      font-style: normal;
      font-weight: 450;
      line-height: 1.6em;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      color: var(--Black);
   }
   .contact--fitting {
      flex-grow: 1;
   }
   .contact--button {
      margin-top: 64px;
      background-color: transparent;
      max-width: fit-content;
   }
   .contact--button_bottom {
      display: none;
   }

.contact--accord {
   display: none;
   width: 40px;
   height: 40px;
   padding: 8px;
   top: -4px;
   right: -8px;
   cursor: pointer;
}
   .contact--accord svg {
      width: 100%;
      height: auto;
   }
   .contact--accord .svg_plus {
      stroke-width: 1px;
      stroke: var(--Black);
   }
   @media (hover: hover) {
      .contact--accord:hover .svg_plus {
         stroke: var(--Dark-Violet);
      }
   }

.contact--info:not(:last-child) {
   margin-bottom: 40px;
}
.contact--column_0 .contact--info {
   margin-bottom: 20px;
}
   .contact--info_label {
      font-size: 14px;
      font-style: normal;
      font-weight: 500;
      line-height: 1.6em;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      color: var(--Black);
      margin-bottom: 8px;
   }
   .contact--info_label.contact--no_margin {
      margin-bottom: 0;
   }
   .contact--info p {
      font-size: 14px;
      font-style: normal;
      font-weight: 350; 
      line-height: 1.6em;
      letter-spacing: 0.05em;
      color: var(--Solid-Grey);
   }
      .contact--info a {
         font-weight: 500;
      }
      @media (hover: hover) {
         .contact--info a:hover {
               color: var(--Dark-Violet);
         }
      }


.contact--left {
   display: flex;
   flex-direction: row;
   align-items: flex-start;
   justify-content: flex-start;
   flex-wrap: wrap;
   border-right: 1px solid var(--Soft-Grey);
   flex-grow: 0;
}
.contact--right {
   display: flex;
   flex-direction: row;
   align-items: flex-start;
   justify-content: flex-start;
   flex-wrap: wrap;
   flex-grow: 1;
}
.contact--right_double {
   display: flex;
   flex-direction: row;
   align-items: flex-start;
   justify-content: flex-start;
   flex-wrap: wrap;
}



@media (max-width: 1200px) {
   .contacts--filters {
      flex-direction: column;
      flex-wrap: wrap;
      justify-content: flex-start;
      gap: 8px;
      width: 100%;
   }
   .contacts--country_selector {
      order: 2;
      flex-grow: 0;
      width: 250px;
   }
   .contacts--filters_spacer {
      display: none;
   }
   .contacts--selector {
      order: 1;
   }
   .contacts--selector_button {
      flex-grow: 1;
   }
}


@media (max-width: 1120px) {
   .contacts--country_selector {
      min-width: 300px;
   }
   .contacts--filters {
      gap: 32px;
   }
   .contacts--selector {
      flex-direction: column;
      flex-wrap: wrap;
      gap: 8px;
      height: unset;
      border-radius: unset;
      background: none;
      width: 100%;
   }
   .contacts--selector_button {
      background-color: var(--Soft-Bg);
      border-radius: 21px;
      width: 100%;
   }

   .contact--column_0 {
      width: 30%;
   }
   .contact--column_1 {
      width: 50%;
      padding-right: 90px;
   }
   .contact--column_2_3 {
      width: 50%;
      flex-direction: column;
   }
   .contact--column_2 {
      width: 100%;
      padding-right: 0;
   }
   .contact--column_3 {
      width: 100%;
   }
   .contact--column_2 .contact--info {
      margin-bottom: 40px;
   }
}
@media (max-width: 950px) {
   .section--contacts h2 {
      margin-bottom: 28px;
   }
    .contact--column_1_2_3 {
        flex-direction: column;
    }
    .contact--column_0 {
        width: 40%;
    }
    .contact--column_1 {
        width: 100%;
        padding-right: 0;
    }
    .contact--column_2_3 {
        width: 100%;
    }
    .contact--column_1 .contact--info {
        margin-bottom: 40px;
    }
}


@media (max-width: 768px) {

   .contacts--filters {
      gap: 16px;
   }
   .contacts--country_selector {
      width: 100%;
      max-width: unset;
   }

   .contact--item.contact--accord_open .contact--column_1_2_3 {
      display: flex;
   }
   .contact--column_0 {
      width: 100%;
      padding-right: 0;
      margin-right: 0;
   }
   .contact--column_0 .contact--info {
      margin-bottom: 8px;
   }
   .contact--column_1_2_3 {
      width: 100%;
      display: none;
   }
   .contact--accord {
      display: block;
      position: absolute;
   }
   .contact--item {
      flex-wrap: wrap;
      padding: 28px;
   }
   .contact--left {
      display: block;
      position: relative;
      border-right: none;
      padding-bottom: 16px;
      margin-bottom: 16px;
      padding-right: 72px;
      border-bottom: 1px solid var(--Soft-Grey);
   }
   .contact--item_grey .contact--left {
      border-bottom-color: var(--Light-Grey);
   }
   .contact--button_top, 
   .contact--fitting {
      display: none;
   }
   .contact--title {
      min-height: unset;
   }
   .contact--item .contact--right .contact--info {
      margin-bottom: 24px;
   }
   .contact--button_bottom {
      display: flex;
      margin-top: 8px;
   } 
}
@media (max-width: 650px) {
   .section--contacts .content--container {
      padding-bottom: 20px;
   }
}
@media (max-width: 500px) {
   .section--contacts .content--container {
      padding-top: 24px;
   }
   .section--contacts h2 {
      margin-bottom: 24px;
   }
   .contact--item {
      padding: 24px;
   }
   .contact--button_bottom {
      width: 100%;
      max-width: unset;
   } 
}
