/* ============================
TRANSPARENT THEME — editable color layer
============================ */
.tdm-theme {
  /* core text colors */
  --tdm-text: #ffffff;
  /* main text */
  --tdm-muted: #cccccc;
  /* subtle / secondary text */
  --tdm-accent: #e8aa56;
  /* gold highlight */
  --tdm-badge-text: #000000;
  /* text on gold badge */
  --tdm-link: #2f6fff;
  /* links/buttons (blue accent) */

  /* transparency & border control */
  --tdm-transparent: transparent;
  --tdm-border: rgba(255, 255, 255, 0.1);
  --tdm-shadow: none;
}

/* ============================================
OVERRIDES: Remove all backgrounds / dark fills
============================================ */
.tdm-hero,
.tdm-hero-media,
.tdm-stats,
.tdm-syllabus,
.tdm-extra,
.tdm-book,
.tdm-container,
.tdm-card,
.tdm-stat-card,
.tdm-book-panel,
.tdm-accordion-item,
.tdm-acc-panel,
.tdm-metric,
.tdm-metric--circle,
.tdm-metrics,
.tdm-grid-2,
.tdm-hero-row {
  background: var(--tdm-transparent) !important;
  box-shadow: var(--tdm-shadow) !important;
  border: none !important;
}

/* ============================================
TEXT COLORS
============================================ */
.tdm-title,
.tdm-section-title,
.tdm-center-title,
.tdm-card-title,
.tdm-book-title,
.tdm-badge,
.tdm-lead,
.tdm-acc-btn,
.tdm-acc-panel,
.tdm-media-caption,
.tdm-stat-label,
.tdm-metric-text,
.tdm-book-sub {
  color: var(--tdm-text) !important;
}

.tdm-muted,
.tdm-subtext,
.tdm-stat-label {
  color: var(--tdm-muted) !important;
}

