/**
 * TH Site Fixes - site customizations moved from the child theme.
 */
/* LaStudioKit Posts: custom "News MH" preset for the home news block. */
.lakit-posts.preset-news-mh {
  --mh-news-gap: 10px;
  --mh-news-image-width: 46%;
  --mh-news-title-size: 13px;
  --mh-news-title-line-height: 1.18;
  --mh-news-meta-size: 10px;
}

.lakit-posts.preset-news-mh .lakit-posts__list {
  align-items: stretch;
}

.lakit-posts.preset-news-mh .lakit-posts__outer-box,
.lakit-posts.preset-news-mh .mh-news-card {
  height: 100%;
}

.lakit-posts.preset-news-mh .mh-news-card {
  display: flex;
  align-items: stretch;
  gap: var(--mh-news-gap);
  padding: 0;
  background: transparent;
  border: 0;
}

.lakit-posts.preset-news-mh .mh-news-card__thumb {
  display: block;
  flex: 0 0 var(--mh-news-image-width);
  max-width: 150px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.lakit-posts.preset-news-mh .mh-news-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lakit-posts.preset-news-mh .mh-news-card__body {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.lakit-posts.preset-news-mh .mh-news-card__title {
  width: 100%;
  margin: 0;
  font-size: var(--mh-news-title-size);
  line-height: var(--mh-news-title-line-height);
  font-weight: 600;
  letter-spacing: 0;
}

.lakit-posts.preset-news-mh .mh-news-card__title a {
  color: inherit;
}

.lakit-posts.preset-news-mh .mh-news-card__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  margin-bottom: 16px;
  color: currentColor;
  font-size: 30px;
  line-height: 1;
  text-decoration: none;
}

.lakit-posts.preset-news-mh .mh-news-card__body--no-arrow .mh-news-card__meta {
  margin-top: auto;
}

.lakit-posts.preset-news-mh .mh-news-card__meta {
  width: 100%;
  padding-bottom: 8px;
  border-bottom: 1px solid currentColor;
  color: currentColor;
  font-size: var(--mh-news-meta-size);
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.lakit-posts.preset-news-mh .mh-news-card__meta .lakit-posts__floating_category,
.lakit-posts.preset-news-mh .mh-news-card__meta .lakit-posts__floating_date {
  position: static;
  inset: auto;
}

.lakit-posts.preset-news-mh :where(.mh-news-card__meta .lakit-posts__floating_date) {
  width: auto;
  height: auto;
  background: transparent;
  color: inherit;
  border-radius: 0;
}

.lakit-posts.preset-news-mh .mh-news-card__meta .lakit-posts__floating_category,
.lakit-posts.preset-news-mh .mh-news-card__meta .lakit-posts__floating_category-inner,
.lakit-posts.preset-news-mh .mh-news-card__meta .lakit-posts__floating_date,
.lakit-posts.preset-news-mh .mh-news-card__meta .lakit-posts__floating_date-inner {
  display: inline-flex;
  align-items: baseline;
  line-height: inherit;
  text-align: inherit;
}

.lakit-posts.preset-news-mh .lakit-posts__floating_category :where(a) {
  background: transparent;
  color: inherit;
  padding: 0;
  border-radius: 0;
}

.lakit-posts.preset-news-mh .mh-news-card__date {
  text-transform: none;
}

@media (max-width: 1024px) {
  .lakit-posts.preset-news-mh {
    --mh-news-image-width: 44%;
  }
}

@media (max-width: 767px) {
  .lakit-posts.preset-news-mh .mh-news-card {
    gap: 14px;
  }

  .lakit-posts.preset-news-mh .mh-news-card__thumb {
    flex-basis: 42%;
  }
}

/* LaStudioKit Projects: Product-like thumbnail quickview action zone. */
.elementor-lakit-projects .lakit-posts__thumbnail {
  position: relative;
}

.lakit-projects__image-zone {
  --lakit-zone-gap: 8px;
  --lakit-zone-offset: 16px;
  position: absolute;
  z-index: 4;
  display: flex;
  flex-flow: var(--lakit-zone-direction, row) wrap;
  gap: var(--lakit-zone-gap);
  width: var(--lakit-zone-width, auto);
  max-width: calc(100% - (var(--lakit-zone-offset) * 2));
  margin: var(--lakit-zone-margin, 0);
  padding: var(--lakit-zone-padding, 0);
  border-radius: var(--lakit-zone-radius, 0);
  background: var(--lakit-zone-bg, transparent);
  color: var(--lakit-zone-color, inherit);
}

.lakit-projects__image-zone--center-center,
.lakit-projects__image-zone--center-left,
.lakit-projects__image-zone--center-right {
  top: 50%;
  transform: translateY(-50%);
}

.lakit-projects__image-zone--top-center,
.lakit-projects__image-zone--center-center,
.lakit-projects__image-zone--bottom-center {
  left: 50%;
  transform: translateX(-50%);
}

.lakit-projects__image-zone--center-center {
  transform: translate(-50%, -50%);
}

.lakit-projects__image-zone--top-left {
  top: var(--lakit-zone-offset);
  left: var(--lakit-zone-offset);
}

.lakit-projects__image-zone--top-center {
  top: var(--lakit-zone-offset);
}

.lakit-projects__image-zone--top-right {
  top: var(--lakit-zone-offset);
  right: var(--lakit-zone-offset);
}

.lakit-projects__image-zone--center-left {
  left: var(--lakit-zone-offset);
}

.lakit-projects__image-zone--center-right {
  right: var(--lakit-zone-offset);
}

.lakit-projects__image-zone--bottom-left {
  bottom: var(--lakit-zone-offset);
  left: var(--lakit-zone-offset);
}

.lakit-projects__image-zone--bottom-center {
  bottom: var(--lakit-zone-offset);
}

.lakit-projects__image-zone--bottom-right {
  right: var(--lakit-zone-offset);
  bottom: var(--lakit-zone-offset);
}

.lakit-projects__image-zone .lakit-projects__quickview {
  flex-grow: var(--lakit-zone-btn-grow, 0);
  gap: 0.45em;
}

.lakit-projects__image-zone .lakit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lakit-projects__image-zone .lakit-btn .lakit-btn--icon {
  font-size: var(--lakit-zone-icon-font-size, inherit);
}

.lakit-projects__image-zone .only-icon .lakit-btn--text,
.lakit-projects__quickview--icon-only .btn__text {
  display: none;
}

/* LaStudioKit Projects: quickview popup content. */
.project-qv-wrap {
  max-width: 920px;
  background: #fff;
}

.project-qv__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.82fr);
  gap: 30px;
  align-items: center;
}

.project-qv__thumbnail-img {
  display: block;
  width: 100%;
  height: auto;
}

.project-qv__title {
  margin: 0 0 12px;
}

.project-qv__categories {
  margin-bottom: 14px;
  font-size: 0.875em;
  text-transform: uppercase;
}

.project-qv__excerpt {
  margin-bottom: 24px;
}

@media (max-width: 767px) {
  .project-qv__inner {
    grid-template-columns: 1fr;
  }
}
