/* === Venue Hero === */
.wpr-venue-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 48px;
  overflow: hidden;
  margin-top: 72px; /* header height offset */
}
.wpr-venue-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wpr-venue-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,15,0.9) 0%, rgba(10,10,15,0.3) 100%);
}
.wpr-venue-hero__content {
  position: relative;
  z-index: 1;
}
.wpr-venue-hero__content h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: var(--fs-hero);
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.wpr-venue-hero__content p {
  color: var(--wpr-muted);
  font-size: 18px;
  margin: 0;
}

/* === Venue overview === */
.wpr-venue-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.wpr-venue-overview__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.wpr-venue-gallery-img {
  width: 100%;
  border-radius: var(--wpr-radius-card);
  object-fit: cover;
}
.wpr-venue-gallery-img--secondary {
  margin-top: 24px;
}
.wpr-venue-overview__text h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: var(--fs-section);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  margin: 0 0 16px;
}
@media (max-width: 768px) {
  .wpr-venue-overview { grid-template-columns: 1fr; gap: 32px; }
}

/* === Spec cards === */
.wpr-section-heading-centered {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: var(--fs-section);
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 48px;
}
.wpr-spec-card {
  text-align: center;
}
.wpr-spec-card__icon {
  font-size: 32px;
  display: block;
  margin-bottom: 12px;
}
.wpr-spec-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px;
  text-transform: uppercase;
}
.wpr-spec-card p {
  font-size: 14px;
  color: var(--wpr-muted);
  line-height: 1.6;
  margin: 0;
}

/* === Packages Grid === */
.wpr-packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1080px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .wpr-packages-grid { grid-template-columns: 1fr; gap: 1rem; max-width: 480px; }
}

/* === Packages === */
.wpr-package {
  display: flex;
  flex-direction: column;
}
.wpr-package--featured {
  border: 2px solid var(--wpr-red);
}
.wpr-package__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.wpr-package__price {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 56px;
  font-weight: 700;
  color: var(--wpr-red);
  line-height: 1;
  margin-bottom: 2px;
}
.wpr-package__vat {
  font-size: 11px;
  color: rgba(255,255,255,.3);
  margin: 0 0 4px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.wpr-package__price-note {
  font-size: 12px;
  color: #22c55e;
  margin: 0 0 18px;
  font-weight: 600;
  letter-spacing: .02em;
}
.wpr-package__includes {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}
.wpr-package__includes li {
  padding: 10px 0;
  padding-left: 20px;
  position: relative;
  font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--wpr-muted);
}
.wpr-package__includes li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--wpr-red);
  font-weight: 700;
}

