/* ==========================================================================
   DEVCODER Q — WORDPRESS BLOG & ARCHIVE STYLES
   Modern Glassmorphism | Neo-Linear Tech | Dark/Light Mode Responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. BLOG HERO & CREATIVE HEADER SECTION
   -------------------------------------------------------------------------- */
.blog-hero-section {
  position: relative;
  padding: 130px 0 50px 0;
  text-align: center;
  overflow: hidden;
}

.hero-ambient-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 250px;
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.12) 0%, rgba(168, 85, 247, 0.06) 50%, transparent 70%);
  pointer-events: none;
  filter: blur(40px);
  z-index: 0;
}

.blog-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(14, 20, 40, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 22px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

.blog-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  font-weight: 800;
  line-height: 1.22;
  color: var(--text-pure-black);
  margin: 0 auto 16px auto;
  max-width: 840px;
  letter-spacing: -0.025em;
  text-wrap: balance;
  position: relative;
  z-index: 1;
}

[data-theme="dark"] .blog-hero-title {
  color: #ffffff !important;
  background: linear-gradient(135deg, #ffffff 40%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.blog-hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 36px auto;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* Creative Search Bar (Hero) */
.blog-filter-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.blog-search-form {
  width: 100%;
  max-width: 520px;
}

.blog-search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.search-inner-icon {
  position: absolute;
  left: 18px;
  color: var(--accent-cyan);
  pointer-events: none;
  z-index: 2;
  transition: transform var(--transition-fast);
}

.blog-search-input {
  width: 100%;
  padding: 14px 24px 14px 48px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-black);
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  outline: none;
  transition: all var(--transition-fast);
}

[data-theme="dark"] .blog-search-input {
  background: #0d1322 !important;
  border-color: #2d3b55 !important;
  color: #f1f5f9 !important;
}

.blog-search-input:focus {
  border-color: var(--accent-cyan) !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18) !important;
}

.blog-search-input:focus + .search-inner-icon,
.blog-search-input-wrapper:focus-within .search-inner-icon {
  transform: scale(1.1);
  color: var(--accent-cyan);
}

/* Category Filter Pills */
.blog-category-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-black);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .category-pill {
  background: #0d1322 !important;
  border-color: #2d3b55 !important;
  color: #cbd5e1 !important;
}

.cat-pill-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

[data-theme="dark"] .cat-pill-badge {
  background: #1e293b !important;
  color: #94a3b8 !important;
}

.category-pill:hover {
  border-color: var(--accent-cyan) !important;
  color: var(--accent-cyan) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(56, 189, 248, 0.15);
}

.category-pill.active {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #7c3aed 100%) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.category-pill.active .cat-pill-badge {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   2. CREATIVE FEATURED POST SPOTLIGHT (MAGAZINE STYLE)
   -------------------------------------------------------------------------- */
.featured-post-card {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 0;
  background: var(--bg-card);
  border: 1.5px solid var(--border-black);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  margin-bottom: 56px;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

[data-theme="dark"] .featured-post-card {
  background: #0d1322 !important;
  border-color: #2d3b55 !important;
}

.featured-post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.5) !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6), 0 0 24px rgba(56, 189, 248, 0.12);
}

.featured-post-image {
  position: relative;
  min-height: 360px;
  background: #162036;
  overflow: hidden;
}

.featured-image-link {
  display: block;
  width: 100%;
  height: 100%;
}

.featured-img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-post-card:hover .featured-img-cover {
  transform: scale(1.04);
}

/* Fallback Branded Canvas */
.featured-fallback-canvas {
  width: 100%;
  height: 100%;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #090d16 0%, #162036 50%, #0d1322 100%);
  position: relative;
}

.fallback-logo {
  width: 50%;
  max-width: 220px;
  height: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: transform var(--transition-normal);
}

.featured-post-card:hover .fallback-logo {
  transform: scale(1.08);
}

/* Floating Badges */
.post-card-cat-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(14, 20, 40, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(56, 189, 248, 0.6);
  border-radius: var(--radius-xs);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #38bdf8 !important;
  -webkit-text-fill-color: #38bdf8 !important;
  text-decoration: none;
  z-index: 5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: all var(--transition-fast);
}

.post-card-cat-badge:hover {
  background: #38bdf8 !important;
  color: #090d16 !important;
  -webkit-text-fill-color: #090d16 !important;
  transform: translateY(-1px);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
}

/* Featured Content Block */
.featured-post-content {
  padding: 38px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #0d1322;
}

.featured-top-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
  margin-bottom: 14px;
}

.spotlight-tag {
  color: #fbbf24;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.meta-separator {
  color: #475569;
}

.meta-date {
  color: #94a3b8;
}

.featured-post-title {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  font-weight: 800;
  line-height: 1.32;
  margin-bottom: 12px;
  text-wrap: balance;
  word-break: break-word;
  overflow-wrap: break-word;
}

