/**
 * Bitfa.io webinar redesign — /webinar/ list + type1 landing.
 *
 * The theme's Tailwind is pre-compiled (no node on the host), so everything
 * here is hand-written CSS scoped under .wbn (list) and .wbnl (landing).
 * JS hooks (.list-container, .search-video, .webinar-type1-form, …) keep
 * their original class names; these classes only style.
 */

/* ---------------------------------------------------------------- tokens */
.wbn,
.wbnl {
  --wbn-ink: #0b0e13;
  --wbn-panel: #12161d;
  --wbn-panel-2: #171c25;
  --wbn-line: rgba(255, 255, 255, 0.08);
  --wbn-line-2: rgba(255, 255, 255, 0.14);
  --wbn-orange: #f7a01d;
  --wbn-orange-soft: rgba(247, 160, 29, 0.12);
  --wbn-orange-line: rgba(247, 160, 29, 0.35);
  --wbn-txt-dim: rgba(255, 255, 255, 0.66);
  --wbn-txt-faint: rgba(255, 255, 255, 0.45);
  --wbn-radius: 1.25rem;
}

/* =================================================================
   LIST PAGE  (/webinar/)
   ================================================================= */

/* ------------------------------------------------------------ hero */
.wbn-hero {
  position: relative;
  background: var(--wbn-ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.wbn-hero::before {
  /* faint blueprint grid */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 0%, #000 30%, transparent 75%);
}
.wbn-hero::after {
  /* orange glow */
  content: "";
  position: absolute;
  z-index: -1;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 160, 29, 0.24), transparent 65%);
  top: -260px;
  right: -140px;
  pointer-events: none;
}
.wbn-hero .breadcrumbs,
.wbn-hero .breadcrumbs a,
.wbn-hero .breadcrumbs span {
  color: var(--wbn-txt-faint);
  font-size: 0.8rem;
}
.wbn-hero .breadcrumbs a:hover {
  color: var(--wbn-orange);
}
/* smooth-scroll for the in-page CTA anchors */
html:has(.wbnl) {
  scroll-behavior: smooth;
}
.wbn-hero-inner {
  position: relative;
  max-width: 1140px;
  margin-inline: auto;
  padding: 2.5rem 1.25rem 3.25rem;
  text-align: center;
}
.wbn-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--wbn-orange-line);
  background: var(--wbn-orange-soft);
  color: var(--wbn-orange);
  font-size: 0.8rem;
  font-weight: 600;
}
.wbn-hero-badge .wbn-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wbn-orange);
  animation: wbn-pulse 1.8s ease-out infinite;
}
.wbn-hero h1 {
  margin-top: 1.1rem;
  font-size: clamp(1.6rem, 4.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.4;
}
.wbn-hero h1 em {
  font-style: normal;
  color: var(--wbn-orange);
}
.wbn-hero-desc {
  max-width: 46rem;
  margin: 1rem auto 0;
  color: var(--wbn-txt-dim);
  font-size: clamp(0.85rem, 2.3vw, 1.05rem);
  line-height: 2;
}
.wbn-hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.wbn-stat {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  padding: 0.6rem 1.1rem;
  border-radius: 0.9rem;
  border: 1px solid var(--wbn-line);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(4px);
}
.wbn-stat b {
  color: var(--wbn-orange);
  font-size: clamp(1.05rem, 3vw, 1.4rem);
  font-weight: 800;
}
.wbn-stat span {
  color: var(--wbn-txt-dim);
  font-size: 0.78rem;
}

/* -------------------------------------------------- featured (upcoming) */
/* sits at the top of the light region, pulled up over the hero edge */
.wbn-featured-wrap {
  position: relative;
  z-index: 2;
  max-width: 1190px;
  margin-inline: auto;
  padding: 0 1.25rem;
  margin-top: -3.25rem;
}
.wbn-has-featured .wbn-hero-inner {
  padding-bottom: 6rem;
}
.wbn-featured {
  position: relative;
  border-radius: calc(var(--wbn-radius) + 4px);
  border: 1px solid var(--wbn-orange-line);
  background: linear-gradient(140deg, #1a1f28, #12161d 55%);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55), 0 0 0 6px rgba(247, 160, 29, 0.06);
  overflow: hidden;
}
.wbn-featured::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(247, 160, 29, 0.14), transparent 45%);
  pointer-events: none;
}
.wbn-featured-inner {
  position: relative;
  display: grid;
  gap: 1.25rem;
  padding: 1.25rem;
  color: #fff;
}
.wbn-featured-media {
  position: relative;
  border-radius: var(--wbn-radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--wbn-line-2);
}
.wbn-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wbn-featured-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 14, 19, 0.55), transparent 55%);
}
.wbn-live-chip {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(11, 14, 19, 0.75);
  border: 1px solid var(--wbn-orange-line);
  color: var(--wbn-orange);
  font-size: 0.72rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
}
.wbn-live-chip .wbn-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wbn-orange);
  animation: wbn-pulse 1.6s ease-out infinite;
}
.wbn-featured-body {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  justify-content: center;
}
.wbn-featured-kicker {
  color: var(--wbn-orange);
  font-size: 0.8rem;
  font-weight: 700;
}
.wbn-featured-title {
  font-size: clamp(1.15rem, 3vw, 1.6rem);
  font-weight: 800;
  line-height: 1.6;
}
.wbn-featured-title a {
  color: inherit;
}
.wbn-featured-title a:hover {
  color: var(--wbn-orange);
}
.wbn-featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.wbn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--wbn-line);
  color: var(--wbn-txt-dim);
  font-size: 0.8rem;
}
.wbn-pill i {
  color: var(--wbn-orange);
  font-size: 1rem;
}
.wbn-featured-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 0.25rem;
}
/* countdown inside featured */
.wbn-count {
  display: flex;
  flex-direction: row-reverse; /* days visually first (right, RTL) */
  gap: 0.5rem;
}
.wbn-count .countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 3.4rem;
  padding: 0.45rem 0.5rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--wbn-line);
}
.wbn-count .countdown-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}
.wbn-count .countdown-label {
  font-size: 0.65rem;
  color: var(--wbn-txt-faint);
}
.wbn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 3rem;
  padding-inline: 1.6rem;
  border-radius: 0.9rem;
  background: linear-gradient(180deg, #ffb640, var(--wbn-orange));
  color: #201503 !important;
  font-weight: 800;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 24px -8px rgba(247, 160, 29, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.wbn-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 14px 30px -8px rgba(247, 160, 29, 0.65);
}
.wbn-btn i {
  font-size: 1.1rem;
}

@media (min-width: 1024px) {
  .wbn-featured-inner {
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    gap: 2rem;
    padding: 1.75rem;
  }
}

/* no-active-webinar state (replaces the featured banner) */
.wbn-nofeatured {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 2.25rem 1.5rem;
  text-align: center;
  color: #fff;
  border-color: var(--wbn-line-2);
}
.wbn-nofeatured-ico {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--wbn-line-2);
  margin-bottom: 0.4rem;
}
.wbn-nofeatured-ico i {
  font-size: 1.6rem;
  color: var(--wbn-orange);
  opacity: 0.85;
}
.wbn-nofeatured h2 {
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
  font-weight: 800;
}
.wbn-nofeatured p {
  color: var(--wbn-txt-dim);
  font-size: 0.85rem;
  line-height: 1.9;
  max-width: 34rem;
}

