/* ============================================================
   Dream MS — Home page additive styles
   Layered on top of the TheEvent template's assets/css/style.css
   ============================================================ */

:root {
  --dms-navy-900: #0e1b4d;
  --dms-navy-700: #1d2f6b;
  --dms-ink:      #100e17;
  --dms-accent:   #f82249;
  --dms-accent-2: #ff5b7b;
  --dms-paper:    #ffffff;
  --dms-paper-2:  #f7f8fc;
  --dms-muted:    #6b7280;
  --dms-border:   rgba(14, 27, 77, 0.10);
  --dms-shadow:   0 18px 38px -18px rgba(14, 27, 77, 0.35);
  --dms-radius:   14px;
}

/* Bootstrap 3 float utilities that the template's header markup relies on.
   FA4 used to provide these; removed when we switched to FA6, so the #logo
   div lost its `float: left` and the nav dropped below it. */
.pull-left  { float: left  !important; }
.pull-right { float: right !important; }

/* Hero — template ships 45vh which leaves dead air below the Download button
   on tall monitors. Shrink to fit content with comfortable breathing room.
   .intro-container is absolutely positioned and flex-centers its content, but
   it spans the full #intro INCLUDING the area covered by the fixed 90px header,
   which makes centering look bottom-heavy. Offset the container down by the
   header height so content centers in the actually-visible area. */
#intro {
  height: auto;
  min-height: 520px;
  padding: 0;
  background-image: url(../../images/bg.jpg);
  background-position: bottom center;
}

#intro::before { background-color: rgba(6, 12, 34, 0.5); }

#intro .intro-container {
  top: 90px;
}

@media (max-width: 991px) {
  #intro .intro-container { top: 70px; }
}

/* Download button — promote from outline to primary filled CTA so it reads as
   the most important action in the hero (was visually outranked by the filled
   Login button in the nav). */
#intro .about-btn {
  background: linear-gradient(135deg, var(--dms-accent), var(--dms-accent-2));
  border-color: transparent;
  padding: 14px 38px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 12px 28px -10px rgba(248, 34, 73, 0.55),
              0 0 0 0 rgba(248, 34, 73, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 200ms ease, box-shadow 200ms ease, filter 200ms ease;
}

#intro .about-btn i {
  font-size: 16px;
  line-height: 1;
}

#intro .about-btn:hover,
#intro .about-btn:focus {
  background: linear-gradient(135deg, var(--dms-accent-2), var(--dms-accent));
  color: #fff;
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 18px 36px -10px rgba(248, 34, 73, 0.65),
              0 0 0 6px rgba(248, 34, 73, 0.15);
}

#intro .about-btn:active {
  transform: translateY(0);
}

/* ----------------------------------------------------------------
   Installation Guide / Download mirrors modal
   ---------------------------------------------------------------- */

.dms-modal .modal-dialog { max-width: 560px; margin: 8vh auto; }
.dms-modal .modal-content { max-height: none; overflow: visible; }
.dms-modal .modal-body { max-height: none; overflow: visible; }

.dms-modal__content {
  border: 0 !important;
  border-radius: var(--dms-radius);
  box-shadow: 0 40px 80px -20px rgba(14, 27, 77, 0.55),
              0 0 0 1px var(--dms-border);
  overflow: hidden;
  background: var(--dms-paper);
}

.dms-modal__header {
  padding: 18px 24px;
  background: linear-gradient(135deg, var(--dms-navy-900), var(--dms-navy-700));
  color: #fff;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.dms-modal__header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(248, 34, 73, 0.28), transparent 60%);
  pointer-events: none;
}

.dms-modal__heading {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.dms-modal__icon {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  --fa-secondary-color: var(--dms-accent);
  --fa-secondary-opacity: 0.9;
  font-size: 20px;
}

.dms-modal__title {
  font-family: 'Raleway', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin: 0;
  line-height: 1.15;
}

.dms-modal__close {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 13px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 180ms ease, transform 180ms ease;
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  opacity: 1;
}

.dms-modal__close:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: rotate(90deg);
  color: #fff;
}

.dms-modal__body {
  padding: 18px 20px 20px;
  background: var(--dms-paper);
}

/* Steps */
.dms-steps {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.dms-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--dms-paper-2);
  border: 1px solid var(--dms-border);
  border-radius: var(--dms-radius);
  transition: border-color 180ms ease;
}

/* If a step contains a nested list (the runtimes step), align icon + number
   to the top so they sit beside the heading line rather than floating into
   the middle of the bullet stack. */
.dms-step:has(.dms-step__list) { align-items: flex-start; }
.dms-step:has(.dms-step__list) .dms-step__body { align-items: flex-start; }

.dms-step:hover { border-color: rgba(248, 34, 73, 0.35); }

