/* Above-the-fold paint for oc-pool service pages (mobile LCP / FCP) */

#component-header {
  min-height: 70px;
}

/* Fixed header: placeholder yüksekliği + main padding çift boşluk yaratmasın */
@media (max-width: 1199px) {
  #component-header {
    min-height: 0;
  }
}

@media (min-width: 1200px) {
  #component-header {
    min-height: 100px;
  }
}

.oc-pool-landing {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  color: #18160f;
}

.oc-pool-landing .container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3vw, 3rem);
}

.oc-pool-landing .page-crumb {
  background: #f6f2eb;
  padding: 14px 0;
  border-bottom: 1px solid rgba(24, 22, 15, 0.08);
}

.oc-pool-landing .page-crumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.8rem;
}

.oc-pool-landing .hero {
  background: linear-gradient(170deg, #f8f6f3 60%, #e8ecf8 100%);
  padding: 3.25rem 0 2.5rem;
}

@media (max-width: 920px) {
  .oc-pool-landing .hero {
    padding: 0.25rem 0 1.15rem;
    margin-top: 0 !important;
  }

  .oc-pool-landing .hero-grid {
    gap: 16px;
    margin-top: 0 !important;
  }

  .oc-pool-landing .hero-grid > div:first-child {
    padding-top: 0;
  }

  .oc-pool-landing .hero .hero-tag {
    margin-top: 0;
  }
}

@media (max-width: 580px) {
  .oc-pool-landing .hero {
    padding: 0.5rem 0 1.25rem;
    margin-top: 0 !important;
  }
}

.oc-pool-landing .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 3.5vw, 40px);
  align-items: stretch;
}

.oc-pool-landing .hero-grid > div:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.oc-pool-landing .hero-tag {
  display: inline-flex;
  width: fit-content;
  background: rgba(255, 107, 52, 0.12);
  border: 1px solid rgba(255, 107, 52, 0.3);
  color: #ff6b34;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.oc-pool-landing .hero h1 {
  font-size: clamp(1.65rem, 6.5vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  color: #18160f;
  margin: 0 0 14px;
}

.oc-pool-landing .hero h1 em {
  color: #ff6b34;
  font-style: normal;
}

.oc-pool-landing .hero-subhead {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 600;
  color: #18160f;
  line-height: 1.45;
  margin: 0 0 18px;
  max-width: 38em;
}

.oc-pool-landing .btn-coral {
  background: #ff6b34;
  color: #fff;
  padding: 11px 22px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
}

.oc-pool-landing .hero-grid > .hero-img {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.oc-pool-landing .hero-img img,
.oc-pool-landing .pi-hero-photo {
  width: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  border: 1px solid rgba(24, 22, 15, 0.12);
  display: block;
}

.oc-pool-landing .trust-bar {
  background: linear-gradient(180deg, #f0f5fa 0%, #f7f9fc 100%);
  border-top: 1px solid rgba(31, 41, 55, 0.12);
  border-bottom: 1px solid rgba(31, 41, 55, 0.12);
}

.oc-pool-landing .trust-bar--compact {
  padding: 10px 0;
}

.oc-pool-landing .trust-bar .trust-items {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 8px;
}

.oc-pool-landing .trust-bar .trust-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #e3eef5;
  border: 1px solid rgba(36, 67, 102, 0.14);
  color: #1f2937;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
}

.oc-pool-landing .trust-bar .trust-dot {
  width: 6px;
  height: 6px;
  background: #c16b47;
  border-radius: 50%;
  flex-shrink: 0;
}

@media (max-width: 920px) {
  .oc-pool-landing .hero-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .oc-pool-landing .hero-img img,
  .oc-pool-landing .pi-hero-photo,
  .oc-pool-landing .louisville-hero-photo {
    max-height: 48vh !important;
    min-height: 220px !important;
    aspect-ratio: 4 / 3;
    height: auto !important;
    width: 100% !important;
    object-fit: cover;
  }

  .oc-pool-landing .hero-grid > .hero-img {
    min-height: 0 !important;
    max-height: none;
  }
}

@media (min-width: 768px) {
  .oc-pool-landing {
    font-family: "Instrument Sans", system-ui, sans-serif;
  }
}

@media (min-width: 921px) {
  .oc-pool-landing .hero-grid > .hero-img {
    overflow: hidden;
  }

  .oc-pool-landing .hero-img img,
  .oc-pool-landing .pi-hero-photo,
  .oc-pool-landing .louisville-hero-photo {
    flex: 1 1 0;
    height: 100%;
    max-height: none;
  }
}

/* Louisville / auto-accident hero extras (above the fold) */
@media (max-width: 767px) {
  body.font-heading-instrumentsans-medium h1,
  body.font-heading-instrumentsans-medium h2,
  body.font-heading-instrumentsans-medium h3 {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
  }

  main.louisville-landing.oc-pool-landing,
  main.oc-pool-landing {
    padding-top: 72px;
  }

  .louisville-landing.oc-pool-landing .hero {
    padding: 0.25rem 0 1.15rem !important;
    margin-top: 0 !important;
  }

  .louisville-landing.oc-pool-landing .hero-grid {
    margin-top: 0 !important;
  }

  .louisville-landing.oc-pool-landing .hero .hero-tag {
    margin-top: 0;
  }
}

.oc-pool-landing .hero .gdn-response-note {
  font-size: 0.8125rem;
  margin-top: 0.45rem;
  margin-bottom: 0;
  color: #141414;
  line-height: 1.5;
}

.oc-pool-landing .hero-stats-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1.25rem 0 0.5rem;
  border: 1px solid #e2e0da;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}

.oc-pool-landing .hero-stat-chip {
  text-align: center;
  padding: 0.75rem 0.5rem;
  border-right: 1px solid #e2e0da;
}

.oc-pool-landing .hero-stat-chip:last-child {
  border-right: none;
}

.oc-pool-landing .hero-stat-chip strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: #141414;
}

.oc-pool-landing .hero-stat-chip span {
  display: block;
  font-size: 0.65rem;
  color: #141414;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.oc-pool-landing .hero .author-line {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid rgba(24, 22, 15, 0.1);
  flex-wrap: wrap;
}

.oc-pool-landing .hero .author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e8530a;
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.oc-pool-landing .louisville-hero-photo {
  width: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  border: 1px solid rgba(24, 22, 15, 0.1);
  box-shadow: 0 10px 40px -12px rgba(12, 26, 46, 0.2);
}
