/*
Theme Name: Decutrack
Theme URI: https://www.decutrack.com/
Author: Decutrack
Description: Custom WordPress theme version of the Decutrack website.
Version: 1.7.24
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: decutrack-ac
*/

:root {
  --canvas: #ffffff;
  --ink: #060606;
  --mist: #f3f3f3;
  --sand: #e7e7e7;
  --ember: #d00232;
  --ember-dark: #b4012b;
  --border: rgba(6, 6, 6, 0.1);
  --white-border: rgba(255, 255, 255, 0.12);
  --shadow-panel: 0 24px 60px rgba(6, 6, 6, 0.12);
  --container: 1200px;
  --radius-xl: 2rem;
  --radius-lg: 1.75rem;
  --radius-md: 1.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at top, rgba(208, 2, 50, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
  font-family: "Manrope", sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration: none;
}

::selection {
  background: rgba(208, 2, 50, 0.18);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.dt-site {
  isolation: isolate;
}

.dt-container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}

.dt-container--narrow {
  max-width: 1080px;
}

.dt-section {
  padding: 4rem 0;
}

.dt-section--white {
  background: #ffffff;
}

.dt-section--canvas {
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
}

.dt-section--ink {
  background: #060606;
}

.dt-surface-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: var(--shadow-panel);
  overflow: hidden;
}

.dt-kicker {
  margin: 0;
  color: var(--ember);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.dt-title,
.dt-section-title,
.dt-card-title,
.dt-step-title,
.dt-brand-tagline,
.dt-nav-link,
.dt-button,
.dt-price,
.dt-plan-name {
  font-family: "Oxanium", sans-serif;
}

.dt-section-title {
  margin: 0.7rem 0 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.dt-section-copy {
  margin: 1rem 0 0;
  max-width: 44rem;
  color: rgba(6, 6, 6, 0.74);
  font-size: 1rem;
  line-height: 1.8;
}

.dt-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--white-border);
  background: rgba(6, 6, 6, 0.95);
  backdrop-filter: blur(12px);
}

.dt-header__inner {
  padding: 0.625rem 0;
}

.dt-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.dt-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.dt-brand__lockup {
  display: block;
  width: min(100%, 280px);
  height: auto;
}

.dt-brand__lockup--hero {
  width: min(100%, 420px);
}

.dt-brand__lockup--footer {
  width: min(100%, 360px);
}

.dt-brand__logo {
  width: 38px;
  flex: 0 0 38px;
}

.dt-brand__wordmark {
  width: 128px;
}

.dt-brand--full .dt-brand__wordmark {
  width: 190px;
}

.dt-brand-tagline {
  margin: 0.25rem 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.dt-header__nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex: 1;
}

