/* ═══════════════════════════════════════════════════════════════
   COURSE PAGE — SEO SECTION & MARQUEE TICKER STYLES
   Shared stylesheet for all course page templates.
   ═══════════════════════════════════════════════════════════════ */

/* ── Curriculum accordion — force left alignment everywhere ── */
.cp-curriculum-section,
.cp-curriculum--split,
.cp-curriculum__left,
.cp-module,
.cp-module__header,
.cp-module__info,
.cp-module__title-group,
.cp-module__title,
.cp-module__body,
.cp-topic-list,
.cp-topic-list li {
  text-align: left;
}

/* ── Module title — comfortable line height for wrapped text ── */
.cp-module__title {
  line-height: 1.55;
  white-space: normal !important;
  word-break: break-word;
  padding: 6px 0;
}

/* ── Section wrapper ── */
.dm-seo-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  padding: 80px 0 70px;
  border-top: 1px solid #e8edf3;
  position: relative;
  overflow: hidden;
}
.dm-seo-section::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(249,115,22,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.dm-seo-section::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -80px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(99,102,241,0.05) 0%, transparent 65%);
  pointer-events: none;
}

/* ── Header ── */
.dm-seo-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 52px;
  position: relative;
  z-index: 1;
}
.dm-seo-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  color: #f97316;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 50px;
  border: 1px solid #fed7aa;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(249,115,22,0.12);
}
.dm-seo-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 14px;
}
.dm-seo-subtitle {
  color: #64748b;
  font-size: 1rem;
  line-height: 1.75;
}

/* ── Primary Block ── */
.dm-seo-primary-block {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0f172a 100%);
  border-radius: 20px;
  padding: 40px 44px;
  margin-bottom: 52px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(15,23,42,0.18);
}
.dm-seo-primary-block::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(249,115,22,0.22) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.dm-seo-primary-block::after {
  content: '';
  position: absolute;
  bottom: -80px; left: 80px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(99,102,241,0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.dm-seo-primary-inner {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  position: relative;
  z-index: 1;
}
.dm-seo-primary-icon {
  width: 70px; height: 70px;
  min-width: 70px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  box-shadow: 0 10px 30px rgba(249,115,22,0.45);
  flex-shrink: 0;
}
.dm-seo-primary-text h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.dm-seo-primary-text p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 20px;
}
.dm-seo-primary-text strong { color: #fbbf24; }
.dm-seo-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff !important;
  padding: 12px 26px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none !important;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 6px 20px rgba(249,115,22,0.4);
  letter-spacing: 0.2px;
}
.dm-seo-primary-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(249,115,22,0.5);
}