/* ------------------------------------------------------------ list */
.wbn-list-region {
  background:
    radial-gradient(ellipse 60% 40% at 100% 10%, rgba(247, 160, 29, 0.05), transparent 60%),
    #fbfbfc;
  padding-top: 1rem;
}
.wbn-list-region .wbn-section {
  max-width: 1140px;
  margin-inline: auto;
  padding: 2.5rem 1.25rem 3rem;
}
.wbn-list-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.wbn-list-head h2 {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: clamp(1.15rem, 3vw, 1.6rem);
  font-weight: 800;
  color: #14171c;
}
.wbn-list-head h2::before {
  content: "";
  width: 0.45rem;
  height: 1.9rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffb640, var(--wbn-orange));
}
.wbn-search {
  position: relative;
  width: 100%;
  max-width: 19rem;
}
.wbn-search i {
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9aa1ab;
  font-size: 1.05rem;
  pointer-events: none;
}
.wbn-search input {
  width: 100%;
  height: 2.9rem;
  border-radius: 0.9rem;
  border: 1.5px solid #e5e8ec;
  background: #fff;
  padding: 0 2.6rem 0 1rem;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.wbn-search input:focus {
  border-color: var(--wbn-orange);
  box-shadow: 0 0 0 4px rgba(247, 160, 29, 0.15);
}
.wbn-search input::placeholder {
  color: #a7adb7;
}
@media (max-width: 640px) {
  .wbn-search {
    max-width: none;
  }
}

/* category pills (only rendered when webinar_cat terms exist) */
.wbn-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.wbn-cats .sub-category-item {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  border: 1px solid #e5e8ec;
  background: #fff;
  color: #4c535d;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.wbn-cats .sub-category-item:hover {
  border-color: var(--wbn-orange-line);
  color: var(--wbn-orange);
}
.wbn-cats .sub-category-item.selected {
  background: var(--wbn-orange-soft);
  border-color: var(--wbn-orange-line);
  color: #c87c06;
}

/* grid — .list-container is the AJAX target, keep it */
.wbn .list-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .wbn .list-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .wbn .list-container {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

/* ------------------------------------------------------------ card */
.wbn-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--wbn-radius);
  background: #fff;
  border: 1px solid #eceef1;
  box-shadow: 0 2px 10px rgba(15, 17, 19, 0.04);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.wbn-card:hover {
  transform: translateY(-6px);
  border-color: var(--wbn-orange-line);
  box-shadow: 0 18px 40px -12px rgba(15, 17, 19, 0.16), 0 0 0 4px rgba(247, 160, 29, 0.08);
}
.wbn-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}
.wbn-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f0f2f5;
}
.wbn-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.wbn-card:hover .wbn-card-media img {
  transform: scale(1.06);
}
.wbn-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 14, 19, 0.35), transparent 45%);
}
.wbn-chip {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
}
.wbn-chip-open {
  background: rgba(11, 14, 19, 0.72);
  border: 1px solid var(--wbn-orange-line);
  color: #ffc35c;
}
.wbn-chip-open .wbn-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wbn-orange);
  animation: wbn-pulse 1.6s ease-out infinite;
}
.wbn-chip-done {
  background: rgba(11, 14, 19, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.85);
}
.wbn-card-play {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.wbn-card:hover .wbn-card-play {
  opacity: 1;
}
.wbn-card-play span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: rgba(247, 160, 29, 0.92);
  color: #1c1303;
  font-size: 1.3rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.wbn-card-play span i {
  transform: translateX(-1px);
}
.wbn-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.1rem 1.15rem 1.2rem;
  flex: 1;
}
.wbn-card-date {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #7b8594;
  font-size: 0.78rem;
}
.wbn-card-date i {
  color: var(--wbn-orange);
  font-size: 0.95rem;
}
.wbn-card h3 {
  font-size: 1.02rem;
  font-weight: 800;
  color: #14171c;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.wbn-card-foot {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px dashed #e5e8ec;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--wbn-orange);
  font-size: 0.83rem;
  font-weight: 700;
}
.wbn-card-foot i {
  transition: transform 0.2s ease;
}
.wbn-card:hover .wbn-card-foot i {
  transform: translateX(-4px);
}
/* skeleton card (AJAX loading) */
.wbn-card-skel {
  aspect-ratio: 4 / 3.4;
}
.wbn-card-skel .skeleton {
  width: 100%;
  height: 100%;
}
.wbn-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3.5rem 1rem;
  color: #7b8594;
}
.wbn-empty i {
  display: block;
  font-size: 2.6rem;
  color: #cfd4da;
  margin-bottom: 0.75rem;
}

