/**
* Services and gallery responsive layout
**/
.tte-service-intro-row {
  align-items: stretch;
  row-gap: 34px;
}

.tte-services-overview .tte-titles {
  margin-bottom: 18px;
}

.tte-services-overview .tte-text {
  max-width: 520px;
}

.tte-service-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  height: 100%;
}

.tte-service-highlight {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  background: #F4EBDD;
  border: 1px solid rgba(36, 33, 30, 0.12);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(36, 33, 30, 0.08);
}

.tte-service-highlight-image {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: rgba(36, 33, 30, 0.08);
}

.tte-service-highlight-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tte-service-highlight-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 22px 26px;
}

.tte-service-highlight-copy i {
  margin-bottom: 12px;
  font-size: 34px;
  line-height: 1;
  color: #315A7D;
}

.tte-service-highlight-copy h4,
.tte-service-offer h4 {
  margin: 0 0 8px;
  font-family: "Oswald";
  font-size: 23px;
  line-height: 1.2;
  font-weight: 500;
  text-transform: uppercase;
}

.tte-service-highlight-copy p,
.tte-service-offer p {
  margin: 0;
  color: rgba(36, 33, 30, 0.78);
  line-height: 1.65;
}

.tte-service-offerings .tte-titles {
  margin-bottom: 38px;
}

.tte-service-offer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.tte-service-offer {
  display: flex;
  align-items: flex-start;
  min-width: 0;
  min-height: 150px;
  gap: 16px;
  padding: 28px 24px;
  background: #F4EBDD;
  border: 1px solid rgba(36, 33, 30, 0.12);
  border-radius: 8px;
}

.tte-service-offer i {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-size: 28px;
  color: #F4EBDD;
  background: #315A7D;
  border-radius: 50%;
}

.tte-service-offer > div {
  min-width: 0;
}

.tte-gallery-items {
  min-height: 1px;
}

.tte-gallery-col {
  padding-bottom: 30px;
}

.tte-gallery-item {
  overflow: hidden;
  border-radius: 8px;
  background: #24211E;
}

.tte-gallery-item .image {
  overflow: hidden;
}

.tte-gallery-item .desc {
  max-width: 100%;
}

.tte-gallery-item .value {
  max-width: min(100%, calc(100vw - 72px));
  white-space: normal;
}

.tte-blog-grid-item,
.tte-blog-grid-item .desc,
.tte-blog-grid-item .desc .name,
.tte-blog-grid-item .desc .name a {
  min-width: 0;
  max-width: 100%;
}

.tte-blog-grid-item .desc .name {
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.tte-blog-grid-item .desc .name a {
  display: block;
  color: #F4EBDD !important;
  overflow-wrap: anywhere;
  word-break: normal;
}

@media screen and (min-width: 768px) and (max-width: 1199px) {
  .tte-blog-grid-item .desc {
    padding: 22px 20px 46px;
  }

  .tte-blog-grid-item .desc .name {
    font-size: clamp(18px, 2.1vw, 22px);
    line-height: 1.28;
  }
}

@media screen and (min-width: 1200px) {
  .tte-blog-grid-item .desc {
    padding-bottom: 52px;
  }

  .tte-blog-grid-item .desc .name {
    font-size: 24px;
    line-height: 1.28;
  }
}

@media screen and (max-width: 1199px) {
  .tte-service-highlight-grid {
    gap: 18px;
  }

  .tte-service-highlight-copy {
    padding: 22px 18px 24px;
  }

  .tte-service-offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 991px) {
  .tte-services-overview .tte-text {
    max-width: 760px;
  }

  .tte-service-highlight-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tte-service-highlight-copy h4,
  .tte-service-offer h4 {
    font-size: 21px;
  }
}

@media screen and (max-width: 767px) {
  .tte-services-overview,
  .tte-service-offerings,
  .section.tte-gallery {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .tte-service-highlight-grid,
  .tte-service-offer-grid {
    grid-template-columns: 1fr;
  }

  .tte-service-highlight {
    height: auto;
  }

  .tte-service-highlight-image {
    aspect-ratio: 16 / 10;
  }

  .tte-service-highlight-copy,
  .tte-service-offer {
    padding: 22px 18px;
  }

  .tte-service-offer {
    min-height: 0;
  }

  .tte-gallery-items.row {
    height: auto !important;
    min-height: 0 !important;
    margin-left: -8px;
    margin-right: -8px;
  }

  .tte-gallery-col {
    padding-left: 8px;
    padding-right: 8px;
    padding-bottom: 16px;
  }

  .tte-gallery-item {
    margin-top: 0;
  }

  .tte-gallery-item .image {
    aspect-ratio: 4 / 3;
    height: auto !important;
  }

  .tte-gallery-item .image:after {
    background: linear-gradient(180deg, rgba(36, 33, 30, 0) 35%, rgba(36, 33, 30, 0.78) 100%);
    opacity: 1;
  }

  .tte-gallery-item .desc {
    padding: 18px;
  }

  .tte-gallery-item .value {
    opacity: 1;
    transform: translateY(0);
    -webkit-transform: translateY(0);
  }
}

@media screen and (max-width: 575px) {
  .tte-filter {
    justify-content: flex-start;
    gap: 8px;
  }

  .tte-filter a {
    flex: 1 1 calc(50% - 8px);
    min-width: 132px;
    text-align: center;
  }

  .tte-service-offer {
    gap: 14px;
  }

  .tte-service-offer i {
    width: 42px;
    height: 42px;
    font-size: 24px;
  }

  .tte-gallery-item .desc {
    padding: 14px;
  }

  .tte-gallery-item .name .value {
    font-size: 17px;
    line-height: 1.25;
  }

  .tte-gallery-item .subname .value {
    font-size: 13px;
    line-height: 1.25;
  }
}

/* Contact page */
.tte-contact-page {
  background: #fff;
  padding-bottom: 54px;
}

.tte-contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 36px;
}

.tte-contact-heading .tte-subtitle {
  margin-bottom: 8px;
}

.tte-contact-heading .tte-title {
  margin: 0;
  line-height: 1.05;
}

.tte-contact-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
  text-align: right;
}

