/* === Block 1 === */
.dersec-card-widget {
  max-width: 1200px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 60px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.dcw-inner {
  display: flex;
  gap: 60px;
  align-items: center;
}
.dcw-inner.dcw-reversed {
  flex-direction: row;
}
.dcw-image {
  flex: 0 0 45%;
}
.dcw-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.dcw-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.dcw-text h2 {
  font-size: 36px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
  margin: 0;
}
.dcw-text p {
  font-size: 17px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}
.dcw-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #3b82f6;
  color: white !important;
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  align-self: flex-start;
  margin-top: 8px;
  transition: all 0.2s ease;
}
.dcw-btn:hover {
  background: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59,130,246,0.4);
}
@media (max-width: 1024px) {
  .dcw-inner, .dcw-inner.dcw-reversed {
    flex-direction: column;
  }
  .dcw-image {
    flex: 0 0 100%;
  }
}
@media (max-width: 768px) {
  .dersec-card-widget {
    padding: 32px 24px;
  }
  .dcw-text h2 {
    font-size: 28px;
  }
  .dcw-inner {
    gap: 32px;
  }
}


/* Dark widget buttons and links - BRIGHT BLUE (same as white widgets) */

/* Card widget buttons in dark theme */
.dersec-card-widget.dark .dcw-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #3b82f6 !important;
  color: white !important;
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  align-self: flex-start;
  margin-top: 8px;
  transition: all 0.2s ease;
}

.dersec-card-widget.dark .dcw-btn:hover {
  background: #2563eb !important;
  transform: translateY(-1px);
}

/* Capabilities widget links in dark theme */
.dc3-wrapper.dark .dc3-link,
.dc4-wrapper.dark .dc4-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: gap 0.3s ease;
}

.dc3-wrapper.dark .dc3-link:hover,
.dc4-wrapper.dark .dc4-link:hover {
  gap: 10px;
  color: #60a5fa !important;
}

/* Grid widget links in dark theme */
.dgw-card.dark .dgw-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dgw-card.dark .dgw-link:hover {
  gap: 12px;
  color: #60a5fa !important;
}

/* Program card links in dark theme */
.dp-card.dark .dp-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dp-card.dark .dp-card-link:hover {
  gap: 10px;
  color: #60a5fa !important;
}

/* Stories widget links in dark theme */
.dst-card.dark .dst-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #60a5fa !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.dst-card.dark .dst-link:hover {
  gap: 10px;
  color: #93c5fd !important;
}

/* News card links in dark theme */
.dn-card.dark .dn-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dn-card.dark .dn-card-link:hover {
  gap: 12px;
  color: #60a5fa !important;
}

/* SVG arrows in links - make them visible in dark theme */
.dersec-card-widget.dark .dcw-btn svg,
.dc3-wrapper.dark svg,
.dc4-wrapper.dark svg,
.dgw-card.dark svg,
.dp-card.dark svg,
.dst-card.dark svg,
.dn-card.dark svg {
  stroke: currentColor;
}



/* Active Tab - Bright Blue Gradient */
.dc3-wrapper.dark .dc3-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3) !important;
}

.dc4-wrapper.dark .dc4-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3) !important;
}

/* === Block 2 === */
/* === DERSec Flexible Grid Widget === */
.dersec-grid-widget {
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.dersec-grid-widget .dgw-heading {
  font-size: 36px;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0 0 40px 0;
}
.dgw-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.dgw-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 44px 36px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}
.dgw-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(59,130,246,0.25);
}
/* Image card variant */
.dgw-card.dgw-image-card {
  padding: 0;
  overflow: hidden;
  min-height: 280px;
}
.dgw-card.dgw-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}
/* Text content inside cards */
.dgw-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.4;
  margin: 0 0 auto 0;
}
.dgw-card p {
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
  margin: 16px 0 0 0;
}
.dgw-card .dgw-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}
.dgw-card .dgw-link:hover {
  gap: 12px;
}
.dgw-card .dgw-link svg {
  width: 20px;
  height: 20px;
}
/* Responsive */
@media (max-width: 768px) {
  .dgw-grid {
    grid-template-columns: 1fr;
  }
  .dersec-grid-widget .dgw-heading {
    font-size: 28px;
  }
  .dgw-card {
    padding: 32px 28px;
    min-height: 220px;
  }
}


/* Dark widget buttons and links - BRIGHT BLUE (same as white widgets) */

/* Card widget buttons in dark theme */
.dersec-card-widget.dark .dcw-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #3b82f6 !important;
  color: white !important;
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  align-self: flex-start;
  margin-top: 8px;
  transition: all 0.2s ease;
}

.dersec-card-widget.dark .dcw-btn:hover {
  background: #2563eb !important;
  transform: translateY(-1px);
}

/* Capabilities widget links in dark theme */
.dc3-wrapper.dark .dc3-link,
.dc4-wrapper.dark .dc4-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: gap 0.3s ease;
}

.dc3-wrapper.dark .dc3-link:hover,
.dc4-wrapper.dark .dc4-link:hover {
  gap: 10px;
  color: #60a5fa !important;
}

/* Grid widget links in dark theme */
.dgw-card.dark .dgw-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dgw-card.dark .dgw-link:hover {
  gap: 12px;
  color: #60a5fa !important;
}

