/* ==========================================================================
   TechMave 2026 - Blog Page Dark Theme & Prism Hero Styling
   File: blog-dark-theme.css
   ========================================================================== */

:root {
  --tm-blog-bg: #050609;
  --tm-blog-card-bg: rgba(16, 20, 29, 0.75);
  --tm-blog-card-border: rgba(255, 255, 255, 0.08);
  --tm-blog-card-hover-border: rgba(99, 102, 241, 0.35);
  --tm-blog-text-primary: #ffffff;
  --tm-blog-text-secondary: #94a3b8;
  --tm-blog-text-muted: #64748b;
  --tm-blog-accent: #38bdf8;
  --tm-blog-accent-purple: #a855f7;
}

html {
  overflow-x: clip !important;
}

body.page-template-blog,
body.blog {
  background-color: var(--tm-blog-bg) !important;
  color: var(--tm-blog-text-primary) !important;
  overflow-x: clip !important;
  overflow-y: visible !important;
}

/* Transparent Header at Top on Blog Page */
body.tm-blog-page .axil-header,
body.tm-blog-page .axil-mainmenu,
body.tm-blog-page header.header,
body.tm-blog-page .header-style-4,
body.page-template-blog .axil-header,
body.page-template-blog .axil-mainmenu,
body.page-template-blog header.header,
body.page-template-blog .header-style-4 {
  background: transparent !important;
  background-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  padding-top: 16px !important;
}

/* Black Background on Sticky / Scrolled Header */
body.tm-blog-page .axil-header.header-style-4 .axil-mainmenu.axil-sticky,
body.tm-blog-page .axil-header.header-style-4 .axil-mainmenu.is-scrolled,
body.page-template-blog .axil-header.header-style-4 .axil-mainmenu.axil-sticky,
body.page-template-blog .axil-header.header-style-4 .axil-mainmenu.is-scrolled {
  background: rgba(5, 7, 12, 0.96) !important;
  background-color: rgba(5, 7, 12, 0.96) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
  padding-top: 0 !important;
}

body.tm-blog-page .axil-header::before,
body.tm-blog-page .axil-mainmenu::before,
body.tm-blog-page .axil-header::after,
body.tm-blog-page .axil-mainmenu::after,
body.page-template-blog .axil-header::before,
body.page-template-blog .axil-mainmenu::before,
body.page-template-blog .axil-header::after,
body.page-template-blog .axil-mainmenu::after {
  display: none !important;
  content: none !important;
}

body.tm-blog-page .axil-header .mainmenu li a,
body.page-template-blog .axil-header .mainmenu li a {
  color: #e2e8f0 !important;
}

body.tm-blog-page .axil-header .mainmenu li a:hover,
body.page-template-blog .axil-header .mainmenu li a:hover {
  color: var(--tm-blog-accent) !important;
}

body.tm-blog-page .logo_lighttheme,
body.page-template-blog .logo_lighttheme {
  display: none !important;
}

body.tm-blog-page .logo_whiteheader,
body.tm-blog-page .ftwhitelogodark,
body.page-template-blog .logo_whiteheader,
body.page-template-blog .ftwhitelogodark {
  display: block !important;
}

/* ==========================================================================
   Modern Minimalist Blog Hero Banner Section (Pixel-matched to reference)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

.tm-modern-blog-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000000 !important;
  color: #ffffff;
  padding-top: 80px;
  padding-bottom: 125px;
  box-sizing: border-box;
  overflow: hidden;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Background Image via HTML */
.tm-hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.tm-hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Bottom Black-to-Transparent Overlay behind Brands */
.tm-hero-bg-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 260px;
  background: linear-gradient(to top, #000000 0%, rgba(0, 0, 0, 0.95) 45%, rgba(0, 0, 0, 0.6) 75%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.tm-modern-hero-container {
  width: 100%;
  max-width: 1320px;
  margin: auto;
  padding: 0 32px;
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Split 2-Column Hero Grid */
.tm-hero-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  justify-content: center;
  gap: 48px;
  width: 100%;
}