.dt-nav-link {
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.dt-nav-link:hover {
  color: rgba(255, 255, 255, 0.85);
}

.dt-header__actions {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex-shrink: 0;
}

.dt-header-cta {
  width: 92px;
  height: 40px;
  padding: 0 0.5rem !important;
  text-align: center;
}

.dt-header-cta__mobile {
  display: block;
  line-height: 1.05;
}

.dt-header-cta__desktop {
  display: none;
}

.dt-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.9rem 1.5rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.wp-block-buttons.dt-button-row {
  gap: 0.75rem;
}

.wp-block-button.dt-button {
  margin: 0;
}

.wp-block-button.dt-button .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.9rem 1.5rem;
  font-family: "Oxanium", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  background: transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.dt-button:hover {
  transform: translateY(-1px);
}

.dt-button--primary {
  background: var(--ember);
  color: #ffffff;
}

.dt-button--primary:hover {
  background: var(--ember-dark);
}

.dt-button--primary .wp-block-button__link {
  background: var(--ember);
  color: #ffffff;
}

.dt-button--primary:hover .wp-block-button__link {
  background: var(--ember-dark);
}

.dt-button--secondary {
  background: var(--ink);
  color: #ffffff;
}

.dt-button--secondary:hover {
  background: #151515;
}

.dt-button--secondary .wp-block-button__link {
  background: var(--ink);
  color: #ffffff;
}

.dt-button--secondary:hover .wp-block-button__link {
  background: #151515;
}

.dt-button--ghost {
  border-color: rgba(6, 6, 6, 0.15);
  background: #ffffff;
  color: var(--ink);
}

.dt-button--ghost:hover {
  border-color: rgba(208, 2, 50, 0.35);
  color: var(--ember);
}

.dt-button--ghost .wp-block-button__link {
  border-color: rgba(6, 6, 6, 0.15);
  background: #ffffff;
  color: var(--ink);
}

.dt-button--ghost:hover .wp-block-button__link {
  border-color: rgba(208, 2, 50, 0.35);
  color: var(--ember);
}

.dt-header .dt-button--primary {
  border-color: rgba(255, 255, 255, 0.15);
  height: 2.5rem;
  padding: 0 0.5rem;
  font-size: 0.5rem;
  letter-spacing: 0.08em;
  white-space: normal;
}

.dt-header .wp-block-button.dt-button--primary .wp-block-button__link {
  border-color: rgba(255, 255, 255, 0.15);
  height: 2.5rem;
  padding: 0 0.5rem;
  font-size: 0.5rem;
  letter-spacing: 0.08em;
}

.dt-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: transparent;
  color: #ffffff;
  flex-shrink: 0;
}

.dt-menu-toggle__lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dt-menu-toggle__lines span {
  display: block;
  width: 16px;
  height: 2px;
  background: #ffffff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.dt-menu-toggle[aria-expanded="true"] .dt-menu-toggle__lines span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.dt-menu-toggle[aria-expanded="true"] .dt-menu-toggle__lines span:nth-child(2) {
  opacity: 0;
}

.dt-menu-toggle[aria-expanded="true"] .dt-menu-toggle__lines span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.dt-mobile-nav {
  display: none;
  margin-top: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
}

.dt-mobile-nav.is-open {
  display: block;
}

.dt-mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.dt-mobile-nav .dt-nav-link {
  font-size: 0.9rem;
}

.dt-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(6, 6, 6, 0.1);
  background: var(--ink);
}

.dt-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(208, 2, 50, 0.24), transparent 26%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.07), transparent 34%);
}

.dt-hero__grid {
  position: relative;
  display: grid;
  gap: 3rem;
  align-items: center;
  padding: 5rem 0;
}

.dt-hero__eyebrow {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.dt-title {
  margin: 1.2rem 0 0;
  max-width: 18ch;
  color: #ffffff;
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  line-height: 0.95;
}

.dt-hero__copy {
  margin: 1.4rem 0 0;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  line-height: 1.9;
}

.dt-button-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

.dt-hero__media,
.dt-media-frame,
.dt-home-banner {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-panel);
}

.dt-hero__media {
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dt-media-frame {
  border: 1px solid var(--border);
  background: #ffffff;
}

.dt-home-banner {
  min-height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #060606;
}

.dt-home-hero {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dt-home-hero__title {
  color: #ffffff;
}

.dt-home-hero__copy {
  max-width: 48rem;
  color: rgba(255, 255, 255, 0.8);
}

.dt-hero__media img,
.dt-media-frame img,
.dt-home-banner img,
.dt-page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wp-block-image.dt-hero__media,
.wp-block-image.dt-media-frame,
.wp-block-image.dt-home-banner,
.wp-block-image.dt-page-hero__media,
.wp-block-image.dt-brand__logo,
.wp-block-image.dt-brand__wordmark {
  margin: 0;
}

.dt-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.52));
}

.dt-grid-two {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.dt-feature-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
}

.wp-block-columns.dt-feature-grid,
.wp-block-columns.dt-faq-grid,
.wp-block-columns.dt-plan-grid,
.wp-block-columns.dt-contact-grid {
  display: grid !important;
  gap: 1.5rem;
  margin-top: 2rem;
  grid-template-columns: minmax(0, 1fr);
}