/* pagination restyle (shared markup from general-pagination.php) */
.wbn .pagination {
  margin-top: 2.25rem;
}
.wbn .bitfa-pagination .page-item {
  border: 1px solid #e5e8ec;
  background: #fff;
  color: #4c535d;
  font-weight: 600;
}
.wbn .bitfa-pagination .page-item:hover {
  border-color: var(--wbn-orange-line);
  color: var(--wbn-orange);
}
.wbn .bitfa-pagination .page-item.selected {
  background: var(--wbn-orange);
  border-color: var(--wbn-orange);
  color: #fff;
}

/* =================================================================
   TYPE1 LANDING  (e.g. /webinar/tracking-million-dollar-traders/)
   ================================================================= */

.wbnl {
  background:
    radial-gradient(ellipse 55% 32% at 82% 0%, rgba(247, 160, 29, 0.16), transparent 62%),
    radial-gradient(ellipse 45% 30% at 8% 38%, rgba(247, 160, 29, 0.07), transparent 60%),
    var(--wbn-ink);
  color: #fff;
  overflow: hidden;
}
.wbnl-grid-bg {
  position: absolute;
  inset: 0 0 auto;
  height: 900px;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 85% 65% at 50% 0%, #000 25%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 0%, #000 25%, transparent 72%);
}
.wbnl-wrap {
  position: relative;
  max-width: 1200px;
  margin-inline: auto;
  padding: 1.5rem 1.25rem 4rem;
}
@media (max-width: 1023px) {
  .wbnl-wrap {
    padding-bottom: 6.5rem; /* room for sticky CTA */
  }
}