/* Left Column */
.tm-hero-split-left {
  text-align: left;
  max-width: 680px;
}

.tm-hero-split-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 13.5px;
  font-weight: 500;
  color: #93c5fd;
  letter-spacing: 0.02em;
}

.tm-eyebrow-sparkle {
  color: #60a5fa;
  font-size: 14px;
}

.tm-hero-split-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Plus Jakarta Sans', sans-serif !important;
    font-size: clamp(38px, 4.2vw, 51px);
    font-weight: normal;
    color: #ffffff;
    line-height: 1.14;
    letter-spacing: -0.025em;
    margin: 0 0 20px;
    text-align: left;
}

.tm-hero-split-desc {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(15px, 1.2vw, 17.5px);
  font-weight: 400;
  color: #94a3b8;
  line-height: 1.65;
  margin: 0 0 36px;
  max-width: 520px;
  text-align: left;
}

/* CTA Group */
.tm-hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.tm-hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #2563eb;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 10px;
  text-decoration: none !important;
  box-shadow: 0 10px 25px -3px rgba(37, 99, 235, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  transition: all 0.25s ease;
}

.tm-hero-btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -3px rgba(37, 99, 235, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
  color: #ffffff !important;
}

.tm-hero-btn-glass {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: #f1f5f9 !important;
  font-size: 15px;
  font-weight: 500;
  padding: 13px 26px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-decoration: none !important;
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}

.tm-hero-btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* Right Graphic */
.tm-hero-split-right {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.tm-hero-chip-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tm-chip-radial-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.45) 0%, rgba(59, 130, 246, 0.18) 45%, transparent 70%);
  filter: blur(45px);
  pointer-events: none;
  z-index: 1;
}

.tm-hero-chip-graphic {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  max-width: 460px;
  border-radius: 24px;
  filter: drop-shadow(0 20px 45px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 35px rgba(37, 99, 235, 0.35));
  animation: tmFloatChip 6s ease-in-out infinite alternate;
}

@keyframes tmFloatChip {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-12px);
  }
}

/* Bottom Brand Slider */
.tm-hero-brands-bottom {
  position: absolute;
  bottom: 45px;
  left: 0;
  width: 100%;
  z-index: 5;
  text-align: center;
  pointer-events: auto;
}

.tm-hero-brands-label {
	font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 15.5px;
	font-weight: 500;
	color: #ffffff;
	letter-spacing: 0.02em;
	margin: 0 0 38px;
	text-align: center;
}

.tm-hero-marquee-track-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.tm-hero-marquee-track {
  display: flex;
  width: max-content;
  animation: tmHeroMarquee 42s linear infinite;
}

.tm-hero-marquee-track:hover {
  animation-play-state: paused;
}

.tm-hero-marquee-group {
  display: flex;
  align-items: center;
  gap: 56px;
  padding-right: 56px;
}