/* ============================================
ACCENTS & BUTTONS
============================================ */
.tdm-badge {
  background: linear-gradient(90deg, #f3e3c3, #e8aa56);
  color: var(--tdm-badge-text);
  box-shadow: none !important;
}

.tdm-cta,
.tdm-btn,
.tdm-download {
  background: linear-gradient(90deg, #f3e3c3, #e8aa56);
  color: var(--tdm-badge-text);
  border: none;
  box-shadow: none;
}

.tdm-cta:hover,
.tdm-btn:hover,
.tdm-download:hover {
  opacity: 0.85;
  transform: translateY(-1px);
  transition: all 0.25s ease;
}

/* ============================================
BORDERS & INPUTS
============================================ */
.tdm-input,
.tdm-phone {
  background: var(--tdm-transparent) !important;
  border: 1px solid var(--tdm-border) !important;
  color: var(--tdm-text) !important;
  box-shadow: none !important;
}

.tdm-input::placeholder,
.tdm-phone::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}

/* ============================================
SVG / ICONS / CIRCLES
============================================ */
.tdm-circle-bg {
  stroke: rgba(255, 255, 255, 0.1) !important;
}

.tdm-circle-fg {
  stroke: var(--tdm-accent) !important;
}

.tdm-circle-value {
  color: var(--tdm-text) !important;
}

/* ============================================
Remove overlays, shadows, and masks
============================================ */
.tdm-hero-media::after,
.tdm-mask,
.tdm-hero-overlay {
  display: none !important;
  background: none !important;
  box-shadow: none !important;
}

/* ============================================
Focus & Accessibility
============================================ */
.tdm-acc-btn:focus,
.tdm-btn:focus,
.tdm-cta:focus {
  outline: 2px solid var(--tdm-accent);
  outline-offset: 3px;
}

/* ============================================
Utility — apply transparent theme globally
============================================ */
.tdm-container * {
  background: transparent !important;
  box-shadow: none !important;
}

/* thedalemun.css
Full, class-only stylesheet with hero layout fixes and mobile patches.
Color palette inspired by Spirezen (dark accents + gold)
Container width: clamp(320px, 90vw, 1100px)
*/

/* ============================
Container sizing — class-only
============================ */
.tdm-container {
  box-sizing: border-box;
  width: 90%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  padding-inline: clamp(12px, 3.5vw, 20px);
}

/* ============================
FIXED HERO LAYOUT (side-by-side)
============================ */
.tdm-hero {
  padding-block: 60px;
  background: #0a0a0a;
  color: #fff;
}

.tdm-hero-row {
  display: flex;
  flex-wrap: nowrap;
  /* stay side-by-side on desktops */
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  width: 90%;
  max-width: none;
  margin: 0 auto;
}

/* ---------- LEFT TEXT COLUMN ---------- */
.tdm-hero-left {
  flex: 1 1 50%;
  min-width: 320px;
}

.tdm-badge {
  display: inline-block;
  background: linear-gradient(90deg, #f3e3c3, #eec063);
  color: #08121a;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 50px;
}

.tdm-title {
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 800;
  margin: 20px 0 10px;
  line-height: 1.1;
  color: #fff;
}

.tdm-accent {
  color: #e8aa56;
  font-weight: 900;
  text-transform: lowercase;
}

.tdm-lead {
  font-size: 16px;
  color: #d0d0d0;
  margin-bottom: 18px;
  max-width: 520px;
}

.tdm-features {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
}

.tdm-features li {
  position: relative;
  padding-left: 28px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #fff;
}

.tdm-features li::before {
  content: "✔";
  color: #e8aa56;
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 900;
}

.tdm-cta {
  display: inline-block;
  background: linear-gradient(90deg, #f3e3c3, #e8aa56);
  color: #08121a;
  padding: 12px 22px;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(232, 170, 86, 0.3);
}

/* ---------- RIGHT MEDIA COLUMN ---------- */
.tdm-hero-media {
  flex: 0 0 420px;
  max-width: 420px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4);
  background: #000;
  width: 100%;
  height: auto;
}

.tdm-hero-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  filter: none;
}

/* Optional mask + corrected label flow (use the .tdm-overlay-mask class on figure) */
.tdm-hero-media.tdm-overlay-mask {
  position: relative;
  overflow: visible;
}

.tdm-mask {
  position: absolute;
  top: 8%;
  left: 18%;
  width: 64%;
  height: 14%;
  background: rgba(0, 0, 0, 0.85);
  border-radius: 8px;
  z-index: 6;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.tdm-overlay-text {
  position: absolute;
  top: calc(8% + 4px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 900;
  font-size: 16px;
  color: #fff;
  z-index: 7;
  pointer-events: none;
}

/* ============================
STATS
============================ */
.tdm-stats {
  padding-block: 36px 18px;
  background: transparent;
}

.tdm-center-title {
  text-align: center;
  font-size: 28px;
  margin: 0 0 18px;
  color: #ffffff;
  font-weight: 800;
}

/* Top numeric cards */
.tdm-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 20px;
}

.tdm-stat-card {
  background: linear-gradient(180deg, #0b0b0b, #0f0f0f);
  padding: 18px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6);
}

.tdm-stat-num {
  font-size: 28px;
  color: #e8aa56;
  font-weight: 800;
  transition: transform 240ms ease;
}

.tdm-stat-label {
  color: #d6d6d6;
  margin-top: 6px;
  font-weight: 600;
}

/* metric ring row */
.tdm-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 14px;
  align-items: center;
}

.tdm-metric {
  background: linear-gradient(180deg, #0b0b0b, #0f0f0f);
  padding: 14px 16px;
  border-radius: 8px;
  display: flex;
  gap: 14px;
  align-items: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
}

.tdm-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(180deg, #7ed37a, #1fa34a);
}

/* Circle metric specifics (SVG) */
.tdm-metric--circle {
  display: flex;
  gap: 12px;
  align-items: center;
  background: linear-gradient(180deg, #0b0b0b, #0f0f0f);
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
}

.tdm-circle {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  display: block;
}

.tdm-circle-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 10;
}

.tdm-circle-fg {
  fill: none;
  stroke: #e8aa56;
  stroke-width: 10;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  transition: stroke-dashoffset 1200ms cubic-bezier(.2, .9, .2, 1);
  stroke-linecap: round;
}

.tdm-circle-value {
  font-weight: 800;
  color: #fff;
  font-size: 18px;
}

.tdm-metric-text {
  color: #d6d6d6;
  font-size: 14px;
  line-height: 1.2;
}

/* ============================
SYLLABUS / ACCORDION
============================ */
.tdm-syllabus {
  padding-block: 32px 42px;
  background: transparent;
}

.tdm-section-title {
  font-size: 28px;
  margin: 0 0 18px;
  color: #ffffff;
  font-weight: 800;
}

.tdm-accordion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.tdm-accordion-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tdm-accordion-item {
  background: linear-gradient(180deg, #0b0b0b, #0f0f0f);
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6);
  overflow: visible;
}

.tdm-acc-btn {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  border: none;
  background: transparent;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  border-radius: 6px;
}

.tdm-acc-icon {
  opacity: .9;
  font-size: 18px;
  transition: transform 240ms ease;
}

/* Accordion panel */
.tdm-acc-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 320ms cubic-bezier(.2, .9, .2, 1), padding 240ms ease;
  padding: 0 20px;
  background: linear-gradient(180deg, #0b0b0b, #0f0f0f);
  color: #d9d9d9;
  font-size: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.tdm-accordion-item.open .tdm-acc-panel {
  padding: 14px 20px 18px;
  max-height: 400px;
  /* enough to show content */
}

/* rotate icon when expanded */
.tdm-acc-btn[aria-expanded="true"] .tdm-acc-icon {
  transform: rotate(180deg);
}

/* download button */
.tdm-download {
  display: inline-block;
  margin-top: 18px;
  background: linear-gradient(90deg, #f3e3c3, #e8aa56);
  color: #08121a;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(232, 170, 86, 0.12);
}

/* ============================
EXTRA / MEDIA
============================ */
.tdm-extra {
  padding-block: 28px 40px;
}

.tdm-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.tdm-card {
  background: linear-gradient(180deg, #0b0b0b, #0f0f0f);
  padding: 18px;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6);
  color: #d6d6d6;
}

.tdm-card-title {
  margin: 0 0 10px;
  font-size: 20px;
  color: #ffffff;
  font-weight: 800;
}

.tdm-media-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}

.tdm-card-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: 8px;
  display: block;
  object-fit: cover;
}

.tdm-media-caption {
  color: #d6d6d6;
  font-weight: 600;
}

/* ============================
BOOK / CTA
============================ */
.tdm-book {
  padding-block: 28px;
}

.tdm-book-panel {
  background: linear-gradient(180deg, #0d1113, #0b0b0b);
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.tdm-book-title {
  margin: 0 0 6px;
  font-size: 20px;
  color: #ffffff;
  font-weight: 800;
}

.tdm-book-sub {
  margin: 0 0 16px;
  color: #d6d6d6;
}

/* form */
.tdm-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.tdm-input {
  flex: 1 1 320px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #0f1112;
  color: #eaeaea;
  min-width: 180px;
  box-sizing: border-box;
}

.tdm-input::placeholder {
  color: rgba(230, 230, 230, 0.5);
}

.tdm-phone {
  flex: 0 0 220px;
  max-width: 320px;
  background: #0f1112;
  color: #eaeaea;
}

.tdm-btn {
  background: linear-gradient(90deg, #2f6fff, #2558e6);
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  border: none;
  font-weight: 800;
  cursor: pointer;
  flex: 0 0 auto;
}

/* ============================
RESPONSIVE
============================ */
/* Keep two-column grids on tablets & landscape iPad while still fitting inside 1100px */
@media (max-width: 1180px) {
  .tdm-hero-row {
    gap: 20px;
  }

  .tdm-hero-media {
    flex: 0 0 clamp(300px, 42%, 420px);
    max-width: 420px;
  }

  .tdm-grid-2 {
    grid-template-columns: 1fr 1fr;
  }

  .tdm-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* tablets & smaller laptops */
@media (max-width: 1024px) {
  .tdm-hero-row {
    align-items: flex-start;
  }

  .tdm-hero-media {
    flex: 0 0 clamp(260px, 40%, 380px);
    width: 100%;
  }

  .tdm-container {
    padding-inline: 18px;
  }
}

/* portrait tablets & large phones: prefer two-column sections to remain 2-up where possible */
@media (max-width: 900px) {
  .tdm-hero-row {
    flex-wrap: nowrap;
    align-items: center;
  }

  .tdm-title {
    font-size: clamp(22px, 6vw, 36px);
  }

  .tdm-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tdm-metrics {
    grid-template-columns: repeat(3, 1fr);
  }

  .tdm-accordion-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tdm-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* phones */
@media (max-width: 700px) {
  .tdm-hero-row {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 12px;
    align-items: flex-start;
  }

  .tdm-hero-left {
    flex: 1 1 1;
    width: 100%;
  }

  .tdm-hero-media {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    max-height: 320px;
    margin-top: 8px;
  }

  .tdm-overlay-text {
    font-size: 13px;
    padding: 8px 10px;
    margin: 10px;
    border-radius: 6px;
  }

  .tdm-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .tdm-metrics {
    grid-template-columns: 1fr;
  }

  .tdm-accordion-grid {
    grid-template-columns: 1fr;
  }

  .tdm-accordion-col {
    gap: 10px;
  }

  .tdm-book-panel {
    padding: 16px;
  }

  .tdm-form {
    flex-direction: column;
    align-items: stretch;
  }

  .tdm-phone {
    width: 100%;
    max-width: 100%;
    flex: 1 1 auto;
  }

  .tdm-btn {
    width: 100%;
  }
}

/* very small phones */
@media (max-width: 420px) {
  .tdm-hero-media {
    flex: 0 0 84px;
    width: 84px;
    height: 84px;
  }

  .tdm-title {
    font-size: 20px;
  }

  .tdm-features li {
    font-size: 14px;
  }

  .tdm-card-img {
    max-width: 100%;
  }

  .tdm-download {
    padding: 10px 12px;
  }
}

/* small / narrow viewports: stack hero and keep image full-width (override earlier if needed) */
@media (max-width: 820px) {
  .tdm-hero-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding-inline: 12px !important;
  }

  .tdm-hero-left {
    order: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .tdm-hero-media {
    order: 2 !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 320px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    margin: 0 auto !important;
    box-shadow: 0 10px 28px rgba(2, 6, 23, 0.14) !important;
  }

  .tdm-hero-img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .tdm-hero-overlay {
    position: absolute !important;
    inset: auto 12px 12px 12px !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: flex-end !important;
    pointer-events: none !important;
    z-index: 3 !important;
    mix-blend-mode: normal !important;
    backdrop-filter: none !important;
  }

  .tdm-overlay-text {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 13px !important;
    padding: 6px 10px !important;
    margin: 0 !important;
    border-radius: 6px !important;
    background: rgba(0, 0, 0, 0.55) !important;
    color: #fff !important;
  }

  .tdm-book-panel {
    padding: 16px !important;
    border-radius: 10px !important;
  }

  .tdm-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    align-items: stretch !important;
  }

  .tdm-input,
  .tdm-phone {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 12px 14px !important;
    height: auto !important;
    min-height: 44px !important;
    margin: 0 !important;
    border-radius: 8px !important;
    background: #0f1112 !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    box-shadow: none !important;
  }

  .tdm-btn {
    width: 100% !important;
    padding: 12px 14px !important;
    min-height: 44px !important;
    border-radius: 8px !important;
    align-self: stretch !important;
  }

  .tdm-card-img {
    width: 100% !important;
    max-height: 260px !important;
    object-fit: cover !important;
    display: block !important;
  }

  .tdm-acc-panel {
    padding-left: 14px !important;
    padding-right: 14px !important;
    font-size: 15px !important;
  }

  .tdm-hero-media *,
  .tdm-book-panel * {
    min-height: 0 !important;
    min-width: 0 !important;
  }
}

/* very small screens: tiny adjustments */
@media (max-width: 420px) {
  .tdm-hero-media {
    max-height: 220px !important;
  }

  .tdm-overlay-text {
    font-size: 12px !important;
    padding: 5px 8px !important;
  }

  .tdm-title {
    font-size: clamp(18px, 6vw, 26px) !important;
    line-height: 1.05 !important;
  }

  .tdm-form {
    gap: 8px !important;
  }

  .tdm-card-img {
    max-height: 200px !important;
  }
}

/* ============================
Hero image + overlay polish (final patch)
Place at the END of your stylesheet
============================ */
.tdm-hero-media {
  width: 100% !important;
  max-width: 720px;
  height: auto !important;
  min-height: 180px;
  border-radius: 12px !important;
  overflow: hidden !important;
  margin-top: 18px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45) !important;
  background: #000;
  position: relative !important;
}

.tdm-hero-img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center center !important;
  filter: none !important;
  -webkit-filter: none !important;
  transform: none !important;
}

.tdm-hero-overlay {
  display: none !important;
}

/* hide original overlay to avoid duplicates */

/* ===============================
Small changes patch — dark-theme fixes
Drop this at the END of thedalemun.css
=============================== */

/* 1) Make section headings readable on dark background */
.tdm-section-title,
.tdm-center-title,
.tdm-card-title,
.tdm-book-title,
.tdm-title {
  color: #ffffff !important;
}

/* 2) Dark cards: convert panels to dark tone so they fit the page */
.tdm-stat-card,
.tdm-card,
.tdm-book-panel,
.tdm-metric--circle,
.tdm-accordion-item,
.tdm-acc-panel {
  background: linear-gradient(180deg, #0b0b0b, #0f0f0f) !important;
  color: #e6e6e6 !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6) !important;
}

/* override text colors inside those cards */
.tdm-card-title,
.tdm-media-caption,
.tdm-metric-text,
.tdm-acc-btn,
.tdm-acc-panel,
.tdm-book-sub,
.tdm-stat-label {
  color: #d6d6d6 !important;
}

/* make the accordion button text and chevron visible on dark background */
.tdm-acc-btn {
  color: #ffffff !important;
  background: transparent !important;
}

/* accordion content backgrounds + borders */
.tdm-acc-panel {
  border-top: 1px solid rgba(255, 255, 255, 0.04) !important;
  color: #d9d9d9 !important;
}

/* 3) Stats number color — pick warm gold for emphasis */
.tdm-stat-num {
  color: #e8aa56 !important;
}

/* 4) Circle graphs: ensure background/foreground colors read on dark */
.tdm-circle-bg {
  stroke: rgba(255, 255, 255, 0.06) !important;
}

.tdm-circle-fg {
  stroke: #e8aa56 !important;
}

/* percentage text */
.tdm-circle-value {
  color: #fff !important;
}

/* 5) Book panel: keep it slightly lighter so form fields are readable */
.tdm-book-panel {
  background: linear-gradient(180deg, #0d1113, #0b0b0b) !important;
  border: 1px solid rgba(255, 255, 255, 0.03) !important;
}

/* form inputs: keep them dark but readable on a dark page */
.tdm-input,
.tdm-phone {
  background: #0f1112 !important;
  color: #eaeaea !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02) !important;
}

/* placeholder text slightly muted but readable */
.tdm-input::placeholder,
.tdm-phone::placeholder {
  color: rgba(230, 230, 230, 0.5) !important;
}

/* button styles: lighten CTA for contrast */
.tdm-cta,
.tdm-btn,
.tdm-download {
  background: linear-gradient(90deg, #f3e3c3, #e8aa56) !important;
  color: #08121a !important;
  box-shadow: 0 10px 28px rgba(232, 170, 86, 0.12) !important;
}

/* 6) Ensure the video container shows a subtle overlay on hover */
.tdm-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.28));
  pointer-events: none;
  transition: background 240ms ease;
}

.tdm-hero-media:hover::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.08));
}

/* 7) Cards inner text */
.tdm-card p,
.tdm-acc-panel p,
.tdm-card .tdm-media-caption {
  color: #d6d6d6 !important;
}

/* 8) Defensive: restore contrast — if any earlier rule set color to near-black, force readable color */
.tdm-container :is(h1, h2, h3, h4, p, li, button, label, span) {
  color: inherit !important;
}

/* ============================
Accessibility & small polish
============================ */
/* focus states */
.tdm-acc-btn:focus {
  outline: 3px solid rgba(232, 170, 86, 0.22);
  outline-offset: 3px;
  border-radius: 6px;
}

.tdm-cta:focus,
.tdm-btn:focus,
.tdm-download:focus {
  box-shadow: 0 10px 28px rgba(232, 170, 86, 0.22);
  outline: none;
  transform: translateY(-1px);
}

/* ensure container children don't overflow */
.tdm-container * {
  box-sizing: inherit;
  min-width: 0;
}

/* ensure clickable elements have adequate hit area */
.tdm-cta,
.tdm-btn,
.tdm-download {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* EOF */







/* ============================
Specific Color Fix Overrides
============================ */

/* "We are proud of..." text */
.tdm-proud-title,
h2.tdm-proud,
.tdm-center-title.proud {
  color: #fff !important;
  background: transparent !important;
}

/* "Book now" button */
.tdm-btn,
.tdm-book .tdm-btn {
  color: #000000 !important;
  /* black text */
  background: linear-gradient(90deg, #f3e3c3, #e8aa56) !important;
  /* warm gold gradient */
  border: none !important;
  box-shadow: none !important;
}

/* "thedalemun club" title */
.tdm-brand-title,
.tdm-title-club,
.tdm-club-heading,
.tdm-logo-text {
  color: #e8aa56 !important;
  /* your yellow accent */
  background: transparent !important;
}

/* ============================
FINAL COLOR FIX PATCH
============================ */

/* 1️⃣ Center titles — pure white */
.tdm-center-title,
.tdm-center-title.proud,
h2.tdm-center-title {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: transparent !important;
  text-shadow: none !important;
  filter: none !important;
}

/* 2️⃣ Section titles — pure white */
.tdm-section-title,
h2.tdm-section-title {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: transparent !important;
  text-shadow: none !important;
  filter: none !important;
}

/* 3️⃣ "We are proud of..." text */
.tdm-proud-title,
h2.tdm-proud,
.tdm-center-title.proud {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: transparent !important;
  text-shadow: none !important;
  filter: none !important;
}

/* 4️⃣ "Book now" button — black text, gold background */
.tdm-btn,
.tdm-book .tdm-btn,
a.tdm-btn,
button.tdm-btn {
  background: linear-gradient(90deg, #f3e3c3, #e8aa56) !important;
  color: #000000 !important;
  -webkit-text-fill-color: #000000 !important;
  text-shadow: none !important;
  filter: none !important;
  border: none !important;
  box-shadow: none !important;
}

.tdm-btn span,
.tdm-btn strong,
.tdm-btn * {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
}

/* 5️⃣ "thedalemun club" — yellow brand color */
.tdm-brand-title,
.tdm-logo-text,
.tdm-title-club,
.tdm-club-heading,
h1.tdm-brand-title {
  color: #e8aa56 !important;
  -webkit-text-fill-color: #e8aa56 !important;
  background: transparent !important;
  text-shadow: none !important;
  filter: none !important;
}

/* SVG brand logo color (if text is in an SVG) */
.tdm-brand-title svg *,
.tdm-logo-text svg *,
.tdm-title-club svg *,
.tdm-club-heading svg * {
  fill: #e8aa56 !important;
  stroke: #e8aa56 !important;
}

/* Book section success panel (light, unobtrusive) */
.tdm-book-status {
  display: none;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: linear-gradient(90deg, #f3e3c3, #e8aa56);
  color: #08121a;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  align-items: center;
  gap: 12px;
}

.tdm-book-status .tdm-status-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tdm-book-status .tdm-status-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.06);
  font-weight: 900;
}

.tdm-book-status .tdm-status-text {
  line-height: 1;
  text-align: left;
}

.tdm-book-status .tdm-status-title {
  font-size: 14px;
}

.tdm-book-status .tdm-status-desc {
  font-size: 13px;
  opacity: 0.95;
}

.tdm-book-status .tdm-status-close {
  margin-left: auto;
  background: transparent;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: inherit;
}

/* visible state */
.tdm-book-status[aria-hidden="false"] {
  display: flex;
}