.featured-post-title a {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-decoration: none;
  transition: color var(--transition-fast);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-post-title a:hover {
  color: #38bdf8 !important;
  -webkit-text-fill-color: #38bdf8 !important;
}

.featured-post-excerpt {
  color: #cbd5e1 !important;
  -webkit-text-fill-color: #cbd5e1 !important;
  font-size: 0.96rem;
  line-height: 1.65;
  margin-bottom: 26px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid #1e293b;
  gap: 16px;
  flex-wrap: nowrap;
}

.post-author-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-shrink: 1;
}

.post-author-chip img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid #38bdf8;
  display: block;
  flex-shrink: 0;
}

.author-details {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

.author-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: #f1f5f9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.author-name-sm {
  font-weight: 700;
  font-size: 0.82rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.author-role, .meta-readtime {
  font-size: 0.75rem;
  color: #94a3b8;
  white-space: nowrap;
}

.btn-read-featured {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(99, 102, 241, 0.15));
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 9999px;
  color: #38bdf8 !important;
  -webkit-text-fill-color: #38bdf8 !important;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.btn-read-featured svg {
  transition: transform var(--transition-fast);
}

.btn-read-featured:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #6366f1 100%) !important;
  color: #090d16 !important;
  -webkit-text-fill-color: #090d16 !important;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

.btn-read-featured:hover svg {
  transform: translateX(4px);
}

/* Light Mode for Featured Read Button */
html:not([data-theme="dark"]) .btn-read-featured {
  background: linear-gradient(135deg, #0284c7 0%, #4f46e5 100%) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25) !important;
}

html:not([data-theme="dark"]) .btn-read-featured:hover {
  background: linear-gradient(135deg, #0369a1 0%, #4338ca 100%) !important;
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.35) !important;
}

/* --------------------------------------------------------------------------
   3. CREATIVE BLOG POSTS GRID
   -------------------------------------------------------------------------- */
.blog-layout-grid {
  display: grid;
  grid-template-columns: 2.75fr 1.25fr;
  gap: 44px;
  margin-bottom: 80px;
}

.blog-layout-full {
  grid-template-columns: 1fr;
}

.grid-section-header {
  margin-bottom: 28px;
}

.grid-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #f1f5f9;
  letter-spacing: -0.01em;
}

.title-gradient-line {
  width: 4px;
  height: 22px;
  background: linear-gradient(180deg, #38bdf8 0%, #a855f7 100%);
  border-radius: 4px;
  display: inline-block;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 28px;
}

/* Creative Post Card */
.post-card {
  position: relative;
  z-index: 2;
  background: #0d1322;
  border: 1.5px solid #1e293b;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.card-accent-bar {
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, #38bdf8 0%, #818cf8 50%, #db2777 100%);
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4) !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 20px rgba(56, 189, 248, 0.1);
}

.post-card:hover .card-accent-bar {
  opacity: 1;
}

.post-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #162036;
  overflow: hidden;
  border-bottom: 1px solid #1e293b;
}

.post-thumb-link {
  display: block;
  width: 100%;
  height: 100%;
}

.card-img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.post-card:hover .card-img-cover {
  transform: scale(1.06);
}

.card-fallback-canvas {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d1322 0%, #162036 100%);
}

.fallback-card-logo {
  width: 45%;
  height: auto;
  object-fit: contain;
  opacity: 0.8;
  transition: transform var(--transition-fast);
}

.post-card:hover .fallback-card-logo {
  transform: scale(1.08);
}

/* Post Card Body */
.post-card-body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: #0d1322;
}

.post-card-meta-top {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 10px;
}

.post-card-title {
  font-family: var(--font-heading);
  font-size: 1.14rem;
  font-weight: 700;
  line-height: 1.38;
  margin-bottom: 10px;
  min-height: 2.76em;
  text-wrap: balance;
  word-break: break-word;
  overflow-wrap: break-word;
}

.post-card-title a {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-decoration: none;
  transition: color var(--transition-fast);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-title a:hover {
  color: #38bdf8 !important;
  -webkit-text-fill-color: #38bdf8 !important;
}

.post-card-excerpt {
  color: #cbd5e1 !important;
  -webkit-text-fill-color: #cbd5e1 !important;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #1e293b;
  font-size: 0.8rem;
  gap: 12px;
  flex-wrap: nowrap;
}

.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.82rem;
  color: #38bdf8 !important;
  -webkit-text-fill-color: #38bdf8 !important;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.read-more-link svg {
  transition: transform var(--transition-fast);
}

.read-more-link:hover {
  background: #38bdf8 !important;
  color: #090d16 !important;
  -webkit-text-fill-color: #090d16 !important;
  border-color: #38bdf8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.35);
}