.tm-brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tm-brand-logo-img {
  height: 24px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.88;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.tm-brand-logo-img:hover {
  opacity: 1;
  transform: scale(1.06);
}

@keyframes tmHeroMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive queries */
@media (max-width: 991px) {
  .tm-modern-blog-hero {
    min-height: auto;
    height: auto;
    padding: 130px 0 180px;
  }
  .tm-hero-split-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .tm-hero-split-left {
    text-align: center;
    margin: 0 auto;
  }
  .tm-hero-split-title,
  .tm-hero-split-desc {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .tm-hero-cta-group {
    justify-content: center;
  }
  .tm-hero-chip-wrapper {
    max-width: 360px;
  }
}

@media (max-width: 680px) {
  .tm-title-row-1 {
    flex-direction: column;
    gap: 12px;
  }
  .tm-modern-hero-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: auto;
    gap: 20px;
  }
  .tm-floating-avatar-badge {
    position: static;
    margin: 0 auto;
  }
  .tm-floating-stat-card {
    position: static;
    margin: 0 auto;
  }
  .tm-modern-phone-card {
    width: 100%;
    max-width: 310px;
  }
}

/* ==========================================================================
   Featured / Latest Blogs Section
   ========================================================================== */
/* ==========================================================================
   Featured / Latest Blogs Section (Matching Vercel Reference Design)
   ========================================================================== */
.moreblog_article {
	background-color: #000000 !important;
	padding: 70px 0 40px !important;
	position: relative;
	z-index: 10;
	margin-top: 0px;
	margin-bottom: 0px;
}

.tm-blog-header-row {
  text-align: center !important;
  max-width: 820px !important;
  margin: 0 auto 48px auto !important;
  padding: 0 16px !important;
}

.tm-blog-heading {
  font-size: clamp(30px, 3.8vw, 44px) !important;
  font-weight: 400 !important; /* Non-bold regular font weight */
  color: #ffffff !important;
  letter-spacing: -0.03em !important;
  line-height: 1.25 !important;
  margin: 0 0 14px 0 !important;
  text-align: center !important;
}

.tm-blog-subheading {
  font-size: 16.5px !important;
  font-weight: 400 !important; /* Non-bold */
  color: #a1a1aa !important;
  line-height: 1.6 !important;
  max-width: 660px !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.tm-blog-nav-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  flex-wrap: nowrap !important;
  padding-bottom: 16px !important;
}

.tm-blog-pills {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  padding: 4px 0 !important;
}

.tm-blog-pills::-webkit-scrollbar {
  display: none !important;
}

.tm-blog-pill {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  color: #88888b !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  padding: 6px 14px !important;
  border-radius: 9999px !important;
  cursor: pointer !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease !important;
}

.tm-blog-pill:hover {
  color: #ffffff !important;
}

.tm-blog-pill.active {
  background: #18191c !important;
  border-color: #27282e !important;
  color: #ffffff !important;
}

.tm-blog-search-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-shrink: 0 !important;
}

.tm-blog-search-box {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #0d0d0f !important;
  border: 1px solid #1f2025 !important;
  border-radius: 9999px !important;
  padding: 6px 14px !important;
  color: #88888b !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  transition: border-color 0.2s ease !important;
}

.tm-blog-search-box:focus-within {
  border-color: #383a42 !important;
}

.tm-blog-search-box input {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  color: #ffffff !important;
  font-size: 13px !important;
  width: 130px !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  padding: 0 !important;
}

.tm-blog-search-box input::placeholder {
  color: #55555a !important;
}

.tm-blog-search-box kbd {
  display: none !important;
}

.tm-blog-rss {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: #0d0d0f !important;
  border: 1px solid #1f2025 !important;
  color: #88888b !important;
  text-decoration: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  transition: color 0.15s ease, border-color 0.15s ease !important;
}

.tm-blog-rss:hover {
  color: #ffffff !important;
  border-color: #383a42 !important;
}

/* ==========================================================================
   Vercel-Style Cards (Matching Reference: Solid Dark Graphite, Crisp 1px Border, NO SHADOW)
   ========================================================================== */
.related_blog_posts {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.tm-vc-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  height: 100% !important;
  background: #0c0d0e !important;
  border: 1px solid #1c1d22 !important;
  border-radius: 8px !important;
  padding: 24px 22px 22px !important;
  text-decoration: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  transition: border-color 0.2s ease, background-color 0.2s ease !important;
}

.tm-vc-card:hover,
.tm-vc-card:focus {
  background: #111215 !important;
  border-color: #2e3038 !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  text-decoration: none !important;
}

.tm-vc-card-top {
  display: flex !important;
  flex-direction: column !important;
}

.tm-vc-meta {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-size: 13.5px !important;
  margin-bottom: 14px !important;
  line-height: 1 !important;
}

.tm-vc-date {
  color: #e4e4e7 !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
}

.tm-vc-category {
  color: #636674 !important;
  font-weight: 400 !important;
}

