@charset "utf-8";

/* ==========================================================
   style_lice-id.css
   Stylesheet for identifying-head-lice-in-different-hair-types.html
   style_main-23.css still handles nav and footer.
   ========================================================== */

:root {
  --lid-navy:   #2b3a4b;
  --lid-green:  #8cb93c;
  --lid-orange: #f9a525;
  --lid-teal:   #779eab;
  --lid-light:  #f7f7f8;
  --lid-border: rgba(112,117,122,.18);
  --lid-radius: 8px;
  --lid-shadow: rgba(0,0,0,.10) 0 4px 16px;
}


/* ==========================================================
   HERO
   ========================================================== */

.lid-hero {
  background: linear-gradient(160deg, #779eab 0%, #c5d9de 55%, #ffffff 100%);
  padding: 60px 5% 50px;
  border-bottom: 3px solid var(--lid-border);
}

.lid-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.lid-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--lid-navy);
  margin-bottom: 10px;
}

.lid-h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--lid-navy);
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 6px rgba(0,0,0,.12);
}

.lid-hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 14px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.lid-hero-img {
  margin-top: 36px;
}

.lid-hero-img img {
  max-width: 100%;
  border-radius: var(--lid-radius);
  box-shadow: 0 6px 24px rgba(0,0,0,.18);
}

.lid-img-caption {
  font-size: 0.88rem;
  font-style: italic;
  color: #555;
  margin-top: 10px;
  text-align: center;
}


/* ==========================================================
   SECTION SCAFFOLDING
   ========================================================== */

.lid-section {
  padding: 60px 16px;
  border-top: 3px solid var(--lid-border);
}

.lid-section-alt {
  background: var(--lid-light);
}

.lid-container {
  max-width: 1000px;
  margin: 0 auto;
}

.lid-h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--lid-navy);
  text-align: center;
  margin-bottom: 14px;
  text-shadow: -1px 1px 2px rgba(72,72,72,.15);
}

.lid-h3 {
  font-size: 1.4rem;
  color: var(--lid-navy);
  margin-bottom: 14px;
}

.lid-intro {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
  text-align: center;
  max-width: 750px;
  margin: 0 auto 36px;
}

.lid-tip {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  background: #fff;
  border-left: 4px solid var(--lid-green);
  padding: 16px 20px;
  border-radius: 0 var(--lid-radius) var(--lid-radius) 0;
  margin-top: 28px;
}


/* ==========================================================
   WHERE TO LOOK  (3-up grid)
   ========================================================== */

.lid-where-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.lid-where-item {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--lid-radius);
  padding: 28px 22px;
  max-width: 300px;
  flex: 1 1 240px;
  text-align: center;
  box-shadow: var(--lid-shadow);
}

.lid-where-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.lid-where-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--lid-navy);
  margin-bottom: 8px;
}

.lid-where-item p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.55;
}


/* ==========================================================
   NITS VS DANDRUFF  (2-col comparison)
   ========================================================== */

.lid-compare-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.lid-compare-block {
  flex: 1 1 300px;
  max-width: 460px;
  border-radius: var(--lid-radius);
  padding: 28px 24px;
}

.lid-compare-nits {
  background: #f0f7e6;
  border: 2px solid var(--lid-green);
}

.lid-compare-dandruff {
  background: #fdf2f2;
  border: 2px solid #c0392b;
}

.lid-compare-block h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--lid-navy);
  margin-bottom: 16px;
}

.lid-compare-block ul {
  padding-left: 18px;
}

.lid-compare-block ul li {
  font-size: 0.97rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 8px;
}


/* ==========================================================
   HAIR TYPE SECTIONS
   ========================================================== */

.lid-hair-type {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 2px solid var(--lid-border);
}

.lid-hair-type:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.lid-hair-type-rev {
  flex-direction: row-reverse;
}

.lid-hair-text {
  flex: 1 1 300px;
  max-width: 480px;
}

.lid-hair-text p {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 12px;
}

.lid-hair-imgs {
  flex: 1 1 280px;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lid-hair-imgs figure {
  margin: 0;
}

.lid-hair-imgs img {
  width: 100%;
  border-radius: var(--lid-radius);
  box-shadow: 0 5px 18px rgba(0,0,0,.15);
  display: block;
}

.lid-hair-imgs figcaption {
  font-size: 0.85rem;
  font-style: italic;
  color: #666;
  margin-top: 6px;
  text-align: center;
}


/* ==========================================================
   CTA BAND
   ========================================================== */

.lid-cta-band {
  background: linear-gradient(135deg, #4a7a8a 0%, #779eab 100%);
  padding: 80px 20px;
  text-align: center;
  border-top: 3px solid var(--lid-border);
}

.lid-cta-inner {
  max-width: 700px;
  margin: 0 auto;
}

.lid-cta-eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--lid-orange);
  margin-bottom: 10px;
}

.lid-cta-h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 0 2px 6px rgba(0,0,0,.2);
}

.lid-cta-p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.9);
  line-height: 1.65;
  margin-bottom: 32px;
}

.lid-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.lid-btn-primary {
  display: inline-block;
  background: var(--lid-orange);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: var(--lid-radius);
  text-shadow: -1px 1px 2px rgba(0,0,0,.3);
  box-shadow: rgba(50,50,93,.2) 0 6px 20px -4px, rgba(0,0,0,.25) 0 4px 12px -4px;
  transition: box-shadow .3s;
}
.lid-btn-primary:hover { box-shadow: 0 10px 28px rgba(0,0,0,.22); }

.lid-btn-secondary {
  display: inline-block;
  background: transparent;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: var(--lid-radius);
  border: 2px solid #fff;
  transition: background .2s, color .2s;
}
.lid-btn-secondary:hover { background: #fff; color: var(--lid-navy); }


/* ==========================================================
   RELATED LINKS
   ========================================================== */

.lid-related-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
  margin-top: 20px;
}

.lid-related-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: var(--lid-radius);
  padding: 28px 24px;
  max-width: 300px;
  flex: 1 1 240px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--lid-shadow);
  transition: box-shadow .2s, transform .2s;
}
.lid-related-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  transform: translateY(-2px);
}

.lid-related-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--lid-navy);
  margin-bottom: 10px;
}

.lid-related-card p {
  font-size: 0.93rem;
  color: #555;
  line-height: 1.55;
  flex-grow: 1;
}

.lid-related-card span {
  display: block;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--lid-teal);
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 768px) {
  .lid-hair-type { flex-direction: column; }
  .lid-hair-type-rev { flex-direction: column; }
  .lid-hair-text { max-width: 100%; }
  .lid-hair-imgs { max-width: 100%; }
  .lid-compare-block { max-width: 100%; }
  .lid-hero { padding: 40px 5% 36px; }
}

@media (max-width: 480px) {
  .lid-where-item { max-width: 100%; }
  .lid-related-card { max-width: 100%; }
}