.read-more-link:hover svg {
  transform: translateX(3px);
}

/* Light Mode for Card Read More Link */
html:not([data-theme="dark"]) .read-more-link {
  background: #f0f9ff !important;
  border-color: #bae6fd !important;
  color: #0284c7 !important;
  -webkit-text-fill-color: #0284c7 !important;
}

html:not([data-theme="dark"]) .read-more-link:hover {
  background: #0284c7 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: #0284c7 !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25) !important;
}

/* No Posts Found */
.no-posts-found {
  text-align: center;
  padding: 80px 24px;
  background: #0d1322;
  border: 1.5px solid #2d3b55;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.no-posts-icon {
  font-size: 2.6rem;
  margin-bottom: 16px;
}

.no-posts-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.no-posts-desc {
  color: #cbd5e1;
  max-width: 520px;
  margin: 0 auto 24px auto;
  line-height: 1.6;
}


.devcoderq-pagination .page-numbers.dots {
  border: none;
  background: transparent;
  box-shadow: none;
}

/* --------------------------------------------------------------------------
   5. SINGLE POST TEMPLATE & EDITORIAL TYPOGRAPHY
   -------------------------------------------------------------------------- */
.single-post-hero {
  position: relative;
  padding: 130px 0 36px 0;
  overflow: hidden;
}

.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #38bdf8 0%, #818cf8 50%, #db2777 100%);
  width: 0%;
  z-index: 999999;
  transition: width 0.08s ease-out;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.7), 0 0 4px rgba(219, 39, 119, 0.8);
}

body.admin-bar .reading-progress-bar {
  top: 32px !important;
}

@media screen and (max-width: 782px) {
  body.admin-bar .reading-progress-bar {
    top: 46px !important;
  }
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.crumb-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #94a3b8;
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.crumb-link:hover {
  color: #38bdf8;
}

.crumb-separator {
  color: #475569;
}

.single-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
}

.single-post-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.22;
  color: #ffffff;
  margin: 0 0 22px 0;
  max-width: 960px;
  letter-spacing: -0.025em;
  text-align: left;
  text-wrap: balance;
  word-break: break-word;
  overflow-wrap: break-word;
}

[data-theme="dark"] .single-post-title {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

/* Single Meta Bar */
.single-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
  gap: 16px;
  padding: 12px 20px;
  background: rgba(14, 20, 40, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  margin: 0 0 36px 0;
}

.single-meta-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.author-avatar-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #38bdf8;
  display: block;
}

.single-meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
  background: #162036;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid #2d3b55;
}

.single-meta-share {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quick-share-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Single Featured Image Banner - Full, Proportional, Optimized View */
.single-post-thumb-wrap {
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1.5px solid #2d3b55;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45);
  margin: 0 0 44px 0;
  background: #162036;
}

.single-featured-img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: cover;
  display: block;
}

.single-thumb-caption {
  padding: 10px 18px;
  font-size: 0.82rem;
  color: #94a3b8;
  background: #0d1322;
  border-top: 1px solid #1e293b;
  text-align: center;
  font-style: italic;
}

/* Single Post Container */
.single-post-container {
  display: grid;
  grid-template-columns: 2.75fr 1.25fr;
  gap: 44px;
  align-items: start;
}

.single-content-full {
  grid-template-columns: 1fr !important;
}

.single-article-wrap {
  background: #0d1322;
  border: 1.5px solid #1e293b;
  border-radius: 20px;
  padding: 40px 44px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 2;
}

/* Post Entry Content Rich Typography */
.post-entry-content {
  font-size: 1.14rem;
  line-height: 1.85;
  color: #cbd5e1;
}

[data-theme="dark"] .post-entry-content {
  color: #cbd5e1 !important;
  -webkit-text-fill-color: #cbd5e1 !important;
}

.post-entry-content p {
  margin-bottom: 26px;
  color: inherit;
}

.post-entry-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  font-weight: 800;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  margin: 50px 0 20px 0;
  line-height: 1.3;
  border-left: 4px solid #38bdf8;
  padding-left: 14px;
}

.post-entry-content h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  font-weight: 800;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  margin: 38px 0 16px 0;
}

.post-entry-content h4,
.post-entry-content h5,
.post-entry-content h6 {
  font-weight: 700;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  margin: 28px 0 12px 0;
}

.post-entry-content strong,
.post-entry-content b {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 700;
}

.post-entry-content ul,
.post-entry-content ol {
  margin: 0 0 28px 24px;
  color: inherit;
}

.post-entry-content li {
  margin-bottom: 10px;
  color: inherit;
}

.post-entry-content a {
  color: #38bdf8 !important;
  -webkit-text-fill-color: #38bdf8 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.post-entry-content a:hover {
  color: #a855f7 !important;
  -webkit-text-fill-color: #a855f7 !important;
}