/* Program card links in dark theme */
.dp-card.dark .dp-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dp-card.dark .dp-card-link:hover {
  gap: 10px;
  color: #60a5fa !important;
}

/* Stories widget links in dark theme */
.dst-card.dark .dst-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #60a5fa !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.dst-card.dark .dst-link:hover {
  gap: 10px;
  color: #93c5fd !important;
}

/* News card links in dark theme */
.dn-card.dark .dn-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dn-card.dark .dn-card-link:hover {
  gap: 12px;
  color: #60a5fa !important;
}

/* SVG arrows in links - make them visible in dark theme */
.dersec-card-widget.dark .dcw-btn svg,
.dc3-wrapper.dark svg,
.dc4-wrapper.dark svg,
.dgw-card.dark svg,
.dp-card.dark svg,
.dst-card.dark svg,
.dn-card.dark svg {
  stroke: currentColor;
}



/* Active Tab - Bright Blue Gradient */
.dc3-wrapper.dark .dc3-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3) !important;
}

.dc4-wrapper.dark .dc4-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3) !important;
}

/* === Block 3 === */
/* === DERSec Program Cards Widget (AWS Accelerator style) === */
.dersec-programs {
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.dersec-programs .dp-intro {
  font-size: 17px;
  color: #475569;
  line-height: 1.7;
  margin: 0 0 40px 0;
  max-width: 900px;
}
.dp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.dp-card {
  background: #FFFFFF;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.dp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  border-color: #cbd5e1;
}
.dp-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.dp-card-body {
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.dp-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin: 0 0 16px 0;
}
.dp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.dp-tag {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.dp-card-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}
.dp-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}
.dp-card-link:hover {
  gap: 10px;
  color: #2563eb;
}
.dp-card-link svg {
  width: 18px;
  height: 18px;
}
@media (max-width: 1024px) {
  .dp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .dp-grid {
    grid-template-columns: 1fr;
  }
  .dp-card-body {
    padding: 24px 20px 20px;
  }
}


/* Dark widget buttons and links - BRIGHT BLUE (same as white widgets) */

/* Card widget buttons in dark theme */
.dersec-card-widget.dark .dcw-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #3b82f6 !important;
  color: white !important;
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  align-self: flex-start;
  margin-top: 8px;
  transition: all 0.2s ease;
}

.dersec-card-widget.dark .dcw-btn:hover {
  background: #2563eb !important;
  transform: translateY(-1px);
}

/* Capabilities widget links in dark theme */
.dc3-wrapper.dark .dc3-link,
.dc4-wrapper.dark .dc4-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: gap 0.3s ease;
}

.dc3-wrapper.dark .dc3-link:hover,
.dc4-wrapper.dark .dc4-link:hover {
  gap: 10px;
  color: #60a5fa !important;
}

/* Grid widget links in dark theme */
.dgw-card.dark .dgw-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dgw-card.dark .dgw-link:hover {
  gap: 12px;
  color: #60a5fa !important;
}

/* Program card links in dark theme */
.dp-card.dark .dp-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dp-card.dark .dp-card-link:hover {
  gap: 10px;
  color: #60a5fa !important;
}

/* Stories widget links in dark theme */
.dst-card.dark .dst-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #60a5fa !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.dst-card.dark .dst-link:hover {
  gap: 10px;
  color: #93c5fd !important;
}

/* News card links in dark theme */
.dn-card.dark .dn-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dn-card.dark .dn-card-link:hover {
  gap: 12px;
  color: #60a5fa !important;
}

/* SVG arrows in links - make them visible in dark theme */
.dersec-card-widget.dark .dcw-btn svg,
.dc3-wrapper.dark svg,
.dc4-wrapper.dark svg,
.dgw-card.dark svg,
.dp-card.dark svg,
.dst-card.dark svg,
.dn-card.dark svg {
  stroke: currentColor;
}



/* Active Tab - Bright Blue Gradient */
.dc3-wrapper.dark .dc3-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3) !important;
}

.dc4-wrapper.dark .dc4-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3) !important;
}

/* === Block 4 === */
/* === DERSec Product Showcase 2x2 Grid === */
.dersec-showcase {
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.ds-wrapper {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 52px 48px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.ds-wrapper.ds-dark {
  background: linear-gradient(135deg, #0a0f1e 0%, #141b2e 100%);
  border-color: rgba(255,255,255,0.06);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.ds-header {
  margin-bottom: 40px;
}
.ds-heading {
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 12px 0;
  line-height: 1.2;
}
.ds-dark .ds-heading {
  color: #f1f5f9;
}
.ds-subtext {
  font-size: 16px;
  color: #475569;
  line-height: 1.65;
  margin: 0;
  max-width: 800px;
}
.ds-dark .ds-subtext {
  color: #94a3b8;
}
.ds-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.ds-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.3s ease;
}
.ds-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: #cbd5e1;
}
.ds-dark .ds-card {
  background: rgba(15,23,42,0.6);
  border-color: rgba(255,255,255,0.08);
}
.ds-dark .ds-card:hover {
  background: rgba(255,255,255,0.04);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  border-color: rgba(255,255,255,0.12);
}
.ds-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ds-card-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.ds-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 2px;
  width: fit-content;
}
.ds-card-name {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}
.ds-card-name a {
  text-decoration: none;
  transition: opacity 0.2s;
}
.ds-card-name a:hover {
  opacity: 0.8;
}
.ds-card-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}
.ds-dark .ds-card-desc {
  color: #94a3b8;
}
.ds-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 8px;
  transition: gap 0.3s ease;
}
.ds-card-cta:hover {
  gap: 10px;
}
.ds-card-cta svg {
  width: 16px;
  height: 16px;
}
@media (max-width: 768px) {
  .ds-wrapper {
    padding: 32px 24px;
    border-radius: 12px;
  }
  .ds-grid {
    grid-template-columns: 1fr;
  }
  .ds-heading {
    font-size: 26px;
  }
}