.dms-step__num {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dms-accent), var(--dms-accent-2));
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  /* Optical centering — Raleway digits sit ~1.5px below the line-box center
     because there are no descenders pulling the visual mass downward. */
  padding-bottom: 2px;
  box-shadow: 0 4px 10px -4px rgba(248, 34, 73, 0.5);
}

.dms-step__body {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  line-height: 1.45;
  color: #1a1f36;
  min-width: 0;
  text-align: left;
}

.dms-step__icon {
  font-size: 18px;
  color: var(--dms-navy-700);
  --fa-secondary-color: var(--dms-accent);
  --fa-secondary-opacity: 0.35;
  flex: 0 0 18px;
}

.dms-step strong { color: var(--dms-navy-900); font-weight: 700; }
.dms-step a { color: var(--dms-accent); font-weight: 600; text-decoration: none; }
.dms-step a:hover { color: var(--dms-accent-2); text-decoration: underline; }

/* Nested list inside a step (used for the runtime prerequisites) */
.dms-step__list {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: grid;
  gap: 3px;
  font-size: 12.5px;
}

.dms-step__list li {
  position: relative;
  padding-left: 14px;
  line-height: 1.5;
}

.dms-step__list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 9px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--dms-accent);
}

.dms-step__list span {
  color: var(--dms-muted);
  font-weight: 400;
}

/* Tip callout — sits between the steps and the mirror buttons */
.dms-tip {
  padding: 12px 16px;
  margin: 0 0 16px;
  background: #fff8e6;
  border: 1px solid rgba(234, 161, 30, 0.32);
  border-radius: var(--dms-radius);
  font-size: 13px;
  line-height: 1.55;
  color: #3a2a14;
  text-align: center;
}

.dms-tip strong { color: var(--dms-navy-900); font-weight: 700; }

/* Mirror buttons — two big peer CTAs */
.dms-mirrors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 480px) {
  .dms-mirrors { grid-template-columns: 1fr; }
}

.dms-mirror {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--dms-accent), var(--dms-accent-2));
  border-radius: var(--dms-radius);
  color: #fff !important;
  text-decoration: none !important;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  box-shadow: 0 8px 18px -8px rgba(248, 34, 73, 0.5);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.dms-mirror:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 14px 28px -8px rgba(248, 34, 73, 0.6);
  color: #fff !important;
}

.dms-mirror__icon {
  font-size: 22px;
  flex: 0 0 22px;
}

.dms-mirror__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  min-width: 0;
}

.dms-mirror__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}

.dms-mirror__name {
  font-size: 15px;
  font-weight: 700;
  margin-top: 2px;
}

.dms-mirror__arrow {
  font-size: 13px;
  opacity: 0.8;
  transition: transform 180ms ease;
}

.dms-mirror:hover .dms-mirror__arrow {
  transform: translateX(4px);
  opacity: 1;
}

#intro .intro-container img.intro-logo {
  width: clamp(220px, 32%, 360px);
  height: auto;
}

/* ----------------------------------------------------------------
   About section — restructured stat dashboard
   ---------------------------------------------------------------- */

#about h2 {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  margin-bottom: 16px;
  /* color inherited from template (#fff) — the About background overlay is dark */
}

#about p { line-height: 1.7; }

/* Featured stat: live online players + server time */
.stat-featured {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--dms-navy-900), var(--dms-navy-700));
  color: #fff;
  border-radius: var(--dms-radius);
  box-shadow: var(--dms-shadow);
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}

.stat-featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(248, 34, 73, 0.25), transparent 60%);
  pointer-events: none;
}

.stat-featured > * { position: relative; z-index: 1; }

.stat-pulse {
  flex: 0 0 12px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: dms-pulse 2s infinite;
}

@keyframes dms-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
  70%  { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.stat-featured__value {
  font-family: 'Raleway', sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  /* Force same-height digits — Raleway otherwise renders 6/8/9 with an
     ascender that sits higher than 1/2/4/5, making counts like "546"
     look uneven. */
  font-variant-numeric: lining-nums tabular-nums;
}

.stat-featured__label {
  font-size: 13px;
  opacity: 0.8;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 4px;
}

.stat-featured__time {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  text-align: right;
  opacity: 0.92;
}

.stat-featured__time i { font-size: 18px; opacity: 0.7; }
.stat-featured__time small {
  display: block;
  font-size: 11px;
  opacity: 0.75;
  margin-top: 2px;
}

/* Rate cards grid */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 640px) {
  .stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat-featured { flex-wrap: wrap; }
  .stat-featured__time { margin-left: 0; text-align: left; }
}

.stat-card {
  background: var(--dms-paper);
  border: 1px solid var(--dms-border);
  border-radius: var(--dms-radius);
  padding: 14px 8px;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--dms-shadow);
  border-color: var(--dms-accent);
}