/* Featured Blog Thumbnail in Card */
.tm-vc-thumb-wrap {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  background: #141519 !important;
  border: 1px solid #1f2025 !important;
}

.tm-vc-thumb {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.tm-vc-card:hover .tm-vc-thumb {
  transform: scale(1.03) !important;
}

/* Title on Bottom (Replacing Excerpt) */
.tm-vc-card-bottom {
  display: flex !important;
  flex-direction: column !important;
  margin-top: 18px !important;
}
.tm-vc-title {
	color: #ffffff !important;
	font-size: 19px !important;
	font-weight: normal !important;
	line-height: 1.35 !important;
	letter-spacing: 0.025em !important;
	margin: 0 0 16px 0 !important;
	transition: color 0.15s ease !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 2 !important;
	-webkit-box-orient: vertical !important;
	overflow: hidden !important;
}

.tm-vc-card:hover .tm-vc-title {
  color: #38bdf8 !important;
}

.tm-vc-author {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.tm-vc-avatars {
  display: flex !important;
  align-items: center !important;
}

.tm-vc-avatar {
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  border: 1.5px solid #0c0d0e !important;
  object-fit: cover !important;
  background: #27272a !important;
}

.tm-vc-author-name {
  color: #828690 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
}

/* STRICT ZERO BOX-SHADOW ENFORCEMENT */
.moreblog_article,
.moreblog_article *,
.related_blog_posts,
.related_blog_posts *,
.tm-vc-card,
.tm-vc-card:hover,
.tm-vc-card:focus,
.tm-vc-card * {
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}

/* ==========================================================================
   All Blogs Section (Grid + Sidebar)
   ========================================================================== */
/* ==========================================================================
   Extended Container Width for Spacious Modern Layout
   ========================================================================== */
body.page-template-blog .container,
body.blog .container,
.moreblog_article .container,
.latest_bogs .container {
  max-width: 1440px !important;
  width: 100% !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

@media (min-width: 1600px) {
  body.page-template-blog .container,
  body.blog .container,
  .moreblog_article .container,
  .latest_bogs .container {
    max-width: 1520px !important;
  }
}

/* ==========================================================================
   All Blogs Section (Codrops Style Archive + Sticky Dark Form)
   ========================================================================== */
.latest_bogs {
	background-color: #101010 !important;
	padding: 60px 0 100px !important;
	position: relative !important;
	z-index: 10;
	border-top: 1px solid #262626;
	overflow: visible !important;
}

.latest_bogs .container {
  overflow: visible !important;
}

.tm-blog-archive-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  position: relative !important;
  overflow: visible !important;
}

.tm-sidebar-col {
  display: block !important;
  position: relative !important;
  align-self: stretch !important;
  height: auto !important;
  overflow: visible !important;
}

/* Header */
.tm-cd-header {
  margin-bottom: 38px !important;
}

.tm-cd-header h2 {
  color: #ffffff !important;
  font-size: clamp(28px, 2.5vw, 36px) !important;
  font-weight: 700 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.25 !important;
  margin-bottom: 10px !important;
}

.tm-cd-header p {
	color: #9b9b9b !important;
	font-size: 15.5px !important;
	line-height: 1.6 !important;
	max-width: 840px !important;
	margin-bottom: 0 !important;
}

/* Codrops-Style Blog Item */
.tm-cd-item {
	display: flex !important;
	gap: 28px !important;
	align-items: flex-start !important;
	padding-bottom: 36px !important;
	margin-bottom: 36px !important;
	border-bottom: 1px solid #181921 !important;
	background: transparent !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	-webkit-box-shadow: none !important;
	transition: border-color 0.2s ease !important;
	border-top: 1px solid #181921 !important;
	padding-top: 30px;
}

.tm-cd-item:last-child {
  border-bottom: none !important;
  margin-bottom: 16px !important;
}

.tm-cd-thumb {
  flex: 0 0 350px !important;
  aspect-ratio: 16 / 10 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  background: #101115 !important;
  border: 1px solid #1c1d24 !important;
}

.tm-cd-thumb a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

.tm-cd-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.35s ease !important;
}

.tm-cd-item:hover .tm-cd-thumb img {
  transform: scale(1.04) !important;
}

.tm-cd-details {
  flex: 1 !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}

.tm-cd-tags {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin-bottom: 10px !important;
}

.tm-cd-tag {
  display: inline-block !important;
  font-size: 11.5px !important;
  color: #8e8e93 !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid #252731 !important;
  padding: 2px 10px !important;
  border-radius: 9999px !important;
  text-decoration: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  transition: all 0.2s ease !important;
}

.tm-cd-tag:hover {
  color: #ffffff !important;
  border-color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.1) !important;
}