/* ------------------------------------------------ hero copy (centered) */
.wbnl2-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  text-align: center;
  padding-top: 1.25rem;
}
@media (min-width: 1024px) {
  .wbnl2-hero {
    padding-top: 2.25rem;
    gap: 1.35rem;
  }
}
.wbnl-topbadge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--wbn-orange-line);
  background: var(--wbn-orange-soft);
  color: var(--wbn-orange);
  font-size: 0.8rem;
  font-weight: 700;
}
.wbnl-topbadge .wbn-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wbn-orange);
  animation: wbn-pulse 1.8s ease-out infinite;
}
/* full-width centered title: each authored <br> line stays a single line */
.wbnl2-title {
  max-width: 62rem;
  margin-inline: auto;
  font-size: clamp(1.05rem, 0.35rem + 2.6vw, 2.35rem);
  font-weight: 800;
  line-height: 2;
  color: #fff;
  text-wrap: balance;
}
.wbnl2-title .text-primary {
  color: var(--wbn-orange);
  text-shadow: 0 0 32px rgba(247, 160, 29, 0.4);
}
/* duration line: «آموزش … در ۹۰ دقیقه» */
.wbnl-duration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: var(--wbn-txt-dim);
  font-size: clamp(0.9rem, 2.6vw, 1.1rem);
  font-weight: 600;
}
.wbnl-duration-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 50%;
  flex-shrink: 0;
  color: var(--wbn-orange);
  font-size: 1.35rem;
  font-weight: 800;
  background: var(--wbn-orange-soft);
}
.wbnl-duration-badge::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px dashed var(--wbn-orange-line);
  animation: wbn-spin 14s linear infinite;
}

