.cahs-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.cahs-slider-container {
  width: 100%;
  position: relative;
}

.swiper-slide {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cahs-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.cahs-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.cahs-content-outer {
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cahs-content-inner {
  width: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

/* Flex Wrapper for Title & Icon */
.cahs-title-wrapper {
  display: flex;
  flex-wrap: wrap;
  /* align-items is controlled by widget settings (icon_align_items) */
  /* justify-content is controlled by widget settings (text_align) */
  margin-bottom: 20px;
}

.cahs-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.cahs-title {
  margin: 0;
  padding: 0;
  line-height: 1.2;
}

.cahs-description {
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 100%;
}

.cahs-button {
  display: inline-block;
  text-decoration: none;
  transition: all 0.3s ease;
  border-style: solid;
  border-width: 1px;
  border-color: transparent;
}

/* Animations */
.cahs-anim {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.swiper-slide-active .cahs-anim {
  opacity: 1;
  transform: translateY(0);
}

/* Navigation */
.cahs-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, color 0.3s;
}

.cahs-button-prev {
  left: 20px;
}

.cahs-button-next {
  right: 20px;
}

.swiper-pagination {
  bottom: 20px !important;
  z-index: 10;
}

.pcn-container {
  width: 100%;
}

.pcn-container.pcn-layout-grid {
  display: grid;
  /* Columns handled by inline style from PHP */
}

.pcn-item {
  display: block;
  background-color: #fff;
  border: 1px solid #eee;
  padding: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  overflow: hidden;
  /* Height & Radius handled by inline style */
}

.pcn-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  /* Align items handled by inline style */
}

/* Icon Positioning Logic */
/* Default Top: Flex-direction column is standard */
.pcn-content.icon-pos-left .pcn-text-group,
.pcn-content.icon-pos-right .pcn-text-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pcn-content.icon-pos-left .pcn-text-group {
  flex-direction: row;
}

.pcn-content.icon-pos-right .pcn-text-group {
  flex-direction: row-reverse;
}

.pcn-img-wrapper {
  margin-bottom: 15px;
}

.pcn-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  /* Color & margin handled by inline style */
}

.pcn-desc {
  margin-top: 10px;
  font-size: 14px;
  color: #777;
  line-height: 1.5;
}

.pcn-count {
  margin-top: auto;
  display: inline-block;
  padding-top: 10px;
  font-size: 12px;
  font-weight: 500;
}

.pcn-icon i {
  font-size: 24px;
  margin-bottom: 5px;
  color: #333;
}

/* Pagination Styles */
.pcn-pagination {
  text-align: center;
  margin-top: 30px;
}

.pcn-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 5px;
  background: #f1f1f1;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  transition: 0.3s;
}

.pcn-pagination .page-numbers.current,
.pcn-pagination .page-numbers:hover {
  background: #333;
  color: #fff;
}

/* Recent ports */
.posts-grid {
  display: grid;
}

.post-item {
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease-in-out;
  background: #fcfcfc;
  overflow: hidden;
  justify-content: space-between;
}

.post-thumbnail-wrapper img {
  width: 100%;
  display: block;
}

.post-title {
  margin: 0;
}

.post-title a {
  text-decoration: none;
  transition: color 0.3s;
}

.post-excerpt {
  font-size: 14px;
  line-height: 1.6;
}

.post-meta {
  font-size: 12px;
  color: #888;
  margin-bottom: 10px;
}

.post-cta-button {
  display: inline-block;
  text-decoration: none;
  transition: all 0.3s;
  text-align: center;
}

.element-cta.full-width-btn .post-cta-button {
  display: block;
  width: 100%;
}