/* ── Location Cards Grid ── */
.dm-seo-locations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 52px;
  position: relative;
  z-index: 1;
}
.dm-seo-loc-card {
  background: #fff;
  border: 1.5px solid #e8edf3;
  border-radius: 16px;
  padding: 24px 20px 20px;
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.dm-seo-loc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f97316, #fb923c, #fbbf24);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  border-radius: 16px 16px 0 0;
}
.dm-seo-loc-card:hover::before { transform: scaleX(1); }
.dm-seo-loc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(15,23,42,0.12);
  border-color: #fed7aa;
}
.dm-seo-loc-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.dm-seo-loc-card__icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  color: #f97316;
  font-size: 1.05rem;
  transition: background 0.25s, color 0.25s, transform 0.25s;
  box-shadow: 0 2px 8px rgba(249,115,22,0.1);
  margin-bottom: 14px;
}
.dm-seo-loc-card:hover .dm-seo-loc-card__icon {
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(249,115,22,0.35);
}
.dm-seo-loc-dist {
  font-size: 0.7rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 3px 9px;
  border-radius: 50px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.dm-seo-loc-card:hover .dm-seo-loc-dist {
  background: #fff7ed;
  color: #ea580c;
  border-color: #fed7aa;
}
.dm-seo-loc-dist i { font-size: 0.65rem; }
.dm-seo-loc-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.45;
}
.dm-seo-loc-card h4 a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s;
}
.dm-seo-loc-card:hover h4 a { color: #f97316; }
.dm-seo-loc-card p {
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.65;
  margin-bottom: 0;
}

/* ── Keyword Cloud Block ── */
.dm-seo-keywords-block {
  background: linear-gradient(135deg, #f8faff 0%, #eef2ff 100%);
  border: 1.5px solid #dde4f8;
  border-radius: 18px;
  padding: 34px 38px;
  margin-bottom: 44px;
  position: relative;
  z-index: 1;
}
.dm-seo-kw-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.dm-seo-kw-title i { color: #6366f1; font-size: 1rem; }
.dm-seo-kw-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.dm-seo-kw-cloud a {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1.5px solid #c7d2fe;
  color: #4338ca;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.22s ease;
  white-space: nowrap;
  box-shadow: 0 1px 4px rgba(99,102,241,0.07);
}
.dm-seo-kw-cloud a:hover {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  border-color: #6366f1;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(99,102,241,0.3);
}

/* ── Bottom Description Block ── */
.dm-seo-desc-block {
  background: #fff;
  border: 1.5px solid #e8edf3;
  border-radius: 18px;
  padding: 36px 40px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 24px rgba(15,23,42,0.05);
}
.dm-seo-desc-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
}
.dm-seo-desc-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #f97316;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.dm-seo-desc-col h4 i { font-size: 0.95rem; }
.dm-seo-desc-col p {
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.85;
}
.dm-seo-desc-col p a {
  color: #f97316;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.dm-seo-desc-col p a:hover {
  border-bottom-color: #f97316;
  color: #ea580c;
}

/* ── Responsive ── */
@media (max-width: 1199px) {
  .dm-seo-locations-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
  .dm-seo-locations-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .dm-seo-section { padding: 56px 0 44px; }
  .dm-seo-title { font-size: 1.55rem; }
  .dm-seo-primary-block { padding: 26px 24px; }
  .dm-seo-primary-inner { flex-direction: column; gap: 18px; }
  .dm-seo-locations-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .dm-seo-keywords-block { padding: 24px 22px; }
  .dm-seo-desc-inner { grid-template-columns: 1fr; gap: 26px; }
  .dm-seo-desc-block { padding: 24px 22px; }
}
@media (max-width: 480px) {
  .dm-seo-locations-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .dm-seo-loc-card { padding: 18px 14px 16px; }
}
@media (max-width: 360px) {
  .dm-seo-locations-grid { grid-template-columns: 1fr; }
}

/* ── Courses Marquee Ticker ── */
@keyframes dm-scroll-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes dm-scroll-right {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.dm-courses-ticker-wrap {
  margin-top: 36px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, #0f172a 0%, #1a2540 100%);
  padding: 28px 0 24px;
  box-shadow: 0 12px 40px rgba(15,23,42,0.18);
}
.dm-courses-ticker-wrap::before {
  content: '';
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 200px;
  background: radial-gradient(ellipse, rgba(249,115,22,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.dm-courses-ticker-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #f97316;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.dm-courses-ticker-label i { font-size: 0.9rem; }
.dm-courses-ticker-label span { position: relative; }
.dm-courses-ticker-label span::before,
.dm-courses-ticker-label span::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40px;
  height: 1px;
  background: rgba(249,115,22,0.35);
}
.dm-courses-ticker-label span::before { right: calc(100% + 10px); }
.dm-courses-ticker-label span::after  { left:  calc(100% + 10px); }

.dm-courses-ticker__row {
  overflow: hidden;
  padding: 4px 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.dm-courses-ticker__row + .dm-courses-ticker__row { margin-top: 12px; }

.dm-courses-ticker__track {
  display: flex;
  gap: 12px;
  width: max-content;
  will-change: transform;
}
.dm-courses-ticker__row--left  .dm-courses-ticker__track { animation: dm-scroll-left  28s linear infinite; }
.dm-courses-ticker__row--right .dm-courses-ticker__track { animation: dm-scroll-right 32s linear infinite; }

.dm-courses-ticker-wrap:hover .dm-courses-ticker__track { animation-play-state: paused; }

.dm-ct-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none !important;
  letter-spacing: 0.2px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}
.dm-ct-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}
.dm-ct-pill i { font-size: 0.85rem; }

.dm-ct-pill--dark {
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.12);
  color: #e2e8f0 !important;
}
.dm-ct-pill--dark:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(249,115,22,0.45);
  color: #fff !important;
}

.dm-ct-pill--orange {
  background: linear-gradient(135deg, #f97316, #ea580c);
  border: 1.5px solid transparent;
  color: #fff !important;
  box-shadow: 0 3px 12px rgba(249,115,22,0.35);
}
.dm-ct-pill--orange:hover {
  background: linear-gradient(135deg, #fb923c, #f97316);
  box-shadow: 0 6px 20px rgba(249,115,22,0.55);
}

@media (max-width: 768px) {
  .dm-courses-ticker-wrap { padding: 22px 0 18px; }
}

/* ================================================================
   DIGITAL MARKETING PAGE — MOBILE RESPONSIVE CSS
   Breakpoints:
     991px  → tablet / small laptop
     767px  → mobile landscape / large phones
     480px  → small mobile portrait
   ================================================================ */


/* ────────────────────────────────────────────────────────────────
   1. HERO SECTION  (.cp-hero)
   ──────────────────────────────────────────────────────────────── */
@media (max-width: 991px) {
  .cp-hero {
    padding: 48px 0 36px;
    min-height: auto;
  }

  .cp-hero__eyebrow-row {
    flex-wrap: wrap;
    gap: 8px;
  }

  .cp-hero__title {
    font-size: 1.9rem;
  }

  .cp-hero__rating-row {
    font-size: 0.8rem;
    gap: 6px;
  }

  /* Trust bar less prominent on tablet */
  .cp-hero__trust-bar {
    font-size: 0.72rem;
    gap: 8px;
    flex-wrap: wrap;
  }
}

@media (max-width: 767px) {
  .cp-hero {
    padding: 36px 0 28px;
    text-align: center;
  }

  /* Left column full width */
  .cp-hero .col-md-7 {
    width: 100%;
    float: none;
  }

  /* Hide right image column completely on mobile */
  .cp-hero .col-md-5 {
    display: none;
  }

  /* Center the eyebrow badges */
  .cp-hero__eyebrow-row {
    justify-content: center;
  }

  .cp-hero__title {
    font-size: 1.6rem;
    line-height: 1.25;
  }

  .cp-hero__eyebrow {
    font-size: 0.7rem;
    padding: 5px 12px;
  }

  .cp-hero__live-badge {
    font-size: 0.68rem;
    padding: 4px 10px;
  }

  .cp-hero__rating-row {
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 14px;
  }

  .cp-hero__sep {
    display: none;
  }

  .cp-hero__enrolled {
    width: 100%;
    font-size: 0.75rem;
    text-align: center;
    justify-content: center;
  }

  .cp-hero__pills {
    justify-content: center;
    gap: 6px;
    margin-bottom: 20px;
  }

  .cp-pill {
    font-size: 0.72rem;
    padding: 5px 10px;
  }

  /* CTA Buttons — small and in a row */
  .cp-hero__ctas {
    flex-direction: row;
    justify-content: center;
    gap: 10px;
  }

  .cp-cta-btn {
    width: calc(50% - 5px);
    justify-content: center;
    padding: 12px 14px;
    font-size: 0.82rem;
  }

  .cp-hero__trust-bar {
    display: none;
  }
}

@media (max-width: 480px) {
  .cp-hero {
    padding: 28px 0 22px;
  }

  .cp-hero__title {
    font-size: 1.35rem;
  }
}


/* ────────────────────────────────────────────────────────────────
   2. COURSE TOP CARD  (.dm-top-card)
   ──────────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .cp-body {
    padding: 28px 0 36px;
  }

  .cp-content {
    padding: 0;
  }

  .dm-top-card {
    border-radius: 12px;
    margin-bottom: 24px;
  }

  /* Stack image above info */
  .dm-top-card__body {
    flex-direction: column;
  }

  .dm-top-card__img-col {
    flex: none;
    width: 100%;
    min-height: 180px;
    max-height: 220px;
  }

  .dm-top-card__img {
    height: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
  }

  .dm-top-card__badge {
    top: 10px;
    left: 10px;
    font-size: 0.68rem;
    padding: 5px 10px;
  }

  .dm-top-card__info {
    padding: 16px 16px 20px;
  }

  .dm-top-card__eyebrow {
    font-size: 0.7rem;
  }

  .dm-top-card__title {
    font-size: 1.25rem;
    margin-bottom: 10px;
  }

  .dm-top-card__rating {
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 12px;
  }

  .dm-top-card__enrolled {
    width: 100%;
    font-size: 0.75rem;
  }

  .dm-top-card__desc {
    font-size: 0.87rem;
    margin-bottom: 14px;
  }

  /* Feature list — single column */
  .dm-top-card__features {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-bottom: 14px;
  }

  .dm-top-card__tools {
    margin-bottom: 14px;
  }

  .dm-top-card__tool-label {
    margin-bottom: 8px;
    font-size: 0.78rem;
  }

  .dm-top-card__tags span {
    font-size: 0.72rem;
    padding: 4px 10px;
  }

  /* Batch info — wrap into 2 columns */
  .dm-top-card__batch {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
  }

  .dm-top-card__batch-item {
    flex: 0 0 calc(50% - 5px);
    font-size: 0.8rem;
  }

  /* CTA buttons layout on mobile */
  .dm-top-card__info > div[style] {
    flex-direction: row !important; /* Keep row wrap behavior */
    gap: 8px !important;
  }

  .dm-top-card__cta {
    width: calc(50% - 4px); /* First two buttons side-by-side */
    justify-content: center;
    font-size: 0.78rem;
    padding: 10px 10px;
  }

  /* Make WhatsApp full width below the other two */
  .dm-top-card__cta--whatsapp {
    width: 100%;
    margin-top: 2px;
  }

  /* Stats bar — 2x2 grid */
  .dm-top-card__stats {
    flex-wrap: wrap;
    padding: 14px 12px;
    gap: 10px;
  }

  .dm-stat-item {
    flex: 0 0 calc(50% - 5px);
    border-bottom: none;
    padding: 8px 10px;
  }
}

@media (max-width: 480px) {
  .dm-top-card__batch-item {
    flex: 0 0 100%;
  }

  .dm-stat-item {
    flex: 0 0 calc(50% - 5px);
  }

  .dm-top-card__title {
    font-size: 1.15rem;
  }
}


/* ────────────────────────────────────────────────────────────────
   3. CURRICULUM SECTION  (.cp-curriculum-section)
   ──────────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .cp-curriculum-section {
    padding: 40px 0 36px;
  }

  .cp-curriculum__head h3 {
    font-size: 1.5rem;
  }

  .cp-curriculum__head p {
    font-size: 0.88rem;
  }

  /* Stats bar — scrollable row */
  .cp-curriculum__stats {
    padding: 12px 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    margin-bottom: 20px;
  }

  .cp-curriculum__stat strong {
    font-size: 1.2rem;
  }

  .cp-curriculum__stat span {
    font-size: 0.64rem;
  }

  /* Module header tighter */
  .cp-module__header {
    padding: 12px 12px;
    gap: 8px;
  }

  .cp-module__num {
    width: 32px;
    height: 32px;
    font-size: 0.72rem;
  }

  .cp-module__title {
    font-size: 0.88rem;
    white-space: normal;
    word-break: break-word;
  }

  .cp-module__badge {
    display: none;
  }

  .cp-module__toggle {
    width: 26px;
    height: 26px;
  }

  /* Topic list single column */
  .cp-topic-list {
    grid-template-columns: 1fr;
    padding: 12px 14px 16px;
  }

  .cp-topic-list li {
    font-size: 0.82rem;
    padding: 6px 0 6px 24px;
  }
}

@media (max-width: 480px) {
  .cp-curriculum-section {
    padding: 32px 0 28px;
  }

  .cp-curriculum__head h3 {
    font-size: 1.3rem;
  }
}


/* ────────────────────────────────────────────────────────────────
   4. KEY HIGHLIGHTS  (.cp-benefits-fw)
   ──────────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .cp-benefits-fw {
    padding: 44px 0 36px;
  }

  .cp-benefits-fw__head {
    margin-bottom: 28px;
  }

  .cp-benefits-fw__title {
    font-size: 1.4rem;
  }

  .cp-benefits-fw__sub {
    font-size: 0.88rem;
  }

  /* 2-column grid on mobile */
  .cp-benefits-fw__grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .cp-benefit-item {
    padding: 20px 14px;
  }

  .cp-benefit-item__icon {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
    margin-bottom: 12px;
  }

  .cp-benefit-item h5 {
    font-size: 0.88rem;
  }

  .cp-benefit-item p {
    font-size: 0.78rem;
  }
}

@media (max-width: 420px) {
  .cp-benefits-fw__grid {
    grid-template-columns: 1fr;
  }
}


/* ────────────────────────────────────────────────────────────────
   5. RELATED COURSES SLIDER  (.cp-related-fw)
   ──────────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .cp-related-fw {
    padding: 36px 0 28px;
  }

  .cp-related-fw__head {
    margin-bottom: 20px;
  }

  .cp-related-fw__head h3 {
    font-size: 1.25rem;
  }

  /* Slider track: no horizontal overflow padding on mobile */
  .cp-related-slider-track {
    padding: 8px 2px;
    margin: -8px -2px;
  }

  /* Slider container — full width */
  .cp-related-slider {
    gap: 12px;
  }

  /* One card fills the full visible width */
  .cp-related-card {
    flex: 0 0 calc(100% - 0px);
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }



  .cp-related-card__body {
    padding: 14px 16px 16px;
  }

  .cp-related-card__body h4 {
    font-size: 0.92rem;
  }

  .cp-related-card__body p {
    font-size: 0.8rem;
  }

  /* Navigation buttons — smaller on mobile */
  .cp-slider-btn {
    width: 32px;
    height: 32px;
    font-size: 0.78rem;
  }
}


