html, body { background-color: #030b1c !important; }
#page-container, #et-main-area, #main-content,
.et_pb_section, .et_pb_row, .et_pb_column,
.et_pb_module { background: transparent !important; }

#dsrexApp,
#dsrexApp * {
  box-sizing: border-box;
}

#dsrexApp {
  --bg-main: #030b1c;
  --bg-card: #0c1837;
  --bg-card-2: #152442;
  --text-main: #f4f7ff;
  --text-soft: #95a4c2;
  --line: rgba(255, 255, 255, 0.08);
  --blue: #00c2ff;
  --blue-2: #2563ff;
  --cyan-glow: rgba(0, 194, 255, 0.35);
  --purple: #7c3aed;
  --green: #00c875;
  --radius-xl: 22px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --shadow-main: 0 18px 40px rgba(0, 0, 0, 0.28);
  --shadow-blue: 0 12px 30px rgba(0, 194, 255, 0.2);
  --border-blue: rgba(0, 194, 255, 0.35);

  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background:
    radial-gradient(circle at top center, rgba(0, 119, 255, 0.14), transparent 28%),
    linear-gradient(180deg, #06112b 0%, #020814 38%, #000000 100%) !important;
  color: var(--text-main) !important;
  font-family: Inter, Arial, sans-serif !important;
}

#dsrexApp .container {
  width: min(1410px, calc(100% - 48px));
  margin: 0 auto;
}

/* ========== NAV BAR ========== */
#dsrexApp .rab-nav {
  display: block !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
  width: 100% !important;
  background: rgba(3, 11, 28, 0.95) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 0 24px !important;
  margin: 0 !important;
}

#dsrexApp .rab-nav-inner {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  max-width: 1400px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  min-height: 68px !important;
  gap: 0 !important;
}

#dsrexApp .rab-nav-logo {
  display: inline-flex !important;
  align-items: baseline !important;
  flex-shrink: 0 !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  color: #fff !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  font-family: Inter, Arial, sans-serif !important;
}

#dsrexApp .rab-nav-logo span {
  background: linear-gradient(90deg, #00d0ff 0%, #4997ff 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

#dsrexApp .rab-nav-links {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 4px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#dsrexApp .rab-nav-link {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  white-space: nowrap !important;
  padding: 10px 14px !important;
  color: #d7def1 !important;
  text-decoration: none !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  font-family: Inter, Arial, sans-serif !important;
  border-radius: 10px !important;
  border: none !important;
  background: transparent !important;
  cursor: pointer !important;
  transition: color 0.2s ease, background 0.2s ease !important;
  line-height: 1 !important;
}

#dsrexApp .rab-nav-link:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.07) !important;
}

#dsrexApp .rab-nav-link.rab-nav-active {
  color: #00c2ff !important;
  background: rgba(0, 194, 255, 0.1) !important;
}

#dsrexApp .rab-nav-trigger {
  gap: 6px !important;
}

#dsrexApp .rab-chevron {
  font-size: 9px !important;
  opacity: 0.75 !important;
  display: inline-block !important;
  transition: transform 0.22s ease !important;
}

#dsrexApp .rab-nav-dropdown {
  position: relative !important;
  display: inline-flex !important;
}

#dsrexApp .rab-nav-dropdown.open .rab-chevron {
  transform: rotate(180deg) !important;
}

#dsrexApp .rab-dropdown-menu {
  position: absolute !important;
  top: calc(100% + 6px) !important;
  left: 0 !important;
  padding: 8px 0 !important;
  margin: 0 !important;
  min-width: 210px !important;
  background: rgba(10, 22, 52, 0.99) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-radius: 12px !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45) !important;
  list-style: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(-8px) !important;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease !important;
  z-index: 10000 !important;
}

#dsrexApp .rab-nav-dropdown.open .rab-dropdown-menu {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

#dsrexApp .rab-dropdown-menu li {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

#dsrexApp .rab-dropdown-menu a {
  display: block !important;
  padding: 12px 20px !important;
  color: #d7def1 !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-align: left !important;
  transition: color 0.2s ease, background 0.2s ease !important;
}

#dsrexApp .rab-dropdown-menu a:hover {
  color: #00c2ff !important;
  background: rgba(0, 194, 255, 0.08) !important;
}

/* ── Hamburger button (hidden on desktop) ── */
#dsrexApp .rab-nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10001;
}

#dsrexApp .rab-nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#dsrexApp .rab-nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

#dsrexApp .rab-nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

#dsrexApp .rab-nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ========== end nav ========== */

