/* ===============================
   AMP MICI - Disease Knowledge Page
================================ */

.amp-disease-page {
  font-family: 'Tajawal', sans-serif;
  background: #ffffff;
  color: #333333;
}

.amp-disease-page * {
  box-sizing: border-box;
}

.amp-disease-hero,
.amp-quick-nav,
.amp-disease-overview,
.amp-articles-section,
.amp-faq-section,
.amp-related-section,
.amp-support-banner,
.amp-final-cta {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

/* HERO */

.amp-disease-hero {
  margin-top: 34px;
  padding: 0 20px;
}

.amp-disease-hero-content {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  padding: 44px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top left, rgba(255, 111, 0, 0.10), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #f6edfb 100%);
  border: 1px solid rgba(75, 0, 130, 0.09);
  box-shadow: 0 28px 70px rgba(75, 0, 130, 0.11);
}

.amp-breadcrumbs {
  margin-bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  color: #777;
  font-size: 14px;
}

.amp-breadcrumbs a {
  color: #4B0082;
  text-decoration: none;
  font-weight: 700;
}

.amp-breadcrumbs strong {
  color: #333333;
  font-weight: 700;
}

.amp-page-badge {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(75, 0, 130, 0.08);
  color: #4B0082;
  font-size: 14px;
  font-weight: 800;
}

.amp-disease-hero h1 {
  margin: 0 0 18px;
  color: #24113D;
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.8px;
}

.amp-disease-hero p {
  max-width: 640px;
  margin: 0 0 26px;
  color: #333333;
  font-size: 19px;
  line-height: 1.9;
}

.amp-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.amp-hero-tags span {
  padding: 12px 18px;
  border-radius: 16px;
  background: #ffffff;
  color: #333333;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(75, 0, 130, 0.08);
}

.amp-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.amp-btn-primary,
.amp-btn-outline,
.amp-small-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  font-weight: 900;
  transition: all 0.25s ease;
}

.amp-btn-primary {
  min-height: 54px;
  padding: 0 30px;
  border-radius: 16px;
  background: #4B0082;
  color: #ffffff !important;
  box-shadow: 0 16px 34px rgba(75, 0, 130, 0.22);
}

.amp-btn-primary:hover {
  background: #6A1B9A;
  transform: translateY(-3px);
}

.amp-btn-outline {
  min-height: 54px;
  padding: 0 30px;
  border-radius: 16px;
  background: #ffffff;
  color: #4B0082 !important;
  border: 1px solid rgba(75, 0, 130, 0.18);
}

.amp-btn-outline:hover {
  background: #4B0082;
  color: #ffffff !important;
  transform: translateY(-3px);
}

.amp-disease-hero-visual {
  position: relative;
  min-height: 320px;
  border-radius: 32px;
  overflow: hidden;
  background: rgba(255,255,255,0.55);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.65);
}

.amp-disease-hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

/* QUICK NAV */

.amp-quick-nav {
  padding: 64px 20px 30px;
}

.amp-section-title-row h2 {
  margin: 0 0 22px;
  color: #4B0082;
  font-size: 24px;
  font-weight: 900;
}