/* --------------------- terminal window (media + form) --------------------- */
.wbnl2-window {
  position: relative;
  max-width: 72rem;
  margin: 2rem auto 0;
  border-radius: calc(var(--wbn-radius) + 6px);
  border: 1px solid var(--wbn-line-2);
  background: linear-gradient(160deg, #171c25, #10141b 60%);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8), 0 0 70px -25px rgba(247, 160, 29, 0.3);
  overflow: hidden;
}
@media (min-width: 1024px) {
  .wbnl2-window {
    margin-top: 2.75rem;
  }
}
.wbnl2-window::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(247, 160, 29, 0.5), transparent 35%, transparent 70%, rgba(247, 160, 29, 0.25));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 3;
}
/* titlebar */
.wbnl2-titlebar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  padding: 0.8rem 1.1rem;
  border-bottom: 1px solid var(--wbn-line);
  background: rgba(255, 255, 255, 0.03);
}
.wbnl2-dots {
  display: inline-flex;
  gap: 0.4rem;
}
.wbnl2-dots i {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.wbnl2-dots i:first-child {
  background: var(--wbn-orange);
}
.wbnl2-tb-date {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
}
.wbnl2-tb-date i {
  color: var(--wbn-orange);
  font-size: 1.1rem;
}
.wbnl2-tb-count {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-inline-start: auto;
}
.wbnl2-tb-count-label {
  font-size: 0.75rem;
  color: var(--wbn-txt-faint);
}
.wbnl2-count {
  display: flex;
  flex-direction: row-reverse; /* days first (right, RTL) */
  gap: 0.35rem;
}
.wbnl2-count .countdown-item {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  padding: 0.25rem 0.6rem;
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--wbn-line);
}
.wbnl2-count .countdown-value {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--wbn-orange);
  line-height: 1.4;
}
.wbnl2-count .countdown-label {
  font-size: 0.65rem;
  color: var(--wbn-txt-dim);
}
@media (max-width: 640px) {
  .wbnl2-tb-count {
    width: 100%;
    justify-content: space-between;
    margin-inline-start: 0;
  }
}
/* body: form right (RTL first), media left */
.wbnl2-body {
  display: grid;
}
@media (min-width: 1024px) {
  .wbnl2-body {
    grid-template-columns: minmax(0, 26rem) minmax(0, 1fr);
  }
}
.wbnl2-form-col {
  padding: 1.4rem 1.25rem 1.5rem;
  scroll-margin-top: 4.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  order: 2;
}
@media (min-width: 1024px) {
  .wbnl2-form-col {
    order: 0;
    padding: 2rem 1.75rem;
    border-inline-start: 1px solid var(--wbn-line);
  }
}
/* media pane */
.wbnl2-media {
  position: relative;
  overflow: hidden;
  min-height: 15rem;
  background: #0d1016;
}
.wbnl2-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 1024px) {
  .wbnl2-media {
    position: relative;
  }
  .wbnl2-media img {
    position: absolute;
    inset: 0;
  }
}
/* radar scanline sweeping over the image */
.wbnl2-scan {
  position: absolute;
  inset-inline: 0;
  top: -20%;
  height: 18%;
  background: linear-gradient(to bottom, transparent, rgba(247, 160, 29, 0.14) 65%, rgba(247, 160, 29, 0.45));
  animation: wbnl2-scan 4.6s linear infinite;
  pointer-events: none;
  z-index: 1;
}
.wbnl-float {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  border-radius: 0.85rem;
  background: rgba(13, 16, 22, 0.92);
  border: 1px solid var(--wbn-line-2);
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.6);
  animation: wbn-float 5s ease-in-out infinite;
}
.wbnl-float i {
  color: var(--wbn-orange);
  font-size: 1.05rem;
}
.wbnl-float-1 {
  top: 0.9rem;
  right: 0.9rem;
}
.wbnl-float-2 {
  bottom: 0.9rem;
  left: 0.9rem;
  animation-delay: 2.5s;
}

/* ------------------------------------------------------ marquee strip */
.wbnl2-marquee {
  overflow: hidden;
  margin-top: 1.75rem;
  padding-block: 0.9rem;
  border-block: 1px solid var(--wbn-line);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.wbnl2-marquee-track {
  display: flex;
  width: max-content;
  gap: 2.75rem;
  animation: wbnl2-marquee 26s linear infinite;
}
.wbnl2-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
  color: var(--wbn-txt-dim);
  font-size: 0.85rem;
  font-weight: 600;
}
.wbnl2-marquee-item i {
  color: var(--wbn-orange);
  font-size: 1.05rem;
}