/* Dark widget buttons and links - BRIGHT BLUE (same as white widgets) */

/* Card widget buttons in dark theme */
.dersec-card-widget.dark .dcw-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #3b82f6 !important;
  color: white !important;
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  align-self: flex-start;
  margin-top: 8px;
  transition: all 0.2s ease;
}

.dersec-card-widget.dark .dcw-btn:hover {
  background: #2563eb !important;
  transform: translateY(-1px);
}

/* Capabilities widget links in dark theme */
.dc3-wrapper.dark .dc3-link,
.dc4-wrapper.dark .dc4-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: gap 0.3s ease;
}

.dc3-wrapper.dark .dc3-link:hover,
.dc4-wrapper.dark .dc4-link:hover {
  gap: 10px;
  color: #60a5fa !important;
}

/* Grid widget links in dark theme */
.dgw-card.dark .dgw-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dgw-card.dark .dgw-link:hover {
  gap: 12px;
  color: #60a5fa !important;
}

/* Program card links in dark theme */
.dp-card.dark .dp-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dp-card.dark .dp-card-link:hover {
  gap: 10px;
  color: #60a5fa !important;
}

/* Stories widget links in dark theme */
.dst-card.dark .dst-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #60a5fa !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.dst-card.dark .dst-link:hover {
  gap: 10px;
  color: #93c5fd !important;
}

/* News card links in dark theme */
.dn-card.dark .dn-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dn-card.dark .dn-card-link:hover {
  gap: 12px;
  color: #60a5fa !important;
}

/* SVG arrows in links - make them visible in dark theme */
.dersec-card-widget.dark .dcw-btn svg,
.dc3-wrapper.dark svg,
.dc4-wrapper.dark svg,
.dgw-card.dark svg,
.dp-card.dark svg,
.dst-card.dark svg,
.dn-card.dark svg {
  stroke: currentColor;
}



/* Active Tab - Bright Blue Gradient */
.dc3-wrapper.dark .dc3-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3) !important;
}

.dc4-wrapper.dark .dc4-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3) !important;
}

/* === Block 5 === */
/* === DERSec Customer Stories Grid === */
.dersec-stories {
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.dst-heading {
  font-size: 36px;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0 0 48px 0;
  line-height: 1.2;
}
.dst-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.dst-card {
  background: #1a2332;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}
.dst-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 15px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(59,130,246,0), rgba(59,130,246,0), rgba(139,92,246,0));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}
.dst-card:hover::before {
  background: linear-gradient(135deg, rgba(59,130,246,0.6), rgba(139,92,246,0.4), rgba(6,182,212,0.5));
  opacity: 1;
}
.dst-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 0 20px rgba(59,130,246,0.15),
    0 0 40px rgba(59,130,246,0.08),
    0 20px 40px rgba(0,0,0,0.25);
  border-color: rgba(59,130,246,0.3);
}
.dst-video {
  position: relative;
  height: 220px;
  background: linear-gradient(135deg, #111827 0%, #0a0f1e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.dst-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(59,130,246,0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.dst-card:hover .dst-video::after {
  opacity: 1;
}
.dst-logo {
  position: absolute;
  top: 20px;
  left: 20px;
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: opacity 0.3s ease;
}
.dst-card:hover .dst-logo {
  opacity: 1;
}
.dst-play {
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  z-index: 2;
}
.dst-card:hover .dst-play {
  transform: scale(1.12);
  background: #ffffff;
  box-shadow: 0 4px 24px rgba(59,130,246,0.3);
}
.dst-body {
  padding: 24px;
}
.dst-title {
  font-size: 17px;
  font-weight: 600;
  color: #f1f5f9;
  line-height: 1.45;
  margin: 0 0 10px 0;
  transition: color 0.3s ease;
}
.dst-card:hover .dst-title {
  color: #ffffff;
}
.dst-desc {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0 0 16px 0;
  transition: color 0.3s ease;
}
.dst-card:hover .dst-desc {
  color: #cbd5e1;
}
.dst-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #60a5fa;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}
.dst-link:hover {
  gap: 10px;
  color: #93c5fd;
}
.dst-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}
.dst-card:hover .dst-link svg {
  transform: translateX(2px);
}
@media (max-width: 1024px) {
  .dst-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .dst-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .dst-heading {
    font-size: 28px;
  }
}


/* Dark widget buttons and links - BRIGHT BLUE (same as white widgets) */

/* Card widget buttons in dark theme */
.dersec-card-widget.dark .dcw-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #3b82f6 !important;
  color: white !important;
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  align-self: flex-start;
  margin-top: 8px;
  transition: all 0.2s ease;
}