/* ────────────────────────────────────────────────────────────────
   6. DM ENROLL MODAL  (.dm-enroll)
   ──────────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .dm-enroll__dialog {
    max-width: 94vw;
    margin: 20px auto;
  }

  /* Stack left panel on top of form on mobile */
  .dm-enroll__content {
    flex-direction: column !important;
  }

  .dm-enroll__left {
    padding: 24px 20px 20px;
    min-height: auto;
  }

  .dm-enroll__left-img-wrap {
    display: none;
  }

  .dm-enroll__course-title {
    font-size: 1.1rem;
  }

  .dm-enroll__tagline {
    font-size: 0.82rem;
  }

  .dm-enroll__stats {
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.78rem;
  }

  .dm-enroll__right {
    padding: 20px;
  }

  .dm-enroll__form-title {
    font-size: 1.1rem;
  }

  .dm-enroll__form-sub {
    font-size: 0.82rem;
  }

  .dm-enroll__field input {
    font-size: 0.9rem;
    padding: 11px 14px;
  }

  .dm-enroll__submit {
    font-size: 0.9rem;
    padding: 13px;
  }
}


/* ────────────────────────────────────────────────────────────────
   7. SEO SECTION  (.dm-seo-section)
   ──────────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .dm-seo-section {
    padding: 44px 0 36px;
  }

  .dm-seo-title {
    font-size: 1.45rem;
  }

  .dm-seo-subtitle {
    font-size: 0.88rem;
  }

  /* Primary block — stack */
  .dm-seo-primary-block {
    padding: 22px 18px;
    border-radius: 14px;
    margin-bottom: 32px;
  }

  .dm-seo-primary-inner {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }

  .dm-seo-primary-icon {
    width: 54px;
    height: 54px;
    font-size: 1.4rem;
    border-radius: 14px;
  }

  .dm-seo-primary-text h3 {
    font-size: 1.15rem;
  }

  .dm-seo-primary-text p {
    font-size: 0.85rem;
  }

  .dm-seo-primary-cta {
    width: 100%;
    justify-content: center;
    padding: 11px 18px;
    font-size: 0.85rem;
  }

  /* Location grid — 2 columns */
  .dm-seo-locations-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 28px;
  }

  .dm-seo-loc-card {
    padding: 16px 14px 14px;
  }

  .dm-seo-loc-card h4 {
    font-size: 0.82rem;
  }

  .dm-seo-loc-card p {
    font-size: 0.76rem;
  }

  /* Keyword cloud */
  .dm-seo-keywords-block {
    padding: 20px 16px;
    border-radius: 14px;
    margin-bottom: 28px;
  }

  .dm-seo-kw-title {
    font-size: 0.92rem;
    margin-bottom: 14px;
  }

  .dm-seo-kw-cloud a {
    font-size: 0.74rem;
    padding: 6px 12px;
  }

  /* Description block */
  .dm-seo-desc-block {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .dm-seo-desc-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .dm-seo-locations-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .dm-seo-loc-card {
    padding: 14px 12px 12px;
  }

  .dm-seo-title {
    font-size: 1.25rem;
  }
}