/* --------------------------------------------------------- form bits */
.wbnl-form-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}
.wbnl-form-title i {
  color: var(--wbn-orange);
  font-size: 1.3rem;
}
.wbnl-form-sub {
  color: var(--wbn-txt-dim);
  font-size: 0.8rem;
  margin-bottom: 1rem;
}
.wbnl .webinar-type1-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.wbnl .webinar-type1-form input {
  width: 100%;
  height: 3.1rem;
  border-radius: 0.9rem;
  border: 1.5px solid var(--wbn-line-2);
  background: rgba(11, 14, 19, 0.55);
  color: #fff;
  padding-inline: 1rem;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.wbnl .webinar-type1-form input::placeholder {
  color: var(--wbn-txt-faint);
  text-align: right;
}
.wbnl .webinar-type1-form input:focus {
  border-color: var(--wbn-orange);
  box-shadow: 0 0 0 4px rgba(247, 160, 29, 0.18);
}
.wbnl .webinar-type1-form input.error {
  border-color: #e5484d;
  box-shadow: 0 0 0 4px rgba(229, 72, 77, 0.18);
}
/* the theme .btn keeps its loading machinery; we restyle the shell */
.wbnl .webinar-type1-form .btn.webinar-type1-form-btn {
  height: 3.4rem;
  width: 100%;
  border-radius: 0.9rem;
  background: linear-gradient(180deg, #ffb640, var(--wbn-orange));
  color: #201503;
  font-size: 1.05rem;
  font-weight: 800;
  border: none;
  box-shadow: 0 12px 28px -8px rgba(247, 160, 29, 0.55);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}
.wbnl .webinar-type1-form .btn.webinar-type1-form-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.06);
}
.wbnl .webinar-type1-form .btn.webinar-type1-form-btn:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}
.wbnl-form-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.9rem;
  color: var(--wbn-txt-faint);
  font-size: 0.75rem;
}
.wbnl-form-note i {
  color: var(--wbn-orange);
  font-size: 0.95rem;
}

/* --------------------------------------------------------- capacity */
.wbnl-capacity {
  margin-top: 1.1rem;
  padding-top: 1.1rem;
  border-top: 1px dashed var(--wbn-line-2);
}
.wbnl-capacity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  margin-bottom: 0.6rem;
}
.wbnl-capacity-row b {
  color: var(--wbn-orange);
  font-size: 1rem;
}
.wbnl-capacity-row span {
  color: var(--wbn-txt-dim);
}
.wbnl-capacity-bar {
  height: 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.wbnl-capacity-fill {
  height: 100%;
  border-radius: 999px;
  background: repeating-linear-gradient(-45deg, #ffb640 0 10px, var(--wbn-orange) 10px 20px);
  background-size: 28px 28px;
  animation: wbn-stripes 1.4s linear infinite;
  transition: width 0.8s ease;
}

/* ------------------------------------------------------- sections */
.wbnl-section {
  margin-top: 4rem;
}
.wbnl-sec-head {
  text-align: center;
  max-width: 52rem;
  margin-inline: auto;
}
.wbnl-sec-head h2 {
  font-size: clamp(1.35rem, 3.6vw, 2rem);
  font-weight: 800;
}
.wbnl-sec-head h2 mark {
  background: none;
  color: var(--wbn-orange);
}
.wbnl-sec-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.wbnl-sec-line span:nth-child(1),
.wbnl-sec-line span:nth-child(3) {
  height: 1px;
  width: 4.5rem;
  background: linear-gradient(90deg, transparent, var(--wbn-orange-line));
}
.wbnl-sec-line span:nth-child(3) {
  background: linear-gradient(-90deg, transparent, var(--wbn-orange-line));
}
.wbnl-sec-line span:nth-child(2) {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  border: 3px solid var(--wbn-orange);
}
.wbnl-sec-desc {
  margin-top: 1rem;
  color: var(--wbn-txt-dim);
  font-size: clamp(0.88rem, 2.4vw, 1.05rem);
  line-height: 2.2;
}
.wbnl-sec-desc .text-primary {
  color: var(--wbn-orange);
  font-weight: 700;
}

/* feature row (کاربردی / آنلاین / رایگان) — horizontal pills */
.wbnl2-featrow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.9rem;
}
.wbnl2-feat {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 1.35rem 0.65rem 1.6rem;
  border-radius: 999px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--wbn-line-2);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.wbnl2-feat:hover {
  transform: translateY(-3px);
  border-color: var(--wbn-orange-line);
}
.wbnl2-feat-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(247, 160, 29, 0.28), rgba(247, 160, 29, 0.08) 70%);
  border: 1px solid var(--wbn-orange-line);
  box-shadow: 0 0 18px -4px rgba(247, 160, 29, 0.35), inset 0 0 10px rgba(247, 160, 29, 0.08);
}
.wbnl2-feat-ico i {
  color: var(--wbn-orange);
  font-size: 1.4rem;
  line-height: 1;
}
.wbnl2-feat-ico img {
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
}
.wbnl2-feat b {
  font-size: clamp(0.92rem, 2.4vw, 1.05rem);
  font-weight: 800;
  color: #fff;
}