.dersec-card-widget.dark .dcw-btn:hover {
  background: #2563eb !important;
  transform: translateY(-1px);
}

/* Capabilities widget links in dark theme */
.dc3-wrapper.dark .dc3-link,
.dc4-wrapper.dark .dc4-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: gap 0.3s ease;
}

.dc3-wrapper.dark .dc3-link:hover,
.dc4-wrapper.dark .dc4-link:hover {
  gap: 10px;
  color: #60a5fa !important;
}

/* Grid widget links in dark theme */
.dgw-card.dark .dgw-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dgw-card.dark .dgw-link:hover {
  gap: 12px;
  color: #60a5fa !important;
}

/* Program card links in dark theme */
.dp-card.dark .dp-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dp-card.dark .dp-card-link:hover {
  gap: 10px;
  color: #60a5fa !important;
}

/* Stories widget links in dark theme */
.dst-card.dark .dst-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #60a5fa !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.dst-card.dark .dst-link:hover {
  gap: 10px;
  color: #93c5fd !important;
}

/* News card links in dark theme */
.dn-card.dark .dn-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dn-card.dark .dn-card-link:hover {
  gap: 12px;
  color: #60a5fa !important;
}

/* SVG arrows in links - make them visible in dark theme */
.dersec-card-widget.dark .dcw-btn svg,
.dc3-wrapper.dark svg,
.dc4-wrapper.dark svg,
.dgw-card.dark svg,
.dp-card.dark svg,
.dst-card.dark svg,
.dn-card.dark svg {
  stroke: currentColor;
}



/* Active Tab - Bright Blue Gradient */
.dc3-wrapper.dark .dc3-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3) !important;
}

.dc4-wrapper.dark .dc4-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3) !important;
}

/* === Block 6 === */
/* === DERSec Latest News Cards === */
.dersec-news {
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.dn-heading {
  font-size: 32px;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0 0 36px 0;
  line-height: 1.2;
}
.dn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.dn-card {
  background: #FFFFFF;
  border-radius: 16px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid #e2e8f0;
  transition: all 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
  min-height: 260px;
}
.dn-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(59,130,246,0.2);
  border-color: rgba(59,130,246,0.15);
}
.dn-card-body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  min-width: 0;
}
.dn-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin: 0 0 auto 0;
}
.dn-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}
.dn-card-link:hover {
  gap: 12px;
  color: #2563eb;
}
.dn-card-link svg {
  width: 18px;
  height: 18px;
}
.dn-card-img-wrap {
  width: 220px;
  min-width: 220px;
  position: relative;
  overflow: hidden;
}
.dn-card-img-wrap::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 12px;
  background: radial-gradient(ellipse at center, rgba(59,130,246,0.12) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.dn-card:hover .dn-card-img-wrap::after {
  opacity: 1;
}
.dn-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0 16px 16px 0;
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.dn-card:hover .dn-card-img {
  transform: scale(1.04);
}
@media (max-width: 1024px) {
  .dn-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .dn-card {
    flex-direction: column;
  }
  .dn-card-img-wrap {
    width: 100%;
    min-width: 0;
    height: 180px;
    order: -1;
  }
  .dn-card-img {
    border-radius: 16px 16px 0 0;
  }
}

/* === DERSec Capabilities Tabs v3 === */
.dersec-cap3 {
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.dc3-wrapper {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 56px 52px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.dc3-header {
  margin-bottom: 40px;
}
.dc3-heading {
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 14px 0;
  line-height: 1.2;
}
.dc3-subtext {
  font-size: 16px;
  color: #475569;
  line-height: 1.65;
  margin: 0;
  max-width: 820px;
}
.dc3-main {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.dc3-left {
  flex: 1;
  min-width: 0;
}
.dc3-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.dc3-tab {
  padding: 10px 22px;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.dc3-tab:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #1e293b;
}
.dc3-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3);
}
.dc3-tab.visited {
  background: linear-gradient(135deg, #bfdbfe, #dbeafe);
  color: #1d4ed8;
  border-color: rgba(37,99,235,0.15);
}
.dc3-panel {
  display: none;
  animation: dc3FadeIn 0.35s ease;
}
.dc3-panel.active {
  display: block;
}
@keyframes dc3FadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.dc3-panel h3 {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 14px 0;
  line-height: 1.3;
}
.dc3-panel p {
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
  margin: 0 0 20px 0;
}
.dc3-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: gap 0.3s ease;
}
.dc3-link:hover {
  gap: 10px;
  color: #2563eb;
}
.dc3-link svg {
  width: 18px;
  height: 18px;
}
.dc3-right {
  width: 400px;
  min-width: 400px;
}
.dc3-img-wrap {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.dc3-img-wrap::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: radial-gradient(ellipse at 60% 40%, rgba(59,130,246,0.15) 0%, transparent 65%);
  pointer-events: none;
}
.dc3-img-wrap img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.dc3-img-wrap:hover img {
  transform: scale(1.03);
}
/* Dynamic image variant */
.dc3-dyn-img {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  border-radius: 16px;
}
.dc3-dyn-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.6s ease;
}
.dc3-dyn-img img.active {
  opacity: 1;
}
.dc3-dyn-img:hover img.active {
  transform: scale(1.03);
}
@media (max-width: 900px) {
  .dc3-main {
    flex-direction: column;
  }
  .dc3-right {
    width: 100%;
    min-width: 0;
  }
  .dc3-wrapper {
    padding: 36px 28px;
  }
}


/* Dark widget buttons and links - BRIGHT BLUE (same as white widgets) */

/* Card widget buttons in dark theme */
.dersec-card-widget.dark .dcw-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #3b82f6 !important;
  color: white !important;
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  align-self: flex-start;
  margin-top: 8px;
  transition: all 0.2s ease;
}

