/* Articles page styles */
.articles-page-new .pdf-item { transition: background 180ms ease, padding 180ms ease; }
.articles-page-new .pdf-item:hover { background: #fbfaf6; }

.article-reader-page {
  background: #f1f1ef;
  padding: 52px 0 72px;
}

.article-reader-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.hypo-article {
  padding-top: 12px;
}

.hypo-article-title {
  margin: 0 0 28px;
  max-width: 780px;
  color: #0d0d0d;
  font-size: clamp(2.8rem, 4vw, 5rem);
  line-height: 0.94;
  letter-spacing: -0.08em;
  font-weight: 800;
}

.hypo-article-intro {
  margin-bottom: 52px;
  padding: 28px 30px;
  border-radius: 18px;
  background: #dfe0df;
  color: #121212;
}

.hypo-article-intro p {
  margin: 0;
  color: #111;
  font-size: clamp(1rem, 2vw, 1.6rem);
  line-height: 1.45;
  letter-spacing: -0.04em;
}

.hypo-article-intro ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hypo-article-intro li {
  position: relative;
  padding-left: 18px;
  margin-top: 8px;
  color: #111;
  font-size: clamp(1rem, 2vw, 1.6rem);
  line-height: 1.45;
  letter-spacing: -0.04em;
}

.hypo-article-intro li::before {
  content: "|";
  position: absolute;
  left: 0;
  top: 0;
  color: #111;
}

.hypo-section {
  margin-top: 12px;
}

.hypo-section-title {
  margin: 0 0 28px;
  color: #111;
  font-size: clamp(2.2rem, 3vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.08em;
  font-weight: 800;
}

.vaccine-article {
  margin-bottom: 72px;
  padding: 42px;
  border-radius: 24px;
  background: #080808;
}

.article-reader-page .vaccine-article .hypo-article-title,
.article-reader-page .vaccine-article .hypo-section-title {
  color: #fff;
}

.article-reader-page .hypo-article:not(.vaccine-article) {
  margin-top: 72px;
  padding: 42px;
  border-radius: 24px;
  background: #080808;
}

.article-reader-page .hypo-article:not(.vaccine-article) .hypo-article-title,
.article-reader-page .hypo-article:not(.vaccine-article) .hypo-section-title {
  color: #fff;
}

.vaccine-article .hypo-article-intro p + p {
  margin-top: 14px;
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0;
}

.vaccine-article .vaccine-intro {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.18)),
    url('../images/vaccine-oral-drops.jpg') center 42%/cover no-repeat;
}

.vaccine-article .vaccine-intro p {
  max-width: 680px;
  color: #fff;
}

.vaccine-article .vaccine-intro p:first-child {
  font-size: clamp(1.7rem, 3vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.06em;
}

.vaccine-section {
  margin-top: 42px;
}

.vaccine-section > p,
.vaccine-benefits {
  max-width: 900px;
  color: #e4e4e4;
  font-size: 1.05rem;
  line-height: 1.7;
}

.vaccine-benefits {
  margin: 0;
  padding-left: 1.4rem;
}

.vaccine-benefits li {
  padding-left: 0.35rem;
  margin: 0 0 14px;
}

.vaccine-next-step {
  margin-top: 48px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 30px;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.22)),
    url('../images/vaccine-clinic.png') center/cover no-repeat;
  color: #fff;
}

.vaccine-next-step h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(1.5rem, 2.5vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.vaccine-next-step p {
  max-width: 800px;
  margin: 0 0 20px;
  color: #fff;
  line-height: 1.6;
}

.vaccine-schedule-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  text-underline-offset: 4px;
}

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