.wp-block-columns.dt-feature-grid > .wp-block-column,
.wp-block-columns.dt-faq-grid > .wp-block-column,
.wp-block-columns.dt-plan-grid > .wp-block-column,
.wp-block-columns.dt-contact-grid > .wp-block-column {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0 !important;
}

.dt-grid-choice--1 {
  grid-template-columns: minmax(0, 1fr) !important;
}

.dt-grid-choice--2 {
  grid-template-columns: minmax(0, 1fr) !important;
}

.dt-grid-choice--3 {
  grid-template-columns: minmax(0, 1fr) !important;
}

.dt-feature-card {
  height: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-panel);
  padding: 1.5rem;
  transition: transform 0.2s ease;
}

.dt-feature-card:hover {
  transform: translateY(-4px);
}

.dt-card-title {
  margin: 0.75rem 0 0;
  font-size: 1.6rem;
}

.dt-card-copy {
  margin: 1rem 0 0;
  color: rgba(6, 6, 6, 0.7);
  font-size: 1rem;
  line-height: 1.75;
}

.dt-image-card--headshot {
  background: var(--ink);
  border-color: rgba(255, 255, 255, 0.1);
}

.dt-image-card--headshot img {
  object-fit: contain;
  padding: 1rem;
}

.dt-copy-block p {
  margin: 1.25rem 0 0;
  max-width: 48rem;
  color: rgba(6, 6, 6, 0.74);
  font-size: 1rem;
  line-height: 1.8;
}

.dt-plan-grid,
.dt-process-grid,
.dt-faq-grid,
.dt-contact-grid,
.dt-footer-grid {
  display: grid;
  gap: 1.5rem;
}

.dt-plan-grid {
  margin-top: 3rem;
}

.dt-plan-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-panel);
  padding: 1.75rem;
}

.dt-event-row {
  display: grid;
  gap: 1.5rem;
}

.dt-event-row__details {
  min-width: 0;
}

.wp-block-buttons.dt-event-row__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0;
  align-items: center;
}

.wp-block-buttons.dt-event-row__actions .wp-block-button {
  flex: 1 1 11rem;
}

.wp-block-buttons.dt-event-row__actions .wp-block-button__link {
  width: 100%;
  text-align: center;
}

.dt-price {
  margin: 0;
  color: var(--ember);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.dt-plan-name {
  margin: 0.8rem 0 0;
  font-size: 2rem;
}

.dt-plan-bestfor {
  margin: 1rem 0 0;
  color: rgba(6, 6, 6, 0.72);
  font-size: 1rem;
  line-height: 1.7;
}

.dt-plan-points {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.dt-pill {
  border-radius: 1rem;
  background: #fbfbfb;
  padding: 0.9rem 1rem;
  color: rgba(6, 6, 6, 0.8);
  font-size: 0.95rem;
  line-height: 1.65;
}

.dt-note {
  margin: 2rem 0 0;
  max-width: 42rem;
  color: rgba(6, 6, 6, 0.65);
  font-size: 0.95rem;
  line-height: 1.8;
}

.dt-step-card,
.dt-faq-card,
.dt-contact-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fbfbfb;
  padding: 1.25rem;
}

.dt-step-title,
.dt-faq-question {
  margin: 0;
  color: var(--ink);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dt-step-copy,
.dt-faq-answer {
  margin: 0.8rem 0 0;
  color: rgba(6, 6, 6, 0.72);
  font-size: 1rem;
  line-height: 1.75;
}

.dt-contact-card {
  background: #ffffff;
  box-shadow: var(--shadow-panel);
  padding: 1.5rem;
}

.dt-form-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: var(--shadow-panel);
  overflow: hidden;
}

.dt-form-frame iframe {
  display: block;
  width: 100%;
  border: 0;
  min-height: 980px;
}

.dt-form-help {
  margin: 1rem auto 0;
  max-width: 42rem;
  color: rgba(6, 6, 6, 0.7);
  font-size: 0.95rem;
  line-height: 1.7;
}

.dt-form-help a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.dt-event-badge {
  display: inline-flex;
  align-items: center;
  margin: 0;
  border: 1px solid #060606;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-family: "Oxanium", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.1;
  text-transform: uppercase;
}

.dt-event-badge--timed {
  background: #ffffff;
  color: var(--ember);
}

.dt-event-badge--hosted {
  background: var(--ember);
  border-color: var(--ember);
  color: #ffffff;
}

.dt-host-line {
  margin: 0;
  color: rgba(6, 6, 6, 0.7);
  font-size: 0.95rem;
  font-weight: 500;
}

.dt-event-meta {
  margin: 0;
  color: rgba(6, 6, 6, 0.72);
  font-size: 0.95rem;
}

.dt-page-hero {
  border-bottom: 1px solid var(--border);
  background: #ffffff;
}

.dt-page-hero__grid {
  display: grid;
  gap: 2rem;
  align-items: stretch;
  padding: 2.5rem 0 3rem;
}

.dt-page-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: var(--radius-xl);
  background: var(--ink);
  padding: 2.5rem 2rem;
  color: #ffffff;
}

