body.archidex-home {
  background: #f7f6f3;
  color: #151515;
  font-family: "Bai Jamjuree", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.archidex-home ::selection {
  background: #151515;
  color: #f7f6f3;
}

@media (min-width: 992px) {
  body.archidex-home {
    overflow: hidden;
  }
}

body.archidex-home .site-header,
body.archidex-home .site-footer,
body.archidex-home .elementor-location-header,
body.archidex-home .elementor-location-footer {
  display: none !important;
}

body.archidex-home .elementor-section-wrap,
body.archidex-home .elementor {
  overflow: hidden;
}

.archidex-page.e-con,
.archidex-page.e-con > .e-con-inner {
  min-height: 100vh;
  height: 100vh;
}

body.admin-bar.archidex-home .archidex-page.e-con {
  min-height: calc(100vh - 32px);
}

.archidex-sidebar.e-con {
  width: 538px !important;
  max-width: 538px !important;
  flex: 0 0 538px !important;
  border-right: 1px solid rgba(21, 21, 21, 0.1);
  background: linear-gradient(180deg, #f7f6f3 0%, #f3f1ec 100%);
}

.archidex-logo-bar.e-con {
  border-bottom: 1px solid rgba(21, 21, 21, 0.1);
  margin-left: -30px;
  width: calc(100% + 30px) !important;
  background: rgba(247, 246, 243, 0.7);
}

.archidex-logo-bar .elementor-widget-image img,
.archidex-logo-bar .adx-brand-logo img {
  width: auto !important;
  max-width: min(100%, 320px) !important;
  height: 48px !important;
  transition: opacity 0.3s ease, transform 0.35s ease;
}

.archidex-logo-bar .adx-brand-logo a:hover img,
.archidex-logo-bar .elementor-widget-image a:hover img {
  opacity: 0.72;
  transform: translateY(-1px);
}

.archidex-sidebar .elementor-widget-text-editor p {
  margin: 0;
}

.archidex-sidebar img[src*="Illustration"] {
  width: 100% !important;
  max-width: 430px !important;
  height: auto !important;
  opacity: 0.92;
  filter: contrast(1.02);
}

.archidex-menu {
  margin: 0;
  padding: 0;
}

.archidex-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.archidex-menu a {
  display: block;
  position: relative;
  padding-left: 14px;
  font-size: 20px;
  font-weight: 400;
  line-height: 36px;
  color: #151515;
  text-decoration: none;
  font-family: "Bai Jamjuree", sans-serif;
  transition: color 0.3s ease, transform 0.3s ease;
}

.archidex-menu a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 1px;
  height: 24px;
  background: #151515;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.archidex-menu a:hover {
  color: #555;
  transform: translateX(2px);
}

.archidex-menu a:hover::before {
  opacity: 1;
  visibility: visible;
}

.archidex-tags {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 11px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b6b6b;
  font-family: "Bai Jamjuree", sans-serif;
}

.archidex-slides.e-con,
.archidex-slides.swiper {
  display: block !important;
  gap: 0 !important;
  overflow: hidden;
  height: 100%;
  min-height: 100%;
  cursor: grab;
  background: #f7f6f3;
}

.archidex-slides.swiper:active {
  cursor: grabbing;
}

.archidex-slides .swiper-wrapper {
  height: 100%;
  align-items: stretch;
}

.archidex-slide.e-con,
.archidex-slides .swiper-slide {
  border-left: 1px solid rgba(21, 21, 21, 0.1);
  padding-left: 20px !important;
  padding-right: 0 !important;
  padding-bottom: 50px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  flex-grow: 0 !important;
  flex-shrink: 0 !important;
  height: 100% !important;
  text-decoration: none !important;
  color: inherit !important;
  cursor: pointer;
  transition: background 0.35s ease;
}

.archidex-slide.e-con:hover,
.archidex-slides .swiper-slide:hover {
  background: rgba(255, 255, 255, 0.35);
}

.archidex-slide .elementor-widget-image {
  overflow: hidden;
}

.archidex-slide .elementor-widget-image img {
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
}

.archidex-slide:hover .elementor-widget-image img {
  transform: scale(1.045);
  filter: brightness(0.96);
}

.archidex-slide:hover .elementor-heading-title {
  color: #444 !important;
}

.archidex-slide .elementor-widget-heading {
  margin-top: 14px;
}

.archidex-slide .elementor-widget-text-editor {
  margin-top: 4px;
}

.archidex-page .archidex-slide img {
  display: block;
  width: 100%;
  height: 68vh;
  min-height: 520px;
  max-height: 760px;
  object-fit: cover;
}

.archidex-slide .elementor-heading-title,
.archidex-slide .elementor-heading-title a {
  font-family: "Bai Jamjuree", sans-serif !important;
  font-size: 22px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em;
  color: #151515 !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

.archidex-slide .elementor-heading-title a:hover {
  color: #555 !important;
}

.archidex-slide .elementor-widget-text-editor,
.archidex-slide .elementor-widget-text-editor p {
  font-family: "Bai Jamjuree", sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
  letter-spacing: 0.04em;
  color: #6b6b6b !important;
  margin: 0;
}

.archidex-slide .meta .tag {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
}

.archidex-slide .meta .date {
  opacity: 0.85;
}

@media only screen and (max-width: 1919px) {
  .archidex-sidebar.e-con {
    width: 490px !important;
    max-width: 490px !important;
    flex-basis: 490px !important;
  }

  .archidex-sidebar img[src*="Illustration"] {
    max-width: 350px !important;
  }
}

@media only screen and (max-width: 1399px) {
  .archidex-sidebar.e-con {
    width: 400px !important;
    max-width: 400px !important;
    flex-basis: 400px !important;
  }

  .archidex-slide.e-con,
  .archidex-slides .swiper-slide {
    padding-left: 20px !important;
  }
}

@media only screen and (max-width: 1199px) {
  body.archidex-home {
    overflow: auto;
  }
}

@media (max-width: 991px) {
  .archidex-page.e-con {
    min-height: auto !important;
    height: auto !important;
    flex-wrap: wrap !important;
  }

  .archidex-sidebar.e-con {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
    border-right: none;
    border-bottom: 1px solid rgba(21, 21, 21, 0.1);
  }

  .archidex-logo-bar.e-con {
    margin-left: 0;
    width: 100% !important;
  }

  .archidex-logo-bar .elementor-widget-image img,
  .archidex-logo-bar .adx-brand-logo img {
    height: 36px !important;
    max-width: min(100%, 240px) !important;
  }

  .archidex-menu a {
    font-size: 17px;
    line-height: 32px;
  }

  .archidex-tags {
    flex-wrap: wrap;
    gap: 8px 16px;
    line-height: 1.4;
  }

  .archidex-slides.e-con,
  .archidex-slides.swiper {
    width: 100% !important;
    height: auto;
    min-height: 0;
  }

  .archidex-slide.e-con,
  .archidex-slides .swiper-slide {
    border-left: none;
    padding-left: 16px !important;
    padding-right: 16px !important;
    padding-bottom: 28px !important;
  }

  .archidex-page .archidex-slide img {
    height: auto;
    min-height: 240px;
    max-height: 62vh;
  }

  .archidex-sidebar img[src*="Illustration"] {
    max-width: min(100%, 280px) !important;
  }
}

@media (max-width: 480px) {
  .archidex-menu a {
    font-size: 16px;
    line-height: 30px;
  }

  .archidex-slide .elementor-heading-title,
  .archidex-slide .elementor-heading-title a {
    font-size: 18px !important;
  }

  .archidex-page .archidex-slide img {
    min-height: 210px;
  }
}