/* Animations */
.pro-animate-card {
  opacity: 0;
  animation-duration: 0.6s;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.pro-anim-fade-in-up {
  animation-name: fade-in-up;
}

@keyframes fade-in-left {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.pro-anim-fade-in-left {
  animation-name: fade-in-left;
}

@keyframes fade-in-right {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.pro-anim-fade-in-right {
  animation-name: fade-in-right;
}

@keyframes zoom-in {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.pro-anim-zoom-in {
  animation-name: zoom-in;
}

@keyframes scale-up {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.pro-anim-scale-up {
  animation-name: scale-up;
}

/* Pagination Styling */
.posts-pagination {
  display: flex;
  width: 100%;
}

.posts-pagination ul.page-numbers {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
  align-items: center;
}

.posts-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  line-height: 1;
  box-sizing: border-box;
}

.posts-pagination span.current {
  cursor: default;
}

/* Recent ports */

/* Start Forminator forms */
.elementor-universal-form-wrapper {
  width: 100%;
  position: relative;
}

.universal-form-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background-color: #f7f7f7;
  border: 2px dashed #d5d8dc;
  color: #6d7882;
  text-align: center;
  border-radius: 4px;
}

.universal-form-placeholder i {
  font-size: 40px;
  margin-bottom: 15px;
  color: #a4afb7;
}

.universal-form-placeholder span {
  font-size: 14px;
  font-family: Roboto, sans-serif;
}

/* Forminator Notice Style in Editor Panel */
.universal-form-notice-box {
  font-size: 12px;
  color: #71777d;
  font-style: italic;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.universal-form-notice-box .note-widget {
  border: 1px solid #00ff3c;
  padding: 8px;
  margin-top: 5px;
  border-radius: 5px;
  background-color: #0080004f;
}

/*!!! End Forminator forms */

.cplb-wrapper {
  width: 100%;
  position: relative;
}

.cplb-grid {
  display: grid;
  /* Grid columns are set via PHP inline styles */
}

.cplb-post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cplb-post-card:hover {
  transform: translateY(-5px);
}

.cplb-inner-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: 15px;
}

/* Image */
.cplb-image-wrapper {
  position: relative;
  overflow: hidden;
  line-height: 0;
}

.cplb-image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cplb-post-card:hover .cplb-image-wrapper img {
  transform: scale(1.05);
}

/* Typography & Content */
.cplb-title {
  margin: 0;
  line-height: 1.2;
}

.cplb-title a {
  text-decoration: none;
  transition: color 0.3s;
}

.cplb-excerpt {
  font-size: 0.95em;
  color: #666;
  line-height: 1.6;
}

/* Meta */
.cplb-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85em;
  color: #888;
}

.cplb-meta li {
  display: inline-flex;
  align-items: center;
}

/* Button */
.cplb-btn-wrapper {
  margin-top: auto;
}

.cplb-button {
  display: inline-block;
  padding: 10px 20px;
  text-decoration: none;
  transition: all 0.3s;
  border-radius: 4px;
  text-align: center;
}

.cplb-button:hover {
  opacity: 0.9;
}

/* Pagination */
.cplb-pagination {
  margin-top: 30px;
  text-align: center;
}

.cplb-pagination a,
.cplb-pagination span {
  display: inline-block;
  padding: 8px 12px;
  margin: 0 2px;
  border: 1px solid #ddd;
  text-decoration: none;
  color: #333;
  border-radius: 3px;
}

.cplb-pagination span.current {
  background-color: #333;
  color: #fff;
  border-color: #333;
}

/* Swiper Defaults */
.swiper-container {
  overflow: hidden;
}

.swiper-pagination {
  position: relative !important;
  margin-top: 20px;
}

/* // Head line */
.ah-headline-wrapper {
  font-size: 30px;
  font-weight: 700;
  position: relative;
  text-decoration: none;
  line-height: 1.2;
  display: block;
}

.ah-headline-wrapper a {
  color: inherit;
  text-decoration: none;
}

.ah-words-wrapper {
  display: inline-block;
  position: relative;
  text-align: left;
}

.ah-rotating .ah-words-wrapper {
  vertical-align: top;
}

/* Common Rotating Words Styles */
.ah-rotating .ah-words-wrapper b {
  display: inline-block;
  position: absolute;
  white-space: nowrap;
  left: 0;
  top: 0;
  pointer-events: none;
}

.ah-rotating .ah-words-wrapper b.is-visible {
  position: relative;
  pointer-events: auto;
}

/* --- Typing Animation --- */
.ah-rotating.ah-typing .ah-words-wrapper {
  vertical-align: bottom;
  overflow: hidden;
  padding-right: 2px; /* Space for cursor */
}

.ah-rotating.ah-typing .ah-words-wrapper::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 90%;
  width: 2px;
  background-color: currentColor;
  animation: ah-blink 1s infinite;
}

.ah-rotating.ah-typing b {
  opacity: 1;
  visibility: hidden;
}

.ah-rotating.ah-typing b.is-visible {
  visibility: visible;
  position: relative;
}

@keyframes ah-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* --- Clip Animation --- */
.ah-rotating.ah-clip .ah-words-wrapper {
  overflow: hidden;
  vertical-align: top;
}

.ah-rotating.ah-clip .ah-words-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background-color: currentColor;
}

.ah-rotating.ah-clip b {
  opacity: 0;
}

.ah-rotating.ah-clip b.is-visible {
  opacity: 1;
}

/* --- Flip Animation --- */
.ah-rotating.ah-flip .ah-words-wrapper {
  perspective: 300px;
}