/* learn — numbered stepper */
.wbnl2-steps {
  display: grid;
  gap: 1rem;
  max-width: 26rem;
  margin: 2.1rem auto 0;
  counter-reset: none;
}
@media (min-width: 1024px) {
  .wbnl2-steps {
    max-width: 72rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}
.wbnl2-step {
  position: relative;
  border-radius: calc(var(--wbn-radius) + 2px);
  border: 1px solid var(--wbn-line-2);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  padding: 1.5rem 1.25rem 1.35rem;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.wbnl2-step:hover {
  transform: translateY(-5px);
  border-color: var(--wbn-orange-line);
}
.wbnl2-step::after {
  /* ghost number backdrop */
  content: "";
  position: absolute;
  left: -1.25rem;
  bottom: -2rem;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 160, 29, 0.12), transparent 70%);
  pointer-events: none;
}
.wbnl2-step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.6rem;
  height: 2.6rem;
  padding-inline: 0.6rem;
  border-radius: 0.85rem;
  background: var(--wbn-orange-soft);
  border: 1px solid var(--wbn-orange-line);
  color: var(--wbn-orange);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.9rem;
}
.wbnl2-step p {
  font-size: 0.95rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.9);
}
/* dashed connectors between steps on desktop */
@media (min-width: 1024px) {
  .wbnl2-step:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 2.75rem;
    left: -1.5rem;
    width: 1.5rem;
    border-top: 2px dashed var(--wbn-orange-line);
  }
}

/* stats strip */
.wbnl2-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  max-width: 72rem;
  margin: 2.25rem auto 0;
  border-radius: calc(var(--wbn-radius) + 2px);
  border: 1px solid var(--wbn-orange-line);
  background:
    radial-gradient(circle at 85% 0%, rgba(247, 160, 29, 0.14), transparent 50%),
    radial-gradient(circle at 10% 100%, rgba(247, 160, 29, 0.1), transparent 45%),
    var(--wbn-panel);
  padding: 1.5rem 0.75rem;
}
.wbnl2-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-align: center;
  padding-inline: 0.5rem;
}
.wbnl2-stat + .wbnl2-stat {
  border-inline-start: 1px dashed var(--wbn-line-2);
}
.wbnl2-stat img {
  width: 2.6rem;
  height: 2.6rem;
  object-fit: contain;
}
@media (min-width: 1024px) {
  .wbnl2-stat img {
    width: 3.4rem;
    height: 3.4rem;
  }
}
.wbnl2-stat b {
  font-size: clamp(1.35rem, 3.6vw, 2.4rem);
  font-weight: 800;
  color: var(--wbn-orange);
  line-height: 1.3;
}
.wbnl2-stat span {
  color: var(--wbn-txt-dim);
  font-size: clamp(0.72rem, 2vw, 0.95rem);
}