/* === Audience cards === */
.wpr-audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1080px;
  margin: 0 auto;
}
.wpr-audience-card {
  background: #13131A;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 12px;
  padding: 2.5rem 2rem 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s;
}
.wpr-audience-card:hover {
  border-color: rgba(190, 32, 46, 0.2);
  transform: translateY(-4px);
}
.wpr-audience-card::before {
  content: '';
  position: absolute;
  top: 0; left: 20%; right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #BE202E, transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.wpr-audience-card:hover::before { opacity: 0.7; }
.wpr-audience-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(190, 32, 46, 0.08);
  border: 1px solid rgba(190, 32, 46, 0.15);
  margin-bottom: 1.25rem;
}
.wpr-audience-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: #BE202E;
  fill: none;
  stroke-width: 1.5;
}
.wpr-audience-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 1rem;
  color: #fff;
}
.wpr-audience-card__subtitle {
  font-size: 13px;
  color: var(--wpr-muted);
  margin: -0.5rem 0 1.25rem;
  line-height: 1.5;
}
.wpr-audience-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}
.wpr-audience-card ul li {
  padding: 8px 0 8px 22px;
  position: relative;
  font-size: 14px;
  color: #b0b0bc;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.wpr-audience-card ul li:last-child { border-bottom: none; }
.wpr-audience-card ul li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--wpr-red);
  font-weight: 700;
  font-size: 13px;
}
@media (max-width: 768px) {
  .wpr-audience-grid { grid-template-columns: 1fr; max-width: 400px; }
}
[data-theme="light"] .wpr-audience-card {
  background: #fff;
  border-color: rgba(0,0,0,0.06);
}
[data-theme="light"] .wpr-audience-card:hover {
  border-color: rgba(190, 32, 46, 0.2);
}
[data-theme="light"] .wpr-audience-card h3 { color: #111; }
[data-theme="light"] .wpr-audience-card ul li { color: #555; border-color: rgba(0,0,0,0.06); }
[data-theme="light"] .wpr-audience-card__subtitle { color: #777; }

/* === Page title === */
.wpr-page-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: var(--fs-page-title);
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 32px;
  padding-top: 72px;
}

/* === Event filter tabs === */
.wpr-event-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.wpr-filter-btn {
  padding: 10px 20px;
  background: var(--wpr-card);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  color: var(--wpr-muted);
  cursor: pointer;
  font-size: 14px;
  font-family: Inter, sans-serif;
  transition: all 0.15s;
}
.wpr-filter-btn.active,
.wpr-filter-btn:hover {
  background: var(--wpr-red);
  border-color: var(--wpr-red);
  color: #fff;
}

/* === Events archive grid === */
.wpr-events-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.wpr-event-archive-card {
  overflow: hidden;
  padding: 0;
}
.wpr-event-archive-card img { width: 100%; display: block; }
.wpr-event-archive-card__body {
  padding: 16px;
}
.wpr-event-archive-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin: 8px 0;
}
@media (max-width: 900px) {
  .wpr-events-archive-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .wpr-events-archive-grid { grid-template-columns: 1fr; }
}

/* === Single event === */
.wpr-event-single-hero {
  position: relative;
  height: 50vh;
  min-height: 360px;
  overflow: hidden;
  margin-top: 72px;
}
.wpr-event-single-hero__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.wpr-event-single-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,15,0.9), rgba(10,10,15,0.2));
  display: flex;
  align-items: flex-end;
  padding-bottom: 32px;
}
.wpr-event-meta-bar {
  display: flex;
  gap: 48px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.wpr-event-meta-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--wpr-muted);
}
.wpr-event-meta-value {
  font-size: 16px;
  font-weight: 500;
}
.wpr-event-countdown {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--wpr-red);
  letter-spacing: 0.05em;
}
.wpr-event-body {
  max-width: 740px;
  line-height: 1.7;
}

/* === SVG icon styles for spec + audience cards === */
.wpr-spec-card__icon svg,
.wpr-audience-card__icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--wpr-red);
}

