.pharmacy-page {
  background: #f5f8fd;
  color: #1f2739;
}

.pharmacy-page h1,
.pharmacy-page h2,
.pharmacy-page h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin: 0;
}

.pharmacy-page p,
.pharmacy-page li,
.pharmacy-page figcaption {
  line-height: 1.75;
}

.pharmacy-hero {
  padding: 56px 0;
  background:
    radial-gradient(circle at 88% 18%, rgba(213, 171, 85, 0.18), transparent 28%),
    linear-gradient(135deg, #f8fbff 0%, #edf4ff 100%);
}

.pharmacy-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 28px;
  align-items: stretch;
}

.pharmacy-hero-copy,
.pharmacy-summary-card,
.pharmacy-card,
.pharmacy-gallery figure,
.pharmacy-notice {
  background: #fff;
  border: 1px solid #d9e3f3;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

.pharmacy-hero-copy {
  padding: clamp(30px, 5vw, 54px);
}

.pharmacy-eyebrow {
  margin: 0 0 12px;
  color: #836017;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pharmacy-hero h1 {
  font-size: clamp(2.65rem, 5.5vw, 4.8rem);
  line-height: 0.95;
}

.pharmacy-lead {
  margin: 20px 0 0;
  max-width: 780px;
  color: #2b3a56;
  font-size: clamp(1.04rem, 1.8vw, 1.25rem);
}

.pharmacy-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.pharmacy-summary-card {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 30px;
}

.pharmacy-summary-icon {
  width: 86px;
  height: 86px;
  object-fit: contain;
}

.pharmacy-summary-card h2 {
  font-size: 2rem;
}

.pharmacy-facts {
  display: grid;
  gap: 12px;
  margin: 0;
}

.pharmacy-facts div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #e4ebf6;
}

.pharmacy-facts dt {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #edf4ff;
  color: var(--navy);
  font-weight: 800;
}

.pharmacy-facts dd {
  margin: 0;
  color: #2b3448;
  font-weight: 600;
  line-height: 1.5;
}

.pharmacy-section {
  padding: 72px 0;
}

.pharmacy-section--white {
  background: #fff;
}

.pharmacy-section-heading {
  max-width: 820px;
  margin-bottom: 30px;
}

.pharmacy-section-heading h2,
.pharmacy-content-grid h2,
.pharmacy-notice h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.05;
}

.pharmacy-section-heading p {
  margin: 14px 0 0;
  color: #4b5870;
}

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

.pharmacy-card {
  padding: 30px;
}

.pharmacy-card h2,
.pharmacy-card h3 {
  margin-bottom: 14px;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.08;
}

.pharmacy-card p {
  margin: 0 0 12px;
  color: #344057;
}

.pharmacy-card p:last-child {
  margin-bottom: 0;
}

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

.pharmacy-learning-grid article {
  padding: 24px;
  background: #fff;
  border: 1px solid #d9e3f3;
  border-radius: 18px;
}

.pharmacy-learning-grid h3 {
  margin-bottom: 10px;
  font-size: 1.65rem;
}

.pharmacy-learning-grid p {
  margin: 0;
  color: #465269;
}

.pharmacy-checklist {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.pharmacy-checklist li {
  position: relative;
  padding-inline-start: 28px;
  color: #2f3c54;
}

.pharmacy-checklist li::before {
  position: absolute;
  inset-inline-start: 0;
  top: 0.15em;
  color: #a17117;
  content: "\2713";
  font-weight: 800;
}

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

.pharmacy-gallery figure {
  margin: 0;
  overflow: hidden;
}

.pharmacy-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #edf2f8;
  border-bottom: 1px solid #d9e3f3;
}

.pharmacy-gallery figcaption {
  min-height: 86px;
  padding: 18px 20px;
  color: #354159;
}

.pharmacy-gallery-note {
  margin: 20px 0 0;
  color: #526079;
  font-size: 0.94rem;
}

.pharmacy-notice {
  padding: 30px;
  background: #fffaf0;
  border-color: #dfc58d;
}

.pharmacy-notice p {
  margin: 12px 0 0;
  color: #4f452e;
}

.pharmacy-cta {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 36px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--navy) 0%, #143777 100%);
  box-shadow: 0 16px 34px rgba(11, 37, 88, 0.16);
  color: #fff;
}

.pharmacy-cta h2,
.pharmacy-cta p {
  color: #fff;
}

.pharmacy-cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.pharmacy-cta p {
  max-width: 760px;
  margin: 10px 0 0;
}

.pharmacy-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  min-width: 280px;
}

.pharmacy-cta .btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.78);
  color: #fff;
}

.pharmacy-cta .btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

html[lang="fa"] .pharmacy-page h1,
html[lang="fa"] .pharmacy-page h2,
html[lang="fa"] .pharmacy-page h3,
html[lang="fa"] .pharmacy-page p,
html[lang="fa"] .pharmacy-page li,
html[lang="fa"] .pharmacy-page figcaption {
  font-family: "Vazirmatn", Tahoma, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

@media (max-width: 960px) {
  .pharmacy-hero-grid,
  .pharmacy-content-grid {
    grid-template-columns: 1fr;
  }

  .pharmacy-learning-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pharmacy-cta {
    display: grid;
  }

  .pharmacy-cta-actions {
    justify-content: flex-start;
    min-width: 0;
  }
}

@media (max-width: 680px) {
  .pharmacy-hero {
    padding: 32px 0;
  }

  .pharmacy-hero-copy,
  .pharmacy-summary-card,
  .pharmacy-card,
  .pharmacy-notice,
  .pharmacy-cta {
    padding: 22px;
    border-radius: 16px;
  }

  .pharmacy-section {
    padding: 52px 0;
  }

  .pharmacy-learning-grid,
  .pharmacy-gallery {
    grid-template-columns: 1fr;
  }

  .pharmacy-gallery figcaption {
    min-height: 0;
  }

  .pharmacy-hero-actions,
  .pharmacy-hero-actions .btn,
  .pharmacy-cta-actions,
  .pharmacy-cta-actions .btn {
    width: 100%;
  }

  .pharmacy-hero-actions,
  .pharmacy-cta-actions {
    display: grid;
  }
}