.hypo-card {
  position: relative;
  min-height: 340px;
  border-radius: 18px;
  overflow: hidden;
  padding: 22px 24px 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.hypo-card h4 {
  margin: 0 0 10px;
  color: inherit;
  font-size: clamp(1.1rem, 2vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.hypo-card p {
  margin: 0;
  max-width: 360px;
  color: inherit;
  font-size: 0.96rem;
  line-height: 1.52;
}

.insulin-card {
  background:
    linear-gradient(180deg, rgba(248, 237, 232, 0.3), rgba(248, 237, 232, 0.8)),
    url('../images/Insulin.png') center/cover no-repeat;
  color: #111;
}

.meal-card {
  background:
    linear-gradient(180deg, rgba(18,18,18,0.18), rgba(18,18,18,0.52)),
    url('../images/Eating.jpg') center/cover no-repeat;
  color: #fff;
}

.exercise-card {
  background:
    linear-gradient(180deg, rgba(15,15,15,0.06), rgba(15,15,15,0.58)),
    url('https://images.unsplash.com/photo-1517836357463-d25dfeac3438?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
  color: #fff;
}

.health-card {
  background:
    linear-gradient(180deg, rgba(35,20,16,0.15), rgba(35,20,16,0.56)),
    url('https://images.unsplash.com/photo-1538108149393-fbbd81895907?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
  color: #fff;
}

.insulin-visual {
  position: relative;
  height: 170px;
  margin-top: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.syringe {
  position: absolute;
  left: 14%;
  bottom: 72px;
  width: 210px;
  height: 12px;
  background: linear-gradient(90deg, #d7dadb 0%, #f8f8f8 24%, #dce0e1 100%);
  border-radius: 999px;
  transform: rotate(-12deg);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08);
}

.syringe::before {
  content: "";
  position: absolute;
  right: -18px;
  top: -4px;
  width: 28px;
  height: 20px;
  border-radius: 6px 12px 12px 6px;
  background: linear-gradient(90deg, #d2d5d7, #f1f3f4);
}

.syringe::after {
  content: "";
  position: absolute;
  left: -12px;
  top: -4px;
  width: 28px;
  height: 20px;
  border-radius: 8px 4px 4px 8px;
  background: linear-gradient(90deg, #dfe6eb, #9bb3bf);
}

.bottle {
  position: relative;
  display: block;
  width: 210px;
  height: 180px;
  border-radius: 18px 18px 22px 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(224,231,238,0.82));
  border: 2px solid rgba(138, 158, 170, 0.6);
  box-shadow: inset 0 0 0 3px rgba(255,255,255,0.28), 0 12px 18px rgba(0,0,0,0.08);
}

.bottle::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -22px;
  width: 80px;
  height: 24px;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(180deg, #dce3e8, #a9b2b8);
  border: 2px solid rgba(115, 128, 138, 0.38);
}

.bottle::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 18px;
  width: 120px;
  height: 18px;
  border-radius: 50%;
  background: rgba(145, 161, 170, 0.26);
  filter: blur(1px);
}

.label {
  position: absolute;
  left: 50%;
  bottom: 48px;
  transform: translateX(-50%);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #2d6f8d;
}

.kidney-visual {
  position: relative;
  height: 180px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-top: 14px;
}

.kidney {
  position: relative;
  display: block;
  width: 120px;
  height: 110px;
  margin: 0 10px;
  border-radius: 60% 60% 50% 50% / 70% 70% 35% 35%;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(188, 103, 88, 0.86));
  border: 4px solid rgba(148, 62, 48, 0.72);
  box-shadow: inset 0 0 0 6px rgba(138, 75, 63, 0.3);
}

.kidney::before {
  content: "";
  position: absolute;
  inset: 20px 10px 18px 18px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(172, 90, 78, 0.75));
}

.kidney.left { transform: rotate(-10deg); }
.kidney.right { transform: rotate(8deg); }

.article-reader-page .pdf-list {
  margin-top: 54px;
}

.article-reader-page .hypo-article .pdf-list {
  width: 100%;
  margin-top: 42px;
  border-color: rgba(255, 255, 255, 0.24);
}

.article-reader-page .hypo-article .pdf-item {
  border-color: rgba(255, 255, 255, 0.24);
}

.article-reader-page .hypo-article .pdf-details .article-meta,
.article-reader-page .hypo-article .pdf-details h3,
.article-reader-page .hypo-article .pdf-details p,
.article-reader-page .hypo-article .pdf-action,
.article-reader-page .hypo-article .pdf-download {
  color: #fff;
}

.article-reader-page .hypo-article .pdf-details p {
  color: #c4c4c4;
}

.article-reader-page .hypo-article .pdf-download {
  border-color: rgba(255, 255, 255, 0.7);
}

.article-reader-page .hypo-article .pdf-download:hover {
  color: #111;
  background: #fff;
}

@media (max-width: 820px) {
  .hypo-card-grid {
    grid-template-columns: 1fr;
  }

  .hypo-article-intro {
    padding: 22px 18px;
  }

  .vaccine-next-step {
    padding: 22px 18px;
  }

  .vaccine-article {
    padding: 28px 18px;
    border-radius: 18px;
  }

  .article-reader-page .hypo-article:not(.vaccine-article) {
    margin-top: 48px;
    padding: 28px 18px;
    border-radius: 18px;
  }

  .hypo-card {
    min-height: 300px;
  }

  .article-reader-page {
    padding-top: 32px;
  }
}