.dersec-card-widget.dark .dcw-btn:hover {
  background: #2563eb !important;
  transform: translateY(-1px);
}

/* Capabilities widget links in dark theme */
.dc3-wrapper.dark .dc3-link,
.dc4-wrapper.dark .dc4-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: gap 0.3s ease;
}

.dc3-wrapper.dark .dc3-link:hover,
.dc4-wrapper.dark .dc4-link:hover {
  gap: 10px;
  color: #60a5fa !important;
}

/* Grid widget links in dark theme */
.dgw-card.dark .dgw-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dgw-card.dark .dgw-link:hover {
  gap: 12px;
  color: #60a5fa !important;
}

/* Program card links in dark theme */
.dp-card.dark .dp-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dp-card.dark .dp-card-link:hover {
  gap: 10px;
  color: #60a5fa !important;
}

/* Stories widget links in dark theme */
.dst-card.dark .dst-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #60a5fa !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.dst-card.dark .dst-link:hover {
  gap: 10px;
  color: #93c5fd !important;
}

/* News card links in dark theme */
.dn-card.dark .dn-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dn-card.dark .dn-card-link:hover {
  gap: 12px;
  color: #60a5fa !important;
}

/* SVG arrows in links - make them visible in dark theme */
.dersec-card-widget.dark .dcw-btn svg,
.dc3-wrapper.dark svg,
.dc4-wrapper.dark svg,
.dgw-card.dark svg,
.dp-card.dark svg,
.dst-card.dark svg,
.dn-card.dark svg {
  stroke: currentColor;
}



/* Active Tab - Bright Blue Gradient */
.dc3-wrapper.dark .dc3-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3) !important;
}

.dc4-wrapper.dark .dc4-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3) !important;
}

/* === Block 7 === */
/* === DERSec Capabilities v4 - Bedrock-Style Gradient Tabs === */
.dersec-cap4 {
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.dc4-wrapper {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 56px 52px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.dc4-header { margin-bottom: 40px; }
.dc4-heading {
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 14px 0;
  line-height: 1.2;
}
.dc4-subtext {
  font-size: 16px;
  color: #475569;
  line-height: 1.65;
  margin: 0;
  max-width: 820px;
}
.dc4-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 40px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}
.dc4-tab {
  flex: 1;
  padding: 14px 20px;
  border: none;
  background: #f8fafc;
  color: #475569;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
  border-right: 1px solid #e2e8f0;
}
.dc4-tab:last-child { border-right: none; }
.dc4-tab:hover {
  background: #f1f5f9;
  color: #1e293b;
}
.dc4-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3);
}
.dc4-tab.visited {
  background: linear-gradient(135deg, #bfdbfe, #dbeafe);
  color: #1d4ed8;
  border-color: rgba(37,99,235,0.15);
}
.dc4-main {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.dc4-left { flex: 1; min-width: 0; }
.dc4-panel {
  display: none;
  animation: dc4Fade 0.35s ease;
}
.dc4-panel.active { display: block; }
@keyframes dc4Fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.dc4-panel h3 {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 14px 0;
  line-height: 1.3;
}
.dc4-panel p {
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
  margin: 0 0 20px 0;
}
.dc4-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: gap 0.3s ease;
}
.dc4-link:hover { gap: 10px; color: #2563eb; }
.dc4-link svg { width: 18px; height: 18px; }
.dc4-right {
  width: 400px;
  min-width: 400px;
}
.dc4-img-stack {
  position: relative;
  width: 100%;
  height: 340px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.dc4-img-stack::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: radial-gradient(ellipse at 60% 40%, rgba(59,130,246,0.12) 0%, transparent 65%);
  pointer-events: none;
  z-index: 2;
}
.dc4-img-stack img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.6s ease;
}
.dc4-img-stack img.active {
  opacity: 1;
}
.dc4-img-stack:hover img.active {
  transform: scale(1.03);
}
@media (max-width: 900px) {
  .dc4-main { flex-direction: column; }
  .dc4-right { width: 100%; min-width: 0; }
  .dc4-wrapper { padding: 36px 28px; }
  .dc4-tabs { flex-wrap: wrap; }
  .dc4-tab { flex: none; }
}

.dc3-tab {
  border-radius: 0 !important;
  border: none !important;
  border-right: 1px solid #e2e8f0 !important;
  flex: 1 !important;
  padding: 12px 18px !important;
  background: #f8fafc !important;
  font-size: 14px !important;
  text-align: center !important;
}
.dc3-tab:last-child { border-right: none !important; }
.dc3-tab:hover {
  background: #f1f5f9 !important;
  color: #1e293b !important;
}
.dc3-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3) !important;
}
.dc3-tab.visited {
  background: linear-gradient(135deg, #bfdbfe, #dbeafe) !important;
  color: #1d4ed8 !important;
  border-color: rgba(37,99,235,0.15) !important;
}


/* Dark widget buttons and links - BRIGHT BLUE (same as white widgets) */

/* Card widget buttons in dark theme */
.dersec-card-widget.dark .dcw-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #3b82f6 !important;
  color: white !important;
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  align-self: flex-start;
  margin-top: 8px;
  transition: all 0.2s ease;
}