/* === Coaching section === */
.wpr-venue-coaching {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.wpr-venue-coaching__text h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: var(--fs-section);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  margin: 0 0 16px;
}
.wpr-powered-by {
  font-size: 12px;
  color: rgba(255,255,255,.3);
  margin: 4px 0 20px;
  letter-spacing: .06em;
}
.wpr-powered-by a {
  color: var(--wpr-red);
  text-decoration: none;
  font-weight: 600;
}
.wpr-powered-by a:hover {
  color: #fff;
}
.wpr-coaching-note {
  color: var(--wpr-muted);
  font-size: 14px;
}
.wpr-simtech-logo-inline {
  height: 22px;
  vertical-align: middle;
  margin-left: 6px;
  position: relative;
  top: -1px;
}
.wpr-coaching-features {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}
.wpr-coaching-features li {
  font-size: 14px;
  line-height: 1.5;
  color: #ccc;
  padding-left: 20px;
  position: relative;
}
.wpr-coaching-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  background: #BE202E;
  border-radius: 2px;
}
.wpr-coaching-features li strong {
  color: #fff;
}
@media (max-width: 640px) {
  .wpr-coaching-features {
    grid-template-columns: 1fr;
  }
}
[data-theme="light"] .wpr-coaching-features li {
  color: #444;
}
[data-theme="light"] .wpr-coaching-features li strong {
  color: #111;
}
/* === Coaching Photo Frame === */
.wpr-coaching-photo-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(190, 32, 46, 0.15), 0 0 0 1px rgba(255,255,255,0.06);
  transition: transform 0.4s, box-shadow 0.4s;
}
.wpr-coaching-photo-frame:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 50px rgba(190, 32, 46, 0.25), 0 0 0 1px rgba(190, 32, 46, 0.2);
}
.wpr-coaching-photo-glow {
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(190,32,46,0.3), transparent 40%, transparent 60%, rgba(24,99,220,0.2));
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s;
}
.wpr-coaching-photo-frame:hover .wpr-coaching-photo-glow {
  opacity: 1;
}
.wpr-coaching-photo {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 1;
  border-radius: 16px;
}
.wpr-coaching-photo-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  background: rgba(10,10,15,0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(190,32,46,0.25);
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%);
  padding: 7px 16px 7px 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
}
/* Telemetry sweep — a thin line moves across the badge like a data readout */
.wpr-coaching-photo-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(190,32,46,0.12) 40%, rgba(190,32,46,0.25) 50%, rgba(190,32,46,0.12) 60%, transparent 100%);
  animation: badge-sweep 3.5s ease-in-out infinite;
  pointer-events: none;
}
/* Double chevron — mirrors the WPR logo mark */
.wpr-coaching-photo-badge__dot {
  width: 0;
  height: 0;
  border-radius: 0;
  background: none;
  border-style: solid;
  border-width: 4px 0 4px 5px;
  border-color: transparent transparent transparent #BE202E;
  position: relative;
  flex-shrink: 0;
  animation: none;
}
.wpr-coaching-photo-badge__dot::after {
  content: '';
  position: absolute;
  top: -4px;
  left: 2px;
  border-style: solid;
  border-width: 4px 0 4px 5px;
  border-color: transparent transparent transparent rgba(190,32,46,0.45);
}
@keyframes badge-sweep {
  0%, 100% { left: -100%; }
  50% { left: 100%; }
}
[data-theme="light"] .wpr-coaching-photo-frame {
  box-shadow: 0 8px 30px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.06);
}
[data-theme="light"] .wpr-coaching-photo-badge {
  background: rgba(255,255,255,0.92);
  color: rgba(0,0,0,0.75);
  border-color: rgba(190,32,46,0.15);
}
[data-theme="light"] .wpr-coaching-photo-badge::after {
  background: linear-gradient(90deg, transparent 0%, rgba(190,32,46,0.06) 40%, rgba(190,32,46,0.12) 50%, rgba(190,32,46,0.06) 60%, transparent 100%);
}

/* === Telemetry Mockup (legacy — kept for reference) === */
.wpr-telemetry-mockup {
  background: #0b0b12;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  overflow: hidden;
  font-family: 'Barlow Condensed', sans-serif;
}
.wpr-tele-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 16px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.02);
}
.wpr-tele-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  color: rgba(255,255,255,.4);
}
.wpr-tele-live {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  color: #BE202E;
  display: flex;
  align-items: center;
  gap: 5px;
}
.wpr-tele-live::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #BE202E;
  animation: wpr-blink 1.1s ease-in-out infinite;
}
@keyframes wpr-blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.15; }
}
.wpr-tele-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 10px 16px 8px;
  gap: 4px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.wpr-tele-stat { display: flex; flex-direction: column; gap: 1px; }
