/* ==========================================================================
   LabTestAppointment.com — guide styles
   Identity: "Deep Teal & Marigold on Porcelain"
   Loaded after styles.css on guide pages only.
   ========================================================================== */

.guide {
  max-width: 54rem;
}

/* Hero / byline ----------------------------------------------------------- */

.guide-hero {
  position: relative;
  padding: 1.75rem 1.9rem 1.75rem;
  margin: 0 0 2rem;
  background:
    radial-gradient(120% 160% at 92% -30%, var(--lime-soft) 0%, rgba(252, 239, 214, 0) 60%),
    linear-gradient(150deg, var(--pine) 0%, var(--pine-deep) 100%);
  color: var(--paper);
  border-radius: calc(var(--radius) + 0.25rem);
  box-shadow: var(--shadow-lg);
}

.guide-hero h1 {
  color: var(--paper);
  margin-bottom: 0.4em;
  font-size: clamp(1.9rem, 3.8vw, 2.7rem);
}

.guide-hero .eyebrow {
  color: var(--lime);
}

.guide-byline {
  font-family: var(--mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #cfe0dc;
  margin: 0;
}

/* Answer-first callout ---------------------------------------------------- */

.guide-answer {
  background: var(--lime-soft);
  border: 1px solid #f0dcae;
  border-left: 5px solid var(--lime);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.35rem;
  margin: 0 0 2rem;
  box-shadow: var(--shadow-sm);
}

.guide-answer p {
  margin: 0;
  font-size: 1.09rem;
  color: var(--ink);
}

/* Key takeaways ----------------------------------------------------------- */

.guide-takeaways {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 4px solid var(--pine);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  margin: 0 0 2rem;
  box-shadow: var(--shadow-md);
}

.guide-takeaways h2 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}

.guide-takeaways ul {
  margin: 0;
  padding-left: 1.2rem;
}

.guide-takeaways li {
  margin-bottom: 0.5rem;
  color: var(--ink-soft);
}

.guide-takeaways li::marker {
  color: var(--lime);
}

.guide-takeaways li:last-child {
  margin-bottom: 0;
}

/* Article body ------------------------------------------------------------ */

.guide-body {
  font-size: 1.03rem;
}

.guide-body h2 {
  position: relative;
  margin-top: 2.5rem;
  padding-bottom: 0.5rem;
  color: var(--pine-deep);
}

.guide-body h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3rem;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--pine) 0%, var(--lime) 100%);
}

.guide-body h3 {
  margin-top: 1.9rem;
  color: var(--ink);
}

.guide-body p,
.guide-body li {
  color: var(--ink-soft);
}

.guide-body ul,
.guide-body ol {
  padding-left: 1.3rem;
}

.guide-body li {
  margin-bottom: 0.4rem;
}

.guide-body li::marker {
  color: var(--pine);
}

.guide-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.guide-body th,
.guide-body td {
  border: 1px solid var(--line);
  padding: 0.65rem 0.8rem;
  text-align: left;
  vertical-align: top;
}

.guide-body th {
  background: var(--lime-soft);
  font-family: var(--mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pine-deep);
}

.guide-body tbody tr:nth-child(even) {
  background: rgba(250, 247, 241, 0.7);
}

.guide-body blockquote {
  margin: 1.75rem 0;
  padding: 0.85rem 1.25rem;
  background: var(--lime-soft);
  border-left: 4px solid var(--lime);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink-soft);
  font-style: italic;
}

.guide-body img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  margin: 1rem 0;
}

.guide-body code {
  background: var(--lime-soft);
}

/* Closing sections -------------------------------------------------------- */

.guide-faq,
.guide-cities,
.guide-related,
.guide-sources,
.guide-more {
  margin-top: 2.75rem;
}

.guide-faq h2,
.guide-cities h2,
.guide-related h2,
.guide-sources h2,
.guide-more h2 {
  position: relative;
  padding-bottom: 0.5rem;
  color: var(--pine-deep);
}

.guide-faq h2::after,
.guide-cities h2::after,
.guide-related h2::after,
.guide-sources h2::after,
.guide-more h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3rem;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--pine) 0%, var(--lime) 100%);
}

.guide-cities,
.guide-related {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-sm);
}

.guide-cities .link-list,
.guide-related .link-list {
  margin-bottom: 0;
}

.guide-sources ul {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  font-size: 0.9rem;
}

.guide-sources li {
  padding: 0.5rem 0 0.5rem 1.1rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  position: relative;
}

.guide-sources li::before {
  content: "\2197";
  position: absolute;
  left: 0;
  color: var(--lime);
  font-weight: 700;
}

.guide-sources li:last-child {
  border-bottom: 0;
}

.guide-sources a {
  color: var(--pine);
  text-decoration: none;
}

.guide-sources a:hover {
  text-decoration: underline;
}

p.guide-more {
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-weight: 700;
}

p.guide-more a {
  text-decoration: none;
}

p.guide-more a:hover {
  text-decoration: underline;
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 768px) {
  .guide-hero {
    padding: 1.4rem 1.35rem;
    border-radius: var(--radius);
  }

  .guide-cities,
  .guide-related {
    padding: 1.25rem 1.2rem;
  }
}

@media (max-width: 600px) {
  .guide-hero {
    padding-top: 1.25rem;
  }

  .guide-takeaways {
    padding: 1.15rem 1.15rem;
  }

  .guide-body table {
    font-size: 0.88rem;
  }
}

@media print {
  .guide-hero {
    background: none;
    color: #000000;
    box-shadow: none;
    padding: 0 0 1rem;
  }

  .guide-hero h1,
  .guide-hero .eyebrow,
  .guide-byline {
    color: #000000;
  }
}
