/* index-page.css - page-specific styles for index.html */

.social-label {
  color: #fff !important;
  font-weight: 500;
  margin-right: 0.75rem;
}

/* Hero mobile fix - force hero to show full title on mobile */
@media (max-width: 768px) {
  .hero.ds-hero, .hero, section.hero {
    min-height: 140px !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
  }
  .hero .hero-container, .hero-container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .hero .hero-title, .hero h1, .hero-title {
    font-size: 1.65rem !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.02em !important;
  }
  .hero .hero-desc, .hero p, .hero-desc {
    font-size: 1rem !important;
    line-height: 1.4 !important;
  }
}

@media (max-width: 480px) {
  .hero.ds-hero, .hero, section.hero {
    min-height: 120px !important;
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
  }
  .hero .hero-container, .hero-container {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
  .hero .hero-title, .hero h1, .hero-title {
    font-size: 1.45rem !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    letter-spacing: -0.02em !important;
  }
  .hero .hero-desc, .hero p, .hero-desc {
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
  }
}

html {
  scroll-behavior: smooth;
}

.hero-below-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.8rem auto 0.2rem;
}

.hero-below-cta .hero-search-btn {
  display: inline-block;
  padding: 0.62rem 1.3rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #1b4332 0%, #2d6a4f 100%);
  color: #ffffff !important;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(27, 67, 50, 0.32);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.hero-below-cta .hero-search-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(27, 67, 50, 0.38);
}

#search-box {
  scroll-margin-top: 90px;
}

.proof-strip {
  margin: 0 auto;
  padding: 0.85rem 0 0.35rem;
}

.proof-strip-inner {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}

.proof-strip-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #365987;
}

.proof-strip-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.65rem;
}

.proof-tile {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #d7e2f1;
  border-radius: 14px;
  padding: 0.82rem 0.78rem 0.75rem;
  box-shadow: 0 8px 24px rgba(17, 46, 82, 0.12);
}

.proof-value {
  display: block;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 800;
  color: #123860;
  line-height: 1.1;
}

.proof-label {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.83rem;
  font-weight: 700;
  color: #2e4969;
}

.proof-note {
  display: block;
  margin-top: 0.22rem;
  font-size: 0.74rem;
  line-height: 1.35;
  color: #5d6f86;
}

.home-video-preview.ds-section {
  padding-top: 1.2rem;
  padding-bottom: 0.7rem;
}

.home-search-wrap.ds-section {
  padding-top: 0.8rem;
}

.home-video-preview-head h2,
.search-title {
  font-size: clamp(1.25rem, 2.5vw, 1.72rem);
  letter-spacing: -0.01em;
}

.home-video-preview-head p,
.search-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
}

.empty-state {
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid #d7e6dc;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fcf9 100%);
  box-shadow: 0 10px 24px rgba(16, 56, 35, 0.1);
}

.suggested-searches {
  margin-top: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.suggested-search-btn {
  min-height: 34px;
  padding: 0.35rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.top-courses-showcase {
  padding-top: 0.6rem;
}

.top-courses-shell {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
  border: 1px solid #d8e8de;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fcf9 100%);
  padding: 1.1rem;
  box-shadow: 0 12px 30px rgba(20, 58, 38, 0.12);
}

.top-courses-head h2 {
  margin: 0;
  color: #123d29;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

.top-courses-head p {
  margin: 0.35rem 0 0;
  color: #4a6658;
}

.top-courses-grid {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.top-course-card {
  border: 1px solid #d3e5d9;
  border-radius: 14px;
  background: #ffffff;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 170px;
}

.top-course-card h3 {
  margin: 0;
  font-size: 1rem;
  color: #123d29;
}

.top-course-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #4a6658;
}

.top-course-action {
  margin-top: auto;
  width: 100%;
}

@media (max-width: 980px) {
  .top-courses-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .top-courses-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-below-cta .hero-search-btn {
    padding: 0.56rem 1.05rem;
    font-size: 0.95rem;
  }
  .proof-strip-inner {
    width: calc(100% - 1.1rem);
  }
  .proof-strip-kicker {
    margin-left: 0.12rem;
  }
  .proof-strip-track {
    display: flex;
    gap: 0.55rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 0.05rem 0.08rem 0.32rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }
  .proof-strip-track::-webkit-scrollbar {
    height: 6px;
  }
  .proof-strip-track::-webkit-scrollbar-thumb {
    background: #c6d4e8;
    border-radius: 999px;
  }
  .proof-tile {
    min-width: 210px;
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
  .gp-footer-cta {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    margin-top: 0.4rem;
    padding: 1rem 0.7rem !important;
    background: rgba(255, 255, 255, 0.06);
  }
  .gp-footer-cta .gp-btn-primary {
    min-height: 52px;
    width: min(92vw, 320px);
    font-size: 1rem;
    font-weight: 800;
  }
}

/* Mobile ad and sidebar fixes */
@media (max-width: 767px) {
  .golf-ad-sidebar {
    display: none !important;
  }
  .google-ad-container {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    padding: 0.5rem !important;
    margin: 1rem 0 !important;
  }
  .google-ad-container > div {
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
  }
  #google-ad-placeholder-1,
  #google-ad-placeholder-2,
  #google-ad-placeholder-3 {
    max-width: 100% !important;
    width: 100% !important;
    max-height: 300px !important;
    min-height: 90px !important;
    overflow: hidden !important;
  }
  .google-ad-container ins {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    max-height: 300px !important;
    min-height: 90px !important;
    overflow: hidden !important;
  }
  .google-ad-container ins[class*="adsbygoogle"] {
    max-height: 300px !important;
    min-height: 90px !important;
    overflow: hidden !important;
  }
  .google-ad-container iframe,
  .google-ad-container img,
  .google-ad-container div[class*="adsbygoogle"] {
    max-height: 300px !important;
    min-height: 90px !important;
    overflow: hidden !important;
  }
}

@media (min-width: 768px) {
  .google-ad-container {
    max-width: 1200px !important;
    margin: 2rem auto !important;
    padding: 1rem !important;
  }
}

/* Mobile search text optimizations */
@media (max-width: 768px) {
  :root {
    --search-title-size: 1.1em !important;
    --search-title-margin: 0.5em !important;
    --try-text-size: 0.85rem !important;
    --try-text-margin: 0.7rem !important;
  }
  .search-title {
    font-size: 1.35em !important;
    margin-bottom: 0.3em !important;
  }
  .search-card div[style*="text-align: center"] {
    font-size: 0.7rem !important;
    margin-bottom: 0.4rem !important;
    margin-top: 0.1rem !important;
  }
  div[style*="font-size:1.35em"] {
    font-size: 1.35em !important;
    margin-bottom: 0.3em !important;
  }
  div[style*="font-size: 0.95rem"] {
    font-size: 0.7rem !important;
    margin-bottom: 0.4rem !important;
    margin-top: 0.1rem !important;
  }
  #searchTitle {
    font-size: 1.35em !important;
    margin-bottom: 0.3em !important;
  }
  #tryText {
    font-size: 0.7rem !important;
    margin-bottom: 0.4rem !important;
    margin-top: 0.1rem !important;
  }
  #cta-banner h2 {
    font-size: 1.2rem !important;
  }
}