.post-entry-content blockquote {
  position: relative;
  padding: 24px 30px;
  margin: 36px 0;
  background: #162036;
  border-left: 4px solid #38bdf8;
  border-radius: 0 14px 14px 0;
  font-style: italic;
  color: #f1f5f9;
  font-size: 1.15rem;
  line-height: 1.7;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.post-entry-content pre {
  background: #090d16;
  border: 1.5px solid #2d3b55;
  border-radius: 12px;
  padding: 22px;
  margin: 32px 0;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: #38bdf8;
}

.post-entry-content code {
  background: #162036;
  border: 1px solid #2d3b55;
  border-radius: 4px;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 0.88em;
  color: #38bdf8;
}

.post-entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 28px 0;
  border: 1px solid #1e293b;
}

.post-entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  border: 1px solid #1e293b;
  border-radius: 10px;
  overflow: hidden;
}

.post-entry-content th,
.post-entry-content td {
  padding: 12px 18px;
  border: 1px solid #1e293b;
}

.post-entry-content th {
  background: #162036;
  color: #ffffff;
  font-weight: 700;
}

.post-entry-content tr:nth-child(even) {
  background: rgba(22, 32, 54, 0.4);
}

/* Post Tags Cloud */
.single-tags-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 36px 0;
  padding-top: 24px;
  border-top: 1px solid #1e293b;
  flex-wrap: wrap;
}

.tags-label {
  font-weight: 700;
  font-size: 0.88rem;
  color: #94a3b8;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.single-tag-pill {
  padding: 5px 14px;
  background: #162036;
  border: 1px solid #2d3b55;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: #38bdf8;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.single-tag-pill:hover {
  background: #38bdf8;
  color: #090d16;
  transform: translateY(-1px);
}

/* Social Share Bar (Bottom) */
.post-share-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  background: #162036;
  border: 1px solid #2d3b55;
  border-radius: 14px;
  margin: 36px 0;
  flex-wrap: wrap;
  gap: 16px;
}

.share-label {
  font-weight: 700;
  font-size: 0.92rem;
  color: #f1f5f9;
}

.share-buttons-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #0d1322;
  border: 1px solid #2d3b55;
  border-radius: var(--radius-sm);
  color: #cbd5e1;
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.share-btn:hover {
  transform: translateY(-2px);
  color: #fff;
}

.share-twitter:hover { background: #1da1f2; border-color: #1da1f2; }
.share-linkedin:hover { background: #0a66c2; border-color: #0a66c2; }
.share-facebook:hover { background: #1877f2; border-color: #1877f2; }
.share-whatsapp:hover { background: #25d366; border-color: #25d366; }
.share-copy:hover { background: #38bdf8; border-color: #38bdf8; color: #090d16; }

/* Author Bio Box */
.author-bio-card {
  display: flex;
  gap: 22px;
  padding: 28px;
  background: #162036;
  border: 1.5px solid #2d3b55;
  border-radius: 16px;
  margin: 40px 0;
  align-items: center;
}

.author-bio-avatar {
  flex-shrink: 0;
}

.author-bio-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid #38bdf8;
  display: block;
}

.author-bio-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

.author-bio-role {
  font-size: 0.8rem;
  font-weight: 700;
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 10px;
}

.author-bio-desc {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.6;
}

/* Post Navigation */
.post-navigation-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 40px 0;
}

.nav-post-tile {
  padding: 22px 24px;
  background: #162036;
  border: 1.5px solid #2d3b55;
  border-radius: 14px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

.nav-post-tile:hover {
  border-color: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.nav-tile-next {
  text-align: right;
}

.nav-direction-label {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #38bdf8;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}

.nav-post-title {
  font-weight: 700;
  font-size: 1rem;
  color: #f1f5f9;
  line-height: 1.4;
}

/* Related Posts Section */
.related-posts-section {
  margin: 50px 0 30px 0;
}

/* --------------------------------------------------------------------------
   6. COMMENTS SECTION & FORM
   -------------------------------------------------------------------------- */
.comments-area {
  margin: 50px 0 20px 0;
  padding-top: 36px;
  border-top: 1px solid #1e293b;
}

.comments-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 24px;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
}

.comment-item {
  padding: 22px;
  background: #162036;
  border: 1.5px solid #2d3b55;
  border-radius: 14px;
  margin-bottom: 18px;
}

.comment-author-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.comment-author-wrap img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid #38bdf8;
}

.comment-author-name {
  font-weight: 700;
  color: #ffffff;
  font-size: 0.95rem;
}

.comment-date {
  font-size: 0.78rem;
  color: #94a3b8;
}

.comment-content {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.6;
}

.comment-reply-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #38bdf8;
  text-decoration: none;
  margin-top: 10px;
}

.comment-reply-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 18px;
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
  width: 100%;
  padding: 12px 18px;
  background: #162036;
  border: 1.5px solid #2d3b55;
  border-radius: 10px;
  color: #f1f5f9;
  font-size: 0.92rem;
  outline: none;
  margin-bottom: 16px;
  transition: all var(--transition-fast);
}

.comment-form textarea:focus,
.comment-form input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18);
}