.dersec-card-widget.dark .dcw-btn:hover {
  background: #2563eb !important;
  transform: translateY(-1px);
}

/* Capabilities widget links in dark theme */
.dc3-wrapper.dark .dc3-link,
.dc4-wrapper.dark .dc4-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: gap 0.3s ease;
}

.dc3-wrapper.dark .dc3-link:hover,
.dc4-wrapper.dark .dc4-link:hover {
  gap: 10px;
  color: #60a5fa !important;
}

/* Grid widget links in dark theme */
.dgw-card.dark .dgw-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dgw-card.dark .dgw-link:hover {
  gap: 12px;
  color: #60a5fa !important;
}

/* Program card links in dark theme */
.dp-card.dark .dp-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dp-card.dark .dp-card-link:hover {
  gap: 10px;
  color: #60a5fa !important;
}

/* Stories widget links in dark theme */
.dst-card.dark .dst-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #60a5fa !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.dst-card.dark .dst-link:hover {
  gap: 10px;
  color: #93c5fd !important;
}

/* News card links in dark theme */
.dn-card.dark .dn-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dn-card.dark .dn-card-link:hover {
  gap: 12px;
  color: #60a5fa !important;
}

/* SVG arrows in links - make them visible in dark theme */
.dersec-card-widget.dark .dcw-btn svg,
.dc3-wrapper.dark svg,
.dc4-wrapper.dark svg,
.dgw-card.dark svg,
.dp-card.dark svg,
.dst-card.dark svg,
.dn-card.dark svg {
  stroke: currentColor;
}



/* Active Tab - Bright Blue Gradient */
.dc3-wrapper.dark .dc3-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3) !important;
}

.dc4-wrapper.dark .dc4-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3) !important;
}

/* === Block 8 === */
/* === DERSec Product Showcase v3 — Clean Enterprise (No color lines) === */
.ds-card {
  border-left: none !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  padding: 28px 24px !important;
  display: flex !important;
  gap: 18px !important;
  align-items: flex-start !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease !important;
  cursor: pointer !important;
}
.ds-card:hover {
  transform: none !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06) !important;
  background: #ffffff !important;
}
.ds-dark .ds-card {
  background: rgba(255,255,255,0.03) !important;
  border-color: rgba(255,255,255,0.08) !important;
}
.ds-dark .ds-card:hover {
  background: rgba(255,255,255,0.06) !important;
  border-color: rgba(255,255,255,0.14) !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2) !important;
  transform: none !important;
}


/* Dark widget buttons and links - BRIGHT BLUE (same as white widgets) */

/* Card widget buttons in dark theme */
.dersec-card-widget.dark .dcw-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #3b82f6 !important;
  color: white !important;
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  align-self: flex-start;
  margin-top: 8px;
  transition: all 0.2s ease;
}

.dersec-card-widget.dark .dcw-btn:hover {
  background: #2563eb !important;
  transform: translateY(-1px);
}

/* Capabilities widget links in dark theme */
.dc3-wrapper.dark .dc3-link,
.dc4-wrapper.dark .dc4-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: gap 0.3s ease;
}

.dc3-wrapper.dark .dc3-link:hover,
.dc4-wrapper.dark .dc4-link:hover {
  gap: 10px;
  color: #60a5fa !important;
}

/* Grid widget links in dark theme */
.dgw-card.dark .dgw-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dgw-card.dark .dgw-link:hover {
  gap: 12px;
  color: #60a5fa !important;
}

/* Program card links in dark theme */
.dp-card.dark .dp-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dp-card.dark .dp-card-link:hover {
  gap: 10px;
  color: #60a5fa !important;
}

/* Stories widget links in dark theme */
.dst-card.dark .dst-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #60a5fa !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.dst-card.dark .dst-link:hover {
  gap: 10px;
  color: #93c5fd !important;
}

/* News card links in dark theme */
.dn-card.dark .dn-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dn-card.dark .dn-card-link:hover {
  gap: 12px;
  color: #60a5fa !important;
}

/* SVG arrows in links - make them visible in dark theme */
.dersec-card-widget.dark .dcw-btn svg,
.dc3-wrapper.dark svg,
.dc4-wrapper.dark svg,
.dgw-card.dark svg,
.dp-card.dark svg,
.dst-card.dark svg,
.dn-card.dark svg {
  stroke: currentColor;
}



/* Active Tab - Bright Blue Gradient */
.dc3-wrapper.dark .dc3-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3) !important;
}

.dc4-wrapper.dark .dc4-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3) !important;
}

/* === Block 9 === */
/* === DERSec Trust Wall Widget Variants === */

