/* Start custom CSS *//* ==========================================================================
   TP CUSTOM CURSOR - DUAL STATE ENGINE (RING DOT + EXPANDING PILL BADGE)
   ========================================================================== */

/* 1. CURSOR DOT: CENTER POINTER */
#tp-cursor-dot,
#cursor-dot,
.tp-cursor-dot {
  position: fixed !important;
  width: 7px !important;
  height: 7px !important;
  background-color: #3E00FA !important;
  background: #3E00FA !important;
  border-radius: 9999px !important;
  pointer-events: none !important;
  z-index: 1000000 !important;
  transform: translate(-50%, -50%) !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  transition: opacity 0.2s ease, transform 0.15s ease !important;
}

/* 2. CURSOR PILL: DEFAULT CIRCULAR RING AROUND DOT */
#tp-cursor-pill,
#cursor-pill,
.tp-cursor-pill {
  position: fixed !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  box-sizing: border-box !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  padding: 0 !important;
  border: 1.5px solid rgba(135, 82, 250, 0.45) !important;
  border-radius: 9999px !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  pointer-events: none !important;
  z-index: 999999 !important;
  transform: translate(-50%, -50%) !important;
  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
  transition: width 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              min-width 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.2s ease,
              background-color 0.2s ease,
              border-color 0.2s ease,
              box-shadow 0.2s ease,
              opacity 0.2s ease !important;
}

/* 3. DEFAULT & NAV/BUTTON HOVER: TEXT IS STRICTLY HIDDEN */
#tp-cursor-pill #tp-cursor-text,
#cursor-pill #cursor-text,
#tp-cursor-text,
#cursor-text,
.tp-cursor-text {
  display: none !important;
}