.stat-card i {
  font-size: 22px;
  margin-bottom: 8px;
  --fa-secondary-opacity: 0.5;
}

/* Per-card duotone palettes — order matches .stat-grid children in about.inc.php */
.stat-card:nth-child(1) i { /* bolt — EXP */
  color: #0ea5e9;
  --fa-secondary-color: #7dd3fc;
}
.stat-card:nth-child(2) i { /* sack-dollar — Mesos */
  color: #b45309;
  --fa-secondary-color: #fbbf24;
}
.stat-card:nth-child(3) i { /* gift — Drops */
  color: #ec4899;
  --fa-secondary-color: #f9a8d4;
}
.stat-card:nth-child(4) i { /* lightbulb — Quests */
  color: #eab308;
  --fa-secondary-color: #f97316;
}
.stat-card:nth-child(5) i { /* gamepad — Version */
  color: #8b5cf6;
  --fa-secondary-color: #c4b5fd;
}

.stat-card__value {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--dms-navy-900);
  line-height: 1;
}

.stat-card__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dms-muted);
  margin-top: 4px;
}

/* ----------------------------------------------------------------
   Rankings — subtle interaction polish on the existing icon grid
   (no markup changes; targets the current .col-2 wrappers)
   ---------------------------------------------------------------- */

#speakers .row > [class*="col-"] > a {
  display: inline-block;
  padding: 6px;
  border-radius: 10px;
  transition: background 180ms ease, transform 180ms ease;
}

#speakers .row > [class*="col-"] > a:hover {
  background: rgba(248, 34, 73, 0.08);
  transform: translateY(-2px);
}

/* Filter subtitle — "Showing <Warriors>" between the h2 and the icon grid.
   Overrides .section-header p which is centered/muted but oversized for this. */
#speakers .ranking-filter-subtitle {
  font-size: 14px;
  font-weight: 500;
  color: var(--dms-muted);
  margin: 6px 0 18px;
  letter-spacing: 0.02em;
}

#speakers .ranking-filter-subtitle strong {
  color: var(--dms-navy-900);
  font-weight: 700;
  letter-spacing: 0;
}

/* Card lift on hover — pairs with the existing .details slide-up to make the
   whole card feel responsive before you mouse to the bottom strip. */
#speakers .speaker {
  transition: transform 240ms cubic-bezier(0.645, 0.045, 0.355, 1),
              box-shadow 240ms cubic-bezier(0.645, 0.045, 0.355, 1);
  will-change: transform;
}

#speakers .speaker:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -12px rgba(14, 27, 77, 0.45);
}

/* Pagination footer — "Showing X–Y of Z" + numbered nav. */
.ranking-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.ranking-meta {
  font-size: 13px;
  color: var(--dms-muted);
  font-variant-numeric: tabular-nums;
}

.ranking-meta strong {
  color: var(--dms-navy-900);
  font-weight: 700;
}

.ranking-pagination {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.ranking-pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  background: var(--dms-paper);
  border: 1px solid var(--dms-border);
  color: var(--dms-navy-900);
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease,
              box-shadow 160ms ease, border-color 160ms ease;
}

.ranking-pagination .page-link:hover,
.ranking-pagination .page-link:focus {
  background: rgba(248, 34, 73, 0.08);
  border-color: rgba(248, 34, 73, 0.35);
  color: var(--dms-accent);
  transform: translateY(-1px);
  outline: none;
}

.ranking-pagination .page-link.active {
  background: linear-gradient(135deg, var(--dms-accent), var(--dms-accent-2));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 14px -6px rgba(248, 34, 73, 0.55);
  cursor: default;
}

.ranking-pagination .page-link.active:hover,
.ranking-pagination .page-link.active:focus {
  transform: none;
  color: #fff;
}

.ranking-pagination .page-link.disabled {
  opacity: 0.4;
  pointer-events: none;
}

.ranking-pagination .page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 38px;
  color: var(--dms-muted);
  font-weight: 700;
  letter-spacing: 0.08em;
  user-select: none;
}

@media (max-width: 480px) {
  .ranking-pagination .page-link.prev .page-link__label,
  .ranking-pagination .page-link.next .page-link__label {
    display: none;
  }
  .ranking-pagination .page-link.prev,
  .ranking-pagination .page-link.next {
    padding: 0 10px;
  }
}

/* ----------------------------------------------------------------
   In-game megaphones (smega) feed
   ---------------------------------------------------------------- */

#smega { padding: 40px 0; }

.smega {
  background: var(--dms-paper);
  border-radius: var(--dms-radius);
  box-shadow: var(--dms-shadow);
  overflow: hidden;
  border: 1px solid var(--dms-border);
}

.smega__header {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--dms-navy-900), var(--dms-navy-700));
  color: #fff;
}