.tm-cd-title {
	font-size: 22px !important;
	font-weight: normal !important;
	line-height: 1.35 !important;
	letter-spacing: -0.02em !important;
	margin: 0 0 8px 0 !important;
}

.tm-cd-title a {
  color: #ffffff !important;
  text-decoration: none !important;
  transition: color 0.15s ease !important;
}

.tm-cd-title a:hover {
  color: #38bdf8 !important;
}

.tm-cd-meta {
  font-size: 13px !important;
  color: #71717a !important;
  margin-bottom: 12px !important;
  line-height: 1.4 !important;
}

.tm-cd-meta .tm-cd-cat {
  color: #cbd5e1 !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  transition: color 0.15s ease !important;
}

.tm-cd-meta .tm-cd-cat:hover {
  color: #38bdf8 !important;
}

.tm-cd-meta .tm-cd-date {
  color: #8e8e93 !important;
}

.tm-cd-meta .tm-cd-author {
  color: #cbd5e1 !important;
  font-weight: 500 !important;
}

.tm-cd-excerpt {
  font-size: 14.5px !important;
  line-height: 1.6 !important;
  color: #828795 !important;
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* Pagination */
.Pager2 {
  margin-top: 20px !important;
  display: flex !important;
  justify-content: center !important;
}

.Pager2 .page-numbers {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 38px !important;
  height: 38px !important;
  padding: 0 12px !important;
  margin: 0 4px !important;
  background: #0d0e12 !important;
  border: 1px solid #23252e !important;
  color: #cbd5e1 !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  border-radius: 6px !important;
  transition: all 0.2s ease !important;
  text-decoration: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
}

.Pager2 .page-numbers:hover,
.Pager2 .page-numbers.current {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #000000 !important;
}

/* ==========================================================================
   Right Column: Sticky Dark Form Card with Dark Inputs & Gray Borders
   ========================================================================== */
.tm-sticky-sidebar {
  position: relative;
  z-index: 40;
  width: 100%;
}

/* Single Card Container - No inner card or double borders */
.tm-dark-form-card {
  background: #0d0e12 !important;
  border: 1px solid #23252d !important;
  border-radius: 12px !important;
  padding: 32px 26px !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  margin-bottom: 0 !important;
}

/* Eliminate any inner card styling or double borders */
.tm-dark-form-card .blog-contact-form,
.tm-dark-form-card .form-container,
.blog-contact-form .form-container {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  border-radius: 0 !important;
  max-width: 100% !important;
}

.tm-dark-form-card h2,
.promotion_contact_banner .form-container h2 {
  color: #ffffff !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  margin-bottom: 8px !important;
  text-align: center !important;
}

.tm-dark-form-card p,
.promotion_contact_banner .form-container p {
  color: #8e8e93 !important;
  font-size: 13.5px !important;
  line-height: 1.5 !important;
  margin-bottom: 22px !important;
  text-align: center !important;
}

.tm-dark-form-card .form-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
}

.tm-dark-form-card .full-width {
  grid-column: span 2 !important;
}

.tm-dark-form-card .form-group {
  margin-bottom: 0 !important;
}