.ah-rotating.ah-flip b {
  transform-origin: 50% 100%;
  transform: rotateX(180deg);
  opacity: 0;
}

.ah-rotating.ah-flip b.is-visible {
  transform: rotateX(0deg);
  opacity: 1;
  transition: transform 0.6s, opacity 0.6s;
}

.ah-rotating.ah-flip b.is-hidden {
  transform: rotateX(180deg);
  opacity: 0;
  transition: transform 0.6s, opacity 0.6s;
}

/* --- Zoom Animation --- */
.ah-rotating.ah-zoom b {
  opacity: 0;
  transform: scale(0);
}

.ah-rotating.ah-zoom b.is-visible {
  opacity: 1;
  transform: scale(1);
  transition: transform 0.6s, opacity 0.6s;
}

.ah-rotating.ah-zoom b.is-hidden {
  opacity: 0;
  transform: scale(1.5);
  transition: transform 0.6s, opacity 0.6s;
}

/* --- Slide Animation --- */
.ah-rotating.ah-slide .ah-words-wrapper {
  overflow: hidden;
}

.ah-rotating.ah-slide b {
  opacity: 0;
  top: 0.2em;
}

.ah-rotating.ah-slide b.is-visible {
  top: 0;
  opacity: 1;
  transition: top 0.4s, opacity 0.4s;
}

.ah-rotating.ah-slide b.is-hidden {
  top: -1em;
  opacity: 0;
  transition: top 0.4s, opacity 0.4s;
}

/* --- Push Animation --- */
.ah-rotating.ah-push b {
  opacity: 0;
  transform: rotateX(-90deg) translateY(20px);
  transform-origin: 50% 0;
}

.ah-rotating.ah-push b.is-visible {
  opacity: 1;
  transform: rotateX(0deg) translateY(0);
  transition: transform 0.6s, opacity 0.6s;
}

.ah-rotating.ah-push b.is-hidden {
  opacity: 0;
  transform: rotateX(90deg) translateY(-20px);
  transition: transform 0.6s, opacity 0.6s;
}

/* --- Scale Animation --- */
.ah-rotating.ah-scale b {
  opacity: 0;
  transform: scale(0.5);
}
.ah-rotating.ah-scale b.is-visible {
  opacity: 1;
  transform: scale(1);
  transition: transform 0.6s, opacity 0.6s;
}
.ah-rotating.ah-scale b.is-hidden {
  opacity: 0;
  transform: scale(1.5);
  transition: transform 0.6s, opacity 0.6s;
}

/* --- Highlighted Style --- */
.ah-highlighted {
  display: block;
}
.ah-highlighted .ah-words-wrapper {
  position: relative;
  display: inline-block;
  z-index: 1;
  margin: 0 5px;
}
.ah-highlighted .ah-words-wrapper b {
  position: relative;
  z-index: 2;
  display: inline-block;
}
.ah-highlight-svg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  transform: translate(-50%, -50%);
  z-index: -1;
  overflow: visible;
  pointer-events: none;
}
.ah-highlight-svg path {
  fill: none;
  stroke: #6366f1;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: ah-draw-stroke 2s forwards;
}
@keyframes ah-draw-stroke {
  to {
    stroke-dashoffset: 0;
  }
}
/* // Head line */

/* Flip card */
.flip-box-wrapper {
  perspective: 1000px;
  transform-style: preserve-3d;
  cursor: pointer;
  width: 100%;
}