#dsrexApp .events-hero {
  padding: 72px 0 96px;
  text-align: center;
}

#dsrexApp .hero-title {
  margin: 0 0 22px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
}

#dsrexApp .hero-title span {
  background: linear-gradient(90deg, #00d0ff 0%, #b30fa7 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#dsrexApp .hero-subtitle {
  max-width: 930px;
  margin: 0 auto;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.55;
  color: #d7def1;
}

#dsrexApp .events-section {
  padding: 24px 0 18px;
}

#dsrexApp .section-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

#dsrexApp .section-line {
  width: 54px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #5d79a8, #8ca8d6);
}

#dsrexApp .section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  font-weight: 800;
}

#dsrexApp .featured-card,
#dsrexApp .event-row,
#dsrexApp .past-card {
  background: linear-gradient(180deg, rgba(13, 27, 58, 0.95), rgba(10, 21, 45, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-main);
}

#dsrexApp .featured-card {
  display: grid;
  grid-template-columns: 350px 1fr;
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 28px;
  border-color: var(--border-blue);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

#dsrexApp .featured-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 194, 255, 0.15);
}

#dsrexApp .featured-image,
#dsrexApp .event-thumb,
#dsrexApp .past-image {
  position: relative;
  overflow: hidden;
	padding:20px;
}

#dsrexApp .featured-image img,
#dsrexApp .event-thumb img,
#dsrexApp .past-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

#dsrexApp .featured-card:hover img,
#dsrexApp .event-row:hover img,
#dsrexApp .past-card:hover img {
  transform: scale(1.06);
}

#dsrexApp .featured-content {
  padding: 36px 42px;
}

#dsrexApp .badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

#dsrexApp .badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
#dsrexApp .event-url{
	width:fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
	border:1px solid rgba(0, 194, 255, 0.35) !important;
	background-color:rgba(0, 194, 255, 0.08) !important;
  color: #8ddcff !important;
	margin-bottom:20px;
}

#dsrexApp .event-url:hover{
		background: rgba(0, 194, 255, 0.2) !important;
    border-color: rgba(0, 194, 255, 0.7) !important;
    color: #fff !important;
    transform: translateY(-2px) !important;
}

#dsrexApp .badge.featured {
  background: linear-gradient(90deg, #00c2ff, #2d7cff);
  color: white;
}

#dsrexApp .badge.conference {
  background: rgba(124, 58, 237, 0.18);
  color: #bf9cff;
  border: 1px solid rgba(191, 156, 255, 0.35);
}

#dsrexApp .badge.workshop {
  background: rgba(0, 200, 117, 0.13);
  color: #45e79f;
  border: 1px solid rgba(69, 231, 159, 0.3);
}

#dsrexApp .badge.meetup {
  background: rgba(0, 200, 117, 0.13);
  color: #45e79f;
  border: 1px solid rgba(69, 231, 159, 0.3);
}

#dsrexApp .badge.webinar {
  background: rgba(37, 99, 255, 0.14);
  color: #7db3ff;
  border: 1px solid rgba(125, 179, 255, 0.28);
}

#dsrexApp .featured-title,
#dsrexApp .event-title,
#dsrexApp .past-title {
  margin: 0 0 16px;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.02em;
}

#dsrexApp .event-title {
  font-size: clamp(22px, 2.5vw, 34px);
}

#dsrexApp .past-title {
  font-size: clamp(22px, 2.5vw, 28px);
  margin-bottom: 12px;
}

#dsrexApp .featured-desc,
#dsrexApp .event-desc,
#dsrexApp .past-desc {
  margin: 0 0 28px;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.65;
}

#dsrexApp .event-desc,
#dsrexApp .past-desc {
  font-size: 17px;
  margin-bottom: 22px;
}

#dsrexApp .meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

#dsrexApp .meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #dce6ff;
  font-size: 15px;
  line-height: 1.4;
}

#dsrexApp .meta-item svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: #00c2ff;
}

#dsrexApp .primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(90deg, #00bfff, #2563ff);
  color: white;
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
  box-shadow: 0 0 28px rgba(0, 194, 255, 0.18);
  transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
}

#dsrexApp .primary-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 18px 36px rgba(0, 194, 255, 0.26);
  filter: brightness(1.05);
}

#dsrexApp .primary-btn .arrow {
  transition: transform 0.28s ease;
}

#dsrexApp .primary-btn:hover .arrow {
  transform: translateX(5px);
}

#dsrexApp .event-list {
  display: grid;
  gap: 28px;
}

