/* V5: reference structure, native widgets, preserved AI source photographs. */
:root {
  --tq-footer: #1e2022;
  --tq-panel: #222528;
  --tq-red: #d80018;
}
.elementor .v-footer {
  background: #1e2022 !important;
}
.elementor .v-contact-info {
  background: #222528 !important;
}
.elementor .v-logo,
.elementor .v-footer-logo,
.elementor .v-footer-tagline {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.elementor .v-header-search input[type='search'] {
  background: #f5f6f8;
  border-color: #e6e8ed;
  color: #24282b;
}
.elementor .v-navigation {
  width: 100%;
}
.elementor .elementor-button-content-wrapper {
  align-items: center;
  gap: 12px;
}
.elementor .elementor-button-icon {
  display: inline-flex;
  align-items: center;
  margin: 0 !important;
}
.elementor .elementor-button-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  flex-shrink: 0;
}
.elementor .v-card,
.elementor .v-reference-card,
.elementor .v-value,
.elementor .v-mission,
.elementor .v-contact-purpose,
.elementor .v-product-enquiry,
.elementor .v-application-form,
.elementor .v-map-card {
  border-radius: 6px !important;
}
.elementor .v-category:after {
  width: 0 !important;
  height: 0 !important;
  border-top: 52px solid #d80018 !important;
  border-left: 52px solid transparent !important;
  top: 0 !important;
  right: 0 !important;
  position: absolute !important;
  content: '' !important;
}
.elementor .v-category .elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  width: 64px;
  height: 64px;
  border-radius: 4px !important;
  font-size: 33px;
  line-height: 1;
}
.elementor .v-engineer figure,
.elementor .v-career-photo figure,
.elementor .v-facility figure {
  position: relative;
  margin: 0;
  line-height: 0;
}
.elementor .v-engineer figcaption,
.elementor .v-career-photo figcaption {
  position: absolute;
  right: 9px;
  bottom: 7px;
  z-index: 2;
  color: #fff;
  font:
    400 12px/1.2 TuraquaRoboto,
    sans-serif;
  text-shadow: 0 1px 3px #000b;
  padding: 2px 4px;
  background: #0002;
  border-radius: 2px;
}
.elementor .v-facility figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  background: #f3f5f7dd;
  color: #4b535c;
  font:
    400 12px/1.3 TuraquaRoboto,
    sans-serif;
  padding: 3px 8px;
  width: 100%;
  text-align: left;
}
.elementor .v-contact-cta {
  overflow: hidden;
}
.elementor .v-contact-cta:before {
  background: linear-gradient(100deg, #d60019fa, #b60018d9) !important;
}
.elementor .v-faq .elementor-accordion-item {
  border-radius: 6px !important;
}
.elementor .v-faq .elementor-tab-title:not(.elementor-active) {
  color: #24282b !important;
}
.elementor .v-faq .elementor-tab-title.elementor-active {
  color: #d80018 !important;
}
.elementor .v-map > .v-map-card {
  z-index: 3 !important;
  align-self: flex-end;
}
.elementor .v-map-card .elementor-button {
  background: #fff !important;
  color: #d80018 !important;
  border: 1px solid #d80018 !important;
}
.elementor .v-contact-purpose .elementor-icon {
  border-color: #d80018 !important;
}
.elementor .v-contact-purpose {
  border-color: #ff1730 !important;
}
.elementor .v-vacancy {
  border-style: dashed !important;
}
.elementor .v-career-steps {
  position: relative;
}
.elementor .v-career-steps:before {
  content: '';
  position: absolute;
  left: 23px;
  top: 25px;
  bottom: 45px;
  width: 1px;
  background: #dfe3e8;
  z-index: 0;
}
.elementor .v-career-steps .v-step-number {
  position: relative;
  z-index: 1;
}
@media (min-width: 1101px) {
  .elementor .v-product-actions .elementor-button-icon svg {
    width: 21px;
    height: 21px;
  }
  .elementor .v-category:after {
    border-top-width: 52px !important;
    border-left-width: 52px !important;
  }
}
@media (max-width: 1100px) {
  .elementor .elementor-button-icon svg {
    width: 18px;
    height: 18px;
  }
  .elementor .v-category:after {
    border-top-width: 38px !important;
    border-left-width: 38px !important;
  }
}
@media (max-width: 767px) {
  .elementor .elementor-button-content-wrapper {
    gap: 8px;
  }
  .elementor .v-category .elementor-button {
    width: 48px;
    height: 48px;
    font-size: 27px;
  }
  .elementor .v-engineer figcaption,
  .elementor .v-career-photo figcaption {
    font-size: 10px;
  }
  .elementor .v-map > .v-map-card {
    align-self: stretch;
  }
  .elementor .v-career-steps:before {
    left: 22px;
    bottom: 55px;
  }
}

.elementor .v-contact-hero {
  background-image: url('../images/waves-v5.svg') !important;
  background-size: 65% 100% !important;
}
@media (max-width: 767px) {
  .elementor .v-contact-hero {
    background-size: 100% 100% !important;
  }
}
.elementor .v-project-search button {
  left: 10px;
  right: auto;
}
.elementor .v-project-search input[type='search'] {
  padding-left: 46px;
  padding-right: 18px;
}
.elementor .v-faq-heading-row {
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
}
.elementor .v-faq-heading-row > .v-faq-all {
  flex: 0 0 auto !important;
  width: auto !important;
}
.elementor .v-faq-all .elementor-button {
  border: 0 !important;
  background: transparent !important;
  color: #d80018 !important;
  padding: 0 !important;
  font-size: 14px !important;
  white-space: nowrap;
}
.elementor .v-career-values .v-rule .elementor-heading-title,
.elementor .v-career-openings .v-rule .elementor-heading-title,
.elementor .v-application .v-rule .elementor-heading-title {
  position: relative;
  padding-left: 64px;
  padding-bottom: 18px;
}
.elementor .v-career-values .v-rule .elementor-heading-title:after,
.elementor .v-career-openings .v-rule .elementor-heading-title:after,
.elementor .v-application .v-rule .elementor-heading-title:after {
  display: none !important;
}
.elementor .v-career-values .v-rule .elementor-heading-title:before,
.elementor .v-career-openings .v-rule .elementor-heading-title:before,
.elementor .v-application .v-rule .elementor-heading-title:before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 44px;
  height: 4px;
  background: #d80018;
}
@media (max-width: 767px) {
  .elementor .v-faq-heading-row {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: flex-start !important;
  }
  .elementor .v-faq-heading-row > .elementor-widget-heading {
    width: 100% !important;
    flex: 1 1 100% !important;
  }
  .elementor .v-faq-heading-row > .v-faq-all {
    margin-left: auto;
  }
  .elementor .v-career-values .v-rule .elementor-heading-title,
  .elementor .v-career-openings .v-rule .elementor-heading-title,
  .elementor .v-application .v-rule .elementor-heading-title {
    padding-left: 44px;
  }
  .elementor .v-career-values .v-rule .elementor-heading-title:before,
  .elementor .v-career-openings .v-rule .elementor-heading-title:before,
  .elementor .v-application .v-rule .elementor-heading-title:before {
    width: 28px;
    top: 9px;
    height: 3px;
  }
}
/* Align the native description/table panel with the adjacent enquiry form. */
@media (min-width: 768px) {
  .elementor .v-product-info {
    align-self: stretch !important;
  }
  .elementor .v-product-info > .v-description {
    flex: 1 1 auto !important;
  }
  .elementor .v-description > .v-row {
    flex: 1 1 auto !important;
    align-items: stretch !important;
  }
  .elementor .v-description > .v-row > .e-con {
    justify-content: space-between !important;
  }
  .elementor .v-description .v-table {
    align-self: flex-start !important;
  }
}
.elementor .v-faq .elementor-tab-title:not(.elementor-active) a {
  color: #24282b !important;
}
.elementor .v-faq .elementor-tab-title.elementor-active a {
  color: #d80018 !important;
}
/* Requested corrections: product reference layout, edge-aligned wave, translucent hero. */
.elementor .v-contact-hero {
  background-position: right center !important;
  background-repeat: no-repeat !important;
  background-size: 65% 100% !important;
}
.elementor .v-home-hero {
  isolation: isolate;
}
.elementor .v-home-hero:before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url('../images/ai-v4-ro-hero.webp') center center/cover no-repeat;
}
.elementor .v-home-hero > .v-home-copy {
  background: rgba(30, 33, 35, 0.84) !important;
}
.elementor .v-product-main img {
  object-fit: contain !important;
  background: #f0f1f2;
}
.elementor .v-original-details {
  display: none;
  font-size: 16px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.elementor .v-original-details.is-visible {
  display: block;
}
.elementor .v-original-details table {
  width: 100%;
  border-collapse: collapse;
}
.elementor .v-original-details th,
.elementor .v-original-details td {
  border: 1px solid #e1e4e9;
  padding: 10px;
  text-align: left;
}
@media (min-width: 768px) {
  .elementor .v-product-info > .v-description {
    min-height: 400px;
  }
  .elementor .v-description > .v-row > .e-con {
    justify-content: flex-start !important;
    gap: 30px !important;
  }
}
@media (max-width: 767px) {
  .elementor .v-contact-hero {
    background-position: right center !important;
    background-size: 100% 100% !important;
  }
  .elementor .v-home-hero:before {
    display: none;
  }
}

.elementor .v-table table {
  table-layout: fixed;
}
.elementor .v-table th,
.elementor .v-table td {
  overflow-wrap: anywhere;
}
/* V5.2: one shared product format; native blog sidebar on the left. */
.elementor .v-blog-layout {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 34px !important;
}
.elementor .v-blog-layout > .v-blog-sidebar {
  flex: 0 0 270px !important;
  width: 270px !important;
  min-width: 0;
}
.elementor .v-blog-layout > .v-blog-cards {
  flex: 1 1 0 !important;
  min-width: 0;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px !important;
}
.elementor .v-blog-cards > .tq-card {
  width: 100% !important;
  min-width: 0;
}
.elementor .v-blog-cards .tq-card-image img {
  height: 210px !important;
  object-fit: contain;
}
.v-blog-sidebar .widget-title,
.v-blog-sidebar h5 {
  font-size: 22px;
  line-height: 1.3;
  margin: 0 0 18px;
  color: #24282b;
}
.v-blog-sidebar .widget-title:after,
.v-blog-sidebar h5:after {
  content: '';
  display: block;
  width: 38px;
  height: 3px;
  background: #d80018;
  margin-top: 9px;
}
.v-blog-sidebar > .elementor-widget,
.v-blog-sidebar > .v-blog-widget {
  padding: 22px !important;
  border: 1px solid #e5e8ed;
  border-radius: 6px;
  background: #fafbfc;
  width: 100%;
}
.v-blog-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.v-blog-sidebar li {
  padding: 9px 0;
  border-bottom: 1px solid #e7e9ed;
}
.v-blog-sidebar li a {
  color: #333b43;
}
.v-blog-sidebar ul.children {
  padding-left: 15px;
}
.v-blog-sidebar .tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.v-blog-sidebar .tag-cloud-link {
  display: inline-block;
  padding: 6px 11px;
  background: #fff;
  border: 1px solid #e1e4e9;
  border-radius: 20px;
  font-size: 13px !important;
  color: #333b43;
}
.v-blog-sidebar .search-form {
  position: relative;
  display: flex;
  width: 100%;
}
.v-blog-sidebar .search-form label {
  width: 100%;
}
.v-blog-sidebar input[type='search'] {
  width: 100%;
  height: 44px;
  padding: 10px 40px 10px 12px;
  border: 1px solid #dfe3e8;
  border-radius: 5px;
  background: #fff;
  font-size: 14px;
}
.v-blog-sidebar .search-submit {
  position: absolute;
  right: 8px;
  top: 9px;
  border: 0;
  background: none;
  padding: 3px;
  line-height: 1;
}
.v-blog-sidebar .search-submit img {
  width: 20px;
  height: 20px;
}
.v-blog-archive-layout {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 34px;
  max-width: 1280px;
  margin: 40px auto;
  padding: 0 24px;
}
.v-blog-native-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.v-blog-archive-main.tq-prose {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
}
.v-blog-archive-main .tq-post-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 1024px) and (min-width: 768px) {
  .elementor .v-blog-layout > .v-blog-sidebar {
    flex-basis: 230px !important;
    width: 230px !important;
  }
  .elementor .v-blog-layout {
    gap: 22px !important;
  }
  .elementor .v-blog-layout > .v-blog-cards {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  .elementor .v-blog-layout {
    flex-direction: column !important;
  }
  .elementor .v-blog-layout > .v-blog-sidebar,
  .elementor .v-blog-layout > .v-blog-cards {
    width: 100% !important;
    flex: 1 1 auto !important;
  }
  .elementor .v-blog-layout > .v-blog-cards {
    grid-template-columns: 1fr;
  }
  .v-blog-archive-layout {
    grid-template-columns: 1fr;
    margin: 24px auto;
    padding: 0 18px;
  }
  .v-blog-archive-main .tq-post-grid {
    grid-template-columns: 1fr;
  }
}