/* Dark Input Fields with Gray Border */
#blogcontact input[type="text"],
#blogcontact input[type="email"],
#blogcontact input[type="tel"],
#blogcontact input.form-control,
#blogcontact select,
#blogcontact textarea,
.promotion_contact_banner input,
.promotion_contact_banner select,
.promotion_contact_banner textarea,
.promotion_contact_banner .form-control {
  background-color: #14151a !important;
  background: #14151a !important;
  color: #ffffff !important;
  border: 1px solid #4a4d59 !important; /* Gray Color Border */
  border-radius: 6px !important;
  padding: 11px 14px !important;
  font-size: 13.5px !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  transition: border-color 0.2s ease, background-color 0.2s ease !important;
  width: 100% !important;
  height: 44px !important;
}

#blogcontact textarea {
  height: 96px !important;
  resize: vertical !important;
}

#blogcontact input:focus,
#blogcontact select:focus,
#blogcontact textarea:focus,
.promotion_contact_banner input:focus,
.promotion_contact_banner select:focus,
.promotion_contact_banner textarea:focus {
  border-color: #8e92a0 !important;
  background-color: #171920 !important;
  box-shadow: none !important;
  outline: none !important;
}

#blogcontact input::placeholder,
#blogcontact textarea::placeholder {
  color: #636775 !important;
}

/* Phone Field with Dynamic Country Code Display */
.tm-phone-input-wrap {
  display: flex !important;
  align-items: stretch !important;
  width: 100% !important;
  background-color: #14151a !important;
  border: 1px solid #4a4d59 !important; /* Gray Color Border */
  border-radius: 6px !important;
  overflow: hidden !important;
  height: 44px !important;
  transition: border-color 0.2s ease !important;
}

.tm-phone-input-wrap:focus-within {
  border-color: #8e92a0 !important;
  background-color: #171920 !important;
}

.tm-phone-dial-code {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  padding: 0 14px !important;
  background-color: #1a1c24 !important;
  color: #38bdf8 !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  border-right: 1px solid #4a4d59 !important;
  user-select: none !important;
  white-space: nowrap !important;
  min-width: 76px !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
}
#blogcontact #blog_phone_input {
	border-top-left-radius: 0px !important;
	border-bottom-left-radius: 0px !important;
	border-left: 0px !important;
	border-top: 0px !important;
	border-right: 0px !important;
}
#tm_dial_flag {
  font-size: 17px !important;
  line-height: 1 !important;
  display: inline-block !important;
}

#tm_dial_code_text {
  color: #38bdf8 !important;
  font-weight: 600 !important;
  font-size: 13px !important;
}

.tm-phone-dial-code:hover {
  background-color: #222530 !important;
}

.tm-phone-input {
  flex: 1 !important;
  background: transparent !important;
  background-color: transparent !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 14px !important;
  height: 100% !important;
  font-size: 13.5px !important;
  outline: none !important;
  box-shadow: none !important;
  width: 100% !important;
}

.tm-phone-input:focus {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
  background: transparent !important;
  background-color: transparent !important;
}

/* Modern Select2 Dropdown Dark Theme */
.select2-container {
  width: 100% !important;
}

.select2-container--default .select2-selection--single {
  background-color: #14151a !important;
  border: 1px solid #4a4d59 !important;
  border-radius: 8px !important;
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease !important;
  outline: none !important;
}

.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--single {
  border-color: #38bdf8 !important;
  background-color: #171922 !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.12) !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #ffffff !important;
  line-height: 42px !important;
  padding-left: 14px !important;
  padding-right: 38px !important;
  font-size: 13.5px !important;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #717686 !important;
}