.tte-contact-summary p {
  max-width: 560px;
  margin: 0;
  line-height: 1.65;
}

.tte-contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.tte-contact-card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none !important;
}

.tte-contact-card-link:hover,
.tte-contact-card-link:focus {
  color: inherit;
  text-decoration: none !important;
}

.tte-contact-page .tte-contacts-items {
  margin-top: 0;
}

.tte-contact-page .tte-contacts-items.row {
  row-gap: 24px;
}

.tte-contact-page .tte-contacts-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  min-height: 0;
  margin-top: 0;
  padding: 32px 26px;
  text-align: left;
  border: 1px solid rgba(201, 166, 122, 0.45);
  border-radius: 8px;
  background: #f4ebdd;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.tte-contact-card-link[href] .tte-contacts-item {
  cursor: pointer;
}

.tte-contact-card-link[href]:hover .tte-contacts-item,
.tte-contact-card-link[href]:focus .tte-contacts-item {
  transform: translateY(-4px);
  border-color: rgba(49, 90, 125, 0.35);
  box-shadow: 0 16px 34px rgba(22, 18, 16, 0.1);
}

.tte-contact-page .tte-contacts-item .image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #315a7d;
}

.tte-contact-page .tte-contacts-item .image i {
  color: #f4ebdd;
  font-size: 30px;
  line-height: 1;
}

.tte-contact-page .tte-contacts-item .desc {
  width: 100%;
}

.tte-contact-page .tte-contacts-item .name {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
}

.tte-contact-page .tte-contacts-item ul li {
  padding: 0;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.tte-contact-page .tte-contacts-item ul li:after {
  display: none;
}

.tte-contact-map-section {
  padding-top: 0;
  background: #fff;
}

.tte-contact-map-section .tte-map-frame {
  overflow: hidden;
  margin-top: 0 !important;
  line-height: 0;
  border: 1px solid rgba(201, 166, 122, 0.6);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(22, 18, 16, 0.08);
}

.tte-contact-map-section iframe {
  display: block;
  width: 100%;
  height: 460px;
}

@media screen and (max-width: 991px) {
  .tte-contact-hero {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
  }

  .tte-contact-summary {
    align-items: flex-start;
    text-align: left;
  }

  .tte-contact-actions {
    justify-content: flex-start;
  }

  .tte-contact-map-section iframe {
    height: 400px;
  }
}

@media screen and (max-width: 767px) {
  .tte-contact-page {
    padding-bottom: 38px;
  }

  .tte-contact-hero {
    margin-bottom: 26px;
  }

  .tte-contact-heading .tte-title {
    font-size: 34px;
  }

  .tte-contact-page .tte-contacts-items.row {
    row-gap: 18px;
  }

  .tte-contact-page .tte-contacts-item {
    padding: 24px 20px;
  }

  .tte-contact-page .tte-contacts-item .image {
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
  }

  .tte-contact-page .tte-contacts-item .image i {
    font-size: 27px;
  }

  .tte-contact-page .tte-contacts-item .name {
    font-size: 20px;
  }

  .tte-contact-map-section iframe {
    height: 330px;
  }
}

@media screen and (max-width: 575px) {
  .tte-contact-actions {
    width: 100%;
  }

  .tte-contact-actions .tte-btn {
    width: 100%;
  }
}

/* Shared inner page heading */
.tte-page-title-band .tte-page-heading-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(26px, 7vw, 118px);
  width: 100%;
}

.tte-page-title-band .tte-page-heading-wrap .tte-titles {
  flex: 0 1 auto;
  width: auto;
  min-width: 0;
  max-width: min(100%, 780px);
}

.tte-page-title-band .tte-page-header-arrow {
  position: static;
  flex: 0 0 auto;
  width: clamp(46px, 5vw, 72px);
  height: clamp(76px, 9vw, 132px);
  transform: none;
}

@media screen and (max-width: 767px) {
  .tte-page-title-band .tte-page-heading-wrap {
    gap: 14px;
  }

  .tte-page-title-band .tte-page-header-arrow {
    width: 26px;
    height: 44px;
  }

  .tte-page-title-band .tte-h-title {
    font-size: clamp(30px, 11vw, 44px) !important;
    line-height: 1.08;
  }
}

@media screen and (max-width: 360px) {
  .tte-page-title-band .tte-page-heading-wrap {
    gap: 10px;
  }

  .tte-page-title-band .tte-page-header-arrow {
    width: 22px;
    height: 38px;
  }
}