.wpr-tele-stat__label {
  font-size: 8px;
  letter-spacing: .14em;
  color: rgba(255,255,255,.3);
  text-transform: uppercase;
}
.wpr-tele-stat__value {
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}
.wpr-tele-green { color: #22c55e; }
.wpr-tele-red   { color: #BE202E; }
.wpr-tele-stat__unit {
  font-size: 9px;
  color: rgba(255,255,255,.35);
  letter-spacing: .06em;
}
/* Graph */
.wpr-tele-graph {
  padding: 12px 16px 2px;
  position: relative;
  overflow: hidden;
}
.wpr-tele-svg {
  width: 100%;
  height: 110px;
  display: block;
}
/* Scan line sweeps across continuously */
.wpr-tele-graph::after {
  content: '';
  position: absolute;
  top: 12px;
  bottom: 16px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(190,32,46,.7), transparent);
  animation: wpr-scan 3.2s linear infinite;
  pointer-events: none;
}
@keyframes wpr-scan {
  0%   { left: 16px;               opacity: 0; }
  4%   { opacity: 1; }
  96%  { opacity: 1; }
  100% { left: calc(100% - 16px);  opacity: 0; }
}
/* Path draw-in */
.wpr-tele-path {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: wpr-draw 2.2s cubic-bezier(.4,0,.2,1) forwards;
}
.wpr-tele-path--throttle { animation-delay: .25s; }
.wpr-tele-path--brake    { animation-delay: .5s;  }
@keyframes wpr-draw { to { stroke-dashoffset: 0; } }
/* Legend */
.wpr-tele-legend {
  display: flex;
  gap: 16px;
  padding: 6px 0 10px;
}
.wpr-tele-legend-item {
  font-size: 9px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  display: flex;
  align-items: center;
  gap: 6px;
}
.wpr-tele-legend-item::before {
  content: '';
  width: 18px;
  height: 2px;
  border-radius: 1px;
}
.wpr-tele-legend-item--speed::before    { background: #93c5fd; }
.wpr-tele-legend-item--throttle::before { background: #22c55e; }
.wpr-tele-legend-item--brake::before    { background: #BE202E; }
@media (max-width: 768px) {
  .wpr-venue-coaching { grid-template-columns: 1fr; gap: 32px; }
}

/* === Coaching Technology Page === */
.wpr-tech-hero__logo {
  display: inline-block;
  margin-bottom: 16px;
}
.wpr-tech-hero__logo img {
  height: 40px;
  opacity: 0.9;
  transition: opacity 0.2s;
}
.wpr-tech-hero__logo:hover img {
  opacity: 1;
}
.wpr-tech-footer-branding {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #555;
  font-size: 13px;
}
.wpr-tech-footer-branding img {
  height: 24px;
  opacity: 0.8;
}
.wpr-tech-hero {
  padding: 80px 0 48px;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.wpr-tech-hero[style*="background-image"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10,10,15,0.75);
}
.wpr-tech-hero > .wpr-container {
  position: relative;
  z-index: 1;
}
.wpr-tech-hero h1 {
  font-size: var(--fs-section);
  font-weight: 700;
  margin-bottom: 16px;
}
.wpr-tech-hero__sub {
  color: #aaa;
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}
.wpr-tech-hero__sub a {
  color: #1863DC;
  text-decoration: none;
}
.wpr-tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.wpr-tech-grid--2col { grid-template-columns: repeat(2, 1fr); }
.wpr-tech-grid--3col { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .wpr-tech-grid--2col { grid-template-columns: 1fr; }
  .wpr-tech-grid--3col { grid-template-columns: 1fr; }
}
.wpr-tech-card {
  background: #13131A;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 0;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.wpr-tech-card:hover {
  border-color: rgba(190,32,46,0.3);
  transform: translateY(-3px);
}
.wpr-tech-card__img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0d0d12;
}
.wpr-tech-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.wpr-tech-card:hover .wpr-tech-card__img {
  transform: scale(1.03);
}
.wpr-tech-card h3,
.wpr-tech-card p {
  padding: 0 20px;
}
.wpr-tech-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 16px 0 8px;
  color: #fff;
}
.wpr-tech-card p {
  font-size: 13px;
  color: #999;
  line-height: 1.65;
  padding-bottom: 20px;
}
.wpr-tech-card__icon {
  font-size: 28px;
  margin: 20px 0 12px 20px;
}
[data-theme="light"] .wpr-tech-card {
  background: #f8f8fa;
  border-color: #e0e0e0;
}
[data-theme="light"] .wpr-tech-card h3 {
  color: #111;
}
[data-theme="light"] .wpr-tech-card p {
  color: #555;
}
[data-theme="light"] .wpr-tech-hero__sub {
  color: #555;
}
