
/* TERRA CONTACTS — власні стилі сторінки */

.terra-contacts-page {
  width:100%;
  background:#f2f2f2;
  padding-bottom:25px;
  box-sizing:border-box;
}

.terra-contacts-header {
  padding:13px 10px;
  text-align:center;
  background:#075c31;
  color:#fff;
  font-size:17px;
  font-weight:600;
}

.terra-contacts-container {
  max-width:1320px;
  padding:15px 14px 25px;
  margin:0 auto;
  box-sizing:border-box;
}

.terra-contacts-tabs {
  display:flex;
  gap:3px;
  margin:0 0 -1px 12px;
  position:relative;
  z-index:2;
}

.terra-contacts-tab {
  width:125px;
  height:36px;
  border:1px solid #999;
  border-radius:12px 12px 0 0;
  background:#bdbdbd;
  color:#555;
  cursor:pointer;
  font-size:14px;
}

.terra-contacts-tab.is-active {
  background:#a8eeb5;
  color:#147d35;
  border-color:#4aaf67;
}

.terra-contacts-panel {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:22px;
  padding:20px 22px;
  border:1px solid #e4e4e4;
  border-radius:13px;
  background:#fff;
  align-items:start;
}

.terra-contacts-left,
.terra-contacts-right {
  min-width:0;
}

.terra-contacts-place {
  margin:0 0 13px;
  color:#279d44;
  font-size:20px;
  font-weight:500;
  line-height:1.3;
  text-align:center;
}

.terra-contacts-right {
  padding-top:7px;
}

.terra-contacts-image {
  display:block;
  width:100%;
  max-width:100%;
  height:auto;
  object-fit:contain;
}

.terra-contacts-left .terra-contacts-image {
  border:1px solid #e6e6e6;
  box-sizing:border-box;
}

.terra-contacts-fasad {
  margin-top:17px;
  overflow:hidden;
  border-radius:12px;
}

.terra-contacts-fasad .terra-contacts-image {
  width:100%;
  border-radius:12px;
}

.terra-contacts-missing,
.terra-contacts-message {
  background:#fff;
  padding:25px 15px;
  border-radius:10px;
  text-align:center;
  color:#777;
}

@media(max-width:650px) {
  .terra-contacts-container {
    padding:10px;
  }

  .terra-contacts-panel {
    grid-template-columns:1fr;
    padding:15px;
    gap:15px;
  }

  .terra-contacts-tab {
    width:100px;
  }

  .terra-contacts-place {
    font-size:16px;
  }
}
