/* ═══════════════════════════════════════
   PMT LABORATORIES — STYLES
   Colors & fonts matching Indoor Sports
═══════════════════════════════════════ */

.lab-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

/* ── WordPress theme overrides ── */
.entry-content .lab-wrap h1,
.entry-content .lab-wrap h2,
.entry-content .lab-wrap h3 {
  clear: none !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.entry-content .lab-wrap p:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ════════════════════════════════
   HERO
════════════════════════════════ */

.lab-hero {
  text-align: center;
  margin-bottom: 40px;
}

p.lab-label,
.entry-content p.lab-label {
  color: #FF6000 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  margin-bottom: 8px !important;
  margin-top: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  opacity: 1 !important;
}

p.lab-label::before,
p.lab-label::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: #FF6000;
  flex-shrink: 0;
}

.lab-wrap .lab-title,
.entry-content .lab-wrap h1.lab-title {
  font-size: 2rem !important;
  font-weight: 700 !important;
  color: #253b80 !important;
  margin: 10px 0 14px !important;
  line-height: 1.3 !important;
}

.lab-wrap .lab-sub {
  font-size: 15px !important;
  color: #4b5563 !important;
  max-width: 650px !important;
  margin: 0 auto !important;
  line-height: 1.7 !important;
}

/* ════════════════════════════════
   CARDS GRID — ROW OF 3
════════════════════════════════ */

.lab-grid {
  gap: 24px !important;
  margin-bottom: 24px !important;
}

.lab-card {
  background: #fff !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  border: 1px solid rgba(37, 59, 128, 0.08) !important;
  box-shadow: 0 2px 12px rgba(37, 59, 128, 0.06) !important;
  padding: 0 !important;
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.25s;
}

.lab-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(37, 59, 128, 0.13) !important;
}

.lab-card-body {
  padding: 22px 22px 24px !important;
}

.lab-card-icon {
  font-size: 28px !important;
  margin-bottom: 12px !important;
  display: block !important;
  line-height: 1 !important;
}

.lab-wrap .lab-card-title,
.entry-content .lab-wrap h3.lab-card-title {
  font-size: 17px !important;
  font-weight: 700 !important;
  color: #253b80 !important;
  margin: 0 0 8px !important;
}

.lab-wrap .lab-card-text {
  font-size: 14px !important;
  color: #4b5563 !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

/* ── Scroll animations ── */
.lab-card.pmt-animate {
  opacity: 0;
  transform: translateY(30px);
}

.lab-card.pmt-animate.pmt-visible {
  opacity: 1;
  transform: translateY(0);
}

.lab-card:nth-child(2)  { transition-delay: 0.1s; }
.lab-card:nth-child(3)  { transition-delay: 0.2s; }
.lab-card:nth-child(4)  { transition-delay: 0.05s; }
.lab-card:nth-child(5)  { transition-delay: 0.15s; }
.lab-card:nth-child(6)  { transition-delay: 0.25s; }
.lab-card:nth-child(7)  { transition-delay: 0.05s; }
.lab-card:nth-child(8)  { transition-delay: 0.15s; }
.lab-card:nth-child(9)  { transition-delay: 0.25s; }
.lab-card:nth-child(10) { transition-delay: 0.1s; }

/* ════════════════════════════════
   HIGHLIGHT SECTION
════════════════════════════════ */

.lab-highlight {
  background: #f4f6fb !important;
  border-radius: 10px !important;
  padding: 20px 40px 10px !important;
  margin-top: 8px !important;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.lab-highlight.pmt-animate {
  opacity: 0;
  transform: translateY(30px);
}

.lab-highlight.pmt-animate.pmt-visible {
  opacity: 1;
  transform: translateY(0);
}

.lab-wrap .lab-highlight-title,
.entry-content .lab-wrap h2.lab-highlight-title {
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  color: #253b80 !important;
  margin: 0 0 20px !important;
  line-height: 1.3 !important;
}

.lab-highlight-list {
  gap: 14px !important;
}

.lab-highlight-item {
  display: flex !important;
  align-items: center !important;
  padding: 14px 18px !important;
  border-radius: 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  transition: background 0.25s;
}

.lab-highlight-item:hover {
  background: rgba(255, 255, 255, 0.14) !important;
}

.lab-highlight-item p {
  margin: 0 !important;
  font-size: 14px !important;
  color: #253b80 !important;
  font-weight: 500 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.lab-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #FF6000;
  flex-shrink: 0;
  display: inline-block;
}

/* ════════════════════════════════
   CTA
════════════════════════════════ */

.lab-cta {
  background: linear-gradient(135deg, #253b80, #179bd7) !important;
  border-radius: 10px !important;
  padding: 28px 40px !important;
  text-align: center;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.lab-cta.pmt-animate {
  opacity: 0;
  transform: translateY(30px);
}

.lab-cta.pmt-animate.pmt-visible {
  opacity: 1;
  transform: translateY(0);
}

.lab-wrap .lab-cta-title,
.entry-content .lab-wrap h2.lab-cta-title {
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  color: #FF6000 !important;
  margin-bottom: 12px !important;
  margin-top: 0 !important;
  line-height: 1.3 !important;
}

.lab-cta .lab-cta-text {
  font-size: 15px !important;
  color: #f4f6fb !important;
  margin-bottom: 24px !important;
  line-height: 1.7 !important;
}

.lab-cta-btn .wp-block-button__link {
  background: #FF6000 !important;
  color: #fff !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 12px 30px !important;
  text-decoration: none !important;
  border: none !important;
  transition: background 0.25s, transform 0.25s;
}

.lab-cta-btn .wp-block-button__link:hover {
  background: #e05500 !important;
  transform: translateY(-2px);
}

.lab-cta-btn-outline .wp-block-button__link {
  background: transparent !important;
  color: #f4f6fb !important;
  border: 2px solid #f4f6fb !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 12px 30px !important;
  text-decoration: none !important;
  transition: background 0.25s;
}

.lab-cta-btn-outline .wp-block-button__link:hover {
  background: rgba(37, 59, 128, 0.06) !important;
}

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */

@media (max-width: 768px) {
  .lab-wrap {
    padding: 0 16px !important;
  }

  .lab-grid .wp-block-column,
  .lab-highlight-list .wp-block-column {
    flex-basis: 100% !important;
    min-width: 100% !important;
  }

  .lab-grid {
    gap: 16px !important;
  }
  
  .lab-highlight {
    padding: 18px 20px !important;
  }

  .lab-cta {
    padding: 18px 16px !important;
  }

  .lab-wrap .lab-title {
    font-size: 1.4rem !important;
  }

  .lab-wrap .lab-highlight-title,
  .lab-wrap .lab-cta-title {
    font-size: 1.4rem !important;
  }
}

@media (max-width: 480px) {
  .lab-wrap .lab-title {
    font-size: 1.2rem !important;
  }

  .lab-wrap .lab-cta-title {
    font-size: 1.2rem !important;
  }
}