/* ------------------------------------------------------- final CTA */
/* expanding radar rings (used as CTA backdrop) */
.wbnl-radar {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.wbnl-radar span {
  position: absolute;
  inset: 0;
  margin: auto;
  border-radius: 50%;
  border: 1px solid rgba(247, 160, 29, 0.2);
  width: min(34rem, 80%);
  aspect-ratio: 1;
  animation: wbn-radar 4.2s ease-out infinite;
}
.wbnl-radar span:nth-child(2) {
  animation-delay: 1.4s;
}
.wbnl-radar span:nth-child(3) {
  animation-delay: 2.8s;
}
.wbn-btn-shine {
  position: relative;
  overflow: hidden;
}
.wbn-btn-shine::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40%;
  left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  animation: wbn-shine 3.2s ease-in-out infinite;
}
.wbnl-cta {
  margin-top: 4rem;
  border-radius: calc(var(--wbn-radius) + 4px);
  border: 1px solid var(--wbn-orange-line);
  background:
    radial-gradient(circle at 15% 20%, rgba(247, 160, 29, 0.18), transparent 45%),
    linear-gradient(140deg, #1a1f28, #12161d 60%);
  padding: 2.25rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.wbnl-cta h2,
.wbnl-cta p,
.wbnl-cta .wbn-btn {
  position: relative;
  z-index: 1;
}
.wbnl-cta h2 {
  font-size: clamp(1.2rem, 3.4vw, 1.7rem);
  font-weight: 800;
}
.wbnl-cta p {
  margin-top: 0.7rem;
  color: var(--wbn-txt-dim);
  font-size: 0.9rem;
}
.wbnl-cta .wbn-btn {
  margin-top: 1.4rem;
  height: 3.4rem;
  padding-inline: 2.4rem;
  font-size: 1.05rem;
}

/* ------------------------------------------------- sticky mobile CTA */
.wbnl-sticky {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(13, 16, 21, 0.92);
  border-top: 1px solid var(--wbn-orange-line);
  backdrop-filter: blur(10px);
}
.wbnl-sticky-date {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.wbnl-sticky-date b {
  font-size: 0.8rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wbnl-sticky-date span {
  font-size: 0.68rem;
  color: var(--wbn-orange);
}
.wbnl-sticky .wbn-btn {
  margin-inline-start: auto;
  height: 2.8rem;
  padding-inline: 1.3rem;
  font-size: 0.88rem;
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  .wbnl-sticky {
    display: none;
  }
}

/* held/past state */
.wbnl-held {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  padding: 1.6rem;
  border-radius: var(--wbn-radius);
  border: 1px solid var(--wbn-line-2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--wbn-txt-dim);
  text-align: center;
}
.wbnl-held i {
  font-size: 2rem;
  color: var(--wbn-orange);
}

/* success modal polish (component renders .webinar-type1-modal) */
.webinar-type1-modal {
  border-radius: 1.25rem;
}
.webinar-type1-modal .webinar-type1-success {
  padding: 0.5rem 0.25rem;
}

/* ------------------------------------------------------- animations */
@keyframes wbn-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(247, 160, 29, 0.6);
  }
  70% {
    box-shadow: 0 0 0 9px rgba(247, 160, 29, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(247, 160, 29, 0);
  }
}
@keyframes wbn-radar {
  0% {
    transform: scale(0.55);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}
@keyframes wbn-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes wbn-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@keyframes wbn-stripes {
  to {
    background-position: 28px 0;
  }
}
@keyframes wbnl2-scan {
  0% {
    top: -20%;
  }
  100% {
    top: 120%;
  }
}
@keyframes wbnl2-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(50%);
  }
}
@keyframes wbn-shine {
  0%,
  55% {
    left: -60%;
  }
  100% {
    left: 130%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wbn *,
  .wbnl * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