@media (max-width: 380px) {
  .dm-seo-locations-grid {
    grid-template-columns: 1fr;
  }
}


/* ────────────────────────────────────────────────────────────────
   8. COURSES TICKER  (.dm-courses-ticker-wrap)
   ──────────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  .dm-courses-ticker-wrap {
    padding: 20px 0 16px;
    border-radius: 12px;
    margin-top: 24px;
  }

  .dm-courses-ticker-label {
    font-size: 0.68rem;
    letter-spacing: 1.4px;
    margin-bottom: 14px;
  }

  .dm-ct-pill {
    font-size: 0.76rem;
    padding: 7px 15px;
    gap: 6px;
  }

  .dm-courses-ticker__row + .dm-courses-ticker__row {
    margin-top: 8px;
  }
}

@media (max-width: 480px) {
  .dm-ct-pill {
    font-size: 0.72rem;
    padding: 6px 12px;
  }
}


/* ────────────────────────────────────────────────────────────────
   9. MISC / GLOBAL TWEAKS
   ──────────────────────────────────────────────────────────────── */
@media (max-width: 767px) {
  /* Ensure containers don't overflow */
  .dm-seo-section .container,
  .cp-curriculum-section .container,
  .cp-benefits-fw .container,
  .cp-related-fw .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Floating CTA card in curriculum — show below accordions */
  .cp-curric-cta-card {
    display: block;
    margin-top: 24px;
    border-radius: 14px;
    padding: 20px 16px;
  }

  .cp-curric-cta-btn {
    font-size: 0.85rem;
    padding: 12px 18px;
  }

  /* Module hover effect less aggressive on touch */
  .cp-module:hover {
    transform: none;
  }
}