/* --- Variant A: Scrolling Marquee --- */
.tw-v-a {
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Outfit', -apple-system, sans-serif;
  text-align: center;
}
.tw-v-a .twa-label {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.tw-v-a .twa-strip {
  position: relative;
  overflow: hidden;
  padding: 0;
}
.tw-v-a .twa-strip::before,
.tw-v-a .twa-strip::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.tw-v-a .twa-strip::before {
  left: 0;
  background: linear-gradient(to right, #0f172a, transparent);
}
.tw-v-a .twa-strip::after {
  right: 0;
  background: linear-gradient(to left, #0f172a, transparent);
}
.tw-v-a .twa-track {
  display: flex;
  align-items: center;
  animation: twaScroll 40s linear infinite;
  width: max-content;
}
.tw-v-a .twa-track:hover {
  animation-play-state: paused;
}
@keyframes twaScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.tw-v-a .tw-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 36px;
  height: 60px;
}
.tw-v-a .tw-logo img {
  max-height: 38px;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.7;
  transition: all 0.4s ease;
}
.tw-v-a .tw-logo img:hover {
  opacity: 1;
  transform: scale(1.08);
  filter: drop-shadow(0 0 8px rgba(148,163,184,0.3));
}

/* --- Variant B: Glass Pills --- */
.tw-v-b {
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Outfit', -apple-system, sans-serif;
  text-align: center;
}
.tw-v-b .twb-label {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.tw-v-b .twb-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
}
.tw-v-b .tw-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  height: 60px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  transition: all 0.35s ease;
  cursor: pointer;
}
.tw-v-b .tw-pill:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(96,165,250,0.3);
  box-shadow: 0 0 24px rgba(59,130,246,0.1), 0 0 0 1px rgba(96,165,250,0.12);
  transform: translateY(-2px);
}
.tw-v-b .tw-pill img {
  max-height: 30px;
  max-width: 130px;
  object-fit: contain;
  opacity: 0.75;
  transition: all 0.4s ease;
}
.tw-v-b .tw-pill:hover img {
  opacity: 1;
}

/* --- Variant C: Minimal Row --- */
.tw-v-c {
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Outfit', -apple-system, sans-serif;
  text-align: center;
}
.tw-v-c .twc-label {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.tw-v-c .twc-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.tw-v-c .tw-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 44px;
  height: 54px;
  position: relative;
}
.tw-v-c .tw-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background: rgba(255,255,255,0.08);
}
.tw-v-c .tw-item:last-child::after {
  display: none;
}
.tw-v-c .tw-item img {
  max-height: 34px;
  max-width: 130px;
  object-fit: contain;
  opacity: 0.8;
  transition: all 0.3s ease;
}
.tw-v-c .tw-item:hover img {
  opacity: 1;
}


/* Dark widget buttons and links - BRIGHT BLUE (same as white widgets) */

/* Card widget buttons in dark theme */
.dersec-card-widget.dark .dcw-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #3b82f6 !important;
  color: white !important;
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  align-self: flex-start;
  margin-top: 8px;
  transition: all 0.2s ease;
}

.dersec-card-widget.dark .dcw-btn:hover {
  background: #2563eb !important;
  transform: translateY(-1px);
}

/* Capabilities widget links in dark theme */
.dc3-wrapper.dark .dc3-link,
.dc4-wrapper.dark .dc4-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: gap 0.3s ease;
}

.dc3-wrapper.dark .dc3-link:hover,
.dc4-wrapper.dark .dc4-link:hover {
  gap: 10px;
  color: #60a5fa !important;
}

/* Grid widget links in dark theme */
.dgw-card.dark .dgw-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dgw-card.dark .dgw-link:hover {
  gap: 12px;
  color: #60a5fa !important;
}

/* Program card links in dark theme */
.dp-card.dark .dp-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dp-card.dark .dp-card-link:hover {
  gap: 10px;
  color: #60a5fa !important;
}

/* Stories widget links in dark theme */
.dst-card.dark .dst-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #60a5fa !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.dst-card.dark .dst-link:hover {
  gap: 10px;
  color: #93c5fd !important;
}

/* News card links in dark theme */
.dn-card.dark .dn-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dn-card.dark .dn-card-link:hover {
  gap: 12px;
  color: #60a5fa !important;
}

/* SVG arrows in links - make them visible in dark theme */
.dersec-card-widget.dark .dcw-btn svg,
.dc3-wrapper.dark svg,
.dc4-wrapper.dark svg,
.dgw-card.dark svg,
.dp-card.dark svg,
.dst-card.dark svg,
.dn-card.dark svg {
  stroke: currentColor;
}



/* Active Tab - Bright Blue Gradient */
.dc3-wrapper.dark .dc3-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3) !important;
}

.dc4-wrapper.dark .dc4-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3) !important;
}

/* === Block 10 === */
/* ============================================================
   DARK THEME VERSIONS - DERSec Widget Library
   ============================================================ */