.flip-box-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-box-side {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.flip-box-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.flip-box-content {
  position: relative;
  z-index: 2;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.flip-box-img img {
  max-width: 100%;
  height: auto;
}

.flip-box-icon {
  font-size: 40px;
  margin-bottom: 10px;
}

.flip-title {
  margin: 0;
}

.flip-desc {
  margin: 0;
}

/* Back Side Initial State */
.flip-box-back {
  transform: rotateY(180deg);
}

/* ------------------
   EFFECTS
   ------------------ */

/* 1. FLIP */
.effect-flip.dir-right .flip-box-back {
  transform: rotateY(180deg);
}
.effect-flip.dir-right:hover .flip-box-inner,
.effect-flip.dir-right.flipped .flip-box-inner {
  transform: rotateY(180deg);
}

.effect-flip.dir-left .flip-box-back {
  transform: rotateY(-180deg);
}
.effect-flip.dir-left:hover .flip-box-inner,
.effect-flip.dir-left.flipped .flip-box-inner {
  transform: rotateY(-180deg);
}

.effect-flip.dir-up .flip-box-back {
  transform: rotateX(180deg);
}
.effect-flip.dir-up:hover .flip-box-inner,
.effect-flip.dir-up.flipped .flip-box-inner {
  transform: rotateX(180deg);
}

.effect-flip.dir-down .flip-box-back {
  transform: rotateX(-180deg);
}
.effect-flip.dir-down:hover .flip-box-inner,
.effect-flip.dir-down.flipped .flip-box-inner {
  transform: rotateX(-180deg);
}

/* 2. ZOOM */
.effect-zoom .flip-box-back {
  opacity: 0;
  transform: scale(0.5) rotateY(180deg);
  transition: all 0.6s ease;
}
.effect-zoom:hover .flip-box-inner,
.effect-zoom.flipped .flip-box-inner {
  transform: rotateY(180deg);
}
.effect-zoom:hover .flip-box-back,
.effect-zoom.flipped .flip-box-back {
  opacity: 1;
  transform: scale(1) rotateY(180deg);
}
.effect-zoom:hover .flip-box-front,
.effect-zoom.flipped .flip-box-front {
  transform: scale(0.5) rotateY(180deg);
  opacity: 0;
}

/* 3. SLIDE */
.effect-slide .flip-box-inner {
  transition: transform 0.4s ease-in-out;
}
.effect-slide.dir-up .flip-box-back {
  transform: translateY(100%);
}
.effect-slide.dir-up:hover .flip-box-inner,
.effect-slide.dir-up.flipped .flip-box-inner {
  transform: translateY(-100%);
}

.effect-slide.dir-down .flip-box-back {
  transform: translateY(-100%);
}
.effect-slide.dir-down:hover .flip-box-inner,
.effect-slide.dir-down.flipped .flip-box-inner {
  transform: translateY(100%);
}

.effect-slide.dir-left .flip-box-back {
  transform: translateX(100%);
}
.effect-slide.dir-left:hover .flip-box-inner,
.effect-slide.dir-left.flipped .flip-box-inner {
  transform: translateX(-100%);
}

.effect-slide.dir-right .flip-box-back {
  transform: translateX(-100%);
}
.effect-slide.dir-right:hover .flip-box-inner,
.effect-slide.dir-right.flipped .flip-box-inner {
  transform: translateX(100%);
}

/* 4. FADE */
.effect-fade .flip-box-back {
  opacity: 0;
  transform: none;
  transition: opacity 0.6s;
  z-index: 3;
}
.effect-fade:hover .flip-box-back,
.effect-fade.flipped .flip-box-back {
  opacity: 1;
}

/* ------------------
   SOCIAL ICONS
   ------------------ */
.flip-box-social-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.flip-box-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  color: #333;
  width: auto;
  text-decoration: none;
  transition: all 0.3s;
}

.flip-box-social-icon:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

/* Official Colors Helper - Top 10 */
.social-official i.fa-facebook-f,
.social-official i.fa-facebook {
  color: #3b5998;
}
.social-official i.fa-twitter,
.social-official i.fa-x-twitter {
  color: #1da1f2;
}
.social-official i.fa-instagram {
  color: #e1306c;
}
.social-official i.fa-linkedin-in,
.social-official i.fa-linkedin {
  color: #0077b5;
}
.social-official i.fa-youtube {
  color: #ff0000;
}
.social-official i.fa-tiktok {
  color: #000000;
}
.social-official i.fa-pinterest {
  color: #bd081c;
}
.social-official i.fa-whatsapp {
  color: #25d366;
}
.social-official i.fa-telegram {
  color: #0088cc;
}
.social-official i.fa-snapchat-ghost {
  color: #fffc00;
  text-shadow: 1px 1px 0 #000;
}

/* Flip card */

/* // Modern testmonials */
/* Main Wrapper */
.asn-wrapper {
  width: 100%;
  position: relative;
  box-sizing: border-box;
}

/* Navigation Container */
.asn-nav-container {
  position: relative;
  width: 100%;
  margin-bottom: 40px;
  padding: 0 10px;
}

/* The Line Behind */
.asn-nav-line-container {
  position: absolute;
  left: 20px;
  right: 20px;
  height: 4px;
  z-index: 0;
  transform: translateY(-50%);
  width: auto;
}

.asn-line-base {
  width: 100%;
  height: 100%;
  background: #e5e7eb;
  position: absolute;
  border-radius: 4px;
}

.asn-line-fill {
  width: 0%;
  height: 100%;
  background: #3b82f6;
  position: absolute;
  border-radius: 4px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Navigation Items (Circles) */
.asn-nav-items {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  list-style: none;
  padding: 0;
  margin: 0;
}

.asn-item {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  /* Ensure click area is comfortable */
  padding: 0 10px;
}

.asn-circle {
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 2px solid #e5e7eb;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.asn-circle img {
  width: 50%;
  height: auto;
  object-fit: contain;
}

.asn-nav-title {
  font-weight: 600;
  text-align: center;
  font-size: 14px;
  margin-top: 10px;
  color: #6b7280;
  transition: color 0.3s ease;
}

/* Content Area */
.asn-content-area {
  width: 100%;
  position: relative;
  background: #fff;
  transition: all 0.3s ease;
}

.asn-step-content {
  display: none;
  animation: asnSlideUp 0.5s ease-out;
}

.asn-step-content.is-active {
  display: block;
}

/* Animations */
@keyframes asnSlideUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Adjustments */
@media (max-width: 767px) {
  .asn-nav-title {
    font-size: 12px;
  }
  .asn-nav-container {
    padding: 0;
  }
  .asn-nav-line-container {
    left: 0;
    right: 0;
  }
}
/* // Modern testmonials */

.asn-wrapper {
  width: 100%;
}
.asn-countdown-container {
  display: flex;
  flex-direction: column;
  /* Alignment handled by Elementor controls */
}
.asn-countdown-timer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  /* gap and direction handled by controls */
}
.asn-timer-unit {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
}
.asn-digits-group {
  display: flex;
  flex-direction: row-reverse;
  /* gap handled by controls */
}
.asn-digit-card {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  /* Dimensions and style handled by controls */
}
.asn-timer-label {
  text-align: center;
  /* typography handled by controls */
}

/* =============================================
   KH Team Members Widget — Base Structure
   (Colors/Sizes/Spacing via Elementor controls)
============================================= */
.kh-tm-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.kh-tm-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}
.kh-tm-card:hover {
    transform: translateY(-6px);
}
/* Photo */
.kh-tm-photo-wrap {
    position: relative;
    width: 100%;
    height: 260px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}