#dsrexApp .event-row {
  display: grid;
  grid-template-columns: 350px 1fr;
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

#dsrexApp .event-row:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

#dsrexApp .event-content {
  padding: 34px 40px;
}

#dsrexApp .divider {
  width: 100%;
  height: 1px;
  background: var(--line);
  margin: 20px 0 18px;
}

#dsrexApp .past-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

#dsrexApp .past-card {
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

#dsrexApp .past-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

#dsrexApp .past-image {
  height: 280px;
}

#dsrexApp .past-body {
  padding: 28px 28px 24px;
  background: rgba(255, 255, 255, 0.02);
}

#dsrexApp .past-footer {
  display: grid;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

#dsrexApp .newsletter-section {
  padding: 78px 0 88px;
  text-align: center;
}

#dsrexApp .newsletter-inner h2 {
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.08;
  font-weight: 800;
}

#dsrexApp .newsletter-inner p {
  max-width: 940px;
  margin: 0 auto 30px;
  color: var(--text-soft);
  font-size: 20px;
  line-height: 1.6;
}

#dsrexApp .newsletter-form {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

#dsrexApp .newsletter-form input {
  width: min(470px, 100%);
  height: 58px;
  padding: 0 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #142544;
  color: white;
  font-size: 18px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

#dsrexApp .newsletter-form input:focus {
  border-color: rgba(0, 194, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(0, 194, 255, 0.08);
}

#dsrexApp .newsletter-form button {
  height: 58px;
  min-width: 154px;
  border: 0;
  border-radius: 14px;
  padding: 0 26px;
  background: linear-gradient(90deg, #00c2ff, #2563ff);
  color: white;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 28px rgba(0, 194, 255, 0.16);
  transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
}

#dsrexApp .newsletter-form button:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0, 194, 255, 0.24);
  filter: brightness(1.04);
}

#dsrexApp .newsletter-message {
  margin-top: 18px;
  color: #8ddcff;
  min-height: 22px;
  font-size: 15px;
}

#dsrexApp .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

#dsrexApp .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

#dsrexApp .event-row,
#dsrexApp .featured-card,
#dsrexApp .past-card {
  position: relative;
}

#dsrexApp .event-row::before,
#dsrexApp .featured-card::before,
#dsrexApp .past-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.05) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.8s ease;
  pointer-events: none;
}

#dsrexApp .event-row:hover::before,
#dsrexApp .featured-card:hover::before,
#dsrexApp .past-card:hover::before {
  transform: translateX(120%);
}

@media (max-width: 1100px) {
  #dsrexApp .featured-card,
  #dsrexApp .event-row {
    grid-template-columns: 1fr;
  }

  #dsrexApp .featured-image,
  #dsrexApp .event-thumb {
    height: 300px;
  }

  #dsrexApp .meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #dsrexApp .past-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 880px) {
  #dsrexApp .rab-nav {
    padding: 0 12px !important;
  }

  #dsrexApp .rab-nav-inner {
    flex-wrap: wrap !important;
  }

  #dsrexApp .rab-nav-hamburger {
    display: flex !important;
  }

  #dsrexApp .rab-nav-links {
    display: none !important;
    flex-direction: column !important;
    width: 100% !important;
    padding: 8px 0 16px !important;
    gap: 2px !important;
  }

  #dsrexApp .rab-nav-links.nav-open {
    display: flex !important;
  }

  #dsrexApp .rab-nav-link {
    width: 100% !important;
    padding: 12px 16px !important;
    font-size: 16px !important;
    border-radius: 8px !important;
  }
}

@media (max-width: 767px) {
  #dsrexApp .container {
    width: min(100% - 24px, 100%);
  }

  #dsrexApp .events-hero {
    padding: 54px 0 72px;
  }

  #dsrexApp .hero-subtitle {
    font-size: 17px;
  }

  #dsrexApp .featured-content,
  #dsrexApp .event-content,
  #dsrexApp .past-body {
    padding: 22px 18px;
  }

  #dsrexApp .featured-image,
  #dsrexApp .event-thumb,
  #dsrexApp .past-image {
    height: 220px;
  }

  #dsrexApp .meta-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  #dsrexApp .primary-btn {
    font-size: 17px;
    padding: 14px 22px;
  }

  #dsrexApp .newsletter-form {
    flex-direction: column;
    align-items: stretch;
  }

  #dsrexApp .newsletter-form input,
  #dsrexApp .newsletter-form button {
    width: 100%;
  }
}