.dt-page-hero__content .dt-kicker {
  color: rgba(255, 255, 255, 0.68);
}

.dt-page-hero__content .dt-section-title,
.dt-page-hero__content .dt-section-copy {
  color: #ffffff;
}

.dt-page-hero__content .dt-section-copy {
  color: rgba(255, 255, 255, 0.78);
}

.dt-page-hero__media {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--mist);
  box-shadow: var(--shadow-panel);
}

.dt-page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.28));
}

.dt-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--ink);
  color: #ffffff;
}

.dt-footer-grid {
  padding: 3rem 0;
}

.dt-footer-heading {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.dt-footer-links {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.dt-footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.dt-footer-links a:hover {
  color: #ffffff;
}

.dt-live-results {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: var(--shadow-panel);
  padding: 1.5rem;
}

body.dt-live-results-page--bare {
  background: #f7f7f7;
}

body.dt-live-results-page--hub {
  background:
    radial-gradient(circle at top, rgba(208, 2, 50, 0.08), transparent 30%),
    #f7f7f7;
}

.dt-live-results-shell {
  min-height: 100vh;
  padding: 1.5rem 0;
}

.dt-live-results-shell__section {
  padding: 0;
}

.dt-live-results__status {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dt-live-results__race-logo {
  margin: 0 0 0.85rem;
}

.dt-live-results__race-logo img {
  display: block;
  width: clamp(64px, 10vw, 110px);
  height: clamp(64px, 10vw, 110px);
  object-fit: contain;
}

.dt-live-results__event-title {
  margin: 0;
  font-family: "Oxanium", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.05;
}

.dt-live-results__event-meta {
  margin-top: 0.25rem;
}

.dt-live-home {
  display: grid;
  gap: 1.5rem;
}

.dt-live-home__header {
  padding: 0.5rem 0 0;
}

.dt-live-home__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.dt-live-home__title {
  margin: 0;
  font-family: "Oxanium", sans-serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.02;
}

.dt-live-home__card {
  padding: 1.75rem;
}

.dt-live-home__race-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.dt-live-home__race-card {
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: var(--mist);
  padding: 1rem 1.1rem;
}

.dt-live-results__headline {
  margin: 0.5rem 0 0;
  font-family: "Oxanium", sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  line-height: 1.05;
}

.dt-live-results__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: flex-start;
}

.dt-live-chip,
.dt-live-clock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-family: "Oxanium", sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dt-live-chip {
  border: 1px solid rgba(6, 6, 6, 0.1);
  background: rgba(208, 2, 50, 0.08);
  color: var(--ember);
}

.dt-live-chip[data-status="live"] {
  border-color: #1f9d55;
  background: #1f9d55;
  color: #ffffff;
}

.dt-live-chip[data-status="finished"] {
  border-color: #060606;
  background: #060606;
  color: #ffffff;
}

.dt-live-chip[data-status="countdown"] {
  border-color: rgba(6, 6, 6, 0.12);
  background: rgba(6, 6, 6, 0.06);
  color: var(--ink);
}

.dt-live-clock {
  background: #060606;
  color: #ffffff;
}

.dt-live-results__summary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.dt-live-summary-card {
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: var(--mist);
  padding: 1rem 1.1rem;
}

.dt-live-summary-label {
  display: block;
  margin-bottom: 0.35rem;
  color: rgba(6, 6, 6, 0.58);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dt-live-results__stream {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: var(--mist);
}

.dt-live-results__stream-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dt-live-results__stream-frame iframe,
.dt-live-results__stream-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 1rem;
}

.dt-live-results__stream-placeholder {
  display: grid;
  place-items: center;
  border: 1px dashed rgba(6, 6, 6, 0.18);
  background:
    linear-gradient(135deg, rgba(208, 2, 50, 0.08), rgba(6, 6, 6, 0.06));
  color: rgba(6, 6, 6, 0.58);
  font-family: "Oxanium", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dt-live-results__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
  justify-content: center;
  width: 100%;
}

.dt-live-tab {
  min-height: 44px;
  padding: 0.75rem 1.15rem;
  border: 1px solid rgba(6, 6, 6, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: #060606;
  font-family: "Oxanium", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.dt-live-tab.is-active {
  border-color: var(--ember);
  background: var(--ember);
  color: #ffffff;
}

.dt-live-results__panel {
  margin-top: 1.25rem;
}

.dt-live-results__clock-band {
  display: flex;
  justify-content: center;
  margin-top: 1.35rem;
}

.dt-live-results__table-wrap {
  overflow-x: visible;
}

.dt-live-results__table {
  width: 100%;
  border-collapse: collapse;
}

.dt-live-results__table th,
.dt-live-results__table td {
  padding: 0.95rem 0.9rem;
  border-bottom: 1px solid rgba(6, 6, 6, 0.08);
  text-align: left;
}

.dt-live-results__table th {
  color: rgba(6, 6, 6, 0.54);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dt-live-results__table td {
  font-size: 0.98rem;
}

.dt-live-athlete-cell {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.dt-live-athlete-copy {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  min-width: 0;
}

.dt-live-athlete-media {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex: 0 0 auto;
}

.dt-live-athlete-media__image {
  display: block;
  object-fit: cover;
}

.dt-live-athlete-media__image--headshot,
.dt-live-athlete-media__image--placeholder {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  background: #f1f1f1;
}

.dt-live-athlete-media__image--headshot {
  border: 1px solid rgba(6, 6, 6, 0.08);
}

.dt-live-athlete-media__image--logo {
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
}

.dt-live-athlete-name {
  min-width: 0;
  font-weight: 700;
}

.dt-live-athlete-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  color: rgba(6, 6, 6, 0.62);
  font-size: 0.82rem;
  white-space: nowrap;
}

.dt-live-athlete-bib {
  font-size: 0.78rem;
}

.dt-live-athlete-team {
  font-family: "Oxanium", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dt-live-results__empty td {
  color: rgba(6, 6, 6, 0.6);
}

.dt-live-results .dt-event-row__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.dt-live-results .dt-event-row__actions .wp-block-button {
  width: 100%;
}

.dt-live-results .dt-event-row__actions .wp-block-button__link {
  width: 100%;
  justify-content: center;
  padding: 0.75rem 0.85rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-align: center;
}

@media (max-width: 639px) {
  .dt-live-results {
    padding: 1rem;
  }

  .dt-live-results__headline,
  .dt-live-results__summary {
    text-align: center;
  }

  .dt-live-results__race-logo img {
    width: 68px;
    height: 68px;
    margin: 0 auto;
  }

  .dt-live-results__summary {
    gap: 0.65rem;
  }

  .dt-live-summary-card {
    padding: 0.85rem 0.95rem;
  }

  .dt-live-results__table thead {
    display: none;
  }

  .dt-live-results__table,
  .dt-live-results__table tbody,
  .dt-live-results__table tr,
  .dt-live-results__table td {
    display: block;
    width: 100%;
  }

  .dt-live-results__table tr {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "place athlete time";
    gap: 0.45rem 0.6rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(6, 6, 6, 0.08);
  }

  .dt-live-results__table td {
    padding: 0;
    border-bottom: 0;
    font-size: 0.92rem;
  }

  .dt-live-results__table td:nth-child(1) {
    grid-area: place;
    align-self: center;
    font-family: "Oxanium", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
  }

  .dt-live-results__table td:nth-child(2) {
    grid-area: athlete;
    min-width: 0;
  }

  .dt-live-results__table td:nth-child(3) {
    display: none;
  }

  .dt-live-results__table td:nth-child(4) {
    grid-area: time;
    justify-self: end;
    font-family: "Oxanium", sans-serif;
    font-weight: 700;
    white-space: nowrap;
  }

  .dt-live-results__table td:nth-child(5) {
    display: none;
  }

  .dt-live-athlete-cell {
    gap: 0.65rem;
  }

  .dt-live-athlete-copy {
    flex-direction: row;
    align-items: baseline;
    gap: 0.45rem;
    min-width: 0;
  }

  .dt-live-athlete-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .dt-live-athlete-meta {
    flex: 0 0 auto;
    gap: 0.4rem;
    font-size: 0.74rem;
  }

  .dt-live-athlete-media__image--headshot,
  .dt-live-athlete-media__image--placeholder {
    width: 1.85rem;
    height: 1.85rem;
  }

  .dt-live-athlete-media__image--logo {
    width: 1.05rem;
    height: 1.05rem;
  }

  .dt-live-results__clock-band {
    width: min(100%, 28rem);
    margin: 1.35rem auto 0;
  }

  .dt-live-clock {
    width: 100%;
    min-height: 52px;
    font-size: 1.2rem;
  }

  .dt-live-results__panel[data-live-panel="team"] .dt-live-results__table tr {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "place team score"
      "place spread average"
      "status scorers scorers";
  }

  .dt-live-results__panel[data-live-panel="team"] .dt-live-results__table td:nth-child(1) {
    grid-area: place;
  }

  .dt-live-results__panel[data-live-panel="team"] .dt-live-results__table td:nth-child(2) {
    grid-area: team;
  }

  .dt-live-results__panel[data-live-panel="team"] .dt-live-results__table td:nth-child(3) {
    grid-area: score;
    justify-self: end;
    font-family: "Oxanium", sans-serif;
    font-weight: 700;
  }

  .dt-live-results__panel[data-live-panel="team"] .dt-live-results__table td:nth-child(4) {
    grid-area: spread;
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    color: rgba(6, 6, 6, 0.68);
  }

  .dt-live-results__panel[data-live-panel="team"] .dt-live-results__table td:nth-child(5) {
    grid-area: average;
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    justify-self: end;
    color: rgba(6, 6, 6, 0.68);
  }

  .dt-live-results__panel[data-live-panel="team"] .dt-live-results__table td:nth-child(6) {
    grid-area: scorers;
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    color: rgba(6, 6, 6, 0.68);
  }

  .dt-live-results__panel[data-live-panel="team"] .dt-live-results__table td:nth-child(7) {
    grid-area: status;
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(6, 6, 6, 0.6);
  }

  .dt-live-results__panel[data-live-panel="team"] .dt-live-results__table td:nth-child(4)::before,
  .dt-live-results__panel[data-live-panel="team"] .dt-live-results__table td:nth-child(5)::before,
  .dt-live-results__panel[data-live-panel="team"] .dt-live-results__table td:nth-child(6)::before,
  .dt-live-results__panel[data-live-panel="team"] .dt-live-results__table td:nth-child(7)::before {
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(6, 6, 6, 0.46);
  }

  .dt-live-results__panel[data-live-panel="team"] .dt-live-results__table td:nth-child(4)::before {
    content: "Spread";
  }

  .dt-live-results__panel[data-live-panel="team"] .dt-live-results__table td:nth-child(5)::before {
    content: "Average";
  }

  .dt-live-results__panel[data-live-panel="team"] .dt-live-results__table td:nth-child(6)::before {
    content: "Scorers";
  }

  .dt-live-results__panel[data-live-panel="team"] .dt-live-results__table td:nth-child(7)::before {
    content: "Status";
  }

  .dt-live-results__empty td {
    display: block !important;
    text-align: center;
    padding: 0.35rem 0;
  }
}

@media (min-width: 640px) {
  .dt-container {
    padding: 0 1.5rem;
  }

  .dt-button-row {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .dt-brand__logo {
    width: 48px;
    flex-basis: 48px;
  }

  .dt-live-results__summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dt-brand__wordmark {
    width: 195px;
  }

  .dt-brand--full .dt-brand__wordmark {
    width: 235px;
  }

  .dt-brand-tagline {
    font-size: 0.72rem;
  }

  .dt-header .dt-button--primary {
    height: auto;
    padding: 0.75rem 1rem;
    font-size: 0.76rem;
    letter-spacing: 0.12em;
  }

  .dt-header .wp-block-button.dt-button--primary .wp-block-button__link {
    height: auto;
    padding: 0.75rem 1rem;
    font-size: 0.76rem;
    letter-spacing: 0.12em;
  }

  .dt-menu-toggle {
    width: 40px;
    height: 40px;
  }

  .dt-menu-toggle__lines {
    gap: 5px;
  }

  .dt-header-cta {
    width: auto;
    height: auto;
    padding: 0.75rem 1rem !important;
    text-align: left;
  }

  .dt-header-cta__mobile {
    display: none;
  }

  .dt-header-cta__desktop {
    display: inline;
  }

  .dt-live-results {
    padding: 2rem;
  }

  .dt-live-results__summary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dt-live-results .dt-event-row__actions {
    display: flex;
    grid-template-columns: none;
    justify-content: center;
  }

  .dt-event-row__actions {
    width: 100%;
  }
}

@media (min-width: 768px) {
  .wp-block-columns.dt-feature-grid,
  .wp-block-columns.dt-faq-grid,
  .wp-block-columns.dt-plan-grid,
  .dt-grid-choice--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .dt-grid-choice--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .dt-feature-grid,
  .dt-faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dt-footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .wp-block-columns.dt-contact-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) !important;
  }

  .dt-grid-choice--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .dt-container {
    padding: 0 2rem;
  }

  .dt-header__bar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
  }

  .dt-header__nav {
    display: flex;
  }

  .dt-menu-toggle {
    display: none;
  }

  .dt-mobile-nav {
    display: none !important;
  }

  .dt-hero__grid {
    grid-template-columns: 1fr 1fr;
    padding: 6rem 0;
  }

  .dt-grid-two--benefits {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .dt-grid-two--coach {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .dt-grid-two--process {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .dt-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dt-plan-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dt-process-grid {
    grid-template-columns: 1fr;
  }

  .dt-contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }

  .dt-page-hero__grid {
    grid-template-columns: 0.92fr 1.08fr;
  }

  .dt-page-hero__media {
    min-height: 420px;
  }
}

@media (min-width: 1200px) {
  .wp-block-buttons.dt-event-row__actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .wp-block-buttons.dt-event-row__actions .wp-block-button {
    flex: 1 1 11rem;
  }
}
