/* The service catalogue remains native Elementor content and ordinary links
   until the explorer enhances it. All rules are local to this homepage section. */
.tcs-first .tcs-services-explorer {
  color: #0a2f47;
}
.tcs-first .tcs-services-explorer :is(.e-con, .elementor-widget) { min-width: 0; }
.tcs-first .tcs-services-explorer p { margin: 0; }
.tcs-first .tcs-services-explorer .tcs-explorer-accent { font-style: italic; color: #0b6fa8; }
.tcs-first .tcs-services-explorer .tcs-explorer-heading .elementor-heading-title { text-wrap: balance; }
.tcs-first .tcs-services-explorer .tcs-explorer-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.tcs-first .tcs-services-explorer [hidden] { display: none !important; }
.tcs-first .tcs-services-explorer .tcs-explorer-tabs button {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #0a2f47;
  font: 500 17px/1.25 "Mukta Vaani", sans-serif;
  padding: 10px 23px;
  min-height: 44px;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.tcs-first .tcs-services-explorer .tcs-explorer-tabs button:hover { background: #e3f1f9; }
.tcs-first .tcs-services-explorer .tcs-explorer-tabs button[aria-pressed="true"] {
  background: #0b6fa8;
  color: #f4f9fc;
}
.tcs-first .tcs-services-explorer :is(button, a):focus-visible {
  outline: 2px solid #0b6fa8;
  outline-offset: 5px;
}
.tcs-first .tcs-services-explorer .tcs-explorer-layout {
  align-items: flex-start;
  gap: 48px;
}
.tcs-first .tcs-services-explorer :is(.tcs-explorer-list, .tcs-explorer-previews) {
  --width: calc((100% - 48px) / 2) !important;
  width: calc((100% - 48px) / 2) !important;
  flex-shrink: 0;
}
.tcs-first .tcs-services-explorer .tcs-explorer-row {
  position: relative;
  gap: 6px;
  padding-block: 20px;
}
.tcs-first .tcs-services-explorer .tcs-explorer-row-title,
.tcs-first .tcs-services-explorer .tcs-explorer-row-summary { width: 100%; }
.tcs-first .tcs-services-explorer .tcs-explorer-row-title .elementor-heading-title {
  font-size: 19px;
  line-height: 1.3;
}
.tcs-first .tcs-services-explorer .tcs-explorer-row-title a { display: block; color: inherit; text-decoration: none; }
.tcs-first .tcs-services-explorer .tcs-explorer-select {
  appearance: none;
  display: block;
  position: relative;
  width: 100%;
  border: 0;
  border-radius: 0;
  padding: 0 40px 0 22px;
  min-height: 44px;
  margin: 0;
  background: none;
  color: #0a2f47;
  font: inherit;
  text-align: left;
  letter-spacing: inherit;
  cursor: pointer;
  transition: color .18s ease;
}
.tcs-first .tcs-services-explorer .tcs-explorer-select::before {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  border-radius: 1px;
  background: #6ebfe7;
}
.tcs-first .tcs-services-explorer .tcs-explorer-select::after {
  content: "+";
  position: absolute;
  inset-inline-end: 4px;
  top: 50%;
  transform: translateY(-50%);
  font: 400 24px/1 "Mukta Vaani", sans-serif;
}
.tcs-first .tcs-services-explorer .tcs-explorer-row.is-active .tcs-explorer-select::after { content: "−"; }
.tcs-first .tcs-services-explorer .tcs-explorer-select:hover,
.tcs-first .tcs-services-explorer .tcs-explorer-row.is-active .tcs-explorer-select { color: #0b6fa8; }
.tcs-first .tcs-services-explorer.is-explorer-enhanced .tcs-explorer-row-summary {
  padding-inline: 22px 40px;
}
.tcs-first .tcs-services-explorer .tcs-explorer-row-summary { font-size: 16px; line-height: 1.45; }
.tcs-first .tcs-services-explorer .tcs-explorer-preview { width: 100%; }
.tcs-first .tcs-services-explorer:not(.is-explorer-enhanced) .tcs-explorer-preview:not(.tcs-explorer-preview--home) { display: none; }
.tcs-first .tcs-services-explorer .tcs-explorer-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 18px;
}
.tcs-first .tcs-services-explorer .tcs-explorer-image .elementor-widget-container { height: 100%; }
.tcs-first .tcs-services-explorer .tcs-explorer-image img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.tcs-first .tcs-services-explorer .tcs-explorer-category {
  color: #0b6fa8;
  font: 500 14px/1.3 "Mukta Vaani", sans-serif;
  letter-spacing: .03em;
}
.tcs-first .tcs-services-explorer .tcs-explorer-title .elementor-heading-title {
  font-size: clamp(25px, 2.3vw, 32px);
  line-height: 1.2;
  text-wrap: balance;
}
.tcs-first .tcs-services-explorer .tcs-explorer-description { font-size: 17px; line-height: 1.5; }
.tcs-first .tcs-services-explorer .tcs-explorer-link .elementor-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  background: transparent;
  color: #0b6fa8;
  padding: 4px 0;
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid currentColor;
  font: 500 17px/1.3 "Mukta Vaani", sans-serif;
}
.tcs-first .tcs-services-explorer .tcs-explorer-link .elementor-button:hover { color: #0a2f47; }
.tcs-first .tcs-services-explorer .is-explorer-entering { animation: tcs-explorer-enter .28s ease-out both; }
@keyframes tcs-explorer-enter {
  from { opacity: .2; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Elementor exposes every native preview for editing instead of hiding content. */
.elementor-editor-active .tcs-first .tcs-services-explorer .tcs-explorer-preview { display: flex !important; }
@media (max-width: 1024px) {
  .tcs-first .tcs-services-explorer .tcs-explorer-layout { gap: 28px; }
  .tcs-first .tcs-services-explorer :is(.tcs-explorer-list, .tcs-explorer-previews) {
    --width: calc((100% - 28px) / 2) !important;
    width: calc((100% - 28px) / 2) !important;
  }
  .tcs-first .tcs-services-explorer .tcs-explorer-row-title .elementor-heading-title { font-size: 17px; }
  .tcs-first .tcs-services-explorer .tcs-explorer-row { padding-block: 18px; }
}
@media (max-width: 767px) {
  .tcs-first .tcs-services-explorer .tcs-explorer-layout { flex-direction: column; gap: 28px; }
  .tcs-first .tcs-services-explorer :is(.tcs-explorer-list, .tcs-explorer-previews) {
    --width: 100% !important;
    width: 100% !important;
  }
  .tcs-first .tcs-services-explorer .tcs-explorer-tabs { gap: 4px; }
  .tcs-first .tcs-services-explorer .tcs-explorer-tabs button { font-size: 16px; padding-inline: 20px; }
  .tcs-first .tcs-services-explorer .tcs-explorer-row > .tcs-explorer-previews { margin-top: 18px; }
  .tcs-first .tcs-services-explorer .tcs-explorer-image { border-radius: 14px; }
  .tcs-first .tcs-services-explorer .tcs-explorer-title .elementor-heading-title { font-size: 25px; }
  .tcs-first .tcs-services-explorer .tcs-explorer-description { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .tcs-first .tcs-services-explorer .is-explorer-entering { animation: none; }
  .tcs-first .tcs-services-explorer :is(.tcs-explorer-select, .tcs-explorer-tabs button) { transition: none; }
}
