/* Care record guide */
.guide-hero {
  padding: 6rem 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(76, 191, 177, 0.2), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(255, 214, 107, 0.2), transparent 28%),
    linear-gradient(180deg, #f7fffc 0%, var(--paper) 100%);
}

.guide-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 54px;
  align-items: center;
}

.guide-hero h1 {
  max-width: 850px;
  margin-bottom: 1.5rem;
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  font-weight: 900;
  line-height: 1.14;
}

.guide-lead {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  line-height: 1.9;
}

.guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.guide-summary {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(8, 118, 107, 0.15);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.guide-summary div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.guide-summary strong,
.guide-card > span {
  color: var(--teal-dark);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
}

.guide-summary strong {
  font-size: 1.8rem;
}

.guide-summary span {
  color: var(--muted);
  font-weight: 800;
}

.guide-layout {
  max-width: 1080px;
}

.guide-heading {
  max-width: 800px;
}

.guide-heading h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.25;
}

.guide-heading p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.9;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.guide-card,
.handoff-list article,
.guide-faq article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(24, 49, 58, 0.06);
}

.guide-card > span {
  display: inline-block;
  margin-bottom: 1rem;
}

.guide-card h3,
.handoff-list h3,
.guide-faq h3 {
  margin-bottom: 0.65rem;
  font-size: 1.3rem;
}

.guide-card p,
.handoff-list p,
.guide-faq p,
.record-example p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.record-example {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--line);
}

.record-example div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 22px;
  padding: 24px;
  background: var(--white);
}

.record-example strong {
  color: var(--teal-dark);
}

.guide-note {
  margin-top: 1rem;
  padding: 18px 20px;
  border-left: 4px solid var(--teal);
  background: rgba(76, 191, 177, 0.08);
  color: var(--muted);
  line-height: 1.8;
}

.handoff-list,
.guide-faq {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.footer-brand-name {
  display: inline-block;
  margin-bottom: 1rem;
  color: #fff;
  font-size: 1.45rem;
  font-weight: 800;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.article-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(24, 49, 58, 0.06);
}

.article-card > span {
  margin-bottom: 1rem;
  color: var(--teal-dark);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.article-card h2 {
  margin-bottom: 0.8rem;
  font-size: 1.55rem;
  line-height: 1.35;
}

.article-card h2 a {
  color: var(--ink);
  text-decoration: none;
}

.article-card p {
  margin: 0 0 1.4rem;
  color: var(--muted);
  line-height: 1.8;
}

.article-link {
  margin-top: auto;
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: none;
}

.site-footer .footer-bottom {
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .guide-hero-inner,
  .guide-grid,
  .handoff-list,
  .guide-faq,
  .article-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .guide-hero {
    padding: 4.5rem 0;
  }

  .guide-actions,
  .guide-actions .button {
    width: 100%;
  }

  .record-example div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