.smega__title {
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.02em;
  line-height: 1;
}

.smega__title i {
  font-size: 20px;
  color: var(--dms-accent);
  --fa-secondary-color: #ffffff;
  --fa-secondary-opacity: 0.55;
}

.smega__controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.smega__autoscroll {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  user-select: none;
}

.smega__autoscroll input {
  width: 14px;
  height: 14px;
  margin: 0;
  vertical-align: middle;
  accent-color: var(--dms-accent);
  cursor: pointer;
}

.smega__feed {
  height: 400px;
  overflow-y: auto;
  padding: 8px 16px;
  background: var(--dms-paper-2);
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  scrollbar-width: thin;
  scrollbar-color: rgba(14, 27, 77, 0.25) transparent;
}

.smega__feed::-webkit-scrollbar { width: 8px; }
.smega__feed::-webkit-scrollbar-track { background: transparent; }
.smega__feed::-webkit-scrollbar-thumb {
  background: rgba(14, 27, 77, 0.2);
  border-radius: 4px;
}
.smega__feed::-webkit-scrollbar-thumb:hover { background: rgba(14, 27, 77, 0.4); }

.smega__empty {
  text-align: center;
  color: var(--dms-muted);
  padding: 60px 16px;
  font-size: 13px;
}

.smega-msg {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 4px;
  border-bottom: 1px solid var(--dms-border);
  animation: smegaFade 280ms ease;
}

.smega-msg:last-child { border-bottom: 0; }

@keyframes smegaFade {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.smega-msg__channel {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--dms-navy-700);
  white-space: nowrap;
}

.smega-msg__body {
  flex: 1;
  min-width: 0;
  line-height: 1.5;
  color: #1a1f36;
  word-break: break-word;
}

.smega-msg__time {
  font-size: 11px;
  color: var(--dms-muted);
  margin-right: 8px;
  font-variant-numeric: tabular-nums;
}

.smega-msg__ign {
  font-weight: 700;
  color: var(--dms-navy-900);
}

a.smega-msg__ign {
  text-decoration: none;
}

a.smega-msg__ign:hover {
  text-decoration: underline;
  color: var(--dms-red, #f82249);
}

.smega-msg__text {
  color: #1a1f36;
}

@media (max-width: 640px) {
  .smega__header { padding: 12px 14px; }
  .smega__controls { gap: 10px; }
  .smega__feed { padding: 6px 12px; }
  .smega-msg { gap: 8px; }
}

/* ----------------------------------------------------------------
   Features carousel — modernize the prev/next arrows
   ---------------------------------------------------------------- */

.carousel-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(14, 27, 77, 0.75);
  color: #fff;
  font-size: 16px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.carousel-control-prev:hover .carousel-arrow,
.carousel-control-next:hover .carousel-arrow,
.carousel-control-prev:focus .carousel-arrow,
.carousel-control-next:focus .carousel-arrow {
  background: var(--dms-accent);
  transform: scale(1.05);
  box-shadow: 0 8px 20px -6px rgba(248, 34, 73, 0.55);
}

#myCarousel .carousel-control-prev,
#myCarousel .carousel-control-next {
  opacity: 1;
}

/* Stabilize slide height so the arrows don't jump between videos.
   Forces every video to 16:9, cropping with object-fit if a clip
   has a different intrinsic aspect ratio. */
#myCarousel .lazy-video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
  display: block;
}

/* Per-slide title was wearing the same .section-header treatment as the
   page-level FEATURES h2 (matching red underline, similar size), so it read
   as a sub-section. Strip the underline and recast it as a caption. */
#myCarousel .carousel-item .section-header { padding-bottom: 0; margin-bottom: 6px; }
#myCarousel .carousel-item .section-header::before { display: none; }
#myCarousel .carousel-item .section-header h3 {
  min-height: 2.4em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--dms-muted);
  text-transform: none;
  letter-spacing: 0.04em;
}

/* Eyebrow label above the carousel — signals "showcase block" so the
   per-slide titles read as items-within-something. */
.features__eyebrow {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dms-muted);
  margin: 0 0 14px;
}

/* Tighten the FEATURES intro paragraph so it reads as a subtitle under
   the h2 rather than a floating standalone line. */
#features .section-header { margin-bottom: 28px; }
#features .section-header p { font-size: 14px; margin-top: 8px; }

/* Breathing room between the carousel and the card grid below. */
#showcase { margin-bottom: 56px; }

/* ----------------------------------------------------------------
   Features grid — give the icon row breathing room above
   ---------------------------------------------------------------- */

/* Duotone icons overshoot the text baseline; Bootstrap's default 0.75rem
   top padding isn't enough to keep them off the card border. */
#card-container .card-header {
  padding-top: 1.25rem;
}