/* Subtle magnetic ring on navbar & regular buttons */
body.cursor-hover #tp-cursor-pill,
body.cursor-active:not(.cursor-badge) #tp-cursor-pill,
body:has(#main-navbar:hover) #tp-cursor-pill,
body:has(header:hover) #tp-cursor-pill,
body:has(nav:hover) #tp-cursor-pill,
body:has(.elementor-nav-menu:hover) #tp-cursor-pill,
body:has([class*="floating-header"]:hover) #tp-cursor-pill,
body:has(.hero-dock-wrapper:hover) #tp-cursor-pill,
body:has([data-id="42761d66"]:hover) #tp-cursor-pill,
body:has(#tp-nav-theme-toggle:hover) #tp-cursor-pill,
body:has([class*="theme-toggle"]:hover) #tp-cursor-pill,
body:has(.nav-tab:hover) #tp-cursor-pill {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  padding: 0 !important;
  border-color: rgba(135, 82, 250, 0.75) !important;
  background: rgba(135, 82, 250, 0.08) !important;
  background-color: rgba(135, 82, 250, 0.08) !important;
  box-shadow: 0 0 20px rgba(135, 82, 250, 0.2) !important;
}

body:has(#main-navbar:hover) #tp-cursor-pill #tp-cursor-text,
body:has(header:hover) #tp-cursor-pill #tp-cursor-text,
body:has(nav:hover) #tp-cursor-pill #tp-cursor-text,
body:has(.elementor-nav-menu:hover) #tp-cursor-pill #tp-cursor-text,
body:has([class*="floating-header"]:hover) #tp-cursor-pill #tp-cursor-text,
body:has(.hero-dock-wrapper:hover) #tp-cursor-pill #tp-cursor-text,
body:has([data-id="42761d66"]:hover) #tp-cursor-pill #tp-cursor-text,
body:has(#tp-nav-theme-toggle:hover) #tp-cursor-pill #tp-cursor-text,
body:has([class*="theme-toggle"]:hover) #tp-cursor-pill #tp-cursor-text,
body:has(.nav-tab:hover) #tp-cursor-pill #tp-cursor-text {
  display: none !important;
}

body:has(#main-navbar:hover) #tp-cursor-dot,
body:has(header:hover) #tp-cursor-dot,
body:has(nav:hover) #tp-cursor-dot,
body:has(.elementor-nav-menu:hover) #tp-cursor-dot,
body:has([class*="floating-header"]:hover) #tp-cursor-dot,
body:has(.hero-dock-wrapper:hover) #tp-cursor-dot,
body:has([data-id="42761d66"]:hover) #tp-cursor-dot,
body:has(#tp-nav-theme-toggle:hover) #tp-cursor-dot,
body:has([class*="theme-toggle"]:hover) #tp-cursor-dot,
body:has(.nav-tab:hover) #tp-cursor-dot {
  opacity: 1 !important;
  display: block !important;
  visibility: visible !important;
}

/* 4. BADGE MODE: EXPANDS INTO ELECTRIC NAVY BLUE CAPSULE WITH READ TEXT */
body.cursor-badge #tp-cursor-pill,
body.cursor-badge #cursor-pill,
#tp-cursor-pill:has(#tp-cursor-text:not(:empty)),
#cursor-pill:has(#cursor-text:not(:empty)),
body:has(article:hover) #tp-cursor-pill,
body:has(article:hover) #cursor-pill,
body:has(.tp-read-card:hover) #tp-cursor-pill,
body:has(.tp-read-card:hover) #cursor-pill,
body:has(.tp-editorial-card:hover) #tp-cursor-pill,
body:has(.tp-editorial-card:hover) #cursor-pill,
body:has(.tp-news-card:hover) #tp-cursor-pill,
body:has(.tp-news-card:hover) #cursor-pill,
body:has(.tp-news-card-immersive:hover) #tp-cursor-pill,
body:has(.tp-news-card-immersive:hover) #cursor-pill,
body:has(.tp-interview-card:hover) #tp-cursor-pill,
body:has(.tp-interview-card:hover) #cursor-pill,
body:has([data-cursor="Read"]:hover) #tp-cursor-pill,
body:has([data-cursor="Read"]:hover) #cursor-pill,
body:has([data-cursor="READ"]:hover) #tp-cursor-pill,
body:has([data-cursor="READ"]:hover) #cursor-pill,
body:has([data-cursor-badge]:hover) #tp-cursor-pill,
body:has([data-cursor-badge]:hover) #cursor-pill {
  display: flex !important;
  width: auto !important;
  min-width: 88px !important;
  height: 38px !important;
  padding: 0 20px !important;
  box-sizing: border-box !important;
  border-radius: 9999px !important;
  background-color: #3E00FA !important;
  background: #3E00FA !important;
  border: 1.5px solid #3E00FA !important;
  box-shadow: 0 10px 28px -4px rgba(62, 0, 250, 0.5) !important;
  opacity: 1 !important;
  visibility: visible !important;
  overflow: visible !important;
}

/* Hide center dot during badge mode */
body.cursor-badge #tp-cursor-dot,
body.cursor-badge #cursor-dot,
body:has(#tp-cursor-pill:has(#tp-cursor-text:not(:empty))) #tp-cursor-dot,
body:has(article:hover) #tp-cursor-dot,
body:has(.tp-read-card:hover) #tp-cursor-dot,
body:has(.tp-editorial-card:hover) #tp-cursor-dot,
body:has(.tp-news-card:hover) #tp-cursor-dot,
body:has(.tp-news-card-immersive:hover) #tp-cursor-dot,
body:has(.tp-interview-card:hover) #tp-cursor-dot,
body:has([data-cursor="Read"]:hover) #tp-cursor-dot,
body:has([data-cursor="READ"]:hover) #tp-cursor-dot,
body:has([data-cursor-badge]:hover) #tp-cursor-dot {
  opacity: 0 !important;
}

/* Display and center text inside badge */
body.cursor-badge #tp-cursor-pill #tp-cursor-text,
body.cursor-badge #cursor-pill #cursor-text,
#tp-cursor-pill:has(#tp-cursor-text:not(:empty)) #tp-cursor-text,
#cursor-pill:has(#cursor-text:not(:empty)) #cursor-text,
body:has(article:hover) #tp-cursor-pill #tp-cursor-text,
body:has(article:hover) #cursor-pill #cursor-text,
body:has(.tp-read-card:hover) #tp-cursor-pill #tp-cursor-text,
body:has(.tp-read-card:hover) #cursor-pill #cursor-text,
body:has(.tp-editorial-card:hover) #tp-cursor-pill #tp-cursor-text,
body:has(.tp-editorial-card:hover) #cursor-pill #cursor-text,
body:has(.tp-news-card:hover) #tp-cursor-pill #tp-cursor-text,
body:has(.tp-news-card:hover) #cursor-pill #cursor-text,
body:has(.tp-news-card-immersive:hover) #tp-cursor-pill #tp-cursor-text,
body:has(.tp-news-card-immersive:hover) #cursor-pill #cursor-text,
body:has(.tp-interview-card:hover) #tp-cursor-pill #tp-cursor-text,
body:has(.tp-interview-card:hover) #cursor-pill #cursor-text,
body:has([data-cursor="Read"]:hover) #tp-cursor-pill #tp-cursor-text,
body:has([data-cursor="Read"]:hover) #cursor-pill #cursor-text,
body:has([data-cursor="READ"]:hover) #tp-cursor-pill #tp-cursor-text,
body:has([data-cursor="READ"]:hover) #cursor-pill #cursor-text,
body:has([data-cursor-badge]:hover) #tp-cursor-pill #tp-cursor-text,
body:has([data-cursor-badge]:hover) #cursor-pill #cursor-text {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
  font-family: 'Syne', 'Plus Jakarta Sans', -apple-system, sans-serif !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  height: 100% !important;
  width: auto !important;
  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
  vertical-align: middle !important;
  transform: translateY(0.5px) !important;
}

/* 5. CARD READ BUTTON TEXT FIX */
.tp-read-button .elementor-button,
.tp-read-button a.elementor-button,
a.tp-read-button {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.tp-read-button .elementor-button-text,
.tp-read-button span {
  display: inline-block !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  letter-spacing: 0.04em !important;
}

.tp-read-card {
  overflow: hidden !important;
}

.tp-read-button {
  overflow: visible !important;
  z-index: 20 !important;
}/* End custom CSS */