/* ── Country Contact Section block ──────────────────────────────────────── */

.olixir-country-contact-section {
  width: 100%;
  background: #000 url('../img/bg-contact.jpg') no-repeat center center/cover;
  padding: 5rem 0;
  min-height: 75vh;
}

.olixir-country-contact-section__inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* ── Offices ─────────────────────────────────────────────────────────────── */

.olixir-country-contact-section__offices {
  /* background: transparent url('../img/title-contact-temp.png') no-repeat center center/contain; */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 2.5rem;
  width: 50%;
  margin: 0 auto;

  .olixir-country-contact-section__offices-title {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 55vh;
    width: 100%;
    position: relative;
    color: #fff;
    font-size: 2rem;
    text-transform: uppercase;
    text-decoration: underline;

    &::before, &::after {
      position: absolute;
      left: 0;
      content: '';
      display: block;
      width: 100%;
      height: calc(50% - 28px);
    }
    &::before {
      background: url('../img/bg-title-x-top.png') no-repeat center bottom;
      background-size: contain;
      top: 0;
    }
    &::after {
      background: url('../img/bg-title-x-bottom.png') no-repeat center top;
      background-size: contain;
      bottom: 0;
    }
  }
}
.olixir-country-contact-section__office {
  display: flex;
  gap: 0.4rem;
}

.cities-2 {
  .city-1, .city-2 {
    position: relative;
    z-index: 1;
  }
  .city-1 {
      margin-top: calc(-60vh);    
  }
  .city-2 {
      margin-top: calc(40vh);    
  }
}

.olixir-country-contact-section__city {
  margin: 0;
  color: var(--paper);
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 400;
  text-transform: uppercase;
  transition: all 0.2s ease-in-out;

  &:hover {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: underline;
  }
}

.olixir-country-contact-section__email {
  color: var(--paper, #f5f0eb);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 300;
  transition: color 0.2s ease;

  &:hover {
    color: rgba(255, 255, 255, 0.65);
  }
}

/* ── Social links ────────────────────────────────────────────────────────── */

.olixir-country-contact-section__social {
  display: flex;
  width: 100%;
  justify-content: flex-end;
  gap: 1.25rem;
}

.olixir-country-contact-section__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;

  svg {
    width: 35px;
    height: 35px;
  }

  &:hover {
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.1);
    color: var(--paper, #f5f0eb);
  }
}

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .olixir-country-contact-section {
    padding: 3rem 0;
  }

  .olixir-country-contact-section__offices {
    flex-direction: column;
    gap: 2rem;
    width: 70%;
  }
}

/* ── Editor preview ──────────────────────────────────────────────────────── */

.editor-styles-wrapper .olixir-country-contact-section.is-editor-preview {
  width: min(100%, 920px);
  margin-inline: auto;
}

.editor-styles-wrapper .olixir-country-contact-section__social--editor {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
}

.editor-styles-wrapper .olixir-country-contact-section__social--editor span.olixir-country-contact-section__social-link {
  cursor: default;
}