.amp-quick-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.amp-quick-card {
  min-height: 148px;
  padding: 22px 18px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(75, 0, 130, 0.10);
  box-shadow: 0 18px 40px rgba(75, 0, 130, 0.07);
  text-align: center;
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.amp-quick-card:hover {
  transform: translateY(-7px);
  border-color: rgba(255, 111, 0, 0.35);
  box-shadow: 0 28px 60px rgba(75, 0, 130, 0.13);
}

.amp-quick-card span {
  display: block;
  margin-bottom: 14px;
  font-size: 30px;
}

.amp-quick-card h3 {
  margin: 0 0 8px;
  color: #4B0082;
  font-size: 18px;
  font-weight: 900;
}

.amp-quick-card p {
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

/* DISEASE OVERVIEW */

.amp-disease-overview {
  padding: 24px 20px 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.amp-disease-info-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 34px;
  border-radius: 30px;
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 20px;
  align-items: center;
  border: 1px solid rgba(75, 0, 130, 0.09);
}

.amp-disease-info-card.crohn {
  background: linear-gradient(135deg, #ffffff, #f7effc);
}

.amp-disease-info-card.uc {
  background: linear-gradient(135deg, #fff8f1, #ffffff);
}

.amp-mini-label {
  color: #4B0082;
  font-size: 14px;
  font-weight: 900;
}

.amp-mini-label.orange {
  color: #FF6F00;
}

.amp-disease-info-card h2 {
  margin: 8px 0 12px;
  color: #24113D;
  font-size: 30px;
  font-weight: 900;
}

.amp-disease-info-card p {
  margin: 0 0 22px;
  color: #333;
  font-size: 16.5px;
  line-height: 1.8;
}

.amp-disease-info-card img {
  width: 180px;
  height: 150px;
  border-radius: 24px;
  object-fit: cover;
}

.amp-small-btn {
  min-height: 44px;
  padding: 0 20px;
  border-radius: 14px;
  color: #ffffff !important;
}

.amp-small-btn.purple {
  background: #4B0082;
}

.amp-small-btn.orange {
  background: #FF6F00;
}

/* ARTICLES */

.amp-articles-section,
.amp-faq-section,
.amp-related-section {
  padding: 34px 20px 54px;
}

.amp-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.amp-section-heading h2 {
  margin: 0;
  color: #24113D;
  font-size: 34px;
  font-weight: 900;
}

.amp-view-all {
  color: #4B0082;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none !important;
}

.amp-articles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.amp-article-card {
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(75, 0, 130, 0.09);
  box-shadow: 0 20px 46px rgba(75, 0, 130, 0.08);
  transition: all 0.25s ease;
}

.amp-article-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 30px 70px rgba(75, 0, 130, 0.14);
}

.amp-article-card img {
  width: 100%;
  height: 155px;
  object-fit: cover;
}

.amp-article-body {
  padding: 20px;
}

.amp-category {
  font-size: 13px;
  font-weight: 900;
}

.amp-category.purple {
  color: #4B0082;
}

.amp-category.green {
  color: #43A047;
}

.amp-category.orange {
  color: #FF6F00;
}

.amp-article-card h3 {
  margin: 8px 0 12px;
  color: #24113D;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 900;
}

.amp-article-card p {
  margin: 0 0 15px;
  color: #555;
  font-size: 15px;
  line-height: 1.7;
}

.amp-article-meta {
  margin-bottom: 14px;
  color: #777;
  font-size: 13px;
}

.amp-read-link {
  color: #4B0082;
  font-weight: 900;
  text-decoration: none !important;
}

/* SUPPORT */

.amp-support-banner {
  margin-top: 20px;
  margin-bottom: 30px;
  padding: 34px 42px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(75,0,130,0.10), rgba(255,111,0,0.08)),
    #ffffff;
  border: 1px solid rgba(75,0,130,0.10);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.amp-support-banner span {
  color: #4B0082;
  font-weight: 900;
}

.amp-support-banner h2 {
  margin: 8px 0 8px;
  color: #24113D;
  font-size: 30px;
  font-weight: 900;
}

.amp-support-banner p {
  margin: 0;
  color: #333;
  font-size: 17px;
  line-height: 1.7;
}

/* FAQ */

.amp-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.amp-faq-grid details {
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(75,0,130,0.10);
  box-shadow: 0 14px 34px rgba(75,0,130,0.06);
  overflow: hidden;
}

.amp-faq-grid summary {
  cursor: pointer;
  padding: 20px 22px;
  color: #24113D;
  font-weight: 900;
  list-style: none;
}

.amp-faq-grid summary::-webkit-details-marker {
  display: none;
}

.amp-faq-grid summary::before {
  content: "⌄";
  margin-left: 10px;
  color: #4B0082;
  font-weight: 900;
}

.amp-faq-grid details[open] summary::before {
  content: "⌃";
}

.amp-faq-grid details p {
  margin: 0;
  padding: 0 22px 22px;
  color: #555;
  line-height: 1.8;
}

/* RELATED */

.amp-related-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.amp-related-card {
  min-height: 105px;
  padding: 22px 16px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(75,0,130,0.10);
  box-shadow: 0 16px 38px rgba(75,0,130,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none !important;
  font-size: 17px;
  line-height: 1.5;
  font-weight: 900;
  transition: all 0.25s ease;
}

.amp-related-card:hover {
  transform: translateY(-6px);
}

.amp-related-card.purple {
  color: #4B0082;
}

.amp-related-card.orange {
  color: #FF6F00;
}

.amp-related-card.green {
  color: #43A047;
}

/* FINAL CTA */

.amp-final-cta {
  margin-top: 20px;
  margin-bottom: 50px;
  padding: 42px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(255,111,0,0.25), transparent 30%),
    linear-gradient(135deg, #24113D, #4B0082);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.amp-final-cta h2 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 36px;
  font-weight: 900;
}

.amp-final-cta p {
  margin: 0;
  max-width: 620px;
  color: rgba(255,255,255,0.82);
  font-size: 17px;
  line-height: 1.8;
}

.amp-final-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.amp-btn-outline.light {
  background: transparent;
  color: #ffffff !important;
  border-color: rgba(255,255,255,0.35);
}

.amp-btn-outline.light:hover {
  background: #ffffff;
  color: #4B0082 !important;
}

/* RESPONSIVE */

@media (max-width: 1024px) {
  .amp-disease-hero-content,
  .amp-disease-overview {
    grid-template-columns: 1fr;
  }

  .amp-quick-grid,
  .amp-related-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .amp-articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .amp-disease-info-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .amp-disease-hero {
    margin-top: 18px;
  }

  .amp-disease-hero-content {
    padding: 28px 22px;
    border-radius: 26px;
  }

  .amp-disease-hero h1 {
    font-size: 36px;
  }

  .amp-disease-hero p {
    font-size: 17px;
  }

  .amp-hero-actions,
  .amp-support-banner,
  .amp-final-cta,
  .amp-section-heading {
    flex-direction: column;
    align-items: stretch;
  }

  .amp-btn-primary,
  .amp-btn-outline {
    width: 100%;
  }

  .amp-quick-grid,
  .amp-articles-grid,
  .amp-faq-grid,
  .amp-related-grid {
    grid-template-columns: 1fr;
  }

  .amp-disease-info-card {
    padding: 26px;
  }

  .amp-disease-info-card img {
    width: 100%;
    height: 210px;
  }

  .amp-final-cta {
    padding: 30px 24px;
  }
}