/* --------------------------------------------------------------------------
   7. SIDEBAR & WIDGETS
   -------------------------------------------------------------------------- */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sidebar-widget,
.blog-sidebar .widget,
.blog-sidebar .sidebar-widget {
  padding: 26px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-black);
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  transition: border-color var(--transition-fast);
}

[data-theme="dark"] .sidebar-widget,
[data-theme="dark"] .blog-sidebar .widget {
  background: #0d1322 !important;
  border-color: #1e293b !important;
}

.sidebar-widget:hover,
.blog-sidebar .widget:hover {
  border-color: rgba(56, 189, 248, 0.35) !important;
}

/* Sidebar Search Widget - NO BUTTON, EMBEDDED ICON */
.blog-sidebar .wp-block-search__button,
.blog-sidebar .wp-block-search__button-outside button,
.blog-sidebar .wp-block-search__button-inside button,
.blog-sidebar .search-submit,
.blog-sidebar button[type="submit"] {
  display: none !important;
}

.blog-sidebar .wp-block-search__label {
  display: none !important;
}

.blog-sidebar .wp-block-search__inside-wrapper {
  position: relative !important;
  width: 100% !important;
  display: block !important;
  padding: 0 !important;
}

.blog-sidebar .wp-block-search__input,
.blog-sidebar input[type="search"],
.blog-sidebar .search-field {
  width: 100% !important;
  padding: 12px 18px 12px 42px !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2338bdf8' stroke-width='2.5'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cline x1='11' y1='11' x2='15' y2='15'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: 14px center !important;
  background-size: 16px !important;
  background-color: var(--bg-tertiary) !important;
  border: 1.5px solid var(--border-black) !important;
  border-radius: var(--radius-full) !important;
  color: var(--text-primary) !important;
  font-size: 0.9rem !important;
  outline: none !important;
  box-shadow: var(--shadow-sm) !important;
  transition: all var(--transition-fast) !important;
}

[data-theme="dark"] .blog-sidebar .wp-block-search__input,
[data-theme="dark"] .blog-sidebar input[type="search"] {
  background-color: #162036 !important;
  border-color: #2d3b55 !important;
  color: #f1f5f9 !important;
}

.blog-sidebar .wp-block-search__input:focus,
.blog-sidebar input[type="search"]:focus {
  border-color: var(--accent-cyan) !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2) !important;
}

.widget-title,
.blog-sidebar .wp-block-heading {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-pure-black);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-black);
  position: relative;
}

[data-theme="dark"] .widget-title,
[data-theme="dark"] .blog-sidebar .wp-block-heading {
  color: #ffffff !important;
  border-bottom-color: #2d3b55 !important;
}

.widget-categories ul,
.widget-recent-posts ul,
.widget-links ul,
.blog-sidebar .wp-block-latest-posts {
  list-style: none;
  padding: 0;
  margin: 0;
}

.widget-categories li,
.blog-sidebar .wp-block-categories-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
}

[data-theme="dark"] .widget-categories li,
[data-theme="dark"] .blog-sidebar .wp-block-categories-list li {
  border-bottom-color: #1e293b !important;
}

.widget-categories a,
.blog-sidebar .wp-block-categories-list a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

[data-theme="dark"] .widget-categories a,
[data-theme="dark"] .blog-sidebar .wp-block-categories-list a {
  color: #cbd5e1 !important;
}

.widget-categories a:hover,
.blog-sidebar .wp-block-categories-list a:hover {
  color: var(--accent-cyan) !important;
}

.widget-cat-count {
  padding: 2px 8px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-xs);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
}

[data-theme="dark"] .widget-cat-count {
  background: #1e293b !important;
  color: #94a3b8 !important;
}

/* Recent Post Widget Item */
.widget-post-item,
.blog-sidebar .wp-block-latest-posts li {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
  align-items: center;
}

[data-theme="dark"] .widget-post-item,
[data-theme="dark"] .blog-sidebar .wp-block-latest-posts li {
  border-bottom-color: #1e293b !important;
}

.widget-post-thumb {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border-black);
}

[data-theme="dark"] .widget-post-thumb {
  border-color: #2d3b55 !important;
  background: #162036;
}

.widget-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.widget-post-title,
.blog-sidebar .wp-block-latest-posts__post-title {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-pure-black);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition-fast);
}

[data-theme="dark"] .widget-post-title,
[data-theme="dark"] .blog-sidebar .wp-block-latest-posts__post-title {
  color: #ffffff !important;
}