.kh-tm-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.5s ease;
}
.kh-tm-card:hover .kh-tm-photo-wrap img {
    transform: scale(1.05);
}
/* Overlay style */
.kh-style-overlay .kh-tm-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.kh-style-overlay .kh-tm-card:hover .kh-tm-overlay {
    opacity: 1;
}
.kh-style-overlay .kh-tm-overlay .kh-tm-social {
    flex-direction: row;
    margin-top: 0;
}
.kh-style-overlay .kh-tm-overlay .kh-tm-social a {
    background: rgba(255,255,255,0.15) !important;
    border: 1px solid rgba(255,255,255,0.4) !important;
    transform: translateY(10px);
    opacity: 0;
    transition: background 0.2s ease, transform 0.3s ease, opacity 0.3s ease;
}
.kh-style-overlay .kh-tm-card:hover .kh-tm-overlay .kh-tm-social a {
    transform: translateY(0);
    opacity: 1;
}
.kh-style-overlay .kh-tm-overlay .kh-tm-social a i { color: #fff !important; }
.kh-style-overlay .kh-tm-overlay .kh-tm-social a:hover { background: rgba(255,255,255,0.35) !important; }
/* Body */
.kh-tm-body {
    padding: 20px;
    text-align: center;
}
.kh-tm-link-wrap { text-decoration: none; }
/* Name */
.kh-tm-name {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 4px;
    line-height: 1.4;
    transition: color 0.2s;
}
/* Position */
.kh-tm-position {
    font-size: 13px;
    color: #888;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.03em;
}
/* Bio */
.kh-tm-bio {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
    margin: 12px 0 0;
}
/* Social */
.kh-tm-social {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}
.kh-tm-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f0f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease;
}
.kh-tm-social a:hover {
    background: #3b82f6;
    transform: translateY(-3px);
}
.kh-tm-social a i {
    font-size: 14px;
    color: #555;
    transition: color 0.25s;
    line-height: 1;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}
.kh-tm-social a:hover i { color: #fff; }
/* Minimal style */
.kh-style-minimal .kh-tm-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}
.kh-style-minimal .kh-tm-photo-wrap {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    border-radius: 50%;
}
.kh-style-minimal .kh-tm-photo-wrap img { border-radius: 50%; }
.kh-style-minimal .kh-tm-body { text-align: left; padding: 16px 20px 16px 0; }
.kh-style-minimal .kh-tm-social { justify-content: flex-start; }
/* Responsive */
@media (max-width: 1024px) {
    .kh-tm-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
    .kh-tm-grid { grid-template-columns: 1fr; }
    .kh-style-minimal .kh-tm-card { flex-direction: column; }
    .kh-style-minimal .kh-tm-body { text-align: center; padding: 0 16px 20px; }
    .kh-style-minimal .kh-tm-social { justify-content: center; }
}