/* Modern Chevron Icon */
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100% !important;
  width: 38px !important;
  right: 4px !important;
  top: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: none !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  display: none !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow::after {
  content: "" !important;
  display: block !important;
  width: 7px !important;
  height: 7px !important;
  border-right: 1.5px solid #94a3b8 !important;
  border-bottom: 1.5px solid #94a3b8 !important;
  transform: rotate(45deg) translateY(-2px) !important;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease !important;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow::after {
  transform: rotate(-135deg) translateY(-2px) !important;
  border-color: #38bdf8 !important;
}

/* Modern Dropdown Floating Menu */
.select2-dropdown {
  background-color: #12141c !important;
  border: 1px solid #363a48 !important;
  border-radius: 10px !important;
  box-shadow: 0 20px 40px -8px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
  z-index: 999999 !important;
  overflow: hidden !important;
  padding: 6px !important;
  margin-top: 4px !important;
  max-height: 210px !important;
}

/* Dropdown Search Input */
.select2-search--dropdown {
  padding: 4px 4px 6px 4px !important;
  background: transparent !important;
}

.select2-search--dropdown .select2-search__field {
  background-color: #1a1d26 !important;
  border: 1px solid #363a48 !important;
  color: #ffffff !important;
  border-radius: 6px !important;
  padding: 7px 10px !important;
  font-size: 13px !important;
  outline: none !important;
  box-shadow: none !important;
  width: 100% !important;
  transition: border-color 0.2s ease, background-color 0.2s ease !important;
}

.select2-search--dropdown .select2-search__field:focus {
  border-color: #38bdf8 !important;
  background-color: #1f2330 !important;
}

/* Options Container & Custom Scrollbar */
.select2-results,
.select2-results__options {
  padding: 2px 0 !important;
  max-height: 175px !important;
  overflow-y: auto !important;
  scrollbar-width: thin;
  scrollbar-color: #2e3342 transparent;
}

.select2-results__options::-webkit-scrollbar {
  width: 5px !important;
}

.select2-results__options::-webkit-scrollbar-track {
  background: transparent !important;
}

.select2-results__options::-webkit-scrollbar-thumb {
  background: #2e3342 !important;
  border-radius: 99px !important;
}

.select2-results__options::-webkit-scrollbar-thumb:hover {
  background: #38bdf8 !important;
}

/* Option Items */
.select2-container--default .select2-results__option {
  background-color: transparent !important;
  color: #cbd5e1 !important;
  padding: 9px 12px !important;
  font-size: 13.5px !important;
  border-radius: 6px !important;
  margin-bottom: 2px !important;
  transition: all 0.15s ease !important;
  cursor: pointer !important;
}

.select2-container--default .select2-results__option:last-child {
  margin-bottom: 0 !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #1f2330 !important;
  color: #ffffff !important;
  padding-left: 15px !important;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
  background-color: rgba(56, 189, 248, 0.15) !important;
  color: #38bdf8 !important;
  font-weight: 500 !important;
}

/* Form Submit Button */
#blogcontact button[type="submit"],
#tmBlogSubmitBtn,
.promotion_contact_banner button[type="submit"] {
  background: #ffffff !important;
  color: #000000 !important;
  border: none !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  letter-spacing: 0.05em !important;
  padding: 13px !important;
  border-radius: 6px !important;
  width: 100% !important;
  cursor: pointer !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  transition: all 0.2s ease !important;
  margin-top: 10px !important;
}

#blogcontact button[type="submit"]:hover,
#tmBlogSubmitBtn:hover,
.promotion_contact_banner button[type="submit"]:hover {
  background: #38bdf8 !important;
  color: #000000 !important;
  box-shadow: none !important;
}

/* Call to Action Banner */
#connect__bgus {
  background: linear-gradient(180deg, #050609 0%, #0c101c 100%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 80px 0 !important;
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
  .tm-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .tm-hero-content {
    max-width: 100%;
  }
  .tm-hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .tm-hero-filter-bar {
    justify-content: center;
  }
  .tm-prism-stage {
    height: 380px;
  }
  .tm-cd-item {
    flex-direction: column !important;
    gap: 16px !important;
  }
  .tm-cd-thumb {
    flex: 0 0 auto !important;
    width: 100% !important;
    height: 210px !important;
  }
  .tm-sticky-sidebar {
    position: static !important;
    margin-top: 40px !important;
  }
}