.widget-post-title:hover,
.blog-sidebar .wp-block-latest-posts__post-title:hover {
  color: var(--accent-cyan) !important;
}

.widget-post-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Newsletter / CTA Widget */
.widget-newsletter-card {
  text-align: center;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #7c3aed 100%);
  padding: 2px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
}

.widget-newsletter-inner {
  background: #0d1322;
  padding: 28px 20px;
  border-radius: 14px;
}

.widget-newsletter-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.widget-newsletter-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.widget-newsletter-desc {
  font-size: 0.86rem;
  color: #cbd5e1;
  margin-bottom: 18px;
  line-height: 1.5;
}

/* Tag Cloud Widget */
.widget-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.widget-tag-cloud a {
  padding: 5px 12px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-black);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.widget-tag-cloud a:hover {
  background: var(--text-pure-black);
  color: var(--bg-primary);
  transform: translate(-1px, -1px);
}

/* --------------------------------------------------------------------------
   8. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .blog-layout-grid,
  .single-post-container {
    grid-template-columns: 1fr;
  }
  .featured-post-card {
    grid-template-columns: 1fr;
  }
  .featured-post-image {
    min-height: 240px;
  }
  .post-navigation-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .blog-hero-section {
    padding: 110px 0 40px 0;
  }
  .posts-grid {
    grid-template-columns: 1fr;
  }
  .author-bio-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .post-share-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --------------------------------------------------------------------------
   9. CONTACT FORM 7 STYLING (NEO-LINEAR GLASSERIES)
   -------------------------------------------------------------------------- */
.wpcf7 form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wpcf7 form p {
  margin-bottom: 0;
}

.wpcf7 form label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 12px 18px;
  background: var(--bg-card);
  border: var(--stroke-width-thick) solid var(--border-black);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  outline: none;
  transition: all var(--transition-fast);
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-hover);
}

.wpcf7 input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: var(--grad-sparkle);
  color: #fff;
  border: var(--stroke-width-thick) solid var(--border-black);
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.98rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.wpcf7 input[type="submit"]:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hover);
}

.wpcf7-response-output {
  margin: 16px 0 0 0 !important;
  padding: 14px 18px !important;
  border-radius: var(--radius-sm) !important;
  border: var(--stroke-width-thick) solid var(--border-black) !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  box-shadow: var(--shadow-sm) !important;
}

.wpcf7-validation-errors {
  background: #fef2f2 !important;
  color: #991b1b !important;
}

.wpcf7-mail-sent-ok {
  background: #f0fdf4 !important;
  color: #166534 !important;
}

/* --------------------------------------------------------------------------
   10. ELEMENTOR & WPBAKERY PAGE BUILDER COMPATIBILITY
   -------------------------------------------------------------------------- */
.site-builder-fullwidth {
  width: 100%;
  overflow-x: hidden;
}

.elementor-section.elementor-section-boxed > .elementor-container {
  max-width: var(--container-max);
}

.elementor-widget-wrap {
  padding: 0;
}

.elementor-canvas-body {
  background: var(--bg-primary);
  color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   11. STARTUP AGENCY DEMO STYLING (AYROUI + DEVCODER Q NEO-LINEAR)
   High-Contrast Visibility in both Dark & Light Modes
   -------------------------------------------------------------------------- */
.dcq-builder-section {
  position: relative;
  width: 100%;
  padding: 80px 0;
  color: var(--text-primary);
}

.dcq-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px auto;
}

.dcq-section-header .post-badge {
  margin-bottom: 14px;
}

.dcq-section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-pure-black);
  line-height: 1.2;
  margin-bottom: 16px;
}

.dcq-section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Startup Hero 2-Column Layout */
.dcq-startup-hero {
  padding: 100px 0 70px 0;
  position: relative;
}

.dcq-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.dcq-hero-content {
  text-align: left;
}

.dcq-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 800;
  color: var(--text-pure-black);
  line-height: 1.15;
  margin-bottom: 20px;
}

.dcq-hero-lead {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 600px;
}

.dcq-hero-visual {
  position: relative;
}

.dcq-visual-window {
  background: var(--bg-card);
  border: var(--stroke-width-thick) solid var(--border-black);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  padding: 28px;
}

.dcq-floating-stat {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--bg-card);
  border: var(--stroke-width-thick) solid var(--border-black);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-hover);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
}

/* Startup About 2-Column with Tabs */
.dcq-about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.dcq-about-card {
  background: var(--bg-card);
  border: var(--stroke-width-thick) solid var(--border-black);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.dcq-experience-badge {
  display: inline-flex;
  flex-direction: column;
  background: var(--grad-sparkle);
  color: #fff;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  border: 2px solid var(--border-black);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.dcq-experience-badge .exp-num {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
}

.dcq-experience-badge .exp-label {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dcq-checklist {
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dcq-checklist-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.98rem;
}

.dcq-check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  border: 1.5px solid #16a34a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
  flex-shrink: 0;
}

[data-theme="dark"] .dcq-check-icon {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border-color: #4ade80;
}

/* Service Cards */
.dcq-service-card {
  background: var(--bg-card);
  border: var(--stroke-width-thick) solid var(--border-black);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
}

.dcq-service-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-hover);
}

