.us-home-dynamic {
  background: #ffffff;
  color: #111827;
}

/* Inside theme rightContainer (sidebar only — no page title header). */
.rightContainer .us-home-dynamic {
  width: 100%;
}

/* Fallback when default header.php loads instead of header-us-home.php */
body.us-home-no-page-header .calendar-col {
  display: none !important;
}

.us-home-dynamic .container {
  max-width: 1200px;
}

.us-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 560px;
  background: #f3f4f6;
}

.us-slider {
  position: relative;
  height: 100%;
}

.us-slider-track,
.us-slide,
.us-hero-media img {
  height: 100%;
}

.us-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.us-slide.active {
  opacity: 1;
  z-index: 2;
}

.us-slider-dots {
  position: absolute;
  bottom: 12px;
  left: 16px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.us-slider-dots button {
  border: 0;
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.us-slider-dots button.active {
  width: 28px;
  background: #ff7d29;
}

.us-hero-media img {
  width: 100%;
  object-fit: cover;
}

.us-hero-control {
  position: absolute;
  z-index: 3;
  width: 52px;
  height: 52px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  color: #111827;
  font-size: 28px;
  line-height: 52px;
  text-align: center;
  cursor: pointer;
}

.us-hero-control-prev {
  left: 12px;
}

.us-hero-control-next {
  right: 12px;
}

.us-hero-content {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.us-hero-content h1 {
  font-size: 46px;
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 700;
}

.us-hero-content p {
  font-size: 18px;
  color: #4b5563;
  margin: 0 0 28px;
}

.us-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.us-btn {
  display: inline-block;
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s ease;
}

.us-btn-primary {
  background: #ff7d29;
  border: 1px solid #ff7d29;
  color: #ffffff;
}

.us-btn-primary:hover,
.us-btn-primary:focus {
  background: #e66d1f;
  border-color: #e66d1f;
  color: #ffffff;
  text-decoration: none;
}

.us-btn-secondary {
  background: #ffffff;
  border: 1px solid #ff7d29;
  color: #ff7d29;
}

.us-btn-secondary:hover,
.us-btn-secondary:focus {
  background: #fff4ef;
  color: #ff7d29;
  text-decoration: none;
}

.us-cities {
  padding: 68px 20px;
}

.us-section-header {
  text-align: center;
  margin-bottom: 24px;
}

.us-section-header h2 {
  font-size: 38px;
  margin: 0 0 10px;
}

.us-section-header p {
  margin: 0;
  color: #4b5563;
  font-size: 18px;
}

.us-city-grid {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.us-city-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1120px;
}

.us-city-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.04);
}

.us-city-image-wrap {
  height: 192px;
}

.us-city-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.us-city-content {
  padding: 22px;
  text-align: center;
}

.us-city-content h3 {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 700;
}

.us-city-pill {
  border: 1px solid #e5e7eb;
  background: #ffffff;
  border-radius: 8px;
  color: #111827;
  padding: 10px 16px;
  text-decoration: none;
  font-weight: 600;
}

.us-city-pill:hover,
.us-city-pill:focus {
  border-color: #ff7d29;
  color: #ff7d29;
  text-decoration: none;
}

.us-city-footer {
  text-align: center;
  margin-top: 24px;
}

.us-upcoming {
  background: #fff;
  padding: 64px 20px;
}

.us-upcoming .cors-col {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #ececec;
  padding: 18px;
  margin-bottom: 20px;
}

.us-upcoming-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.us-upcoming .cors-col h3 {
  margin-top: 0;
}

.us-pricing {
  padding: 12px 20px 64px;
}

.us-pricing-table {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
}

.us-pricing-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.us-pricing-row > div {
  text-align: center;
  padding: 22px 14px;
}

.us-pricing-head {
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.us-pricing-head > div {
  color: #16a34a;
  font-weight: 600;
}

.us-pricing-row p {
  margin: 0 0 6px;
  color: #2563eb;
}

.us-how {
  background: #f9fafb;
  padding: 64px 20px;
}

.us-how-grid {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.us-how-item {
  text-align: center;
}

.us-how-icon {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  margin: 0 auto 14px;
  background: #fff4ef;
  color: #ff7d29;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
}

.us-how-item h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.us-how-item p {
  margin: 0;
  color: #4b5563;
}

.us-why {
  padding: 64px 20px;
}

.us-stats {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 0 auto 26px;
  flex-wrap: wrap;
}

.us-stat {
  background: #fff4ef;
  border-radius: 10px;
  padding: 10px 14px;
  min-width: 210px;
}

.us-stat strong {
  display: block;
  color: #111827;
}

.us-stat span {
  color: #4b5563;
  font-size: 13px;
}

.us-testimonial-carousel {
  max-width: 900px;
  margin: 0 auto;
  min-height: 260px;
}

.us-testimonial-card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  padding: 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.us-testimonial-card img {
  width: 80px;
  height: 80px;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
}

.us-testimonial-card p {
  font-size: 18px;
  color: #374151;
  margin: 0 0 12px;
  font-style: italic;
}

.us-testimonial-card h3 {
  margin: 0;
  font-size: 20px;
}

.us-testimonial-carousel .us-slider-dots {
  left: 50%;
  transform: translateX(-50%);
  bottom: -42px;
}

.us-testimonial-carousel .us-slider-dots button {
  border: none;
  background: #d1d5db;
}

.us-testimonial-carousel .us-slider-dots button.active {
  width: 34px;
  background: #ff7d29;
}

.us-empty {
  color: #6b7280;
  margin: 20px 0 0;
}

.us-register {
  padding: 64px 20px;
  text-align: center;
}

.us-register h2 {
  margin: 0 0 12px;
  font-size: 36px;
}

.us-register p {
  max-width: 760px;
  margin: 0 auto 24px;
  font-size: 18px;
  color: #4b5563;
}

.us-register-bottom {
  background: #f9fafb;
  padding-top: 0;
}

.us-register-box {
  border: 2px solid #ff7d29;
  background: #fff4ef;
  border-radius: 12px;
  padding: 40px 24px;
}

@media (max-width: 991px) {
  .us-hero {
    grid-template-columns: 1fr;
  }

  .us-hero-media {
    min-height: 320px;
  }

  .us-hero-content {
    padding: 36px 20px;
  }

  .us-hero-content h1 {
    font-size: 34px;
  }

  .us-section-header h2 {
    font-size: 30px;
  }

  .us-city-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .us-pricing-row {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .us-how-grid {
    grid-template-columns: 1fr;
  }

  .us-testimonial-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .us-city-cards {
    grid-template-columns: 1fr;
  }

  .us-pricing-row {
    grid-template-columns: 1fr;
  }

  .us-upcoming-grid {
    grid-template-columns: 1fr;
  }
}