/* === Dark Card Widget === */
.dersec-card-widget.dark {
  background: linear-gradient(135deg, #0a0f1e 0%, #141b2e 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.dersec-card-widget.dark .dcw-text h2 {
  color: #f1f5f9;
}
.dersec-card-widget.dark .dcw-text p {
  color: #94a3b8;
}

/* === Dark Grid Cards === */
.dgw-card.dark {
  background: linear-gradient(135deg, #0a0f1e 0%, #141b2e 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.dgw-card.dark:hover {
  border-color: rgba(59,130,246,0.3);
  box-shadow: 0 12px 40px rgba(59,130,246,0.15);
}
.dgw-card.dark h3 {
  color: #f1f5f9;
}
.dgw-card.dark p {
  color: #94a3b8;
}

/* === Dark Program Cards === */
.dp-card.dark {
  background: linear-gradient(135deg, #0a0f1e 0%, #141b2e 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.dp-card.dark:hover {
  border-color: rgba(59,130,246,0.25);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.dp-card.dark .dp-card-title {
  color: #f1f5f9;
}
.dp-card.dark .dp-card-desc {
  color: #94a3b8;
}
.dp-card.dark .dp-tag {
  border-color: rgba(255,255,255,0.12);
  color: #94a3b8;
  background: rgba(255,255,255,0.03);
}

/* === Dark Showcase Wrapper === */
.ds-wrapper.ds-dark {
  /* Already has dark theme in original CSS */
  background: linear-gradient(135deg, #0a0f1e 0%, #141b2e 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

/* === Dark Capabilities Tabs (v3) === */
.dc3-wrapper.dark {
  background: linear-gradient(135deg, #0a0f1e 0%, #141b2e 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.dc3-wrapper.dark .dc3-heading {
  color: #f1f5f9;
}
.dc3-wrapper.dark .dc3-subtext {
  color: #94a3b8;
}
.dc3-wrapper.dark .dc3-tab {
  border-color: rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: #94a3b8;
}
.dc3-wrapper.dark .dc3-tab:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: #cbd5e1;
}
.dc3-wrapper.dark .dc3-panel h3 {
  color: #f1f5f9;
}
.dc3-wrapper.dark .dc3-panel p {
  color: #94a3b8;
}

/* === Dark Capabilities Tabs (v4) === */
.dc4-wrapper.dark {
  background: linear-gradient(135deg, #0a0f1e 0%, #141b2e 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.dc4-wrapper.dark .dc4-heading {
  color: #f1f5f9;
}
.dc4-wrapper.dark .dc4-subtext {
  color: #94a3b8;
}
.dc4-wrapper.dark .dc4-tab {
  background: rgba(255,255,255,0.03);
  color: #94a3b8;
  border-color: rgba(255,255,255,0.08);
}
.dc4-wrapper.dark .dc4-tab:hover {
  background: rgba(255,255,255,0.06);
  color: #cbd5e1;
}
.dc4-wrapper.dark .dc4-panel h3 {
  color: #f1f5f9;
}
.dc4-wrapper.dark .dc4-panel p {
  color: #94a3b8;
}

/* === Dark News Cards === */
.dn-card.dark {
  background: linear-gradient(135deg, #0a0f1e 0%, #141b2e 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.dn-card.dark:hover {
  border-color: rgba(59,130,246,0.3);
  box-shadow: 0 12px 40px rgba(59,130,246,0.15);
}
.dn-card.dark .dn-card-title {
  color: #f1f5f9;
}

/* ============================================================
   MATCHING BORDER & RADIUS STYLES
   All dark widgets inherit same border styling as white versions:
   - border-radius: 12px-20px (varies by widget)
   - border: 1px solid rgba(255,255,255,0.08)
   - Same rounded edges maintained
   ============================================================ */



/* Dark widget buttons and links - BRIGHT BLUE (same as white widgets) */

/* Card widget buttons in dark theme */
.dersec-card-widget.dark .dcw-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #3b82f6 !important;
  color: white !important;
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  align-self: flex-start;
  margin-top: 8px;
  transition: all 0.2s ease;
}

.dersec-card-widget.dark .dcw-btn:hover {
  background: #2563eb !important;
  transform: translateY(-1px);
}

/* Capabilities widget links in dark theme */
.dc3-wrapper.dark .dc3-link,
.dc4-wrapper.dark .dc4-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: gap 0.3s ease;
}

.dc3-wrapper.dark .dc3-link:hover,
.dc4-wrapper.dark .dc4-link:hover {
  gap: 10px;
  color: #60a5fa !important;
}

/* Grid widget links in dark theme */
.dgw-card.dark .dgw-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dgw-card.dark .dgw-link:hover {
  gap: 12px;
  color: #60a5fa !important;
}

/* Program card links in dark theme */
.dp-card.dark .dp-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dp-card.dark .dp-card-link:hover {
  gap: 10px;
  color: #60a5fa !important;
}

/* Stories widget links in dark theme */
.dst-card.dark .dst-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #60a5fa !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.dst-card.dark .dst-link:hover {
  gap: 10px;
  color: #93c5fd !important;
}

/* News card links in dark theme */
.dn-card.dark .dn-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dn-card.dark .dn-card-link:hover {
  gap: 12px;
  color: #60a5fa !important;
}

/* SVG arrows in links - make them visible in dark theme */
.dersec-card-widget.dark .dcw-btn svg,
.dc3-wrapper.dark svg,
.dc4-wrapper.dark svg,
.dgw-card.dark svg,
.dp-card.dark svg,
.dst-card.dark svg,
.dn-card.dark svg {
  stroke: currentColor;
}



/* Active Tab - Bright Blue Gradient */
.dc3-wrapper.dark .dc3-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3) !important;
}

.dc4-wrapper.dark .dc4-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3) !important;
}
/* Hide menu items marked as hidden */
.hidden-menu-item { display: none !important; }