.dcq-service-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--bg-tertiary);
  border: var(--stroke-width) solid var(--border-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.dcq-service-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-pure-black);
  margin-bottom: 12px;
}

.dcq-service-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Pricing Cards */
.dcq-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  align-items: stretch;
}

.dcq-pricing-card {
  background: var(--bg-card);
  border: var(--stroke-width-thick) solid var(--border-black);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform var(--transition-normal);
}

.dcq-pricing-card.featured {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-hover);
  transform: translateY(-8px);
}

.dcq-pricing-badge {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--grad-sparkle);
  color: #fff;
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  border: 1px solid var(--border-black);
}

.dcq-price-row {
  margin: 20px 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.dcq-price-amount {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-pure-black);
}

.dcq-price-period {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 700;
}

/* Team Grid */
.dcq-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.dcq-team-card {
  background: var(--bg-card);
  border: var(--stroke-width-thick) solid var(--border-black);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  text-align: center;
  padding: 32px 20px;
}

.dcq-team-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 16px auto;
  border: 2px solid var(--border-black);
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: var(--shadow-sm);
}

.dcq-team-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-pure-black);
  margin-bottom: 4px;
}

.dcq-team-role {
  font-size: 0.85rem;
  color: var(--accent-cyan);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   11. STARTUP AGENCY DEMO STYLING (AYROUI REFERENCE + DEVCODER Q NEO-LINEAR)
   High-Contrast Visibility & Modern Startup Grid
   -------------------------------------------------------------------------- */
.dcq-startup-wrapper {
  position: relative;
  width: 100%;
  overflow-x: hidden;
  background: var(--bg-primary);
  color: var(--text-primary);
}

/* Vertical Background Guide Lines (AyroUI Characteristic) */
.dcq-verticle-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  display: flex;
  justify-content: space-around;
  opacity: 0.05;
}

[data-theme="dark"] .dcq-verticle-lines {
  opacity: 0.08;
}

.dcq-vlines {
  width: 1px;
  height: 100%;
  background: var(--border-black);
}

/* Section Title 3 (AyroUI Standard) */
.dcq-section-title-three {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px auto;
  position: relative;
  z-index: 2;
}

.dcq-section-title-three h5 {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  display: inline-block;
  background: rgba(2, 132, 199, 0.08);
  padding: 4px 14px;
  border-radius: 9999px;
  border: 1px solid var(--border-black);
}

[data-theme="dark"] .dcq-section-title-three h5 {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}

.dcq-section-title-three h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--text-pure-black);
  line-height: 1.2;
  margin-bottom: 16px;
}

.dcq-section-title-three p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
}

/* 1. HERO HEADER AREA */
.dcq-header-ten {
  position: relative;
  padding: 120px 0 90px 0;
  z-index: 2;
}

.dcq-header-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.dcq-header-text h6 {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

.dcq-header-text h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  font-weight: 800;
  color: var(--text-pure-black);
  line-height: 1.15;
  margin-bottom: 22px;
}

.dcq-header-text p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 580px;
}

.dcq-light-rounded-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

/* Hero Right Visual Shape */
.dcq-header-image-box {
  background: var(--bg-card);
  border: var(--stroke-width-thick) solid var(--border-black);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.dcq-header-image-box::before {
  content: '';
  position: absolute;
  top: -12px;
  right: -12px;
  width: 100%;
  height: 100%;
  border: var(--stroke-width-thick) solid var(--accent-cyan);
  border-radius: var(--radius-lg);
  z-index: -1;
}

/* 2. SERVICES SEVEN (WITH 01, 02, 03 SERIAL BADGES) */
.dcq-services-seven {
  padding: 100px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  z-index: 2;
}

.dcq-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.dcq-single-service {
  background: var(--bg-card);
  border: var(--stroke-width-thick) solid var(--border-black);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  box-shadow: var(--shadow-md);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
}

.dcq-single-service:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-hover);
}

.dcq-service-serial {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--accent-cyan);
  line-height: 1;
  margin-bottom: 18px;
  display: inline-block;
  opacity: 0.9;
}

.dcq-single-service h4 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-pure-black);
  margin-bottom: 12px;
}

.dcq-single-service p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* 3. ABOUT THREE (WITH NUMBERED BULLETS 1, 2, 3) */
.dcq-about-three {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.dcq-about-grid-three {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.dcq-about-feature-image-box {
  background: var(--bg-card);
  border: var(--stroke-width-thick) solid var(--border-black);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.dcq-about-feature-items ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.dcq-about-feature-items li {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.dcq-about-number {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--grad-sparkle);
  color: #fff;
  border: 1.5px solid var(--border-black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.dcq-about-content h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-pure-black);
  margin-bottom: 6px;
}

.dcq-about-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}

/* 4. VIDEO TWO SHOWCASE */
.dcq-video-two {
  padding: 80px 0;
  background: linear-gradient(135deg, #090d16, #1e293b);
  border-top: 1.5px solid var(--border-black);
  border-bottom: 1.5px solid var(--border-black);
  color: #fff;
  text-align: center;
  position: relative;
  z-index: 2;
}

.dcq-video-inner {
  max-width: 760px;
  margin: 0 auto;
}

.dcq-video-inner h2 {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.dcq-video-inner p {
  color: #94a3b8;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 32px;
}

.dcq-video-play-btn {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--grad-sparkle);
  color: #fff;
  border: 2px solid #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.5);
  cursor: pointer;
  transition: transform 0.2s;
}

.dcq-video-play-btn:hover {
  transform: scale(1.1);
}

/* 5. PRICING FIFTEEN (4-TIER STARTUP MATRIX) */
.dcq-pricing-fifteen {
  padding: 100px 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  z-index: 2;
}

.dcq-pricing-grid-fifteen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.dcq-pricing-style-fifteen {
  background: var(--bg-card);
  border: var(--stroke-width-thick) solid var(--border-black);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.2s;
}

.dcq-pricing-style-fifteen.featured {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-hover);
  transform: translateY(-8px);
}

.dcq-pricing-style-fifteen .title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-pure-black);
  margin-bottom: 4px;
}

.dcq-pricing-style-fifteen .desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.dcq-pricing-style-fifteen .amount {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-pure-black);
}

.dcq-pricing-style-fifteen .duration {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 700;
}

.dcq-pricing-style-fifteen .middle-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-pure-black);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 24px 0 14px 0;
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
}

.dcq-table-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dcq-table-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
}

.dcq-table-list li span.check {
  color: #16a34a;
  font-weight: 900;
}

/* 6. TEAM STYLE EIGHT (WITH SOCIAL LINKS) */
.dcq-team-style-eight {
  padding: 100px 0;
  position: relative;
  z-index: 2;
}

.dcq-team-grid-eight {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}

.dcq-single-team {
  background: var(--bg-card);
  border: var(--stroke-width-thick) solid var(--border-black);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  text-align: center;
  padding: 36px 20px;
  position: relative;
  transition: transform 0.2s;
}

.dcq-single-team:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.dcq-team-image-box {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto 18px auto;
  border: 2px solid var(--border-black);
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: var(--shadow-sm);
}

.dcq-team-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-pure-black);
  margin-bottom: 4px;
}

.dcq-team-designation {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  display: block;
}

.dcq-team-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.dcq-team-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-black);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: background 0.15s;
}

.dcq-team-social a:hover {
  background: var(--accent-cyan);
  color: #fff;
}

/* 7. CONTACT STYLE THREE */
.dcq-contact-style-three {
  padding: 100px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  position: relative;
  z-index: 2;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .dcq-header-inner,
  .dcq-about-grid-three {
    grid-template-columns: 1fr;
  }
  .dcq-pricing-style-fifteen.featured {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   BRAND LOGO GLOBAL VISIBILITY & MODE TOGGLING
   -------------------------------------------------------------------------- */
.logo, .mobile-nav-brand {
  display: inline-flex !important;
  align-items: center !important;
  text-decoration: none !important;
  line-height: 1 !important;
}

.brand-logo-img {
  height: 42px !important;
  max-height: 42px !important;
  width: auto !important;
  max-width: 240px !important;
  object-fit: contain !important;
  vertical-align: middle !important;
  transition: opacity 0.2s ease !important;
}

/* Light Mode: Show dark-colored Main Logo (logo.png), hide white logo */
html:not([data-theme="dark"]) .default-logo-img,
[data-theme="light"] .default-logo-img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
html:not([data-theme="dark"]) .dark-logo-img,
[data-theme="light"] .dark-logo-img {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Dark Mode: Show white logo (logo-white.png), hide dark-colored logo */
[data-theme="dark"] .dark-logo-img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
[data-theme="dark"] .default-logo-img {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}


/* Footer Logo: mode-aware toggling */
html:not([data-theme="dark"]) .footer-logo-light,
[data-theme="light"] .footer-logo-light {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
html:not([data-theme="dark"]) .footer-logo-dark,
[data-theme="light"] .footer-logo-dark {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}
[data-theme="dark"] .footer-logo-dark {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
[data-theme="dark"] .footer-logo-light {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}
